2009-12-11 Richard Guenther <rguenther@suse.de>
[official-gcc.git] / libstdc++-v3 / configure
blob5ae09969ba00815bab27ea8f2655ef55feac647d
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 CPPFLAGS
848 CXXCPP'
851 # Initialize some variables set by options.
852 ac_init_help=
853 ac_init_version=false
854 ac_unrecognized_opts=
855 ac_unrecognized_sep=
856 # The variables have the same names as the options, with
857 # dashes changed to underlines.
858 cache_file=/dev/null
859 exec_prefix=NONE
860 no_create=
861 no_recursion=
862 prefix=NONE
863 program_prefix=NONE
864 program_suffix=NONE
865 program_transform_name=s,x,x,
866 silent=
867 site=
868 srcdir=
869 verbose=
870 x_includes=NONE
871 x_libraries=NONE
873 # Installation directory options.
874 # These are left unexpanded so users can "make install exec_prefix=/foo"
875 # and all the variables that are supposed to be based on exec_prefix
876 # by default will actually change.
877 # Use braces instead of parens because sh, perl, etc. also accept them.
878 # (The list follows the same order as the GNU Coding Standards.)
879 bindir='${exec_prefix}/bin'
880 sbindir='${exec_prefix}/sbin'
881 libexecdir='${exec_prefix}/libexec'
882 datarootdir='${prefix}/share'
883 datadir='${datarootdir}'
884 sysconfdir='${prefix}/etc'
885 sharedstatedir='${prefix}/com'
886 localstatedir='${prefix}/var'
887 includedir='${prefix}/include'
888 oldincludedir='/usr/include'
889 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
890 infodir='${datarootdir}/info'
891 htmldir='${docdir}'
892 dvidir='${docdir}'
893 pdfdir='${docdir}'
894 psdir='${docdir}'
895 libdir='${exec_prefix}/lib'
896 localedir='${datarootdir}/locale'
897 mandir='${datarootdir}/man'
899 ac_prev=
900 ac_dashdash=
901 for ac_option
903 # If the previous option needs an argument, assign it.
904 if test -n "$ac_prev"; then
905 eval $ac_prev=\$ac_option
906 ac_prev=
907 continue
910 case $ac_option in
911 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
912 *) ac_optarg=yes ;;
913 esac
915 # Accept the important Cygnus configure options, so we can diagnose typos.
917 case $ac_dashdash$ac_option in
919 ac_dashdash=yes ;;
921 -bindir | --bindir | --bindi | --bind | --bin | --bi)
922 ac_prev=bindir ;;
923 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
924 bindir=$ac_optarg ;;
926 -build | --build | --buil | --bui | --bu)
927 ac_prev=build_alias ;;
928 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
929 build_alias=$ac_optarg ;;
931 -cache-file | --cache-file | --cache-fil | --cache-fi \
932 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
933 ac_prev=cache_file ;;
934 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
935 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
936 cache_file=$ac_optarg ;;
938 --config-cache | -C)
939 cache_file=config.cache ;;
941 -datadir | --datadir | --datadi | --datad)
942 ac_prev=datadir ;;
943 -datadir=* | --datadir=* | --datadi=* | --datad=*)
944 datadir=$ac_optarg ;;
946 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
947 | --dataroo | --dataro | --datar)
948 ac_prev=datarootdir ;;
949 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
950 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
951 datarootdir=$ac_optarg ;;
953 -disable-* | --disable-*)
954 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
955 # Reject names that are not valid shell variable names.
956 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957 as_fn_error "invalid feature name: $ac_useropt"
958 ac_useropt_orig=$ac_useropt
959 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
960 case $ac_user_opts in
962 "enable_$ac_useropt"
963 "*) ;;
964 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
965 ac_unrecognized_sep=', ';;
966 esac
967 eval enable_$ac_useropt=no ;;
969 -docdir | --docdir | --docdi | --doc | --do)
970 ac_prev=docdir ;;
971 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
972 docdir=$ac_optarg ;;
974 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
975 ac_prev=dvidir ;;
976 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
977 dvidir=$ac_optarg ;;
979 -enable-* | --enable-*)
980 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
981 # Reject names that are not valid shell variable names.
982 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
983 as_fn_error "invalid feature name: $ac_useropt"
984 ac_useropt_orig=$ac_useropt
985 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
986 case $ac_user_opts in
988 "enable_$ac_useropt"
989 "*) ;;
990 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
991 ac_unrecognized_sep=', ';;
992 esac
993 eval enable_$ac_useropt=\$ac_optarg ;;
995 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
996 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
997 | --exec | --exe | --ex)
998 ac_prev=exec_prefix ;;
999 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1000 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1001 | --exec=* | --exe=* | --ex=*)
1002 exec_prefix=$ac_optarg ;;
1004 -gas | --gas | --ga | --g)
1005 # Obsolete; use --with-gas.
1006 with_gas=yes ;;
1008 -help | --help | --hel | --he | -h)
1009 ac_init_help=long ;;
1010 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1011 ac_init_help=recursive ;;
1012 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1013 ac_init_help=short ;;
1015 -host | --host | --hos | --ho)
1016 ac_prev=host_alias ;;
1017 -host=* | --host=* | --hos=* | --ho=*)
1018 host_alias=$ac_optarg ;;
1020 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1021 ac_prev=htmldir ;;
1022 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1023 | --ht=*)
1024 htmldir=$ac_optarg ;;
1026 -includedir | --includedir | --includedi | --included | --include \
1027 | --includ | --inclu | --incl | --inc)
1028 ac_prev=includedir ;;
1029 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1030 | --includ=* | --inclu=* | --incl=* | --inc=*)
1031 includedir=$ac_optarg ;;
1033 -infodir | --infodir | --infodi | --infod | --info | --inf)
1034 ac_prev=infodir ;;
1035 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1036 infodir=$ac_optarg ;;
1038 -libdir | --libdir | --libdi | --libd)
1039 ac_prev=libdir ;;
1040 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1041 libdir=$ac_optarg ;;
1043 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1044 | --libexe | --libex | --libe)
1045 ac_prev=libexecdir ;;
1046 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1047 | --libexe=* | --libex=* | --libe=*)
1048 libexecdir=$ac_optarg ;;
1050 -localedir | --localedir | --localedi | --localed | --locale)
1051 ac_prev=localedir ;;
1052 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1053 localedir=$ac_optarg ;;
1055 -localstatedir | --localstatedir | --localstatedi | --localstated \
1056 | --localstate | --localstat | --localsta | --localst | --locals)
1057 ac_prev=localstatedir ;;
1058 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1059 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1060 localstatedir=$ac_optarg ;;
1062 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1063 ac_prev=mandir ;;
1064 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1065 mandir=$ac_optarg ;;
1067 -nfp | --nfp | --nf)
1068 # Obsolete; use --without-fp.
1069 with_fp=no ;;
1071 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1072 | --no-cr | --no-c | -n)
1073 no_create=yes ;;
1075 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1076 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1077 no_recursion=yes ;;
1079 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1080 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1081 | --oldin | --oldi | --old | --ol | --o)
1082 ac_prev=oldincludedir ;;
1083 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1084 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1085 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1086 oldincludedir=$ac_optarg ;;
1088 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1089 ac_prev=prefix ;;
1090 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1091 prefix=$ac_optarg ;;
1093 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1094 | --program-pre | --program-pr | --program-p)
1095 ac_prev=program_prefix ;;
1096 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1097 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1098 program_prefix=$ac_optarg ;;
1100 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1101 | --program-suf | --program-su | --program-s)
1102 ac_prev=program_suffix ;;
1103 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1104 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1105 program_suffix=$ac_optarg ;;
1107 -program-transform-name | --program-transform-name \
1108 | --program-transform-nam | --program-transform-na \
1109 | --program-transform-n | --program-transform- \
1110 | --program-transform | --program-transfor \
1111 | --program-transfo | --program-transf \
1112 | --program-trans | --program-tran \
1113 | --progr-tra | --program-tr | --program-t)
1114 ac_prev=program_transform_name ;;
1115 -program-transform-name=* | --program-transform-name=* \
1116 | --program-transform-nam=* | --program-transform-na=* \
1117 | --program-transform-n=* | --program-transform-=* \
1118 | --program-transform=* | --program-transfor=* \
1119 | --program-transfo=* | --program-transf=* \
1120 | --program-trans=* | --program-tran=* \
1121 | --progr-tra=* | --program-tr=* | --program-t=*)
1122 program_transform_name=$ac_optarg ;;
1124 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1125 ac_prev=pdfdir ;;
1126 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1127 pdfdir=$ac_optarg ;;
1129 -psdir | --psdir | --psdi | --psd | --ps)
1130 ac_prev=psdir ;;
1131 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1132 psdir=$ac_optarg ;;
1134 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1135 | -silent | --silent | --silen | --sile | --sil)
1136 silent=yes ;;
1138 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1139 ac_prev=sbindir ;;
1140 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1141 | --sbi=* | --sb=*)
1142 sbindir=$ac_optarg ;;
1144 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1145 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1146 | --sharedst | --shareds | --shared | --share | --shar \
1147 | --sha | --sh)
1148 ac_prev=sharedstatedir ;;
1149 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1150 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1151 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1152 | --sha=* | --sh=*)
1153 sharedstatedir=$ac_optarg ;;
1155 -site | --site | --sit)
1156 ac_prev=site ;;
1157 -site=* | --site=* | --sit=*)
1158 site=$ac_optarg ;;
1160 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1161 ac_prev=srcdir ;;
1162 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1163 srcdir=$ac_optarg ;;
1165 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1166 | --syscon | --sysco | --sysc | --sys | --sy)
1167 ac_prev=sysconfdir ;;
1168 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1169 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1170 sysconfdir=$ac_optarg ;;
1172 -target | --target | --targe | --targ | --tar | --ta | --t)
1173 ac_prev=target_alias ;;
1174 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1175 target_alias=$ac_optarg ;;
1177 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1178 verbose=yes ;;
1180 -version | --version | --versio | --versi | --vers | -V)
1181 ac_init_version=: ;;
1183 -with-* | --with-*)
1184 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1185 # Reject names that are not valid shell variable names.
1186 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1187 as_fn_error "invalid package name: $ac_useropt"
1188 ac_useropt_orig=$ac_useropt
1189 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1190 case $ac_user_opts in
1192 "with_$ac_useropt"
1193 "*) ;;
1194 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1195 ac_unrecognized_sep=', ';;
1196 esac
1197 eval with_$ac_useropt=\$ac_optarg ;;
1199 -without-* | --without-*)
1200 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1201 # Reject names that are not valid shell variable names.
1202 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1203 as_fn_error "invalid package name: $ac_useropt"
1204 ac_useropt_orig=$ac_useropt
1205 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1206 case $ac_user_opts in
1208 "with_$ac_useropt"
1209 "*) ;;
1210 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1211 ac_unrecognized_sep=', ';;
1212 esac
1213 eval with_$ac_useropt=no ;;
1215 --x)
1216 # Obsolete; use --with-x.
1217 with_x=yes ;;
1219 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1220 | --x-incl | --x-inc | --x-in | --x-i)
1221 ac_prev=x_includes ;;
1222 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1223 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1224 x_includes=$ac_optarg ;;
1226 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1227 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1228 ac_prev=x_libraries ;;
1229 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1230 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1231 x_libraries=$ac_optarg ;;
1233 -*) as_fn_error "unrecognized option: \`$ac_option'
1234 Try \`$0 --help' for more information."
1237 *=*)
1238 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1239 # Reject names that are not valid shell variable names.
1240 case $ac_envvar in #(
1241 '' | [0-9]* | *[!_$as_cr_alnum]* )
1242 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1243 esac
1244 eval $ac_envvar=\$ac_optarg
1245 export $ac_envvar ;;
1248 # FIXME: should be removed in autoconf 3.0.
1249 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1250 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1251 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1252 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1255 esac
1256 done
1258 if test -n "$ac_prev"; then
1259 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1260 as_fn_error "missing argument to $ac_option"
1263 if test -n "$ac_unrecognized_opts"; then
1264 case $enable_option_checking in
1265 no) ;;
1266 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1267 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1268 esac
1271 # Check all directory arguments for consistency.
1272 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1273 datadir sysconfdir sharedstatedir localstatedir includedir \
1274 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1275 libdir localedir mandir
1277 eval ac_val=\$$ac_var
1278 # Remove trailing slashes.
1279 case $ac_val in
1280 */ )
1281 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1282 eval $ac_var=\$ac_val;;
1283 esac
1284 # Be sure to have absolute directory names.
1285 case $ac_val in
1286 [\\/$]* | ?:[\\/]* ) continue;;
1287 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1288 esac
1289 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1290 done
1292 # There might be people who depend on the old broken behavior: `$host'
1293 # used to hold the argument of --host etc.
1294 # FIXME: To remove some day.
1295 build=$build_alias
1296 host=$host_alias
1297 target=$target_alias
1299 # FIXME: To remove some day.
1300 if test "x$host_alias" != x; then
1301 if test "x$build_alias" = x; then
1302 cross_compiling=maybe
1303 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1304 If a cross compiler is detected then cross compile mode will be used." >&2
1305 elif test "x$build_alias" != "x$host_alias"; then
1306 cross_compiling=yes
1310 ac_tool_prefix=
1311 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1313 test "$silent" = yes && exec 6>/dev/null
1316 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1317 ac_ls_di=`ls -di .` &&
1318 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1319 as_fn_error "working directory cannot be determined"
1320 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1321 as_fn_error "pwd does not report name of working directory"
1324 # Find the source files, if location was not specified.
1325 if test -z "$srcdir"; then
1326 ac_srcdir_defaulted=yes
1327 # Try the directory containing this script, then the parent directory.
1328 ac_confdir=`$as_dirname -- "$as_myself" ||
1329 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1330 X"$as_myself" : 'X\(//\)[^/]' \| \
1331 X"$as_myself" : 'X\(//\)$' \| \
1332 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1333 $as_echo X"$as_myself" |
1334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1335 s//\1/
1338 /^X\(\/\/\)[^/].*/{
1339 s//\1/
1342 /^X\(\/\/\)$/{
1343 s//\1/
1346 /^X\(\/\).*/{
1347 s//\1/
1350 s/.*/./; q'`
1351 srcdir=$ac_confdir
1352 if test ! -r "$srcdir/$ac_unique_file"; then
1353 srcdir=..
1355 else
1356 ac_srcdir_defaulted=no
1358 if test ! -r "$srcdir/$ac_unique_file"; then
1359 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1360 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1362 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1363 ac_abs_confdir=`(
1364 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1365 pwd)`
1366 # When building in place, set srcdir=.
1367 if test "$ac_abs_confdir" = "$ac_pwd"; then
1368 srcdir=.
1370 # Remove unnecessary trailing slashes from srcdir.
1371 # Double slashes in file names in object file debugging info
1372 # mess up M-x gdb in Emacs.
1373 case $srcdir in
1374 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1375 esac
1376 for ac_var in $ac_precious_vars; do
1377 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1378 eval ac_env_${ac_var}_value=\$${ac_var}
1379 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1380 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1381 done
1384 # Report the --help message.
1386 if test "$ac_init_help" = "long"; then
1387 # Omit some internal or obsolete options to make the list less imposing.
1388 # This message is too long to be a string in the A/UX 3.1 sh.
1389 cat <<_ACEOF
1390 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1392 Usage: $0 [OPTION]... [VAR=VALUE]...
1394 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1395 VAR=VALUE. See below for descriptions of some of the useful variables.
1397 Defaults for the options are specified in brackets.
1399 Configuration:
1400 -h, --help display this help and exit
1401 --help=short display options specific to this package
1402 --help=recursive display the short help of all the included packages
1403 -V, --version display version information and exit
1404 -q, --quiet, --silent do not print \`checking...' messages
1405 --cache-file=FILE cache test results in FILE [disabled]
1406 -C, --config-cache alias for \`--cache-file=config.cache'
1407 -n, --no-create do not create output files
1408 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1410 Installation directories:
1411 --prefix=PREFIX install architecture-independent files in PREFIX
1412 [$ac_default_prefix]
1413 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1414 [PREFIX]
1416 By default, \`make install' will install all the files in
1417 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1418 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1419 for instance \`--prefix=\$HOME'.
1421 For better control, use the options below.
1423 Fine tuning of the installation directories:
1424 --bindir=DIR user executables [EPREFIX/bin]
1425 --sbindir=DIR system admin executables [EPREFIX/sbin]
1426 --libexecdir=DIR program executables [EPREFIX/libexec]
1427 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1428 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1429 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1430 --libdir=DIR object code libraries [EPREFIX/lib]
1431 --includedir=DIR C header files [PREFIX/include]
1432 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1433 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1434 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1435 --infodir=DIR info documentation [DATAROOTDIR/info]
1436 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1437 --mandir=DIR man documentation [DATAROOTDIR/man]
1438 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1439 --htmldir=DIR html documentation [DOCDIR]
1440 --dvidir=DIR dvi documentation [DOCDIR]
1441 --pdfdir=DIR pdf documentation [DOCDIR]
1442 --psdir=DIR ps documentation [DOCDIR]
1443 _ACEOF
1445 cat <<\_ACEOF
1447 Program names:
1448 --program-prefix=PREFIX prepend PREFIX to installed program names
1449 --program-suffix=SUFFIX append SUFFIX to installed program names
1450 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1452 System types:
1453 --build=BUILD configure for building on BUILD [guessed]
1454 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1455 --target=TARGET configure for building compilers for TARGET [HOST]
1456 _ACEOF
1459 if test -n "$ac_init_help"; then
1460 case $ac_init_help in
1461 short | recursive ) echo "Configuration of package-unused version-unused:";;
1462 esac
1463 cat <<\_ACEOF
1465 Optional Features:
1466 --disable-option-checking ignore unrecognized --enable/--with options
1467 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1468 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1469 --enable-multilib build many library versions (default)
1470 --enable-maintainer-mode enable make rules and dependencies not useful
1471 (and sometimes confusing) to the casual installer
1472 --enable-shared[=PKGS] build shared libraries [default=yes]
1473 --enable-static[=PKGS] build static libraries [default=yes]
1474 --enable-fast-install[=PKGS]
1475 optimize for fast installation [default=yes]
1476 --disable-libtool-lock avoid locking (might break parallel builds)
1477 --disable-hosted-libstdcxx
1478 only build freestanding C++ runtime support
1479 --enable-sjlj-exceptions
1480 force use of builtin_setjmp for exceptions
1481 [default=auto]
1482 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1483 [default=$is_hosted]
1484 --enable-cstdio=PACKAGE use target-specific I/O package [default=stdio]
1485 --enable-clocale[=MODEL]
1486 use MODEL for target locale package [default=auto]
1487 --enable-nls use Native Language Support (default)
1488 --enable-libstdcxx-allocator=KIND
1489 use KIND for target std::allocator base
1490 [default=auto]
1491 --enable-cheaders=KIND construct "C" headers for g++ [default=$c_model]
1492 --enable-long-long enable template specializations for 'long long'
1493 [default=yes]
1494 --enable-wchar_t enable template specializations for 'wchar_t'
1495 [default=yes]
1496 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1497 --enable-concept-checks use Boost-derived template checks [default=no]
1498 --enable-libstdcxx-debug-flags=FLAGS
1499 pass compiler FLAGS when building debug library
1500 [default="-g3 -O0"]
1501 --enable-libstdcxx-debug
1502 build extra debug library [default=no]
1503 --enable-cxx-flags=FLAGS
1504 pass compiler FLAGS when building library [default=]
1505 --enable-fully-dynamic-string
1506 do not put empty strings in per-process static
1507 memory [default=no]
1508 --enable-libstdcxx-time=KIND
1509 use KIND for check type [default=no]
1510 --enable-tls Use thread-local storage [default=yes]
1511 --disable-rpath do not hardcode runtime library paths
1512 --enable-linux-futex use the Linux futex system call [default=default]
1513 --enable-symvers=STYLE enables symbol versioning of the shared library
1514 [default=yes]
1515 --enable-visibility enables visibility safe usage [default=yes]
1516 --enable-version-specific-runtime-libs
1517 Specify that runtime libraries should be installed
1518 in a compiler-specific directory
1520 Optional Packages:
1521 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1522 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1523 --with-target-subdir=SUBDIR
1524 configuring in a subdirectory
1525 --with-cross-host=HOST configuring with a cross compiler
1526 --with-newlib assume newlib as a system C library
1527 --with-pic try to use only PIC/non-PIC objects [default=use
1528 both]
1529 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1530 --with-gnu-ld assume the C compiler uses GNU ld default=no
1531 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1532 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1533 --with-system-libunwind use installed libunwind
1534 --with-gxx-include-dir=DIR
1535 installation directory for include files
1537 Some influential environment variables:
1538 CC C compiler command
1539 CFLAGS C compiler flags
1540 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1541 nonstandard directory <lib dir>
1542 LIBS libraries to pass to the linker, e.g. -l<library>
1543 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1544 you have headers in a nonstandard directory <include dir>
1545 CXX C++ compiler command
1546 CXXFLAGS C++ compiler flags
1547 CPP C preprocessor
1548 CXXCPP C++ preprocessor
1550 Use these variables to override the choices made by `configure' or to help
1551 it to find libraries and programs with nonstandard names/locations.
1553 Report bugs to the package provider.
1554 _ACEOF
1555 ac_status=$?
1558 if test "$ac_init_help" = "recursive"; then
1559 # If there are subdirs, report their specific --help.
1560 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1561 test -d "$ac_dir" ||
1562 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1563 continue
1564 ac_builddir=.
1566 case "$ac_dir" in
1567 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1569 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1570 # A ".." for each directory in $ac_dir_suffix.
1571 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1572 case $ac_top_builddir_sub in
1573 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1574 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1575 esac ;;
1576 esac
1577 ac_abs_top_builddir=$ac_pwd
1578 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1579 # for backward compatibility:
1580 ac_top_builddir=$ac_top_build_prefix
1582 case $srcdir in
1583 .) # We are building in place.
1584 ac_srcdir=.
1585 ac_top_srcdir=$ac_top_builddir_sub
1586 ac_abs_top_srcdir=$ac_pwd ;;
1587 [\\/]* | ?:[\\/]* ) # Absolute name.
1588 ac_srcdir=$srcdir$ac_dir_suffix;
1589 ac_top_srcdir=$srcdir
1590 ac_abs_top_srcdir=$srcdir ;;
1591 *) # Relative name.
1592 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1593 ac_top_srcdir=$ac_top_build_prefix$srcdir
1594 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1595 esac
1596 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1598 cd "$ac_dir" || { ac_status=$?; continue; }
1599 # Check for guested configure.
1600 if test -f "$ac_srcdir/configure.gnu"; then
1601 echo &&
1602 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1603 elif test -f "$ac_srcdir/configure"; then
1604 echo &&
1605 $SHELL "$ac_srcdir/configure" --help=recursive
1606 else
1607 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1608 fi || ac_status=$?
1609 cd "$ac_pwd" || { ac_status=$?; break; }
1610 done
1613 test -n "$ac_init_help" && exit $ac_status
1614 if $ac_init_version; then
1615 cat <<\_ACEOF
1616 package-unused configure version-unused
1617 generated by GNU Autoconf 2.64
1619 Copyright (C) 2009 Free Software Foundation, Inc.
1620 This configure script is free software; the Free Software Foundation
1621 gives unlimited permission to copy, distribute and modify it.
1622 _ACEOF
1623 exit
1626 ## ------------------------ ##
1627 ## Autoconf initialization. ##
1628 ## ------------------------ ##
1630 # ac_fn_c_try_compile LINENO
1631 # --------------------------
1632 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1633 ac_fn_c_try_compile ()
1635 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1636 rm -f conftest.$ac_objext
1637 if { { ac_try="$ac_compile"
1638 case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1641 esac
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_compile") 2>conftest.err
1645 ac_status=$?
1646 if test -s conftest.err; then
1647 grep -v '^ *+' conftest.err >conftest.er1
1648 cat conftest.er1 >&5
1649 mv -f conftest.er1 conftest.err
1651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1652 test $ac_status = 0; } && {
1653 test -z "$ac_c_werror_flag" ||
1654 test ! -s conftest.err
1655 } && test -s conftest.$ac_objext; then :
1656 ac_retval=0
1657 else
1658 $as_echo "$as_me: failed program was:" >&5
1659 sed 's/^/| /' conftest.$ac_ext >&5
1661 ac_retval=1
1663 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1664 return $ac_retval
1666 } # ac_fn_c_try_compile
1668 # ac_fn_cxx_try_compile LINENO
1669 # ----------------------------
1670 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1671 ac_fn_cxx_try_compile ()
1673 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1674 rm -f conftest.$ac_objext
1675 if { { ac_try="$ac_compile"
1676 case "(($ac_try" in
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_compile") 2>conftest.err
1683 ac_status=$?
1684 if test -s conftest.err; then
1685 grep -v '^ *+' conftest.err >conftest.er1
1686 cat conftest.er1 >&5
1687 mv -f conftest.er1 conftest.err
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } && {
1691 test -z "$ac_cxx_werror_flag" ||
1692 test ! -s conftest.err
1693 } && test -s conftest.$ac_objext; then :
1694 ac_retval=0
1695 else
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1699 ac_retval=1
1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702 return $ac_retval
1704 } # ac_fn_cxx_try_compile
1706 # ac_fn_c_try_cpp LINENO
1707 # ----------------------
1708 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1709 ac_fn_c_try_cpp ()
1711 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1712 if { { ac_try="$ac_cpp conftest.$ac_ext"
1713 case "(($ac_try" in
1714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1715 *) ac_try_echo=$ac_try;;
1716 esac
1717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1718 $as_echo "$ac_try_echo"; } >&5
1719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1720 ac_status=$?
1721 if test -s conftest.err; then
1722 grep -v '^ *+' conftest.err >conftest.er1
1723 cat conftest.er1 >&5
1724 mv -f conftest.er1 conftest.err
1726 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1727 test $ac_status = 0; } >/dev/null && {
1728 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1729 test ! -s conftest.err
1730 }; then :
1731 ac_retval=0
1732 else
1733 $as_echo "$as_me: failed program was:" >&5
1734 sed 's/^/| /' conftest.$ac_ext >&5
1736 ac_retval=1
1738 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1739 return $ac_retval
1741 } # ac_fn_c_try_cpp
1743 # ac_fn_c_try_link LINENO
1744 # -----------------------
1745 # Try to link conftest.$ac_ext, and return whether this succeeded.
1746 ac_fn_c_try_link ()
1748 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1749 rm -f conftest.$ac_objext conftest$ac_exeext
1750 if { { ac_try="$ac_link"
1751 case "(($ac_try" in
1752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1753 *) ac_try_echo=$ac_try;;
1754 esac
1755 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1756 $as_echo "$ac_try_echo"; } >&5
1757 (eval "$ac_link") 2>conftest.err
1758 ac_status=$?
1759 if test -s conftest.err; then
1760 grep -v '^ *+' conftest.err >conftest.er1
1761 cat conftest.er1 >&5
1762 mv -f conftest.er1 conftest.err
1764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1765 test $ac_status = 0; } && {
1766 test -z "$ac_c_werror_flag" ||
1767 test ! -s conftest.err
1768 } && test -s conftest$ac_exeext && {
1769 test "$cross_compiling" = yes ||
1770 $as_test_x conftest$ac_exeext
1771 }; then :
1772 ac_retval=0
1773 else
1774 $as_echo "$as_me: failed program was:" >&5
1775 sed 's/^/| /' conftest.$ac_ext >&5
1777 ac_retval=1
1779 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1780 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1781 # interfere with the next link command; also delete a directory that is
1782 # left behind by Apple's compiler. We do this before executing the actions.
1783 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1784 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1785 return $ac_retval
1787 } # ac_fn_c_try_link
1789 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1790 # -------------------------------------------------------
1791 # Tests whether HEADER exists and can be compiled using the include files in
1792 # INCLUDES, setting the cache variable VAR accordingly.
1793 ac_fn_c_check_header_compile ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1797 $as_echo_n "checking for $2... " >&6; }
1798 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1799 $as_echo_n "(cached) " >&6
1800 else
1801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1802 /* end confdefs.h. */
1804 #include <$2>
1805 _ACEOF
1806 if ac_fn_c_try_compile "$LINENO"; then :
1807 eval "$3=yes"
1808 else
1809 eval "$3=no"
1811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1813 eval ac_res=\$$3
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1815 $as_echo "$ac_res" >&6; }
1816 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 } # ac_fn_c_check_header_compile
1820 # ac_fn_c_try_run LINENO
1821 # ----------------------
1822 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1823 # that executables *can* be run.
1824 ac_fn_c_try_run ()
1826 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827 if { { ac_try="$ac_link"
1828 case "(($ac_try" in
1829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1830 *) ac_try_echo=$ac_try;;
1831 esac
1832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1833 $as_echo "$ac_try_echo"; } >&5
1834 (eval "$ac_link") 2>&5
1835 ac_status=$?
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1838 { { case "(($ac_try" in
1839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1840 *) ac_try_echo=$ac_try;;
1841 esac
1842 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1843 $as_echo "$ac_try_echo"; } >&5
1844 (eval "$ac_try") 2>&5
1845 ac_status=$?
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; }; }; then :
1848 ac_retval=0
1849 else
1850 $as_echo "$as_me: program exited with status $ac_status" >&5
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1854 ac_retval=$ac_status
1856 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1857 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1858 return $ac_retval
1860 } # ac_fn_c_try_run
1862 # ac_fn_c_check_func LINENO FUNC VAR
1863 # ----------------------------------
1864 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1865 ac_fn_c_check_func ()
1867 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1869 $as_echo_n "checking for $2... " >&6; }
1870 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1871 $as_echo_n "(cached) " >&6
1872 else
1873 if test x$gcc_no_link = xyes; then
1874 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1877 /* end confdefs.h. */
1878 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1880 #define $2 innocuous_$2
1882 /* System header to define __stub macros and hopefully few prototypes,
1883 which can conflict with char $2 (); below.
1884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1885 <limits.h> exists even on freestanding compilers. */
1887 #ifdef __STDC__
1888 # include <limits.h>
1889 #else
1890 # include <assert.h>
1891 #endif
1893 #undef $2
1895 /* Override any GCC internal prototype to avoid an error.
1896 Use char because int might match the return type of a GCC
1897 builtin and then its argument prototype would still apply. */
1898 #ifdef __cplusplus
1899 extern "C"
1900 #endif
1901 char $2 ();
1902 /* The GNU C library defines this for functions which it implements
1903 to always fail with ENOSYS. Some functions are actually named
1904 something starting with __ and the normal name is an alias. */
1905 #if defined __stub_$2 || defined __stub___$2
1906 choke me
1907 #endif
1910 main ()
1912 return $2 ();
1914 return 0;
1916 _ACEOF
1917 if ac_fn_c_try_link "$LINENO"; then :
1918 eval "$3=yes"
1919 else
1920 eval "$3=no"
1922 rm -f core conftest.err conftest.$ac_objext \
1923 conftest$ac_exeext conftest.$ac_ext
1925 eval ac_res=\$$3
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1930 } # ac_fn_c_check_func
1932 # ac_fn_cxx_try_cpp LINENO
1933 # ------------------------
1934 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1935 ac_fn_cxx_try_cpp ()
1937 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1938 if { { ac_try="$ac_cpp conftest.$ac_ext"
1939 case "(($ac_try" in
1940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1941 *) ac_try_echo=$ac_try;;
1942 esac
1943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1944 $as_echo "$ac_try_echo"; } >&5
1945 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1946 ac_status=$?
1947 if test -s conftest.err; then
1948 grep -v '^ *+' conftest.err >conftest.er1
1949 cat conftest.er1 >&5
1950 mv -f conftest.er1 conftest.err
1952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1953 test $ac_status = 0; } >/dev/null && {
1954 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1955 test ! -s conftest.err
1956 }; then :
1957 ac_retval=0
1958 else
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1962 ac_retval=1
1964 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1965 return $ac_retval
1967 } # ac_fn_cxx_try_cpp
1969 # ac_fn_cxx_try_link LINENO
1970 # -------------------------
1971 # Try to link conftest.$ac_ext, and return whether this succeeded.
1972 ac_fn_cxx_try_link ()
1974 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1975 rm -f conftest.$ac_objext conftest$ac_exeext
1976 if { { ac_try="$ac_link"
1977 case "(($ac_try" in
1978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1979 *) ac_try_echo=$ac_try;;
1980 esac
1981 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1982 $as_echo "$ac_try_echo"; } >&5
1983 (eval "$ac_link") 2>conftest.err
1984 ac_status=$?
1985 if test -s conftest.err; then
1986 grep -v '^ *+' conftest.err >conftest.er1
1987 cat conftest.er1 >&5
1988 mv -f conftest.er1 conftest.err
1990 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1991 test $ac_status = 0; } && {
1992 test -z "$ac_cxx_werror_flag" ||
1993 test ! -s conftest.err
1994 } && test -s conftest$ac_exeext && {
1995 test "$cross_compiling" = yes ||
1996 $as_test_x conftest$ac_exeext
1997 }; then :
1998 ac_retval=0
1999 else
2000 $as_echo "$as_me: failed program was:" >&5
2001 sed 's/^/| /' conftest.$ac_ext >&5
2003 ac_retval=1
2005 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2006 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2007 # interfere with the next link command; also delete a directory that is
2008 # left behind by Apple's compiler. We do this before executing the actions.
2009 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2011 return $ac_retval
2013 } # ac_fn_cxx_try_link
2015 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2016 # -------------------------------------------------------
2017 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2018 # the include files in INCLUDES and setting the cache variable VAR
2019 # accordingly.
2020 ac_fn_c_check_header_mongrel ()
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2025 $as_echo_n "checking for $2... " >&6; }
2026 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2027 $as_echo_n "(cached) " >&6
2029 eval ac_res=\$$3
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2031 $as_echo "$ac_res" >&6; }
2032 else
2033 # Is the header compilable?
2034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2035 $as_echo_n "checking $2 usability... " >&6; }
2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h. */
2039 #include <$2>
2040 _ACEOF
2041 if ac_fn_c_try_compile "$LINENO"; then :
2042 ac_header_compiler=yes
2043 else
2044 ac_header_compiler=no
2046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2048 $as_echo "$ac_header_compiler" >&6; }
2050 # Is the header present?
2051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2052 $as_echo_n "checking $2 presence... " >&6; }
2053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2054 /* end confdefs.h. */
2055 #include <$2>
2056 _ACEOF
2057 if ac_fn_c_try_cpp "$LINENO"; then :
2058 ac_header_preproc=yes
2059 else
2060 ac_header_preproc=no
2062 rm -f conftest.err conftest.$ac_ext
2063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2064 $as_echo "$ac_header_preproc" >&6; }
2066 # So? What about this header?
2067 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2068 yes:no: )
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2070 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2072 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2074 no:yes:* )
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2076 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2078 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2080 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2082 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2083 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2084 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2086 esac
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2088 $as_echo_n "checking for $2... " >&6; }
2089 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2090 $as_echo_n "(cached) " >&6
2091 else
2092 eval "$3=\$ac_header_compiler"
2094 eval ac_res=\$$3
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2096 $as_echo "$ac_res" >&6; }
2098 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2100 } # ac_fn_c_check_header_mongrel
2102 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2103 # ---------------------------------------------------------
2104 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2105 # the include files in INCLUDES and setting the cache variable VAR
2106 # accordingly.
2107 ac_fn_cxx_check_header_mongrel ()
2109 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2110 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2112 $as_echo_n "checking for $2... " >&6; }
2113 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2114 $as_echo_n "(cached) " >&6
2116 eval ac_res=\$$3
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119 else
2120 # Is the header compilable?
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2122 $as_echo_n "checking $2 usability... " >&6; }
2123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2124 /* end confdefs.h. */
2126 #include <$2>
2127 _ACEOF
2128 if ac_fn_cxx_try_compile "$LINENO"; then :
2129 ac_header_compiler=yes
2130 else
2131 ac_header_compiler=no
2133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2135 $as_echo "$ac_header_compiler" >&6; }
2137 # Is the header present?
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2139 $as_echo_n "checking $2 presence... " >&6; }
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2142 #include <$2>
2143 _ACEOF
2144 if ac_fn_cxx_try_cpp "$LINENO"; then :
2145 ac_header_preproc=yes
2146 else
2147 ac_header_preproc=no
2149 rm -f conftest.err conftest.$ac_ext
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2151 $as_echo "$ac_header_preproc" >&6; }
2153 # So? What about this header?
2154 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2155 yes:no: )
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2157 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2159 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2161 no:yes:* )
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2163 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2165 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2167 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2169 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2171 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2173 esac
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2175 $as_echo_n "checking for $2... " >&6; }
2176 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2177 $as_echo_n "(cached) " >&6
2178 else
2179 eval "$3=\$ac_header_compiler"
2181 eval ac_res=\$$3
2182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2183 $as_echo "$ac_res" >&6; }
2185 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2187 } # ac_fn_cxx_check_header_mongrel
2189 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2190 # -------------------------------------------
2191 # Tests whether TYPE exists after having included INCLUDES, setting cache
2192 # variable VAR accordingly.
2193 ac_fn_c_check_type ()
2195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2197 $as_echo_n "checking for $2... " >&6; }
2198 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2199 $as_echo_n "(cached) " >&6
2200 else
2201 eval "$3=no"
2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2206 main ()
2208 if (sizeof ($2))
2209 return 0;
2211 return 0;
2213 _ACEOF
2214 if ac_fn_c_try_compile "$LINENO"; then :
2215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2216 /* end confdefs.h. */
2219 main ()
2221 if (sizeof (($2)))
2222 return 0;
2224 return 0;
2226 _ACEOF
2227 if ac_fn_c_try_compile "$LINENO"; then :
2229 else
2230 eval "$3=yes"
2232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2236 eval ac_res=\$$3
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2238 $as_echo "$ac_res" >&6; }
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2241 } # ac_fn_c_check_type
2243 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2244 # --------------------------------------------
2245 # Tries to find the compile-time value of EXPR in a program that includes
2246 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2247 # computed
2248 ac_fn_c_compute_int ()
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 if test "$cross_compiling" = yes; then
2252 # Depending upon the size, compute the lo and hi bounds.
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2257 main ()
2259 static int test_array [1 - 2 * !(($2) >= 0)];
2260 test_array [0] = 0
2263 return 0;
2265 _ACEOF
2266 if ac_fn_c_try_compile "$LINENO"; then :
2267 ac_lo=0 ac_mid=0
2268 while :; do
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2273 main ()
2275 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2276 test_array [0] = 0
2279 return 0;
2281 _ACEOF
2282 if ac_fn_c_try_compile "$LINENO"; then :
2283 ac_hi=$ac_mid; break
2284 else
2285 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2286 if test $ac_lo -le $ac_mid; then
2287 ac_lo= ac_hi=
2288 break
2290 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 done
2294 else
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2299 main ()
2301 static int test_array [1 - 2 * !(($2) < 0)];
2302 test_array [0] = 0
2305 return 0;
2307 _ACEOF
2308 if ac_fn_c_try_compile "$LINENO"; then :
2309 ac_hi=-1 ac_mid=-1
2310 while :; do
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2315 main ()
2317 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2318 test_array [0] = 0
2321 return 0;
2323 _ACEOF
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_lo=$ac_mid; break
2326 else
2327 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2328 if test $ac_mid -le $ac_hi; then
2329 ac_lo= ac_hi=
2330 break
2332 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 done
2336 else
2337 ac_lo= ac_hi=
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 # Binary search between lo and hi bounds.
2343 while test "x$ac_lo" != "x$ac_hi"; do
2344 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2349 main ()
2351 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2352 test_array [0] = 0
2355 return 0;
2357 _ACEOF
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359 ac_hi=$ac_mid
2360 else
2361 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 done
2365 case $ac_lo in #((
2366 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2367 '') ac_retval=1 ;;
2368 esac
2369 else
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2373 static long int longval () { return $2; }
2374 static unsigned long int ulongval () { return $2; }
2375 #include <stdio.h>
2376 #include <stdlib.h>
2378 main ()
2381 FILE *f = fopen ("conftest.val", "w");
2382 if (! f)
2383 return 1;
2384 if (($2) < 0)
2386 long int i = longval ();
2387 if (i != ($2))
2388 return 1;
2389 fprintf (f, "%ld", i);
2391 else
2393 unsigned long int i = ulongval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%lu", i);
2398 /* Do not output a trailing newline, as this causes \r\n confusion
2399 on some platforms. */
2400 return ferror (f) || fclose (f) != 0;
2403 return 0;
2405 _ACEOF
2406 if ac_fn_c_try_run "$LINENO"; then :
2407 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2408 else
2409 ac_retval=1
2411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2412 conftest.$ac_objext conftest.beam conftest.$ac_ext
2413 rm -f conftest.val
2416 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2417 return $ac_retval
2419 } # ac_fn_c_compute_int
2420 cat >config.log <<_ACEOF
2421 This file contains any messages produced by compilers while
2422 running configure, to aid debugging if configure makes a mistake.
2424 It was created by package-unused $as_me version-unused, which was
2425 generated by GNU Autoconf 2.64. Invocation command line was
2427 $ $0 $@
2429 _ACEOF
2430 exec 5>>config.log
2432 cat <<_ASUNAME
2433 ## --------- ##
2434 ## Platform. ##
2435 ## --------- ##
2437 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2438 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2439 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2440 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2441 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2443 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2444 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2446 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2447 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2448 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2449 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2450 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2451 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2452 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2454 _ASUNAME
2456 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2457 for as_dir in $PATH
2459 IFS=$as_save_IFS
2460 test -z "$as_dir" && as_dir=.
2461 $as_echo "PATH: $as_dir"
2462 done
2463 IFS=$as_save_IFS
2465 } >&5
2467 cat >&5 <<_ACEOF
2470 ## ----------- ##
2471 ## Core tests. ##
2472 ## ----------- ##
2474 _ACEOF
2477 # Keep a trace of the command line.
2478 # Strip out --no-create and --no-recursion so they do not pile up.
2479 # Strip out --silent because we don't want to record it for future runs.
2480 # Also quote any args containing shell meta-characters.
2481 # Make two passes to allow for proper duplicate-argument suppression.
2482 ac_configure_args=
2483 ac_configure_args0=
2484 ac_configure_args1=
2485 ac_must_keep_next=false
2486 for ac_pass in 1 2
2488 for ac_arg
2490 case $ac_arg in
2491 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2492 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2493 | -silent | --silent | --silen | --sile | --sil)
2494 continue ;;
2495 *\'*)
2496 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2497 esac
2498 case $ac_pass in
2499 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2501 as_fn_append ac_configure_args1 " '$ac_arg'"
2502 if test $ac_must_keep_next = true; then
2503 ac_must_keep_next=false # Got value, back to normal.
2504 else
2505 case $ac_arg in
2506 *=* | --config-cache | -C | -disable-* | --disable-* \
2507 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2508 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2509 | -with-* | --with-* | -without-* | --without-* | --x)
2510 case "$ac_configure_args0 " in
2511 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2512 esac
2514 -* ) ac_must_keep_next=true ;;
2515 esac
2517 as_fn_append ac_configure_args " '$ac_arg'"
2519 esac
2520 done
2521 done
2522 { ac_configure_args0=; unset ac_configure_args0;}
2523 { ac_configure_args1=; unset ac_configure_args1;}
2525 # When interrupted or exit'd, cleanup temporary files, and complete
2526 # config.log. We remove comments because anyway the quotes in there
2527 # would cause problems or look ugly.
2528 # WARNING: Use '\'' to represent an apostrophe within the trap.
2529 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2530 trap 'exit_status=$?
2531 # Save into config.log some information that might help in debugging.
2533 echo
2535 cat <<\_ASBOX
2536 ## ---------------- ##
2537 ## Cache variables. ##
2538 ## ---------------- ##
2539 _ASBOX
2540 echo
2541 # The following way of writing the cache mishandles newlines in values,
2543 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2544 eval ac_val=\$$ac_var
2545 case $ac_val in #(
2546 *${as_nl}*)
2547 case $ac_var in #(
2548 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2549 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2550 esac
2551 case $ac_var in #(
2552 _ | IFS | as_nl) ;; #(
2553 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2554 *) { eval $ac_var=; unset $ac_var;} ;;
2555 esac ;;
2556 esac
2557 done
2558 (set) 2>&1 |
2559 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2560 *${as_nl}ac_space=\ *)
2561 sed -n \
2562 "s/'\''/'\''\\\\'\'''\''/g;
2563 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2564 ;; #(
2566 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2568 esac |
2569 sort
2571 echo
2573 cat <<\_ASBOX
2574 ## ----------------- ##
2575 ## Output variables. ##
2576 ## ----------------- ##
2577 _ASBOX
2578 echo
2579 for ac_var in $ac_subst_vars
2581 eval ac_val=\$$ac_var
2582 case $ac_val in
2583 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2584 esac
2585 $as_echo "$ac_var='\''$ac_val'\''"
2586 done | sort
2587 echo
2589 if test -n "$ac_subst_files"; then
2590 cat <<\_ASBOX
2591 ## ------------------- ##
2592 ## File substitutions. ##
2593 ## ------------------- ##
2594 _ASBOX
2595 echo
2596 for ac_var in $ac_subst_files
2598 eval ac_val=\$$ac_var
2599 case $ac_val in
2600 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2601 esac
2602 $as_echo "$ac_var='\''$ac_val'\''"
2603 done | sort
2604 echo
2607 if test -s confdefs.h; then
2608 cat <<\_ASBOX
2609 ## ----------- ##
2610 ## confdefs.h. ##
2611 ## ----------- ##
2612 _ASBOX
2613 echo
2614 cat confdefs.h
2615 echo
2617 test "$ac_signal" != 0 &&
2618 $as_echo "$as_me: caught signal $ac_signal"
2619 $as_echo "$as_me: exit $exit_status"
2620 } >&5
2621 rm -f core *.core core.conftest.* &&
2622 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2623 exit $exit_status
2625 for ac_signal in 1 2 13 15; do
2626 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2627 done
2628 ac_signal=0
2630 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2631 rm -f -r conftest* confdefs.h
2633 $as_echo "/* confdefs.h */" > confdefs.h
2635 # Predefined preprocessor variables.
2637 cat >>confdefs.h <<_ACEOF
2638 #define PACKAGE_NAME "$PACKAGE_NAME"
2639 _ACEOF
2641 cat >>confdefs.h <<_ACEOF
2642 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2643 _ACEOF
2645 cat >>confdefs.h <<_ACEOF
2646 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2647 _ACEOF
2649 cat >>confdefs.h <<_ACEOF
2650 #define PACKAGE_STRING "$PACKAGE_STRING"
2651 _ACEOF
2653 cat >>confdefs.h <<_ACEOF
2654 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2655 _ACEOF
2657 cat >>confdefs.h <<_ACEOF
2658 #define PACKAGE_URL "$PACKAGE_URL"
2659 _ACEOF
2662 # Let the site file select an alternate cache file if it wants to.
2663 # Prefer an explicitly selected file to automatically selected ones.
2664 ac_site_file1=NONE
2665 ac_site_file2=NONE
2666 if test -n "$CONFIG_SITE"; then
2667 ac_site_file1=$CONFIG_SITE
2668 elif test "x$prefix" != xNONE; then
2669 ac_site_file1=$prefix/share/config.site
2670 ac_site_file2=$prefix/etc/config.site
2671 else
2672 ac_site_file1=$ac_default_prefix/share/config.site
2673 ac_site_file2=$ac_default_prefix/etc/config.site
2675 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2677 test "x$ac_site_file" = xNONE && continue
2678 if test -r "$ac_site_file"; then
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2680 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2681 sed 's/^/| /' "$ac_site_file" >&5
2682 . "$ac_site_file"
2684 done
2686 if test -r "$cache_file"; then
2687 # Some versions of bash will fail to source /dev/null (special
2688 # files actually), so we avoid doing that.
2689 if test -f "$cache_file"; then
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2691 $as_echo "$as_me: loading cache $cache_file" >&6;}
2692 case $cache_file in
2693 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2694 *) . "./$cache_file";;
2695 esac
2697 else
2698 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2699 $as_echo "$as_me: creating cache $cache_file" >&6;}
2700 >$cache_file
2703 # Check that the precious variables saved in the cache have kept the same
2704 # value.
2705 ac_cache_corrupted=false
2706 for ac_var in $ac_precious_vars; do
2707 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2708 eval ac_new_set=\$ac_env_${ac_var}_set
2709 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2710 eval ac_new_val=\$ac_env_${ac_var}_value
2711 case $ac_old_set,$ac_new_set in
2712 set,)
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2714 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2715 ac_cache_corrupted=: ;;
2716 ,set)
2717 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2718 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2719 ac_cache_corrupted=: ;;
2720 ,);;
2722 if test "x$ac_old_val" != "x$ac_new_val"; then
2723 # differences in whitespace do not lead to failure.
2724 ac_old_val_w=`echo x $ac_old_val`
2725 ac_new_val_w=`echo x $ac_new_val`
2726 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2728 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2729 ac_cache_corrupted=:
2730 else
2731 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2732 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2733 eval $ac_var=\$ac_old_val
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2736 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2737 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2738 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2739 fi;;
2740 esac
2741 # Pass precious variables to config.status.
2742 if test "$ac_new_set" = set; then
2743 case $ac_new_val in
2744 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2745 *) ac_arg=$ac_var=$ac_new_val ;;
2746 esac
2747 case " $ac_configure_args " in
2748 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2749 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2750 esac
2752 done
2753 if $ac_cache_corrupted; then
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2755 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2757 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2758 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2760 ## -------------------- ##
2761 ## Main body of script. ##
2762 ## -------------------- ##
2764 ac_ext=c
2765 ac_cpp='$CPP $CPPFLAGS'
2766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2775 ac_config_headers="$ac_config_headers config.h"
2778 # This works around the fact that libtool configuration may change LD
2779 # for this particular configuration, but some shells, instead of
2780 # keeping the changes in LD private, export them just because LD is
2781 # exported. Only used at the end of this file.
2782 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2784 # For libtool versioning info, format is CURRENT:REVISION:AGE
2785 libtool_VERSION=6:14:0
2788 # Find the rest of the source tree framework.
2789 # Default to --enable-multilib
2790 # Check whether --enable-multilib was given.
2791 if test "${enable_multilib+set}" = set; then :
2792 enableval=$enable_multilib; case "$enableval" in
2793 yes) multilib=yes ;;
2794 no) multilib=no ;;
2795 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2796 esac
2797 else
2798 multilib=yes
2802 # We may get other options which we leave undocumented:
2803 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2804 # See config-ml.in if you want the gory details.
2806 if test "$srcdir" = "."; then
2807 if test "$with_target_subdir" != "."; then
2808 multi_basedir="$srcdir/$with_multisrctop../.."
2809 else
2810 multi_basedir="$srcdir/$with_multisrctop.."
2812 else
2813 multi_basedir="$srcdir/.."
2817 # Even if the default multilib is not a cross compilation,
2818 # it may be that some of the other multilibs are.
2819 if test $cross_compiling = no && test $multilib = yes \
2820 && test "x${with_multisubdir}" != x ; then
2821 cross_compiling=maybe
2824 ac_config_commands="$ac_config_commands default-1"
2827 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2829 # You will slowly go insane if you do not grok the following fact: when
2830 # building v3 as part of the compiler, the top-level /target/ becomes the
2831 # library's /host/. configure then causes --target to default to --host,
2832 # exactly like any other package using autoconf. Therefore, 'target' and
2833 # 'host' will always be the same. This makes sense both for native and
2834 # cross compilers, just think about it for a little while. :-)
2836 # Also, if v3 is being configured as part of a cross compiler, the top-level
2837 # configure script will pass the "real" host as $with_cross_host.
2839 # Do not delete or change the following two lines. For why, see
2840 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2841 ac_aux_dir=
2842 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2843 for ac_t in install-sh install.sh shtool; do
2844 if test -f "$ac_dir/$ac_t"; then
2845 ac_aux_dir=$ac_dir
2846 ac_install_sh="$ac_aux_dir/$ac_t -c"
2847 break 2
2849 done
2850 done
2851 if test -z "$ac_aux_dir"; then
2852 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2855 # These three variables are undocumented and unsupported,
2856 # and are intended to be withdrawn in a future Autoconf release.
2857 # They can cause serious problems if a builder's source tree is in a directory
2858 # whose full name contains unusual characters.
2859 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2860 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2861 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2864 # Make sure we can run config.sub.
2865 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2866 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2869 $as_echo_n "checking build system type... " >&6; }
2870 if test "${ac_cv_build+set}" = set; then :
2871 $as_echo_n "(cached) " >&6
2872 else
2873 ac_build_alias=$build_alias
2874 test "x$ac_build_alias" = x &&
2875 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2876 test "x$ac_build_alias" = x &&
2877 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2878 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2879 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2883 $as_echo "$ac_cv_build" >&6; }
2884 case $ac_cv_build in
2885 *-*-*) ;;
2886 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2887 esac
2888 build=$ac_cv_build
2889 ac_save_IFS=$IFS; IFS='-'
2890 set x $ac_cv_build
2891 shift
2892 build_cpu=$1
2893 build_vendor=$2
2894 shift; shift
2895 # Remember, the first character of IFS is used to create $*,
2896 # except with old shells:
2897 build_os=$*
2898 IFS=$ac_save_IFS
2899 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2903 $as_echo_n "checking host system type... " >&6; }
2904 if test "${ac_cv_host+set}" = set; then :
2905 $as_echo_n "(cached) " >&6
2906 else
2907 if test "x$host_alias" = x; then
2908 ac_cv_host=$ac_cv_build
2909 else
2910 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2911 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2916 $as_echo "$ac_cv_host" >&6; }
2917 case $ac_cv_host in
2918 *-*-*) ;;
2919 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2920 esac
2921 host=$ac_cv_host
2922 ac_save_IFS=$IFS; IFS='-'
2923 set x $ac_cv_host
2924 shift
2925 host_cpu=$1
2926 host_vendor=$2
2927 shift; shift
2928 # Remember, the first character of IFS is used to create $*,
2929 # except with old shells:
2930 host_os=$*
2931 IFS=$ac_save_IFS
2932 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2936 $as_echo_n "checking target system type... " >&6; }
2937 if test "${ac_cv_target+set}" = set; then :
2938 $as_echo_n "(cached) " >&6
2939 else
2940 if test "x$target_alias" = x; then
2941 ac_cv_target=$ac_cv_host
2942 else
2943 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2944 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2949 $as_echo "$ac_cv_target" >&6; }
2950 case $ac_cv_target in
2951 *-*-*) ;;
2952 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2953 esac
2954 target=$ac_cv_target
2955 ac_save_IFS=$IFS; IFS='-'
2956 set x $ac_cv_target
2957 shift
2958 target_cpu=$1
2959 target_vendor=$2
2960 shift; shift
2961 # Remember, the first character of IFS is used to create $*,
2962 # except with old shells:
2963 target_os=$*
2964 IFS=$ac_save_IFS
2965 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2968 # The aliases save the names the user supplied, while $host etc.
2969 # will get canonicalized.
2970 test -n "$target_alias" &&
2971 test "$program_prefix$program_suffix$program_transform_name" = \
2972 NONENONEs,x,x, &&
2973 program_prefix=${target_alias}-
2975 target_alias=${target_alias-$host_alias}
2977 # Handy for debugging:
2978 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
2980 if test "$build" != "$host"; then
2981 # We are being configured with some form of cross compiler.
2982 GLIBCXX_IS_NATIVE=false
2983 case "$host","$target" in
2984 # Darwin crosses can use the host system's libraries and headers,
2985 # because of the fat library support. Of course, it must be the
2986 # same version of Darwin on both sides. Allow the user to
2987 # just say --target=foo-darwin without a version number to mean
2988 # "the version on this system".
2989 *-*-darwin*,*-*-darwin*)
2990 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
2991 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
2992 if test $hostos = $targetos -o $targetos = darwin ; then
2993 GLIBCXX_IS_NATIVE=true
3000 esac
3001 else
3002 GLIBCXX_IS_NATIVE=true
3005 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3006 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3007 # 1.x: minimum required version
3008 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3009 # of other PACKAGE_* variables will, however, and there's nothing
3010 # we can do about that; they come from AC_INIT).
3011 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3012 # file in the top srcdir, etc, etc), so stop complaining.
3013 # no-dependencies: turns off auto dependency generation (just for now)
3014 # -Wall: turns on all automake warnings...
3015 # -Wno-portability: ...except this one, since GNU make is now required.
3016 am__api_version='1.11'
3018 # Find a good install program. We prefer a C program (faster),
3019 # so one script is as good as another. But avoid the broken or
3020 # incompatible versions:
3021 # SysV /etc/install, /usr/sbin/install
3022 # SunOS /usr/etc/install
3023 # IRIX /sbin/install
3024 # AIX /bin/install
3025 # AmigaOS /C/install, which installs bootblocks on floppy discs
3026 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3027 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3028 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3029 # OS/2's system install, which has a completely different semantic
3030 # ./install, which can be erroneously created by make from ./install.sh.
3031 # Reject install programs that cannot install multiple files.
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3033 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3034 if test -z "$INSTALL"; then
3035 if test "${ac_cv_path_install+set}" = set; then :
3036 $as_echo_n "(cached) " >&6
3037 else
3038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3039 for as_dir in $PATH
3041 IFS=$as_save_IFS
3042 test -z "$as_dir" && as_dir=.
3043 # Account for people who put trailing slashes in PATH elements.
3044 case $as_dir/ in #((
3045 ./ | .// | /[cC]/* | \
3046 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3047 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3048 /usr/ucb/* ) ;;
3050 # OSF1 and SCO ODT 3.0 have their own names for install.
3051 # Don't use installbsd from OSF since it installs stuff as root
3052 # by default.
3053 for ac_prog in ginstall scoinst install; do
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3056 if test $ac_prog = install &&
3057 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3058 # AIX install. It has an incompatible calling convention.
3060 elif test $ac_prog = install &&
3061 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3062 # program-specific install script used by HP pwplus--don't use.
3064 else
3065 rm -rf conftest.one conftest.two conftest.dir
3066 echo one > conftest.one
3067 echo two > conftest.two
3068 mkdir conftest.dir
3069 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3070 test -s conftest.one && test -s conftest.two &&
3071 test -s conftest.dir/conftest.one &&
3072 test -s conftest.dir/conftest.two
3073 then
3074 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3075 break 3
3079 done
3080 done
3082 esac
3084 done
3085 IFS=$as_save_IFS
3087 rm -rf conftest.one conftest.two conftest.dir
3090 if test "${ac_cv_path_install+set}" = set; then
3091 INSTALL=$ac_cv_path_install
3092 else
3093 # As a last resort, use the slow shell script. Don't cache a
3094 # value for INSTALL within a source directory, because that will
3095 # break other packages using the cache if that directory is
3096 # removed, or if the value is a relative name.
3097 INSTALL=$ac_install_sh
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3101 $as_echo "$INSTALL" >&6; }
3103 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3104 # It thinks the first close brace ends the variable substitution.
3105 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3107 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3109 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3112 $as_echo_n "checking whether build environment is sane... " >&6; }
3113 # Just in case
3114 sleep 1
3115 echo timestamp > conftest.file
3116 # Reject unsafe characters in $srcdir or the absolute working directory
3117 # name. Accept space and tab only in the latter.
3118 am_lf='
3120 case `pwd` in
3121 *[\\\"\#\$\&\'\`$am_lf]*)
3122 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3123 esac
3124 case $srcdir in
3125 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3126 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3127 esac
3129 # Do `set' in a subshell so we don't clobber the current shell's
3130 # arguments. Must try -L first in case configure is actually a
3131 # symlink; some systems play weird games with the mod time of symlinks
3132 # (eg FreeBSD returns the mod time of the symlink's containing
3133 # directory).
3134 if (
3135 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3136 if test "$*" = "X"; then
3137 # -L didn't work.
3138 set X `ls -t "$srcdir/configure" conftest.file`
3140 rm -f conftest.file
3141 if test "$*" != "X $srcdir/configure conftest.file" \
3142 && test "$*" != "X conftest.file $srcdir/configure"; then
3144 # If neither matched, then we have a broken ls. This can happen
3145 # if, for instance, CONFIG_SHELL is bash and it inherits a
3146 # broken ls alias from the environment. This has actually
3147 # happened. Such a system could not be considered "sane".
3148 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3149 alias in your environment" "$LINENO" 5
3152 test "$2" = conftest.file
3154 then
3155 # Ok.
3157 else
3158 as_fn_error "newly created file is older than distributed files!
3159 Check your system clock" "$LINENO" 5
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3162 $as_echo "yes" >&6; }
3163 test "$program_prefix" != NONE &&
3164 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3165 # Use a double $ so make ignores it.
3166 test "$program_suffix" != NONE &&
3167 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3168 # Double any \ or $.
3169 # By default was `s,x,x', remove it if useless.
3170 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3171 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3173 # expand $ac_aux_dir to an absolute path
3174 am_aux_dir=`cd $ac_aux_dir && pwd`
3176 if test x"${MISSING+set}" != xset; then
3177 case $am_aux_dir in
3178 *\ * | *\ *)
3179 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3181 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3182 esac
3184 # Use eval to expand $SHELL
3185 if eval "$MISSING --run true"; then
3186 am_missing_run="$MISSING --run "
3187 else
3188 am_missing_run=
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3190 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3193 if test x"${install_sh}" != xset; then
3194 case $am_aux_dir in
3195 *\ * | *\ *)
3196 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3198 install_sh="\${SHELL} $am_aux_dir/install-sh"
3199 esac
3202 # Installed binaries are usually stripped using `strip' when the user
3203 # run `make install-strip'. However `strip' might not be the right
3204 # tool to use in cross-compilation environments, therefore Automake
3205 # will honor the `STRIP' environment variable to overrule this program.
3206 if test "$cross_compiling" != no; then
3207 if test -n "$ac_tool_prefix"; then
3208 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3209 set dummy ${ac_tool_prefix}strip; ac_word=$2
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3211 $as_echo_n "checking for $ac_word... " >&6; }
3212 if test "${ac_cv_prog_STRIP+set}" = set; then :
3213 $as_echo_n "(cached) " >&6
3214 else
3215 if test -n "$STRIP"; then
3216 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3217 else
3218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3219 for as_dir in $PATH
3221 IFS=$as_save_IFS
3222 test -z "$as_dir" && as_dir=.
3223 for ac_exec_ext in '' $ac_executable_extensions; do
3224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3225 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 break 2
3229 done
3230 done
3231 IFS=$as_save_IFS
3235 STRIP=$ac_cv_prog_STRIP
3236 if test -n "$STRIP"; then
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3238 $as_echo "$STRIP" >&6; }
3239 else
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3241 $as_echo "no" >&6; }
3246 if test -z "$ac_cv_prog_STRIP"; then
3247 ac_ct_STRIP=$STRIP
3248 # Extract the first word of "strip", so it can be a program name with args.
3249 set dummy strip; ac_word=$2
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3251 $as_echo_n "checking for $ac_word... " >&6; }
3252 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3253 $as_echo_n "(cached) " >&6
3254 else
3255 if test -n "$ac_ct_STRIP"; then
3256 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3257 else
3258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3259 for as_dir in $PATH
3261 IFS=$as_save_IFS
3262 test -z "$as_dir" && as_dir=.
3263 for ac_exec_ext in '' $ac_executable_extensions; do
3264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3265 ac_cv_prog_ac_ct_STRIP="strip"
3266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3267 break 2
3269 done
3270 done
3271 IFS=$as_save_IFS
3275 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3276 if test -n "$ac_ct_STRIP"; then
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3278 $as_echo "$ac_ct_STRIP" >&6; }
3279 else
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3281 $as_echo "no" >&6; }
3284 if test "x$ac_ct_STRIP" = x; then
3285 STRIP=":"
3286 else
3287 case $cross_compiling:$ac_tool_warned in
3288 yes:)
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3290 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3291 ac_tool_warned=yes ;;
3292 esac
3293 STRIP=$ac_ct_STRIP
3295 else
3296 STRIP="$ac_cv_prog_STRIP"
3300 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3303 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3304 if test -z "$MKDIR_P"; then
3305 if test "${ac_cv_path_mkdir+set}" = set; then :
3306 $as_echo_n "(cached) " >&6
3307 else
3308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3311 IFS=$as_save_IFS
3312 test -z "$as_dir" && as_dir=.
3313 for ac_prog in mkdir gmkdir; do
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3316 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3317 'mkdir (GNU coreutils) '* | \
3318 'mkdir (coreutils) '* | \
3319 'mkdir (fileutils) '4.1*)
3320 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3321 break 3;;
3322 esac
3323 done
3324 done
3325 done
3326 IFS=$as_save_IFS
3330 if test "${ac_cv_path_mkdir+set}" = set; then
3331 MKDIR_P="$ac_cv_path_mkdir -p"
3332 else
3333 # As a last resort, use the slow shell script. Don't cache a
3334 # value for MKDIR_P within a source directory, because that will
3335 # break other packages using the cache if that directory is
3336 # removed, or if the value is a relative name.
3337 test -d ./--version && rmdir ./--version
3338 MKDIR_P="$ac_install_sh -d"
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3342 $as_echo "$MKDIR_P" >&6; }
3344 mkdir_p="$MKDIR_P"
3345 case $mkdir_p in
3346 [\\/$]* | ?:[\\/]*) ;;
3347 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3348 esac
3350 for ac_prog in gawk mawk nawk awk
3352 # Extract the first word of "$ac_prog", so it can be a program name with args.
3353 set dummy $ac_prog; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if test "${ac_cv_prog_AWK+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 if test -n "$AWK"; then
3360 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3361 else
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3363 for as_dir in $PATH
3365 IFS=$as_save_IFS
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3369 ac_cv_prog_AWK="$ac_prog"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3371 break 2
3373 done
3374 done
3375 IFS=$as_save_IFS
3379 AWK=$ac_cv_prog_AWK
3380 if test -n "$AWK"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3382 $as_echo "$AWK" >&6; }
3383 else
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3389 test -n "$AWK" && break
3390 done
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3393 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3394 set x ${MAKE-make}
3395 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3396 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 cat >conftest.make <<\_ACEOF
3400 SHELL = /bin/sh
3401 all:
3402 @echo '@@@%%%=$(MAKE)=@@@%%%'
3403 _ACEOF
3404 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3405 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3406 *@@@%%%=?*=@@@%%%*)
3407 eval ac_cv_prog_make_${ac_make}_set=yes;;
3409 eval ac_cv_prog_make_${ac_make}_set=no;;
3410 esac
3411 rm -f conftest.make
3413 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3415 $as_echo "yes" >&6; }
3416 SET_MAKE=
3417 else
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3419 $as_echo "no" >&6; }
3420 SET_MAKE="MAKE=${MAKE-make}"
3423 rm -rf .tst 2>/dev/null
3424 mkdir .tst 2>/dev/null
3425 if test -d .tst; then
3426 am__leading_dot=.
3427 else
3428 am__leading_dot=_
3430 rmdir .tst 2>/dev/null
3432 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3433 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3434 # is not polluted with repeated "-I."
3435 am__isrc=' -I$(srcdir)'
3436 # test to see if srcdir already configured
3437 if test -f $srcdir/config.status; then
3438 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3442 # test whether we have cygpath
3443 if test -z "$CYGPATH_W"; then
3444 if (cygpath --version) >/dev/null 2>/dev/null; then
3445 CYGPATH_W='cygpath -w'
3446 else
3447 CYGPATH_W=echo
3452 # Define the identity of the package.
3453 PACKAGE='libstdc++'
3454 VERSION='version-unused'
3457 # Some tools Automake needs.
3459 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3462 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3465 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3468 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3471 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3473 # We need awk for the "check" target. The system "awk" is bad on
3474 # some platforms.
3475 # Always define AMTAR for backward compatibility.
3477 AMTAR=${AMTAR-"${am_missing_run}tar"}
3479 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3488 # We're almost certainly being configured before anything else which uses
3489 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
3490 # we not cache the value of CXX that we "discover" here, because it's set
3491 # to something unique for us and libjava. Other target libraries need to
3492 # find CXX for themselves. We yank the rug out from under the normal AC_*
3493 # process by sneakily renaming the cache variable. This also lets us debug
3494 # the value of "our" CXX in postmortems.
3496 # We must also force CXX to /not/ be a precious variable, otherwise the
3497 # wrong (non-multilib-adjusted) value will be used in multilibs. This
3498 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
3499 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
3500 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
3502 # -fno-builtin must be present here so that a non-conflicting form of
3503 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3508 save_CXXFLAGS="$CXXFLAGS"
3509 CXXFLAGS="$CXXFLAGS -fno-builtin"
3510 ac_ext=c
3511 ac_cpp='$CPP $CPPFLAGS'
3512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3515 if test -n "$ac_tool_prefix"; then
3516 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3517 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3519 $as_echo_n "checking for $ac_word... " >&6; }
3520 if test "${ac_cv_prog_CC+set}" = set; then :
3521 $as_echo_n "(cached) " >&6
3522 else
3523 if test -n "$CC"; then
3524 ac_cv_prog_CC="$CC" # Let the user override the test.
3525 else
3526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3527 for as_dir in $PATH
3529 IFS=$as_save_IFS
3530 test -z "$as_dir" && as_dir=.
3531 for ac_exec_ext in '' $ac_executable_extensions; do
3532 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3533 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3535 break 2
3537 done
3538 done
3539 IFS=$as_save_IFS
3543 CC=$ac_cv_prog_CC
3544 if test -n "$CC"; then
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3546 $as_echo "$CC" >&6; }
3547 else
3548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3549 $as_echo "no" >&6; }
3554 if test -z "$ac_cv_prog_CC"; then
3555 ac_ct_CC=$CC
3556 # Extract the first word of "gcc", so it can be a program name with args.
3557 set dummy gcc; ac_word=$2
3558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3559 $as_echo_n "checking for $ac_word... " >&6; }
3560 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3561 $as_echo_n "(cached) " >&6
3562 else
3563 if test -n "$ac_ct_CC"; then
3564 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3565 else
3566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3567 for as_dir in $PATH
3569 IFS=$as_save_IFS
3570 test -z "$as_dir" && as_dir=.
3571 for ac_exec_ext in '' $ac_executable_extensions; do
3572 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3573 ac_cv_prog_ac_ct_CC="gcc"
3574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3575 break 2
3577 done
3578 done
3579 IFS=$as_save_IFS
3583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3584 if test -n "$ac_ct_CC"; then
3585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3586 $as_echo "$ac_ct_CC" >&6; }
3587 else
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3589 $as_echo "no" >&6; }
3592 if test "x$ac_ct_CC" = x; then
3593 CC=""
3594 else
3595 case $cross_compiling:$ac_tool_warned in
3596 yes:)
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3598 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3599 ac_tool_warned=yes ;;
3600 esac
3601 CC=$ac_ct_CC
3603 else
3604 CC="$ac_cv_prog_CC"
3607 if test -z "$CC"; then
3608 if test -n "$ac_tool_prefix"; then
3609 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3610 set dummy ${ac_tool_prefix}cc; ac_word=$2
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3612 $as_echo_n "checking for $ac_word... " >&6; }
3613 if test "${ac_cv_prog_CC+set}" = set; then :
3614 $as_echo_n "(cached) " >&6
3615 else
3616 if test -n "$CC"; then
3617 ac_cv_prog_CC="$CC" # Let the user override the test.
3618 else
3619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3620 for as_dir in $PATH
3622 IFS=$as_save_IFS
3623 test -z "$as_dir" && as_dir=.
3624 for ac_exec_ext in '' $ac_executable_extensions; do
3625 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3626 ac_cv_prog_CC="${ac_tool_prefix}cc"
3627 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3628 break 2
3630 done
3631 done
3632 IFS=$as_save_IFS
3636 CC=$ac_cv_prog_CC
3637 if test -n "$CC"; then
3638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3639 $as_echo "$CC" >&6; }
3640 else
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3642 $as_echo "no" >&6; }
3648 if test -z "$CC"; then
3649 # Extract the first word of "cc", so it can be a program name with args.
3650 set dummy cc; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if test "${ac_cv_prog_CC+set}" = set; then :
3654 $as_echo_n "(cached) " >&6
3655 else
3656 if test -n "$CC"; then
3657 ac_cv_prog_CC="$CC" # Let the user override the test.
3658 else
3659 ac_prog_rejected=no
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3663 IFS=$as_save_IFS
3664 test -z "$as_dir" && as_dir=.
3665 for ac_exec_ext in '' $ac_executable_extensions; do
3666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3667 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3668 ac_prog_rejected=yes
3669 continue
3671 ac_cv_prog_CC="cc"
3672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3673 break 2
3675 done
3676 done
3677 IFS=$as_save_IFS
3679 if test $ac_prog_rejected = yes; then
3680 # We found a bogon in the path, so make sure we never use it.
3681 set dummy $ac_cv_prog_CC
3682 shift
3683 if test $# != 0; then
3684 # We chose a different compiler from the bogus one.
3685 # However, it has the same basename, so the bogon will be chosen
3686 # first if we set CC to just the basename; use the full file name.
3687 shift
3688 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3693 CC=$ac_cv_prog_CC
3694 if test -n "$CC"; then
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3696 $as_echo "$CC" >&6; }
3697 else
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3704 if test -z "$CC"; then
3705 if test -n "$ac_tool_prefix"; then
3706 for ac_prog in cl.exe
3708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if test "${ac_cv_prog_CC+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC="$CC" # Let the user override the test.
3717 else
3718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3719 for as_dir in $PATH
3721 IFS=$as_save_IFS
3722 test -z "$as_dir" && as_dir=.
3723 for ac_exec_ext in '' $ac_executable_extensions; do
3724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3725 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3727 break 2
3729 done
3730 done
3731 IFS=$as_save_IFS
3735 CC=$ac_cv_prog_CC
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3745 test -n "$CC" && break
3746 done
3748 if test -z "$CC"; then
3749 ac_ct_CC=$CC
3750 for ac_prog in cl.exe
3752 # Extract the first word of "$ac_prog", so it can be a program name with args.
3753 set dummy $ac_prog; ac_word=$2
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3755 $as_echo_n "checking for $ac_word... " >&6; }
3756 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3757 $as_echo_n "(cached) " >&6
3758 else
3759 if test -n "$ac_ct_CC"; then
3760 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3761 else
3762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3763 for as_dir in $PATH
3765 IFS=$as_save_IFS
3766 test -z "$as_dir" && as_dir=.
3767 for ac_exec_ext in '' $ac_executable_extensions; do
3768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3769 ac_cv_prog_ac_ct_CC="$ac_prog"
3770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3771 break 2
3773 done
3774 done
3775 IFS=$as_save_IFS
3779 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3780 if test -n "$ac_ct_CC"; then
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3782 $as_echo "$ac_ct_CC" >&6; }
3783 else
3784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3785 $as_echo "no" >&6; }
3789 test -n "$ac_ct_CC" && break
3790 done
3792 if test "x$ac_ct_CC" = x; then
3793 CC=""
3794 else
3795 case $cross_compiling:$ac_tool_warned in
3796 yes:)
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3799 ac_tool_warned=yes ;;
3800 esac
3801 CC=$ac_ct_CC
3808 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3810 as_fn_error "no acceptable C compiler found in \$PATH
3811 See \`config.log' for more details." "$LINENO" 5; }
3813 # Provide some information about the compiler.
3814 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3815 set X $ac_compile
3816 ac_compiler=$2
3817 for ac_option in --version -v -V -qversion; do
3818 { { ac_try="$ac_compiler $ac_option >&5"
3819 case "(($ac_try" in
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3822 esac
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 $as_echo "$ac_try_echo"; } >&5
3825 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3826 ac_status=$?
3827 if test -s conftest.err; then
3828 sed '10a\
3829 ... rest of stderr output deleted ...
3830 10q' conftest.err >conftest.er1
3831 cat conftest.er1 >&5
3832 rm -f conftest.er1 conftest.err
3834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3835 test $ac_status = 0; }
3836 done
3838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3839 /* end confdefs.h. */
3842 main ()
3846 return 0;
3848 _ACEOF
3849 # FIXME: Cleanup?
3850 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3851 (eval $ac_link) 2>&5
3852 ac_status=$?
3853 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3854 test $ac_status = 0; }; then :
3855 gcc_no_link=no
3856 else
3857 gcc_no_link=yes
3859 if test x$gcc_no_link = xyes; then
3860 # Setting cross_compile will disable run tests; it will
3861 # also disable AC_CHECK_FILE but that's generally
3862 # correct if we can't link.
3863 cross_compiling=yes
3864 EXEEXT=
3865 else
3866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3867 /* end confdefs.h. */
3870 main ()
3874 return 0;
3876 _ACEOF
3877 ac_clean_files_save=$ac_clean_files
3878 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3879 # Try to create an executable without -o first, disregard a.out.
3880 # It will help us diagnose broken compilers, and finding out an intuition
3881 # of exeext.
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3883 $as_echo_n "checking for C compiler default output file name... " >&6; }
3884 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3886 # The possible output files:
3887 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3889 ac_rmfiles=
3890 for ac_file in $ac_files
3892 case $ac_file in
3893 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3894 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3895 esac
3896 done
3897 rm -f $ac_rmfiles
3899 if { { ac_try="$ac_link_default"
3900 case "(($ac_try" in
3901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3902 *) ac_try_echo=$ac_try;;
3903 esac
3904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3905 $as_echo "$ac_try_echo"; } >&5
3906 (eval "$ac_link_default") 2>&5
3907 ac_status=$?
3908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3909 test $ac_status = 0; }; then :
3910 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3911 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3912 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3913 # so that the user can short-circuit this test for compilers unknown to
3914 # Autoconf.
3915 for ac_file in $ac_files ''
3917 test -f "$ac_file" || continue
3918 case $ac_file in
3919 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3921 [ab].out )
3922 # We found the default executable, but exeext='' is most
3923 # certainly right.
3924 break;;
3925 *.* )
3926 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3927 then :; else
3928 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3930 # We set ac_cv_exeext here because the later test for it is not
3931 # safe: cross compilers may not add the suffix if given an `-o'
3932 # argument, so we may need to know it at that point already.
3933 # Even if this section looks crufty: it has the advantage of
3934 # actually working.
3935 break;;
3937 break;;
3938 esac
3939 done
3940 test "$ac_cv_exeext" = no && ac_cv_exeext=
3942 else
3943 ac_file=''
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3946 $as_echo "$ac_file" >&6; }
3947 if test -z "$ac_file"; then :
3948 $as_echo "$as_me: failed program was:" >&5
3949 sed 's/^/| /' conftest.$ac_ext >&5
3951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3953 { as_fn_set_status 77
3954 as_fn_error "C compiler cannot create executables
3955 See \`config.log' for more details." "$LINENO" 5; }; }
3957 ac_exeext=$ac_cv_exeext
3959 # Check that the compiler produces executables we can run. If not, either
3960 # the compiler is broken, or we cross compile.
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3962 $as_echo_n "checking whether the C compiler works... " >&6; }
3963 # If not cross compiling, check that we can run a simple program.
3964 if test "$cross_compiling" != yes; then
3965 if { ac_try='./$ac_file'
3966 { { case "(($ac_try" in
3967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3968 *) ac_try_echo=$ac_try;;
3969 esac
3970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3971 $as_echo "$ac_try_echo"; } >&5
3972 (eval "$ac_try") 2>&5
3973 ac_status=$?
3974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3975 test $ac_status = 0; }; }; then
3976 cross_compiling=no
3977 else
3978 if test "$cross_compiling" = maybe; then
3979 cross_compiling=yes
3980 else
3981 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3982 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3983 as_fn_error "cannot run C compiled programs.
3984 If you meant to cross compile, use \`--host'.
3985 See \`config.log' for more details." "$LINENO" 5; }
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3990 $as_echo "yes" >&6; }
3992 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
3993 ac_clean_files=$ac_clean_files_save
3994 # Check that the compiler produces executables we can run. If not, either
3995 # the compiler is broken, or we cross compile.
3996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3997 $as_echo_n "checking whether we are cross compiling... " >&6; }
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3999 $as_echo "$cross_compiling" >&6; }
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4002 $as_echo_n "checking for suffix of executables... " >&6; }
4003 if { { ac_try="$ac_link"
4004 case "(($ac_try" in
4005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4006 *) ac_try_echo=$ac_try;;
4007 esac
4008 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4009 $as_echo "$ac_try_echo"; } >&5
4010 (eval "$ac_link") 2>&5
4011 ac_status=$?
4012 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4013 test $ac_status = 0; }; then :
4014 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4015 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4016 # work properly (i.e., refer to `conftest.exe'), while it won't with
4017 # `rm'.
4018 for ac_file in conftest.exe conftest conftest.*; do
4019 test -f "$ac_file" || continue
4020 case $ac_file in
4021 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4022 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4023 break;;
4024 * ) break;;
4025 esac
4026 done
4027 else
4028 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4029 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4030 as_fn_error "cannot compute suffix of executables: cannot compile and link
4031 See \`config.log' for more details." "$LINENO" 5; }
4033 rm -f conftest$ac_cv_exeext
4034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4035 $as_echo "$ac_cv_exeext" >&6; }
4037 rm -f conftest.$ac_ext
4038 EXEEXT=$ac_cv_exeext
4039 ac_exeext=$EXEEXT
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4042 $as_echo_n "checking for suffix of object files... " >&6; }
4043 if test "${ac_cv_objext+set}" = set; then :
4044 $as_echo_n "(cached) " >&6
4045 else
4046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4047 /* end confdefs.h. */
4050 main ()
4054 return 0;
4056 _ACEOF
4057 rm -f conftest.o conftest.obj
4058 if { { ac_try="$ac_compile"
4059 case "(($ac_try" in
4060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4061 *) ac_try_echo=$ac_try;;
4062 esac
4063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4064 $as_echo "$ac_try_echo"; } >&5
4065 (eval "$ac_compile") 2>&5
4066 ac_status=$?
4067 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4068 test $ac_status = 0; }; then :
4069 for ac_file in conftest.o conftest.obj conftest.*; do
4070 test -f "$ac_file" || continue;
4071 case $ac_file in
4072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4073 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4074 break;;
4075 esac
4076 done
4077 else
4078 $as_echo "$as_me: failed program was:" >&5
4079 sed 's/^/| /' conftest.$ac_ext >&5
4081 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4082 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4083 as_fn_error "cannot compute suffix of object files: cannot compile
4084 See \`config.log' for more details." "$LINENO" 5; }
4086 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4089 $as_echo "$ac_cv_objext" >&6; }
4090 OBJEXT=$ac_cv_objext
4091 ac_objext=$OBJEXT
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4093 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4094 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4095 $as_echo_n "(cached) " >&6
4096 else
4097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4098 /* end confdefs.h. */
4101 main ()
4103 #ifndef __GNUC__
4104 choke me
4105 #endif
4108 return 0;
4110 _ACEOF
4111 if ac_fn_c_try_compile "$LINENO"; then :
4112 ac_compiler_gnu=yes
4113 else
4114 ac_compiler_gnu=no
4116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4117 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4121 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4122 if test $ac_compiler_gnu = yes; then
4123 GCC=yes
4124 else
4125 GCC=
4127 ac_test_CFLAGS=${CFLAGS+set}
4128 ac_save_CFLAGS=$CFLAGS
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4130 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4131 if test "${ac_cv_prog_cc_g+set}" = set; then :
4132 $as_echo_n "(cached) " >&6
4133 else
4134 ac_save_c_werror_flag=$ac_c_werror_flag
4135 ac_c_werror_flag=yes
4136 ac_cv_prog_cc_g=no
4137 CFLAGS="-g"
4138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4139 /* end confdefs.h. */
4142 main ()
4146 return 0;
4148 _ACEOF
4149 if ac_fn_c_try_compile "$LINENO"; then :
4150 ac_cv_prog_cc_g=yes
4151 else
4152 CFLAGS=""
4153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4154 /* end confdefs.h. */
4157 main ()
4161 return 0;
4163 _ACEOF
4164 if ac_fn_c_try_compile "$LINENO"; then :
4166 else
4167 ac_c_werror_flag=$ac_save_c_werror_flag
4168 CFLAGS="-g"
4169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4170 /* end confdefs.h. */
4173 main ()
4177 return 0;
4179 _ACEOF
4180 if ac_fn_c_try_compile "$LINENO"; then :
4181 ac_cv_prog_cc_g=yes
4183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4188 ac_c_werror_flag=$ac_save_c_werror_flag
4190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4191 $as_echo "$ac_cv_prog_cc_g" >&6; }
4192 if test "$ac_test_CFLAGS" = set; then
4193 CFLAGS=$ac_save_CFLAGS
4194 elif test $ac_cv_prog_cc_g = yes; then
4195 if test "$GCC" = yes; then
4196 CFLAGS="-g -O2"
4197 else
4198 CFLAGS="-g"
4200 else
4201 if test "$GCC" = yes; then
4202 CFLAGS="-O2"
4203 else
4204 CFLAGS=
4207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4208 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4209 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4210 $as_echo_n "(cached) " >&6
4211 else
4212 ac_cv_prog_cc_c89=no
4213 ac_save_CC=$CC
4214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4215 /* end confdefs.h. */
4216 #include <stdarg.h>
4217 #include <stdio.h>
4218 #include <sys/types.h>
4219 #include <sys/stat.h>
4220 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4221 struct buf { int x; };
4222 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4223 static char *e (p, i)
4224 char **p;
4225 int i;
4227 return p[i];
4229 static char *f (char * (*g) (char **, int), char **p, ...)
4231 char *s;
4232 va_list v;
4233 va_start (v,p);
4234 s = g (p, va_arg (v,int));
4235 va_end (v);
4236 return s;
4239 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4240 function prototypes and stuff, but not '\xHH' hex character constants.
4241 These don't provoke an error unfortunately, instead are silently treated
4242 as 'x'. The following induces an error, until -std is added to get
4243 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4244 array size at least. It's necessary to write '\x00'==0 to get something
4245 that's true only with -std. */
4246 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4248 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4249 inside strings and character constants. */
4250 #define FOO(x) 'x'
4251 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4253 int test (int i, double x);
4254 struct s1 {int (*f) (int a);};
4255 struct s2 {int (*f) (double a);};
4256 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4257 int argc;
4258 char **argv;
4260 main ()
4262 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4264 return 0;
4266 _ACEOF
4267 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4268 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4270 CC="$ac_save_CC $ac_arg"
4271 if ac_fn_c_try_compile "$LINENO"; then :
4272 ac_cv_prog_cc_c89=$ac_arg
4274 rm -f core conftest.err conftest.$ac_objext
4275 test "x$ac_cv_prog_cc_c89" != "xno" && break
4276 done
4277 rm -f conftest.$ac_ext
4278 CC=$ac_save_CC
4281 # AC_CACHE_VAL
4282 case "x$ac_cv_prog_cc_c89" in
4284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4285 $as_echo "none needed" >&6; } ;;
4286 xno)
4287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4288 $as_echo "unsupported" >&6; } ;;
4290 CC="$CC $ac_cv_prog_cc_c89"
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4292 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4293 esac
4294 if test "x$ac_cv_prog_cc_c89" != xno; then :
4298 ac_ext=c
4299 ac_cpp='$CPP $CPPFLAGS'
4300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4304 ac_ext=cpp
4305 ac_cpp='$CXXCPP $CPPFLAGS'
4306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4309 if test -z "$CXX"; then
4310 if test -n "$CCC"; then
4311 CXX=$CCC
4312 else
4313 if test -n "$ac_tool_prefix"; then
4314 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4316 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4317 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4319 $as_echo_n "checking for $ac_word... " >&6; }
4320 if test "${glibcxx_cv_prog_CXX+set}" = set; then :
4321 $as_echo_n "(cached) " >&6
4322 else
4323 if test -n "$CXX"; then
4324 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
4325 else
4326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4327 for as_dir in $PATH
4329 IFS=$as_save_IFS
4330 test -z "$as_dir" && as_dir=.
4331 for ac_exec_ext in '' $ac_executable_extensions; do
4332 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4333 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4335 break 2
4337 done
4338 done
4339 IFS=$as_save_IFS
4343 CXX=$glibcxx_cv_prog_CXX
4344 if test -n "$CXX"; then
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4346 $as_echo "$CXX" >&6; }
4347 else
4348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4349 $as_echo "no" >&6; }
4353 test -n "$CXX" && break
4354 done
4356 if test -z "$CXX"; then
4357 ac_ct_CXX=$CXX
4358 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4360 # Extract the first word of "$ac_prog", so it can be a program name with args.
4361 set dummy $ac_prog; ac_word=$2
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4363 $as_echo_n "checking for $ac_word... " >&6; }
4364 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4365 $as_echo_n "(cached) " >&6
4366 else
4367 if test -n "$ac_ct_CXX"; then
4368 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4369 else
4370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4371 for as_dir in $PATH
4373 IFS=$as_save_IFS
4374 test -z "$as_dir" && as_dir=.
4375 for ac_exec_ext in '' $ac_executable_extensions; do
4376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4377 ac_cv_prog_ac_ct_CXX="$ac_prog"
4378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4379 break 2
4381 done
4382 done
4383 IFS=$as_save_IFS
4387 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4388 if test -n "$ac_ct_CXX"; then
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4390 $as_echo "$ac_ct_CXX" >&6; }
4391 else
4392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4393 $as_echo "no" >&6; }
4397 test -n "$ac_ct_CXX" && break
4398 done
4400 if test "x$ac_ct_CXX" = x; then
4401 CXX="g++"
4402 else
4403 case $cross_compiling:$ac_tool_warned in
4404 yes:)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4406 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4407 ac_tool_warned=yes ;;
4408 esac
4409 CXX=$ac_ct_CXX
4415 # Provide some information about the compiler.
4416 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4417 set X $ac_compile
4418 ac_compiler=$2
4419 for ac_option in --version -v -V -qversion; do
4420 { { ac_try="$ac_compiler $ac_option >&5"
4421 case "(($ac_try" in
4422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4423 *) ac_try_echo=$ac_try;;
4424 esac
4425 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4426 $as_echo "$ac_try_echo"; } >&5
4427 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4428 ac_status=$?
4429 if test -s conftest.err; then
4430 sed '10a\
4431 ... rest of stderr output deleted ...
4432 10q' conftest.err >conftest.er1
4433 cat conftest.er1 >&5
4434 rm -f conftest.er1 conftest.err
4436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4437 test $ac_status = 0; }
4438 done
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4441 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4442 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4443 $as_echo_n "(cached) " >&6
4444 else
4445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446 /* end confdefs.h. */
4449 main ()
4451 #ifndef __GNUC__
4452 choke me
4453 #endif
4456 return 0;
4458 _ACEOF
4459 if ac_fn_cxx_try_compile "$LINENO"; then :
4460 ac_compiler_gnu=yes
4461 else
4462 ac_compiler_gnu=no
4464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4465 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4469 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4470 if test $ac_compiler_gnu = yes; then
4471 GXX=yes
4472 else
4473 GXX=
4475 ac_test_CXXFLAGS=${CXXFLAGS+set}
4476 ac_save_CXXFLAGS=$CXXFLAGS
4477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4478 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4479 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4480 $as_echo_n "(cached) " >&6
4481 else
4482 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4483 ac_cxx_werror_flag=yes
4484 ac_cv_prog_cxx_g=no
4485 CXXFLAGS="-g"
4486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4487 /* end confdefs.h. */
4490 main ()
4494 return 0;
4496 _ACEOF
4497 if ac_fn_cxx_try_compile "$LINENO"; then :
4498 ac_cv_prog_cxx_g=yes
4499 else
4500 CXXFLAGS=""
4501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4502 /* end confdefs.h. */
4505 main ()
4509 return 0;
4511 _ACEOF
4512 if ac_fn_cxx_try_compile "$LINENO"; then :
4514 else
4515 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4516 CXXFLAGS="-g"
4517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4518 /* end confdefs.h. */
4521 main ()
4525 return 0;
4527 _ACEOF
4528 if ac_fn_cxx_try_compile "$LINENO"; then :
4529 ac_cv_prog_cxx_g=yes
4531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4536 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4539 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4540 if test "$ac_test_CXXFLAGS" = set; then
4541 CXXFLAGS=$ac_save_CXXFLAGS
4542 elif test $ac_cv_prog_cxx_g = yes; then
4543 if test "$GXX" = yes; then
4544 CXXFLAGS="-g -O2"
4545 else
4546 CXXFLAGS="-g"
4548 else
4549 if test "$GXX" = yes; then
4550 CXXFLAGS="-O2"
4551 else
4552 CXXFLAGS=
4555 ac_ext=c
4556 ac_cpp='$CPP $CPPFLAGS'
4557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4561 CXXFLAGS="$save_CXXFLAGS"
4566 # Runs configure.host, and assorted other critical bits. Sets
4567 # up critical shell variables.
4569 ac_ext=c
4570 ac_cpp='$CPP $CPPFLAGS'
4571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4575 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4576 # On Suns, sometimes $CPP names a directory.
4577 if test -n "$CPP" && test -d "$CPP"; then
4578 CPP=
4580 if test -z "$CPP"; then
4581 if test "${ac_cv_prog_CPP+set}" = set; then :
4582 $as_echo_n "(cached) " >&6
4583 else
4584 # Double quotes because CPP needs to be expanded
4585 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4587 ac_preproc_ok=false
4588 for ac_c_preproc_warn_flag in '' yes
4590 # Use a header file that comes with gcc, so configuring glibc
4591 # with a fresh cross-compiler works.
4592 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4593 # <limits.h> exists even on freestanding compilers.
4594 # On the NeXT, cc -E runs the code through the compiler's parser,
4595 # not just through cpp. "Syntax error" is here to catch this case.
4596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4597 /* end confdefs.h. */
4598 #ifdef __STDC__
4599 # include <limits.h>
4600 #else
4601 # include <assert.h>
4602 #endif
4603 Syntax error
4604 _ACEOF
4605 if ac_fn_c_try_cpp "$LINENO"; then :
4607 else
4608 # Broken: fails on valid input.
4609 continue
4611 rm -f conftest.err conftest.$ac_ext
4613 # OK, works on sane cases. Now check whether nonexistent headers
4614 # can be detected and how.
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4617 #include <ac_nonexistent.h>
4618 _ACEOF
4619 if ac_fn_c_try_cpp "$LINENO"; then :
4620 # Broken: success on invalid input.
4621 continue
4622 else
4623 # Passes both tests.
4624 ac_preproc_ok=:
4625 break
4627 rm -f conftest.err conftest.$ac_ext
4629 done
4630 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4631 rm -f conftest.err conftest.$ac_ext
4632 if $ac_preproc_ok; then :
4633 break
4636 done
4637 ac_cv_prog_CPP=$CPP
4640 CPP=$ac_cv_prog_CPP
4641 else
4642 ac_cv_prog_CPP=$CPP
4644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4645 $as_echo "$CPP" >&6; }
4646 ac_preproc_ok=false
4647 for ac_c_preproc_warn_flag in '' yes
4649 # Use a header file that comes with gcc, so configuring glibc
4650 # with a fresh cross-compiler works.
4651 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4652 # <limits.h> exists even on freestanding compilers.
4653 # On the NeXT, cc -E runs the code through the compiler's parser,
4654 # not just through cpp. "Syntax error" is here to catch this case.
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4657 #ifdef __STDC__
4658 # include <limits.h>
4659 #else
4660 # include <assert.h>
4661 #endif
4662 Syntax error
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4666 else
4667 # Broken: fails on valid input.
4668 continue
4670 rm -f conftest.err conftest.$ac_ext
4672 # OK, works on sane cases. Now check whether nonexistent headers
4673 # can be detected and how.
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4675 /* end confdefs.h. */
4676 #include <ac_nonexistent.h>
4677 _ACEOF
4678 if ac_fn_c_try_cpp "$LINENO"; then :
4679 # Broken: success on invalid input.
4680 continue
4681 else
4682 # Passes both tests.
4683 ac_preproc_ok=:
4684 break
4686 rm -f conftest.err conftest.$ac_ext
4688 done
4689 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4690 rm -f conftest.err conftest.$ac_ext
4691 if $ac_preproc_ok; then :
4693 else
4694 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4695 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4696 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4697 See \`config.log' for more details." "$LINENO" 5; }
4700 ac_ext=c
4701 ac_cpp='$CPP $CPPFLAGS'
4702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4708 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4709 if test "${ac_cv_path_GREP+set}" = set; then :
4710 $as_echo_n "(cached) " >&6
4711 else
4712 if test -z "$GREP"; then
4713 ac_path_GREP_found=false
4714 # Loop through the user's path and test for each of PROGNAME-LIST
4715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4716 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4718 IFS=$as_save_IFS
4719 test -z "$as_dir" && as_dir=.
4720 for ac_prog in grep ggrep; do
4721 for ac_exec_ext in '' $ac_executable_extensions; do
4722 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4723 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4724 # Check for GNU ac_path_GREP and select it if it is found.
4725 # Check for GNU $ac_path_GREP
4726 case `"$ac_path_GREP" --version 2>&1` in
4727 *GNU*)
4728 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4730 ac_count=0
4731 $as_echo_n 0123456789 >"conftest.in"
4732 while :
4734 cat "conftest.in" "conftest.in" >"conftest.tmp"
4735 mv "conftest.tmp" "conftest.in"
4736 cp "conftest.in" "conftest.nl"
4737 $as_echo 'GREP' >> "conftest.nl"
4738 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4739 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4740 as_fn_arith $ac_count + 1 && ac_count=$as_val
4741 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4742 # Best one so far, save it but keep looking for a better one
4743 ac_cv_path_GREP="$ac_path_GREP"
4744 ac_path_GREP_max=$ac_count
4746 # 10*(2^10) chars as input seems more than enough
4747 test $ac_count -gt 10 && break
4748 done
4749 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4750 esac
4752 $ac_path_GREP_found && break 3
4753 done
4754 done
4755 done
4756 IFS=$as_save_IFS
4757 if test -z "$ac_cv_path_GREP"; then
4758 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4760 else
4761 ac_cv_path_GREP=$GREP
4765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4766 $as_echo "$ac_cv_path_GREP" >&6; }
4767 GREP="$ac_cv_path_GREP"
4770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4771 $as_echo_n "checking for egrep... " >&6; }
4772 if test "${ac_cv_path_EGREP+set}" = set; then :
4773 $as_echo_n "(cached) " >&6
4774 else
4775 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4776 then ac_cv_path_EGREP="$GREP -E"
4777 else
4778 if test -z "$EGREP"; then
4779 ac_path_EGREP_found=false
4780 # Loop through the user's path and test for each of PROGNAME-LIST
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4784 IFS=$as_save_IFS
4785 test -z "$as_dir" && as_dir=.
4786 for ac_prog in egrep; do
4787 for ac_exec_ext in '' $ac_executable_extensions; do
4788 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4789 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4790 # Check for GNU ac_path_EGREP and select it if it is found.
4791 # Check for GNU $ac_path_EGREP
4792 case `"$ac_path_EGREP" --version 2>&1` in
4793 *GNU*)
4794 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4796 ac_count=0
4797 $as_echo_n 0123456789 >"conftest.in"
4798 while :
4800 cat "conftest.in" "conftest.in" >"conftest.tmp"
4801 mv "conftest.tmp" "conftest.in"
4802 cp "conftest.in" "conftest.nl"
4803 $as_echo 'EGREP' >> "conftest.nl"
4804 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4805 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4806 as_fn_arith $ac_count + 1 && ac_count=$as_val
4807 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4808 # Best one so far, save it but keep looking for a better one
4809 ac_cv_path_EGREP="$ac_path_EGREP"
4810 ac_path_EGREP_max=$ac_count
4812 # 10*(2^10) chars as input seems more than enough
4813 test $ac_count -gt 10 && break
4814 done
4815 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4816 esac
4818 $ac_path_EGREP_found && break 3
4819 done
4820 done
4821 done
4822 IFS=$as_save_IFS
4823 if test -z "$ac_cv_path_EGREP"; then
4824 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4826 else
4827 ac_cv_path_EGREP=$EGREP
4832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4833 $as_echo "$ac_cv_path_EGREP" >&6; }
4834 EGREP="$ac_cv_path_EGREP"
4838 # Keep these sync'd with the list in Makefile.am. The first provides an
4839 # expandable list at autoconf time; the second provides an expandable list
4840 # (i.e., shell variable) at configure time.
4842 SUBDIRS='include libsupc++ python src doc po testsuite'
4844 # These need to be absolute paths, yet at the same time need to
4845 # canonicalize only relative paths, because then amd will not unmount
4846 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4847 glibcxx_builddir=`${PWDCMD-pwd}`
4848 case $srcdir in
4849 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4850 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4851 esac
4852 toplevel_srcdir=${glibcxx_srcdir}/..
4857 # We use these options to decide which functions to include. They are
4858 # set from the top level.
4860 # Check whether --with-target-subdir was given.
4861 if test "${with_target_subdir+set}" = set; then :
4862 withval=$with_target_subdir;
4867 # Check whether --with-cross-host was given.
4868 if test "${with_cross_host+set}" = set; then :
4869 withval=$with_cross_host;
4874 # Check whether --with-newlib was given.
4875 if test "${with_newlib+set}" = set; then :
4876 withval=$with_newlib;
4880 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4881 # available). Uncomment the next line to force a particular method.
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4883 $as_echo_n "checking whether ln -s works... " >&6; }
4884 LN_S=$as_ln_s
4885 if test "$LN_S" = "ln -s"; then
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4887 $as_echo "yes" >&6; }
4888 else
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4890 $as_echo "no, using $LN_S" >&6; }
4893 #LN_S='cp -p'
4895 if test -n "$ac_tool_prefix"; then
4896 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4897 set dummy ${ac_tool_prefix}as; ac_word=$2
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4899 $as_echo_n "checking for $ac_word... " >&6; }
4900 if test "${ac_cv_prog_AS+set}" = set; then :
4901 $as_echo_n "(cached) " >&6
4902 else
4903 if test -n "$AS"; then
4904 ac_cv_prog_AS="$AS" # Let the user override the test.
4905 else
4906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4907 for as_dir in $PATH
4909 IFS=$as_save_IFS
4910 test -z "$as_dir" && as_dir=.
4911 for ac_exec_ext in '' $ac_executable_extensions; do
4912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4913 ac_cv_prog_AS="${ac_tool_prefix}as"
4914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4915 break 2
4917 done
4918 done
4919 IFS=$as_save_IFS
4923 AS=$ac_cv_prog_AS
4924 if test -n "$AS"; then
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4926 $as_echo "$AS" >&6; }
4927 else
4928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4929 $as_echo "no" >&6; }
4934 if test -z "$ac_cv_prog_AS"; then
4935 ac_ct_AS=$AS
4936 # Extract the first word of "as", so it can be a program name with args.
4937 set dummy as; ac_word=$2
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4939 $as_echo_n "checking for $ac_word... " >&6; }
4940 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4941 $as_echo_n "(cached) " >&6
4942 else
4943 if test -n "$ac_ct_AS"; then
4944 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4945 else
4946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4947 for as_dir in $PATH
4949 IFS=$as_save_IFS
4950 test -z "$as_dir" && as_dir=.
4951 for ac_exec_ext in '' $ac_executable_extensions; do
4952 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4953 ac_cv_prog_ac_ct_AS="as"
4954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4955 break 2
4957 done
4958 done
4959 IFS=$as_save_IFS
4963 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4964 if test -n "$ac_ct_AS"; then
4965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4966 $as_echo "$ac_ct_AS" >&6; }
4967 else
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4969 $as_echo "no" >&6; }
4972 if test "x$ac_ct_AS" = x; then
4973 AS=""
4974 else
4975 case $cross_compiling:$ac_tool_warned in
4976 yes:)
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4979 ac_tool_warned=yes ;;
4980 esac
4981 AS=$ac_ct_AS
4983 else
4984 AS="$ac_cv_prog_AS"
4987 if test -n "$ac_tool_prefix"; then
4988 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
4989 set dummy ${ac_tool_prefix}ar; ac_word=$2
4990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4991 $as_echo_n "checking for $ac_word... " >&6; }
4992 if test "${ac_cv_prog_AR+set}" = set; then :
4993 $as_echo_n "(cached) " >&6
4994 else
4995 if test -n "$AR"; then
4996 ac_cv_prog_AR="$AR" # Let the user override the test.
4997 else
4998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4999 for as_dir in $PATH
5001 IFS=$as_save_IFS
5002 test -z "$as_dir" && as_dir=.
5003 for ac_exec_ext in '' $ac_executable_extensions; do
5004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5005 ac_cv_prog_AR="${ac_tool_prefix}ar"
5006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5007 break 2
5009 done
5010 done
5011 IFS=$as_save_IFS
5015 AR=$ac_cv_prog_AR
5016 if test -n "$AR"; then
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5018 $as_echo "$AR" >&6; }
5019 else
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5021 $as_echo "no" >&6; }
5026 if test -z "$ac_cv_prog_AR"; then
5027 ac_ct_AR=$AR
5028 # Extract the first word of "ar", so it can be a program name with args.
5029 set dummy ar; ac_word=$2
5030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5031 $as_echo_n "checking for $ac_word... " >&6; }
5032 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5033 $as_echo_n "(cached) " >&6
5034 else
5035 if test -n "$ac_ct_AR"; then
5036 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5037 else
5038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5039 for as_dir in $PATH
5041 IFS=$as_save_IFS
5042 test -z "$as_dir" && as_dir=.
5043 for ac_exec_ext in '' $ac_executable_extensions; do
5044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5045 ac_cv_prog_ac_ct_AR="ar"
5046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5047 break 2
5049 done
5050 done
5051 IFS=$as_save_IFS
5055 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5056 if test -n "$ac_ct_AR"; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5058 $as_echo "$ac_ct_AR" >&6; }
5059 else
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5061 $as_echo "no" >&6; }
5064 if test "x$ac_ct_AR" = x; then
5065 AR=""
5066 else
5067 case $cross_compiling:$ac_tool_warned in
5068 yes:)
5069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5071 ac_tool_warned=yes ;;
5072 esac
5073 AR=$ac_ct_AR
5075 else
5076 AR="$ac_cv_prog_AR"
5079 if test -n "$ac_tool_prefix"; then
5080 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5081 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5085 $as_echo_n "(cached) " >&6
5086 else
5087 if test -n "$RANLIB"; then
5088 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5089 else
5090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5091 for as_dir in $PATH
5093 IFS=$as_save_IFS
5094 test -z "$as_dir" && as_dir=.
5095 for ac_exec_ext in '' $ac_executable_extensions; do
5096 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5097 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5099 break 2
5101 done
5102 done
5103 IFS=$as_save_IFS
5107 RANLIB=$ac_cv_prog_RANLIB
5108 if test -n "$RANLIB"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5110 $as_echo "$RANLIB" >&6; }
5111 else
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5113 $as_echo "no" >&6; }
5118 if test -z "$ac_cv_prog_RANLIB"; then
5119 ac_ct_RANLIB=$RANLIB
5120 # Extract the first word of "ranlib", so it can be a program name with args.
5121 set dummy ranlib; ac_word=$2
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5123 $as_echo_n "checking for $ac_word... " >&6; }
5124 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5125 $as_echo_n "(cached) " >&6
5126 else
5127 if test -n "$ac_ct_RANLIB"; then
5128 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5129 else
5130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5131 for as_dir in $PATH
5133 IFS=$as_save_IFS
5134 test -z "$as_dir" && as_dir=.
5135 for ac_exec_ext in '' $ac_executable_extensions; do
5136 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5137 ac_cv_prog_ac_ct_RANLIB="ranlib"
5138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5139 break 2
5141 done
5142 done
5143 IFS=$as_save_IFS
5147 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5148 if test -n "$ac_ct_RANLIB"; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5150 $as_echo "$ac_ct_RANLIB" >&6; }
5151 else
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5153 $as_echo "no" >&6; }
5156 if test "x$ac_ct_RANLIB" = x; then
5157 RANLIB="ranlib-not-found-in-path-error"
5158 else
5159 case $cross_compiling:$ac_tool_warned in
5160 yes:)
5161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5163 ac_tool_warned=yes ;;
5164 esac
5165 RANLIB=$ac_ct_RANLIB
5167 else
5168 RANLIB="$ac_cv_prog_RANLIB"
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5174 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5175 # Check whether --enable-maintainer-mode was given.
5176 if test "${enable_maintainer_mode+set}" = set; then :
5177 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5178 else
5179 USE_MAINTAINER_MODE=no
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5183 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5184 if test $USE_MAINTAINER_MODE = yes; then
5185 MAINTAINER_MODE_TRUE=
5186 MAINTAINER_MODE_FALSE='#'
5187 else
5188 MAINTAINER_MODE_TRUE='#'
5189 MAINTAINER_MODE_FALSE=
5192 MAINT=$MAINTAINER_MODE_TRUE
5196 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5197 # which are themselves conditionally expanded.
5198 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5199 ## other macros from doing the same. This should be automated.) -pme
5201 # Check for uClibc since Linux platforms use different configuration
5202 # directories depending on the C library in use.
5203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5206 #include <stdio.h>
5207 #if __UCLIBC__
5208 _using_uclibc
5209 #endif
5211 _ACEOF
5212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5213 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5214 uclibc=yes
5215 else
5216 uclibc=no
5218 rm -f conftest*
5221 # Find platform-specific directories containing configuration info.
5222 # Also possibly modify flags used elsewhere, as needed by the platform.
5224 . $glibcxx_srcdir/configure.host
5225 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5226 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5228 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5232 if test "x${with_newlib}" != "xyes"; then
5233 enable_dlopen=yes
5238 case `pwd` in
5239 *\ * | *\ *)
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5241 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5242 esac
5246 macro_version='2.2.7a'
5247 macro_revision='1.3134'
5261 ltmain="$ac_aux_dir/ltmain.sh"
5263 # Backslashify metacharacters that are still active within
5264 # double-quoted strings.
5265 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5267 # Same as above, but do not quote variable references.
5268 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5270 # Sed substitution to delay expansion of an escaped shell variable in a
5271 # double_quote_subst'ed string.
5272 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5274 # Sed substitution to delay expansion of an escaped single quote.
5275 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5277 # Sed substitution to avoid accidental globbing in evaled expressions
5278 no_glob_subst='s/\*/\\\*/g'
5280 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5281 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5282 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5285 $as_echo_n "checking how to print strings... " >&6; }
5286 # Test print first, because it will be a builtin if present.
5287 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5288 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5289 ECHO='print -r --'
5290 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5291 ECHO='printf %s\n'
5292 else
5293 # Use this function as a fallback that always works.
5294 func_fallback_echo ()
5296 eval 'cat <<_LTECHO_EOF
5298 _LTECHO_EOF'
5300 ECHO='func_fallback_echo'
5303 # func_echo_all arg...
5304 # Invoke $ECHO with all args, space-separated.
5305 func_echo_all ()
5307 $ECHO ""
5310 case "$ECHO" in
5311 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5312 $as_echo "printf" >&6; } ;;
5313 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5314 $as_echo "print -r" >&6; } ;;
5315 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5316 $as_echo "cat" >&6; } ;;
5317 esac
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5333 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5334 if test "${ac_cv_path_SED+set}" = set; then :
5335 $as_echo_n "(cached) " >&6
5336 else
5337 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5338 for ac_i in 1 2 3 4 5 6 7; do
5339 ac_script="$ac_script$as_nl$ac_script"
5340 done
5341 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5342 { ac_script=; unset ac_script;}
5343 if test -z "$SED"; then
5344 ac_path_SED_found=false
5345 # Loop through the user's path and test for each of PROGNAME-LIST
5346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5347 for as_dir in $PATH
5349 IFS=$as_save_IFS
5350 test -z "$as_dir" && as_dir=.
5351 for ac_prog in sed gsed; do
5352 for ac_exec_ext in '' $ac_executable_extensions; do
5353 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5354 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5355 # Check for GNU ac_path_SED and select it if it is found.
5356 # Check for GNU $ac_path_SED
5357 case `"$ac_path_SED" --version 2>&1` in
5358 *GNU*)
5359 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5361 ac_count=0
5362 $as_echo_n 0123456789 >"conftest.in"
5363 while :
5365 cat "conftest.in" "conftest.in" >"conftest.tmp"
5366 mv "conftest.tmp" "conftest.in"
5367 cp "conftest.in" "conftest.nl"
5368 $as_echo '' >> "conftest.nl"
5369 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5370 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5371 as_fn_arith $ac_count + 1 && ac_count=$as_val
5372 if test $ac_count -gt ${ac_path_SED_max-0}; then
5373 # Best one so far, save it but keep looking for a better one
5374 ac_cv_path_SED="$ac_path_SED"
5375 ac_path_SED_max=$ac_count
5377 # 10*(2^10) chars as input seems more than enough
5378 test $ac_count -gt 10 && break
5379 done
5380 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5381 esac
5383 $ac_path_SED_found && break 3
5384 done
5385 done
5386 done
5387 IFS=$as_save_IFS
5388 if test -z "$ac_cv_path_SED"; then
5389 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5391 else
5392 ac_cv_path_SED=$SED
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5397 $as_echo "$ac_cv_path_SED" >&6; }
5398 SED="$ac_cv_path_SED"
5399 rm -f conftest.sed
5401 test -z "$SED" && SED=sed
5402 Xsed="$SED -e 1s/^X//"
5414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5415 $as_echo_n "checking for fgrep... " >&6; }
5416 if test "${ac_cv_path_FGREP+set}" = set; then :
5417 $as_echo_n "(cached) " >&6
5418 else
5419 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5420 then ac_cv_path_FGREP="$GREP -F"
5421 else
5422 if test -z "$FGREP"; then
5423 ac_path_FGREP_found=false
5424 # Loop through the user's path and test for each of PROGNAME-LIST
5425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5426 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5428 IFS=$as_save_IFS
5429 test -z "$as_dir" && as_dir=.
5430 for ac_prog in fgrep; do
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5433 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5434 # Check for GNU ac_path_FGREP and select it if it is found.
5435 # Check for GNU $ac_path_FGREP
5436 case `"$ac_path_FGREP" --version 2>&1` in
5437 *GNU*)
5438 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5440 ac_count=0
5441 $as_echo_n 0123456789 >"conftest.in"
5442 while :
5444 cat "conftest.in" "conftest.in" >"conftest.tmp"
5445 mv "conftest.tmp" "conftest.in"
5446 cp "conftest.in" "conftest.nl"
5447 $as_echo 'FGREP' >> "conftest.nl"
5448 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5449 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5450 as_fn_arith $ac_count + 1 && ac_count=$as_val
5451 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5452 # Best one so far, save it but keep looking for a better one
5453 ac_cv_path_FGREP="$ac_path_FGREP"
5454 ac_path_FGREP_max=$ac_count
5456 # 10*(2^10) chars as input seems more than enough
5457 test $ac_count -gt 10 && break
5458 done
5459 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5460 esac
5462 $ac_path_FGREP_found && break 3
5463 done
5464 done
5465 done
5466 IFS=$as_save_IFS
5467 if test -z "$ac_cv_path_FGREP"; then
5468 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5470 else
5471 ac_cv_path_FGREP=$FGREP
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5477 $as_echo "$ac_cv_path_FGREP" >&6; }
5478 FGREP="$ac_cv_path_FGREP"
5481 test -z "$GREP" && GREP=grep
5501 # Check whether --with-gnu-ld was given.
5502 if test "${with_gnu_ld+set}" = set; then :
5503 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5504 else
5505 with_gnu_ld=no
5508 ac_prog=ld
5509 if test "$GCC" = yes; then
5510 # Check if gcc -print-prog-name=ld gives a path.
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5512 $as_echo_n "checking for ld used by $CC... " >&6; }
5513 case $host in
5514 *-*-mingw*)
5515 # gcc leaves a trailing carriage return which upsets mingw
5516 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5518 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5519 esac
5520 case $ac_prog in
5521 # Accept absolute paths.
5522 [\\/]* | ?:[\\/]*)
5523 re_direlt='/[^/][^/]*/\.\./'
5524 # Canonicalize the pathname of ld
5525 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5526 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5527 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5528 done
5529 test -z "$LD" && LD="$ac_prog"
5532 # If it fails, then pretend we aren't using GCC.
5533 ac_prog=ld
5536 # If it is relative, then search for the first ld in PATH.
5537 with_gnu_ld=unknown
5539 esac
5540 elif test "$with_gnu_ld" = yes; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5542 $as_echo_n "checking for GNU ld... " >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5545 $as_echo_n "checking for non-GNU ld... " >&6; }
5547 if test "${lt_cv_path_LD+set}" = set; then :
5548 $as_echo_n "(cached) " >&6
5549 else
5550 if test -z "$LD"; then
5551 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5552 for ac_dir in $PATH; do
5553 IFS="$lt_save_ifs"
5554 test -z "$ac_dir" && ac_dir=.
5555 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5556 lt_cv_path_LD="$ac_dir/$ac_prog"
5557 # Check to see if the program is GNU ld. I'd rather use --version,
5558 # but apparently some variants of GNU ld only accept -v.
5559 # Break only if it was the GNU/non-GNU ld that we prefer.
5560 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5561 *GNU* | *'with BFD'*)
5562 test "$with_gnu_ld" != no && break
5565 test "$with_gnu_ld" != yes && break
5567 esac
5569 done
5570 IFS="$lt_save_ifs"
5571 else
5572 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5576 LD="$lt_cv_path_LD"
5577 if test -n "$LD"; then
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5579 $as_echo "$LD" >&6; }
5580 else
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5582 $as_echo "no" >&6; }
5584 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5586 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5587 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5591 case `$LD -v 2>&1 </dev/null` in
5592 *GNU* | *'with BFD'*)
5593 lt_cv_prog_gnu_ld=yes
5596 lt_cv_prog_gnu_ld=no
5598 esac
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5601 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5602 with_gnu_ld=$lt_cv_prog_gnu_ld
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5613 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5614 if test "${lt_cv_path_NM+set}" = set; then :
5615 $as_echo_n "(cached) " >&6
5616 else
5617 if test -n "$NM"; then
5618 # Let the user override the test.
5619 lt_cv_path_NM="$NM"
5620 else
5621 lt_nm_to_check="${ac_tool_prefix}nm"
5622 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5623 lt_nm_to_check="$lt_nm_to_check nm"
5625 for lt_tmp_nm in $lt_nm_to_check; do
5626 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5627 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5628 IFS="$lt_save_ifs"
5629 test -z "$ac_dir" && ac_dir=.
5630 tmp_nm="$ac_dir/$lt_tmp_nm"
5631 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5632 # Check to see if the nm accepts a BSD-compat flag.
5633 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5634 # nm: unknown option "B" ignored
5635 # Tru64's nm complains that /dev/null is an invalid object file
5636 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5637 */dev/null* | *'Invalid file or object type'*)
5638 lt_cv_path_NM="$tmp_nm -B"
5639 break
5642 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5643 */dev/null*)
5644 lt_cv_path_NM="$tmp_nm -p"
5645 break
5648 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5649 continue # so that we can try to find one that supports BSD flags
5651 esac
5653 esac
5655 done
5656 IFS="$lt_save_ifs"
5657 done
5658 : ${lt_cv_path_NM=no}
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5662 $as_echo "$lt_cv_path_NM" >&6; }
5663 if test "$lt_cv_path_NM" != "no"; then
5664 NM="$lt_cv_path_NM"
5665 else
5666 # Didn't find any BSD compatible name lister, look for dumpbin.
5667 if test -n "$DUMPBIN"; then :
5668 # Let the user override the test.
5669 else
5670 if test -n "$ac_tool_prefix"; then
5671 for ac_prog in dumpbin "link -dump"
5673 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5674 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5676 $as_echo_n "checking for $ac_word... " >&6; }
5677 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5678 $as_echo_n "(cached) " >&6
5679 else
5680 if test -n "$DUMPBIN"; then
5681 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5682 else
5683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5684 for as_dir in $PATH
5686 IFS=$as_save_IFS
5687 test -z "$as_dir" && as_dir=.
5688 for ac_exec_ext in '' $ac_executable_extensions; do
5689 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5690 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5691 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5692 break 2
5694 done
5695 done
5696 IFS=$as_save_IFS
5700 DUMPBIN=$ac_cv_prog_DUMPBIN
5701 if test -n "$DUMPBIN"; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5703 $as_echo "$DUMPBIN" >&6; }
5704 else
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5706 $as_echo "no" >&6; }
5710 test -n "$DUMPBIN" && break
5711 done
5713 if test -z "$DUMPBIN"; then
5714 ac_ct_DUMPBIN=$DUMPBIN
5715 for ac_prog in dumpbin "link -dump"
5717 # Extract the first word of "$ac_prog", so it can be a program name with args.
5718 set dummy $ac_prog; ac_word=$2
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5720 $as_echo_n "checking for $ac_word... " >&6; }
5721 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 if test -n "$ac_ct_DUMPBIN"; then
5725 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5726 else
5727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5728 for as_dir in $PATH
5730 IFS=$as_save_IFS
5731 test -z "$as_dir" && as_dir=.
5732 for ac_exec_ext in '' $ac_executable_extensions; do
5733 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5734 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5736 break 2
5738 done
5739 done
5740 IFS=$as_save_IFS
5744 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5745 if test -n "$ac_ct_DUMPBIN"; then
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5747 $as_echo "$ac_ct_DUMPBIN" >&6; }
5748 else
5749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5750 $as_echo "no" >&6; }
5754 test -n "$ac_ct_DUMPBIN" && break
5755 done
5757 if test "x$ac_ct_DUMPBIN" = x; then
5758 DUMPBIN=":"
5759 else
5760 case $cross_compiling:$ac_tool_warned in
5761 yes:)
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5764 ac_tool_warned=yes ;;
5765 esac
5766 DUMPBIN=$ac_ct_DUMPBIN
5770 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5771 *COFF*)
5772 DUMPBIN="$DUMPBIN -symbols"
5775 DUMPBIN=:
5777 esac
5780 if test "$DUMPBIN" != ":"; then
5781 NM="$DUMPBIN"
5784 test -z "$NM" && NM=nm
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5792 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5793 if test "${lt_cv_nm_interface+set}" = set; then :
5794 $as_echo_n "(cached) " >&6
5795 else
5796 lt_cv_nm_interface="BSD nm"
5797 echo "int some_variable = 0;" > conftest.$ac_ext
5798 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5799 (eval "$ac_compile" 2>conftest.err)
5800 cat conftest.err >&5
5801 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5802 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5803 cat conftest.err >&5
5804 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5805 cat conftest.out >&5
5806 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5807 lt_cv_nm_interface="MS dumpbin"
5809 rm -f conftest*
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5812 $as_echo "$lt_cv_nm_interface" >&6; }
5814 # find the maximum length of command line arguments
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5816 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5817 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5818 $as_echo_n "(cached) " >&6
5819 else
5821 teststring="ABCD"
5823 case $build_os in
5824 msdosdjgpp*)
5825 # On DJGPP, this test can blow up pretty badly due to problems in libc
5826 # (any single argument exceeding 2000 bytes causes a buffer overrun
5827 # during glob expansion). Even if it were fixed, the result of this
5828 # check would be larger than it should be.
5829 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5832 gnu*)
5833 # Under GNU Hurd, this test is not required because there is
5834 # no limit to the length of command line arguments.
5835 # Libtool will interpret -1 as no limit whatsoever
5836 lt_cv_sys_max_cmd_len=-1;
5839 cygwin* | mingw* | cegcc*)
5840 # On Win9x/ME, this test blows up -- it succeeds, but takes
5841 # about 5 minutes as the teststring grows exponentially.
5842 # Worse, since 9x/ME are not pre-emptively multitasking,
5843 # you end up with a "frozen" computer, even though with patience
5844 # the test eventually succeeds (with a max line length of 256k).
5845 # Instead, let's just punt: use the minimum linelength reported by
5846 # all of the supported platforms: 8192 (on NT/2K/XP).
5847 lt_cv_sys_max_cmd_len=8192;
5850 mint*)
5851 # On MiNT this can take a long time and run out of memory.
5852 lt_cv_sys_max_cmd_len=8192;
5855 amigaos*)
5856 # On AmigaOS with pdksh, this test takes hours, literally.
5857 # So we just punt and use a minimum line length of 8192.
5858 lt_cv_sys_max_cmd_len=8192;
5861 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5862 # This has been around since 386BSD, at least. Likely further.
5863 if test -x /sbin/sysctl; then
5864 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5865 elif test -x /usr/sbin/sysctl; then
5866 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5867 else
5868 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5870 # And add a safety zone
5871 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5872 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5875 interix*)
5876 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5877 lt_cv_sys_max_cmd_len=196608
5880 osf*)
5881 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5882 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5883 # nice to cause kernel panics so lets avoid the loop below.
5884 # First set a reasonable default.
5885 lt_cv_sys_max_cmd_len=16384
5887 if test -x /sbin/sysconfig; then
5888 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5889 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5890 esac
5893 sco3.2v5*)
5894 lt_cv_sys_max_cmd_len=102400
5896 sysv5* | sco5v6* | sysv4.2uw2*)
5897 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5898 if test -n "$kargmax"; then
5899 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5900 else
5901 lt_cv_sys_max_cmd_len=32768
5905 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5906 if test -n "$lt_cv_sys_max_cmd_len"; then
5907 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5908 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5909 else
5910 # Make teststring a little bigger before we do anything with it.
5911 # a 1K string should be a reasonable start.
5912 for i in 1 2 3 4 5 6 7 8 ; do
5913 teststring=$teststring$teststring
5914 done
5915 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5916 # If test is not a shell built-in, we'll probably end up computing a
5917 # maximum length that is only half of the actual maximum length, but
5918 # we can't tell.
5919 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5920 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5921 test $i != 17 # 1/2 MB should be enough
5923 i=`expr $i + 1`
5924 teststring=$teststring$teststring
5925 done
5926 # Only check the string length outside the loop.
5927 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5928 teststring=
5929 # Add a significant safety factor because C++ compilers can tack on
5930 # massive amounts of additional arguments before passing them to the
5931 # linker. It appears as though 1/2 is a usable value.
5932 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5935 esac
5939 if test -n $lt_cv_sys_max_cmd_len ; then
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5941 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5942 else
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5944 $as_echo "none" >&6; }
5946 max_cmd_len=$lt_cv_sys_max_cmd_len
5953 : ${CP="cp -f"}
5954 : ${MV="mv -f"}
5955 : ${RM="rm -f"}
5957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5958 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5959 # Try some XSI features
5960 xsi_shell=no
5961 ( _lt_dummy="a/b/c"
5962 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5963 = c,a/b,, \
5964 && eval 'test $(( 1 + 1 )) -eq 2 \
5965 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5966 && xsi_shell=yes
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5968 $as_echo "$xsi_shell" >&6; }
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5972 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5973 lt_shell_append=no
5974 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5975 >/dev/null 2>&1 \
5976 && lt_shell_append=yes
5977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5978 $as_echo "$lt_shell_append" >&6; }
5981 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5982 lt_unset=unset
5983 else
5984 lt_unset=false
5991 # test EBCDIC or ASCII
5992 case `echo X|tr X '\101'` in
5993 A) # ASCII based system
5994 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5995 lt_SP2NL='tr \040 \012'
5996 lt_NL2SP='tr \015\012 \040\040'
5998 *) # EBCDIC based system
5999 lt_SP2NL='tr \100 \n'
6000 lt_NL2SP='tr \r\n \100\100'
6002 esac
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6013 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6014 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6015 $as_echo_n "(cached) " >&6
6016 else
6017 lt_cv_ld_reload_flag='-r'
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6020 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6021 reload_flag=$lt_cv_ld_reload_flag
6022 case $reload_flag in
6023 "" | " "*) ;;
6024 *) reload_flag=" $reload_flag" ;;
6025 esac
6026 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6027 case $host_os in
6028 darwin*)
6029 if test "$GCC" = yes; then
6030 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6031 else
6032 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6035 esac
6045 if test -n "$ac_tool_prefix"; then
6046 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6047 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6049 $as_echo_n "checking for $ac_word... " >&6; }
6050 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6051 $as_echo_n "(cached) " >&6
6052 else
6053 if test -n "$OBJDUMP"; then
6054 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6055 else
6056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6057 for as_dir in $PATH
6059 IFS=$as_save_IFS
6060 test -z "$as_dir" && as_dir=.
6061 for ac_exec_ext in '' $ac_executable_extensions; do
6062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6063 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6065 break 2
6067 done
6068 done
6069 IFS=$as_save_IFS
6073 OBJDUMP=$ac_cv_prog_OBJDUMP
6074 if test -n "$OBJDUMP"; then
6075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6076 $as_echo "$OBJDUMP" >&6; }
6077 else
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6079 $as_echo "no" >&6; }
6084 if test -z "$ac_cv_prog_OBJDUMP"; then
6085 ac_ct_OBJDUMP=$OBJDUMP
6086 # Extract the first word of "objdump", so it can be a program name with args.
6087 set dummy objdump; ac_word=$2
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6089 $as_echo_n "checking for $ac_word... " >&6; }
6090 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6091 $as_echo_n "(cached) " >&6
6092 else
6093 if test -n "$ac_ct_OBJDUMP"; then
6094 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6095 else
6096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6097 for as_dir in $PATH
6099 IFS=$as_save_IFS
6100 test -z "$as_dir" && as_dir=.
6101 for ac_exec_ext in '' $ac_executable_extensions; do
6102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6103 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6105 break 2
6107 done
6108 done
6109 IFS=$as_save_IFS
6113 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6114 if test -n "$ac_ct_OBJDUMP"; then
6115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6116 $as_echo "$ac_ct_OBJDUMP" >&6; }
6117 else
6118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6119 $as_echo "no" >&6; }
6122 if test "x$ac_ct_OBJDUMP" = x; then
6123 OBJDUMP="false"
6124 else
6125 case $cross_compiling:$ac_tool_warned in
6126 yes:)
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6129 ac_tool_warned=yes ;;
6130 esac
6131 OBJDUMP=$ac_ct_OBJDUMP
6133 else
6134 OBJDUMP="$ac_cv_prog_OBJDUMP"
6137 test -z "$OBJDUMP" && OBJDUMP=objdump
6147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6148 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6149 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6150 $as_echo_n "(cached) " >&6
6151 else
6152 lt_cv_file_magic_cmd='$MAGIC_CMD'
6153 lt_cv_file_magic_test_file=
6154 lt_cv_deplibs_check_method='unknown'
6155 # Need to set the preceding variable on all platforms that support
6156 # interlibrary dependencies.
6157 # 'none' -- dependencies not supported.
6158 # `unknown' -- same as none, but documents that we really don't know.
6159 # 'pass_all' -- all dependencies passed with no checks.
6160 # 'test_compile' -- check by making test program.
6161 # 'file_magic [[regex]]' -- check by looking for files in library path
6162 # which responds to the $file_magic_cmd with a given extended regex.
6163 # If you have `file' or equivalent on your system and you're not sure
6164 # whether `pass_all' will *always* work, you probably want this one.
6166 case $host_os in
6167 aix[4-9]*)
6168 lt_cv_deplibs_check_method=pass_all
6171 beos*)
6172 lt_cv_deplibs_check_method=pass_all
6175 bsdi[45]*)
6176 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6177 lt_cv_file_magic_cmd='/usr/bin/file -L'
6178 lt_cv_file_magic_test_file=/shlib/libc.so
6181 cygwin*)
6182 # func_win32_libid is a shell function defined in ltmain.sh
6183 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6184 lt_cv_file_magic_cmd='func_win32_libid'
6187 mingw* | pw32*)
6188 # Base MSYS/MinGW do not provide the 'file' command needed by
6189 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6190 # unless we find 'file', for example because we are cross-compiling.
6191 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6192 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6193 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6194 lt_cv_file_magic_cmd='func_win32_libid'
6195 else
6196 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6197 lt_cv_file_magic_cmd='$OBJDUMP -f'
6201 cegcc*)
6202 # use the weaker test based on 'objdump'. See mingw*.
6203 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6204 lt_cv_file_magic_cmd='$OBJDUMP -f'
6207 darwin* | rhapsody*)
6208 lt_cv_deplibs_check_method=pass_all
6211 freebsd* | dragonfly*)
6212 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6213 case $host_cpu in
6214 i*86 )
6215 # Not sure whether the presence of OpenBSD here was a mistake.
6216 # Let's accept both of them until this is cleared up.
6217 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6218 lt_cv_file_magic_cmd=/usr/bin/file
6219 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6221 esac
6222 else
6223 lt_cv_deplibs_check_method=pass_all
6227 gnu*)
6228 lt_cv_deplibs_check_method=pass_all
6231 haiku*)
6232 lt_cv_deplibs_check_method=pass_all
6235 hpux10.20* | hpux11*)
6236 lt_cv_file_magic_cmd=/usr/bin/file
6237 case $host_cpu in
6238 ia64*)
6239 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6240 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6242 hppa*64*)
6243 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]'
6244 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6247 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6248 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6250 esac
6253 interix[3-9]*)
6254 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6255 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6258 irix5* | irix6* | nonstopux*)
6259 case $LD in
6260 *-32|*"-32 ") libmagic=32-bit;;
6261 *-n32|*"-n32 ") libmagic=N32;;
6262 *-64|*"-64 ") libmagic=64-bit;;
6263 *) libmagic=never-match;;
6264 esac
6265 lt_cv_deplibs_check_method=pass_all
6268 # This must be Linux ELF.
6269 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6270 lt_cv_deplibs_check_method=pass_all
6273 netbsd*)
6274 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6275 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6276 else
6277 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6281 newos6*)
6282 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6283 lt_cv_file_magic_cmd=/usr/bin/file
6284 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6287 *nto* | *qnx*)
6288 lt_cv_deplibs_check_method=pass_all
6291 openbsd*)
6292 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6293 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6294 else
6295 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6299 osf3* | osf4* | osf5*)
6300 lt_cv_deplibs_check_method=pass_all
6303 rdos*)
6304 lt_cv_deplibs_check_method=pass_all
6307 solaris*)
6308 lt_cv_deplibs_check_method=pass_all
6311 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6312 lt_cv_deplibs_check_method=pass_all
6315 sysv4 | sysv4.3*)
6316 case $host_vendor in
6317 motorola)
6318 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]'
6319 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6321 ncr)
6322 lt_cv_deplibs_check_method=pass_all
6324 sequent)
6325 lt_cv_file_magic_cmd='/bin/file'
6326 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6328 sni)
6329 lt_cv_file_magic_cmd='/bin/file'
6330 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6331 lt_cv_file_magic_test_file=/lib/libc.so
6333 siemens)
6334 lt_cv_deplibs_check_method=pass_all
6337 lt_cv_deplibs_check_method=pass_all
6339 esac
6342 tpf*)
6343 lt_cv_deplibs_check_method=pass_all
6345 esac
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6349 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6350 file_magic_cmd=$lt_cv_file_magic_cmd
6351 deplibs_check_method=$lt_cv_deplibs_check_method
6352 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6365 if test -n "$ac_tool_prefix"; then
6366 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6367 set dummy ${ac_tool_prefix}ar; ac_word=$2
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369 $as_echo_n "checking for $ac_word... " >&6; }
6370 if test "${ac_cv_prog_AR+set}" = set; then :
6371 $as_echo_n "(cached) " >&6
6372 else
6373 if test -n "$AR"; then
6374 ac_cv_prog_AR="$AR" # Let the user override the test.
6375 else
6376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6377 for as_dir in $PATH
6379 IFS=$as_save_IFS
6380 test -z "$as_dir" && as_dir=.
6381 for ac_exec_ext in '' $ac_executable_extensions; do
6382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6383 ac_cv_prog_AR="${ac_tool_prefix}ar"
6384 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6385 break 2
6387 done
6388 done
6389 IFS=$as_save_IFS
6393 AR=$ac_cv_prog_AR
6394 if test -n "$AR"; then
6395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6396 $as_echo "$AR" >&6; }
6397 else
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6399 $as_echo "no" >&6; }
6404 if test -z "$ac_cv_prog_AR"; then
6405 ac_ct_AR=$AR
6406 # Extract the first word of "ar", so it can be a program name with args.
6407 set dummy ar; ac_word=$2
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6409 $as_echo_n "checking for $ac_word... " >&6; }
6410 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6411 $as_echo_n "(cached) " >&6
6412 else
6413 if test -n "$ac_ct_AR"; then
6414 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6415 else
6416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6417 for as_dir in $PATH
6419 IFS=$as_save_IFS
6420 test -z "$as_dir" && as_dir=.
6421 for ac_exec_ext in '' $ac_executable_extensions; do
6422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6423 ac_cv_prog_ac_ct_AR="ar"
6424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6425 break 2
6427 done
6428 done
6429 IFS=$as_save_IFS
6433 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6434 if test -n "$ac_ct_AR"; then
6435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6436 $as_echo "$ac_ct_AR" >&6; }
6437 else
6438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6439 $as_echo "no" >&6; }
6442 if test "x$ac_ct_AR" = x; then
6443 AR="false"
6444 else
6445 case $cross_compiling:$ac_tool_warned in
6446 yes:)
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6449 ac_tool_warned=yes ;;
6450 esac
6451 AR=$ac_ct_AR
6453 else
6454 AR="$ac_cv_prog_AR"
6457 test -z "$AR" && AR=ar
6458 test -z "$AR_FLAGS" && AR_FLAGS=cru
6470 if test -n "$ac_tool_prefix"; then
6471 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6472 set dummy ${ac_tool_prefix}strip; ac_word=$2
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6474 $as_echo_n "checking for $ac_word... " >&6; }
6475 if test "${ac_cv_prog_STRIP+set}" = set; then :
6476 $as_echo_n "(cached) " >&6
6477 else
6478 if test -n "$STRIP"; then
6479 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6480 else
6481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6482 for as_dir in $PATH
6484 IFS=$as_save_IFS
6485 test -z "$as_dir" && as_dir=.
6486 for ac_exec_ext in '' $ac_executable_extensions; do
6487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6488 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6490 break 2
6492 done
6493 done
6494 IFS=$as_save_IFS
6498 STRIP=$ac_cv_prog_STRIP
6499 if test -n "$STRIP"; then
6500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6501 $as_echo "$STRIP" >&6; }
6502 else
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6504 $as_echo "no" >&6; }
6509 if test -z "$ac_cv_prog_STRIP"; then
6510 ac_ct_STRIP=$STRIP
6511 # Extract the first word of "strip", so it can be a program name with args.
6512 set dummy strip; ac_word=$2
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6514 $as_echo_n "checking for $ac_word... " >&6; }
6515 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6516 $as_echo_n "(cached) " >&6
6517 else
6518 if test -n "$ac_ct_STRIP"; then
6519 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6520 else
6521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6522 for as_dir in $PATH
6524 IFS=$as_save_IFS
6525 test -z "$as_dir" && as_dir=.
6526 for ac_exec_ext in '' $ac_executable_extensions; do
6527 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6528 ac_cv_prog_ac_ct_STRIP="strip"
6529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6530 break 2
6532 done
6533 done
6534 IFS=$as_save_IFS
6538 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6539 if test -n "$ac_ct_STRIP"; then
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6541 $as_echo "$ac_ct_STRIP" >&6; }
6542 else
6543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6544 $as_echo "no" >&6; }
6547 if test "x$ac_ct_STRIP" = x; then
6548 STRIP=":"
6549 else
6550 case $cross_compiling:$ac_tool_warned in
6551 yes:)
6552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6554 ac_tool_warned=yes ;;
6555 esac
6556 STRIP=$ac_ct_STRIP
6558 else
6559 STRIP="$ac_cv_prog_STRIP"
6562 test -z "$STRIP" && STRIP=:
6569 if test -n "$ac_tool_prefix"; then
6570 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6571 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 $as_echo_n "checking for $ac_word... " >&6; }
6574 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6575 $as_echo_n "(cached) " >&6
6576 else
6577 if test -n "$RANLIB"; then
6578 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6583 IFS=$as_save_IFS
6584 test -z "$as_dir" && as_dir=.
6585 for ac_exec_ext in '' $ac_executable_extensions; do
6586 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6587 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6588 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6589 break 2
6591 done
6592 done
6593 IFS=$as_save_IFS
6597 RANLIB=$ac_cv_prog_RANLIB
6598 if test -n "$RANLIB"; then
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6600 $as_echo "$RANLIB" >&6; }
6601 else
6602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6603 $as_echo "no" >&6; }
6608 if test -z "$ac_cv_prog_RANLIB"; then
6609 ac_ct_RANLIB=$RANLIB
6610 # Extract the first word of "ranlib", so it can be a program name with args.
6611 set dummy ranlib; ac_word=$2
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6613 $as_echo_n "checking for $ac_word... " >&6; }
6614 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 if test -n "$ac_ct_RANLIB"; then
6618 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6619 else
6620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6621 for as_dir in $PATH
6623 IFS=$as_save_IFS
6624 test -z "$as_dir" && as_dir=.
6625 for ac_exec_ext in '' $ac_executable_extensions; do
6626 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6627 ac_cv_prog_ac_ct_RANLIB="ranlib"
6628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6629 break 2
6631 done
6632 done
6633 IFS=$as_save_IFS
6637 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6638 if test -n "$ac_ct_RANLIB"; then
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6640 $as_echo "$ac_ct_RANLIB" >&6; }
6641 else
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6643 $as_echo "no" >&6; }
6646 if test "x$ac_ct_RANLIB" = x; then
6647 RANLIB=":"
6648 else
6649 case $cross_compiling:$ac_tool_warned in
6650 yes:)
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6652 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6653 ac_tool_warned=yes ;;
6654 esac
6655 RANLIB=$ac_ct_RANLIB
6657 else
6658 RANLIB="$ac_cv_prog_RANLIB"
6661 test -z "$RANLIB" && RANLIB=:
6668 # Determine commands to create old-style static archives.
6669 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6670 old_postinstall_cmds='chmod 644 $oldlib'
6671 old_postuninstall_cmds=
6673 if test -n "$RANLIB"; then
6674 case $host_os in
6675 openbsd*)
6676 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6679 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6681 esac
6682 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6685 case $host_os in
6686 darwin*)
6687 lock_old_archive_extraction=yes ;;
6689 lock_old_archive_extraction=no ;;
6690 esac
6730 # If no C compiler was specified, use CC.
6731 LTCC=${LTCC-"$CC"}
6733 # If no C compiler flags were specified, use CFLAGS.
6734 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6736 # Allow CC to be a program name with arguments.
6737 compiler=$CC
6740 # Check for command to grab the raw symbol name followed by C symbol from nm.
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6742 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6743 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6744 $as_echo_n "(cached) " >&6
6745 else
6747 # These are sane defaults that work on at least a few old systems.
6748 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6750 # Character class describing NM global symbol codes.
6751 symcode='[BCDEGRST]'
6753 # Regexp to match symbols that can be accessed directly from C.
6754 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6756 # Define system-specific variables.
6757 case $host_os in
6758 aix*)
6759 symcode='[BCDT]'
6761 cygwin* | mingw* | pw32* | cegcc*)
6762 symcode='[ABCDGISTW]'
6764 hpux*)
6765 if test "$host_cpu" = ia64; then
6766 symcode='[ABCDEGRST]'
6769 irix* | nonstopux*)
6770 symcode='[BCDEGRST]'
6772 osf*)
6773 symcode='[BCDEGQRST]'
6775 solaris*)
6776 symcode='[BDRT]'
6778 sco3.2v5*)
6779 symcode='[DT]'
6781 sysv4.2uw2*)
6782 symcode='[DT]'
6784 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6785 symcode='[ABDT]'
6787 sysv4)
6788 symcode='[DFNSTU]'
6790 esac
6792 # If we're using GNU nm, then use its standard symbol codes.
6793 case `$NM -V 2>&1` in
6794 *GNU* | *'with BFD'*)
6795 symcode='[ABCDGIRSTW]' ;;
6796 esac
6798 # Transform an extracted symbol line into a proper C declaration.
6799 # Some systems (esp. on ia64) link data and code symbols differently,
6800 # so use this general approach.
6801 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6803 # Transform an extracted symbol line into symbol name and symbol address
6804 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6805 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'"
6807 # Handle CRLF in mingw tool chain
6808 opt_cr=
6809 case $build_os in
6810 mingw*)
6811 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6813 esac
6815 # Try without a prefix underscore, then with it.
6816 for ac_symprfx in "" "_"; do
6818 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6819 symxfrm="\\1 $ac_symprfx\\2 \\2"
6821 # Write the raw and C identifiers.
6822 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6823 # Fake it for dumpbin and say T for any non-static function
6824 # and D for any global variable.
6825 # Also find C++ and __fastcall symbols from MSVC++,
6826 # which start with @ or ?.
6827 lt_cv_sys_global_symbol_pipe="$AWK '"\
6828 " {last_section=section; section=\$ 3};"\
6829 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6830 " \$ 0!~/External *\|/{next};"\
6831 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6832 " {if(hide[section]) next};"\
6833 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6834 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6835 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6836 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6837 " ' prfx=^$ac_symprfx"
6838 else
6839 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6842 # Check to see that the pipe works correctly.
6843 pipe_works=no
6845 rm -f conftest*
6846 cat > conftest.$ac_ext <<_LT_EOF
6847 #ifdef __cplusplus
6848 extern "C" {
6849 #endif
6850 char nm_test_var;
6851 void nm_test_func(void);
6852 void nm_test_func(void){}
6853 #ifdef __cplusplus
6855 #endif
6856 int main(){nm_test_var='a';nm_test_func();return(0);}
6857 _LT_EOF
6859 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6860 (eval $ac_compile) 2>&5
6861 ac_status=$?
6862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6863 test $ac_status = 0; }; then
6864 # Now try to grab the symbols.
6865 nlist=conftest.nm
6866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6867 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6868 ac_status=$?
6869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6870 test $ac_status = 0; } && test -s "$nlist"; then
6871 # Try sorting and uniquifying the output.
6872 if sort "$nlist" | uniq > "$nlist"T; then
6873 mv -f "$nlist"T "$nlist"
6874 else
6875 rm -f "$nlist"T
6878 # Make sure that we snagged all the symbols we need.
6879 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6880 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6881 cat <<_LT_EOF > conftest.$ac_ext
6882 #ifdef __cplusplus
6883 extern "C" {
6884 #endif
6886 _LT_EOF
6887 # Now generate the symbol file.
6888 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6890 cat <<_LT_EOF >> conftest.$ac_ext
6892 /* The mapping between symbol names and symbols. */
6893 const struct {
6894 const char *name;
6895 void *address;
6897 lt__PROGRAM__LTX_preloaded_symbols[] =
6899 { "@PROGRAM@", (void *) 0 },
6900 _LT_EOF
6901 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6902 cat <<\_LT_EOF >> conftest.$ac_ext
6903 {0, (void *) 0}
6906 /* This works around a problem in FreeBSD linker */
6907 #ifdef FREEBSD_WORKAROUND
6908 static const void *lt_preloaded_setup() {
6909 return lt__PROGRAM__LTX_preloaded_symbols;
6911 #endif
6913 #ifdef __cplusplus
6915 #endif
6916 _LT_EOF
6917 # Now try linking the two files.
6918 mv conftest.$ac_objext conftstm.$ac_objext
6919 lt_save_LIBS="$LIBS"
6920 lt_save_CFLAGS="$CFLAGS"
6921 LIBS="conftstm.$ac_objext"
6922 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6923 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6924 (eval $ac_link) 2>&5
6925 ac_status=$?
6926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6927 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6928 pipe_works=yes
6930 LIBS="$lt_save_LIBS"
6931 CFLAGS="$lt_save_CFLAGS"
6932 else
6933 echo "cannot find nm_test_func in $nlist" >&5
6935 else
6936 echo "cannot find nm_test_var in $nlist" >&5
6938 else
6939 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6941 else
6942 echo "$progname: failed program was:" >&5
6943 cat conftest.$ac_ext >&5
6945 rm -rf conftest* conftst*
6947 # Do not use the global_symbol_pipe unless it works.
6948 if test "$pipe_works" = yes; then
6949 break
6950 else
6951 lt_cv_sys_global_symbol_pipe=
6953 done
6957 if test -z "$lt_cv_sys_global_symbol_pipe"; then
6958 lt_cv_sys_global_symbol_to_cdecl=
6960 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
6961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
6962 $as_echo "failed" >&6; }
6963 else
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
6965 $as_echo "ok" >&6; }
6989 # Check whether --enable-libtool-lock was given.
6990 if test "${enable_libtool_lock+set}" = set; then :
6991 enableval=$enable_libtool_lock;
6994 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
6996 # Some flags need to be propagated to the compiler or linker for good
6997 # libtool support.
6998 case $host in
6999 ia64-*-hpux*)
7000 # Find out which ABI we are using.
7001 echo 'int i;' > conftest.$ac_ext
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7003 (eval $ac_compile) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; }; then
7007 case `/usr/bin/file conftest.$ac_objext` in
7008 *ELF-32*)
7009 HPUX_IA64_MODE="32"
7011 *ELF-64*)
7012 HPUX_IA64_MODE="64"
7014 esac
7016 rm -rf conftest*
7018 *-*-irix6*)
7019 # Find out which ABI we are using.
7020 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7022 (eval $ac_compile) 2>&5
7023 ac_status=$?
7024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7025 test $ac_status = 0; }; then
7026 if test "$lt_cv_prog_gnu_ld" = yes; then
7027 case `/usr/bin/file conftest.$ac_objext` in
7028 *32-bit*)
7029 LD="${LD-ld} -melf32bsmip"
7031 *N32*)
7032 LD="${LD-ld} -melf32bmipn32"
7034 *64-bit*)
7035 LD="${LD-ld} -melf64bmip"
7037 esac
7038 else
7039 case `/usr/bin/file conftest.$ac_objext` in
7040 *32-bit*)
7041 LD="${LD-ld} -32"
7043 *N32*)
7044 LD="${LD-ld} -n32"
7046 *64-bit*)
7047 LD="${LD-ld} -64"
7049 esac
7052 rm -rf conftest*
7055 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7056 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7057 # Find out which ABI we are using.
7058 echo 'int i;' > conftest.$ac_ext
7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7060 (eval $ac_compile) 2>&5
7061 ac_status=$?
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063 test $ac_status = 0; }; then
7064 case `/usr/bin/file conftest.o` in
7065 *32-bit*)
7066 case $host in
7067 x86_64-*kfreebsd*-gnu)
7068 LD="${LD-ld} -m elf_i386_fbsd"
7070 x86_64-*linux*)
7071 LD="${LD-ld} -m elf_i386"
7073 ppc64-*linux*|powerpc64-*linux*)
7074 LD="${LD-ld} -m elf32ppclinux"
7076 s390x-*linux*)
7077 LD="${LD-ld} -m elf_s390"
7079 sparc64-*linux*)
7080 LD="${LD-ld} -m elf32_sparc"
7082 esac
7084 *64-bit*)
7085 case $host in
7086 x86_64-*kfreebsd*-gnu)
7087 LD="${LD-ld} -m elf_x86_64_fbsd"
7089 x86_64-*linux*)
7090 LD="${LD-ld} -m elf_x86_64"
7092 ppc*-*linux*|powerpc*-*linux*)
7093 LD="${LD-ld} -m elf64ppc"
7095 s390*-*linux*|s390*-*tpf*)
7096 LD="${LD-ld} -m elf64_s390"
7098 sparc*-*linux*)
7099 LD="${LD-ld} -m elf64_sparc"
7101 esac
7103 esac
7105 rm -rf conftest*
7108 *-*-sco3.2v5*)
7109 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7110 SAVE_CFLAGS="$CFLAGS"
7111 CFLAGS="$CFLAGS -belf"
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7113 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7114 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7115 $as_echo_n "(cached) " >&6
7116 else
7117 ac_ext=c
7118 ac_cpp='$CPP $CPPFLAGS'
7119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7123 if test x$gcc_no_link = xyes; then
7124 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7127 /* end confdefs.h. */
7130 main ()
7134 return 0;
7136 _ACEOF
7137 if ac_fn_c_try_link "$LINENO"; then :
7138 lt_cv_cc_needs_belf=yes
7139 else
7140 lt_cv_cc_needs_belf=no
7142 rm -f core conftest.err conftest.$ac_objext \
7143 conftest$ac_exeext conftest.$ac_ext
7144 ac_ext=c
7145 ac_cpp='$CPP $CPPFLAGS'
7146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7152 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7153 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7154 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7155 CFLAGS="$SAVE_CFLAGS"
7158 sparc*-*solaris*)
7159 # Find out which ABI we are using.
7160 echo 'int i;' > conftest.$ac_ext
7161 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7162 (eval $ac_compile) 2>&5
7163 ac_status=$?
7164 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7165 test $ac_status = 0; }; then
7166 case `/usr/bin/file conftest.o` in
7167 *64-bit*)
7168 case $lt_cv_prog_gnu_ld in
7169 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7171 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7172 LD="${LD-ld} -64"
7175 esac
7177 esac
7179 rm -rf conftest*
7181 esac
7183 need_locks="$enable_libtool_lock"
7186 case $host_os in
7187 rhapsody* | darwin*)
7188 if test -n "$ac_tool_prefix"; then
7189 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7190 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7192 $as_echo_n "checking for $ac_word... " >&6; }
7193 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 if test -n "$DSYMUTIL"; then
7197 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7198 else
7199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7200 for as_dir in $PATH
7202 IFS=$as_save_IFS
7203 test -z "$as_dir" && as_dir=.
7204 for ac_exec_ext in '' $ac_executable_extensions; do
7205 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7206 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7208 break 2
7210 done
7211 done
7212 IFS=$as_save_IFS
7216 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7217 if test -n "$DSYMUTIL"; then
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7219 $as_echo "$DSYMUTIL" >&6; }
7220 else
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7222 $as_echo "no" >&6; }
7227 if test -z "$ac_cv_prog_DSYMUTIL"; then
7228 ac_ct_DSYMUTIL=$DSYMUTIL
7229 # Extract the first word of "dsymutil", so it can be a program name with args.
7230 set dummy dsymutil; ac_word=$2
7231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7232 $as_echo_n "checking for $ac_word... " >&6; }
7233 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7234 $as_echo_n "(cached) " >&6
7235 else
7236 if test -n "$ac_ct_DSYMUTIL"; then
7237 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7238 else
7239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7240 for as_dir in $PATH
7242 IFS=$as_save_IFS
7243 test -z "$as_dir" && as_dir=.
7244 for ac_exec_ext in '' $ac_executable_extensions; do
7245 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7246 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7248 break 2
7250 done
7251 done
7252 IFS=$as_save_IFS
7256 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7257 if test -n "$ac_ct_DSYMUTIL"; then
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7259 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7260 else
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7262 $as_echo "no" >&6; }
7265 if test "x$ac_ct_DSYMUTIL" = x; then
7266 DSYMUTIL=":"
7267 else
7268 case $cross_compiling:$ac_tool_warned in
7269 yes:)
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7271 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7272 ac_tool_warned=yes ;;
7273 esac
7274 DSYMUTIL=$ac_ct_DSYMUTIL
7276 else
7277 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7280 if test -n "$ac_tool_prefix"; then
7281 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7282 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7284 $as_echo_n "checking for $ac_word... " >&6; }
7285 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7286 $as_echo_n "(cached) " >&6
7287 else
7288 if test -n "$NMEDIT"; then
7289 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7290 else
7291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7292 for as_dir in $PATH
7294 IFS=$as_save_IFS
7295 test -z "$as_dir" && as_dir=.
7296 for ac_exec_ext in '' $ac_executable_extensions; do
7297 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7298 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7300 break 2
7302 done
7303 done
7304 IFS=$as_save_IFS
7308 NMEDIT=$ac_cv_prog_NMEDIT
7309 if test -n "$NMEDIT"; then
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7311 $as_echo "$NMEDIT" >&6; }
7312 else
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7314 $as_echo "no" >&6; }
7319 if test -z "$ac_cv_prog_NMEDIT"; then
7320 ac_ct_NMEDIT=$NMEDIT
7321 # Extract the first word of "nmedit", so it can be a program name with args.
7322 set dummy nmedit; ac_word=$2
7323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7324 $as_echo_n "checking for $ac_word... " >&6; }
7325 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7326 $as_echo_n "(cached) " >&6
7327 else
7328 if test -n "$ac_ct_NMEDIT"; then
7329 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7330 else
7331 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7332 for as_dir in $PATH
7334 IFS=$as_save_IFS
7335 test -z "$as_dir" && as_dir=.
7336 for ac_exec_ext in '' $ac_executable_extensions; do
7337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7338 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7340 break 2
7342 done
7343 done
7344 IFS=$as_save_IFS
7348 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7349 if test -n "$ac_ct_NMEDIT"; then
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7351 $as_echo "$ac_ct_NMEDIT" >&6; }
7352 else
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7354 $as_echo "no" >&6; }
7357 if test "x$ac_ct_NMEDIT" = x; then
7358 NMEDIT=":"
7359 else
7360 case $cross_compiling:$ac_tool_warned in
7361 yes:)
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7363 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7364 ac_tool_warned=yes ;;
7365 esac
7366 NMEDIT=$ac_ct_NMEDIT
7368 else
7369 NMEDIT="$ac_cv_prog_NMEDIT"
7372 if test -n "$ac_tool_prefix"; then
7373 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7374 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7376 $as_echo_n "checking for $ac_word... " >&6; }
7377 if test "${ac_cv_prog_LIPO+set}" = set; then :
7378 $as_echo_n "(cached) " >&6
7379 else
7380 if test -n "$LIPO"; then
7381 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7382 else
7383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7384 for as_dir in $PATH
7386 IFS=$as_save_IFS
7387 test -z "$as_dir" && as_dir=.
7388 for ac_exec_ext in '' $ac_executable_extensions; do
7389 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7390 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7392 break 2
7394 done
7395 done
7396 IFS=$as_save_IFS
7400 LIPO=$ac_cv_prog_LIPO
7401 if test -n "$LIPO"; then
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7403 $as_echo "$LIPO" >&6; }
7404 else
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7406 $as_echo "no" >&6; }
7411 if test -z "$ac_cv_prog_LIPO"; then
7412 ac_ct_LIPO=$LIPO
7413 # Extract the first word of "lipo", so it can be a program name with args.
7414 set dummy lipo; ac_word=$2
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7416 $as_echo_n "checking for $ac_word... " >&6; }
7417 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420 if test -n "$ac_ct_LIPO"; then
7421 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7422 else
7423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7424 for as_dir in $PATH
7426 IFS=$as_save_IFS
7427 test -z "$as_dir" && as_dir=.
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7430 ac_cv_prog_ac_ct_LIPO="lipo"
7431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7432 break 2
7434 done
7435 done
7436 IFS=$as_save_IFS
7440 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7441 if test -n "$ac_ct_LIPO"; then
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7443 $as_echo "$ac_ct_LIPO" >&6; }
7444 else
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7446 $as_echo "no" >&6; }
7449 if test "x$ac_ct_LIPO" = x; then
7450 LIPO=":"
7451 else
7452 case $cross_compiling:$ac_tool_warned in
7453 yes:)
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7456 ac_tool_warned=yes ;;
7457 esac
7458 LIPO=$ac_ct_LIPO
7460 else
7461 LIPO="$ac_cv_prog_LIPO"
7464 if test -n "$ac_tool_prefix"; then
7465 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7466 set dummy ${ac_tool_prefix}otool; ac_word=$2
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7468 $as_echo_n "checking for $ac_word... " >&6; }
7469 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7470 $as_echo_n "(cached) " >&6
7471 else
7472 if test -n "$OTOOL"; then
7473 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7474 else
7475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7476 for as_dir in $PATH
7478 IFS=$as_save_IFS
7479 test -z "$as_dir" && as_dir=.
7480 for ac_exec_ext in '' $ac_executable_extensions; do
7481 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7482 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7483 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7484 break 2
7486 done
7487 done
7488 IFS=$as_save_IFS
7492 OTOOL=$ac_cv_prog_OTOOL
7493 if test -n "$OTOOL"; then
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7495 $as_echo "$OTOOL" >&6; }
7496 else
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7498 $as_echo "no" >&6; }
7503 if test -z "$ac_cv_prog_OTOOL"; then
7504 ac_ct_OTOOL=$OTOOL
7505 # Extract the first word of "otool", so it can be a program name with args.
7506 set dummy otool; ac_word=$2
7507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7508 $as_echo_n "checking for $ac_word... " >&6; }
7509 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7510 $as_echo_n "(cached) " >&6
7511 else
7512 if test -n "$ac_ct_OTOOL"; then
7513 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7514 else
7515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7516 for as_dir in $PATH
7518 IFS=$as_save_IFS
7519 test -z "$as_dir" && as_dir=.
7520 for ac_exec_ext in '' $ac_executable_extensions; do
7521 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7522 ac_cv_prog_ac_ct_OTOOL="otool"
7523 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7524 break 2
7526 done
7527 done
7528 IFS=$as_save_IFS
7532 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7533 if test -n "$ac_ct_OTOOL"; then
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7535 $as_echo "$ac_ct_OTOOL" >&6; }
7536 else
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7538 $as_echo "no" >&6; }
7541 if test "x$ac_ct_OTOOL" = x; then
7542 OTOOL=":"
7543 else
7544 case $cross_compiling:$ac_tool_warned in
7545 yes:)
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7547 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7548 ac_tool_warned=yes ;;
7549 esac
7550 OTOOL=$ac_ct_OTOOL
7552 else
7553 OTOOL="$ac_cv_prog_OTOOL"
7556 if test -n "$ac_tool_prefix"; then
7557 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7558 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7560 $as_echo_n "checking for $ac_word... " >&6; }
7561 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7562 $as_echo_n "(cached) " >&6
7563 else
7564 if test -n "$OTOOL64"; then
7565 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7566 else
7567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7568 for as_dir in $PATH
7570 IFS=$as_save_IFS
7571 test -z "$as_dir" && as_dir=.
7572 for ac_exec_ext in '' $ac_executable_extensions; do
7573 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7574 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7575 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7576 break 2
7578 done
7579 done
7580 IFS=$as_save_IFS
7584 OTOOL64=$ac_cv_prog_OTOOL64
7585 if test -n "$OTOOL64"; then
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7587 $as_echo "$OTOOL64" >&6; }
7588 else
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7590 $as_echo "no" >&6; }
7595 if test -z "$ac_cv_prog_OTOOL64"; then
7596 ac_ct_OTOOL64=$OTOOL64
7597 # Extract the first word of "otool64", so it can be a program name with args.
7598 set dummy otool64; ac_word=$2
7599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7600 $as_echo_n "checking for $ac_word... " >&6; }
7601 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7602 $as_echo_n "(cached) " >&6
7603 else
7604 if test -n "$ac_ct_OTOOL64"; then
7605 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7606 else
7607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7608 for as_dir in $PATH
7610 IFS=$as_save_IFS
7611 test -z "$as_dir" && as_dir=.
7612 for ac_exec_ext in '' $ac_executable_extensions; do
7613 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7614 ac_cv_prog_ac_ct_OTOOL64="otool64"
7615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7616 break 2
7618 done
7619 done
7620 IFS=$as_save_IFS
7624 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7625 if test -n "$ac_ct_OTOOL64"; then
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7627 $as_echo "$ac_ct_OTOOL64" >&6; }
7628 else
7629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7630 $as_echo "no" >&6; }
7633 if test "x$ac_ct_OTOOL64" = x; then
7634 OTOOL64=":"
7635 else
7636 case $cross_compiling:$ac_tool_warned in
7637 yes:)
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7640 ac_tool_warned=yes ;;
7641 esac
7642 OTOOL64=$ac_ct_OTOOL64
7644 else
7645 OTOOL64="$ac_cv_prog_OTOOL64"
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7675 $as_echo_n "checking for -single_module linker flag... " >&6; }
7676 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7677 $as_echo_n "(cached) " >&6
7678 else
7679 lt_cv_apple_cc_single_mod=no
7680 if test -z "${LT_MULTI_MODULE}"; then
7681 # By default we will add the -single_module flag. You can override
7682 # by either setting the environment variable LT_MULTI_MODULE
7683 # non-empty at configure time, or by adding -multi_module to the
7684 # link flags.
7685 rm -rf libconftest.dylib*
7686 echo "int foo(void){return 1;}" > conftest.c
7687 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7688 -dynamiclib -Wl,-single_module conftest.c" >&5
7689 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7690 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7691 _lt_result=$?
7692 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7693 lt_cv_apple_cc_single_mod=yes
7694 else
7695 cat conftest.err >&5
7697 rm -rf libconftest.dylib*
7698 rm -f conftest.*
7701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7702 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7704 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7705 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7706 $as_echo_n "(cached) " >&6
7707 else
7708 lt_cv_ld_exported_symbols_list=no
7709 save_LDFLAGS=$LDFLAGS
7710 echo "_main" > conftest.sym
7711 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7712 if test x$gcc_no_link = xyes; then
7713 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7716 /* end confdefs.h. */
7719 main ()
7723 return 0;
7725 _ACEOF
7726 if ac_fn_c_try_link "$LINENO"; then :
7727 lt_cv_ld_exported_symbols_list=yes
7728 else
7729 lt_cv_ld_exported_symbols_list=no
7731 rm -f core conftest.err conftest.$ac_objext \
7732 conftest$ac_exeext conftest.$ac_ext
7733 LDFLAGS="$save_LDFLAGS"
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7737 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7739 $as_echo_n "checking for -force_load linker flag... " >&6; }
7740 if test "${lt_cv_ld_force_load+set}" = set; then :
7741 $as_echo_n "(cached) " >&6
7742 else
7743 lt_cv_ld_force_load=no
7744 cat > conftest.c << _LT_EOF
7745 int forced_loaded() { return 2;}
7746 _LT_EOF
7747 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7748 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7749 echo "$AR cru libconftest.a conftest.o" >&5
7750 $AR cru libconftest.a conftest.o 2>&5
7751 cat > conftest.c << _LT_EOF
7752 int main() { return 0;}
7753 _LT_EOF
7754 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7755 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7756 _lt_result=$?
7757 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7758 lt_cv_ld_force_load=yes
7759 else
7760 cat conftest.err >&5
7762 rm -f conftest.err libconftest.a conftest conftest.c
7763 rm -rf conftest.dSYM
7766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7767 $as_echo "$lt_cv_ld_force_load" >&6; }
7768 case $host_os in
7769 rhapsody* | darwin1.[012])
7770 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7771 darwin1.*)
7772 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7773 darwin*) # darwin 5.x on
7774 # if running on 10.5 or later, the deployment target defaults
7775 # to the OS version, if on x86, and 10.4, the deployment
7776 # target defaults to 10.4. Don't you love it?
7777 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7778 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7779 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7780 10.[012]*)
7781 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7782 10.*)
7783 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7784 esac
7786 esac
7787 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7788 _lt_dar_single_mod='$single_module'
7790 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7791 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7792 else
7793 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7795 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7796 _lt_dsymutil='~$DSYMUTIL $lib || :'
7797 else
7798 _lt_dsymutil=
7801 esac
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7804 $as_echo_n "checking for ANSI C header files... " >&6; }
7805 if test "${ac_cv_header_stdc+set}" = set; then :
7806 $as_echo_n "(cached) " >&6
7807 else
7808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7809 /* end confdefs.h. */
7810 #include <stdlib.h>
7811 #include <stdarg.h>
7812 #include <string.h>
7813 #include <float.h>
7816 main ()
7820 return 0;
7822 _ACEOF
7823 if ac_fn_c_try_compile "$LINENO"; then :
7824 ac_cv_header_stdc=yes
7825 else
7826 ac_cv_header_stdc=no
7828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7830 if test $ac_cv_header_stdc = yes; then
7831 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7833 /* end confdefs.h. */
7834 #include <string.h>
7836 _ACEOF
7837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7838 $EGREP "memchr" >/dev/null 2>&1; then :
7840 else
7841 ac_cv_header_stdc=no
7843 rm -f conftest*
7847 if test $ac_cv_header_stdc = yes; then
7848 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7850 /* end confdefs.h. */
7851 #include <stdlib.h>
7853 _ACEOF
7854 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7855 $EGREP "free" >/dev/null 2>&1; then :
7857 else
7858 ac_cv_header_stdc=no
7860 rm -f conftest*
7864 if test $ac_cv_header_stdc = yes; then
7865 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7866 if test "$cross_compiling" = yes; then :
7868 else
7869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7870 /* end confdefs.h. */
7871 #include <ctype.h>
7872 #include <stdlib.h>
7873 #if ((' ' & 0x0FF) == 0x020)
7874 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7875 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7876 #else
7877 # define ISLOWER(c) \
7878 (('a' <= (c) && (c) <= 'i') \
7879 || ('j' <= (c) && (c) <= 'r') \
7880 || ('s' <= (c) && (c) <= 'z'))
7881 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7882 #endif
7884 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7886 main ()
7888 int i;
7889 for (i = 0; i < 256; i++)
7890 if (XOR (islower (i), ISLOWER (i))
7891 || toupper (i) != TOUPPER (i))
7892 return 2;
7893 return 0;
7895 _ACEOF
7896 if ac_fn_c_try_run "$LINENO"; then :
7898 else
7899 ac_cv_header_stdc=no
7901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7902 conftest.$ac_objext conftest.beam conftest.$ac_ext
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7908 $as_echo "$ac_cv_header_stdc" >&6; }
7909 if test $ac_cv_header_stdc = yes; then
7911 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7915 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7916 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7917 inttypes.h stdint.h unistd.h
7918 do :
7919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7920 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7922 eval as_val=\$$as_ac_Header
7923 if test "x$as_val" = x""yes; then :
7924 cat >>confdefs.h <<_ACEOF
7925 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7926 _ACEOF
7930 done
7933 for ac_header in dlfcn.h
7934 do :
7935 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7937 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7938 cat >>confdefs.h <<_ACEOF
7939 #define HAVE_DLFCN_H 1
7940 _ACEOF
7944 done
7951 # Set options
7956 enable_win32_dll=no
7959 # Check whether --enable-shared was given.
7960 if test "${enable_shared+set}" = set; then :
7961 enableval=$enable_shared; p=${PACKAGE-default}
7962 case $enableval in
7963 yes) enable_shared=yes ;;
7964 no) enable_shared=no ;;
7966 enable_shared=no
7967 # Look at the argument we got. We use all the common list separators.
7968 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7969 for pkg in $enableval; do
7970 IFS="$lt_save_ifs"
7971 if test "X$pkg" = "X$p"; then
7972 enable_shared=yes
7974 done
7975 IFS="$lt_save_ifs"
7977 esac
7978 else
7979 enable_shared=yes
7990 # Check whether --enable-static was given.
7991 if test "${enable_static+set}" = set; then :
7992 enableval=$enable_static; p=${PACKAGE-default}
7993 case $enableval in
7994 yes) enable_static=yes ;;
7995 no) enable_static=no ;;
7997 enable_static=no
7998 # Look at the argument we got. We use all the common list separators.
7999 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8000 for pkg in $enableval; do
8001 IFS="$lt_save_ifs"
8002 if test "X$pkg" = "X$p"; then
8003 enable_static=yes
8005 done
8006 IFS="$lt_save_ifs"
8008 esac
8009 else
8010 enable_static=yes
8022 # Check whether --with-pic was given.
8023 if test "${with_pic+set}" = set; then :
8024 withval=$with_pic; pic_mode="$withval"
8025 else
8026 pic_mode=default
8030 test -z "$pic_mode" && pic_mode=default
8038 # Check whether --enable-fast-install was given.
8039 if test "${enable_fast_install+set}" = set; then :
8040 enableval=$enable_fast_install; p=${PACKAGE-default}
8041 case $enableval in
8042 yes) enable_fast_install=yes ;;
8043 no) enable_fast_install=no ;;
8045 enable_fast_install=no
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for pkg in $enableval; do
8049 IFS="$lt_save_ifs"
8050 if test "X$pkg" = "X$p"; then
8051 enable_fast_install=yes
8053 done
8054 IFS="$lt_save_ifs"
8056 esac
8057 else
8058 enable_fast_install=yes
8071 # This can be used to rebuild libtool when needed
8072 LIBTOOL_DEPS="$ltmain"
8074 # Always use our own libtool.
8075 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8102 test -z "$LN_S" && LN_S="ln -s"
8117 if test -n "${ZSH_VERSION+set}" ; then
8118 setopt NO_GLOB_SUBST
8121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8122 $as_echo_n "checking for objdir... " >&6; }
8123 if test "${lt_cv_objdir+set}" = set; then :
8124 $as_echo_n "(cached) " >&6
8125 else
8126 rm -f .libs 2>/dev/null
8127 mkdir .libs 2>/dev/null
8128 if test -d .libs; then
8129 lt_cv_objdir=.libs
8130 else
8131 # MS-DOS does not allow filenames that begin with a dot.
8132 lt_cv_objdir=_libs
8134 rmdir .libs 2>/dev/null
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8137 $as_echo "$lt_cv_objdir" >&6; }
8138 objdir=$lt_cv_objdir
8144 cat >>confdefs.h <<_ACEOF
8145 #define LT_OBJDIR "$lt_cv_objdir/"
8146 _ACEOF
8151 case $host_os in
8152 aix3*)
8153 # AIX sometimes has problems with the GCC collect2 program. For some
8154 # reason, if we set the COLLECT_NAMES environment variable, the problems
8155 # vanish in a puff of smoke.
8156 if test "X${COLLECT_NAMES+set}" != Xset; then
8157 COLLECT_NAMES=
8158 export COLLECT_NAMES
8161 esac
8163 # Global variables:
8164 ofile=libtool
8165 can_build_shared=yes
8167 # All known linkers require a `.a' archive for static linking (except MSVC,
8168 # which needs '.lib').
8169 libext=a
8171 with_gnu_ld="$lt_cv_prog_gnu_ld"
8173 old_CC="$CC"
8174 old_CFLAGS="$CFLAGS"
8176 # Set sane defaults for various variables
8177 test -z "$CC" && CC=cc
8178 test -z "$LTCC" && LTCC=$CC
8179 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8180 test -z "$LD" && LD=ld
8181 test -z "$ac_objext" && ac_objext=o
8183 for cc_temp in $compiler""; do
8184 case $cc_temp in
8185 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8186 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8187 \-*) ;;
8188 *) break;;
8189 esac
8190 done
8191 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8194 # Only perform the check for file, if the check method requires it
8195 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8196 case $deplibs_check_method in
8197 file_magic*)
8198 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8200 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8201 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8202 $as_echo_n "(cached) " >&6
8203 else
8204 case $MAGIC_CMD in
8205 [\\/*] | ?:[\\/]*)
8206 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8209 lt_save_MAGIC_CMD="$MAGIC_CMD"
8210 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8211 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8212 for ac_dir in $ac_dummy; do
8213 IFS="$lt_save_ifs"
8214 test -z "$ac_dir" && ac_dir=.
8215 if test -f $ac_dir/${ac_tool_prefix}file; then
8216 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8217 if test -n "$file_magic_test_file"; then
8218 case $deplibs_check_method in
8219 "file_magic "*)
8220 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8221 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8222 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8223 $EGREP "$file_magic_regex" > /dev/null; then
8225 else
8226 cat <<_LT_EOF 1>&2
8228 *** Warning: the command libtool uses to detect shared libraries,
8229 *** $file_magic_cmd, produces output that libtool cannot recognize.
8230 *** The result is that libtool may fail to recognize shared libraries
8231 *** as such. This will affect the creation of libtool libraries that
8232 *** depend on shared libraries, but programs linked with such libtool
8233 *** libraries will work regardless of this problem. Nevertheless, you
8234 *** may want to report the problem to your system manager and/or to
8235 *** bug-libtool@gnu.org
8237 _LT_EOF
8238 fi ;;
8239 esac
8241 break
8243 done
8244 IFS="$lt_save_ifs"
8245 MAGIC_CMD="$lt_save_MAGIC_CMD"
8247 esac
8250 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8251 if test -n "$MAGIC_CMD"; then
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8253 $as_echo "$MAGIC_CMD" >&6; }
8254 else
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8256 $as_echo "no" >&6; }
8263 if test -z "$lt_cv_path_MAGIC_CMD"; then
8264 if test -n "$ac_tool_prefix"; then
8265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8266 $as_echo_n "checking for file... " >&6; }
8267 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8268 $as_echo_n "(cached) " >&6
8269 else
8270 case $MAGIC_CMD in
8271 [\\/*] | ?:[\\/]*)
8272 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8275 lt_save_MAGIC_CMD="$MAGIC_CMD"
8276 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8277 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8278 for ac_dir in $ac_dummy; do
8279 IFS="$lt_save_ifs"
8280 test -z "$ac_dir" && ac_dir=.
8281 if test -f $ac_dir/file; then
8282 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8283 if test -n "$file_magic_test_file"; then
8284 case $deplibs_check_method in
8285 "file_magic "*)
8286 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8287 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8288 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8289 $EGREP "$file_magic_regex" > /dev/null; then
8291 else
8292 cat <<_LT_EOF 1>&2
8294 *** Warning: the command libtool uses to detect shared libraries,
8295 *** $file_magic_cmd, produces output that libtool cannot recognize.
8296 *** The result is that libtool may fail to recognize shared libraries
8297 *** as such. This will affect the creation of libtool libraries that
8298 *** depend on shared libraries, but programs linked with such libtool
8299 *** libraries will work regardless of this problem. Nevertheless, you
8300 *** may want to report the problem to your system manager and/or to
8301 *** bug-libtool@gnu.org
8303 _LT_EOF
8304 fi ;;
8305 esac
8307 break
8309 done
8310 IFS="$lt_save_ifs"
8311 MAGIC_CMD="$lt_save_MAGIC_CMD"
8313 esac
8316 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8317 if test -n "$MAGIC_CMD"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8319 $as_echo "$MAGIC_CMD" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8326 else
8327 MAGIC_CMD=:
8333 esac
8335 # Use C for the default configuration in the libtool script
8337 lt_save_CC="$CC"
8338 ac_ext=c
8339 ac_cpp='$CPP $CPPFLAGS'
8340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8345 # Source file extension for C test sources.
8346 ac_ext=c
8348 # Object file extension for compiled C test sources.
8349 objext=o
8350 objext=$objext
8352 # Code to be used in simple compile tests
8353 lt_simple_compile_test_code="int some_variable = 0;"
8355 # Code to be used in simple link tests
8356 lt_simple_link_test_code='int main(){return(0);}'
8364 # If no C compiler was specified, use CC.
8365 LTCC=${LTCC-"$CC"}
8367 # If no C compiler flags were specified, use CFLAGS.
8368 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8370 # Allow CC to be a program name with arguments.
8371 compiler=$CC
8373 # Save the default compiler, since it gets overwritten when the other
8374 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8375 compiler_DEFAULT=$CC
8377 # save warnings/boilerplate of simple test code
8378 ac_outfile=conftest.$ac_objext
8379 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8380 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8381 _lt_compiler_boilerplate=`cat conftest.err`
8382 $RM conftest*
8384 ac_outfile=conftest.$ac_objext
8385 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8386 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8387 _lt_linker_boilerplate=`cat conftest.err`
8388 $RM -r conftest*
8391 ## CAVEAT EMPTOR:
8392 ## There is no encapsulation within the following macros, do not change
8393 ## the running order or otherwise move them around unless you know exactly
8394 ## what you are doing...
8395 if test -n "$compiler"; then
8397 lt_prog_compiler_no_builtin_flag=
8399 if test "$GCC" = yes; then
8400 case $cc_basename in
8401 nvcc*)
8402 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8404 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8405 esac
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8408 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8409 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 lt_cv_prog_compiler_rtti_exceptions=no
8413 ac_outfile=conftest.$ac_objext
8414 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8415 lt_compiler_flag="-fno-rtti -fno-exceptions"
8416 # Insert the option either (1) after the last *FLAGS variable, or
8417 # (2) before a word containing "conftest.", or (3) at the end.
8418 # Note that $ac_compile itself does not contain backslashes and begins
8419 # with a dollar sign (not a hyphen), so the echo should work correctly.
8420 # The option is referenced via a variable to avoid confusing sed.
8421 lt_compile=`echo "$ac_compile" | $SED \
8422 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8423 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8424 -e 's:$: $lt_compiler_flag:'`
8425 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8426 (eval "$lt_compile" 2>conftest.err)
8427 ac_status=$?
8428 cat conftest.err >&5
8429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8430 if (exit $ac_status) && test -s "$ac_outfile"; then
8431 # The compiler can only warn and ignore the option if not recognized
8432 # So say no if there are warnings other than the usual output.
8433 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8434 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8435 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8436 lt_cv_prog_compiler_rtti_exceptions=yes
8439 $RM conftest*
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8443 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8445 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8446 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8447 else
8458 lt_prog_compiler_wl=
8459 lt_prog_compiler_pic=
8460 lt_prog_compiler_static=
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8463 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8465 if test "$GCC" = yes; then
8466 lt_prog_compiler_wl='-Wl,'
8467 lt_prog_compiler_static='-static'
8469 case $host_os in
8470 aix*)
8471 # All AIX code is PIC.
8472 if test "$host_cpu" = ia64; then
8473 # AIX 5 now supports IA64 processor
8474 lt_prog_compiler_static='-Bstatic'
8478 amigaos*)
8479 case $host_cpu in
8480 powerpc)
8481 # see comment about AmigaOS4 .so support
8482 lt_prog_compiler_pic='-fPIC'
8484 m68k)
8485 # FIXME: we need at least 68020 code to build shared libraries, but
8486 # adding the `-m68020' flag to GCC prevents building anything better,
8487 # like `-m68040'.
8488 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8490 esac
8493 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8494 # PIC is the default for these OSes.
8497 mingw* | cygwin* | pw32* | os2* | cegcc*)
8498 # This hack is so that the source file can tell whether it is being
8499 # built for inclusion in a dll (and should export symbols for example).
8500 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8501 # (--disable-auto-import) libraries
8502 lt_prog_compiler_pic='-DDLL_EXPORT'
8505 darwin* | rhapsody*)
8506 # PIC is the default on this platform
8507 # Common symbols not allowed in MH_DYLIB files
8508 lt_prog_compiler_pic='-fno-common'
8511 haiku*)
8512 # PIC is the default for Haiku.
8513 # The "-static" flag exists, but is broken.
8514 lt_prog_compiler_static=
8517 hpux*)
8518 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8519 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8520 # sets the default TLS model and affects inlining.
8521 case $host_cpu in
8522 hppa*64*)
8523 # +Z the default
8526 lt_prog_compiler_pic='-fPIC'
8528 esac
8531 interix[3-9]*)
8532 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8533 # Instead, we relocate shared libraries at runtime.
8536 msdosdjgpp*)
8537 # Just because we use GCC doesn't mean we suddenly get shared libraries
8538 # on systems that don't support them.
8539 lt_prog_compiler_can_build_shared=no
8540 enable_shared=no
8543 *nto* | *qnx*)
8544 # QNX uses GNU C++, but need to define -shared option too, otherwise
8545 # it will coredump.
8546 lt_prog_compiler_pic='-fPIC -shared'
8549 sysv4*MP*)
8550 if test -d /usr/nec; then
8551 lt_prog_compiler_pic=-Kconform_pic
8556 lt_prog_compiler_pic='-fPIC'
8558 esac
8560 case $cc_basename in
8561 nvcc*) # Cuda Compiler Driver 2.2
8562 lt_prog_compiler_wl='-Xlinker '
8563 lt_prog_compiler_pic='-Xcompiler -fPIC'
8565 esac
8566 else
8567 # PORTME Check for flag to pass linker flags through the system compiler.
8568 case $host_os in
8569 aix*)
8570 lt_prog_compiler_wl='-Wl,'
8571 if test "$host_cpu" = ia64; then
8572 # AIX 5 now supports IA64 processor
8573 lt_prog_compiler_static='-Bstatic'
8574 else
8575 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8579 mingw* | cygwin* | pw32* | os2* | cegcc*)
8580 # This hack is so that the source file can tell whether it is being
8581 # built for inclusion in a dll (and should export symbols for example).
8582 lt_prog_compiler_pic='-DDLL_EXPORT'
8585 hpux9* | hpux10* | hpux11*)
8586 lt_prog_compiler_wl='-Wl,'
8587 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8588 # not for PA HP-UX.
8589 case $host_cpu in
8590 hppa*64*|ia64*)
8591 # +Z the default
8594 lt_prog_compiler_pic='+Z'
8596 esac
8597 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8598 lt_prog_compiler_static='${wl}-a ${wl}archive'
8601 irix5* | irix6* | nonstopux*)
8602 lt_prog_compiler_wl='-Wl,'
8603 # PIC (with -KPIC) is the default.
8604 lt_prog_compiler_static='-non_shared'
8607 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8608 case $cc_basename in
8609 # old Intel for x86_64 which still supported -KPIC.
8610 ecc*)
8611 lt_prog_compiler_wl='-Wl,'
8612 lt_prog_compiler_pic='-KPIC'
8613 lt_prog_compiler_static='-static'
8615 # icc used to be incompatible with GCC.
8616 # ICC 10 doesn't accept -KPIC any more.
8617 icc* | ifort*)
8618 lt_prog_compiler_wl='-Wl,'
8619 lt_prog_compiler_pic='-fPIC'
8620 lt_prog_compiler_static='-static'
8622 # Lahey Fortran 8.1.
8623 lf95*)
8624 lt_prog_compiler_wl='-Wl,'
8625 lt_prog_compiler_pic='--shared'
8626 lt_prog_compiler_static='--static'
8628 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8629 # Portland Group compilers (*not* the Pentium gcc compiler,
8630 # which looks to be a dead project)
8631 lt_prog_compiler_wl='-Wl,'
8632 lt_prog_compiler_pic='-fpic'
8633 lt_prog_compiler_static='-Bstatic'
8635 ccc*)
8636 lt_prog_compiler_wl='-Wl,'
8637 # All Alpha code is PIC.
8638 lt_prog_compiler_static='-non_shared'
8640 xl* | bgxl* | bgf* | mpixl*)
8641 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8642 lt_prog_compiler_wl='-Wl,'
8643 lt_prog_compiler_pic='-qpic'
8644 lt_prog_compiler_static='-qstaticlink'
8647 case `$CC -V 2>&1 | sed 5q` in
8648 *Sun\ F* | *Sun*Fortran*)
8649 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8650 lt_prog_compiler_pic='-KPIC'
8651 lt_prog_compiler_static='-Bstatic'
8652 lt_prog_compiler_wl=''
8654 *Sun\ C*)
8655 # Sun C 5.9
8656 lt_prog_compiler_pic='-KPIC'
8657 lt_prog_compiler_static='-Bstatic'
8658 lt_prog_compiler_wl='-Wl,'
8660 esac
8662 esac
8665 newsos6)
8666 lt_prog_compiler_pic='-KPIC'
8667 lt_prog_compiler_static='-Bstatic'
8670 *nto* | *qnx*)
8671 # QNX uses GNU C++, but need to define -shared option too, otherwise
8672 # it will coredump.
8673 lt_prog_compiler_pic='-fPIC -shared'
8676 osf3* | osf4* | osf5*)
8677 lt_prog_compiler_wl='-Wl,'
8678 # All OSF/1 code is PIC.
8679 lt_prog_compiler_static='-non_shared'
8682 rdos*)
8683 lt_prog_compiler_static='-non_shared'
8686 solaris*)
8687 lt_prog_compiler_pic='-KPIC'
8688 lt_prog_compiler_static='-Bstatic'
8689 case $cc_basename in
8690 f77* | f90* | f95*)
8691 lt_prog_compiler_wl='-Qoption ld ';;
8693 lt_prog_compiler_wl='-Wl,';;
8694 esac
8697 sunos4*)
8698 lt_prog_compiler_wl='-Qoption ld '
8699 lt_prog_compiler_pic='-PIC'
8700 lt_prog_compiler_static='-Bstatic'
8703 sysv4 | sysv4.2uw2* | sysv4.3*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='-KPIC'
8706 lt_prog_compiler_static='-Bstatic'
8709 sysv4*MP*)
8710 if test -d /usr/nec ;then
8711 lt_prog_compiler_pic='-Kconform_pic'
8712 lt_prog_compiler_static='-Bstatic'
8716 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8717 lt_prog_compiler_wl='-Wl,'
8718 lt_prog_compiler_pic='-KPIC'
8719 lt_prog_compiler_static='-Bstatic'
8722 unicos*)
8723 lt_prog_compiler_wl='-Wl,'
8724 lt_prog_compiler_can_build_shared=no
8727 uts4*)
8728 lt_prog_compiler_pic='-pic'
8729 lt_prog_compiler_static='-Bstatic'
8733 lt_prog_compiler_can_build_shared=no
8735 esac
8738 case $host_os in
8739 # For platforms which do not support PIC, -DPIC is meaningless:
8740 *djgpp*)
8741 lt_prog_compiler_pic=
8744 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8746 esac
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8748 $as_echo "$lt_prog_compiler_pic" >&6; }
8756 # Check to make sure the PIC flag actually works.
8758 if test -n "$lt_prog_compiler_pic"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8760 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8761 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8762 $as_echo_n "(cached) " >&6
8763 else
8764 lt_cv_prog_compiler_pic_works=no
8765 ac_outfile=conftest.$ac_objext
8766 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8767 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8768 # Insert the option either (1) after the last *FLAGS variable, or
8769 # (2) before a word containing "conftest.", or (3) at the end.
8770 # Note that $ac_compile itself does not contain backslashes and begins
8771 # with a dollar sign (not a hyphen), so the echo should work correctly.
8772 # The option is referenced via a variable to avoid confusing sed.
8773 lt_compile=`echo "$ac_compile" | $SED \
8774 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8775 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8776 -e 's:$: $lt_compiler_flag:'`
8777 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8778 (eval "$lt_compile" 2>conftest.err)
8779 ac_status=$?
8780 cat conftest.err >&5
8781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8782 if (exit $ac_status) && test -s "$ac_outfile"; then
8783 # The compiler can only warn and ignore the option if not recognized
8784 # So say no if there are warnings other than the usual output.
8785 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8786 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8787 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8788 lt_cv_prog_compiler_pic_works=yes
8791 $RM conftest*
8794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8795 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8797 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8798 case $lt_prog_compiler_pic in
8799 "" | " "*) ;;
8800 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8801 esac
8802 else
8803 lt_prog_compiler_pic=
8804 lt_prog_compiler_can_build_shared=no
8815 # Check to make sure the static flag actually works.
8817 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8819 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8820 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8821 $as_echo_n "(cached) " >&6
8822 else
8823 lt_cv_prog_compiler_static_works=no
8824 save_LDFLAGS="$LDFLAGS"
8825 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8826 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8827 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8828 # The linker can only warn and ignore the option if not recognized
8829 # So say no if there are warnings
8830 if test -s conftest.err; then
8831 # Append any errors to the config.log.
8832 cat conftest.err 1>&5
8833 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8835 if diff conftest.exp conftest.er2 >/dev/null; then
8836 lt_cv_prog_compiler_static_works=yes
8838 else
8839 lt_cv_prog_compiler_static_works=yes
8842 $RM -r conftest*
8843 LDFLAGS="$save_LDFLAGS"
8846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8847 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8849 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8851 else
8852 lt_prog_compiler_static=
8861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8862 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8863 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8864 $as_echo_n "(cached) " >&6
8865 else
8866 lt_cv_prog_compiler_c_o=no
8867 $RM -r conftest 2>/dev/null
8868 mkdir conftest
8869 cd conftest
8870 mkdir out
8871 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8873 lt_compiler_flag="-o out/conftest2.$ac_objext"
8874 # Insert the option either (1) after the last *FLAGS variable, or
8875 # (2) before a word containing "conftest.", or (3) at the end.
8876 # Note that $ac_compile itself does not contain backslashes and begins
8877 # with a dollar sign (not a hyphen), so the echo should work correctly.
8878 lt_compile=`echo "$ac_compile" | $SED \
8879 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8880 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8881 -e 's:$: $lt_compiler_flag:'`
8882 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8883 (eval "$lt_compile" 2>out/conftest.err)
8884 ac_status=$?
8885 cat out/conftest.err >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8888 then
8889 # The compiler can only warn and ignore the option if not recognized
8890 # So say no if there are warnings
8891 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8892 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8893 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8894 lt_cv_prog_compiler_c_o=yes
8897 chmod u+w . 2>&5
8898 $RM conftest*
8899 # SGI C++ compiler will create directory out/ii_files/ for
8900 # template instantiation
8901 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8902 $RM out/* && rmdir out
8903 cd ..
8904 $RM -r conftest
8905 $RM conftest*
8908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8909 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8917 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8918 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8919 $as_echo_n "(cached) " >&6
8920 else
8921 lt_cv_prog_compiler_c_o=no
8922 $RM -r conftest 2>/dev/null
8923 mkdir conftest
8924 cd conftest
8925 mkdir out
8926 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8928 lt_compiler_flag="-o out/conftest2.$ac_objext"
8929 # Insert the option either (1) after the last *FLAGS variable, or
8930 # (2) before a word containing "conftest.", or (3) at the end.
8931 # Note that $ac_compile itself does not contain backslashes and begins
8932 # with a dollar sign (not a hyphen), so the echo should work correctly.
8933 lt_compile=`echo "$ac_compile" | $SED \
8934 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8935 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8936 -e 's:$: $lt_compiler_flag:'`
8937 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8938 (eval "$lt_compile" 2>out/conftest.err)
8939 ac_status=$?
8940 cat out/conftest.err >&5
8941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8942 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8943 then
8944 # The compiler can only warn and ignore the option if not recognized
8945 # So say no if there are warnings
8946 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8947 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8948 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8949 lt_cv_prog_compiler_c_o=yes
8952 chmod u+w . 2>&5
8953 $RM conftest*
8954 # SGI C++ compiler will create directory out/ii_files/ for
8955 # template instantiation
8956 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8957 $RM out/* && rmdir out
8958 cd ..
8959 $RM -r conftest
8960 $RM conftest*
8963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8964 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8969 hard_links="nottested"
8970 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8971 # do not overwrite the value of need_locks provided by the user
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
8973 $as_echo_n "checking if we can lock with hard links... " >&6; }
8974 hard_links=yes
8975 $RM conftest*
8976 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8977 touch conftest.a
8978 ln conftest.a conftest.b 2>&5 || hard_links=no
8979 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
8981 $as_echo "$hard_links" >&6; }
8982 if test "$hard_links" = no; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8984 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8985 need_locks=warn
8987 else
8988 need_locks=no
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8997 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
8999 runpath_var=
9000 allow_undefined_flag=
9001 always_export_symbols=no
9002 archive_cmds=
9003 archive_expsym_cmds=
9004 compiler_needs_object=no
9005 enable_shared_with_static_runtimes=no
9006 export_dynamic_flag_spec=
9007 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9008 hardcode_automatic=no
9009 hardcode_direct=no
9010 hardcode_direct_absolute=no
9011 hardcode_libdir_flag_spec=
9012 hardcode_libdir_flag_spec_ld=
9013 hardcode_libdir_separator=
9014 hardcode_minus_L=no
9015 hardcode_shlibpath_var=unsupported
9016 inherit_rpath=no
9017 link_all_deplibs=unknown
9018 module_cmds=
9019 module_expsym_cmds=
9020 old_archive_from_new_cmds=
9021 old_archive_from_expsyms_cmds=
9022 thread_safe_flag_spec=
9023 whole_archive_flag_spec=
9024 # include_expsyms should be a list of space-separated symbols to be *always*
9025 # included in the symbol list
9026 include_expsyms=
9027 # exclude_expsyms can be an extended regexp of symbols to exclude
9028 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9029 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9030 # as well as any symbol that contains `d'.
9031 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9032 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9033 # platforms (ab)use it in PIC code, but their linkers get confused if
9034 # the symbol is explicitly referenced. Since portable code cannot
9035 # rely on this symbol name, it's probably fine to never include it in
9036 # preloaded symbol tables.
9037 # Exclude shared library initialization/finalization symbols.
9038 extract_expsyms_cmds=
9040 case $host_os in
9041 cygwin* | mingw* | pw32* | cegcc*)
9042 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9043 # When not using gcc, we currently assume that we are using
9044 # Microsoft Visual C++.
9045 if test "$GCC" != yes; then
9046 with_gnu_ld=no
9049 interix*)
9050 # we just hope/assume this is gcc and not c89 (= MSVC++)
9051 with_gnu_ld=yes
9053 openbsd*)
9054 with_gnu_ld=no
9056 esac
9058 ld_shlibs=yes
9060 # On some targets, GNU ld is compatible enough with the native linker
9061 # that we're better off using the native interface for both.
9062 lt_use_gnu_ld_interface=no
9063 if test "$with_gnu_ld" = yes; then
9064 case $host_os in
9065 aix*)
9066 # The AIX port of GNU ld has always aspired to compatibility
9067 # with the native linker. However, as the warning in the GNU ld
9068 # block says, versions before 2.19.5* couldn't really create working
9069 # shared libraries, regardless of the interface used.
9070 case `$LD -v 2>&1` in
9071 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9072 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9073 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9075 lt_use_gnu_ld_interface=yes
9077 esac
9080 lt_use_gnu_ld_interface=yes
9082 esac
9085 if test "$lt_use_gnu_ld_interface" = yes; then
9086 # If archive_cmds runs LD, not CC, wlarc should be empty
9087 wlarc='${wl}'
9089 # Set some defaults for GNU ld with shared library support. These
9090 # are reset later if shared libraries are not supported. Putting them
9091 # here allows them to be overridden if necessary.
9092 runpath_var=LD_RUN_PATH
9093 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9094 export_dynamic_flag_spec='${wl}--export-dynamic'
9095 # ancient GNU ld didn't support --whole-archive et. al.
9096 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9097 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9098 else
9099 whole_archive_flag_spec=
9101 supports_anon_versioning=no
9102 case `$LD -v 2>&1` in
9103 *GNU\ gold*) supports_anon_versioning=yes ;;
9104 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9105 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9106 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9107 *\ 2.11.*) ;; # other 2.11 versions
9108 *) supports_anon_versioning=yes ;;
9109 esac
9111 # See if GNU ld supports shared libraries.
9112 case $host_os in
9113 aix[3-9]*)
9114 # On AIX/PPC, the GNU linker is very broken
9115 if test "$host_cpu" != ia64; then
9116 ld_shlibs=no
9117 cat <<_LT_EOF 1>&2
9119 *** Warning: the GNU linker, at least up to release 2.19, is reported
9120 *** to be unable to reliably create shared libraries on AIX.
9121 *** Therefore, libtool is disabling shared libraries support. If you
9122 *** really care for shared libraries, you may want to install binutils
9123 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9124 *** You will then need to restart the configuration process.
9126 _LT_EOF
9130 amigaos*)
9131 case $host_cpu in
9132 powerpc)
9133 # see comment about AmigaOS4 .so support
9134 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9135 archive_expsym_cmds=''
9137 m68k)
9138 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)'
9139 hardcode_libdir_flag_spec='-L$libdir'
9140 hardcode_minus_L=yes
9142 esac
9145 beos*)
9146 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9147 allow_undefined_flag=unsupported
9148 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9149 # support --undefined. This deserves some investigation. FIXME
9150 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9151 else
9152 ld_shlibs=no
9156 cygwin* | mingw* | pw32* | cegcc*)
9157 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9158 # as there is no search path for DLLs.
9159 hardcode_libdir_flag_spec='-L$libdir'
9160 export_dynamic_flag_spec='${wl}--export-all-symbols'
9161 allow_undefined_flag=unsupported
9162 always_export_symbols=no
9163 enable_shared_with_static_runtimes=yes
9164 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9166 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9167 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9168 # If the export-symbols file already is a .def file (1st line
9169 # is EXPORTS), use it as is; otherwise, prepend...
9170 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9171 cp $export_symbols $output_objdir/$soname.def;
9172 else
9173 echo EXPORTS > $output_objdir/$soname.def;
9174 cat $export_symbols >> $output_objdir/$soname.def;
9176 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9177 else
9178 ld_shlibs=no
9182 haiku*)
9183 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9184 link_all_deplibs=yes
9187 interix[3-9]*)
9188 hardcode_direct=no
9189 hardcode_shlibpath_var=no
9190 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9191 export_dynamic_flag_spec='${wl}-E'
9192 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9193 # Instead, shared libraries are loaded at an image base (0x10000000 by
9194 # default) and relocated if they conflict, which is a slow very memory
9195 # consuming and fragmenting process. To avoid this, we pick a random,
9196 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9197 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9198 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9199 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'
9202 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9203 tmp_diet=no
9204 if test "$host_os" = linux-dietlibc; then
9205 case $cc_basename in
9206 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9207 esac
9209 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9210 && test "$tmp_diet" = no
9211 then
9212 tmp_addflag=
9213 tmp_sharedflag='-shared'
9214 case $cc_basename,$host_cpu in
9215 pgcc*) # Portland Group C compiler
9216 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'
9217 tmp_addflag=' $pic_flag'
9219 pgf77* | pgf90* | pgf95* | pgfortran*)
9220 # Portland Group f77 and f90 compilers
9221 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'
9222 tmp_addflag=' $pic_flag -Mnomain' ;;
9223 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9224 tmp_addflag=' -i_dynamic' ;;
9225 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9226 tmp_addflag=' -i_dynamic -nofor_main' ;;
9227 ifc* | ifort*) # Intel Fortran compiler
9228 tmp_addflag=' -nofor_main' ;;
9229 lf95*) # Lahey Fortran 8.1
9230 whole_archive_flag_spec=
9231 tmp_sharedflag='--shared' ;;
9232 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9233 tmp_sharedflag='-qmkshrobj'
9234 tmp_addflag= ;;
9235 nvcc*) # Cuda Compiler Driver 2.2
9236 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9237 compiler_needs_object=yes
9239 esac
9240 case `$CC -V 2>&1 | sed 5q` in
9241 *Sun\ C*) # Sun C 5.9
9242 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'
9243 compiler_needs_object=yes
9244 tmp_sharedflag='-G' ;;
9245 *Sun\ F*) # Sun Fortran 8.3
9246 tmp_sharedflag='-G' ;;
9247 esac
9248 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9250 if test "x$supports_anon_versioning" = xyes; then
9251 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9252 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9253 echo "local: *; };" >> $output_objdir/$libname.ver~
9254 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9257 case $cc_basename in
9258 xlf* | bgf* | bgxlf* | mpixlf*)
9259 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9260 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9261 hardcode_libdir_flag_spec=
9262 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9263 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9264 if test "x$supports_anon_versioning" = xyes; then
9265 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9266 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9267 echo "local: *; };" >> $output_objdir/$libname.ver~
9268 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9271 esac
9272 else
9273 ld_shlibs=no
9277 netbsd*)
9278 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9279 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9280 wlarc=
9281 else
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9287 solaris*)
9288 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9289 ld_shlibs=no
9290 cat <<_LT_EOF 1>&2
9292 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9293 *** create shared libraries on Solaris systems. Therefore, libtool
9294 *** is disabling shared libraries support. We urge you to upgrade GNU
9295 *** binutils to release 2.9.1 or newer. Another option is to modify
9296 *** your PATH or compiler configuration so that the native linker is
9297 *** used, and then restart.
9299 _LT_EOF
9300 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9301 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9302 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9303 else
9304 ld_shlibs=no
9308 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9309 case `$LD -v 2>&1` in
9310 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9311 ld_shlibs=no
9312 cat <<_LT_EOF 1>&2
9314 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9315 *** reliably create shared libraries on SCO systems. Therefore, libtool
9316 *** is disabling shared libraries support. We urge you to upgrade GNU
9317 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9318 *** your PATH or compiler configuration so that the native linker is
9319 *** used, and then restart.
9321 _LT_EOF
9324 # For security reasons, it is highly recommended that you always
9325 # use absolute paths for naming shared libraries, and exclude the
9326 # DT_RUNPATH tag from executables and libraries. But doing so
9327 # requires that you compile everything twice, which is a pain.
9328 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9329 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9330 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9331 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9332 else
9333 ld_shlibs=no
9336 esac
9339 sunos4*)
9340 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9341 wlarc=
9342 hardcode_direct=yes
9343 hardcode_shlibpath_var=no
9347 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9348 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9349 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9350 else
9351 ld_shlibs=no
9354 esac
9356 if test "$ld_shlibs" = no; then
9357 runpath_var=
9358 hardcode_libdir_flag_spec=
9359 export_dynamic_flag_spec=
9360 whole_archive_flag_spec=
9362 else
9363 # PORTME fill in a description of your system's linker (not GNU ld)
9364 case $host_os in
9365 aix3*)
9366 allow_undefined_flag=unsupported
9367 always_export_symbols=yes
9368 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'
9369 # Note: this linker hardcodes the directories in LIBPATH if there
9370 # are no directories specified by -L.
9371 hardcode_minus_L=yes
9372 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9373 # Neither direct hardcoding nor static linking is supported with a
9374 # broken collect2.
9375 hardcode_direct=unsupported
9379 aix[4-9]*)
9380 if test "$host_cpu" = ia64; then
9381 # On IA64, the linker does run time linking by default, so we don't
9382 # have to do anything special.
9383 aix_use_runtimelinking=no
9384 exp_sym_flag='-Bexport'
9385 no_entry_flag=""
9386 else
9387 # If we're using GNU nm, then we don't want the "-C" option.
9388 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9389 # Also, AIX nm treats weak defined symbols like other global
9390 # defined symbols, whereas GNU nm marks them as "W".
9391 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9392 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'
9393 else
9394 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'
9396 aix_use_runtimelinking=no
9398 # Test if we are trying to use run time linking or normal
9399 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9400 # need to do runtime linking.
9401 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9402 for ld_flag in $LDFLAGS; do
9403 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9404 aix_use_runtimelinking=yes
9405 break
9407 done
9409 esac
9411 exp_sym_flag='-bexport'
9412 no_entry_flag='-bnoentry'
9415 # When large executables or shared objects are built, AIX ld can
9416 # have problems creating the table of contents. If linking a library
9417 # or program results in "error TOC overflow" add -mminimal-toc to
9418 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9419 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9421 archive_cmds=''
9422 hardcode_direct=yes
9423 hardcode_direct_absolute=yes
9424 hardcode_libdir_separator=':'
9425 link_all_deplibs=yes
9426 file_list_spec='${wl}-f,'
9428 if test "$GCC" = yes; then
9429 case $host_os in aix4.[012]|aix4.[012].*)
9430 # We only want to do this on AIX 4.2 and lower, the check
9431 # below for broken collect2 doesn't work under 4.3+
9432 collect2name=`${CC} -print-prog-name=collect2`
9433 if test -f "$collect2name" &&
9434 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9435 then
9436 # We have reworked collect2
9438 else
9439 # We have old collect2
9440 hardcode_direct=unsupported
9441 # It fails to find uninstalled libraries when the uninstalled
9442 # path is not listed in the libpath. Setting hardcode_minus_L
9443 # to unsupported forces relinking
9444 hardcode_minus_L=yes
9445 hardcode_libdir_flag_spec='-L$libdir'
9446 hardcode_libdir_separator=
9449 esac
9450 shared_flag='-shared'
9451 if test "$aix_use_runtimelinking" = yes; then
9452 shared_flag="$shared_flag "'${wl}-G'
9454 else
9455 # not using gcc
9456 if test "$host_cpu" = ia64; then
9457 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9458 # chokes on -Wl,-G. The following line is correct:
9459 shared_flag='-G'
9460 else
9461 if test "$aix_use_runtimelinking" = yes; then
9462 shared_flag='${wl}-G'
9463 else
9464 shared_flag='${wl}-bM:SRE'
9469 export_dynamic_flag_spec='${wl}-bexpall'
9470 # It seems that -bexpall does not export symbols beginning with
9471 # underscore (_), so it is better to generate a list of symbols to export.
9472 always_export_symbols=yes
9473 if test "$aix_use_runtimelinking" = yes; then
9474 # Warning - without using the other runtime loading flags (-brtl),
9475 # -berok will link without error, but may produce a broken library.
9476 allow_undefined_flag='-berok'
9477 # Determine the default libpath from the value encoded in an
9478 # empty executable.
9479 if test x$gcc_no_link = xyes; then
9480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9483 /* end confdefs.h. */
9486 main ()
9490 return 0;
9492 _ACEOF
9493 if ac_fn_c_try_link "$LINENO"; then :
9495 lt_aix_libpath_sed='
9496 /Import File Strings/,/^$/ {
9497 /^0/ {
9498 s/^0 *\(.*\)$/\1/
9502 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9503 # Check for a 64-bit object if we didn't find anything.
9504 if test -z "$aix_libpath"; then
9505 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9508 rm -f core conftest.err conftest.$ac_objext \
9509 conftest$ac_exeext conftest.$ac_ext
9510 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9512 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9513 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"
9514 else
9515 if test "$host_cpu" = ia64; then
9516 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9517 allow_undefined_flag="-z nodefs"
9518 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"
9519 else
9520 # Determine the default libpath from the value encoded in an
9521 # empty executable.
9522 if test x$gcc_no_link = xyes; then
9523 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9526 /* end confdefs.h. */
9529 main ()
9533 return 0;
9535 _ACEOF
9536 if ac_fn_c_try_link "$LINENO"; then :
9538 lt_aix_libpath_sed='
9539 /Import File Strings/,/^$/ {
9540 /^0/ {
9541 s/^0 *\(.*\)$/\1/
9545 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9546 # Check for a 64-bit object if we didn't find anything.
9547 if test -z "$aix_libpath"; then
9548 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9551 rm -f core conftest.err conftest.$ac_objext \
9552 conftest$ac_exeext conftest.$ac_ext
9553 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9555 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9556 # Warning - without using the other run time loading flags,
9557 # -berok will link without error, but may produce a broken library.
9558 no_undefined_flag=' ${wl}-bernotok'
9559 allow_undefined_flag=' ${wl}-berok'
9560 if test "$with_gnu_ld" = yes; then
9561 # We only use this code for GNU lds that support --whole-archive.
9562 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9563 else
9564 # Exported symbols can be pulled into shared objects from archives
9565 whole_archive_flag_spec='$convenience'
9567 archive_cmds_need_lc=yes
9568 # This is similar to how AIX traditionally builds its shared libraries.
9569 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'
9574 amigaos*)
9575 case $host_cpu in
9576 powerpc)
9577 # see comment about AmigaOS4 .so support
9578 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9579 archive_expsym_cmds=''
9581 m68k)
9582 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)'
9583 hardcode_libdir_flag_spec='-L$libdir'
9584 hardcode_minus_L=yes
9586 esac
9589 bsdi[45]*)
9590 export_dynamic_flag_spec=-rdynamic
9593 cygwin* | mingw* | pw32* | cegcc*)
9594 # When not using gcc, we currently assume that we are using
9595 # Microsoft Visual C++.
9596 # hardcode_libdir_flag_spec is actually meaningless, as there is
9597 # no search path for DLLs.
9598 hardcode_libdir_flag_spec=' '
9599 allow_undefined_flag=unsupported
9600 # Tell ltmain to make .lib files, not .a files.
9601 libext=lib
9602 # Tell ltmain to make .dll files, not .so files.
9603 shrext_cmds=".dll"
9604 # FIXME: Setting linknames here is a bad hack.
9605 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9606 # The linker will automatically build a .lib file if we build a DLL.
9607 old_archive_from_new_cmds='true'
9608 # FIXME: Should let the user specify the lib program.
9609 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9610 fix_srcfile_path='`cygpath -w "$srcfile"`'
9611 enable_shared_with_static_runtimes=yes
9614 darwin* | rhapsody*)
9617 archive_cmds_need_lc=no
9618 hardcode_direct=no
9619 hardcode_automatic=yes
9620 hardcode_shlibpath_var=unsupported
9621 if test "$lt_cv_ld_force_load" = "yes"; then
9622 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\"`'
9623 else
9624 whole_archive_flag_spec=''
9626 link_all_deplibs=yes
9627 allow_undefined_flag="$_lt_dar_allow_undefined"
9628 case $cc_basename in
9629 ifort*) _lt_dar_can_shared=yes ;;
9630 *) _lt_dar_can_shared=$GCC ;;
9631 esac
9632 if test "$_lt_dar_can_shared" = "yes"; then
9633 output_verbose_link_cmd=func_echo_all
9634 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9635 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9636 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}"
9637 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}"
9639 else
9640 ld_shlibs=no
9645 dgux*)
9646 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9647 hardcode_libdir_flag_spec='-L$libdir'
9648 hardcode_shlibpath_var=no
9651 freebsd1*)
9652 ld_shlibs=no
9655 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9656 # support. Future versions do this automatically, but an explicit c++rt0.o
9657 # does not break anything, and helps significantly (at the cost of a little
9658 # extra space).
9659 freebsd2.2*)
9660 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9661 hardcode_libdir_flag_spec='-R$libdir'
9662 hardcode_direct=yes
9663 hardcode_shlibpath_var=no
9666 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9667 freebsd2*)
9668 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9669 hardcode_direct=yes
9670 hardcode_minus_L=yes
9671 hardcode_shlibpath_var=no
9674 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9675 freebsd* | dragonfly*)
9676 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9677 hardcode_libdir_flag_spec='-R$libdir'
9678 hardcode_direct=yes
9679 hardcode_shlibpath_var=no
9682 hpux9*)
9683 if test "$GCC" = yes; then
9684 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'
9685 else
9686 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'
9688 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9689 hardcode_libdir_separator=:
9690 hardcode_direct=yes
9692 # hardcode_minus_L: Not really in the search PATH,
9693 # but as the default location of the library.
9694 hardcode_minus_L=yes
9695 export_dynamic_flag_spec='${wl}-E'
9698 hpux10*)
9699 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9700 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9701 else
9702 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9704 if test "$with_gnu_ld" = no; then
9705 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9706 hardcode_libdir_flag_spec_ld='+b $libdir'
9707 hardcode_libdir_separator=:
9708 hardcode_direct=yes
9709 hardcode_direct_absolute=yes
9710 export_dynamic_flag_spec='${wl}-E'
9711 # hardcode_minus_L: Not really in the search PATH,
9712 # but as the default location of the library.
9713 hardcode_minus_L=yes
9717 hpux11*)
9718 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9719 case $host_cpu in
9720 hppa*64*)
9721 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9723 ia64*)
9724 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9727 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9729 esac
9730 else
9731 case $host_cpu in
9732 hppa*64*)
9733 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9735 ia64*)
9736 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9740 # Older versions of the 11.00 compiler do not understand -b yet
9741 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9743 $as_echo_n "checking if $CC understands -b... " >&6; }
9744 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9745 $as_echo_n "(cached) " >&6
9746 else
9747 lt_cv_prog_compiler__b=no
9748 save_LDFLAGS="$LDFLAGS"
9749 LDFLAGS="$LDFLAGS -b"
9750 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9751 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9752 # The linker can only warn and ignore the option if not recognized
9753 # So say no if there are warnings
9754 if test -s conftest.err; then
9755 # Append any errors to the config.log.
9756 cat conftest.err 1>&5
9757 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9758 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9759 if diff conftest.exp conftest.er2 >/dev/null; then
9760 lt_cv_prog_compiler__b=yes
9762 else
9763 lt_cv_prog_compiler__b=yes
9766 $RM -r conftest*
9767 LDFLAGS="$save_LDFLAGS"
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9771 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9773 if test x"$lt_cv_prog_compiler__b" = xyes; then
9774 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9775 else
9776 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9780 esac
9782 if test "$with_gnu_ld" = no; then
9783 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9784 hardcode_libdir_separator=:
9786 case $host_cpu in
9787 hppa*64*|ia64*)
9788 hardcode_direct=no
9789 hardcode_shlibpath_var=no
9792 hardcode_direct=yes
9793 hardcode_direct_absolute=yes
9794 export_dynamic_flag_spec='${wl}-E'
9796 # hardcode_minus_L: Not really in the search PATH,
9797 # but as the default location of the library.
9798 hardcode_minus_L=yes
9800 esac
9804 irix5* | irix6* | nonstopux*)
9805 if test "$GCC" = yes; then
9806 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'
9807 # Try to use the -exported_symbol ld option, if it does not
9808 # work, assume that -exports_file does not work either and
9809 # implicitly export all symbols.
9810 save_LDFLAGS="$LDFLAGS"
9811 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9812 if test x$gcc_no_link = xyes; then
9813 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9816 /* end confdefs.h. */
9817 int foo(void) {}
9818 _ACEOF
9819 if ac_fn_c_try_link "$LINENO"; then :
9820 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'
9823 rm -f core conftest.err conftest.$ac_objext \
9824 conftest$ac_exeext conftest.$ac_ext
9825 LDFLAGS="$save_LDFLAGS"
9826 else
9827 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'
9828 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'
9830 archive_cmds_need_lc='no'
9831 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9832 hardcode_libdir_separator=:
9833 inherit_rpath=yes
9834 link_all_deplibs=yes
9837 netbsd*)
9838 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9839 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9840 else
9841 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9843 hardcode_libdir_flag_spec='-R$libdir'
9844 hardcode_direct=yes
9845 hardcode_shlibpath_var=no
9848 newsos6)
9849 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9850 hardcode_direct=yes
9851 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9852 hardcode_libdir_separator=:
9853 hardcode_shlibpath_var=no
9856 *nto* | *qnx*)
9859 openbsd*)
9860 if test -f /usr/libexec/ld.so; then
9861 hardcode_direct=yes
9862 hardcode_shlibpath_var=no
9863 hardcode_direct_absolute=yes
9864 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9865 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9866 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9867 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9868 export_dynamic_flag_spec='${wl}-E'
9869 else
9870 case $host_os in
9871 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9872 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9873 hardcode_libdir_flag_spec='-R$libdir'
9876 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9877 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9879 esac
9881 else
9882 ld_shlibs=no
9886 os2*)
9887 hardcode_libdir_flag_spec='-L$libdir'
9888 hardcode_minus_L=yes
9889 allow_undefined_flag=unsupported
9890 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'
9891 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9894 osf3*)
9895 if test "$GCC" = yes; then
9896 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9897 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'
9898 else
9899 allow_undefined_flag=' -expect_unresolved \*'
9900 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'
9902 archive_cmds_need_lc='no'
9903 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9904 hardcode_libdir_separator=:
9907 osf4* | osf5*) # as osf3* with the addition of -msym flag
9908 if test "$GCC" = yes; then
9909 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9910 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'
9911 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9912 else
9913 allow_undefined_flag=' -expect_unresolved \*'
9914 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'
9915 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~
9916 $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'
9918 # Both c and cxx compiler support -rpath directly
9919 hardcode_libdir_flag_spec='-rpath $libdir'
9921 archive_cmds_need_lc='no'
9922 hardcode_libdir_separator=:
9925 solaris*)
9926 no_undefined_flag=' -z defs'
9927 if test "$GCC" = yes; then
9928 wlarc='${wl}'
9929 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9931 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9932 else
9933 case `$CC -V 2>&1` in
9934 *"Compilers 5.0"*)
9935 wlarc=''
9936 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9937 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9938 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9941 wlarc='${wl}'
9942 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9943 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9944 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9946 esac
9948 hardcode_libdir_flag_spec='-R$libdir'
9949 hardcode_shlibpath_var=no
9950 case $host_os in
9951 solaris2.[0-5] | solaris2.[0-5].*) ;;
9953 # The compiler driver will combine and reorder linker options,
9954 # but understands `-z linker_flag'. GCC discards it without `$wl',
9955 # but is careful enough not to reorder.
9956 # Supported since Solaris 2.6 (maybe 2.5.1?)
9957 if test "$GCC" = yes; then
9958 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9959 else
9960 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9963 esac
9964 link_all_deplibs=yes
9967 sunos4*)
9968 if test "x$host_vendor" = xsequent; then
9969 # Use $CC to link under sequent, because it throws in some extra .o
9970 # files that make .init and .fini sections work.
9971 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9972 else
9973 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9975 hardcode_libdir_flag_spec='-L$libdir'
9976 hardcode_direct=yes
9977 hardcode_minus_L=yes
9978 hardcode_shlibpath_var=no
9981 sysv4)
9982 case $host_vendor in
9983 sni)
9984 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9985 hardcode_direct=yes # is this really true???
9987 siemens)
9988 ## LD is ld it makes a PLAMLIB
9989 ## CC just makes a GrossModule.
9990 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9991 reload_cmds='$CC -r -o $output$reload_objs'
9992 hardcode_direct=no
9994 motorola)
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9998 esac
9999 runpath_var='LD_RUN_PATH'
10000 hardcode_shlibpath_var=no
10003 sysv4.3*)
10004 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10005 hardcode_shlibpath_var=no
10006 export_dynamic_flag_spec='-Bexport'
10009 sysv4*MP*)
10010 if test -d /usr/nec; then
10011 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10012 hardcode_shlibpath_var=no
10013 runpath_var=LD_RUN_PATH
10014 hardcode_runpath_var=yes
10015 ld_shlibs=yes
10019 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10020 no_undefined_flag='${wl}-z,text'
10021 archive_cmds_need_lc=no
10022 hardcode_shlibpath_var=no
10023 runpath_var='LD_RUN_PATH'
10025 if test "$GCC" = yes; then
10026 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10027 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10028 else
10029 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10030 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10034 sysv5* | sco3.2v5* | sco5v6*)
10035 # Note: We can NOT use -z defs as we might desire, because we do not
10036 # link with -lc, and that would cause any symbols used from libc to
10037 # always be unresolved, which means just about no library would
10038 # ever link correctly. If we're not using GNU ld we use -z text
10039 # though, which does catch some bad symbols but isn't as heavy-handed
10040 # as -z defs.
10041 no_undefined_flag='${wl}-z,text'
10042 allow_undefined_flag='${wl}-z,nodefs'
10043 archive_cmds_need_lc=no
10044 hardcode_shlibpath_var=no
10045 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10046 hardcode_libdir_separator=':'
10047 link_all_deplibs=yes
10048 export_dynamic_flag_spec='${wl}-Bexport'
10049 runpath_var='LD_RUN_PATH'
10051 if test "$GCC" = yes; then
10052 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10053 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10054 else
10055 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10056 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10060 uts4*)
10061 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10062 hardcode_libdir_flag_spec='-L$libdir'
10063 hardcode_shlibpath_var=no
10067 ld_shlibs=no
10069 esac
10071 if test x$host_vendor = xsni; then
10072 case $host in
10073 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10074 export_dynamic_flag_spec='${wl}-Blargedynsym'
10076 esac
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10081 $as_echo "$ld_shlibs" >&6; }
10082 test "$ld_shlibs" = no && can_build_shared=no
10084 with_gnu_ld=$with_gnu_ld
10101 # Do we need to explicitly link libc?
10103 case "x$archive_cmds_need_lc" in
10104 x|xyes)
10105 # Assume -lc should be added
10106 archive_cmds_need_lc=yes
10108 if test "$enable_shared" = yes && test "$GCC" = yes; then
10109 case $archive_cmds in
10110 *'~'*)
10111 # FIXME: we may have to deal with multi-command sequences.
10113 '$CC '*)
10114 # Test whether the compiler implicitly links with -lc since on some
10115 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10116 # to ld, don't add -lc before -lgcc.
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10118 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10119 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10120 $as_echo_n "(cached) " >&6
10121 else
10122 $RM conftest*
10123 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10126 (eval $ac_compile) 2>&5
10127 ac_status=$?
10128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10129 test $ac_status = 0; } 2>conftest.err; then
10130 soname=conftest
10131 lib=conftest
10132 libobjs=conftest.$ac_objext
10133 deplibs=
10134 wl=$lt_prog_compiler_wl
10135 pic_flag=$lt_prog_compiler_pic
10136 compiler_flags=-v
10137 linker_flags=-v
10138 verstring=
10139 output_objdir=.
10140 libname=conftest
10141 lt_save_allow_undefined_flag=$allow_undefined_flag
10142 allow_undefined_flag=
10143 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10144 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10145 ac_status=$?
10146 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10147 test $ac_status = 0; }
10148 then
10149 lt_cv_archive_cmds_need_lc=no
10150 else
10151 lt_cv_archive_cmds_need_lc=yes
10153 allow_undefined_flag=$lt_save_allow_undefined_flag
10154 else
10155 cat conftest.err 1>&5
10157 $RM conftest*
10160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10161 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10162 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10164 esac
10167 esac
10325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10326 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10328 if test "$GCC" = yes; then
10329 case $host_os in
10330 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10331 *) lt_awk_arg="/^libraries:/" ;;
10332 esac
10333 case $host_os in
10334 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10335 *) lt_sed_strip_eq="s,=/,/,g" ;;
10336 esac
10337 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10338 case $lt_search_path_spec in
10339 *\;*)
10340 # if the path contains ";" then we assume it to be the separator
10341 # otherwise default to the standard path separator (i.e. ":") - it is
10342 # assumed that no part of a normal pathname contains ";" but that should
10343 # okay in the real world where ";" in dirpaths is itself problematic.
10344 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10347 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10349 esac
10350 # Ok, now we have the path, separated by spaces, we can step through it
10351 # and add multilib dir if necessary.
10352 lt_tmp_lt_search_path_spec=
10353 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10354 for lt_sys_path in $lt_search_path_spec; do
10355 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10356 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10357 else
10358 test -d "$lt_sys_path" && \
10359 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10361 done
10362 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10363 BEGIN {RS=" "; FS="/|\n";} {
10364 lt_foo="";
10365 lt_count=0;
10366 for (lt_i = NF; lt_i > 0; lt_i--) {
10367 if ($lt_i != "" && $lt_i != ".") {
10368 if ($lt_i == "..") {
10369 lt_count++;
10370 } else {
10371 if (lt_count == 0) {
10372 lt_foo="/" $lt_i lt_foo;
10373 } else {
10374 lt_count--;
10379 if (lt_foo != "") { lt_freq[lt_foo]++; }
10380 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10382 # AWK program above erroneously prepends '/' to C:/dos/paths
10383 # for these hosts.
10384 case $host_os in
10385 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10386 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10387 esac
10388 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10389 else
10390 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10392 library_names_spec=
10393 libname_spec='lib$name'
10394 soname_spec=
10395 shrext_cmds=".so"
10396 postinstall_cmds=
10397 postuninstall_cmds=
10398 finish_cmds=
10399 finish_eval=
10400 shlibpath_var=
10401 shlibpath_overrides_runpath=unknown
10402 version_type=none
10403 dynamic_linker="$host_os ld.so"
10404 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10405 need_lib_prefix=unknown
10406 hardcode_into_libs=no
10408 # when you set need_version to no, make sure it does not cause -set_version
10409 # flags to be left without arguments
10410 need_version=unknown
10412 case $host_os in
10413 aix3*)
10414 version_type=linux
10415 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10416 shlibpath_var=LIBPATH
10418 # AIX 3 has no versioning support, so we append a major version to the name.
10419 soname_spec='${libname}${release}${shared_ext}$major'
10422 aix[4-9]*)
10423 version_type=linux
10424 need_lib_prefix=no
10425 need_version=no
10426 hardcode_into_libs=yes
10427 if test "$host_cpu" = ia64; then
10428 # AIX 5 supports IA64
10429 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10430 shlibpath_var=LD_LIBRARY_PATH
10431 else
10432 # With GCC up to 2.95.x, collect2 would create an import file
10433 # for dependence libraries. The import file would start with
10434 # the line `#! .'. This would cause the generated library to
10435 # depend on `.', always an invalid library. This was fixed in
10436 # development snapshots of GCC prior to 3.0.
10437 case $host_os in
10438 aix4 | aix4.[01] | aix4.[01].*)
10439 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10440 echo ' yes '
10441 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10443 else
10444 can_build_shared=no
10447 esac
10448 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10449 # soname into executable. Probably we can add versioning support to
10450 # collect2, so additional links can be useful in future.
10451 if test "$aix_use_runtimelinking" = yes; then
10452 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10453 # instead of lib<name>.a to let people know that these are not
10454 # typical AIX shared libraries.
10455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10456 else
10457 # We preserve .a as extension for shared libraries through AIX4.2
10458 # and later when we are not doing run time linking.
10459 library_names_spec='${libname}${release}.a $libname.a'
10460 soname_spec='${libname}${release}${shared_ext}$major'
10462 shlibpath_var=LIBPATH
10466 amigaos*)
10467 case $host_cpu in
10468 powerpc)
10469 # Since July 2007 AmigaOS4 officially supports .so libraries.
10470 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10473 m68k)
10474 library_names_spec='$libname.ixlibrary $libname.a'
10475 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10476 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'
10478 esac
10481 beos*)
10482 library_names_spec='${libname}${shared_ext}'
10483 dynamic_linker="$host_os ld.so"
10484 shlibpath_var=LIBRARY_PATH
10487 bsdi[45]*)
10488 version_type=linux
10489 need_version=no
10490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10491 soname_spec='${libname}${release}${shared_ext}$major'
10492 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10493 shlibpath_var=LD_LIBRARY_PATH
10494 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10495 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10496 # the default ld.so.conf also contains /usr/contrib/lib and
10497 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10498 # libtool to hard-code these into programs
10501 cygwin* | mingw* | pw32* | cegcc*)
10502 version_type=windows
10503 shrext_cmds=".dll"
10504 need_version=no
10505 need_lib_prefix=no
10507 case $GCC,$host_os in
10508 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10509 library_names_spec='$libname.dll.a'
10510 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10511 postinstall_cmds='base_file=`basename \${file}`~
10512 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10513 dldir=$destdir/`dirname \$dlpath`~
10514 test -d \$dldir || mkdir -p \$dldir~
10515 $install_prog $dir/$dlname \$dldir/$dlname~
10516 chmod a+x \$dldir/$dlname~
10517 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10518 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10520 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10521 dlpath=$dir/\$dldll~
10522 $RM \$dlpath'
10523 shlibpath_overrides_runpath=yes
10525 case $host_os in
10526 cygwin*)
10527 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10528 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10530 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10532 mingw* | cegcc*)
10533 # MinGW DLLs use traditional 'lib' prefix
10534 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10536 pw32*)
10537 # pw32 DLLs use 'pw' prefix rather than 'lib'
10538 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10540 esac
10544 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10546 esac
10547 dynamic_linker='Win32 ld.exe'
10548 # FIXME: first we should search . and the directory the executable is in
10549 shlibpath_var=PATH
10552 darwin* | rhapsody*)
10553 dynamic_linker="$host_os dyld"
10554 version_type=darwin
10555 need_lib_prefix=no
10556 need_version=no
10557 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10558 soname_spec='${libname}${release}${major}$shared_ext'
10559 shlibpath_overrides_runpath=yes
10560 shlibpath_var=DYLD_LIBRARY_PATH
10561 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10563 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10564 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10567 dgux*)
10568 version_type=linux
10569 need_lib_prefix=no
10570 need_version=no
10571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10572 soname_spec='${libname}${release}${shared_ext}$major'
10573 shlibpath_var=LD_LIBRARY_PATH
10576 freebsd1*)
10577 dynamic_linker=no
10580 freebsd* | dragonfly*)
10581 # DragonFly does not have aout. When/if they implement a new
10582 # versioning mechanism, adjust this.
10583 if test -x /usr/bin/objformat; then
10584 objformat=`/usr/bin/objformat`
10585 else
10586 case $host_os in
10587 freebsd[123]*) objformat=aout ;;
10588 *) objformat=elf ;;
10589 esac
10591 version_type=freebsd-$objformat
10592 case $version_type in
10593 freebsd-elf*)
10594 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10595 need_version=no
10596 need_lib_prefix=no
10598 freebsd-*)
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10600 need_version=yes
10602 esac
10603 shlibpath_var=LD_LIBRARY_PATH
10604 case $host_os in
10605 freebsd2*)
10606 shlibpath_overrides_runpath=yes
10608 freebsd3.[01]* | freebsdelf3.[01]*)
10609 shlibpath_overrides_runpath=yes
10610 hardcode_into_libs=yes
10612 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10613 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10614 shlibpath_overrides_runpath=no
10615 hardcode_into_libs=yes
10617 *) # from 4.6 on, and DragonFly
10618 shlibpath_overrides_runpath=yes
10619 hardcode_into_libs=yes
10621 esac
10624 gnu*)
10625 version_type=linux
10626 need_lib_prefix=no
10627 need_version=no
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10629 soname_spec='${libname}${release}${shared_ext}$major'
10630 shlibpath_var=LD_LIBRARY_PATH
10631 hardcode_into_libs=yes
10634 haiku*)
10635 version_type=linux
10636 need_lib_prefix=no
10637 need_version=no
10638 dynamic_linker="$host_os runtime_loader"
10639 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10640 soname_spec='${libname}${release}${shared_ext}$major'
10641 shlibpath_var=LIBRARY_PATH
10642 shlibpath_overrides_runpath=yes
10643 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10644 hardcode_into_libs=yes
10647 hpux9* | hpux10* | hpux11*)
10648 # Give a soname corresponding to the major version so that dld.sl refuses to
10649 # link against other versions.
10650 version_type=sunos
10651 need_lib_prefix=no
10652 need_version=no
10653 case $host_cpu in
10654 ia64*)
10655 shrext_cmds='.so'
10656 hardcode_into_libs=yes
10657 dynamic_linker="$host_os dld.so"
10658 shlibpath_var=LD_LIBRARY_PATH
10659 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10660 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10661 soname_spec='${libname}${release}${shared_ext}$major'
10662 if test "X$HPUX_IA64_MODE" = X32; then
10663 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10664 else
10665 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10667 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10669 hppa*64*)
10670 shrext_cmds='.sl'
10671 hardcode_into_libs=yes
10672 dynamic_linker="$host_os dld.sl"
10673 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10674 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10676 soname_spec='${libname}${release}${shared_ext}$major'
10677 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10678 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10681 shrext_cmds='.sl'
10682 dynamic_linker="$host_os dld.sl"
10683 shlibpath_var=SHLIB_PATH
10684 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10686 soname_spec='${libname}${release}${shared_ext}$major'
10688 esac
10689 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10690 postinstall_cmds='chmod 555 $lib'
10691 # or fails outright, so override atomically:
10692 install_override_mode=555
10695 interix[3-9]*)
10696 version_type=linux
10697 need_lib_prefix=no
10698 need_version=no
10699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10700 soname_spec='${libname}${release}${shared_ext}$major'
10701 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 shlibpath_overrides_runpath=no
10704 hardcode_into_libs=yes
10707 irix5* | irix6* | nonstopux*)
10708 case $host_os in
10709 nonstopux*) version_type=nonstopux ;;
10711 if test "$lt_cv_prog_gnu_ld" = yes; then
10712 version_type=linux
10713 else
10714 version_type=irix
10715 fi ;;
10716 esac
10717 need_lib_prefix=no
10718 need_version=no
10719 soname_spec='${libname}${release}${shared_ext}$major'
10720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10721 case $host_os in
10722 irix5* | nonstopux*)
10723 libsuff= shlibsuff=
10726 case $LD in # libtool.m4 will add one of these switches to LD
10727 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10728 libsuff= shlibsuff= libmagic=32-bit;;
10729 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10730 libsuff=32 shlibsuff=N32 libmagic=N32;;
10731 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10732 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10733 *) libsuff= shlibsuff= libmagic=never-match;;
10734 esac
10736 esac
10737 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10738 shlibpath_overrides_runpath=no
10739 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10740 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10741 hardcode_into_libs=yes
10744 # No shared lib support for Linux oldld, aout, or coff.
10745 linux*oldld* | linux*aout* | linux*coff*)
10746 dynamic_linker=no
10749 # This must be Linux ELF.
10750 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10751 version_type=linux
10752 need_lib_prefix=no
10753 need_version=no
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10755 soname_spec='${libname}${release}${shared_ext}$major'
10756 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10757 shlibpath_var=LD_LIBRARY_PATH
10758 shlibpath_overrides_runpath=no
10760 # Some binutils ld are patched to set DT_RUNPATH
10761 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10762 $as_echo_n "(cached) " >&6
10763 else
10764 lt_cv_shlibpath_overrides_runpath=no
10765 save_LDFLAGS=$LDFLAGS
10766 save_libdir=$libdir
10767 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10768 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10769 if test x$gcc_no_link = xyes; then
10770 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10773 /* end confdefs.h. */
10776 main ()
10780 return 0;
10782 _ACEOF
10783 if ac_fn_c_try_link "$LINENO"; then :
10784 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10785 lt_cv_shlibpath_overrides_runpath=yes
10788 rm -f core conftest.err conftest.$ac_objext \
10789 conftest$ac_exeext conftest.$ac_ext
10790 LDFLAGS=$save_LDFLAGS
10791 libdir=$save_libdir
10795 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10797 # This implies no fast_install, which is unacceptable.
10798 # Some rework will be needed to allow for fast_install
10799 # before this can be enabled.
10800 hardcode_into_libs=yes
10802 # Append ld.so.conf contents to the search path
10803 if test -f /etc/ld.so.conf; then
10804 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' ' '`
10805 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10808 # We used to test for /lib/ld.so.1 and disable shared libraries on
10809 # powerpc, because MkLinux only supported shared libraries with the
10810 # GNU dynamic linker. Since this was broken with cross compilers,
10811 # most powerpc-linux boxes support dynamic linking these days and
10812 # people can always --disable-shared, the test was removed, and we
10813 # assume the GNU/Linux dynamic linker is in use.
10814 dynamic_linker='GNU/Linux ld.so'
10817 netbsd*)
10818 version_type=sunos
10819 need_lib_prefix=no
10820 need_version=no
10821 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10823 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10824 dynamic_linker='NetBSD (a.out) ld.so'
10825 else
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 dynamic_linker='NetBSD ld.elf_so'
10830 shlibpath_var=LD_LIBRARY_PATH
10831 shlibpath_overrides_runpath=yes
10832 hardcode_into_libs=yes
10835 newsos6)
10836 version_type=linux
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 shlibpath_var=LD_LIBRARY_PATH
10839 shlibpath_overrides_runpath=yes
10842 *nto* | *qnx*)
10843 version_type=qnx
10844 need_lib_prefix=no
10845 need_version=no
10846 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10847 soname_spec='${libname}${release}${shared_ext}$major'
10848 shlibpath_var=LD_LIBRARY_PATH
10849 shlibpath_overrides_runpath=no
10850 hardcode_into_libs=yes
10851 dynamic_linker='ldqnx.so'
10854 openbsd*)
10855 version_type=sunos
10856 sys_lib_dlsearch_path_spec="/usr/lib"
10857 need_lib_prefix=no
10858 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10859 case $host_os in
10860 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10861 *) need_version=no ;;
10862 esac
10863 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10864 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10865 shlibpath_var=LD_LIBRARY_PATH
10866 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10867 case $host_os in
10868 openbsd2.[89] | openbsd2.[89].*)
10869 shlibpath_overrides_runpath=no
10872 shlibpath_overrides_runpath=yes
10874 esac
10875 else
10876 shlibpath_overrides_runpath=yes
10880 os2*)
10881 libname_spec='$name'
10882 shrext_cmds=".dll"
10883 need_lib_prefix=no
10884 library_names_spec='$libname${shared_ext} $libname.a'
10885 dynamic_linker='OS/2 ld.exe'
10886 shlibpath_var=LIBPATH
10889 osf3* | osf4* | osf5*)
10890 version_type=osf
10891 need_lib_prefix=no
10892 need_version=no
10893 soname_spec='${libname}${release}${shared_ext}$major'
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 shlibpath_var=LD_LIBRARY_PATH
10896 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10897 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10900 rdos*)
10901 dynamic_linker=no
10904 solaris*)
10905 version_type=linux
10906 need_lib_prefix=no
10907 need_version=no
10908 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10912 hardcode_into_libs=yes
10913 # ldd complains unless libraries are executable
10914 postinstall_cmds='chmod +x $lib'
10917 sunos4*)
10918 version_type=sunos
10919 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10920 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 shlibpath_overrides_runpath=yes
10923 if test "$with_gnu_ld" = yes; then
10924 need_lib_prefix=no
10926 need_version=yes
10929 sysv4 | sysv4.3*)
10930 version_type=linux
10931 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10932 soname_spec='${libname}${release}${shared_ext}$major'
10933 shlibpath_var=LD_LIBRARY_PATH
10934 case $host_vendor in
10935 sni)
10936 shlibpath_overrides_runpath=no
10937 need_lib_prefix=no
10938 runpath_var=LD_RUN_PATH
10940 siemens)
10941 need_lib_prefix=no
10943 motorola)
10944 need_lib_prefix=no
10945 need_version=no
10946 shlibpath_overrides_runpath=no
10947 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10949 esac
10952 sysv4*MP*)
10953 if test -d /usr/nec ;then
10954 version_type=linux
10955 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10956 soname_spec='$libname${shared_ext}.$major'
10957 shlibpath_var=LD_LIBRARY_PATH
10961 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10962 version_type=freebsd-elf
10963 need_lib_prefix=no
10964 need_version=no
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 shlibpath_overrides_runpath=yes
10969 hardcode_into_libs=yes
10970 if test "$with_gnu_ld" = yes; then
10971 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10972 else
10973 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10974 case $host_os in
10975 sco3.2v5*)
10976 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10978 esac
10980 sys_lib_dlsearch_path_spec='/usr/lib'
10983 tpf*)
10984 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10985 version_type=linux
10986 need_lib_prefix=no
10987 need_version=no
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 shlibpath_var=LD_LIBRARY_PATH
10990 shlibpath_overrides_runpath=no
10991 hardcode_into_libs=yes
10994 uts4*)
10995 version_type=linux
10996 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10997 soname_spec='${libname}${release}${shared_ext}$major'
10998 shlibpath_var=LD_LIBRARY_PATH
11002 dynamic_linker=no
11004 esac
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11006 $as_echo "$dynamic_linker" >&6; }
11007 test "$dynamic_linker" = no && can_build_shared=no
11009 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11010 if test "$GCC" = yes; then
11011 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11014 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11015 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11017 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11018 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11113 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11114 hardcode_action=
11115 if test -n "$hardcode_libdir_flag_spec" ||
11116 test -n "$runpath_var" ||
11117 test "X$hardcode_automatic" = "Xyes" ; then
11119 # We can hardcode non-existent directories.
11120 if test "$hardcode_direct" != no &&
11121 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11122 # have to relink, otherwise we might link with an installed library
11123 # when we should be linking with a yet-to-be-installed one
11124 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11125 test "$hardcode_minus_L" != no; then
11126 # Linking always hardcodes the temporary library directory.
11127 hardcode_action=relink
11128 else
11129 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11130 hardcode_action=immediate
11132 else
11133 # We cannot hardcode anything, or else we can only hardcode existing
11134 # directories.
11135 hardcode_action=unsupported
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11138 $as_echo "$hardcode_action" >&6; }
11140 if test "$hardcode_action" = relink ||
11141 test "$inherit_rpath" = yes; then
11142 # Fast installation is not supported
11143 enable_fast_install=no
11144 elif test "$shlibpath_overrides_runpath" = yes ||
11145 test "$enable_shared" = no; then
11146 # Fast installation is not necessary
11147 enable_fast_install=needless
11155 if test "x$enable_dlopen" != xyes; then
11156 enable_dlopen=unknown
11157 enable_dlopen_self=unknown
11158 enable_dlopen_self_static=unknown
11159 else
11160 lt_cv_dlopen=no
11161 lt_cv_dlopen_libs=
11163 case $host_os in
11164 beos*)
11165 lt_cv_dlopen="load_add_on"
11166 lt_cv_dlopen_libs=
11167 lt_cv_dlopen_self=yes
11170 mingw* | pw32* | cegcc*)
11171 lt_cv_dlopen="LoadLibrary"
11172 lt_cv_dlopen_libs=
11175 cygwin*)
11176 lt_cv_dlopen="dlopen"
11177 lt_cv_dlopen_libs=
11180 darwin*)
11181 # if libdl is installed we need to link against it
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11183 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11184 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11185 $as_echo_n "(cached) " >&6
11186 else
11187 ac_check_lib_save_LIBS=$LIBS
11188 LIBS="-ldl $LIBS"
11189 if test x$gcc_no_link = xyes; then
11190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11193 /* end confdefs.h. */
11195 /* Override any GCC internal prototype to avoid an error.
11196 Use char because int might match the return type of a GCC
11197 builtin and then its argument prototype would still apply. */
11198 #ifdef __cplusplus
11199 extern "C"
11200 #endif
11201 char dlopen ();
11203 main ()
11205 return dlopen ();
11207 return 0;
11209 _ACEOF
11210 if ac_fn_c_try_link "$LINENO"; then :
11211 ac_cv_lib_dl_dlopen=yes
11212 else
11213 ac_cv_lib_dl_dlopen=no
11215 rm -f core conftest.err conftest.$ac_objext \
11216 conftest$ac_exeext conftest.$ac_ext
11217 LIBS=$ac_check_lib_save_LIBS
11219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11220 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11221 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11222 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11223 else
11225 lt_cv_dlopen="dyld"
11226 lt_cv_dlopen_libs=
11227 lt_cv_dlopen_self=yes
11234 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11235 if test "x$ac_cv_func_shl_load" = x""yes; then :
11236 lt_cv_dlopen="shl_load"
11237 else
11238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11239 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11240 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11241 $as_echo_n "(cached) " >&6
11242 else
11243 ac_check_lib_save_LIBS=$LIBS
11244 LIBS="-ldld $LIBS"
11245 if test x$gcc_no_link = xyes; then
11246 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11251 /* Override any GCC internal prototype to avoid an error.
11252 Use char because int might match the return type of a GCC
11253 builtin and then its argument prototype would still apply. */
11254 #ifdef __cplusplus
11255 extern "C"
11256 #endif
11257 char shl_load ();
11259 main ()
11261 return shl_load ();
11263 return 0;
11265 _ACEOF
11266 if ac_fn_c_try_link "$LINENO"; then :
11267 ac_cv_lib_dld_shl_load=yes
11268 else
11269 ac_cv_lib_dld_shl_load=no
11271 rm -f core conftest.err conftest.$ac_objext \
11272 conftest$ac_exeext conftest.$ac_ext
11273 LIBS=$ac_check_lib_save_LIBS
11275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11276 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11277 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11278 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11279 else
11280 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11281 if test "x$ac_cv_func_dlopen" = x""yes; then :
11282 lt_cv_dlopen="dlopen"
11283 else
11284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11285 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11286 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11287 $as_echo_n "(cached) " >&6
11288 else
11289 ac_check_lib_save_LIBS=$LIBS
11290 LIBS="-ldl $LIBS"
11291 if test x$gcc_no_link = xyes; then
11292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11295 /* end confdefs.h. */
11297 /* Override any GCC internal prototype to avoid an error.
11298 Use char because int might match the return type of a GCC
11299 builtin and then its argument prototype would still apply. */
11300 #ifdef __cplusplus
11301 extern "C"
11302 #endif
11303 char dlopen ();
11305 main ()
11307 return dlopen ();
11309 return 0;
11311 _ACEOF
11312 if ac_fn_c_try_link "$LINENO"; then :
11313 ac_cv_lib_dl_dlopen=yes
11314 else
11315 ac_cv_lib_dl_dlopen=no
11317 rm -f core conftest.err conftest.$ac_objext \
11318 conftest$ac_exeext conftest.$ac_ext
11319 LIBS=$ac_check_lib_save_LIBS
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11322 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11323 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11324 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11325 else
11326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11327 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11328 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11329 $as_echo_n "(cached) " >&6
11330 else
11331 ac_check_lib_save_LIBS=$LIBS
11332 LIBS="-lsvld $LIBS"
11333 if test x$gcc_no_link = xyes; then
11334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11337 /* end confdefs.h. */
11339 /* Override any GCC internal prototype to avoid an error.
11340 Use char because int might match the return type of a GCC
11341 builtin and then its argument prototype would still apply. */
11342 #ifdef __cplusplus
11343 extern "C"
11344 #endif
11345 char dlopen ();
11347 main ()
11349 return dlopen ();
11351 return 0;
11353 _ACEOF
11354 if ac_fn_c_try_link "$LINENO"; then :
11355 ac_cv_lib_svld_dlopen=yes
11356 else
11357 ac_cv_lib_svld_dlopen=no
11359 rm -f core conftest.err conftest.$ac_objext \
11360 conftest$ac_exeext conftest.$ac_ext
11361 LIBS=$ac_check_lib_save_LIBS
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11364 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11365 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11366 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11367 else
11368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11369 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11370 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11371 $as_echo_n "(cached) " >&6
11372 else
11373 ac_check_lib_save_LIBS=$LIBS
11374 LIBS="-ldld $LIBS"
11375 if test x$gcc_no_link = xyes; then
11376 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11379 /* end confdefs.h. */
11381 /* Override any GCC internal prototype to avoid an error.
11382 Use char because int might match the return type of a GCC
11383 builtin and then its argument prototype would still apply. */
11384 #ifdef __cplusplus
11385 extern "C"
11386 #endif
11387 char dld_link ();
11389 main ()
11391 return dld_link ();
11393 return 0;
11395 _ACEOF
11396 if ac_fn_c_try_link "$LINENO"; then :
11397 ac_cv_lib_dld_dld_link=yes
11398 else
11399 ac_cv_lib_dld_dld_link=no
11401 rm -f core conftest.err conftest.$ac_objext \
11402 conftest$ac_exeext conftest.$ac_ext
11403 LIBS=$ac_check_lib_save_LIBS
11405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11406 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11407 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11408 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11427 esac
11429 if test "x$lt_cv_dlopen" != xno; then
11430 enable_dlopen=yes
11431 else
11432 enable_dlopen=no
11435 case $lt_cv_dlopen in
11436 dlopen)
11437 save_CPPFLAGS="$CPPFLAGS"
11438 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11440 save_LDFLAGS="$LDFLAGS"
11441 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11443 save_LIBS="$LIBS"
11444 LIBS="$lt_cv_dlopen_libs $LIBS"
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11447 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11448 if test "${lt_cv_dlopen_self+set}" = set; then :
11449 $as_echo_n "(cached) " >&6
11450 else
11451 if test "$cross_compiling" = yes; then :
11452 lt_cv_dlopen_self=cross
11453 else
11454 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11455 lt_status=$lt_dlunknown
11456 cat > conftest.$ac_ext <<_LT_EOF
11457 #line 11457 "configure"
11458 #include "confdefs.h"
11460 #if HAVE_DLFCN_H
11461 #include <dlfcn.h>
11462 #endif
11464 #include <stdio.h>
11466 #ifdef RTLD_GLOBAL
11467 # define LT_DLGLOBAL RTLD_GLOBAL
11468 #else
11469 # ifdef DL_GLOBAL
11470 # define LT_DLGLOBAL DL_GLOBAL
11471 # else
11472 # define LT_DLGLOBAL 0
11473 # endif
11474 #endif
11476 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11477 find out it does not work in some platform. */
11478 #ifndef LT_DLLAZY_OR_NOW
11479 # ifdef RTLD_LAZY
11480 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11481 # else
11482 # ifdef DL_LAZY
11483 # define LT_DLLAZY_OR_NOW DL_LAZY
11484 # else
11485 # ifdef RTLD_NOW
11486 # define LT_DLLAZY_OR_NOW RTLD_NOW
11487 # else
11488 # ifdef DL_NOW
11489 # define LT_DLLAZY_OR_NOW DL_NOW
11490 # else
11491 # define LT_DLLAZY_OR_NOW 0
11492 # endif
11493 # endif
11494 # endif
11495 # endif
11496 #endif
11498 /* When -fvisbility=hidden is used, assume the code has been annotated
11499 correspondingly for the symbols needed. */
11500 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11501 void fnord () __attribute__((visibility("default")));
11502 #endif
11504 void fnord () { int i=42; }
11505 int main ()
11507 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11508 int status = $lt_dlunknown;
11510 if (self)
11512 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11513 else
11515 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11516 else puts (dlerror ());
11518 /* dlclose (self); */
11520 else
11521 puts (dlerror ());
11523 return status;
11525 _LT_EOF
11526 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11527 (eval $ac_link) 2>&5
11528 ac_status=$?
11529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11530 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11531 (./conftest; exit; ) >&5 2>/dev/null
11532 lt_status=$?
11533 case x$lt_status in
11534 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11535 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11536 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11537 esac
11538 else :
11539 # compilation failed
11540 lt_cv_dlopen_self=no
11543 rm -fr conftest*
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11548 $as_echo "$lt_cv_dlopen_self" >&6; }
11550 if test "x$lt_cv_dlopen_self" = xyes; then
11551 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11553 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11554 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11555 $as_echo_n "(cached) " >&6
11556 else
11557 if test "$cross_compiling" = yes; then :
11558 lt_cv_dlopen_self_static=cross
11559 else
11560 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11561 lt_status=$lt_dlunknown
11562 cat > conftest.$ac_ext <<_LT_EOF
11563 #line 11563 "configure"
11564 #include "confdefs.h"
11566 #if HAVE_DLFCN_H
11567 #include <dlfcn.h>
11568 #endif
11570 #include <stdio.h>
11572 #ifdef RTLD_GLOBAL
11573 # define LT_DLGLOBAL RTLD_GLOBAL
11574 #else
11575 # ifdef DL_GLOBAL
11576 # define LT_DLGLOBAL DL_GLOBAL
11577 # else
11578 # define LT_DLGLOBAL 0
11579 # endif
11580 #endif
11582 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11583 find out it does not work in some platform. */
11584 #ifndef LT_DLLAZY_OR_NOW
11585 # ifdef RTLD_LAZY
11586 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11587 # else
11588 # ifdef DL_LAZY
11589 # define LT_DLLAZY_OR_NOW DL_LAZY
11590 # else
11591 # ifdef RTLD_NOW
11592 # define LT_DLLAZY_OR_NOW RTLD_NOW
11593 # else
11594 # ifdef DL_NOW
11595 # define LT_DLLAZY_OR_NOW DL_NOW
11596 # else
11597 # define LT_DLLAZY_OR_NOW 0
11598 # endif
11599 # endif
11600 # endif
11601 # endif
11602 #endif
11604 /* When -fvisbility=hidden is used, assume the code has been annotated
11605 correspondingly for the symbols needed. */
11606 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11607 void fnord () __attribute__((visibility("default")));
11608 #endif
11610 void fnord () { int i=42; }
11611 int main ()
11613 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11614 int status = $lt_dlunknown;
11616 if (self)
11618 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11619 else
11621 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11622 else puts (dlerror ());
11624 /* dlclose (self); */
11626 else
11627 puts (dlerror ());
11629 return status;
11631 _LT_EOF
11632 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11633 (eval $ac_link) 2>&5
11634 ac_status=$?
11635 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11636 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11637 (./conftest; exit; ) >&5 2>/dev/null
11638 lt_status=$?
11639 case x$lt_status in
11640 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11641 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11642 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11643 esac
11644 else :
11645 # compilation failed
11646 lt_cv_dlopen_self_static=no
11649 rm -fr conftest*
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11654 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11657 CPPFLAGS="$save_CPPFLAGS"
11658 LDFLAGS="$save_LDFLAGS"
11659 LIBS="$save_LIBS"
11661 esac
11663 case $lt_cv_dlopen_self in
11664 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11665 *) enable_dlopen_self=unknown ;;
11666 esac
11668 case $lt_cv_dlopen_self_static in
11669 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11670 *) enable_dlopen_self_static=unknown ;;
11671 esac
11690 striplib=
11691 old_striplib=
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11693 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11694 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11695 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11696 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11698 $as_echo "yes" >&6; }
11699 else
11700 # FIXME - insert some real tests, host_os isn't really good enough
11701 case $host_os in
11702 darwin*)
11703 if test -n "$STRIP" ; then
11704 striplib="$STRIP -x"
11705 old_striplib="$STRIP -S"
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11707 $as_echo "yes" >&6; }
11708 else
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11710 $as_echo "no" >&6; }
11714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11715 $as_echo "no" >&6; }
11717 esac
11731 # Report which library types will actually be built
11732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11733 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11735 $as_echo "$can_build_shared" >&6; }
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11738 $as_echo_n "checking whether to build shared libraries... " >&6; }
11739 test "$can_build_shared" = "no" && enable_shared=no
11741 # On AIX, shared libraries and static libraries use the same namespace, and
11742 # are all built from PIC.
11743 case $host_os in
11744 aix3*)
11745 test "$enable_shared" = yes && enable_static=no
11746 if test -n "$RANLIB"; then
11747 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11748 postinstall_cmds='$RANLIB $lib'
11752 aix[4-9]*)
11753 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11754 test "$enable_shared" = yes && enable_static=no
11757 esac
11758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11759 $as_echo "$enable_shared" >&6; }
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11762 $as_echo_n "checking whether to build static libraries... " >&6; }
11763 # Make sure either enable_shared or enable_static is yes.
11764 test "$enable_shared" = yes || enable_static=yes
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11766 $as_echo "$enable_static" >&6; }
11772 ac_ext=c
11773 ac_cpp='$CPP $CPPFLAGS'
11774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11778 CC="$lt_save_CC"
11780 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11781 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11782 (test "X$CXX" != "Xg++"))) ; then
11783 ac_ext=cpp
11784 ac_cpp='$CXXCPP $CPPFLAGS'
11785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11789 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11790 if test -z "$CXXCPP"; then
11791 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11792 $as_echo_n "(cached) " >&6
11793 else
11794 # Double quotes because CXXCPP needs to be expanded
11795 for CXXCPP in "$CXX -E" "/lib/cpp"
11797 ac_preproc_ok=false
11798 for ac_cxx_preproc_warn_flag in '' yes
11800 # Use a header file that comes with gcc, so configuring glibc
11801 # with a fresh cross-compiler works.
11802 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11803 # <limits.h> exists even on freestanding compilers.
11804 # On the NeXT, cc -E runs the code through the compiler's parser,
11805 # not just through cpp. "Syntax error" is here to catch this case.
11806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11807 /* end confdefs.h. */
11808 #ifdef __STDC__
11809 # include <limits.h>
11810 #else
11811 # include <assert.h>
11812 #endif
11813 Syntax error
11814 _ACEOF
11815 if ac_fn_cxx_try_cpp "$LINENO"; then :
11817 else
11818 # Broken: fails on valid input.
11819 continue
11821 rm -f conftest.err conftest.$ac_ext
11823 # OK, works on sane cases. Now check whether nonexistent headers
11824 # can be detected and how.
11825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11826 /* end confdefs.h. */
11827 #include <ac_nonexistent.h>
11828 _ACEOF
11829 if ac_fn_cxx_try_cpp "$LINENO"; then :
11830 # Broken: success on invalid input.
11831 continue
11832 else
11833 # Passes both tests.
11834 ac_preproc_ok=:
11835 break
11837 rm -f conftest.err conftest.$ac_ext
11839 done
11840 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11841 rm -f conftest.err conftest.$ac_ext
11842 if $ac_preproc_ok; then :
11843 break
11846 done
11847 ac_cv_prog_CXXCPP=$CXXCPP
11850 CXXCPP=$ac_cv_prog_CXXCPP
11851 else
11852 ac_cv_prog_CXXCPP=$CXXCPP
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11855 $as_echo "$CXXCPP" >&6; }
11856 ac_preproc_ok=false
11857 for ac_cxx_preproc_warn_flag in '' yes
11859 # Use a header file that comes with gcc, so configuring glibc
11860 # with a fresh cross-compiler works.
11861 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11862 # <limits.h> exists even on freestanding compilers.
11863 # On the NeXT, cc -E runs the code through the compiler's parser,
11864 # not just through cpp. "Syntax error" is here to catch this case.
11865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11866 /* end confdefs.h. */
11867 #ifdef __STDC__
11868 # include <limits.h>
11869 #else
11870 # include <assert.h>
11871 #endif
11872 Syntax error
11873 _ACEOF
11874 if ac_fn_cxx_try_cpp "$LINENO"; then :
11876 else
11877 # Broken: fails on valid input.
11878 continue
11880 rm -f conftest.err conftest.$ac_ext
11882 # OK, works on sane cases. Now check whether nonexistent headers
11883 # can be detected and how.
11884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11885 /* end confdefs.h. */
11886 #include <ac_nonexistent.h>
11887 _ACEOF
11888 if ac_fn_cxx_try_cpp "$LINENO"; then :
11889 # Broken: success on invalid input.
11890 continue
11891 else
11892 # Passes both tests.
11893 ac_preproc_ok=:
11894 break
11896 rm -f conftest.err conftest.$ac_ext
11898 done
11899 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11900 rm -f conftest.err conftest.$ac_ext
11901 if $ac_preproc_ok; then :
11903 else
11904 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11905 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11906 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11907 See \`config.log' for more details." "$LINENO" 5; }
11910 ac_ext=c
11911 ac_cpp='$CPP $CPPFLAGS'
11912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11916 else
11917 _lt_caught_CXX_error=yes
11920 ac_ext=cpp
11921 ac_cpp='$CXXCPP $CPPFLAGS'
11922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11926 archive_cmds_need_lc_CXX=no
11927 allow_undefined_flag_CXX=
11928 always_export_symbols_CXX=no
11929 archive_expsym_cmds_CXX=
11930 compiler_needs_object_CXX=no
11931 export_dynamic_flag_spec_CXX=
11932 hardcode_direct_CXX=no
11933 hardcode_direct_absolute_CXX=no
11934 hardcode_libdir_flag_spec_CXX=
11935 hardcode_libdir_flag_spec_ld_CXX=
11936 hardcode_libdir_separator_CXX=
11937 hardcode_minus_L_CXX=no
11938 hardcode_shlibpath_var_CXX=unsupported
11939 hardcode_automatic_CXX=no
11940 inherit_rpath_CXX=no
11941 module_cmds_CXX=
11942 module_expsym_cmds_CXX=
11943 link_all_deplibs_CXX=unknown
11944 old_archive_cmds_CXX=$old_archive_cmds
11945 reload_flag_CXX=$reload_flag
11946 reload_cmds_CXX=$reload_cmds
11947 no_undefined_flag_CXX=
11948 whole_archive_flag_spec_CXX=
11949 enable_shared_with_static_runtimes_CXX=no
11951 # Source file extension for C++ test sources.
11952 ac_ext=cpp
11954 # Object file extension for compiled C++ test sources.
11955 objext=o
11956 objext_CXX=$objext
11958 # No sense in running all these tests if we already determined that
11959 # the CXX compiler isn't working. Some variables (like enable_shared)
11960 # are currently assumed to apply to all compilers on this platform,
11961 # and will be corrupted by setting them based on a non-working compiler.
11962 if test "$_lt_caught_CXX_error" != yes; then
11963 # Code to be used in simple compile tests
11964 lt_simple_compile_test_code="int some_variable = 0;"
11966 # Code to be used in simple link tests
11967 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11969 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11976 # If no C compiler was specified, use CC.
11977 LTCC=${LTCC-"$CC"}
11979 # If no C compiler flags were specified, use CFLAGS.
11980 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11982 # Allow CC to be a program name with arguments.
11983 compiler=$CC
11986 # save warnings/boilerplate of simple test code
11987 ac_outfile=conftest.$ac_objext
11988 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11989 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11990 _lt_compiler_boilerplate=`cat conftest.err`
11991 $RM conftest*
11993 ac_outfile=conftest.$ac_objext
11994 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11995 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11996 _lt_linker_boilerplate=`cat conftest.err`
11997 $RM -r conftest*
12000 # Allow CC to be a program name with arguments.
12001 lt_save_CC=$CC
12002 lt_save_LD=$LD
12003 lt_save_GCC=$GCC
12004 GCC=$GXX
12005 lt_save_with_gnu_ld=$with_gnu_ld
12006 lt_save_path_LD=$lt_cv_path_LD
12007 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12008 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12009 else
12010 $as_unset lt_cv_prog_gnu_ld
12012 if test -n "${lt_cv_path_LDCXX+set}"; then
12013 lt_cv_path_LD=$lt_cv_path_LDCXX
12014 else
12015 $as_unset lt_cv_path_LD
12017 test -z "${LDCXX+set}" || LD=$LDCXX
12018 CC=${CXX-"c++"}
12019 compiler=$CC
12020 compiler_CXX=$CC
12021 for cc_temp in $compiler""; do
12022 case $cc_temp in
12023 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12024 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12025 \-*) ;;
12026 *) break;;
12027 esac
12028 done
12029 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12032 if test -n "$compiler"; then
12033 # We don't want -fno-exception when compiling C++ code, so set the
12034 # no_builtin_flag separately
12035 if test "$GXX" = yes; then
12036 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12037 else
12038 lt_prog_compiler_no_builtin_flag_CXX=
12041 if test "$GXX" = yes; then
12042 # Set up default GNU C++ configuration
12046 # Check whether --with-gnu-ld was given.
12047 if test "${with_gnu_ld+set}" = set; then :
12048 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12049 else
12050 with_gnu_ld=no
12053 ac_prog=ld
12054 if test "$GCC" = yes; then
12055 # Check if gcc -print-prog-name=ld gives a path.
12056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12057 $as_echo_n "checking for ld used by $CC... " >&6; }
12058 case $host in
12059 *-*-mingw*)
12060 # gcc leaves a trailing carriage return which upsets mingw
12061 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12063 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12064 esac
12065 case $ac_prog in
12066 # Accept absolute paths.
12067 [\\/]* | ?:[\\/]*)
12068 re_direlt='/[^/][^/]*/\.\./'
12069 # Canonicalize the pathname of ld
12070 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12071 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12072 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12073 done
12074 test -z "$LD" && LD="$ac_prog"
12077 # If it fails, then pretend we aren't using GCC.
12078 ac_prog=ld
12081 # If it is relative, then search for the first ld in PATH.
12082 with_gnu_ld=unknown
12084 esac
12085 elif test "$with_gnu_ld" = yes; then
12086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12087 $as_echo_n "checking for GNU ld... " >&6; }
12088 else
12089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12090 $as_echo_n "checking for non-GNU ld... " >&6; }
12092 if test "${lt_cv_path_LD+set}" = set; then :
12093 $as_echo_n "(cached) " >&6
12094 else
12095 if test -z "$LD"; then
12096 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12097 for ac_dir in $PATH; do
12098 IFS="$lt_save_ifs"
12099 test -z "$ac_dir" && ac_dir=.
12100 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12101 lt_cv_path_LD="$ac_dir/$ac_prog"
12102 # Check to see if the program is GNU ld. I'd rather use --version,
12103 # but apparently some variants of GNU ld only accept -v.
12104 # Break only if it was the GNU/non-GNU ld that we prefer.
12105 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12106 *GNU* | *'with BFD'*)
12107 test "$with_gnu_ld" != no && break
12110 test "$with_gnu_ld" != yes && break
12112 esac
12114 done
12115 IFS="$lt_save_ifs"
12116 else
12117 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12121 LD="$lt_cv_path_LD"
12122 if test -n "$LD"; then
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12124 $as_echo "$LD" >&6; }
12125 else
12126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12127 $as_echo "no" >&6; }
12129 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12131 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12132 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12133 $as_echo_n "(cached) " >&6
12134 else
12135 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12136 case `$LD -v 2>&1 </dev/null` in
12137 *GNU* | *'with BFD'*)
12138 lt_cv_prog_gnu_ld=yes
12141 lt_cv_prog_gnu_ld=no
12143 esac
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12146 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12147 with_gnu_ld=$lt_cv_prog_gnu_ld
12155 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12156 # archiving commands below assume that GNU ld is being used.
12157 if test "$with_gnu_ld" = yes; then
12158 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12159 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'
12161 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12162 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12164 # If archive_cmds runs LD, not CC, wlarc should be empty
12165 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12166 # investigate it a little bit more. (MM)
12167 wlarc='${wl}'
12169 # ancient GNU ld didn't support --whole-archive et. al.
12170 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12171 $GREP 'no-whole-archive' > /dev/null; then
12172 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12173 else
12174 whole_archive_flag_spec_CXX=
12176 else
12177 with_gnu_ld=no
12178 wlarc=
12180 # A generic and very simple default shared library creation
12181 # command for GNU C++ for the case where it uses the native
12182 # linker, instead of GNU ld. If possible, this setting should
12183 # overridden to take advantage of the native linker features on
12184 # the platform it is being used on.
12185 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12188 # Commands to make compiler produce verbose output that lists
12189 # what "hidden" libraries, object files and flags are used when
12190 # linking a shared library.
12191 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12193 else
12194 GXX=no
12195 with_gnu_ld=no
12196 wlarc=
12199 # PORTME: fill in a description of your system's C++ link characteristics
12200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12201 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12202 ld_shlibs_CXX=yes
12203 case $host_os in
12204 aix3*)
12205 # FIXME: insert proper C++ library support
12206 ld_shlibs_CXX=no
12208 aix[4-9]*)
12209 if test "$host_cpu" = ia64; then
12210 # On IA64, the linker does run time linking by default, so we don't
12211 # have to do anything special.
12212 aix_use_runtimelinking=no
12213 exp_sym_flag='-Bexport'
12214 no_entry_flag=""
12215 else
12216 aix_use_runtimelinking=no
12218 # Test if we are trying to use run time linking or normal
12219 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12220 # need to do runtime linking.
12221 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12222 for ld_flag in $LDFLAGS; do
12223 case $ld_flag in
12224 *-brtl*)
12225 aix_use_runtimelinking=yes
12226 break
12228 esac
12229 done
12231 esac
12233 exp_sym_flag='-bexport'
12234 no_entry_flag='-bnoentry'
12237 # When large executables or shared objects are built, AIX ld can
12238 # have problems creating the table of contents. If linking a library
12239 # or program results in "error TOC overflow" add -mminimal-toc to
12240 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12241 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12243 archive_cmds_CXX=''
12244 hardcode_direct_CXX=yes
12245 hardcode_direct_absolute_CXX=yes
12246 hardcode_libdir_separator_CXX=':'
12247 link_all_deplibs_CXX=yes
12248 file_list_spec_CXX='${wl}-f,'
12250 if test "$GXX" = yes; then
12251 case $host_os in aix4.[012]|aix4.[012].*)
12252 # We only want to do this on AIX 4.2 and lower, the check
12253 # below for broken collect2 doesn't work under 4.3+
12254 collect2name=`${CC} -print-prog-name=collect2`
12255 if test -f "$collect2name" &&
12256 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12257 then
12258 # We have reworked collect2
12260 else
12261 # We have old collect2
12262 hardcode_direct_CXX=unsupported
12263 # It fails to find uninstalled libraries when the uninstalled
12264 # path is not listed in the libpath. Setting hardcode_minus_L
12265 # to unsupported forces relinking
12266 hardcode_minus_L_CXX=yes
12267 hardcode_libdir_flag_spec_CXX='-L$libdir'
12268 hardcode_libdir_separator_CXX=
12270 esac
12271 shared_flag='-shared'
12272 if test "$aix_use_runtimelinking" = yes; then
12273 shared_flag="$shared_flag "'${wl}-G'
12275 else
12276 # not using gcc
12277 if test "$host_cpu" = ia64; then
12278 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12279 # chokes on -Wl,-G. The following line is correct:
12280 shared_flag='-G'
12281 else
12282 if test "$aix_use_runtimelinking" = yes; then
12283 shared_flag='${wl}-G'
12284 else
12285 shared_flag='${wl}-bM:SRE'
12290 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12291 # It seems that -bexpall does not export symbols beginning with
12292 # underscore (_), so it is better to generate a list of symbols to
12293 # export.
12294 always_export_symbols_CXX=yes
12295 if test "$aix_use_runtimelinking" = yes; then
12296 # Warning - without using the other runtime loading flags (-brtl),
12297 # -berok will link without error, but may produce a broken library.
12298 allow_undefined_flag_CXX='-berok'
12299 # Determine the default libpath from the value encoded in an empty
12300 # executable.
12301 if test x$gcc_no_link = xyes; then
12302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12305 /* end confdefs.h. */
12308 main ()
12312 return 0;
12314 _ACEOF
12315 if ac_fn_cxx_try_link "$LINENO"; then :
12317 lt_aix_libpath_sed='
12318 /Import File Strings/,/^$/ {
12319 /^0/ {
12320 s/^0 *\(.*\)$/\1/
12324 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12325 # Check for a 64-bit object if we didn't find anything.
12326 if test -z "$aix_libpath"; then
12327 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12330 rm -f core conftest.err conftest.$ac_objext \
12331 conftest$ac_exeext conftest.$ac_ext
12332 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12334 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12336 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"
12337 else
12338 if test "$host_cpu" = ia64; then
12339 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12340 allow_undefined_flag_CXX="-z nodefs"
12341 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"
12342 else
12343 # Determine the default libpath from the value encoded in an
12344 # empty executable.
12345 if test x$gcc_no_link = xyes; then
12346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12349 /* end confdefs.h. */
12352 main ()
12356 return 0;
12358 _ACEOF
12359 if ac_fn_cxx_try_link "$LINENO"; then :
12361 lt_aix_libpath_sed='
12362 /Import File Strings/,/^$/ {
12363 /^0/ {
12364 s/^0 *\(.*\)$/\1/
12368 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12369 # Check for a 64-bit object if we didn't find anything.
12370 if test -z "$aix_libpath"; then
12371 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12374 rm -f core conftest.err conftest.$ac_objext \
12375 conftest$ac_exeext conftest.$ac_ext
12376 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12378 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12379 # Warning - without using the other run time loading flags,
12380 # -berok will link without error, but may produce a broken library.
12381 no_undefined_flag_CXX=' ${wl}-bernotok'
12382 allow_undefined_flag_CXX=' ${wl}-berok'
12383 if test "$with_gnu_ld" = yes; then
12384 # We only use this code for GNU lds that support --whole-archive.
12385 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12386 else
12387 # Exported symbols can be pulled into shared objects from archives
12388 whole_archive_flag_spec_CXX='$convenience'
12390 archive_cmds_need_lc_CXX=yes
12391 # This is similar to how AIX traditionally builds its shared
12392 # libraries.
12393 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'
12398 beos*)
12399 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12400 allow_undefined_flag_CXX=unsupported
12401 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12402 # support --undefined. This deserves some investigation. FIXME
12403 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12404 else
12405 ld_shlibs_CXX=no
12409 chorus*)
12410 case $cc_basename in
12412 # FIXME: insert proper C++ library support
12413 ld_shlibs_CXX=no
12415 esac
12418 cygwin* | mingw* | pw32* | cegcc*)
12419 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12420 # as there is no search path for DLLs.
12421 hardcode_libdir_flag_spec_CXX='-L$libdir'
12422 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12423 allow_undefined_flag_CXX=unsupported
12424 always_export_symbols_CXX=no
12425 enable_shared_with_static_runtimes_CXX=yes
12427 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12428 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'
12429 # If the export-symbols file already is a .def file (1st line
12430 # is EXPORTS), use it as is; otherwise, prepend...
12431 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12432 cp $export_symbols $output_objdir/$soname.def;
12433 else
12434 echo EXPORTS > $output_objdir/$soname.def;
12435 cat $export_symbols >> $output_objdir/$soname.def;
12437 $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'
12438 else
12439 ld_shlibs_CXX=no
12442 darwin* | rhapsody*)
12445 archive_cmds_need_lc_CXX=no
12446 hardcode_direct_CXX=no
12447 hardcode_automatic_CXX=yes
12448 hardcode_shlibpath_var_CXX=unsupported
12449 if test "$lt_cv_ld_force_load" = "yes"; then
12450 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\"`'
12451 else
12452 whole_archive_flag_spec_CXX=''
12454 link_all_deplibs_CXX=yes
12455 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12456 case $cc_basename in
12457 ifort*) _lt_dar_can_shared=yes ;;
12458 *) _lt_dar_can_shared=$GCC ;;
12459 esac
12460 if test "$_lt_dar_can_shared" = "yes"; then
12461 output_verbose_link_cmd=func_echo_all
12462 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}"
12463 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12464 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}"
12465 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}"
12466 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12467 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}"
12468 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}"
12471 else
12472 ld_shlibs_CXX=no
12477 dgux*)
12478 case $cc_basename in
12479 ec++*)
12480 # FIXME: insert proper C++ library support
12481 ld_shlibs_CXX=no
12483 ghcx*)
12484 # Green Hills C++ Compiler
12485 # FIXME: insert proper C++ library support
12486 ld_shlibs_CXX=no
12489 # FIXME: insert proper C++ library support
12490 ld_shlibs_CXX=no
12492 esac
12495 freebsd[12]*)
12496 # C++ shared libraries reported to be fairly broken before
12497 # switch to ELF
12498 ld_shlibs_CXX=no
12501 freebsd-elf*)
12502 archive_cmds_need_lc_CXX=no
12505 freebsd* | dragonfly*)
12506 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12507 # conventions
12508 ld_shlibs_CXX=yes
12511 gnu*)
12514 haiku*)
12515 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12516 link_all_deplibs_CXX=yes
12519 hpux9*)
12520 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12521 hardcode_libdir_separator_CXX=:
12522 export_dynamic_flag_spec_CXX='${wl}-E'
12523 hardcode_direct_CXX=yes
12524 hardcode_minus_L_CXX=yes # Not in the search PATH,
12525 # but as the default
12526 # location of the library.
12528 case $cc_basename in
12529 CC*)
12530 # FIXME: insert proper C++ library support
12531 ld_shlibs_CXX=no
12533 aCC*)
12534 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'
12535 # Commands to make compiler produce verbose output that lists
12536 # what "hidden" libraries, object files and flags are used when
12537 # linking a shared library.
12539 # There doesn't appear to be a way to prevent this compiler from
12540 # explicitly linking system object files so we need to strip them
12541 # from the output so that they don't get included in the library
12542 # dependencies.
12543 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"'
12546 if test "$GXX" = yes; then
12547 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'
12548 else
12549 # FIXME: insert proper C++ library support
12550 ld_shlibs_CXX=no
12553 esac
12556 hpux10*|hpux11*)
12557 if test $with_gnu_ld = no; then
12558 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12559 hardcode_libdir_separator_CXX=:
12561 case $host_cpu in
12562 hppa*64*|ia64*)
12565 export_dynamic_flag_spec_CXX='${wl}-E'
12567 esac
12569 case $host_cpu in
12570 hppa*64*|ia64*)
12571 hardcode_direct_CXX=no
12572 hardcode_shlibpath_var_CXX=no
12575 hardcode_direct_CXX=yes
12576 hardcode_direct_absolute_CXX=yes
12577 hardcode_minus_L_CXX=yes # Not in the search PATH,
12578 # but as the default
12579 # location of the library.
12581 esac
12583 case $cc_basename in
12584 CC*)
12585 # FIXME: insert proper C++ library support
12586 ld_shlibs_CXX=no
12588 aCC*)
12589 case $host_cpu in
12590 hppa*64*)
12591 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12593 ia64*)
12594 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12597 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12599 esac
12600 # Commands to make compiler produce verbose output that lists
12601 # what "hidden" libraries, object files and flags are used when
12602 # linking a shared library.
12604 # There doesn't appear to be a way to prevent this compiler from
12605 # explicitly linking system object files so we need to strip them
12606 # from the output so that they don't get included in the library
12607 # dependencies.
12608 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"'
12611 if test "$GXX" = yes; then
12612 if test $with_gnu_ld = no; then
12613 case $host_cpu in
12614 hppa*64*)
12615 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12617 ia64*)
12618 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12621 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'
12623 esac
12625 else
12626 # FIXME: insert proper C++ library support
12627 ld_shlibs_CXX=no
12630 esac
12633 interix[3-9]*)
12634 hardcode_direct_CXX=no
12635 hardcode_shlibpath_var_CXX=no
12636 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12637 export_dynamic_flag_spec_CXX='${wl}-E'
12638 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12639 # Instead, shared libraries are loaded at an image base (0x10000000 by
12640 # default) and relocated if they conflict, which is a slow very memory
12641 # consuming and fragmenting process. To avoid this, we pick a random,
12642 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12643 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12644 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'
12645 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'
12647 irix5* | irix6*)
12648 case $cc_basename in
12649 CC*)
12650 # SGI C++
12651 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'
12653 # Archives containing C++ object files must be created using
12654 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12655 # necessary to make sure instantiated templates are included
12656 # in the archive.
12657 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12660 if test "$GXX" = yes; then
12661 if test "$with_gnu_ld" = no; then
12662 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'
12663 else
12664 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'
12667 link_all_deplibs_CXX=yes
12669 esac
12670 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12671 hardcode_libdir_separator_CXX=:
12672 inherit_rpath_CXX=yes
12675 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12676 case $cc_basename in
12677 KCC*)
12678 # Kuck and Associates, Inc. (KAI) C++ Compiler
12680 # KCC will only create a shared library if the output file
12681 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12682 # to its proper name (with version) after linking.
12683 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'
12684 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'
12685 # Commands to make compiler produce verbose output that lists
12686 # what "hidden" libraries, object files and flags are used when
12687 # linking a shared library.
12689 # There doesn't appear to be a way to prevent this compiler from
12690 # explicitly linking system object files so we need to strip them
12691 # from the output so that they don't get included in the library
12692 # dependencies.
12693 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"'
12695 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12696 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12698 # Archives containing C++ object files must be created using
12699 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12700 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12702 icpc* | ecpc* )
12703 # Intel C++
12704 with_gnu_ld=yes
12705 # version 8.0 and above of icpc choke on multiply defined symbols
12706 # if we add $predep_objects and $postdep_objects, however 7.1 and
12707 # earlier do not add the objects themselves.
12708 case `$CC -V 2>&1` in
12709 *"Version 7."*)
12710 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12711 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'
12713 *) # Version 8.0 or newer
12714 tmp_idyn=
12715 case $host_cpu in
12716 ia64*) tmp_idyn=' -i_dynamic';;
12717 esac
12718 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12719 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'
12721 esac
12722 archive_cmds_need_lc_CXX=no
12723 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12724 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12725 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12727 pgCC* | pgcpp*)
12728 # Portland Group C++ compiler
12729 case `$CC -V` in
12730 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12731 prelink_cmds_CXX='tpldir=Template.dir~
12732 rm -rf $tpldir~
12733 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12734 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12735 old_archive_cmds_CXX='tpldir=Template.dir~
12736 rm -rf $tpldir~
12737 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12738 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12739 $RANLIB $oldlib'
12740 archive_cmds_CXX='tpldir=Template.dir~
12741 rm -rf $tpldir~
12742 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12743 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12744 archive_expsym_cmds_CXX='tpldir=Template.dir~
12745 rm -rf $tpldir~
12746 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12747 $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'
12749 *) # Version 6 and above use weak symbols
12750 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12751 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'
12753 esac
12755 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12756 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757 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'
12759 cxx*)
12760 # Compaq C++
12761 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12762 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'
12764 runpath_var=LD_RUN_PATH
12765 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12766 hardcode_libdir_separator_CXX=:
12768 # Commands to make compiler produce verbose output that lists
12769 # what "hidden" libraries, object files and flags are used when
12770 # linking a shared library.
12772 # There doesn't appear to be a way to prevent this compiler from
12773 # explicitly linking system object files so we need to strip them
12774 # from the output so that they don't get included in the library
12775 # dependencies.
12776 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'
12778 xl* | mpixl* | bgxl*)
12779 # IBM XL 8.0 on PPC, with GNU ld
12780 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12781 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12782 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 if test "x$supports_anon_versioning" = xyes; then
12784 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12785 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12786 echo "local: *; };" >> $output_objdir/$libname.ver~
12787 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12791 case `$CC -V 2>&1 | sed 5q` in
12792 *Sun\ C*)
12793 # Sun C++ 5.9
12794 no_undefined_flag_CXX=' -zdefs'
12795 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12796 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'
12797 hardcode_libdir_flag_spec_CXX='-R$libdir'
12798 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'
12799 compiler_needs_object_CXX=yes
12801 # Not sure whether something based on
12802 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12803 # would be better.
12804 output_verbose_link_cmd='func_echo_all'
12806 # Archives containing C++ object files must be created using
12807 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12808 # necessary to make sure instantiated templates are included
12809 # in the archive.
12810 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12812 esac
12814 esac
12817 lynxos*)
12818 # FIXME: insert proper C++ library support
12819 ld_shlibs_CXX=no
12822 m88k*)
12823 # FIXME: insert proper C++ library support
12824 ld_shlibs_CXX=no
12827 mvs*)
12828 case $cc_basename in
12829 cxx*)
12830 # FIXME: insert proper C++ library support
12831 ld_shlibs_CXX=no
12834 # FIXME: insert proper C++ library support
12835 ld_shlibs_CXX=no
12837 esac
12840 netbsd*)
12841 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12842 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12843 wlarc=
12844 hardcode_libdir_flag_spec_CXX='-R$libdir'
12845 hardcode_direct_CXX=yes
12846 hardcode_shlibpath_var_CXX=no
12848 # Workaround some broken pre-1.5 toolchains
12849 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12852 *nto* | *qnx*)
12853 ld_shlibs_CXX=yes
12856 openbsd2*)
12857 # C++ shared libraries are fairly broken
12858 ld_shlibs_CXX=no
12861 openbsd*)
12862 if test -f /usr/libexec/ld.so; then
12863 hardcode_direct_CXX=yes
12864 hardcode_shlibpath_var_CXX=no
12865 hardcode_direct_absolute_CXX=yes
12866 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12867 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12868 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12869 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12870 export_dynamic_flag_spec_CXX='${wl}-E'
12871 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12873 output_verbose_link_cmd=func_echo_all
12874 else
12875 ld_shlibs_CXX=no
12879 osf3* | osf4* | osf5*)
12880 case $cc_basename in
12881 KCC*)
12882 # Kuck and Associates, Inc. (KAI) C++ Compiler
12884 # KCC will only create a shared library if the output file
12885 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12886 # to its proper name (with version) after linking.
12887 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'
12889 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12890 hardcode_libdir_separator_CXX=:
12892 # Archives containing C++ object files must be created using
12893 # the KAI C++ compiler.
12894 case $host in
12895 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12896 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12897 esac
12899 RCC*)
12900 # Rational C++ 2.4.1
12901 # FIXME: insert proper C++ library support
12902 ld_shlibs_CXX=no
12904 cxx*)
12905 case $host in
12906 osf3*)
12907 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12908 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'
12909 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12912 allow_undefined_flag_CXX=' -expect_unresolved \*'
12913 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'
12914 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12915 echo "-hidden">> $lib.exp~
12916 $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~
12917 $RM $lib.exp'
12918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12920 esac
12922 hardcode_libdir_separator_CXX=:
12924 # Commands to make compiler produce verbose output that lists
12925 # what "hidden" libraries, object files and flags are used when
12926 # linking a shared library.
12928 # There doesn't appear to be a way to prevent this compiler from
12929 # explicitly linking system object files so we need to strip them
12930 # from the output so that they don't get included in the library
12931 # dependencies.
12932 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"'
12935 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12936 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12937 case $host in
12938 osf3*)
12939 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'
12942 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'
12944 esac
12946 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12947 hardcode_libdir_separator_CXX=:
12949 # Commands to make compiler produce verbose output that lists
12950 # what "hidden" libraries, object files and flags are used when
12951 # linking a shared library.
12952 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12954 else
12955 # FIXME: insert proper C++ library support
12956 ld_shlibs_CXX=no
12959 esac
12962 psos*)
12963 # FIXME: insert proper C++ library support
12964 ld_shlibs_CXX=no
12967 sunos4*)
12968 case $cc_basename in
12969 CC*)
12970 # Sun C++ 4.x
12971 # FIXME: insert proper C++ library support
12972 ld_shlibs_CXX=no
12974 lcc*)
12975 # Lucid
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12980 # FIXME: insert proper C++ library support
12981 ld_shlibs_CXX=no
12983 esac
12986 solaris*)
12987 case $cc_basename in
12988 CC*)
12989 # Sun C++ 4.2, 5.x and Centerline C++
12990 archive_cmds_need_lc_CXX=yes
12991 no_undefined_flag_CXX=' -zdefs'
12992 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12993 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12994 $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'
12996 hardcode_libdir_flag_spec_CXX='-R$libdir'
12997 hardcode_shlibpath_var_CXX=no
12998 case $host_os in
12999 solaris2.[0-5] | solaris2.[0-5].*) ;;
13001 # The compiler driver will combine and reorder linker options,
13002 # but understands `-z linker_flag'.
13003 # Supported since Solaris 2.6 (maybe 2.5.1?)
13004 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13006 esac
13007 link_all_deplibs_CXX=yes
13009 output_verbose_link_cmd='func_echo_all'
13011 # Archives containing C++ object files must be created using
13012 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13013 # necessary to make sure instantiated templates are included
13014 # in the archive.
13015 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13017 gcx*)
13018 # Green Hills C++ Compiler
13019 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13021 # The C++ compiler must be used to create the archive.
13022 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13025 # GNU C++ compiler with Solaris linker
13026 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13027 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13028 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13029 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13030 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13031 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13033 # Commands to make compiler produce verbose output that lists
13034 # what "hidden" libraries, object files and flags are used when
13035 # linking a shared library.
13036 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13037 else
13038 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13039 # platform.
13040 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13041 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13042 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13044 # Commands to make compiler produce verbose output that lists
13045 # what "hidden" libraries, object files and flags are used when
13046 # linking a shared library.
13047 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13050 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13051 case $host_os in
13052 solaris2.[0-5] | solaris2.[0-5].*) ;;
13054 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13056 esac
13059 esac
13062 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13063 no_undefined_flag_CXX='${wl}-z,text'
13064 archive_cmds_need_lc_CXX=no
13065 hardcode_shlibpath_var_CXX=no
13066 runpath_var='LD_RUN_PATH'
13068 case $cc_basename in
13069 CC*)
13070 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13071 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13074 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13075 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13077 esac
13080 sysv5* | sco3.2v5* | sco5v6*)
13081 # Note: We can NOT use -z defs as we might desire, because we do not
13082 # link with -lc, and that would cause any symbols used from libc to
13083 # always be unresolved, which means just about no library would
13084 # ever link correctly. If we're not using GNU ld we use -z text
13085 # though, which does catch some bad symbols but isn't as heavy-handed
13086 # as -z defs.
13087 no_undefined_flag_CXX='${wl}-z,text'
13088 allow_undefined_flag_CXX='${wl}-z,nodefs'
13089 archive_cmds_need_lc_CXX=no
13090 hardcode_shlibpath_var_CXX=no
13091 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13092 hardcode_libdir_separator_CXX=':'
13093 link_all_deplibs_CXX=yes
13094 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13095 runpath_var='LD_RUN_PATH'
13097 case $cc_basename in
13098 CC*)
13099 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13100 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13101 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13102 '"$old_archive_cmds_CXX"
13103 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13104 '"$reload_cmds_CXX"
13107 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13108 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110 esac
13113 tandem*)
13114 case $cc_basename in
13115 NCC*)
13116 # NonStop-UX NCC 3.20
13117 # FIXME: insert proper C++ library support
13118 ld_shlibs_CXX=no
13121 # FIXME: insert proper C++ library support
13122 ld_shlibs_CXX=no
13124 esac
13127 vxworks*)
13128 # FIXME: insert proper C++ library support
13129 ld_shlibs_CXX=no
13133 # FIXME: insert proper C++ library support
13134 ld_shlibs_CXX=no
13136 esac
13138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13139 $as_echo "$ld_shlibs_CXX" >&6; }
13140 test "$ld_shlibs_CXX" = no && can_build_shared=no
13142 GCC_CXX="$GXX"
13143 LD_CXX="$LD"
13145 ## CAVEAT EMPTOR:
13146 ## There is no encapsulation within the following macros, do not change
13147 ## the running order or otherwise move them around unless you know exactly
13148 ## what you are doing...
13149 # Dependencies to place before and after the object being linked:
13150 predep_objects_CXX=
13151 postdep_objects_CXX=
13152 predeps_CXX=
13153 postdeps_CXX=
13154 compiler_lib_search_path_CXX=
13156 cat > conftest.$ac_ext <<_LT_EOF
13157 class Foo
13159 public:
13160 Foo (void) { a = 0; }
13161 private:
13162 int a;
13164 _LT_EOF
13166 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13167 (eval $ac_compile) 2>&5
13168 ac_status=$?
13169 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13170 test $ac_status = 0; }; then
13171 # Parse the compiler output and extract the necessary
13172 # objects, libraries and library flags.
13174 # Sentinel used to keep track of whether or not we are before
13175 # the conftest object file.
13176 pre_test_object_deps_done=no
13178 for p in `eval "$output_verbose_link_cmd"`; do
13179 case $p in
13181 -L* | -R* | -l*)
13182 # Some compilers place space between "-{L,R}" and the path.
13183 # Remove the space.
13184 if test $p = "-L" ||
13185 test $p = "-R"; then
13186 prev=$p
13187 continue
13188 else
13189 prev=
13192 if test "$pre_test_object_deps_done" = no; then
13193 case $p in
13194 -L* | -R*)
13195 # Internal compiler library paths should come after those
13196 # provided the user. The postdeps already come after the
13197 # user supplied libs so there is no need to process them.
13198 if test -z "$compiler_lib_search_path_CXX"; then
13199 compiler_lib_search_path_CXX="${prev}${p}"
13200 else
13201 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13204 # The "-l" case would never come before the object being
13205 # linked, so don't bother handling this case.
13206 esac
13207 else
13208 if test -z "$postdeps_CXX"; then
13209 postdeps_CXX="${prev}${p}"
13210 else
13211 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13216 *.$objext)
13217 # This assumes that the test object file only shows up
13218 # once in the compiler output.
13219 if test "$p" = "conftest.$objext"; then
13220 pre_test_object_deps_done=yes
13221 continue
13224 if test "$pre_test_object_deps_done" = no; then
13225 if test -z "$predep_objects_CXX"; then
13226 predep_objects_CXX="$p"
13227 else
13228 predep_objects_CXX="$predep_objects_CXX $p"
13230 else
13231 if test -z "$postdep_objects_CXX"; then
13232 postdep_objects_CXX="$p"
13233 else
13234 postdep_objects_CXX="$postdep_objects_CXX $p"
13239 *) ;; # Ignore the rest.
13241 esac
13242 done
13244 # Clean up.
13245 rm -f a.out a.exe
13246 else
13247 echo "libtool.m4: error: problem compiling CXX test program"
13250 $RM -f confest.$objext
13252 # PORTME: override above test on systems where it is broken
13253 case $host_os in
13254 interix[3-9]*)
13255 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13256 # hack all around it, let's just trust "g++" to DTRT.
13257 predep_objects_CXX=
13258 postdep_objects_CXX=
13259 postdeps_CXX=
13262 linux*)
13263 case `$CC -V 2>&1 | sed 5q` in
13264 *Sun\ C*)
13265 # Sun C++ 5.9
13267 # The more standards-conforming stlport4 library is
13268 # incompatible with the Cstd library. Avoid specifying
13269 # it if it's in CXXFLAGS. Ignore libCrun as
13270 # -library=stlport4 depends on it.
13271 case " $CXX $CXXFLAGS " in
13272 *" -library=stlport4 "*)
13273 solaris_use_stlport4=yes
13275 esac
13277 if test "$solaris_use_stlport4" != yes; then
13278 postdeps_CXX='-library=Cstd -library=Crun'
13281 esac
13284 solaris*)
13285 case $cc_basename in
13286 CC*)
13287 # The more standards-conforming stlport4 library is
13288 # incompatible with the Cstd library. Avoid specifying
13289 # it if it's in CXXFLAGS. Ignore libCrun as
13290 # -library=stlport4 depends on it.
13291 case " $CXX $CXXFLAGS " in
13292 *" -library=stlport4 "*)
13293 solaris_use_stlport4=yes
13295 esac
13297 # Adding this requires a known-good setup of shared libraries for
13298 # Sun compiler versions before 5.6, else PIC objects from an old
13299 # archive will be linked into the output, leading to subtle bugs.
13300 if test "$solaris_use_stlport4" != yes; then
13301 postdeps_CXX='-library=Cstd -library=Crun'
13304 esac
13306 esac
13309 case " $postdeps_CXX " in
13310 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13311 esac
13312 compiler_lib_search_dirs_CXX=
13313 if test -n "${compiler_lib_search_path_CXX}"; then
13314 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13347 lt_prog_compiler_wl_CXX=
13348 lt_prog_compiler_pic_CXX=
13349 lt_prog_compiler_static_CXX=
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13352 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13354 # C++ specific cases for pic, static, wl, etc.
13355 if test "$GXX" = yes; then
13356 lt_prog_compiler_wl_CXX='-Wl,'
13357 lt_prog_compiler_static_CXX='-static'
13359 case $host_os in
13360 aix*)
13361 # All AIX code is PIC.
13362 if test "$host_cpu" = ia64; then
13363 # AIX 5 now supports IA64 processor
13364 lt_prog_compiler_static_CXX='-Bstatic'
13368 amigaos*)
13369 case $host_cpu in
13370 powerpc)
13371 # see comment about AmigaOS4 .so support
13372 lt_prog_compiler_pic_CXX='-fPIC'
13374 m68k)
13375 # FIXME: we need at least 68020 code to build shared libraries, but
13376 # adding the `-m68020' flag to GCC prevents building anything better,
13377 # like `-m68040'.
13378 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13380 esac
13383 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13384 # PIC is the default for these OSes.
13386 mingw* | cygwin* | os2* | pw32* | cegcc*)
13387 # This hack is so that the source file can tell whether it is being
13388 # built for inclusion in a dll (and should export symbols for example).
13389 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13390 # (--disable-auto-import) libraries
13391 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13393 darwin* | rhapsody*)
13394 # PIC is the default on this platform
13395 # Common symbols not allowed in MH_DYLIB files
13396 lt_prog_compiler_pic_CXX='-fno-common'
13398 *djgpp*)
13399 # DJGPP does not support shared libraries at all
13400 lt_prog_compiler_pic_CXX=
13402 haiku*)
13403 # PIC is the default for Haiku.
13404 # The "-static" flag exists, but is broken.
13405 lt_prog_compiler_static_CXX=
13407 interix[3-9]*)
13408 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13409 # Instead, we relocate shared libraries at runtime.
13411 sysv4*MP*)
13412 if test -d /usr/nec; then
13413 lt_prog_compiler_pic_CXX=-Kconform_pic
13416 hpux*)
13417 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13418 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13419 # sets the default TLS model and affects inlining.
13420 case $host_cpu in
13421 hppa*64*)
13424 lt_prog_compiler_pic_CXX='-fPIC'
13426 esac
13428 *qnx* | *nto*)
13429 # QNX uses GNU C++, but need to define -shared option too, otherwise
13430 # it will coredump.
13431 lt_prog_compiler_pic_CXX='-fPIC -shared'
13434 lt_prog_compiler_pic_CXX='-fPIC'
13436 esac
13437 else
13438 case $host_os in
13439 aix[4-9]*)
13440 # All AIX code is PIC.
13441 if test "$host_cpu" = ia64; then
13442 # AIX 5 now supports IA64 processor
13443 lt_prog_compiler_static_CXX='-Bstatic'
13444 else
13445 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13448 chorus*)
13449 case $cc_basename in
13450 cxch68*)
13451 # Green Hills C++ Compiler
13452 # _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"
13454 esac
13456 dgux*)
13457 case $cc_basename in
13458 ec++*)
13459 lt_prog_compiler_pic_CXX='-KPIC'
13461 ghcx*)
13462 # Green Hills C++ Compiler
13463 lt_prog_compiler_pic_CXX='-pic'
13467 esac
13469 freebsd* | dragonfly*)
13470 # FreeBSD uses GNU C++
13472 hpux9* | hpux10* | hpux11*)
13473 case $cc_basename in
13474 CC*)
13475 lt_prog_compiler_wl_CXX='-Wl,'
13476 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13477 if test "$host_cpu" != ia64; then
13478 lt_prog_compiler_pic_CXX='+Z'
13481 aCC*)
13482 lt_prog_compiler_wl_CXX='-Wl,'
13483 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13484 case $host_cpu in
13485 hppa*64*|ia64*)
13486 # +Z the default
13489 lt_prog_compiler_pic_CXX='+Z'
13491 esac
13495 esac
13497 interix*)
13498 # This is c89, which is MS Visual C++ (no shared libs)
13499 # Anyone wants to do a port?
13501 irix5* | irix6* | nonstopux*)
13502 case $cc_basename in
13503 CC*)
13504 lt_prog_compiler_wl_CXX='-Wl,'
13505 lt_prog_compiler_static_CXX='-non_shared'
13506 # CC pic flag -KPIC is the default.
13510 esac
13512 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13513 case $cc_basename in
13514 KCC*)
13515 # KAI C++ Compiler
13516 lt_prog_compiler_wl_CXX='--backend -Wl,'
13517 lt_prog_compiler_pic_CXX='-fPIC'
13519 ecpc* )
13520 # old Intel C++ for x86_64 which still supported -KPIC.
13521 lt_prog_compiler_wl_CXX='-Wl,'
13522 lt_prog_compiler_pic_CXX='-KPIC'
13523 lt_prog_compiler_static_CXX='-static'
13525 icpc* )
13526 # Intel C++, used to be incompatible with GCC.
13527 # ICC 10 doesn't accept -KPIC any more.
13528 lt_prog_compiler_wl_CXX='-Wl,'
13529 lt_prog_compiler_pic_CXX='-fPIC'
13530 lt_prog_compiler_static_CXX='-static'
13532 pgCC* | pgcpp*)
13533 # Portland Group C++ compiler
13534 lt_prog_compiler_wl_CXX='-Wl,'
13535 lt_prog_compiler_pic_CXX='-fpic'
13536 lt_prog_compiler_static_CXX='-Bstatic'
13538 cxx*)
13539 # Compaq C++
13540 # Make sure the PIC flag is empty. It appears that all Alpha
13541 # Linux and Compaq Tru64 Unix objects are PIC.
13542 lt_prog_compiler_pic_CXX=
13543 lt_prog_compiler_static_CXX='-non_shared'
13545 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13546 # IBM XL 8.0, 9.0 on PPC and BlueGene
13547 lt_prog_compiler_wl_CXX='-Wl,'
13548 lt_prog_compiler_pic_CXX='-qpic'
13549 lt_prog_compiler_static_CXX='-qstaticlink'
13552 case `$CC -V 2>&1 | sed 5q` in
13553 *Sun\ C*)
13554 # Sun C++ 5.9
13555 lt_prog_compiler_pic_CXX='-KPIC'
13556 lt_prog_compiler_static_CXX='-Bstatic'
13557 lt_prog_compiler_wl_CXX='-Qoption ld '
13559 esac
13561 esac
13563 lynxos*)
13565 m88k*)
13567 mvs*)
13568 case $cc_basename in
13569 cxx*)
13570 lt_prog_compiler_pic_CXX='-W c,exportall'
13574 esac
13576 netbsd*)
13578 *qnx* | *nto*)
13579 # QNX uses GNU C++, but need to define -shared option too, otherwise
13580 # it will coredump.
13581 lt_prog_compiler_pic_CXX='-fPIC -shared'
13583 osf3* | osf4* | osf5*)
13584 case $cc_basename in
13585 KCC*)
13586 lt_prog_compiler_wl_CXX='--backend -Wl,'
13588 RCC*)
13589 # Rational C++ 2.4.1
13590 lt_prog_compiler_pic_CXX='-pic'
13592 cxx*)
13593 # Digital/Compaq C++
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 # Make sure the PIC flag is empty. It appears that all Alpha
13596 # Linux and Compaq Tru64 Unix objects are PIC.
13597 lt_prog_compiler_pic_CXX=
13598 lt_prog_compiler_static_CXX='-non_shared'
13602 esac
13604 psos*)
13606 solaris*)
13607 case $cc_basename in
13608 CC*)
13609 # Sun C++ 4.2, 5.x and Centerline C++
13610 lt_prog_compiler_pic_CXX='-KPIC'
13611 lt_prog_compiler_static_CXX='-Bstatic'
13612 lt_prog_compiler_wl_CXX='-Qoption ld '
13614 gcx*)
13615 # Green Hills C++ Compiler
13616 lt_prog_compiler_pic_CXX='-PIC'
13620 esac
13622 sunos4*)
13623 case $cc_basename in
13624 CC*)
13625 # Sun C++ 4.x
13626 lt_prog_compiler_pic_CXX='-pic'
13627 lt_prog_compiler_static_CXX='-Bstatic'
13629 lcc*)
13630 # Lucid
13631 lt_prog_compiler_pic_CXX='-pic'
13635 esac
13637 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13638 case $cc_basename in
13639 CC*)
13640 lt_prog_compiler_wl_CXX='-Wl,'
13641 lt_prog_compiler_pic_CXX='-KPIC'
13642 lt_prog_compiler_static_CXX='-Bstatic'
13644 esac
13646 tandem*)
13647 case $cc_basename in
13648 NCC*)
13649 # NonStop-UX NCC 3.20
13650 lt_prog_compiler_pic_CXX='-KPIC'
13654 esac
13656 vxworks*)
13659 lt_prog_compiler_can_build_shared_CXX=no
13661 esac
13664 case $host_os in
13665 # For platforms which do not support PIC, -DPIC is meaningless:
13666 *djgpp*)
13667 lt_prog_compiler_pic_CXX=
13670 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13672 esac
13673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13674 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13679 # Check to make sure the PIC flag actually works.
13681 if test -n "$lt_prog_compiler_pic_CXX"; then
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13683 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13684 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13685 $as_echo_n "(cached) " >&6
13686 else
13687 lt_cv_prog_compiler_pic_works_CXX=no
13688 ac_outfile=conftest.$ac_objext
13689 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13690 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13691 # Insert the option either (1) after the last *FLAGS variable, or
13692 # (2) before a word containing "conftest.", or (3) at the end.
13693 # Note that $ac_compile itself does not contain backslashes and begins
13694 # with a dollar sign (not a hyphen), so the echo should work correctly.
13695 # The option is referenced via a variable to avoid confusing sed.
13696 lt_compile=`echo "$ac_compile" | $SED \
13697 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13698 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13699 -e 's:$: $lt_compiler_flag:'`
13700 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13701 (eval "$lt_compile" 2>conftest.err)
13702 ac_status=$?
13703 cat conftest.err >&5
13704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13705 if (exit $ac_status) && test -s "$ac_outfile"; then
13706 # The compiler can only warn and ignore the option if not recognized
13707 # So say no if there are warnings other than the usual output.
13708 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13709 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13710 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13711 lt_cv_prog_compiler_pic_works_CXX=yes
13714 $RM conftest*
13717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13718 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13720 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13721 case $lt_prog_compiler_pic_CXX in
13722 "" | " "*) ;;
13723 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13724 esac
13725 else
13726 lt_prog_compiler_pic_CXX=
13727 lt_prog_compiler_can_build_shared_CXX=no
13735 # Check to make sure the static flag actually works.
13737 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13739 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13740 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13741 $as_echo_n "(cached) " >&6
13742 else
13743 lt_cv_prog_compiler_static_works_CXX=no
13744 save_LDFLAGS="$LDFLAGS"
13745 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13746 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13747 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13748 # The linker can only warn and ignore the option if not recognized
13749 # So say no if there are warnings
13750 if test -s conftest.err; then
13751 # Append any errors to the config.log.
13752 cat conftest.err 1>&5
13753 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13754 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13755 if diff conftest.exp conftest.er2 >/dev/null; then
13756 lt_cv_prog_compiler_static_works_CXX=yes
13758 else
13759 lt_cv_prog_compiler_static_works_CXX=yes
13762 $RM -r conftest*
13763 LDFLAGS="$save_LDFLAGS"
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13767 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13769 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13771 else
13772 lt_prog_compiler_static_CXX=
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13779 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13780 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13781 $as_echo_n "(cached) " >&6
13782 else
13783 lt_cv_prog_compiler_c_o_CXX=no
13784 $RM -r conftest 2>/dev/null
13785 mkdir conftest
13786 cd conftest
13787 mkdir out
13788 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13790 lt_compiler_flag="-o out/conftest2.$ac_objext"
13791 # Insert the option either (1) after the last *FLAGS variable, or
13792 # (2) before a word containing "conftest.", or (3) at the end.
13793 # Note that $ac_compile itself does not contain backslashes and begins
13794 # with a dollar sign (not a hyphen), so the echo should work correctly.
13795 lt_compile=`echo "$ac_compile" | $SED \
13796 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13797 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13798 -e 's:$: $lt_compiler_flag:'`
13799 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13800 (eval "$lt_compile" 2>out/conftest.err)
13801 ac_status=$?
13802 cat out/conftest.err >&5
13803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13804 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13805 then
13806 # The compiler can only warn and ignore the option if not recognized
13807 # So say no if there are warnings
13808 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13809 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13810 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13811 lt_cv_prog_compiler_c_o_CXX=yes
13814 chmod u+w . 2>&5
13815 $RM conftest*
13816 # SGI C++ compiler will create directory out/ii_files/ for
13817 # template instantiation
13818 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13819 $RM out/* && rmdir out
13820 cd ..
13821 $RM -r conftest
13822 $RM conftest*
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13826 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13831 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13832 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 lt_cv_prog_compiler_c_o_CXX=no
13836 $RM -r conftest 2>/dev/null
13837 mkdir conftest
13838 cd conftest
13839 mkdir out
13840 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13842 lt_compiler_flag="-o out/conftest2.$ac_objext"
13843 # Insert the option either (1) after the last *FLAGS variable, or
13844 # (2) before a word containing "conftest.", or (3) at the end.
13845 # Note that $ac_compile itself does not contain backslashes and begins
13846 # with a dollar sign (not a hyphen), so the echo should work correctly.
13847 lt_compile=`echo "$ac_compile" | $SED \
13848 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13849 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13850 -e 's:$: $lt_compiler_flag:'`
13851 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13852 (eval "$lt_compile" 2>out/conftest.err)
13853 ac_status=$?
13854 cat out/conftest.err >&5
13855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13856 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13857 then
13858 # The compiler can only warn and ignore the option if not recognized
13859 # So say no if there are warnings
13860 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13861 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13862 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13863 lt_cv_prog_compiler_c_o_CXX=yes
13866 chmod u+w . 2>&5
13867 $RM conftest*
13868 # SGI C++ compiler will create directory out/ii_files/ for
13869 # template instantiation
13870 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13871 $RM out/* && rmdir out
13872 cd ..
13873 $RM -r conftest
13874 $RM conftest*
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13878 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13883 hard_links="nottested"
13884 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13885 # do not overwrite the value of need_locks provided by the user
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13887 $as_echo_n "checking if we can lock with hard links... " >&6; }
13888 hard_links=yes
13889 $RM conftest*
13890 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13891 touch conftest.a
13892 ln conftest.a conftest.b 2>&5 || hard_links=no
13893 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13895 $as_echo "$hard_links" >&6; }
13896 if test "$hard_links" = no; then
13897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13898 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13899 need_locks=warn
13901 else
13902 need_locks=no
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13908 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13910 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13911 case $host_os in
13912 aix[4-9]*)
13913 # If we're using GNU nm, then we don't want the "-C" option.
13914 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13915 # Also, AIX nm treats weak defined symbols like other global defined
13916 # symbols, whereas GNU nm marks them as "W".
13917 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13918 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'
13919 else
13920 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'
13923 pw32*)
13924 export_symbols_cmds_CXX="$ltdll_cmds"
13926 cygwin* | mingw* | cegcc*)
13927 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'
13930 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13932 esac
13933 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13936 $as_echo "$ld_shlibs_CXX" >&6; }
13937 test "$ld_shlibs_CXX" = no && can_build_shared=no
13939 with_gnu_ld_CXX=$with_gnu_ld
13947 # Do we need to explicitly link libc?
13949 case "x$archive_cmds_need_lc_CXX" in
13950 x|xyes)
13951 # Assume -lc should be added
13952 archive_cmds_need_lc_CXX=yes
13954 if test "$enable_shared" = yes && test "$GCC" = yes; then
13955 case $archive_cmds_CXX in
13956 *'~'*)
13957 # FIXME: we may have to deal with multi-command sequences.
13959 '$CC '*)
13960 # Test whether the compiler implicitly links with -lc since on some
13961 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13962 # to ld, don't add -lc before -lgcc.
13963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13964 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13965 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
13966 $as_echo_n "(cached) " >&6
13967 else
13968 $RM conftest*
13969 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13971 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13972 (eval $ac_compile) 2>&5
13973 ac_status=$?
13974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13975 test $ac_status = 0; } 2>conftest.err; then
13976 soname=conftest
13977 lib=conftest
13978 libobjs=conftest.$ac_objext
13979 deplibs=
13980 wl=$lt_prog_compiler_wl_CXX
13981 pic_flag=$lt_prog_compiler_pic_CXX
13982 compiler_flags=-v
13983 linker_flags=-v
13984 verstring=
13985 output_objdir=.
13986 libname=conftest
13987 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13988 allow_undefined_flag_CXX=
13989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13990 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13991 ac_status=$?
13992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13993 test $ac_status = 0; }
13994 then
13995 lt_cv_archive_cmds_need_lc_CXX=no
13996 else
13997 lt_cv_archive_cmds_need_lc_CXX=yes
13999 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14000 else
14001 cat conftest.err 1>&5
14003 $RM conftest*
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14007 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14008 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14010 esac
14013 esac
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14079 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14081 library_names_spec=
14082 libname_spec='lib$name'
14083 soname_spec=
14084 shrext_cmds=".so"
14085 postinstall_cmds=
14086 postuninstall_cmds=
14087 finish_cmds=
14088 finish_eval=
14089 shlibpath_var=
14090 shlibpath_overrides_runpath=unknown
14091 version_type=none
14092 dynamic_linker="$host_os ld.so"
14093 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14094 need_lib_prefix=unknown
14095 hardcode_into_libs=no
14097 # when you set need_version to no, make sure it does not cause -set_version
14098 # flags to be left without arguments
14099 need_version=unknown
14101 case $host_os in
14102 aix3*)
14103 version_type=linux
14104 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14105 shlibpath_var=LIBPATH
14107 # AIX 3 has no versioning support, so we append a major version to the name.
14108 soname_spec='${libname}${release}${shared_ext}$major'
14111 aix[4-9]*)
14112 version_type=linux
14113 need_lib_prefix=no
14114 need_version=no
14115 hardcode_into_libs=yes
14116 if test "$host_cpu" = ia64; then
14117 # AIX 5 supports IA64
14118 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14119 shlibpath_var=LD_LIBRARY_PATH
14120 else
14121 # With GCC up to 2.95.x, collect2 would create an import file
14122 # for dependence libraries. The import file would start with
14123 # the line `#! .'. This would cause the generated library to
14124 # depend on `.', always an invalid library. This was fixed in
14125 # development snapshots of GCC prior to 3.0.
14126 case $host_os in
14127 aix4 | aix4.[01] | aix4.[01].*)
14128 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14129 echo ' yes '
14130 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14132 else
14133 can_build_shared=no
14136 esac
14137 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14138 # soname into executable. Probably we can add versioning support to
14139 # collect2, so additional links can be useful in future.
14140 if test "$aix_use_runtimelinking" = yes; then
14141 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14142 # instead of lib<name>.a to let people know that these are not
14143 # typical AIX shared libraries.
14144 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14145 else
14146 # We preserve .a as extension for shared libraries through AIX4.2
14147 # and later when we are not doing run time linking.
14148 library_names_spec='${libname}${release}.a $libname.a'
14149 soname_spec='${libname}${release}${shared_ext}$major'
14151 shlibpath_var=LIBPATH
14155 amigaos*)
14156 case $host_cpu in
14157 powerpc)
14158 # Since July 2007 AmigaOS4 officially supports .so libraries.
14159 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14160 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14162 m68k)
14163 library_names_spec='$libname.ixlibrary $libname.a'
14164 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14165 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'
14167 esac
14170 beos*)
14171 library_names_spec='${libname}${shared_ext}'
14172 dynamic_linker="$host_os ld.so"
14173 shlibpath_var=LIBRARY_PATH
14176 bsdi[45]*)
14177 version_type=linux
14178 need_version=no
14179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14180 soname_spec='${libname}${release}${shared_ext}$major'
14181 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14182 shlibpath_var=LD_LIBRARY_PATH
14183 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14184 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14185 # the default ld.so.conf also contains /usr/contrib/lib and
14186 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14187 # libtool to hard-code these into programs
14190 cygwin* | mingw* | pw32* | cegcc*)
14191 version_type=windows
14192 shrext_cmds=".dll"
14193 need_version=no
14194 need_lib_prefix=no
14196 case $GCC,$host_os in
14197 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14198 library_names_spec='$libname.dll.a'
14199 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14200 postinstall_cmds='base_file=`basename \${file}`~
14201 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14202 dldir=$destdir/`dirname \$dlpath`~
14203 test -d \$dldir || mkdir -p \$dldir~
14204 $install_prog $dir/$dlname \$dldir/$dlname~
14205 chmod a+x \$dldir/$dlname~
14206 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14207 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14209 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14210 dlpath=$dir/\$dldll~
14211 $RM \$dlpath'
14212 shlibpath_overrides_runpath=yes
14214 case $host_os in
14215 cygwin*)
14216 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14217 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14220 mingw* | cegcc*)
14221 # MinGW DLLs use traditional 'lib' prefix
14222 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14224 pw32*)
14225 # pw32 DLLs use 'pw' prefix rather than 'lib'
14226 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14228 esac
14232 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14234 esac
14235 dynamic_linker='Win32 ld.exe'
14236 # FIXME: first we should search . and the directory the executable is in
14237 shlibpath_var=PATH
14240 darwin* | rhapsody*)
14241 dynamic_linker="$host_os dyld"
14242 version_type=darwin
14243 need_lib_prefix=no
14244 need_version=no
14245 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14246 soname_spec='${libname}${release}${major}$shared_ext'
14247 shlibpath_overrides_runpath=yes
14248 shlibpath_var=DYLD_LIBRARY_PATH
14249 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14251 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14254 dgux*)
14255 version_type=linux
14256 need_lib_prefix=no
14257 need_version=no
14258 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14259 soname_spec='${libname}${release}${shared_ext}$major'
14260 shlibpath_var=LD_LIBRARY_PATH
14263 freebsd1*)
14264 dynamic_linker=no
14267 freebsd* | dragonfly*)
14268 # DragonFly does not have aout. When/if they implement a new
14269 # versioning mechanism, adjust this.
14270 if test -x /usr/bin/objformat; then
14271 objformat=`/usr/bin/objformat`
14272 else
14273 case $host_os in
14274 freebsd[123]*) objformat=aout ;;
14275 *) objformat=elf ;;
14276 esac
14278 version_type=freebsd-$objformat
14279 case $version_type in
14280 freebsd-elf*)
14281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14282 need_version=no
14283 need_lib_prefix=no
14285 freebsd-*)
14286 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14287 need_version=yes
14289 esac
14290 shlibpath_var=LD_LIBRARY_PATH
14291 case $host_os in
14292 freebsd2*)
14293 shlibpath_overrides_runpath=yes
14295 freebsd3.[01]* | freebsdelf3.[01]*)
14296 shlibpath_overrides_runpath=yes
14297 hardcode_into_libs=yes
14299 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14300 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14301 shlibpath_overrides_runpath=no
14302 hardcode_into_libs=yes
14304 *) # from 4.6 on, and DragonFly
14305 shlibpath_overrides_runpath=yes
14306 hardcode_into_libs=yes
14308 esac
14311 gnu*)
14312 version_type=linux
14313 need_lib_prefix=no
14314 need_version=no
14315 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14316 soname_spec='${libname}${release}${shared_ext}$major'
14317 shlibpath_var=LD_LIBRARY_PATH
14318 hardcode_into_libs=yes
14321 haiku*)
14322 version_type=linux
14323 need_lib_prefix=no
14324 need_version=no
14325 dynamic_linker="$host_os runtime_loader"
14326 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14327 soname_spec='${libname}${release}${shared_ext}$major'
14328 shlibpath_var=LIBRARY_PATH
14329 shlibpath_overrides_runpath=yes
14330 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14331 hardcode_into_libs=yes
14334 hpux9* | hpux10* | hpux11*)
14335 # Give a soname corresponding to the major version so that dld.sl refuses to
14336 # link against other versions.
14337 version_type=sunos
14338 need_lib_prefix=no
14339 need_version=no
14340 case $host_cpu in
14341 ia64*)
14342 shrext_cmds='.so'
14343 hardcode_into_libs=yes
14344 dynamic_linker="$host_os dld.so"
14345 shlibpath_var=LD_LIBRARY_PATH
14346 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14347 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14348 soname_spec='${libname}${release}${shared_ext}$major'
14349 if test "X$HPUX_IA64_MODE" = X32; then
14350 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14351 else
14352 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14354 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14356 hppa*64*)
14357 shrext_cmds='.sl'
14358 hardcode_into_libs=yes
14359 dynamic_linker="$host_os dld.sl"
14360 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14361 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14362 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14363 soname_spec='${libname}${release}${shared_ext}$major'
14364 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14365 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14368 shrext_cmds='.sl'
14369 dynamic_linker="$host_os dld.sl"
14370 shlibpath_var=SHLIB_PATH
14371 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14373 soname_spec='${libname}${release}${shared_ext}$major'
14375 esac
14376 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14377 postinstall_cmds='chmod 555 $lib'
14378 # or fails outright, so override atomically:
14379 install_override_mode=555
14382 interix[3-9]*)
14383 version_type=linux
14384 need_lib_prefix=no
14385 need_version=no
14386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14387 soname_spec='${libname}${release}${shared_ext}$major'
14388 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14389 shlibpath_var=LD_LIBRARY_PATH
14390 shlibpath_overrides_runpath=no
14391 hardcode_into_libs=yes
14394 irix5* | irix6* | nonstopux*)
14395 case $host_os in
14396 nonstopux*) version_type=nonstopux ;;
14398 if test "$lt_cv_prog_gnu_ld" = yes; then
14399 version_type=linux
14400 else
14401 version_type=irix
14402 fi ;;
14403 esac
14404 need_lib_prefix=no
14405 need_version=no
14406 soname_spec='${libname}${release}${shared_ext}$major'
14407 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14408 case $host_os in
14409 irix5* | nonstopux*)
14410 libsuff= shlibsuff=
14413 case $LD in # libtool.m4 will add one of these switches to LD
14414 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14415 libsuff= shlibsuff= libmagic=32-bit;;
14416 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14417 libsuff=32 shlibsuff=N32 libmagic=N32;;
14418 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14419 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14420 *) libsuff= shlibsuff= libmagic=never-match;;
14421 esac
14423 esac
14424 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14425 shlibpath_overrides_runpath=no
14426 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14427 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14428 hardcode_into_libs=yes
14431 # No shared lib support for Linux oldld, aout, or coff.
14432 linux*oldld* | linux*aout* | linux*coff*)
14433 dynamic_linker=no
14436 # This must be Linux ELF.
14437 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14438 version_type=linux
14439 need_lib_prefix=no
14440 need_version=no
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14443 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14444 shlibpath_var=LD_LIBRARY_PATH
14445 shlibpath_overrides_runpath=no
14447 # Some binutils ld are patched to set DT_RUNPATH
14448 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14449 $as_echo_n "(cached) " >&6
14450 else
14451 lt_cv_shlibpath_overrides_runpath=no
14452 save_LDFLAGS=$LDFLAGS
14453 save_libdir=$libdir
14454 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14455 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14456 if test x$gcc_no_link = xyes; then
14457 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14460 /* end confdefs.h. */
14463 main ()
14467 return 0;
14469 _ACEOF
14470 if ac_fn_cxx_try_link "$LINENO"; then :
14471 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14472 lt_cv_shlibpath_overrides_runpath=yes
14475 rm -f core conftest.err conftest.$ac_objext \
14476 conftest$ac_exeext conftest.$ac_ext
14477 LDFLAGS=$save_LDFLAGS
14478 libdir=$save_libdir
14482 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14484 # This implies no fast_install, which is unacceptable.
14485 # Some rework will be needed to allow for fast_install
14486 # before this can be enabled.
14487 hardcode_into_libs=yes
14489 # Append ld.so.conf contents to the search path
14490 if test -f /etc/ld.so.conf; then
14491 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' ' '`
14492 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14495 # We used to test for /lib/ld.so.1 and disable shared libraries on
14496 # powerpc, because MkLinux only supported shared libraries with the
14497 # GNU dynamic linker. Since this was broken with cross compilers,
14498 # most powerpc-linux boxes support dynamic linking these days and
14499 # people can always --disable-shared, the test was removed, and we
14500 # assume the GNU/Linux dynamic linker is in use.
14501 dynamic_linker='GNU/Linux ld.so'
14504 netbsd*)
14505 version_type=sunos
14506 need_lib_prefix=no
14507 need_version=no
14508 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14510 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14511 dynamic_linker='NetBSD (a.out) ld.so'
14512 else
14513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14514 soname_spec='${libname}${release}${shared_ext}$major'
14515 dynamic_linker='NetBSD ld.elf_so'
14517 shlibpath_var=LD_LIBRARY_PATH
14518 shlibpath_overrides_runpath=yes
14519 hardcode_into_libs=yes
14522 newsos6)
14523 version_type=linux
14524 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14525 shlibpath_var=LD_LIBRARY_PATH
14526 shlibpath_overrides_runpath=yes
14529 *nto* | *qnx*)
14530 version_type=qnx
14531 need_lib_prefix=no
14532 need_version=no
14533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14534 soname_spec='${libname}${release}${shared_ext}$major'
14535 shlibpath_var=LD_LIBRARY_PATH
14536 shlibpath_overrides_runpath=no
14537 hardcode_into_libs=yes
14538 dynamic_linker='ldqnx.so'
14541 openbsd*)
14542 version_type=sunos
14543 sys_lib_dlsearch_path_spec="/usr/lib"
14544 need_lib_prefix=no
14545 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14546 case $host_os in
14547 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14548 *) need_version=no ;;
14549 esac
14550 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14551 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14552 shlibpath_var=LD_LIBRARY_PATH
14553 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14554 case $host_os in
14555 openbsd2.[89] | openbsd2.[89].*)
14556 shlibpath_overrides_runpath=no
14559 shlibpath_overrides_runpath=yes
14561 esac
14562 else
14563 shlibpath_overrides_runpath=yes
14567 os2*)
14568 libname_spec='$name'
14569 shrext_cmds=".dll"
14570 need_lib_prefix=no
14571 library_names_spec='$libname${shared_ext} $libname.a'
14572 dynamic_linker='OS/2 ld.exe'
14573 shlibpath_var=LIBPATH
14576 osf3* | osf4* | osf5*)
14577 version_type=osf
14578 need_lib_prefix=no
14579 need_version=no
14580 soname_spec='${libname}${release}${shared_ext}$major'
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14584 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14587 rdos*)
14588 dynamic_linker=no
14591 solaris*)
14592 version_type=linux
14593 need_lib_prefix=no
14594 need_version=no
14595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14596 soname_spec='${libname}${release}${shared_ext}$major'
14597 shlibpath_var=LD_LIBRARY_PATH
14598 shlibpath_overrides_runpath=yes
14599 hardcode_into_libs=yes
14600 # ldd complains unless libraries are executable
14601 postinstall_cmds='chmod +x $lib'
14604 sunos4*)
14605 version_type=sunos
14606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14607 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14608 shlibpath_var=LD_LIBRARY_PATH
14609 shlibpath_overrides_runpath=yes
14610 if test "$with_gnu_ld" = yes; then
14611 need_lib_prefix=no
14613 need_version=yes
14616 sysv4 | sysv4.3*)
14617 version_type=linux
14618 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14619 soname_spec='${libname}${release}${shared_ext}$major'
14620 shlibpath_var=LD_LIBRARY_PATH
14621 case $host_vendor in
14622 sni)
14623 shlibpath_overrides_runpath=no
14624 need_lib_prefix=no
14625 runpath_var=LD_RUN_PATH
14627 siemens)
14628 need_lib_prefix=no
14630 motorola)
14631 need_lib_prefix=no
14632 need_version=no
14633 shlibpath_overrides_runpath=no
14634 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14636 esac
14639 sysv4*MP*)
14640 if test -d /usr/nec ;then
14641 version_type=linux
14642 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14643 soname_spec='$libname${shared_ext}.$major'
14644 shlibpath_var=LD_LIBRARY_PATH
14648 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14649 version_type=freebsd-elf
14650 need_lib_prefix=no
14651 need_version=no
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14657 if test "$with_gnu_ld" = yes; then
14658 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14659 else
14660 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14661 case $host_os in
14662 sco3.2v5*)
14663 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14665 esac
14667 sys_lib_dlsearch_path_spec='/usr/lib'
14670 tpf*)
14671 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14672 version_type=linux
14673 need_lib_prefix=no
14674 need_version=no
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14676 shlibpath_var=LD_LIBRARY_PATH
14677 shlibpath_overrides_runpath=no
14678 hardcode_into_libs=yes
14681 uts4*)
14682 version_type=linux
14683 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14684 soname_spec='${libname}${release}${shared_ext}$major'
14685 shlibpath_var=LD_LIBRARY_PATH
14689 dynamic_linker=no
14691 esac
14692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14693 $as_echo "$dynamic_linker" >&6; }
14694 test "$dynamic_linker" = no && can_build_shared=no
14696 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14697 if test "$GCC" = yes; then
14698 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14701 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14702 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14704 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14705 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14746 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14747 hardcode_action_CXX=
14748 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14749 test -n "$runpath_var_CXX" ||
14750 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14752 # We can hardcode non-existent directories.
14753 if test "$hardcode_direct_CXX" != no &&
14754 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14755 # have to relink, otherwise we might link with an installed library
14756 # when we should be linking with a yet-to-be-installed one
14757 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14758 test "$hardcode_minus_L_CXX" != no; then
14759 # Linking always hardcodes the temporary library directory.
14760 hardcode_action_CXX=relink
14761 else
14762 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14763 hardcode_action_CXX=immediate
14765 else
14766 # We cannot hardcode anything, or else we can only hardcode existing
14767 # directories.
14768 hardcode_action_CXX=unsupported
14770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14771 $as_echo "$hardcode_action_CXX" >&6; }
14773 if test "$hardcode_action_CXX" = relink ||
14774 test "$inherit_rpath_CXX" = yes; then
14775 # Fast installation is not supported
14776 enable_fast_install=no
14777 elif test "$shlibpath_overrides_runpath" = yes ||
14778 test "$enable_shared" = no; then
14779 # Fast installation is not necessary
14780 enable_fast_install=needless
14789 fi # test -n "$compiler"
14791 CC=$lt_save_CC
14792 LDCXX=$LD
14793 LD=$lt_save_LD
14794 GCC=$lt_save_GCC
14795 with_gnu_ld=$lt_save_with_gnu_ld
14796 lt_cv_path_LDCXX=$lt_cv_path_LD
14797 lt_cv_path_LD=$lt_save_path_LD
14798 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14799 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14800 fi # test "$_lt_caught_CXX_error" != yes
14802 ac_ext=c
14803 ac_cpp='$CPP $CPPFLAGS'
14804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14820 ac_config_commands="$ac_config_commands libtool"
14825 # Only expand once:
14831 # Possibly disable most of the library.
14832 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14833 ## than just ignoring the results. Faster /and/ more correct, win win.
14835 # Check whether --enable-hosted-libstdcxx was given.
14836 if test "${enable_hosted_libstdcxx+set}" = set; then :
14837 enableval=$enable_hosted_libstdcxx;
14838 else
14839 case "$host" in
14840 arm*-*-symbianelf*)
14841 enable_hosted_libstdcxx=no
14844 enable_hosted_libstdcxx=yes
14846 esac
14849 if test "$enable_hosted_libstdcxx" = no; then
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14851 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14852 is_hosted=no
14853 hosted_define=0
14854 enable_abi_check=no
14855 enable_libstdcxx_pch=no
14856 else
14857 is_hosted=yes
14858 hosted_define=1
14862 cat >>confdefs.h <<_ACEOF
14863 #define _GLIBCXX_HOSTED $hosted_define
14864 _ACEOF
14868 # Enable compiler support that doesn't require linking.
14870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14871 $as_echo_n "checking for exception model to use... " >&6; }
14873 ac_ext=cpp
14874 ac_cpp='$CXXCPP $CPPFLAGS'
14875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14879 # Check whether --enable-sjlj-exceptions was given.
14880 if test "${enable_sjlj_exceptions+set}" = set; then :
14881 enableval=$enable_sjlj_exceptions;
14882 case "$enableval" in
14883 yes|no|auto) ;;
14884 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14885 esac
14887 else
14888 enable_sjlj_exceptions=auto
14893 if test $enable_sjlj_exceptions = auto; then
14894 # Botheration. Now we've got to detect the exception model. Link tests
14895 # against libgcc.a are problematic since we've not been given proper -L
14896 # bits for single-tree newlib and libgloss.
14898 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14899 cat > conftest.$ac_ext << EOF
14900 #line 14900 "configure"
14901 struct S { ~S(); };
14902 void bar();
14903 void foo()
14905 S s;
14906 bar();
14909 old_CXXFLAGS="$CXXFLAGS"
14910 CXXFLAGS=-S
14911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14912 (eval $ac_compile) 2>&5
14913 ac_status=$?
14914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14915 test $ac_status = 0; }; then
14916 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14917 enable_sjlj_exceptions=yes
14918 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14919 enable_sjlj_exceptions=no
14920 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14921 enable_sjlj_exceptions=no
14924 CXXFLAGS="$old_CXXFLAGS"
14925 rm -f conftest*
14928 # This is a tad weird, for hysterical raisins. We have to map
14929 # enable/disable to two different models.
14930 case $enable_sjlj_exceptions in
14931 yes)
14933 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14935 ac_exception_model_name=sjlj
14938 ac_exception_model_name="call frame"
14941 as_fn_error "unable to detect exception model" "$LINENO" 5
14943 esac
14944 ac_ext=c
14945 ac_cpp='$CPP $CPPFLAGS'
14946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
14951 $as_echo "$ac_exception_model_name" >&6; }
14954 # Check whether --enable-libstdcxx-pch was given.
14955 if test "${enable_libstdcxx_pch+set}" = set; then :
14956 enableval=$enable_libstdcxx_pch;
14957 case "$enableval" in
14958 yes|no) ;;
14959 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
14960 esac
14962 else
14963 enable_libstdcxx_pch=$is_hosted
14967 if test $enable_libstdcxx_pch = yes; then
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
14969 $as_echo_n "checking for compiler with PCH support... " >&6; }
14970 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
14971 $as_echo_n "(cached) " >&6
14972 else
14973 ac_save_CXXFLAGS="$CXXFLAGS"
14974 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14976 ac_ext=cpp
14977 ac_cpp='$CXXCPP $CPPFLAGS'
14978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14982 echo '#include <math.h>' > conftest.h
14983 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14984 -o conftest.h.gch 1>&5 2>&1 &&
14985 echo '#error "pch failed"' > conftest.h &&
14986 echo '#include "conftest.h"' > conftest.cc &&
14987 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14988 then
14989 glibcxx_cv_prog_CXX_pch=yes
14990 else
14991 glibcxx_cv_prog_CXX_pch=no
14993 rm -f conftest*
14994 CXXFLAGS=$ac_save_CXXFLAGS
14995 ac_ext=c
14996 ac_cpp='$CPP $CPPFLAGS'
14997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15004 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15005 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15009 $as_echo_n "checking for enabled PCH... " >&6; }
15010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15011 $as_echo "$enable_libstdcxx_pch" >&6; }
15014 if test $enable_libstdcxx_pch = yes; then
15015 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15016 else
15017 glibcxx_PCHFLAGS=""
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15023 $as_echo_n "checking for thread model used by GCC... " >&6; }
15024 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15026 $as_echo "$target_thread_file" >&6; }
15028 if test $target_thread_file != single; then
15030 $as_echo "#define HAVE_GTHR_DEFAULT 1" >>confdefs.h
15034 glibcxx_thread_h=gthr-$target_thread_file.h
15036 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
15037 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
15038 enable_thread=yes
15039 else
15040 enable_thread=no
15047 ac_ext=cpp
15048 ac_cpp='$CXXCPP $CPPFLAGS'
15049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15053 old_CXXFLAGS="$CXXFLAGS"
15055 # Compile unoptimized.
15056 CXXFLAGS='-O0 -S'
15058 # Fake what AC_TRY_COMPILE does, without linking as this is
15059 # unnecessary for a builtins test.
15061 cat > conftest.$ac_ext << EOF
15062 #line 15062 "configure"
15063 int main()
15065 typedef bool atomic_type;
15066 atomic_type c1;
15067 atomic_type c2;
15068 const atomic_type c3(0);
15069 __sync_fetch_and_add(&c1, c2);
15070 __sync_val_compare_and_swap(&c1, c3, c2);
15071 __sync_lock_test_and_set(&c1, c3);
15072 __sync_lock_release(&c1);
15073 __sync_synchronize();
15074 return 0;
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15079 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15080 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15081 (eval $ac_compile) 2>&5
15082 ac_status=$?
15083 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15084 test $ac_status = 0; }; then
15085 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15086 enable_atomic_builtinsb=no
15087 else
15089 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_1 1" >>confdefs.h
15091 enable_atomic_builtinsb=yes
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsb" >&5
15095 $as_echo "$enable_atomic_builtinsb" >&6; }
15096 rm -f conftest*
15098 cat > conftest.$ac_ext << EOF
15099 #line 15099 "configure"
15100 int main()
15102 typedef short atomic_type;
15103 atomic_type c1;
15104 atomic_type c2;
15105 const atomic_type c3(0);
15106 __sync_fetch_and_add(&c1, c2);
15107 __sync_val_compare_and_swap(&c1, c3, c2);
15108 __sync_lock_test_and_set(&c1, c3);
15109 __sync_lock_release(&c1);
15110 __sync_synchronize();
15111 return 0;
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15116 $as_echo_n "checking for atomic builtins for short... " >&6; }
15117 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15118 (eval $ac_compile) 2>&5
15119 ac_status=$?
15120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15121 test $ac_status = 0; }; then
15122 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15123 enable_atomic_builtinss=no
15124 else
15126 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_2 1" >>confdefs.h
15128 enable_atomic_builtinss=yes
15131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinss" >&5
15132 $as_echo "$enable_atomic_builtinss" >&6; }
15133 rm -f conftest*
15135 cat > conftest.$ac_ext << EOF
15136 #line 15136 "configure"
15137 int main()
15139 // NB: _Atomic_word not necessarily int.
15140 typedef int atomic_type;
15141 atomic_type c1;
15142 atomic_type c2;
15143 const atomic_type c3(0);
15144 __sync_fetch_and_add(&c1, c2);
15145 __sync_val_compare_and_swap(&c1, c3, c2);
15146 __sync_lock_test_and_set(&c1, c3);
15147 __sync_lock_release(&c1);
15148 __sync_synchronize();
15149 return 0;
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15154 $as_echo_n "checking for atomic builtins for int... " >&6; }
15155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15156 (eval $ac_compile) 2>&5
15157 ac_status=$?
15158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15159 test $ac_status = 0; }; then
15160 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15161 enable_atomic_builtinsi=no
15162 else
15164 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_4 1" >>confdefs.h
15166 enable_atomic_builtinsi=yes
15169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsi" >&5
15170 $as_echo "$enable_atomic_builtinsi" >&6; }
15171 rm -f conftest*
15173 cat > conftest.$ac_ext << EOF
15174 #line 15174 "configure"
15175 int main()
15177 typedef long long atomic_type;
15178 atomic_type c1;
15179 atomic_type c2;
15180 const atomic_type c3(0);
15181 __sync_fetch_and_add(&c1, c2);
15182 __sync_val_compare_and_swap(&c1, c3, c2);
15183 __sync_lock_test_and_set(&c1, c3);
15184 __sync_lock_release(&c1);
15185 __sync_synchronize();
15186 return 0;
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15191 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15193 (eval $ac_compile) 2>&5
15194 ac_status=$?
15195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15196 test $ac_status = 0; }; then
15197 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15198 enable_atomic_builtinsll=no
15199 else
15201 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS_8 1" >>confdefs.h
15203 enable_atomic_builtinsll=yes
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_atomic_builtinsll" >&5
15207 $as_echo "$enable_atomic_builtinsll" >&6; }
15208 rm -f conftest*
15211 CXXFLAGS="$old_CXXFLAGS"
15212 ac_ext=c
15213 ac_cpp='$CPP $CPPFLAGS'
15214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15219 # Set atomicity_dir to builtins if either of above tests pass.
15220 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
15221 atomicity_dir=cpu/generic/atomicity_builtins
15224 # If still generic, set to mutex.
15225 if test $atomicity_dir = "cpu/generic" ; then
15226 atomicity_dir=cpu/generic/atomicity_mutex
15227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15228 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15229 if test "x$target_thread_file" = xsingle; then
15230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15231 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15233 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15234 else
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15236 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15238 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15245 # Fake what AC_TRY_COMPILE does, without linking as this is
15246 # unnecessary for this test.
15248 cat > conftest.$ac_ext << EOF
15249 #line 15249 "configure"
15250 int main()
15252 _Decimal32 d1;
15253 _Decimal64 d2;
15254 _Decimal128 d3;
15255 return 0;
15259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15260 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15261 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15262 (eval $ac_compile) 2>&5
15263 ac_status=$?
15264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15265 test $ac_status = 0; }; then
15267 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15269 enable_dfp=yes
15270 else
15271 enable_dfp=no
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15274 $as_echo "$enable_dfp" >&6; }
15275 rm -f conftest*
15278 # Checks for compiler support that doesn't require linking.
15280 # All these tests are for C++; save the language and the compiler flags.
15281 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15282 # found in GLIBCXX_CONFIGURE.
15284 ac_ext=cpp
15285 ac_cpp='$CXXCPP $CPPFLAGS'
15286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15290 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15291 ac_save_CXXFLAGS="$CXXFLAGS"
15293 # Check for maintainer-mode bits.
15294 if test x"$USE_MAINTAINER_MODE" = xno; then
15295 WERROR=''
15296 else
15297 WERROR='-Werror'
15300 # Check for -ffunction-sections -fdata-sections
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15302 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15303 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306 int foo; void bar() { };
15308 main ()
15312 return 0;
15314 _ACEOF
15315 if ac_fn_cxx_try_compile "$LINENO"; then :
15316 ac_fdsections=yes
15317 else
15318 ac_fdsections=no
15320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15321 if test "$ac_test_CXXFLAGS" = set; then
15322 CXXFLAGS="$ac_save_CXXFLAGS"
15323 else
15324 # this is the suspicious part
15325 CXXFLAGS=''
15327 if test x"$ac_fdsections" = x"yes"; then
15328 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15331 $as_echo "$ac_fdsections" >&6; }
15333 ac_ext=c
15334 ac_cpp='$CPP $CPPFLAGS'
15335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15343 # Enable all the variable C++ runtime options that don't require linking.
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15346 $as_echo_n "checking for underlying I/O to use... " >&6; }
15347 # Check whether --enable-cstdio was given.
15348 if test "${enable_cstdio+set}" = set; then :
15349 enableval=$enable_cstdio;
15350 case "$enableval" in
15351 stdio) ;;
15352 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15353 esac
15355 else
15356 enable_cstdio=stdio
15361 # Now that libio has been removed, you can have any color you want as long
15362 # as it's black. This is one big no-op until other packages are added, but
15363 # showing the framework never hurts.
15364 case ${enable_cstdio} in
15365 stdio)
15366 CSTDIO_H=config/io/c_io_stdio.h
15367 BASIC_FILE_H=config/io/basic_file_stdio.h
15368 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15370 $as_echo "stdio" >&6; }
15372 esac
15379 # Check whether --enable-clocale was given.
15380 if test "${enable_clocale+set}" = set; then :
15381 enableval=$enable_clocale;
15382 case "$enableval" in
15383 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15384 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15385 esac
15387 else
15388 enable_clocale=auto
15393 # Deal with gettext issues. Default to not using it (=no) until we detect
15394 # support for it later. Let the user turn it off via --e/d, but let that
15395 # default to on for easier handling.
15396 USE_NLS=no
15397 # Check whether --enable-nls was given.
15398 if test "${enable_nls+set}" = set; then :
15399 enableval=$enable_nls;
15400 else
15401 enable_nls=yes
15405 # Either a known packaage, or "auto"
15406 if test $enable_clocale = no || test $enable_clocale = yes; then
15407 enable_clocale=auto
15409 enable_clocale_flag=$enable_clocale
15411 # Probe for locale model to use if none specified.
15412 # Default to "generic".
15413 if test $enable_clocale_flag = auto; then
15414 case ${target_os} in
15415 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15416 enable_clocale_flag=gnu
15418 darwin* | freebsd*)
15419 enable_clocale_flag=darwin
15422 enable_clocale_flag=generic
15424 esac
15427 # Sanity check model, and test for special functionality.
15428 if test $enable_clocale_flag = gnu; then
15429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 /* end confdefs.h. */
15432 #include <features.h>
15433 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15434 _GLIBCXX_ok
15435 #endif
15437 _ACEOF
15438 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15439 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15440 enable_clocale_flag=gnu
15441 else
15442 enable_clocale_flag=generic
15444 rm -f conftest*
15447 if test $enable_clocale = auto; then
15448 # Test for bugs early in glibc-2.2.x series
15449 if test "$cross_compiling" = yes; then :
15450 enable_clocale_flag=generic
15451 else
15452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15453 /* end confdefs.h. */
15455 #define _GNU_SOURCE 1
15456 #include <locale.h>
15457 #include <string.h>
15458 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15459 extern __typeof(newlocale) __newlocale;
15460 extern __typeof(duplocale) __duplocale;
15461 extern __typeof(strcoll_l) __strcoll_l;
15462 #endif
15463 int main()
15465 const char __one[] = "Äuglein Augmen";
15466 const char __two[] = "Äuglein";
15467 int i;
15468 int j;
15469 __locale_t loc;
15470 __locale_t loc_dup;
15471 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15472 loc_dup = __duplocale(loc);
15473 i = __strcoll_l(__one, __two, loc);
15474 j = __strcoll_l(__one, __two, loc_dup);
15475 return 0;
15478 _ACEOF
15479 if ac_fn_c_try_run "$LINENO"; then :
15480 enable_clocale_flag=gnu
15481 else
15482 enable_clocale_flag=generic
15484 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15485 conftest.$ac_objext conftest.beam conftest.$ac_ext
15490 # Set it to scream when it hurts.
15491 ac_save_CFLAGS="$CFLAGS"
15492 CFLAGS="-Wimplicit-function-declaration -Werror"
15494 # Use strxfrm_l if available.
15495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15496 /* end confdefs.h. */
15497 #define _GNU_SOURCE 1
15498 #include <string.h>
15499 #include <locale.h>
15501 main ()
15503 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15505 return 0;
15507 _ACEOF
15508 if ac_fn_c_try_compile "$LINENO"; then :
15510 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15515 # Use strerror_l if available.
15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15518 #define _GNU_SOURCE 1
15519 #include <string.h>
15520 #include <locale.h>
15522 main ()
15524 __locale_t loc; strerror_l(5, loc);
15526 return 0;
15528 _ACEOF
15529 if ac_fn_c_try_compile "$LINENO"; then :
15531 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15536 CFLAGS="$ac_save_CFLAGS"
15539 # Perhaps use strerror_r if available, and strerror_l isn't.
15540 ac_save_CFLAGS="$CFLAGS"
15541 CFLAGS="-Wimplicit-function-declaration -Werror"
15542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15543 /* end confdefs.h. */
15544 #define _GNU_SOURCE 1
15545 #include <string.h>
15546 #include <locale.h>
15548 main ()
15550 char s[128]; strerror_r(5, s, 128);
15552 return 0;
15554 _ACEOF
15555 if ac_fn_c_try_compile "$LINENO"; then :
15557 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15561 CFLAGS="$ac_save_CFLAGS"
15563 # Set configure bits for specified locale package
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15565 $as_echo_n "checking for C locale to use... " >&6; }
15566 case ${enable_clocale_flag} in
15567 generic)
15568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15569 $as_echo "generic" >&6; }
15571 CLOCALE_H=config/locale/generic/c_locale.h
15572 CLOCALE_CC=config/locale/generic/c_locale.cc
15573 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15574 CCOLLATE_CC=config/locale/generic/collate_members.cc
15575 CCTYPE_CC=config/locale/generic/ctype_members.cc
15576 CMESSAGES_H=config/locale/generic/messages_members.h
15577 CMESSAGES_CC=config/locale/generic/messages_members.cc
15578 CMONEY_CC=config/locale/generic/monetary_members.cc
15579 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15580 CTIME_H=config/locale/generic/time_members.h
15581 CTIME_CC=config/locale/generic/time_members.cc
15582 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15584 darwin)
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15586 $as_echo "darwin or freebsd" >&6; }
15588 CLOCALE_H=config/locale/generic/c_locale.h
15589 CLOCALE_CC=config/locale/generic/c_locale.cc
15590 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15591 CCOLLATE_CC=config/locale/generic/collate_members.cc
15592 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15593 CMESSAGES_H=config/locale/generic/messages_members.h
15594 CMESSAGES_CC=config/locale/generic/messages_members.cc
15595 CMONEY_CC=config/locale/generic/monetary_members.cc
15596 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15597 CTIME_H=config/locale/generic/time_members.h
15598 CTIME_CC=config/locale/generic/time_members.cc
15599 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15602 gnu)
15603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15604 $as_echo "gnu" >&6; }
15606 # Declare intention to use gettext, and add support for specific
15607 # languages.
15608 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15609 ALL_LINGUAS="de fr"
15611 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15612 # Extract the first word of "msgfmt", so it can be a program name with args.
15613 set dummy msgfmt; ac_word=$2
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15615 $as_echo_n "checking for $ac_word... " >&6; }
15616 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15617 $as_echo_n "(cached) " >&6
15618 else
15619 if test -n "$check_msgfmt"; then
15620 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15621 else
15622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15623 for as_dir in $PATH
15625 IFS=$as_save_IFS
15626 test -z "$as_dir" && as_dir=.
15627 for ac_exec_ext in '' $ac_executable_extensions; do
15628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15629 ac_cv_prog_check_msgfmt="yes"
15630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15631 break 2
15633 done
15634 done
15635 IFS=$as_save_IFS
15637 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15640 check_msgfmt=$ac_cv_prog_check_msgfmt
15641 if test -n "$check_msgfmt"; then
15642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15643 $as_echo "$check_msgfmt" >&6; }
15644 else
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15646 $as_echo "no" >&6; }
15650 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15651 USE_NLS=yes
15653 # Export the build objects.
15654 for ling in $ALL_LINGUAS; do \
15655 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15656 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15657 done
15661 CLOCALE_H=config/locale/gnu/c_locale.h
15662 CLOCALE_CC=config/locale/gnu/c_locale.cc
15663 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15664 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15665 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15666 CMESSAGES_H=config/locale/gnu/messages_members.h
15667 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15668 CMONEY_CC=config/locale/gnu/monetary_members.cc
15669 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15670 CTIME_H=config/locale/gnu/time_members.h
15671 CTIME_CC=config/locale/gnu/time_members.cc
15672 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15674 ieee_1003.1-2001)
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15676 $as_echo "IEEE 1003.1" >&6; }
15678 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15679 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15680 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15681 CCOLLATE_CC=config/locale/generic/collate_members.cc
15682 CCTYPE_CC=config/locale/generic/ctype_members.cc
15683 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15684 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15685 CMONEY_CC=config/locale/generic/monetary_members.cc
15686 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15687 CTIME_H=config/locale/generic/time_members.h
15688 CTIME_CC=config/locale/generic/time_members.cc
15689 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15691 esac
15693 # This is where the testsuite looks for locale catalogs, using the
15694 # -DLOCALEDIR define during testsuite compilation.
15695 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15698 # A standalone libintl (e.g., GNU libintl) may be in use.
15699 if test $USE_NLS = yes; then
15700 for ac_header in libintl.h
15701 do :
15702 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15703 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15704 cat >>confdefs.h <<_ACEOF
15705 #define HAVE_LIBINTL_H 1
15706 _ACEOF
15708 else
15709 USE_NLS=no
15712 done
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15715 $as_echo_n "checking for library containing gettext... " >&6; }
15716 if test "${ac_cv_search_gettext+set}" = set; then :
15717 $as_echo_n "(cached) " >&6
15718 else
15719 ac_func_search_save_LIBS=$LIBS
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15723 /* Override any GCC internal prototype to avoid an error.
15724 Use char because int might match the return type of a GCC
15725 builtin and then its argument prototype would still apply. */
15726 #ifdef __cplusplus
15727 extern "C"
15728 #endif
15729 char gettext ();
15731 main ()
15733 return gettext ();
15735 return 0;
15737 _ACEOF
15738 for ac_lib in '' intl; do
15739 if test -z "$ac_lib"; then
15740 ac_res="none required"
15741 else
15742 ac_res=-l$ac_lib
15743 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15745 if test x$gcc_no_link = xyes; then
15746 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15748 if ac_fn_c_try_link "$LINENO"; then :
15749 ac_cv_search_gettext=$ac_res
15751 rm -f core conftest.err conftest.$ac_objext \
15752 conftest$ac_exeext
15753 if test "${ac_cv_search_gettext+set}" = set; then :
15754 break
15756 done
15757 if test "${ac_cv_search_gettext+set}" = set; then :
15759 else
15760 ac_cv_search_gettext=no
15762 rm conftest.$ac_ext
15763 LIBS=$ac_func_search_save_LIBS
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
15766 $as_echo "$ac_cv_search_gettext" >&6; }
15767 ac_res=$ac_cv_search_gettext
15768 if test "$ac_res" != no; then :
15769 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15771 else
15772 USE_NLS=no
15776 if test $USE_NLS = yes; then
15778 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
15798 $as_echo_n "checking for std::allocator base class... " >&6; }
15799 # Check whether --enable-libstdcxx-allocator was given.
15800 if test "${enable_libstdcxx_allocator+set}" = set; then :
15801 enableval=$enable_libstdcxx_allocator;
15802 case "$enableval" in
15803 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15804 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
15805 esac
15807 else
15808 enable_libstdcxx_allocator=auto
15813 # If they didn't use this option switch, or if they specified --enable
15814 # with no specific model, we'll have to look for one. If they
15815 # specified --disable (???), do likewise.
15816 if test $enable_libstdcxx_allocator = no ||
15817 test $enable_libstdcxx_allocator = yes;
15818 then
15819 enable_libstdcxx_allocator=auto
15822 # Either a known package, or "auto". Auto implies the default choice
15823 # for a particular platform.
15824 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15826 # Probe for host-specific support if no specific model is specified.
15827 # Default to "new".
15828 if test $enable_libstdcxx_allocator_flag = auto; then
15829 case ${target_os} in
15830 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15831 enable_libstdcxx_allocator_flag=new
15834 enable_libstdcxx_allocator_flag=new
15836 esac
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
15839 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
15842 # Set configure bits for specified locale package
15843 case ${enable_libstdcxx_allocator_flag} in
15844 bitmap)
15845 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15846 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15848 malloc)
15849 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15850 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15853 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15854 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15856 new)
15857 ALLOCATOR_H=config/allocator/new_allocator_base.h
15858 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15860 pool)
15861 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15862 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15864 esac
15870 # Check whether --enable-cheaders was given.
15871 if test "${enable_cheaders+set}" = set; then :
15872 enableval=$enable_cheaders;
15873 case "$enableval" in
15874 c|c_std|c_global) ;;
15875 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
15876 esac
15878 else
15879 enable_cheaders=$c_model
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
15884 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15886 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15888 # Allow overrides to configure.host here.
15889 if test $enable_cheaders = c_global; then
15890 c_compatibility=yes
15893 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15894 c_extra=yes
15904 # Check whether --enable-long-long was given.
15905 if test "${enable_long_long+set}" = set; then :
15906 enableval=$enable_long_long;
15907 case "$enableval" in
15908 yes|no) ;;
15909 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
15910 esac
15912 else
15913 enable_long_long=yes
15917 if test $enable_long_long = yes; then
15919 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
15923 $as_echo_n "checking for enabled long long specializations... " >&6; }
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
15925 $as_echo "$enable_long_long" >&6; }
15928 # Check whether --enable-wchar_t was given.
15929 if test "${enable_wchar_t+set}" = set; then :
15930 enableval=$enable_wchar_t;
15931 case "$enableval" in
15932 yes|no) ;;
15933 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
15934 esac
15936 else
15937 enable_wchar_t=yes
15942 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15943 for ac_header in wchar.h
15944 do :
15945 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
15946 if test "x$ac_cv_header_wchar_h" = x""yes; then :
15947 cat >>confdefs.h <<_ACEOF
15948 #define HAVE_WCHAR_H 1
15949 _ACEOF
15950 ac_has_wchar_h=yes
15951 else
15952 ac_has_wchar_h=no
15955 done
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
15958 $as_echo_n "checking for mbstate_t... " >&6; }
15959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15960 /* end confdefs.h. */
15961 #include <wchar.h>
15963 main ()
15965 mbstate_t teststate;
15967 return 0;
15969 _ACEOF
15970 if ac_fn_c_try_compile "$LINENO"; then :
15971 have_mbstate_t=yes
15972 else
15973 have_mbstate_t=no
15975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
15977 $as_echo "$have_mbstate_t" >&6; }
15978 if test x"$have_mbstate_t" = xyes; then
15980 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
15984 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15985 # ac_has_wchar_h.
15986 for ac_header in wctype.h
15987 do :
15988 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
15989 if test "x$ac_cv_header_wctype_h" = x""yes; then :
15990 cat >>confdefs.h <<_ACEOF
15991 #define HAVE_WCTYPE_H 1
15992 _ACEOF
15993 ac_has_wctype_h=yes
15994 else
15995 ac_has_wctype_h=no
15998 done
16001 if test x"$enable_wchar_t" = x"yes"; then
16004 ac_ext=cpp
16005 ac_cpp='$CXXCPP $CPPFLAGS'
16006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16011 if test x"$ac_has_wchar_h" = xyes &&
16012 test x"$ac_has_wctype_h" = xyes; then
16013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16014 /* end confdefs.h. */
16015 #include <wchar.h>
16016 #include <stddef.h>
16017 wint_t i;
16018 long l = WEOF;
16019 long j = WCHAR_MIN;
16020 long k = WCHAR_MAX;
16021 namespace test
16023 using ::btowc;
16024 using ::fgetwc;
16025 using ::fgetws;
16026 using ::fputwc;
16027 using ::fputws;
16028 using ::fwide;
16029 using ::fwprintf;
16030 using ::fwscanf;
16031 using ::getwc;
16032 using ::getwchar;
16033 using ::mbrlen;
16034 using ::mbrtowc;
16035 using ::mbsinit;
16036 using ::mbsrtowcs;
16037 using ::putwc;
16038 using ::putwchar;
16039 using ::swprintf;
16040 using ::swscanf;
16041 using ::ungetwc;
16042 using ::vfwprintf;
16043 using ::vswprintf;
16044 using ::vwprintf;
16045 using ::wcrtomb;
16046 using ::wcscat;
16047 using ::wcschr;
16048 using ::wcscmp;
16049 using ::wcscoll;
16050 using ::wcscpy;
16051 using ::wcscspn;
16052 using ::wcsftime;
16053 using ::wcslen;
16054 using ::wcsncat;
16055 using ::wcsncmp;
16056 using ::wcsncpy;
16057 using ::wcspbrk;
16058 using ::wcsrchr;
16059 using ::wcsrtombs;
16060 using ::wcsspn;
16061 using ::wcsstr;
16062 using ::wcstod;
16063 using ::wcstok;
16064 using ::wcstol;
16065 using ::wcstoul;
16066 using ::wcsxfrm;
16067 using ::wctob;
16068 using ::wmemchr;
16069 using ::wmemcmp;
16070 using ::wmemcpy;
16071 using ::wmemmove;
16072 using ::wmemset;
16073 using ::wprintf;
16074 using ::wscanf;
16078 main ()
16082 return 0;
16084 _ACEOF
16085 if ac_fn_cxx_try_compile "$LINENO"; then :
16087 else
16088 enable_wchar_t=no
16090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16091 else
16092 enable_wchar_t=no
16095 ac_ext=c
16096 ac_cpp='$CPP $CPPFLAGS'
16097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16103 if test x"$enable_wchar_t" = x"yes"; then
16105 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16110 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16112 $as_echo "$enable_wchar_t" >&6; }
16116 # Check whether --enable-c99 was given.
16117 if test "${enable_c99+set}" = set; then :
16118 enableval=$enable_c99;
16119 case "$enableval" in
16120 yes|no) ;;
16121 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16122 esac
16124 else
16125 enable_c99=yes
16130 if test x"$enable_c99" = x"yes"; then
16133 ac_ext=cpp
16134 ac_cpp='$CXXCPP $CPPFLAGS'
16135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16140 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16141 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16142 # spuriously enabled.
16143 # Long term, -std=c++0x could be even better, could manage to explicitely
16144 # request C99 facilities to the underlying C headers.
16145 ac_save_CXXFLAGS="$CXXFLAGS"
16146 CXXFLAGS="$CXXFLAGS -std=c++98"
16147 ac_save_LIBS="$LIBS"
16148 ac_save_gcc_no_link="$gcc_no_link"
16150 if test x$gcc_no_link != xyes; then
16151 # Use -fno-exceptions to that the C driver can link these tests without
16152 # hitting undefined references to personality routines.
16153 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16155 $as_echo_n "checking for sin in -lm... " >&6; }
16156 if test "${ac_cv_lib_m_sin+set}" = set; then :
16157 $as_echo_n "(cached) " >&6
16158 else
16159 ac_check_lib_save_LIBS=$LIBS
16160 LIBS="-lm $LIBS"
16161 if test x$gcc_no_link = xyes; then
16162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16165 /* end confdefs.h. */
16167 /* Override any GCC internal prototype to avoid an error.
16168 Use char because int might match the return type of a GCC
16169 builtin and then its argument prototype would still apply. */
16170 #ifdef __cplusplus
16171 extern "C"
16172 #endif
16173 char sin ();
16175 main ()
16177 return sin ();
16179 return 0;
16181 _ACEOF
16182 if ac_fn_cxx_try_link "$LINENO"; then :
16183 ac_cv_lib_m_sin=yes
16184 else
16185 ac_cv_lib_m_sin=no
16187 rm -f core conftest.err conftest.$ac_objext \
16188 conftest$ac_exeext conftest.$ac_ext
16189 LIBS=$ac_check_lib_save_LIBS
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16192 $as_echo "$ac_cv_lib_m_sin" >&6; }
16193 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16195 LIBS="$LIBS -lm"
16197 else
16199 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16200 gcc_no_link=yes
16206 # Check for the existence of <math.h> functions used if C99 is enabled.
16207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16208 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16209 if test "${glibcxx_cv_c99_math+set}" = set; then :
16210 $as_echo_n "(cached) " >&6
16211 else
16213 if test x$gcc_no_link = xyes; then
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16216 #include <math.h>
16217 volatile double d1, d2;
16218 volatile int i;
16220 main ()
16222 i = fpclassify(d1);
16223 i = isfinite(d1);
16224 i = isinf(d1);
16225 i = isnan(d1);
16226 i = isnormal(d1);
16227 i = signbit(d1);
16228 i = isgreater(d1, d2);
16229 i = isgreaterequal(d1, d2);
16230 i = isless(d1, d2);
16231 i = islessequal(d1, d2);
16232 i = islessgreater(d1, d2);
16233 i = islessgreater(d1, d2);
16234 i = isunordered(d1, d2);
16237 return 0;
16239 _ACEOF
16240 if ac_fn_cxx_try_compile "$LINENO"; then :
16241 glibcxx_cv_c99_math=yes
16242 else
16243 glibcxx_cv_c99_math=no
16245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16246 else
16247 if test x$gcc_no_link = xyes; then
16248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16251 /* end confdefs.h. */
16252 #include <math.h>
16253 volatile double d1, d2;
16254 volatile int i;
16256 main ()
16258 i = fpclassify(d1);
16259 i = isfinite(d1);
16260 i = isinf(d1);
16261 i = isnan(d1);
16262 i = isnormal(d1);
16263 i = signbit(d1);
16264 i = isgreater(d1, d2);
16265 i = isgreaterequal(d1, d2);
16266 i = isless(d1, d2);
16267 i = islessequal(d1, d2);
16268 i = islessgreater(d1, d2);
16269 i = islessgreater(d1, d2);
16270 i = isunordered(d1, d2);
16273 return 0;
16275 _ACEOF
16276 if ac_fn_cxx_try_link "$LINENO"; then :
16277 glibcxx_cv_c99_math=yes
16278 else
16279 glibcxx_cv_c99_math=no
16281 rm -f core conftest.err conftest.$ac_objext \
16282 conftest$ac_exeext conftest.$ac_ext
16287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16288 $as_echo "$glibcxx_cv_c99_math" >&6; }
16289 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16291 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16295 # Check for the existence of <complex.h> complex math functions.
16296 # This is necessary even though libstdc++ uses the builtin versions
16297 # of these functions, because if the builtin cannot be used, a reference
16298 # to the library function is emitted.
16299 for ac_header in tgmath.h
16300 do :
16301 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16302 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16303 cat >>confdefs.h <<_ACEOF
16304 #define HAVE_TGMATH_H 1
16305 _ACEOF
16306 ac_has_tgmath_h=yes
16307 else
16308 ac_has_tgmath_h=no
16311 done
16313 for ac_header in complex.h
16314 do :
16315 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16316 if test "x$ac_cv_header_complex_h" = x""yes; then :
16317 cat >>confdefs.h <<_ACEOF
16318 #define HAVE_COMPLEX_H 1
16319 _ACEOF
16320 ac_has_complex_h=yes
16321 else
16322 ac_has_complex_h=no
16325 done
16327 glibcxx_cv_c99_complex=no;
16328 if test x"$ac_has_complex_h" = x"yes"; then
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16330 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16331 if test x$gcc_no_link = xyes; then
16332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16333 /* end confdefs.h. */
16334 #include <complex.h>
16335 typedef __complex__ float float_type;
16336 typedef __complex__ double double_type;
16337 typedef __complex__ long double ld_type;
16338 volatile float_type tmpf;
16339 volatile double_type tmpd;
16340 volatile ld_type tmpld;
16341 volatile float f;
16342 volatile double d;
16343 volatile long double ld;
16345 main ()
16347 f = cabsf(tmpf);
16348 f = cargf(tmpf);
16349 tmpf = ccosf(tmpf);
16350 tmpf = ccoshf(tmpf);
16351 tmpf = cexpf(tmpf);
16352 tmpf = clogf(tmpf);
16353 tmpf = csinf(tmpf);
16354 tmpf = csinhf(tmpf);
16355 tmpf = csqrtf(tmpf);
16356 tmpf = ctanf(tmpf);
16357 tmpf = ctanhf(tmpf);
16358 tmpf = cpowf(tmpf, tmpf);
16359 tmpf = cprojf(tmpf);
16360 d = cabs(tmpd);
16361 d = carg(tmpd);
16362 tmpd = ccos(tmpd);
16363 tmpd = ccosh(tmpd);
16364 tmpd = cexp(tmpd);
16365 tmpd = clog(tmpd);
16366 tmpd = csin(tmpd);
16367 tmpd = csinh(tmpd);
16368 tmpd = csqrt(tmpd);
16369 tmpd = ctan(tmpd);
16370 tmpd = ctanh(tmpd);
16371 tmpd = cpow(tmpd, tmpd);
16372 tmpd = cproj(tmpd);
16373 ld = cabsl(tmpld);
16374 ld = cargl(tmpld);
16375 tmpld = ccosl(tmpld);
16376 tmpld = ccoshl(tmpld);
16377 tmpld = cexpl(tmpld);
16378 tmpld = clogl(tmpld);
16379 tmpld = csinl(tmpld);
16380 tmpld = csinhl(tmpld);
16381 tmpld = csqrtl(tmpld);
16382 tmpld = ctanl(tmpld);
16383 tmpld = ctanhl(tmpld);
16384 tmpld = cpowl(tmpld, tmpld);
16385 tmpld = cprojl(tmpld);
16388 return 0;
16390 _ACEOF
16391 if ac_fn_cxx_try_compile "$LINENO"; then :
16392 glibcxx_cv_c99_complex=yes
16393 else
16394 glibcxx_cv_c99_complex=no
16396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16397 else
16398 if test x$gcc_no_link = xyes; then
16399 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16403 #include <complex.h>
16404 typedef __complex__ float float_type;
16405 typedef __complex__ double double_type;
16406 typedef __complex__ long double ld_type;
16407 volatile float_type tmpf;
16408 volatile double_type tmpd;
16409 volatile ld_type tmpld;
16410 volatile float f;
16411 volatile double d;
16412 volatile long double ld;
16414 main ()
16416 f = cabsf(tmpf);
16417 f = cargf(tmpf);
16418 tmpf = ccosf(tmpf);
16419 tmpf = ccoshf(tmpf);
16420 tmpf = cexpf(tmpf);
16421 tmpf = clogf(tmpf);
16422 tmpf = csinf(tmpf);
16423 tmpf = csinhf(tmpf);
16424 tmpf = csqrtf(tmpf);
16425 tmpf = ctanf(tmpf);
16426 tmpf = ctanhf(tmpf);
16427 tmpf = cpowf(tmpf, tmpf);
16428 tmpf = cprojf(tmpf);
16429 d = cabs(tmpd);
16430 d = carg(tmpd);
16431 tmpd = ccos(tmpd);
16432 tmpd = ccosh(tmpd);
16433 tmpd = cexp(tmpd);
16434 tmpd = clog(tmpd);
16435 tmpd = csin(tmpd);
16436 tmpd = csinh(tmpd);
16437 tmpd = csqrt(tmpd);
16438 tmpd = ctan(tmpd);
16439 tmpd = ctanh(tmpd);
16440 tmpd = cpow(tmpd, tmpd);
16441 tmpd = cproj(tmpd);
16442 ld = cabsl(tmpld);
16443 ld = cargl(tmpld);
16444 tmpld = ccosl(tmpld);
16445 tmpld = ccoshl(tmpld);
16446 tmpld = cexpl(tmpld);
16447 tmpld = clogl(tmpld);
16448 tmpld = csinl(tmpld);
16449 tmpld = csinhl(tmpld);
16450 tmpld = csqrtl(tmpld);
16451 tmpld = ctanl(tmpld);
16452 tmpld = ctanhl(tmpld);
16453 tmpld = cpowl(tmpld, tmpld);
16454 tmpld = cprojl(tmpld);
16457 return 0;
16459 _ACEOF
16460 if ac_fn_cxx_try_link "$LINENO"; then :
16461 glibcxx_cv_c99_complex=yes
16462 else
16463 glibcxx_cv_c99_complex=no
16465 rm -f core conftest.err conftest.$ac_objext \
16466 conftest$ac_exeext conftest.$ac_ext
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16470 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16471 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16473 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16477 # Check for the existence in <stdio.h> of vscanf, et. al.
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16479 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16480 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16481 $as_echo_n "(cached) " >&6
16482 else
16484 if test x$gcc_no_link = xyes; then
16485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16486 /* end confdefs.h. */
16487 #include <stdio.h>
16488 #include <stdarg.h>
16489 void foo(char* fmt, ...)
16491 va_list args; va_start(args, fmt);
16492 vfscanf(stderr, "%i", args);
16493 vscanf("%i", args);
16494 vsnprintf(fmt, 0, "%i", args);
16495 vsscanf(fmt, "%i", args);
16498 main ()
16500 snprintf("12", 0, "%i");
16502 return 0;
16504 _ACEOF
16505 if ac_fn_cxx_try_compile "$LINENO"; then :
16506 glibcxx_cv_c99_stdio=yes
16507 else
16508 glibcxx_cv_c99_stdio=no
16510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16511 else
16512 if test x$gcc_no_link = xyes; then
16513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16516 /* end confdefs.h. */
16517 #include <stdio.h>
16518 #include <stdarg.h>
16519 void foo(char* fmt, ...)
16521 va_list args; va_start(args, fmt);
16522 vfscanf(stderr, "%i", args);
16523 vscanf("%i", args);
16524 vsnprintf(fmt, 0, "%i", args);
16525 vsscanf(fmt, "%i", args);
16528 main ()
16530 snprintf("12", 0, "%i");
16532 return 0;
16534 _ACEOF
16535 if ac_fn_cxx_try_link "$LINENO"; then :
16536 glibcxx_cv_c99_stdio=yes
16537 else
16538 glibcxx_cv_c99_stdio=no
16540 rm -f core conftest.err conftest.$ac_objext \
16541 conftest$ac_exeext conftest.$ac_ext
16546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16547 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16549 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16551 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16552 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16553 $as_echo_n "(cached) " >&6
16554 else
16556 if test x$gcc_no_link = xyes; then
16557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16558 /* end confdefs.h. */
16559 #include <stdlib.h>
16560 volatile float f;
16561 volatile long double ld;
16562 volatile unsigned long long ll;
16563 lldiv_t mydivt;
16565 main ()
16567 char* tmp;
16568 f = strtof("gnu", &tmp);
16569 ld = strtold("gnu", &tmp);
16570 ll = strtoll("gnu", &tmp, 10);
16571 ll = strtoull("gnu", &tmp, 10);
16572 ll = llabs(10);
16573 mydivt = lldiv(10,1);
16574 ll = mydivt.quot;
16575 ll = mydivt.rem;
16576 ll = atoll("10");
16577 _Exit(0);
16580 return 0;
16582 _ACEOF
16583 if ac_fn_cxx_try_compile "$LINENO"; then :
16584 glibcxx_cv_c99_stdlib=yes
16585 else
16586 glibcxx_cv_c99_stdlib=no
16588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16589 else
16590 if test x$gcc_no_link = xyes; then
16591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16594 /* end confdefs.h. */
16595 #include <stdlib.h>
16596 volatile float f;
16597 volatile long double ld;
16598 volatile unsigned long long ll;
16599 lldiv_t mydivt;
16601 main ()
16603 char* tmp;
16604 f = strtof("gnu", &tmp);
16605 ld = strtold("gnu", &tmp);
16606 ll = strtoll("gnu", &tmp, 10);
16607 ll = strtoull("gnu", &tmp, 10);
16608 ll = llabs(10);
16609 mydivt = lldiv(10,1);
16610 ll = mydivt.quot;
16611 ll = mydivt.rem;
16612 ll = atoll("10");
16613 _Exit(0);
16616 return 0;
16618 _ACEOF
16619 if ac_fn_cxx_try_link "$LINENO"; then :
16620 glibcxx_cv_c99_stdlib=yes
16621 else
16622 glibcxx_cv_c99_stdlib=no
16624 rm -f core conftest.err conftest.$ac_objext \
16625 conftest$ac_exeext conftest.$ac_ext
16630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16631 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16633 # Check for the existence in <wchar.h> of wcstold, etc.
16634 glibcxx_cv_c99_wchar=no;
16635 if test x"$ac_has_wchar_h" = xyes &&
16636 test x"$ac_has_wctype_h" = xyes; then
16637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16638 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16640 /* end confdefs.h. */
16641 #include <wchar.h>
16642 namespace test
16644 using ::wcstold;
16645 using ::wcstoll;
16646 using ::wcstoull;
16650 main ()
16654 return 0;
16656 _ACEOF
16657 if ac_fn_cxx_try_compile "$LINENO"; then :
16658 glibcxx_cv_c99_wchar=yes
16659 else
16660 glibcxx_cv_c99_wchar=no
16662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16664 # Checks for wide character functions that may not be present.
16665 # Injection of these is wrapped with guard macros.
16666 # NB: only put functions here, instead of immediately above, if
16667 # absolutely necessary.
16668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16669 /* end confdefs.h. */
16670 #include <wchar.h>
16671 namespace test { using ::vfwscanf; }
16673 main ()
16677 return 0;
16679 _ACEOF
16680 if ac_fn_cxx_try_compile "$LINENO"; then :
16682 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16689 #include <wchar.h>
16690 namespace test { using ::vswscanf; }
16692 main ()
16696 return 0;
16698 _ACEOF
16699 if ac_fn_cxx_try_compile "$LINENO"; then :
16701 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16707 /* end confdefs.h. */
16708 #include <wchar.h>
16709 namespace test { using ::vwscanf; }
16711 main ()
16715 return 0;
16717 _ACEOF
16718 if ac_fn_cxx_try_compile "$LINENO"; then :
16720 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16726 /* end confdefs.h. */
16727 #include <wchar.h>
16728 namespace test { using ::wcstof; }
16730 main ()
16734 return 0;
16736 _ACEOF
16737 if ac_fn_cxx_try_compile "$LINENO"; then :
16739 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
16742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16745 /* end confdefs.h. */
16746 #include <wctype.h>
16748 main ()
16750 wint_t t; int i = iswblank(t);
16752 return 0;
16754 _ACEOF
16755 if ac_fn_cxx_try_compile "$LINENO"; then :
16757 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
16760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
16763 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
16766 # Option parsed, now set things appropriately.
16767 if test x"$glibcxx_cv_c99_math" = x"no" ||
16768 test x"$glibcxx_cv_c99_complex" = x"no" ||
16769 test x"$glibcxx_cv_c99_stdio" = x"no" ||
16770 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
16771 test x"$glibcxx_cv_c99_wchar" = x"no"; then
16772 enable_c99=no;
16773 else
16775 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
16779 gcc_no_link="$ac_save_gcc_no_link"
16780 LIBS="$ac_save_LIBS"
16781 CXXFLAGS="$ac_save_CXXFLAGS"
16782 ac_ext=c
16783 ac_cpp='$CPP $CPPFLAGS'
16784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
16791 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
16792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
16793 $as_echo "$enable_c99" >&6; }
16796 # Check whether --enable-concept-checks was given.
16797 if test "${enable_concept_checks+set}" = set; then :
16798 enableval=$enable_concept_checks;
16799 case "$enableval" in
16800 yes|no) ;;
16801 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
16802 esac
16804 else
16805 enable_concept_checks=no
16809 if test $enable_concept_checks = yes; then
16811 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
16816 # Check whether --enable-libstdcxx-debug-flags was given.
16817 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
16818 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
16819 xno | x) enable_libstdcxx_debug_flags= ;;
16820 x-*) ;;
16821 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16822 esac
16823 else
16824 enable_libstdcxx_debug_flags="-g3 -O0"
16829 # Option parsed, now set things appropriately
16830 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
16833 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
16834 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
16838 $as_echo_n "checking for additional debug build... " >&6; }
16839 # Check whether --enable-libstdcxx-debug was given.
16840 if test "${enable_libstdcxx_debug+set}" = set; then :
16841 enableval=$enable_libstdcxx_debug;
16842 case "$enableval" in
16843 yes|no) ;;
16844 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
16845 esac
16847 else
16848 enable_libstdcxx_debug=no
16852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
16853 $as_echo "$enable_libstdcxx_debug" >&6; }
16858 enable_parallel=no;
16860 # See if configured libgomp/omp.h exists. (libgomp may be in
16861 # noconfigdirs but not explicitly disabled.)
16862 if test -f $glibcxx_builddir/../libgomp/omp.h; then
16863 enable_parallel=yes;
16864 else
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: $glibcxx_builddir/../libgomp/omp.h not found" >&5
16866 $as_echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
16870 $as_echo_n "checking for parallel mode support... " >&6; }
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
16872 $as_echo "$enable_parallel" >&6; }
16875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
16876 $as_echo_n "checking for extra compiler flags for building... " >&6; }
16877 # Check whether --enable-cxx-flags was given.
16878 if test "${enable_cxx_flags+set}" = set; then :
16879 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
16880 xno | x) enable_cxx_flags= ;;
16881 x-*) ;;
16882 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
16883 esac
16884 else
16885 enable_cxx_flags=
16890 # Run through flags (either default or command-line) and set anything
16891 # extra (e.g., #defines) that must accompany particular g++ options.
16892 if test -n "$enable_cxx_flags"; then
16893 for f in $enable_cxx_flags; do
16894 case "$f" in
16895 -fhonor-std) ;;
16896 -*) ;;
16897 *) # and we're trying to pass /what/ exactly?
16898 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
16899 esac
16900 done
16903 EXTRA_CXX_FLAGS="$enable_cxx_flags"
16904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
16905 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
16909 # Check whether --enable-fully-dynamic-string was given.
16910 if test "${enable_fully_dynamic_string+set}" = set; then :
16911 enableval=$enable_fully_dynamic_string;
16912 case "$enableval" in
16913 yes|no) ;;
16914 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
16915 esac
16917 else
16918 enable_fully_dynamic_string=no
16922 if test $enable_fully_dynamic_string = yes; then
16924 $as_echo "#define _GLIBCXX_FULLY_DYNAMIC_STRING 1" >>confdefs.h
16929 # Checks for operating systems support that doesn't require linking.
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
16933 $as_echo_n "checking for EOWNERDEAD... " >&6; }
16934 if test "${glibcxx_cv_system_error1+set}" = set; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 #include <errno.h>
16942 main ()
16944 int i = EOWNERDEAD;
16946 return 0;
16948 _ACEOF
16949 if ac_fn_c_try_compile "$LINENO"; then :
16950 glibcxx_cv_system_error1=yes
16951 else
16952 glibcxx_cv_system_error1=no
16954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
16959 $as_echo "$glibcxx_cv_system_error1" >&6; }
16960 if test x"$glibcxx_cv_system_error1" = x"yes"; then
16962 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
16966 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
16967 if test "${glibcxx_cv_system_error2+set}" = set; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16973 #include <errno.h>
16975 main ()
16977 int i = ENOTRECOVERABLE;
16979 return 0;
16981 _ACEOF
16982 if ac_fn_c_try_compile "$LINENO"; then :
16983 glibcxx_cv_system_error2=yes
16984 else
16985 glibcxx_cv_system_error2=no
16987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
16992 $as_echo "$glibcxx_cv_system_error2" >&6; }
16993 if test x"$glibcxx_cv_system_error2" = x"yes"; then
16995 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
16999 $as_echo_n "checking for ENOLINK... " >&6; }
17000 if test "${glibcxx_cv_system_error3+set}" = set; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17005 /* end confdefs.h. */
17006 #include <errno.h>
17008 main ()
17010 int i = ENOLINK;
17012 return 0;
17014 _ACEOF
17015 if ac_fn_c_try_compile "$LINENO"; then :
17016 glibcxx_cv_system_error3=yes
17017 else
17018 glibcxx_cv_system_error3=no
17020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17025 $as_echo "$glibcxx_cv_system_error3" >&6; }
17026 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17028 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17032 $as_echo_n "checking for EPROTO... " >&6; }
17033 if test "${glibcxx_cv_system_error4+set}" = set; then :
17034 $as_echo_n "(cached) " >&6
17035 else
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #include <errno.h>
17041 main ()
17043 int i = EPROTO;
17045 return 0;
17047 _ACEOF
17048 if ac_fn_c_try_compile "$LINENO"; then :
17049 glibcxx_cv_system_error4=yes
17050 else
17051 glibcxx_cv_system_error4=no
17053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17058 $as_echo "$glibcxx_cv_system_error4" >&6; }
17059 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17061 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17065 $as_echo_n "checking for ENODATA... " >&6; }
17066 if test "${glibcxx_cv_system_error5+set}" = set; then :
17067 $as_echo_n "(cached) " >&6
17068 else
17070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17071 /* end confdefs.h. */
17072 #include <errno.h>
17074 main ()
17076 int i = ENODATA;
17078 return 0;
17080 _ACEOF
17081 if ac_fn_c_try_compile "$LINENO"; then :
17082 glibcxx_cv_system_error5=yes
17083 else
17084 glibcxx_cv_system_error5=no
17086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17091 $as_echo "$glibcxx_cv_system_error5" >&6; }
17092 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17094 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17098 $as_echo_n "checking for ENOSR... " >&6; }
17099 if test "${glibcxx_cv_system_error6+set}" = set; then :
17100 $as_echo_n "(cached) " >&6
17101 else
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 #include <errno.h>
17107 main ()
17109 int i = ENOSR;
17111 return 0;
17113 _ACEOF
17114 if ac_fn_c_try_compile "$LINENO"; then :
17115 glibcxx_cv_system_error6=yes
17116 else
17117 glibcxx_cv_system_error6=no
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17124 $as_echo "$glibcxx_cv_system_error6" >&6; }
17125 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17127 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17131 $as_echo_n "checking for ENOSTR... " >&6; }
17132 if test "${glibcxx_cv_system_error7+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 = ENOSTR;
17144 return 0;
17146 _ACEOF
17147 if ac_fn_c_try_compile "$LINENO"; then :
17148 glibcxx_cv_system_error7=yes
17149 else
17150 glibcxx_cv_system_error7=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_error7" >&5
17157 $as_echo "$glibcxx_cv_system_error7" >&6; }
17158 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17160 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17164 $as_echo_n "checking for ETIME... " >&6; }
17165 if test "${glibcxx_cv_system_error8+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 = ETIME;
17177 return 0;
17179 _ACEOF
17180 if ac_fn_c_try_compile "$LINENO"; then :
17181 glibcxx_cv_system_error8=yes
17182 else
17183 glibcxx_cv_system_error8=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_error8" >&5
17190 $as_echo "$glibcxx_cv_system_error8" >&6; }
17191 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17193 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17197 $as_echo_n "checking for EBADMSG... " >&6; }
17198 if test "${glibcxx_cv_system_error9+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 = EBADMSG;
17210 return 0;
17212 _ACEOF
17213 if ac_fn_c_try_compile "$LINENO"; then :
17214 glibcxx_cv_system_error9=yes
17215 else
17216 glibcxx_cv_system_error9=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_error9" >&5
17223 $as_echo "$glibcxx_cv_system_error9" >&6; }
17224 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17226 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17230 $as_echo_n "checking for ECANCELED... " >&6; }
17231 if test "${glibcxx_cv_system_error10+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 = ECANCELED;
17243 return 0;
17245 _ACEOF
17246 if ac_fn_c_try_compile "$LINENO"; then :
17247 glibcxx_cv_system_error10=yes
17248 else
17249 glibcxx_cv_system_error10=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_error10" >&5
17256 $as_echo "$glibcxx_cv_system_error10" >&6; }
17257 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17259 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17263 $as_echo_n "checking for EOVERFLOW... " >&6; }
17264 if test "${glibcxx_cv_system_error11+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 = EOVERFLOW;
17276 return 0;
17278 _ACEOF
17279 if ac_fn_c_try_compile "$LINENO"; then :
17280 glibcxx_cv_system_error11=yes
17281 else
17282 glibcxx_cv_system_error11=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_error11" >&5
17289 $as_echo "$glibcxx_cv_system_error11" >&6; }
17290 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17292 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17296 $as_echo_n "checking for ENOTSUP... " >&6; }
17297 if test "${glibcxx_cv_system_error12+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 = ENOTSUP;
17309 return 0;
17311 _ACEOF
17312 if ac_fn_c_try_compile "$LINENO"; then :
17313 glibcxx_cv_system_error12=yes
17314 else
17315 glibcxx_cv_system_error12=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_error12" >&5
17322 $as_echo "$glibcxx_cv_system_error12" >&6; }
17323 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17325 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17329 $as_echo_n "checking for EIDRM... " >&6; }
17330 if test "${glibcxx_cv_system_error13+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 = EIDRM;
17342 return 0;
17344 _ACEOF
17345 if ac_fn_c_try_compile "$LINENO"; then :
17346 glibcxx_cv_system_error13=yes
17347 else
17348 glibcxx_cv_system_error13=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_error13" >&5
17355 $as_echo "$glibcxx_cv_system_error13" >&6; }
17356 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17358 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17362 $as_echo_n "checking for ETXTBSY... " >&6; }
17363 if test "${glibcxx_cv_system_error14+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 = ETXTBSY;
17375 return 0;
17377 _ACEOF
17378 if ac_fn_c_try_compile "$LINENO"; then :
17379 glibcxx_cv_system_error14=yes
17380 else
17381 glibcxx_cv_system_error14=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_error14" >&5
17388 $as_echo "$glibcxx_cv_system_error14" >&6; }
17389 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17391 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17397 # For the streamoff typedef.
17401 ac_ext=cpp
17402 ac_cpp='$CXXCPP $CPPFLAGS'
17403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17409 $as_echo_n "checking for int64_t... " >&6; }
17410 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17415 /* end confdefs.h. */
17416 #include <stdint.h>
17418 main ()
17420 int64_t var;
17422 return 0;
17424 _ACEOF
17425 if ac_fn_cxx_try_compile "$LINENO"; then :
17426 glibcxx_cv_INT64_T=yes
17427 else
17428 glibcxx_cv_INT64_T=no
17430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17435 if test $glibcxx_cv_INT64_T = yes; then
17437 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
17440 $as_echo "$glibcxx_cv_INT64_T" >&6; }
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
17443 $as_echo_n "checking for int64_t as long... " >&6; }
17444 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #include <stdint.h>
17451 template<typename, typename> struct same { enum { value = -1 }; };
17452 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17453 int array[same<int64_t, long>::value];
17455 main ()
17459 return 0;
17461 _ACEOF
17462 if ac_fn_cxx_try_compile "$LINENO"; then :
17463 glibcxx_cv_int64_t_long=yes
17464 else
17465 glibcxx_cv_int64_t_long=no
17467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472 if test $glibcxx_cv_int64_t_long = yes; then
17474 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
17476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
17477 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
17480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
17481 $as_echo_n "checking for int64_t as long long... " >&6; }
17482 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
17483 $as_echo_n "(cached) " >&6
17484 else
17486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17487 /* end confdefs.h. */
17488 #include <stdint.h>
17489 template<typename, typename> struct same { enum { value = -1 }; };
17490 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
17491 int array[same<int64_t, long long>::value];
17493 main ()
17497 return 0;
17499 _ACEOF
17500 if ac_fn_cxx_try_compile "$LINENO"; then :
17501 glibcxx_cv_int64_t_long_long=yes
17502 else
17503 glibcxx_cv_int64_t_long_long=no
17505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17510 if test $glibcxx_cv_int64_t_long_long = yes; then
17512 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
17514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
17515 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
17519 ac_ext=c
17520 ac_cpp='$CPP $CPPFLAGS'
17521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17527 # For LFS support.
17530 ac_ext=cpp
17531 ac_cpp='$CXXCPP $CPPFLAGS'
17532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17536 ac_save_CXXFLAGS="$CXXFLAGS"
17537 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
17539 $as_echo_n "checking for LFS support... " >&6; }
17540 if test "${glibcxx_cv_LFS+set}" = set; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17544 if test x$gcc_no_link = xyes; then
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17547 #include <unistd.h>
17548 #include <stdio.h>
17549 #include <sys/stat.h>
17552 main ()
17554 FILE* fp;
17555 fopen64("t", "w");
17556 fseeko64(fp, 0, SEEK_CUR);
17557 ftello64(fp);
17558 lseek64(1, 0, SEEK_CUR);
17559 struct stat64 buf;
17560 fstat64(1, &buf);
17562 return 0;
17564 _ACEOF
17565 if ac_fn_cxx_try_compile "$LINENO"; then :
17566 glibcxx_cv_LFS=yes
17567 else
17568 glibcxx_cv_LFS=no
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17571 else
17572 if test x$gcc_no_link = xyes; then
17573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17576 /* end confdefs.h. */
17577 #include <unistd.h>
17578 #include <stdio.h>
17579 #include <sys/stat.h>
17582 main ()
17584 FILE* fp;
17585 fopen64("t", "w");
17586 fseeko64(fp, 0, SEEK_CUR);
17587 ftello64(fp);
17588 lseek64(1, 0, SEEK_CUR);
17589 struct stat64 buf;
17590 fstat64(1, &buf);
17592 return 0;
17594 _ACEOF
17595 if ac_fn_cxx_try_link "$LINENO"; then :
17596 glibcxx_cv_LFS=yes
17597 else
17598 glibcxx_cv_LFS=no
17600 rm -f core conftest.err conftest.$ac_objext \
17601 conftest$ac_exeext conftest.$ac_ext
17606 if test $glibcxx_cv_LFS = yes; then
17608 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
17611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
17612 $as_echo "$glibcxx_cv_LFS" >&6; }
17613 CXXFLAGS="$ac_save_CXXFLAGS"
17614 ac_ext=c
17615 ac_cpp='$CPP $CPPFLAGS'
17616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17622 # For showmanyc_helper().
17623 for ac_header in sys/ioctl.h sys/filio.h
17624 do :
17625 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17626 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17627 eval as_val=\$$as_ac_Header
17628 if test "x$as_val" = x""yes; then :
17629 cat >>confdefs.h <<_ACEOF
17630 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17631 _ACEOF
17635 done
17640 ac_ext=cpp
17641 ac_cpp='$CXXCPP $CPPFLAGS'
17642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17646 ac_save_CXXFLAGS="$CXXFLAGS"
17647 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
17650 $as_echo_n "checking for poll... " >&6; }
17651 if test "${glibcxx_cv_POLL+set}" = set; then :
17652 $as_echo_n "(cached) " >&6
17653 else
17655 if test x$gcc_no_link = xyes; then
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <poll.h>
17660 main ()
17662 struct pollfd pfd[1];
17663 pfd[0].events = POLLIN;
17664 poll(pfd, 1, 0);
17666 return 0;
17668 _ACEOF
17669 if ac_fn_cxx_try_compile "$LINENO"; then :
17670 glibcxx_cv_POLL=yes
17671 else
17672 glibcxx_cv_POLL=no
17674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 else
17676 if test x$gcc_no_link = xyes; then
17677 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 #include <poll.h>
17683 main ()
17685 struct pollfd pfd[1];
17686 pfd[0].events = POLLIN;
17687 poll(pfd, 1, 0);
17689 return 0;
17691 _ACEOF
17692 if ac_fn_cxx_try_link "$LINENO"; then :
17693 glibcxx_cv_POLL=yes
17694 else
17695 glibcxx_cv_POLL=no
17697 rm -f core conftest.err conftest.$ac_objext \
17698 conftest$ac_exeext conftest.$ac_ext
17703 if test $glibcxx_cv_POLL = yes; then
17705 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
17709 $as_echo "$glibcxx_cv_POLL" >&6; }
17711 CXXFLAGS="$ac_save_CXXFLAGS"
17712 ac_ext=c
17713 ac_cpp='$CPP $CPPFLAGS'
17714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17722 ac_ext=cpp
17723 ac_cpp='$CXXCPP $CPPFLAGS'
17724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17728 ac_save_CXXFLAGS="$CXXFLAGS"
17729 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
17732 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
17733 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
17734 $as_echo_n "(cached) " >&6
17735 else
17737 if test x$gcc_no_link = xyes; then
17738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17739 /* end confdefs.h. */
17740 #include <sys/stat.h>
17742 main ()
17744 struct stat buffer;
17745 fstat(0, &buffer);
17746 S_ISREG(buffer.st_mode);
17748 return 0;
17750 _ACEOF
17751 if ac_fn_cxx_try_compile "$LINENO"; then :
17752 glibcxx_cv_S_ISREG=yes
17753 else
17754 glibcxx_cv_S_ISREG=no
17756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17757 else
17758 if test x$gcc_no_link = xyes; then
17759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17762 /* end confdefs.h. */
17763 #include <sys/stat.h>
17765 main ()
17767 struct stat buffer;
17768 fstat(0, &buffer);
17769 S_ISREG(buffer.st_mode);
17771 return 0;
17773 _ACEOF
17774 if ac_fn_cxx_try_link "$LINENO"; then :
17775 glibcxx_cv_S_ISREG=yes
17776 else
17777 glibcxx_cv_S_ISREG=no
17779 rm -f core conftest.err conftest.$ac_objext \
17780 conftest$ac_exeext conftest.$ac_ext
17785 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
17786 $as_echo_n "(cached) " >&6
17787 else
17789 if test x$gcc_no_link = xyes; then
17790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17791 /* end confdefs.h. */
17792 #include <sys/stat.h>
17794 main ()
17796 struct stat buffer;
17797 fstat(0, &buffer);
17798 S_IFREG & buffer.st_mode;
17800 return 0;
17802 _ACEOF
17803 if ac_fn_cxx_try_compile "$LINENO"; then :
17804 glibcxx_cv_S_IFREG=yes
17805 else
17806 glibcxx_cv_S_IFREG=no
17808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17809 else
17810 if test x$gcc_no_link = xyes; then
17811 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17814 /* end confdefs.h. */
17815 #include <sys/stat.h>
17817 main ()
17819 struct stat buffer;
17820 fstat(0, &buffer);
17821 S_IFREG & buffer.st_mode;
17823 return 0;
17825 _ACEOF
17826 if ac_fn_cxx_try_link "$LINENO"; then :
17827 glibcxx_cv_S_IFREG=yes
17828 else
17829 glibcxx_cv_S_IFREG=no
17831 rm -f core conftest.err conftest.$ac_objext \
17832 conftest$ac_exeext conftest.$ac_ext
17837 res=no
17838 if test $glibcxx_cv_S_ISREG = yes; then
17840 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
17842 res=S_ISREG
17843 elif test $glibcxx_cv_S_IFREG = yes; then
17845 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
17847 res=S_IFREG
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
17850 $as_echo "$res" >&6; }
17852 CXXFLAGS="$ac_save_CXXFLAGS"
17853 ac_ext=c
17854 ac_cpp='$CPP $CPPFLAGS'
17855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17861 # For xsputn_2().
17862 for ac_header in sys/uio.h
17863 do :
17864 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
17865 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
17866 cat >>confdefs.h <<_ACEOF
17867 #define HAVE_SYS_UIO_H 1
17868 _ACEOF
17872 done
17877 ac_ext=cpp
17878 ac_cpp='$CXXCPP $CPPFLAGS'
17879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17883 ac_save_CXXFLAGS="$CXXFLAGS"
17884 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
17887 $as_echo_n "checking for writev... " >&6; }
17888 if test "${glibcxx_cv_WRITEV+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17892 if test x$gcc_no_link = xyes; then
17893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17894 /* end confdefs.h. */
17895 #include <sys/uio.h>
17897 main ()
17899 struct iovec iov[2];
17900 writev(0, iov, 0);
17902 return 0;
17904 _ACEOF
17905 if ac_fn_cxx_try_compile "$LINENO"; then :
17906 glibcxx_cv_WRITEV=yes
17907 else
17908 glibcxx_cv_WRITEV=no
17910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17911 else
17912 if test x$gcc_no_link = xyes; then
17913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17916 /* end confdefs.h. */
17917 #include <sys/uio.h>
17919 main ()
17921 struct iovec iov[2];
17922 writev(0, iov, 0);
17924 return 0;
17926 _ACEOF
17927 if ac_fn_cxx_try_link "$LINENO"; then :
17928 glibcxx_cv_WRITEV=yes
17929 else
17930 glibcxx_cv_WRITEV=no
17932 rm -f core conftest.err conftest.$ac_objext \
17933 conftest$ac_exeext conftest.$ac_ext
17938 if test $glibcxx_cv_WRITEV = yes; then
17940 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
17944 $as_echo "$glibcxx_cv_WRITEV" >&6; }
17946 CXXFLAGS="$ac_save_CXXFLAGS"
17947 ac_ext=c
17948 ac_cpp='$CPP $CPPFLAGS'
17949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17955 # For C99 support to TR1.
17959 ac_ext=cpp
17960 ac_cpp='$CXXCPP $CPPFLAGS'
17961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17966 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
17967 # undefined and fake C99 facilities may be spuriously enabled.
17968 ac_save_CXXFLAGS="$CXXFLAGS"
17969 CXXFLAGS="$CXXFLAGS -std=c++98"
17971 # Check for the existence of <complex.h> complex math functions used
17972 # by tr1/complex.
17973 for ac_header in complex.h
17974 do :
17975 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17976 if test "x$ac_cv_header_complex_h" = x""yes; then :
17977 cat >>confdefs.h <<_ACEOF
17978 #define HAVE_COMPLEX_H 1
17979 _ACEOF
17980 ac_has_complex_h=yes
17981 else
17982 ac_has_complex_h=no
17985 done
17987 ac_c99_complex_tr1=no;
17988 if test x"$ac_has_complex_h" = x"yes"; then
17989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
17990 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
17991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17992 /* end confdefs.h. */
17993 #include <complex.h>
17995 main ()
17997 typedef __complex__ float float_type; float_type tmpf;
17998 cacosf(tmpf);
17999 casinf(tmpf);
18000 catanf(tmpf);
18001 cacoshf(tmpf);
18002 casinhf(tmpf);
18003 catanhf(tmpf);
18004 typedef __complex__ double double_type; double_type tmpd;
18005 cacos(tmpd);
18006 casin(tmpd);
18007 catan(tmpd);
18008 cacosh(tmpd);
18009 casinh(tmpd);
18010 catanh(tmpd);
18011 typedef __complex__ long double ld_type; ld_type tmpld;
18012 cacosl(tmpld);
18013 casinl(tmpld);
18014 catanl(tmpld);
18015 cacoshl(tmpld);
18016 casinhl(tmpld);
18017 catanhl(tmpld);
18020 return 0;
18022 _ACEOF
18023 if ac_fn_cxx_try_compile "$LINENO"; then :
18024 ac_c99_complex_tr1=yes
18025 else
18026 ac_c99_complex_tr1=no
18028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18031 $as_echo "$ac_c99_complex_tr1" >&6; }
18032 if test x"$ac_c99_complex_tr1" = x"yes"; then
18034 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18038 # Check for the existence of <ctype.h> functions.
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18040 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18041 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18042 $as_echo_n "(cached) " >&6
18043 else
18045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18046 /* end confdefs.h. */
18047 #include <ctype.h>
18049 main ()
18051 int ch;
18052 int ret;
18053 ret = isblank(ch);
18056 return 0;
18058 _ACEOF
18059 if ac_fn_cxx_try_compile "$LINENO"; then :
18060 glibcxx_cv_c99_ctype_tr1=yes
18061 else
18062 glibcxx_cv_c99_ctype_tr1=no
18064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18069 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18070 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18072 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18076 # Check for the existence of <fenv.h> functions.
18077 for ac_header in fenv.h
18078 do :
18079 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18080 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18081 cat >>confdefs.h <<_ACEOF
18082 #define HAVE_FENV_H 1
18083 _ACEOF
18084 ac_has_fenv_h=yes
18085 else
18086 ac_has_fenv_h=no
18089 done
18091 ac_c99_fenv_tr1=no;
18092 if test x"$ac_has_fenv_h" = x"yes"; then
18093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18094 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18096 /* end confdefs.h. */
18097 #include <fenv.h>
18099 main ()
18101 int except, mode;
18102 fexcept_t* pflag;
18103 fenv_t* penv;
18104 int ret;
18105 ret = feclearexcept(except);
18106 ret = fegetexceptflag(pflag, except);
18107 ret = feraiseexcept(except);
18108 ret = fesetexceptflag(pflag, except);
18109 ret = fetestexcept(except);
18110 ret = fegetround();
18111 ret = fesetround(mode);
18112 ret = fegetenv(penv);
18113 ret = feholdexcept(penv);
18114 ret = fesetenv(penv);
18115 ret = feupdateenv(penv);
18118 return 0;
18120 _ACEOF
18121 if ac_fn_cxx_try_compile "$LINENO"; then :
18122 ac_c99_fenv_tr1=yes
18123 else
18124 ac_c99_fenv_tr1=no
18126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18129 $as_echo "$ac_c99_fenv_tr1" >&6; }
18130 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18132 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18136 # Check for the existence of <stdint.h> types.
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18138 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18139 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18140 $as_echo_n "(cached) " >&6
18141 else
18143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18144 /* end confdefs.h. */
18145 #define __STDC_LIMIT_MACROS
18146 #define __STDC_CONSTANT_MACROS
18147 #include <stdint.h>
18149 main ()
18151 typedef int8_t my_int8_t;
18152 my_int8_t i8 = INT8_MIN;
18153 i8 = INT8_MAX;
18154 typedef int16_t my_int16_t;
18155 my_int16_t i16 = INT16_MIN;
18156 i16 = INT16_MAX;
18157 typedef int32_t my_int32_t;
18158 my_int32_t i32 = INT32_MIN;
18159 i32 = INT32_MAX;
18160 typedef int64_t my_int64_t;
18161 my_int64_t i64 = INT64_MIN;
18162 i64 = INT64_MAX;
18163 typedef int_fast8_t my_int_fast8_t;
18164 my_int_fast8_t if8 = INT_FAST8_MIN;
18165 if8 = INT_FAST8_MAX;
18166 typedef int_fast16_t my_int_fast16_t;
18167 my_int_fast16_t if16 = INT_FAST16_MIN;
18168 if16 = INT_FAST16_MAX;
18169 typedef int_fast32_t my_int_fast32_t;
18170 my_int_fast32_t if32 = INT_FAST32_MIN;
18171 if32 = INT_FAST32_MAX;
18172 typedef int_fast64_t my_int_fast64_t;
18173 my_int_fast64_t if64 = INT_FAST64_MIN;
18174 if64 = INT_FAST64_MAX;
18175 typedef int_least8_t my_int_least8_t;
18176 my_int_least8_t il8 = INT_LEAST8_MIN;
18177 il8 = INT_LEAST8_MAX;
18178 typedef int_least16_t my_int_least16_t;
18179 my_int_least16_t il16 = INT_LEAST16_MIN;
18180 il16 = INT_LEAST16_MAX;
18181 typedef int_least32_t my_int_least32_t;
18182 my_int_least32_t il32 = INT_LEAST32_MIN;
18183 il32 = INT_LEAST32_MAX;
18184 typedef int_least64_t my_int_least64_t;
18185 my_int_least64_t il64 = INT_LEAST64_MIN;
18186 il64 = INT_LEAST64_MAX;
18187 typedef intmax_t my_intmax_t;
18188 my_intmax_t im = INTMAX_MAX;
18189 im = INTMAX_MIN;
18190 typedef intptr_t my_intptr_t;
18191 my_intptr_t ip = INTPTR_MAX;
18192 ip = INTPTR_MIN;
18193 typedef uint8_t my_uint8_t;
18194 my_uint8_t ui8 = UINT8_MAX;
18195 ui8 = UINT8_MAX;
18196 typedef uint16_t my_uint16_t;
18197 my_uint16_t ui16 = UINT16_MAX;
18198 ui16 = UINT16_MAX;
18199 typedef uint32_t my_uint32_t;
18200 my_uint32_t ui32 = UINT32_MAX;
18201 ui32 = UINT32_MAX;
18202 typedef uint64_t my_uint64_t;
18203 my_uint64_t ui64 = UINT64_MAX;
18204 ui64 = UINT64_MAX;
18205 typedef uint_fast8_t my_uint_fast8_t;
18206 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18207 uif8 = UINT_FAST8_MAX;
18208 typedef uint_fast16_t my_uint_fast16_t;
18209 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18210 uif16 = UINT_FAST16_MAX;
18211 typedef uint_fast32_t my_uint_fast32_t;
18212 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18213 uif32 = UINT_FAST32_MAX;
18214 typedef uint_fast64_t my_uint_fast64_t;
18215 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18216 uif64 = UINT_FAST64_MAX;
18217 typedef uint_least8_t my_uint_least8_t;
18218 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18219 uil8 = UINT_LEAST8_MAX;
18220 typedef uint_least16_t my_uint_least16_t;
18221 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18222 uil16 = UINT_LEAST16_MAX;
18223 typedef uint_least32_t my_uint_least32_t;
18224 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18225 uil32 = UINT_LEAST32_MAX;
18226 typedef uint_least64_t my_uint_least64_t;
18227 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18228 uil64 = UINT_LEAST64_MAX;
18229 typedef uintmax_t my_uintmax_t;
18230 my_uintmax_t uim = UINTMAX_MAX;
18231 uim = UINTMAX_MAX;
18232 typedef uintptr_t my_uintptr_t;
18233 my_uintptr_t uip = UINTPTR_MAX;
18234 uip = UINTPTR_MAX;
18237 return 0;
18239 _ACEOF
18240 if ac_fn_cxx_try_compile "$LINENO"; then :
18241 glibcxx_cv_c99_stdint_tr1=yes
18242 else
18243 glibcxx_cv_c99_stdint_tr1=no
18245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18250 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18251 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18253 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18257 # Check for the existence of <math.h> functions.
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18259 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18260 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18261 $as_echo_n "(cached) " >&6
18262 else
18264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18265 /* end confdefs.h. */
18266 #include <math.h>
18268 main ()
18270 typedef double_t my_double_t;
18271 typedef float_t my_float_t;
18272 acosh(0.0);
18273 acoshf(0.0f);
18274 acoshl(0.0l);
18275 asinh(0.0);
18276 asinhf(0.0f);
18277 asinhl(0.0l);
18278 atanh(0.0);
18279 atanhf(0.0f);
18280 atanhl(0.0l);
18281 cbrt(0.0);
18282 cbrtf(0.0f);
18283 cbrtl(0.0l);
18284 copysign(0.0, 0.0);
18285 copysignf(0.0f, 0.0f);
18286 copysignl(0.0l, 0.0l);
18287 erf(0.0);
18288 erff(0.0f);
18289 erfl(0.0l);
18290 erfc(0.0);
18291 erfcf(0.0f);
18292 erfcl(0.0l);
18293 exp2(0.0);
18294 exp2f(0.0f);
18295 exp2l(0.0l);
18296 expm1(0.0);
18297 expm1f(0.0f);
18298 expm1l(0.0l);
18299 fdim(0.0, 0.0);
18300 fdimf(0.0f, 0.0f);
18301 fdiml(0.0l, 0.0l);
18302 fma(0.0, 0.0, 0.0);
18303 fmaf(0.0f, 0.0f, 0.0f);
18304 fmal(0.0l, 0.0l, 0.0l);
18305 fmax(0.0, 0.0);
18306 fmaxf(0.0f, 0.0f);
18307 fmaxl(0.0l, 0.0l);
18308 fmin(0.0, 0.0);
18309 fminf(0.0f, 0.0f);
18310 fminl(0.0l, 0.0l);
18311 hypot(0.0, 0.0);
18312 hypotf(0.0f, 0.0f);
18313 hypotl(0.0l, 0.0l);
18314 ilogb(0.0);
18315 ilogbf(0.0f);
18316 ilogbl(0.0l);
18317 lgamma(0.0);
18318 lgammaf(0.0f);
18319 lgammal(0.0l);
18320 llrint(0.0);
18321 llrintf(0.0f);
18322 llrintl(0.0l);
18323 llround(0.0);
18324 llroundf(0.0f);
18325 llroundl(0.0l);
18326 log1p(0.0);
18327 log1pf(0.0f);
18328 log1pl(0.0l);
18329 log2(0.0);
18330 log2f(0.0f);
18331 log2l(0.0l);
18332 logb(0.0);
18333 logbf(0.0f);
18334 logbl(0.0l);
18335 lrint(0.0);
18336 lrintf(0.0f);
18337 lrintl(0.0l);
18338 lround(0.0);
18339 lroundf(0.0f);
18340 lroundl(0.0l);
18341 nan(0);
18342 nanf(0);
18343 nanl(0);
18344 nearbyint(0.0);
18345 nearbyintf(0.0f);
18346 nearbyintl(0.0l);
18347 nextafter(0.0, 0.0);
18348 nextafterf(0.0f, 0.0f);
18349 nextafterl(0.0l, 0.0l);
18350 nexttoward(0.0, 0.0);
18351 nexttowardf(0.0f, 0.0f);
18352 nexttowardl(0.0l, 0.0l);
18353 remainder(0.0, 0.0);
18354 remainderf(0.0f, 0.0f);
18355 remainderl(0.0l, 0.0l);
18356 remquo(0.0, 0.0, 0);
18357 remquof(0.0f, 0.0f, 0);
18358 remquol(0.0l, 0.0l, 0);
18359 rint(0.0);
18360 rintf(0.0f);
18361 rintl(0.0l);
18362 round(0.0);
18363 roundf(0.0f);
18364 roundl(0.0l);
18365 scalbln(0.0, 0l);
18366 scalblnf(0.0f, 0l);
18367 scalblnl(0.0l, 0l);
18368 scalbn(0.0, 0);
18369 scalbnf(0.0f, 0);
18370 scalbnl(0.0l, 0);
18371 tgamma(0.0);
18372 tgammaf(0.0f);
18373 tgammal(0.0l);
18374 trunc(0.0);
18375 truncf(0.0f);
18376 truncl(0.0l);
18379 return 0;
18381 _ACEOF
18382 if ac_fn_cxx_try_compile "$LINENO"; then :
18383 glibcxx_cv_c99_math_tr1=yes
18384 else
18385 glibcxx_cv_c99_math_tr1=no
18387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18392 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18393 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18395 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18399 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18400 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18401 ac_c99_inttypes_tr1=no;
18402 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18404 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18406 /* end confdefs.h. */
18407 #include <inttypes.h>
18409 main ()
18411 intmax_t i, numer, denom, base;
18412 const char* s;
18413 char** endptr;
18414 intmax_t ret = imaxabs(i);
18415 imaxdiv_t dret = imaxdiv(numer, denom);
18416 ret = strtoimax(s, endptr, base);
18417 uintmax_t uret = strtoumax(s, endptr, base);
18420 return 0;
18422 _ACEOF
18423 if ac_fn_cxx_try_compile "$LINENO"; then :
18424 ac_c99_inttypes_tr1=yes
18425 else
18426 ac_c99_inttypes_tr1=no
18428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
18431 $as_echo "$ac_c99_inttypes_tr1" >&6; }
18432 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
18434 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
18438 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
18439 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18440 ac_c99_inttypes_wchar_t_tr1=no;
18441 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
18443 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18445 /* end confdefs.h. */
18446 #include <inttypes.h>
18448 main ()
18450 intmax_t base;
18451 const wchar_t* s;
18452 wchar_t** endptr;
18453 intmax_t ret = wcstoimax(s, endptr, base);
18454 uintmax_t uret = wcstoumax(s, endptr, base);
18457 return 0;
18459 _ACEOF
18460 if ac_fn_cxx_try_compile "$LINENO"; then :
18461 ac_c99_inttypes_wchar_t_tr1=yes
18462 else
18463 ac_c99_inttypes_wchar_t_tr1=no
18465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
18468 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
18469 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
18471 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
18475 # Check for the existence of the <stdbool.h> header.
18476 for ac_header in stdbool.h
18477 do :
18478 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
18479 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
18480 cat >>confdefs.h <<_ACEOF
18481 #define HAVE_STDBOOL_H 1
18482 _ACEOF
18486 done
18489 CXXFLAGS="$ac_save_CXXFLAGS"
18490 ac_ext=c
18491 ac_cpp='$CPP $CPPFLAGS'
18492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18498 # For common values of EOF, SEEK_CUR, SEEK_END.
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
18502 $as_echo_n "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... " >&6; }
18503 if test "${glibcxx_cv_stdio_macros+set}" = set; then :
18504 $as_echo_n "(cached) " >&6
18505 else
18507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18508 /* end confdefs.h. */
18509 #include <stdio.h>
18511 main ()
18513 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
18514 unusual values...
18515 #endif
18518 return 0;
18520 _ACEOF
18521 if ac_fn_c_try_compile "$LINENO"; then :
18522 glibcxx_cv_stdio_macros=yes
18523 else
18524 glibcxx_cv_stdio_macros=no
18526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_macros" >&5
18531 $as_echo "$glibcxx_cv_stdio_macros" >&6; }
18532 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
18534 $as_echo "#define _GLIBCXX_STDIO_MACROS 1" >>confdefs.h
18540 # For gettimeofday support.
18543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18544 $as_echo_n "checking for gettimeofday... " >&6; }
18547 ac_ext=cpp
18548 ac_cpp='$CXXCPP $CPPFLAGS'
18549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18553 ac_save_CXXFLAGS="$CXXFLAGS"
18554 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18556 ac_has_gettimeofday=no;
18557 for ac_header in sys/time.h
18558 do :
18559 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
18560 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
18561 cat >>confdefs.h <<_ACEOF
18562 #define HAVE_SYS_TIME_H 1
18563 _ACEOF
18564 ac_has_sys_time_h=yes
18565 else
18566 ac_has_sys_time_h=no
18569 done
18571 if test x"$ac_has_sys_time_h" = x"yes"; then
18572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
18573 $as_echo_n "checking for gettimeofday... " >&6; }
18574 if test x$gcc_no_link = xyes; then
18575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18577 #include <sys/time.h>
18579 main ()
18581 timeval tv; gettimeofday(&tv, 0);
18583 return 0;
18585 _ACEOF
18586 if ac_fn_cxx_try_compile "$LINENO"; then :
18587 ac_has_gettimeofday=yes
18588 else
18589 ac_has_gettimeofday=no
18591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18592 else
18593 if test x$gcc_no_link = xyes; then
18594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18598 #include <sys/time.h>
18600 main ()
18602 timeval tv; gettimeofday(&tv, 0);
18604 return 0;
18606 _ACEOF
18607 if ac_fn_cxx_try_link "$LINENO"; then :
18608 ac_has_gettimeofday=yes
18609 else
18610 ac_has_gettimeofday=no
18612 rm -f core conftest.err conftest.$ac_objext \
18613 conftest$ac_exeext conftest.$ac_ext
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
18617 $as_echo "$ac_has_gettimeofday" >&6; }
18620 if test x"$ac_has_gettimeofday" = x"yes"; then
18622 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
18626 CXXFLAGS="$ac_save_CXXFLAGS"
18627 ac_ext=c
18628 ac_cpp='$CPP $CPPFLAGS'
18629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18635 # For clock_gettime, nanosleep and sched_yield support.
18636 # NB: The default is [no], because otherwise it requires linking.
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
18640 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
18641 # Check whether --enable-libstdcxx-time was given.
18642 if test "${enable_libstdcxx_time+set}" = set; then :
18643 enableval=$enable_libstdcxx_time;
18644 case "$enableval" in
18645 yes|no|rt) ;;
18646 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
18647 esac
18649 else
18650 enable_libstdcxx_time=no
18656 ac_ext=cpp
18657 ac_cpp='$CXXCPP $CPPFLAGS'
18658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18662 ac_save_CXXFLAGS="$CXXFLAGS"
18663 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18664 ac_save_LIBS="$LIBS"
18666 ac_has_clock_monotonic=no;
18667 ac_has_clock_realtime=no;
18669 if test x"$enable_libstdcxx_time" != x"no"; then
18671 if test x"$enable_libstdcxx_time" = x"rt"; then
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18673 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18674 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18675 $as_echo_n "(cached) " >&6
18676 else
18677 ac_func_search_save_LIBS=$LIBS
18678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18679 /* end confdefs.h. */
18681 /* Override any GCC internal prototype to avoid an error.
18682 Use char because int might match the return type of a GCC
18683 builtin and then its argument prototype would still apply. */
18684 #ifdef __cplusplus
18685 extern "C"
18686 #endif
18687 char clock_gettime ();
18689 main ()
18691 return clock_gettime ();
18693 return 0;
18695 _ACEOF
18696 for ac_lib in '' rt posix4; do
18697 if test -z "$ac_lib"; then
18698 ac_res="none required"
18699 else
18700 ac_res=-l$ac_lib
18701 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18703 if test x$gcc_no_link = xyes; then
18704 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18706 if ac_fn_cxx_try_link "$LINENO"; then :
18707 ac_cv_search_clock_gettime=$ac_res
18709 rm -f core conftest.err conftest.$ac_objext \
18710 conftest$ac_exeext
18711 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18712 break
18714 done
18715 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18717 else
18718 ac_cv_search_clock_gettime=no
18720 rm conftest.$ac_ext
18721 LIBS=$ac_func_search_save_LIBS
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18724 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18725 ac_res=$ac_cv_search_clock_gettime
18726 if test "$ac_res" != no; then :
18727 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18732 $as_echo_n "checking for library containing nanosleep... " >&6; }
18733 if test "${ac_cv_search_nanosleep+set}" = set; then :
18734 $as_echo_n "(cached) " >&6
18735 else
18736 ac_func_search_save_LIBS=$LIBS
18737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18738 /* end confdefs.h. */
18740 /* Override any GCC internal prototype to avoid an error.
18741 Use char because int might match the return type of a GCC
18742 builtin and then its argument prototype would still apply. */
18743 #ifdef __cplusplus
18744 extern "C"
18745 #endif
18746 char nanosleep ();
18748 main ()
18750 return nanosleep ();
18752 return 0;
18754 _ACEOF
18755 for ac_lib in '' rt posix4; do
18756 if test -z "$ac_lib"; then
18757 ac_res="none required"
18758 else
18759 ac_res=-l$ac_lib
18760 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18762 if test x$gcc_no_link = xyes; then
18763 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18765 if ac_fn_cxx_try_link "$LINENO"; then :
18766 ac_cv_search_nanosleep=$ac_res
18768 rm -f core conftest.err conftest.$ac_objext \
18769 conftest$ac_exeext
18770 if test "${ac_cv_search_nanosleep+set}" = set; then :
18771 break
18773 done
18774 if test "${ac_cv_search_nanosleep+set}" = set; then :
18776 else
18777 ac_cv_search_nanosleep=no
18779 rm conftest.$ac_ext
18780 LIBS=$ac_func_search_save_LIBS
18782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18783 $as_echo "$ac_cv_search_nanosleep" >&6; }
18784 ac_res=$ac_cv_search_nanosleep
18785 if test "$ac_res" != no; then :
18786 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18790 else
18791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18792 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18793 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18794 $as_echo_n "(cached) " >&6
18795 else
18796 ac_func_search_save_LIBS=$LIBS
18797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18798 /* end confdefs.h. */
18800 /* Override any GCC internal prototype to avoid an error.
18801 Use char because int might match the return type of a GCC
18802 builtin and then its argument prototype would still apply. */
18803 #ifdef __cplusplus
18804 extern "C"
18805 #endif
18806 char clock_gettime ();
18808 main ()
18810 return clock_gettime ();
18812 return 0;
18814 _ACEOF
18815 for ac_lib in '' posix4; do
18816 if test -z "$ac_lib"; then
18817 ac_res="none required"
18818 else
18819 ac_res=-l$ac_lib
18820 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18822 if test x$gcc_no_link = xyes; then
18823 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18825 if ac_fn_cxx_try_link "$LINENO"; then :
18826 ac_cv_search_clock_gettime=$ac_res
18828 rm -f core conftest.err conftest.$ac_objext \
18829 conftest$ac_exeext
18830 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18831 break
18833 done
18834 if test "${ac_cv_search_clock_gettime+set}" = set; then :
18836 else
18837 ac_cv_search_clock_gettime=no
18839 rm conftest.$ac_ext
18840 LIBS=$ac_func_search_save_LIBS
18842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18843 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18844 ac_res=$ac_cv_search_clock_gettime
18845 if test "$ac_res" != no; then :
18846 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
18851 $as_echo_n "checking for library containing nanosleep... " >&6; }
18852 if test "${ac_cv_search_nanosleep+set}" = set; then :
18853 $as_echo_n "(cached) " >&6
18854 else
18855 ac_func_search_save_LIBS=$LIBS
18856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18857 /* end confdefs.h. */
18859 /* Override any GCC internal prototype to avoid an error.
18860 Use char because int might match the return type of a GCC
18861 builtin and then its argument prototype would still apply. */
18862 #ifdef __cplusplus
18863 extern "C"
18864 #endif
18865 char nanosleep ();
18867 main ()
18869 return nanosleep ();
18871 return 0;
18873 _ACEOF
18874 for ac_lib in '' posix4; do
18875 if test -z "$ac_lib"; then
18876 ac_res="none required"
18877 else
18878 ac_res=-l$ac_lib
18879 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18881 if test x$gcc_no_link = xyes; then
18882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18884 if ac_fn_cxx_try_link "$LINENO"; then :
18885 ac_cv_search_nanosleep=$ac_res
18887 rm -f core conftest.err conftest.$ac_objext \
18888 conftest$ac_exeext
18889 if test "${ac_cv_search_nanosleep+set}" = set; then :
18890 break
18892 done
18893 if test "${ac_cv_search_nanosleep+set}" = set; then :
18895 else
18896 ac_cv_search_nanosleep=no
18898 rm conftest.$ac_ext
18899 LIBS=$ac_func_search_save_LIBS
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
18902 $as_echo "$ac_cv_search_nanosleep" >&6; }
18903 ac_res=$ac_cv_search_nanosleep
18904 if test "$ac_res" != no; then :
18905 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18911 case "$ac_cv_search_clock_gettime" in
18912 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
18914 esac
18915 case "$ac_cv_search_nanosleep" in
18916 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
18918 esac
18920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
18921 $as_echo_n "checking for library containing sched_yield... " >&6; }
18922 if test "${ac_cv_search_sched_yield+set}" = set; then :
18923 $as_echo_n "(cached) " >&6
18924 else
18925 ac_func_search_save_LIBS=$LIBS
18926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18927 /* end confdefs.h. */
18929 /* Override any GCC internal prototype to avoid an error.
18930 Use char because int might match the return type of a GCC
18931 builtin and then its argument prototype would still apply. */
18932 #ifdef __cplusplus
18933 extern "C"
18934 #endif
18935 char sched_yield ();
18937 main ()
18939 return sched_yield ();
18941 return 0;
18943 _ACEOF
18944 for ac_lib in '' rt posix4; do
18945 if test -z "$ac_lib"; then
18946 ac_res="none required"
18947 else
18948 ac_res=-l$ac_lib
18949 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18951 if test x$gcc_no_link = xyes; then
18952 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18954 if ac_fn_cxx_try_link "$LINENO"; then :
18955 ac_cv_search_sched_yield=$ac_res
18957 rm -f core conftest.err conftest.$ac_objext \
18958 conftest$ac_exeext
18959 if test "${ac_cv_search_sched_yield+set}" = set; then :
18960 break
18962 done
18963 if test "${ac_cv_search_sched_yield+set}" = set; then :
18965 else
18966 ac_cv_search_sched_yield=no
18968 rm conftest.$ac_ext
18969 LIBS=$ac_func_search_save_LIBS
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
18972 $as_echo "$ac_cv_search_sched_yield" >&6; }
18973 ac_res=$ac_cv_search_sched_yield
18974 if test "$ac_res" != no; then :
18975 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18980 case "$ac_cv_search_sched_yield" in
18981 -lposix4*)
18982 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
18984 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
18987 -lrt*)
18988 if test x"$enable_libstdcxx_time" = x"rt"; then
18989 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
18991 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
18997 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19000 esac
19002 for ac_header in unistd.h
19003 do :
19004 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19005 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19006 cat >>confdefs.h <<_ACEOF
19007 #define HAVE_UNISTD_H 1
19008 _ACEOF
19009 ac_has_unistd_h=yes
19010 else
19011 ac_has_unistd_h=no
19014 done
19017 if test x"$ac_has_unistd_h" = x"yes"; then
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19019 $as_echo_n "checking for monotonic clock... " >&6; }
19020 if test x$gcc_no_link = xyes; then
19021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 #include <unistd.h>
19026 #include <time.h>
19029 main ()
19031 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19032 timespec tp;
19033 #endif
19034 clock_gettime(CLOCK_MONOTONIC, &tp);
19037 return 0;
19039 _ACEOF
19040 if ac_fn_cxx_try_link "$LINENO"; then :
19041 ac_has_clock_monotonic=yes
19042 else
19043 ac_has_clock_monotonic=no
19045 rm -f core conftest.err conftest.$ac_objext \
19046 conftest$ac_exeext conftest.$ac_ext
19048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19049 $as_echo "$ac_has_clock_monotonic" >&6; }
19051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19052 $as_echo_n "checking for realtime clock... " >&6; }
19053 if test x$gcc_no_link = xyes; then
19054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19058 #include <unistd.h>
19059 #include <time.h>
19062 main ()
19064 #if _POSIX_TIMERS > 0
19065 timespec tp;
19066 #endif
19067 clock_gettime(CLOCK_REALTIME, &tp);
19070 return 0;
19072 _ACEOF
19073 if ac_fn_cxx_try_link "$LINENO"; then :
19074 ac_has_clock_realtime=yes
19075 else
19076 ac_has_clock_realtime=no
19078 rm -f core conftest.err conftest.$ac_objext \
19079 conftest$ac_exeext conftest.$ac_ext
19081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19082 $as_echo "$ac_has_clock_realtime" >&6; }
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19085 $as_echo_n "checking for nanosleep... " >&6; }
19086 if test x$gcc_no_link = xyes; then
19087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19091 #include <unistd.h>
19092 #include <time.h>
19095 main ()
19097 #if _POSIX_TIMERS > 0
19098 timespec tp;
19099 #endif
19100 nanosleep(&tp, 0);
19103 return 0;
19105 _ACEOF
19106 if ac_fn_cxx_try_link "$LINENO"; then :
19107 ac_has_nanosleep=yes
19108 else
19109 ac_has_nanosleep=no
19111 rm -f core conftest.err conftest.$ac_objext \
19112 conftest$ac_exeext conftest.$ac_ext
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19115 $as_echo "$ac_has_nanosleep" >&6; }
19119 if test x"$ac_has_clock_monotonic" = x"yes"; then
19121 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19125 if test x"$ac_has_clock_realtime" = x"yes"; then
19127 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19131 if test x"$ac_has_nanosleep" = x"yes"; then
19133 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19139 CXXFLAGS="$ac_save_CXXFLAGS"
19140 LIBS="$ac_save_LIBS"
19141 ac_ext=c
19142 ac_cpp='$CPP $CPPFLAGS'
19143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19149 # For gthread support
19152 ac_ext=cpp
19153 ac_cpp='$CXXCPP $CPPFLAGS'
19154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19159 ac_save_CXXFLAGS="$CXXFLAGS"
19160 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
19162 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19163 case $target_thread_file in
19164 posix)
19165 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19166 esac
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19169 $as_echo_n "checking for gthreads library... " >&6; }
19171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19172 /* end confdefs.h. */
19173 #include "gthr.h"
19175 main ()
19178 #ifndef __GTHREADS_CXX0X
19179 #error
19180 #endif
19182 // In case of POSIX threads check _POSIX_TIMEOUTS too.
19183 #if (defined(_PTHREADS) \
19184 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19185 #error
19186 #endif
19189 return 0;
19191 _ACEOF
19192 if ac_fn_cxx_try_compile "$LINENO"; then :
19193 ac_has_gthreads=yes
19194 else
19195 ac_has_gthreads=no
19197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19200 $as_echo "$ac_has_gthreads" >&6; }
19202 if test x"$ac_has_gthreads" = x"yes"; then
19204 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19208 CXXFLAGS="$ac_save_CXXFLAGS"
19209 ac_ext=c
19210 ac_cpp='$CPP $CPPFLAGS'
19211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19218 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19219 if test "x$ac_cv_header_locale_h" = x""yes; then :
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19222 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19223 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19224 $as_echo_n "(cached) " >&6
19225 else
19226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19228 #include <locale.h>
19230 main ()
19232 return LC_MESSAGES
19234 return 0;
19236 _ACEOF
19237 if ac_fn_c_try_compile "$LINENO"; then :
19238 ac_cv_val_LC_MESSAGES=yes
19239 else
19240 ac_cv_val_LC_MESSAGES=no
19242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19245 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19246 if test $ac_cv_val_LC_MESSAGES = yes; then
19248 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19257 # Check for available headers.
19258 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
19259 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
19260 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
19261 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
19262 wchar.h wctype.h
19263 do :
19264 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19265 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19266 eval as_val=\$$as_ac_Header
19267 if test "x$as_val" = x""yes; then :
19268 cat >>confdefs.h <<_ACEOF
19269 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19270 _ACEOF
19274 done
19277 # Only do link tests if native. Else, hardcode.
19278 if $GLIBCXX_IS_NATIVE; then
19280 # We can do more elaborate tests that assume a working linker.
19281 CANADIAN=no
19285 # Check whether --with-gnu-ld was given.
19286 if test "${with_gnu_ld+set}" = set; then :
19287 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
19288 else
19289 with_gnu_ld=no
19292 ac_prog=ld
19293 if test "$GCC" = yes; then
19294 # Check if gcc -print-prog-name=ld gives a path.
19295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
19296 $as_echo_n "checking for ld used by $CC... " >&6; }
19297 case $host in
19298 *-*-mingw*)
19299 # gcc leaves a trailing carriage return which upsets mingw
19300 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
19302 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
19303 esac
19304 case $ac_prog in
19305 # Accept absolute paths.
19306 [\\/]* | ?:[\\/]*)
19307 re_direlt='/[^/][^/]*/\.\./'
19308 # Canonicalize the pathname of ld
19309 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
19310 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
19311 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
19312 done
19313 test -z "$LD" && LD="$ac_prog"
19316 # If it fails, then pretend we aren't using GCC.
19317 ac_prog=ld
19320 # If it is relative, then search for the first ld in PATH.
19321 with_gnu_ld=unknown
19323 esac
19324 elif test "$with_gnu_ld" = yes; then
19325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
19326 $as_echo_n "checking for GNU ld... " >&6; }
19327 else
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
19329 $as_echo_n "checking for non-GNU ld... " >&6; }
19331 if test "${lt_cv_path_LD+set}" = set; then :
19332 $as_echo_n "(cached) " >&6
19333 else
19334 if test -z "$LD"; then
19335 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
19336 for ac_dir in $PATH; do
19337 IFS="$lt_save_ifs"
19338 test -z "$ac_dir" && ac_dir=.
19339 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
19340 lt_cv_path_LD="$ac_dir/$ac_prog"
19341 # Check to see if the program is GNU ld. I'd rather use --version,
19342 # but apparently some variants of GNU ld only accept -v.
19343 # Break only if it was the GNU/non-GNU ld that we prefer.
19344 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
19345 *GNU* | *'with BFD'*)
19346 test "$with_gnu_ld" != no && break
19349 test "$with_gnu_ld" != yes && break
19351 esac
19353 done
19354 IFS="$lt_save_ifs"
19355 else
19356 lt_cv_path_LD="$LD" # Let the user override the test with a path.
19360 LD="$lt_cv_path_LD"
19361 if test -n "$LD"; then
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
19363 $as_echo "$LD" >&6; }
19364 else
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19366 $as_echo "no" >&6; }
19368 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
19369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
19370 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
19371 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
19372 $as_echo_n "(cached) " >&6
19373 else
19374 # I'd rather use --version here, but apparently some GNU lds only accept -v.
19375 case `$LD -v 2>&1 </dev/null` in
19376 *GNU* | *'with BFD'*)
19377 lt_cv_prog_gnu_ld=yes
19380 lt_cv_prog_gnu_ld=no
19382 esac
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
19385 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
19386 with_gnu_ld=$lt_cv_prog_gnu_ld
19394 # If we're not using GNU ld, then there's no point in even trying these
19395 # tests. Check for that first. We should have already tested for gld
19396 # by now (in libtool), but require it now just to be safe...
19397 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
19398 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
19402 # The name set by libtool depends on the version of libtool. Shame on us
19403 # for depending on an impl detail, but c'est la vie. Older versions used
19404 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
19405 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
19406 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
19407 # set (hence we're using an older libtool), then set it.
19408 if test x${with_gnu_ld+set} != xset; then
19409 if test x${ac_cv_prog_gnu_ld+set} != xset; then
19410 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
19411 with_gnu_ld=no
19412 else
19413 with_gnu_ld=$ac_cv_prog_gnu_ld
19417 # Start by getting the version number. I think the libtool test already
19418 # does some of this, but throws away the result.
19419 glibcxx_ld_is_gold=no
19420 if test x"$with_gnu_ld" = x"yes"; then
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
19422 $as_echo_n "checking for ld version... " >&6; }
19424 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
19425 glibcxx_ld_is_gold=yes
19427 ldver=`$LD --version 2>/dev/null |
19428 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'`
19430 glibcxx_gnu_ld_version=`echo $ldver | \
19431 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
19433 $as_echo "$glibcxx_gnu_ld_version" >&6; }
19436 # Set --gc-sections.
19437 glibcxx_have_gc_sections=no
19438 if test "$glibcxx_ld_is_gold" = "yes"; then
19439 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
19440 glibcxx_have_gc_sections=yes
19442 else
19443 glibcxx_gcsections_min_ld=21602
19444 if test x"$with_gnu_ld" = x"yes" &&
19445 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
19446 glibcxx_have_gc_sections=yes
19449 if test "$glibcxx_have_gc_sections" = "yes"; then
19450 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
19451 # NB: This flag only works reliably after 2.16.1. Configure tests
19452 # for this are difficult, so hard wire a value that should work.
19454 ac_test_CFLAGS="${CFLAGS+set}"
19455 ac_save_CFLAGS="$CFLAGS"
19456 CFLAGS='-Wl,--gc-sections'
19458 # Check for -Wl,--gc-sections
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
19460 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
19461 if test x$gcc_no_link = xyes; then
19462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19465 /* end confdefs.h. */
19466 int one(void) { return 1; }
19467 int two(void) { return 2; }
19470 main ()
19472 two();
19474 return 0;
19476 _ACEOF
19477 if ac_fn_c_try_link "$LINENO"; then :
19478 ac_gcsections=yes
19479 else
19480 ac_gcsections=no
19482 rm -f core conftest.err conftest.$ac_objext \
19483 conftest$ac_exeext conftest.$ac_ext
19484 if test "$ac_gcsections" = "yes"; then
19485 rm -f conftest.c
19486 touch conftest.c
19487 if $CC -c conftest.c; then
19488 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
19489 grep "Warning: gc-sections option ignored" > /dev/null; then
19490 ac_gcsections=no
19493 rm -f conftest.c conftest.o conftest
19495 if test "$ac_gcsections" = "yes"; then
19496 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
19499 $as_echo "$ac_gcsections" >&6; }
19501 if test "$ac_test_CFLAGS" = set; then
19502 CFLAGS="$ac_save_CFLAGS"
19503 else
19504 # this is the suspicious part
19505 CFLAGS=''
19509 # Set -z,relro.
19510 # Note this is only for shared objects.
19511 ac_ld_relro=no
19512 if test x"$with_gnu_ld" = x"yes"; then
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
19514 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
19515 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
19516 if test -n "$cxx_z_relo"; then
19517 OPT_LDFLAGS="-Wl,-z,relro"
19518 ac_ld_relro=yes
19520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
19521 $as_echo "$ac_ld_relro" >&6; }
19524 # Set linker optimization flags.
19525 if test x"$with_gnu_ld" = x"yes"; then
19526 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
19533 ac_test_CXXFLAGS="${CXXFLAGS+set}"
19534 ac_save_CXXFLAGS="$CXXFLAGS"
19535 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
19538 $as_echo_n "checking for sin in -lm... " >&6; }
19539 if test "${ac_cv_lib_m_sin+set}" = set; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19542 ac_check_lib_save_LIBS=$LIBS
19543 LIBS="-lm $LIBS"
19544 if test x$gcc_no_link = xyes; then
19545 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19548 /* end confdefs.h. */
19550 /* Override any GCC internal prototype to avoid an error.
19551 Use char because int might match the return type of a GCC
19552 builtin and then its argument prototype would still apply. */
19553 #ifdef __cplusplus
19554 extern "C"
19555 #endif
19556 char sin ();
19558 main ()
19560 return sin ();
19562 return 0;
19564 _ACEOF
19565 if ac_fn_c_try_link "$LINENO"; then :
19566 ac_cv_lib_m_sin=yes
19567 else
19568 ac_cv_lib_m_sin=no
19570 rm -f core conftest.err conftest.$ac_objext \
19571 conftest$ac_exeext conftest.$ac_ext
19572 LIBS=$ac_check_lib_save_LIBS
19574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
19575 $as_echo "$ac_cv_lib_m_sin" >&6; }
19576 if test "x$ac_cv_lib_m_sin" = x""yes; then :
19577 libm="-lm"
19580 ac_save_LIBS="$LIBS"
19581 LIBS="$LIBS $libm"
19585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
19586 $as_echo_n "checking for isinf declaration... " >&6; }
19587 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
19588 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
19589 $as_echo_n "(cached) " >&6
19590 else
19593 ac_ext=cpp
19594 ac_cpp='$CXXCPP $CPPFLAGS'
19595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #include <math.h>
19602 #ifdef HAVE_IEEEFP_H
19603 #include <ieeefp.h>
19604 #endif
19607 main ()
19609 isinf(0);
19611 return 0;
19613 _ACEOF
19614 if ac_fn_cxx_try_compile "$LINENO"; then :
19615 glibcxx_cv_func_isinf_use=yes
19616 else
19617 glibcxx_cv_func_isinf_use=no
19619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19620 ac_ext=c
19621 ac_cpp='$CPP $CPPFLAGS'
19622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
19631 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
19633 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
19634 for ac_func in isinf
19635 do :
19636 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
19637 if test "x$ac_cv_func_isinf" = x""yes; then :
19638 cat >>confdefs.h <<_ACEOF
19639 #define HAVE_ISINF 1
19640 _ACEOF
19643 done
19645 else
19647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
19648 $as_echo_n "checking for _isinf declaration... " >&6; }
19649 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
19650 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
19651 $as_echo_n "(cached) " >&6
19652 else
19655 ac_ext=cpp
19656 ac_cpp='$CXXCPP $CPPFLAGS'
19657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19662 /* end confdefs.h. */
19663 #include <math.h>
19664 #ifdef HAVE_IEEEFP_H
19665 #include <ieeefp.h>
19666 #endif
19669 main ()
19671 _isinf(0);
19673 return 0;
19675 _ACEOF
19676 if ac_fn_cxx_try_compile "$LINENO"; then :
19677 glibcxx_cv_func__isinf_use=yes
19678 else
19679 glibcxx_cv_func__isinf_use=no
19681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19682 ac_ext=c
19683 ac_cpp='$CPP $CPPFLAGS'
19684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
19693 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
19695 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19696 for ac_func in _isinf
19697 do :
19698 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
19699 if test "x$ac_cv_func__isinf" = x""yes; then :
19700 cat >>confdefs.h <<_ACEOF
19701 #define HAVE__ISINF 1
19702 _ACEOF
19705 done
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
19715 $as_echo_n "checking for isnan declaration... " >&6; }
19716 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19717 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
19718 $as_echo_n "(cached) " >&6
19719 else
19722 ac_ext=cpp
19723 ac_cpp='$CXXCPP $CPPFLAGS'
19724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730 #include <math.h>
19731 #ifdef HAVE_IEEEFP_H
19732 #include <ieeefp.h>
19733 #endif
19736 main ()
19738 isnan(0);
19740 return 0;
19742 _ACEOF
19743 if ac_fn_cxx_try_compile "$LINENO"; then :
19744 glibcxx_cv_func_isnan_use=yes
19745 else
19746 glibcxx_cv_func_isnan_use=no
19748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19749 ac_ext=c
19750 ac_cpp='$CPP $CPPFLAGS'
19751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
19760 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
19762 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19763 for ac_func in isnan
19764 do :
19765 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
19766 if test "x$ac_cv_func_isnan" = x""yes; then :
19767 cat >>confdefs.h <<_ACEOF
19768 #define HAVE_ISNAN 1
19769 _ACEOF
19772 done
19774 else
19776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
19777 $as_echo_n "checking for _isnan declaration... " >&6; }
19778 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19779 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
19780 $as_echo_n "(cached) " >&6
19781 else
19784 ac_ext=cpp
19785 ac_cpp='$CXXCPP $CPPFLAGS'
19786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19791 /* end confdefs.h. */
19792 #include <math.h>
19793 #ifdef HAVE_IEEEFP_H
19794 #include <ieeefp.h>
19795 #endif
19798 main ()
19800 _isnan(0);
19802 return 0;
19804 _ACEOF
19805 if ac_fn_cxx_try_compile "$LINENO"; then :
19806 glibcxx_cv_func__isnan_use=yes
19807 else
19808 glibcxx_cv_func__isnan_use=no
19810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19811 ac_ext=c
19812 ac_cpp='$CPP $CPPFLAGS'
19813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
19822 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
19824 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19825 for ac_func in _isnan
19826 do :
19827 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
19828 if test "x$ac_cv_func__isnan" = x""yes; then :
19829 cat >>confdefs.h <<_ACEOF
19830 #define HAVE__ISNAN 1
19831 _ACEOF
19834 done
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
19844 $as_echo_n "checking for finite declaration... " >&6; }
19845 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19846 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
19847 $as_echo_n "(cached) " >&6
19848 else
19851 ac_ext=cpp
19852 ac_cpp='$CXXCPP $CPPFLAGS'
19853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19858 /* end confdefs.h. */
19859 #include <math.h>
19860 #ifdef HAVE_IEEEFP_H
19861 #include <ieeefp.h>
19862 #endif
19865 main ()
19867 finite(0);
19869 return 0;
19871 _ACEOF
19872 if ac_fn_cxx_try_compile "$LINENO"; then :
19873 glibcxx_cv_func_finite_use=yes
19874 else
19875 glibcxx_cv_func_finite_use=no
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19878 ac_ext=c
19879 ac_cpp='$CPP $CPPFLAGS'
19880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
19889 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
19891 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19892 for ac_func in finite
19893 do :
19894 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
19895 if test "x$ac_cv_func_finite" = x""yes; then :
19896 cat >>confdefs.h <<_ACEOF
19897 #define HAVE_FINITE 1
19898 _ACEOF
19901 done
19903 else
19905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
19906 $as_echo_n "checking for _finite declaration... " >&6; }
19907 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19908 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
19909 $as_echo_n "(cached) " >&6
19910 else
19913 ac_ext=cpp
19914 ac_cpp='$CXXCPP $CPPFLAGS'
19915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19920 /* end confdefs.h. */
19921 #include <math.h>
19922 #ifdef HAVE_IEEEFP_H
19923 #include <ieeefp.h>
19924 #endif
19927 main ()
19929 _finite(0);
19931 return 0;
19933 _ACEOF
19934 if ac_fn_cxx_try_compile "$LINENO"; then :
19935 glibcxx_cv_func__finite_use=yes
19936 else
19937 glibcxx_cv_func__finite_use=no
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19940 ac_ext=c
19941 ac_cpp='$CPP $CPPFLAGS'
19942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
19951 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
19953 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19954 for ac_func in _finite
19955 do :
19956 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
19957 if test "x$ac_cv_func__finite" = x""yes; then :
19958 cat >>confdefs.h <<_ACEOF
19959 #define HAVE__FINITE 1
19960 _ACEOF
19963 done
19972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
19973 $as_echo_n "checking for sincos declaration... " >&6; }
19974 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
19975 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
19976 $as_echo_n "(cached) " >&6
19977 else
19980 ac_ext=cpp
19981 ac_cpp='$CXXCPP $CPPFLAGS'
19982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19987 /* end confdefs.h. */
19988 #include <math.h>
19990 main ()
19992 sincos(0, 0, 0);
19994 return 0;
19996 _ACEOF
19997 if ac_fn_cxx_try_compile "$LINENO"; then :
19998 glibcxx_cv_func_sincos_use=yes
19999 else
20000 glibcxx_cv_func_sincos_use=no
20002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20003 ac_ext=c
20004 ac_cpp='$CPP $CPPFLAGS'
20005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
20014 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
20016 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20017 for ac_func in sincos
20018 do :
20019 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
20020 if test "x$ac_cv_func_sincos" = x""yes; then :
20021 cat >>confdefs.h <<_ACEOF
20022 #define HAVE_SINCOS 1
20023 _ACEOF
20026 done
20028 else
20030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
20031 $as_echo_n "checking for _sincos declaration... " >&6; }
20032 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20033 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
20034 $as_echo_n "(cached) " >&6
20035 else
20038 ac_ext=cpp
20039 ac_cpp='$CXXCPP $CPPFLAGS'
20040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20045 /* end confdefs.h. */
20046 #include <math.h>
20048 main ()
20050 _sincos(0, 0, 0);
20052 return 0;
20054 _ACEOF
20055 if ac_fn_cxx_try_compile "$LINENO"; then :
20056 glibcxx_cv_func__sincos_use=yes
20057 else
20058 glibcxx_cv_func__sincos_use=no
20060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20061 ac_ext=c
20062 ac_cpp='$CPP $CPPFLAGS'
20063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
20072 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
20074 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20075 for ac_func in _sincos
20076 do :
20077 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
20078 if test "x$ac_cv_func__sincos" = x""yes; then :
20079 cat >>confdefs.h <<_ACEOF
20080 #define HAVE__SINCOS 1
20081 _ACEOF
20084 done
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
20094 $as_echo_n "checking for fpclass declaration... " >&6; }
20095 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20096 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
20097 $as_echo_n "(cached) " >&6
20098 else
20101 ac_ext=cpp
20102 ac_cpp='$CXXCPP $CPPFLAGS'
20103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20108 /* end confdefs.h. */
20109 #include <math.h>
20110 #ifdef HAVE_IEEEFP_H
20111 #include <ieeefp.h>
20112 #endif
20115 main ()
20117 fpclass(0);
20119 return 0;
20121 _ACEOF
20122 if ac_fn_cxx_try_compile "$LINENO"; then :
20123 glibcxx_cv_func_fpclass_use=yes
20124 else
20125 glibcxx_cv_func_fpclass_use=no
20127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20128 ac_ext=c
20129 ac_cpp='$CPP $CPPFLAGS'
20130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
20139 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
20141 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20142 for ac_func in fpclass
20143 do :
20144 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
20145 if test "x$ac_cv_func_fpclass" = x""yes; then :
20146 cat >>confdefs.h <<_ACEOF
20147 #define HAVE_FPCLASS 1
20148 _ACEOF
20151 done
20153 else
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
20156 $as_echo_n "checking for _fpclass declaration... " >&6; }
20157 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20158 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
20159 $as_echo_n "(cached) " >&6
20160 else
20163 ac_ext=cpp
20164 ac_cpp='$CXXCPP $CPPFLAGS'
20165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20170 /* end confdefs.h. */
20171 #include <math.h>
20172 #ifdef HAVE_IEEEFP_H
20173 #include <ieeefp.h>
20174 #endif
20177 main ()
20179 _fpclass(0);
20181 return 0;
20183 _ACEOF
20184 if ac_fn_cxx_try_compile "$LINENO"; then :
20185 glibcxx_cv_func__fpclass_use=yes
20186 else
20187 glibcxx_cv_func__fpclass_use=no
20189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20190 ac_ext=c
20191 ac_cpp='$CPP $CPPFLAGS'
20192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
20201 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
20203 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20204 for ac_func in _fpclass
20205 do :
20206 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
20207 if test "x$ac_cv_func__fpclass" = x""yes; then :
20208 cat >>confdefs.h <<_ACEOF
20209 #define HAVE__FPCLASS 1
20210 _ACEOF
20213 done
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
20223 $as_echo_n "checking for qfpclass declaration... " >&6; }
20224 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
20225 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
20226 $as_echo_n "(cached) " >&6
20227 else
20230 ac_ext=cpp
20231 ac_cpp='$CXXCPP $CPPFLAGS'
20232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20237 /* end confdefs.h. */
20238 #include <math.h>
20239 #ifdef HAVE_IEEEFP_H
20240 #include <ieeefp.h>
20241 #endif
20244 main ()
20246 qfpclass(0);
20248 return 0;
20250 _ACEOF
20251 if ac_fn_cxx_try_compile "$LINENO"; then :
20252 glibcxx_cv_func_qfpclass_use=yes
20253 else
20254 glibcxx_cv_func_qfpclass_use=no
20256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20257 ac_ext=c
20258 ac_cpp='$CPP $CPPFLAGS'
20259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
20268 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
20270 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
20271 for ac_func in qfpclass
20272 do :
20273 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
20274 if test "x$ac_cv_func_qfpclass" = x""yes; then :
20275 cat >>confdefs.h <<_ACEOF
20276 #define HAVE_QFPCLASS 1
20277 _ACEOF
20280 done
20282 else
20284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
20285 $as_echo_n "checking for _qfpclass declaration... " >&6; }
20286 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
20287 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
20288 $as_echo_n "(cached) " >&6
20289 else
20292 ac_ext=cpp
20293 ac_cpp='$CXXCPP $CPPFLAGS'
20294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20299 /* end confdefs.h. */
20300 #include <math.h>
20301 #ifdef HAVE_IEEEFP_H
20302 #include <ieeefp.h>
20303 #endif
20306 main ()
20308 _qfpclass(0);
20310 return 0;
20312 _ACEOF
20313 if ac_fn_cxx_try_compile "$LINENO"; then :
20314 glibcxx_cv_func__qfpclass_use=yes
20315 else
20316 glibcxx_cv_func__qfpclass_use=no
20318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20319 ac_ext=c
20320 ac_cpp='$CPP $CPPFLAGS'
20321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
20330 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
20332 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
20333 for ac_func in _qfpclass
20334 do :
20335 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
20336 if test "x$ac_cv_func__qfpclass" = x""yes; then :
20337 cat >>confdefs.h <<_ACEOF
20338 #define HAVE__QFPCLASS 1
20339 _ACEOF
20342 done
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
20352 $as_echo_n "checking for hypot declaration... " >&6; }
20353 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
20354 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
20355 $as_echo_n "(cached) " >&6
20356 else
20359 ac_ext=cpp
20360 ac_cpp='$CXXCPP $CPPFLAGS'
20361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20366 /* end confdefs.h. */
20367 #include <math.h>
20369 main ()
20371 hypot(0, 0);
20373 return 0;
20375 _ACEOF
20376 if ac_fn_cxx_try_compile "$LINENO"; then :
20377 glibcxx_cv_func_hypot_use=yes
20378 else
20379 glibcxx_cv_func_hypot_use=no
20381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20382 ac_ext=c
20383 ac_cpp='$CPP $CPPFLAGS'
20384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
20393 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
20395 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
20396 for ac_func in hypot
20397 do :
20398 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
20399 if test "x$ac_cv_func_hypot" = x""yes; then :
20400 cat >>confdefs.h <<_ACEOF
20401 #define HAVE_HYPOT 1
20402 _ACEOF
20405 done
20407 else
20409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
20410 $as_echo_n "checking for _hypot declaration... " >&6; }
20411 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
20412 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
20413 $as_echo_n "(cached) " >&6
20414 else
20417 ac_ext=cpp
20418 ac_cpp='$CXXCPP $CPPFLAGS'
20419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20424 /* end confdefs.h. */
20425 #include <math.h>
20427 main ()
20429 _hypot(0, 0);
20431 return 0;
20433 _ACEOF
20434 if ac_fn_cxx_try_compile "$LINENO"; then :
20435 glibcxx_cv_func__hypot_use=yes
20436 else
20437 glibcxx_cv_func__hypot_use=no
20439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20440 ac_ext=c
20441 ac_cpp='$CPP $CPPFLAGS'
20442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
20451 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
20453 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
20454 for ac_func in _hypot
20455 do :
20456 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
20457 if test "x$ac_cv_func__hypot" = x""yes; then :
20458 cat >>confdefs.h <<_ACEOF
20459 #define HAVE__HYPOT 1
20460 _ACEOF
20463 done
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
20473 $as_echo_n "checking for float trig functions... " >&6; }
20474 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
20475 $as_echo_n "(cached) " >&6
20476 else
20479 ac_ext=cpp
20480 ac_cpp='$CXXCPP $CPPFLAGS'
20481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20486 /* end confdefs.h. */
20487 #include <math.h>
20489 main ()
20491 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
20493 return 0;
20495 _ACEOF
20496 if ac_fn_cxx_try_compile "$LINENO"; then :
20497 glibcxx_cv_func_float_trig_use=yes
20498 else
20499 glibcxx_cv_func_float_trig_use=no
20501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20502 ac_ext=c
20503 ac_cpp='$CPP $CPPFLAGS'
20504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
20511 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
20512 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
20513 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
20514 do :
20515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20517 eval as_val=\$$as_ac_var
20518 if test "x$as_val" = x""yes; then :
20519 cat >>confdefs.h <<_ACEOF
20520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20521 _ACEOF
20524 done
20526 else
20527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
20528 $as_echo_n "checking for _float trig functions... " >&6; }
20529 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
20530 $as_echo_n "(cached) " >&6
20531 else
20534 ac_ext=cpp
20535 ac_cpp='$CXXCPP $CPPFLAGS'
20536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20541 /* end confdefs.h. */
20542 #include <math.h>
20544 main ()
20546 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
20548 return 0;
20550 _ACEOF
20551 if ac_fn_cxx_try_compile "$LINENO"; then :
20552 glibcxx_cv_func__float_trig_use=yes
20553 else
20554 glibcxx_cv_func__float_trig_use=no
20556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20557 ac_ext=c
20558 ac_cpp='$CPP $CPPFLAGS'
20559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
20566 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
20567 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
20568 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
20569 do :
20570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20572 eval as_val=\$$as_ac_var
20573 if test "x$as_val" = x""yes; then :
20574 cat >>confdefs.h <<_ACEOF
20575 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20576 _ACEOF
20579 done
20588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
20589 $as_echo_n "checking for float round functions... " >&6; }
20590 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
20591 $as_echo_n "(cached) " >&6
20592 else
20595 ac_ext=cpp
20596 ac_cpp='$CXXCPP $CPPFLAGS'
20597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20602 /* end confdefs.h. */
20603 #include <math.h>
20605 main ()
20607 ceilf (0); floorf (0);
20609 return 0;
20611 _ACEOF
20612 if ac_fn_cxx_try_compile "$LINENO"; then :
20613 glibcxx_cv_func_float_round_use=yes
20614 else
20615 glibcxx_cv_func_float_round_use=no
20617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20618 ac_ext=c
20619 ac_cpp='$CPP $CPPFLAGS'
20620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
20627 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
20628 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
20629 for ac_func in ceilf floorf
20630 do :
20631 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20632 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20633 eval as_val=\$$as_ac_var
20634 if test "x$as_val" = x""yes; then :
20635 cat >>confdefs.h <<_ACEOF
20636 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20637 _ACEOF
20640 done
20642 else
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
20644 $as_echo_n "checking for _float round functions... " >&6; }
20645 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
20646 $as_echo_n "(cached) " >&6
20647 else
20650 ac_ext=cpp
20651 ac_cpp='$CXXCPP $CPPFLAGS'
20652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20657 /* end confdefs.h. */
20658 #include <math.h>
20660 main ()
20662 _ceilf (0); _floorf (0);
20664 return 0;
20666 _ACEOF
20667 if ac_fn_cxx_try_compile "$LINENO"; then :
20668 glibcxx_cv_func__float_round_use=yes
20669 else
20670 glibcxx_cv_func__float_round_use=no
20672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20673 ac_ext=c
20674 ac_cpp='$CPP $CPPFLAGS'
20675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
20682 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
20683 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
20684 for ac_func in _ceilf _floorf
20685 do :
20686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20688 eval as_val=\$$as_ac_var
20689 if test "x$as_val" = x""yes; then :
20690 cat >>confdefs.h <<_ACEOF
20691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20692 _ACEOF
20695 done
20705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
20706 $as_echo_n "checking for expf declaration... " >&6; }
20707 if test x${glibcxx_cv_func_expf_use+set} != xset; then
20708 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
20709 $as_echo_n "(cached) " >&6
20710 else
20713 ac_ext=cpp
20714 ac_cpp='$CXXCPP $CPPFLAGS'
20715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20720 /* end confdefs.h. */
20721 #include <math.h>
20722 #ifdef HAVE_IEEEFP_H
20723 #include <ieeefp.h>
20724 #endif
20727 main ()
20729 expf(0);
20731 return 0;
20733 _ACEOF
20734 if ac_fn_cxx_try_compile "$LINENO"; then :
20735 glibcxx_cv_func_expf_use=yes
20736 else
20737 glibcxx_cv_func_expf_use=no
20739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20740 ac_ext=c
20741 ac_cpp='$CPP $CPPFLAGS'
20742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
20751 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
20753 if test x$glibcxx_cv_func_expf_use = x"yes"; then
20754 for ac_func in expf
20755 do :
20756 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
20757 if test "x$ac_cv_func_expf" = x""yes; then :
20758 cat >>confdefs.h <<_ACEOF
20759 #define HAVE_EXPF 1
20760 _ACEOF
20763 done
20765 else
20767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
20768 $as_echo_n "checking for _expf declaration... " >&6; }
20769 if test x${glibcxx_cv_func__expf_use+set} != xset; then
20770 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
20771 $as_echo_n "(cached) " >&6
20772 else
20775 ac_ext=cpp
20776 ac_cpp='$CXXCPP $CPPFLAGS'
20777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20782 /* end confdefs.h. */
20783 #include <math.h>
20784 #ifdef HAVE_IEEEFP_H
20785 #include <ieeefp.h>
20786 #endif
20789 main ()
20791 _expf(0);
20793 return 0;
20795 _ACEOF
20796 if ac_fn_cxx_try_compile "$LINENO"; then :
20797 glibcxx_cv_func__expf_use=yes
20798 else
20799 glibcxx_cv_func__expf_use=no
20801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20802 ac_ext=c
20803 ac_cpp='$CPP $CPPFLAGS'
20804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
20813 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
20815 if test x$glibcxx_cv_func__expf_use = x"yes"; then
20816 for ac_func in _expf
20817 do :
20818 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
20819 if test "x$ac_cv_func__expf" = x""yes; then :
20820 cat >>confdefs.h <<_ACEOF
20821 #define HAVE__EXPF 1
20822 _ACEOF
20825 done
20834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
20835 $as_echo_n "checking for isnanf declaration... " >&6; }
20836 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
20837 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
20838 $as_echo_n "(cached) " >&6
20839 else
20842 ac_ext=cpp
20843 ac_cpp='$CXXCPP $CPPFLAGS'
20844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20849 /* end confdefs.h. */
20850 #include <math.h>
20851 #ifdef HAVE_IEEEFP_H
20852 #include <ieeefp.h>
20853 #endif
20856 main ()
20858 isnanf(0);
20860 return 0;
20862 _ACEOF
20863 if ac_fn_cxx_try_compile "$LINENO"; then :
20864 glibcxx_cv_func_isnanf_use=yes
20865 else
20866 glibcxx_cv_func_isnanf_use=no
20868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20869 ac_ext=c
20870 ac_cpp='$CPP $CPPFLAGS'
20871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
20880 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
20882 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
20883 for ac_func in isnanf
20884 do :
20885 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
20886 if test "x$ac_cv_func_isnanf" = x""yes; then :
20887 cat >>confdefs.h <<_ACEOF
20888 #define HAVE_ISNANF 1
20889 _ACEOF
20892 done
20894 else
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
20897 $as_echo_n "checking for _isnanf declaration... " >&6; }
20898 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
20899 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
20900 $as_echo_n "(cached) " >&6
20901 else
20904 ac_ext=cpp
20905 ac_cpp='$CXXCPP $CPPFLAGS'
20906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20911 /* end confdefs.h. */
20912 #include <math.h>
20913 #ifdef HAVE_IEEEFP_H
20914 #include <ieeefp.h>
20915 #endif
20918 main ()
20920 _isnanf(0);
20922 return 0;
20924 _ACEOF
20925 if ac_fn_cxx_try_compile "$LINENO"; then :
20926 glibcxx_cv_func__isnanf_use=yes
20927 else
20928 glibcxx_cv_func__isnanf_use=no
20930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20931 ac_ext=c
20932 ac_cpp='$CPP $CPPFLAGS'
20933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
20942 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
20944 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
20945 for ac_func in _isnanf
20946 do :
20947 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
20948 if test "x$ac_cv_func__isnanf" = x""yes; then :
20949 cat >>confdefs.h <<_ACEOF
20950 #define HAVE__ISNANF 1
20951 _ACEOF
20954 done
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
20964 $as_echo_n "checking for isinff declaration... " >&6; }
20965 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
20966 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
20967 $as_echo_n "(cached) " >&6
20968 else
20971 ac_ext=cpp
20972 ac_cpp='$CXXCPP $CPPFLAGS'
20973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20978 /* end confdefs.h. */
20979 #include <math.h>
20980 #ifdef HAVE_IEEEFP_H
20981 #include <ieeefp.h>
20982 #endif
20985 main ()
20987 isinff(0);
20989 return 0;
20991 _ACEOF
20992 if ac_fn_cxx_try_compile "$LINENO"; then :
20993 glibcxx_cv_func_isinff_use=yes
20994 else
20995 glibcxx_cv_func_isinff_use=no
20997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20998 ac_ext=c
20999 ac_cpp='$CPP $CPPFLAGS'
21000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
21009 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
21011 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
21012 for ac_func in isinff
21013 do :
21014 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
21015 if test "x$ac_cv_func_isinff" = x""yes; then :
21016 cat >>confdefs.h <<_ACEOF
21017 #define HAVE_ISINFF 1
21018 _ACEOF
21021 done
21023 else
21025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
21026 $as_echo_n "checking for _isinff declaration... " >&6; }
21027 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
21028 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
21029 $as_echo_n "(cached) " >&6
21030 else
21033 ac_ext=cpp
21034 ac_cpp='$CXXCPP $CPPFLAGS'
21035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21040 /* end confdefs.h. */
21041 #include <math.h>
21042 #ifdef HAVE_IEEEFP_H
21043 #include <ieeefp.h>
21044 #endif
21047 main ()
21049 _isinff(0);
21051 return 0;
21053 _ACEOF
21054 if ac_fn_cxx_try_compile "$LINENO"; then :
21055 glibcxx_cv_func__isinff_use=yes
21056 else
21057 glibcxx_cv_func__isinff_use=no
21059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21060 ac_ext=c
21061 ac_cpp='$CPP $CPPFLAGS'
21062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
21071 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
21073 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
21074 for ac_func in _isinff
21075 do :
21076 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
21077 if test "x$ac_cv_func__isinff" = x""yes; then :
21078 cat >>confdefs.h <<_ACEOF
21079 #define HAVE__ISINFF 1
21080 _ACEOF
21083 done
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
21093 $as_echo_n "checking for atan2f declaration... " >&6; }
21094 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
21095 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
21096 $as_echo_n "(cached) " >&6
21097 else
21100 ac_ext=cpp
21101 ac_cpp='$CXXCPP $CPPFLAGS'
21102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21107 /* end confdefs.h. */
21108 #include <math.h>
21110 main ()
21112 atan2f(0, 0);
21114 return 0;
21116 _ACEOF
21117 if ac_fn_cxx_try_compile "$LINENO"; then :
21118 glibcxx_cv_func_atan2f_use=yes
21119 else
21120 glibcxx_cv_func_atan2f_use=no
21122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21123 ac_ext=c
21124 ac_cpp='$CPP $CPPFLAGS'
21125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
21134 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
21136 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
21137 for ac_func in atan2f
21138 do :
21139 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
21140 if test "x$ac_cv_func_atan2f" = x""yes; then :
21141 cat >>confdefs.h <<_ACEOF
21142 #define HAVE_ATAN2F 1
21143 _ACEOF
21146 done
21148 else
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
21151 $as_echo_n "checking for _atan2f declaration... " >&6; }
21152 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
21153 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
21154 $as_echo_n "(cached) " >&6
21155 else
21158 ac_ext=cpp
21159 ac_cpp='$CXXCPP $CPPFLAGS'
21160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21165 /* end confdefs.h. */
21166 #include <math.h>
21168 main ()
21170 _atan2f(0, 0);
21172 return 0;
21174 _ACEOF
21175 if ac_fn_cxx_try_compile "$LINENO"; then :
21176 glibcxx_cv_func__atan2f_use=yes
21177 else
21178 glibcxx_cv_func__atan2f_use=no
21180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21181 ac_ext=c
21182 ac_cpp='$CPP $CPPFLAGS'
21183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
21192 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
21194 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
21195 for ac_func in _atan2f
21196 do :
21197 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
21198 if test "x$ac_cv_func__atan2f" = x""yes; then :
21199 cat >>confdefs.h <<_ACEOF
21200 #define HAVE__ATAN2F 1
21201 _ACEOF
21204 done
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
21214 $as_echo_n "checking for fabsf declaration... " >&6; }
21215 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
21216 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
21217 $as_echo_n "(cached) " >&6
21218 else
21221 ac_ext=cpp
21222 ac_cpp='$CXXCPP $CPPFLAGS'
21223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21228 /* end confdefs.h. */
21229 #include <math.h>
21230 #ifdef HAVE_IEEEFP_H
21231 #include <ieeefp.h>
21232 #endif
21235 main ()
21237 fabsf(0);
21239 return 0;
21241 _ACEOF
21242 if ac_fn_cxx_try_compile "$LINENO"; then :
21243 glibcxx_cv_func_fabsf_use=yes
21244 else
21245 glibcxx_cv_func_fabsf_use=no
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 ac_ext=c
21249 ac_cpp='$CPP $CPPFLAGS'
21250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
21259 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
21261 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
21262 for ac_func in fabsf
21263 do :
21264 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
21265 if test "x$ac_cv_func_fabsf" = x""yes; then :
21266 cat >>confdefs.h <<_ACEOF
21267 #define HAVE_FABSF 1
21268 _ACEOF
21271 done
21273 else
21275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
21276 $as_echo_n "checking for _fabsf declaration... " >&6; }
21277 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
21278 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
21279 $as_echo_n "(cached) " >&6
21280 else
21283 ac_ext=cpp
21284 ac_cpp='$CXXCPP $CPPFLAGS'
21285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21290 /* end confdefs.h. */
21291 #include <math.h>
21292 #ifdef HAVE_IEEEFP_H
21293 #include <ieeefp.h>
21294 #endif
21297 main ()
21299 _fabsf(0);
21301 return 0;
21303 _ACEOF
21304 if ac_fn_cxx_try_compile "$LINENO"; then :
21305 glibcxx_cv_func__fabsf_use=yes
21306 else
21307 glibcxx_cv_func__fabsf_use=no
21309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21310 ac_ext=c
21311 ac_cpp='$CPP $CPPFLAGS'
21312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
21321 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
21323 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
21324 for ac_func in _fabsf
21325 do :
21326 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
21327 if test "x$ac_cv_func__fabsf" = x""yes; then :
21328 cat >>confdefs.h <<_ACEOF
21329 #define HAVE__FABSF 1
21330 _ACEOF
21333 done
21342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
21343 $as_echo_n "checking for fmodf declaration... " >&6; }
21344 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
21345 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
21346 $as_echo_n "(cached) " >&6
21347 else
21350 ac_ext=cpp
21351 ac_cpp='$CXXCPP $CPPFLAGS'
21352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21357 /* end confdefs.h. */
21358 #include <math.h>
21360 main ()
21362 fmodf(0, 0);
21364 return 0;
21366 _ACEOF
21367 if ac_fn_cxx_try_compile "$LINENO"; then :
21368 glibcxx_cv_func_fmodf_use=yes
21369 else
21370 glibcxx_cv_func_fmodf_use=no
21372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21373 ac_ext=c
21374 ac_cpp='$CPP $CPPFLAGS'
21375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
21384 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
21386 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
21387 for ac_func in fmodf
21388 do :
21389 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
21390 if test "x$ac_cv_func_fmodf" = x""yes; then :
21391 cat >>confdefs.h <<_ACEOF
21392 #define HAVE_FMODF 1
21393 _ACEOF
21396 done
21398 else
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
21401 $as_echo_n "checking for _fmodf declaration... " >&6; }
21402 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
21403 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
21404 $as_echo_n "(cached) " >&6
21405 else
21408 ac_ext=cpp
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21415 /* end confdefs.h. */
21416 #include <math.h>
21418 main ()
21420 _fmodf(0, 0);
21422 return 0;
21424 _ACEOF
21425 if ac_fn_cxx_try_compile "$LINENO"; then :
21426 glibcxx_cv_func__fmodf_use=yes
21427 else
21428 glibcxx_cv_func__fmodf_use=no
21430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21431 ac_ext=c
21432 ac_cpp='$CPP $CPPFLAGS'
21433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
21442 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
21444 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
21445 for ac_func in _fmodf
21446 do :
21447 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
21448 if test "x$ac_cv_func__fmodf" = x""yes; then :
21449 cat >>confdefs.h <<_ACEOF
21450 #define HAVE__FMODF 1
21451 _ACEOF
21454 done
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
21464 $as_echo_n "checking for frexpf declaration... " >&6; }
21465 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
21466 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
21467 $as_echo_n "(cached) " >&6
21468 else
21471 ac_ext=cpp
21472 ac_cpp='$CXXCPP $CPPFLAGS'
21473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21479 #include <math.h>
21481 main ()
21483 frexpf(0, 0);
21485 return 0;
21487 _ACEOF
21488 if ac_fn_cxx_try_compile "$LINENO"; then :
21489 glibcxx_cv_func_frexpf_use=yes
21490 else
21491 glibcxx_cv_func_frexpf_use=no
21493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21494 ac_ext=c
21495 ac_cpp='$CPP $CPPFLAGS'
21496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
21505 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
21507 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
21508 for ac_func in frexpf
21509 do :
21510 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
21511 if test "x$ac_cv_func_frexpf" = x""yes; then :
21512 cat >>confdefs.h <<_ACEOF
21513 #define HAVE_FREXPF 1
21514 _ACEOF
21517 done
21519 else
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
21522 $as_echo_n "checking for _frexpf declaration... " >&6; }
21523 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
21524 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
21525 $as_echo_n "(cached) " >&6
21526 else
21529 ac_ext=cpp
21530 ac_cpp='$CXXCPP $CPPFLAGS'
21531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21536 /* end confdefs.h. */
21537 #include <math.h>
21539 main ()
21541 _frexpf(0, 0);
21543 return 0;
21545 _ACEOF
21546 if ac_fn_cxx_try_compile "$LINENO"; then :
21547 glibcxx_cv_func__frexpf_use=yes
21548 else
21549 glibcxx_cv_func__frexpf_use=no
21551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21552 ac_ext=c
21553 ac_cpp='$CPP $CPPFLAGS'
21554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
21563 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
21565 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
21566 for ac_func in _frexpf
21567 do :
21568 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
21569 if test "x$ac_cv_func__frexpf" = x""yes; then :
21570 cat >>confdefs.h <<_ACEOF
21571 #define HAVE__FREXPF 1
21572 _ACEOF
21575 done
21584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
21585 $as_echo_n "checking for hypotf declaration... " >&6; }
21586 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
21587 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
21588 $as_echo_n "(cached) " >&6
21589 else
21592 ac_ext=cpp
21593 ac_cpp='$CXXCPP $CPPFLAGS'
21594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21599 /* end confdefs.h. */
21600 #include <math.h>
21602 main ()
21604 hypotf(0, 0);
21606 return 0;
21608 _ACEOF
21609 if ac_fn_cxx_try_compile "$LINENO"; then :
21610 glibcxx_cv_func_hypotf_use=yes
21611 else
21612 glibcxx_cv_func_hypotf_use=no
21614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21615 ac_ext=c
21616 ac_cpp='$CPP $CPPFLAGS'
21617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
21626 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
21628 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
21629 for ac_func in hypotf
21630 do :
21631 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
21632 if test "x$ac_cv_func_hypotf" = x""yes; then :
21633 cat >>confdefs.h <<_ACEOF
21634 #define HAVE_HYPOTF 1
21635 _ACEOF
21638 done
21640 else
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
21643 $as_echo_n "checking for _hypotf declaration... " >&6; }
21644 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
21645 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
21646 $as_echo_n "(cached) " >&6
21647 else
21650 ac_ext=cpp
21651 ac_cpp='$CXXCPP $CPPFLAGS'
21652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21657 /* end confdefs.h. */
21658 #include <math.h>
21660 main ()
21662 _hypotf(0, 0);
21664 return 0;
21666 _ACEOF
21667 if ac_fn_cxx_try_compile "$LINENO"; then :
21668 glibcxx_cv_func__hypotf_use=yes
21669 else
21670 glibcxx_cv_func__hypotf_use=no
21672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673 ac_ext=c
21674 ac_cpp='$CPP $CPPFLAGS'
21675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
21684 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
21686 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
21687 for ac_func in _hypotf
21688 do :
21689 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
21690 if test "x$ac_cv_func__hypotf" = x""yes; then :
21691 cat >>confdefs.h <<_ACEOF
21692 #define HAVE__HYPOTF 1
21693 _ACEOF
21696 done
21705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
21706 $as_echo_n "checking for ldexpf declaration... " >&6; }
21707 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
21708 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
21709 $as_echo_n "(cached) " >&6
21710 else
21713 ac_ext=cpp
21714 ac_cpp='$CXXCPP $CPPFLAGS'
21715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21720 /* end confdefs.h. */
21721 #include <math.h>
21723 main ()
21725 ldexpf(0, 0);
21727 return 0;
21729 _ACEOF
21730 if ac_fn_cxx_try_compile "$LINENO"; then :
21731 glibcxx_cv_func_ldexpf_use=yes
21732 else
21733 glibcxx_cv_func_ldexpf_use=no
21735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21736 ac_ext=c
21737 ac_cpp='$CPP $CPPFLAGS'
21738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
21747 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
21749 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
21750 for ac_func in ldexpf
21751 do :
21752 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
21753 if test "x$ac_cv_func_ldexpf" = x""yes; then :
21754 cat >>confdefs.h <<_ACEOF
21755 #define HAVE_LDEXPF 1
21756 _ACEOF
21759 done
21761 else
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
21764 $as_echo_n "checking for _ldexpf declaration... " >&6; }
21765 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
21766 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
21767 $as_echo_n "(cached) " >&6
21768 else
21771 ac_ext=cpp
21772 ac_cpp='$CXXCPP $CPPFLAGS'
21773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21778 /* end confdefs.h. */
21779 #include <math.h>
21781 main ()
21783 _ldexpf(0, 0);
21785 return 0;
21787 _ACEOF
21788 if ac_fn_cxx_try_compile "$LINENO"; then :
21789 glibcxx_cv_func__ldexpf_use=yes
21790 else
21791 glibcxx_cv_func__ldexpf_use=no
21793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21794 ac_ext=c
21795 ac_cpp='$CPP $CPPFLAGS'
21796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
21805 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
21807 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
21808 for ac_func in _ldexpf
21809 do :
21810 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
21811 if test "x$ac_cv_func__ldexpf" = x""yes; then :
21812 cat >>confdefs.h <<_ACEOF
21813 #define HAVE__LDEXPF 1
21814 _ACEOF
21817 done
21826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
21827 $as_echo_n "checking for logf declaration... " >&6; }
21828 if test x${glibcxx_cv_func_logf_use+set} != xset; then
21829 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
21830 $as_echo_n "(cached) " >&6
21831 else
21834 ac_ext=cpp
21835 ac_cpp='$CXXCPP $CPPFLAGS'
21836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21841 /* end confdefs.h. */
21842 #include <math.h>
21843 #ifdef HAVE_IEEEFP_H
21844 #include <ieeefp.h>
21845 #endif
21848 main ()
21850 logf(0);
21852 return 0;
21854 _ACEOF
21855 if ac_fn_cxx_try_compile "$LINENO"; then :
21856 glibcxx_cv_func_logf_use=yes
21857 else
21858 glibcxx_cv_func_logf_use=no
21860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21861 ac_ext=c
21862 ac_cpp='$CPP $CPPFLAGS'
21863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
21872 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
21874 if test x$glibcxx_cv_func_logf_use = x"yes"; then
21875 for ac_func in logf
21876 do :
21877 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
21878 if test "x$ac_cv_func_logf" = x""yes; then :
21879 cat >>confdefs.h <<_ACEOF
21880 #define HAVE_LOGF 1
21881 _ACEOF
21884 done
21886 else
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
21889 $as_echo_n "checking for _logf declaration... " >&6; }
21890 if test x${glibcxx_cv_func__logf_use+set} != xset; then
21891 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
21892 $as_echo_n "(cached) " >&6
21893 else
21896 ac_ext=cpp
21897 ac_cpp='$CXXCPP $CPPFLAGS'
21898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21903 /* end confdefs.h. */
21904 #include <math.h>
21905 #ifdef HAVE_IEEEFP_H
21906 #include <ieeefp.h>
21907 #endif
21910 main ()
21912 _logf(0);
21914 return 0;
21916 _ACEOF
21917 if ac_fn_cxx_try_compile "$LINENO"; then :
21918 glibcxx_cv_func__logf_use=yes
21919 else
21920 glibcxx_cv_func__logf_use=no
21922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21923 ac_ext=c
21924 ac_cpp='$CPP $CPPFLAGS'
21925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
21934 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
21936 if test x$glibcxx_cv_func__logf_use = x"yes"; then
21937 for ac_func in _logf
21938 do :
21939 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
21940 if test "x$ac_cv_func__logf" = x""yes; then :
21941 cat >>confdefs.h <<_ACEOF
21942 #define HAVE__LOGF 1
21943 _ACEOF
21946 done
21955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
21956 $as_echo_n "checking for log10f declaration... " >&6; }
21957 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
21958 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
21959 $as_echo_n "(cached) " >&6
21960 else
21963 ac_ext=cpp
21964 ac_cpp='$CXXCPP $CPPFLAGS'
21965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970 /* end confdefs.h. */
21971 #include <math.h>
21972 #ifdef HAVE_IEEEFP_H
21973 #include <ieeefp.h>
21974 #endif
21977 main ()
21979 log10f(0);
21981 return 0;
21983 _ACEOF
21984 if ac_fn_cxx_try_compile "$LINENO"; then :
21985 glibcxx_cv_func_log10f_use=yes
21986 else
21987 glibcxx_cv_func_log10f_use=no
21989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21990 ac_ext=c
21991 ac_cpp='$CPP $CPPFLAGS'
21992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22001 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22003 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22004 for ac_func in log10f
22005 do :
22006 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
22007 if test "x$ac_cv_func_log10f" = x""yes; then :
22008 cat >>confdefs.h <<_ACEOF
22009 #define HAVE_LOG10F 1
22010 _ACEOF
22013 done
22015 else
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
22018 $as_echo_n "checking for _log10f declaration... " >&6; }
22019 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
22020 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
22021 $as_echo_n "(cached) " >&6
22022 else
22025 ac_ext=cpp
22026 ac_cpp='$CXXCPP $CPPFLAGS'
22027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22032 /* end confdefs.h. */
22033 #include <math.h>
22034 #ifdef HAVE_IEEEFP_H
22035 #include <ieeefp.h>
22036 #endif
22039 main ()
22041 _log10f(0);
22043 return 0;
22045 _ACEOF
22046 if ac_fn_cxx_try_compile "$LINENO"; then :
22047 glibcxx_cv_func__log10f_use=yes
22048 else
22049 glibcxx_cv_func__log10f_use=no
22051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22052 ac_ext=c
22053 ac_cpp='$CPP $CPPFLAGS'
22054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
22063 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
22065 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
22066 for ac_func in _log10f
22067 do :
22068 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
22069 if test "x$ac_cv_func__log10f" = x""yes; then :
22070 cat >>confdefs.h <<_ACEOF
22071 #define HAVE__LOG10F 1
22072 _ACEOF
22075 done
22084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
22085 $as_echo_n "checking for modff declaration... " >&6; }
22086 if test x${glibcxx_cv_func_modff_use+set} != xset; then
22087 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
22088 $as_echo_n "(cached) " >&6
22089 else
22092 ac_ext=cpp
22093 ac_cpp='$CXXCPP $CPPFLAGS'
22094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22099 /* end confdefs.h. */
22100 #include <math.h>
22102 main ()
22104 modff(0, 0);
22106 return 0;
22108 _ACEOF
22109 if ac_fn_cxx_try_compile "$LINENO"; then :
22110 glibcxx_cv_func_modff_use=yes
22111 else
22112 glibcxx_cv_func_modff_use=no
22114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22115 ac_ext=c
22116 ac_cpp='$CPP $CPPFLAGS'
22117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
22126 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
22128 if test x$glibcxx_cv_func_modff_use = x"yes"; then
22129 for ac_func in modff
22130 do :
22131 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
22132 if test "x$ac_cv_func_modff" = x""yes; then :
22133 cat >>confdefs.h <<_ACEOF
22134 #define HAVE_MODFF 1
22135 _ACEOF
22138 done
22140 else
22142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
22143 $as_echo_n "checking for _modff declaration... " >&6; }
22144 if test x${glibcxx_cv_func__modff_use+set} != xset; then
22145 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
22146 $as_echo_n "(cached) " >&6
22147 else
22150 ac_ext=cpp
22151 ac_cpp='$CXXCPP $CPPFLAGS'
22152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22157 /* end confdefs.h. */
22158 #include <math.h>
22160 main ()
22162 _modff(0, 0);
22164 return 0;
22166 _ACEOF
22167 if ac_fn_cxx_try_compile "$LINENO"; then :
22168 glibcxx_cv_func__modff_use=yes
22169 else
22170 glibcxx_cv_func__modff_use=no
22172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22173 ac_ext=c
22174 ac_cpp='$CPP $CPPFLAGS'
22175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
22184 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
22186 if test x$glibcxx_cv_func__modff_use = x"yes"; then
22187 for ac_func in _modff
22188 do :
22189 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
22190 if test "x$ac_cv_func__modff" = x""yes; then :
22191 cat >>confdefs.h <<_ACEOF
22192 #define HAVE__MODFF 1
22193 _ACEOF
22196 done
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
22206 $as_echo_n "checking for modf declaration... " >&6; }
22207 if test x${glibcxx_cv_func_modf_use+set} != xset; then
22208 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
22209 $as_echo_n "(cached) " >&6
22210 else
22213 ac_ext=cpp
22214 ac_cpp='$CXXCPP $CPPFLAGS'
22215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22220 /* end confdefs.h. */
22221 #include <math.h>
22223 main ()
22225 modf(0, 0);
22227 return 0;
22229 _ACEOF
22230 if ac_fn_cxx_try_compile "$LINENO"; then :
22231 glibcxx_cv_func_modf_use=yes
22232 else
22233 glibcxx_cv_func_modf_use=no
22235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22236 ac_ext=c
22237 ac_cpp='$CPP $CPPFLAGS'
22238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
22247 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
22249 if test x$glibcxx_cv_func_modf_use = x"yes"; then
22250 for ac_func in modf
22251 do :
22252 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
22253 if test "x$ac_cv_func_modf" = x""yes; then :
22254 cat >>confdefs.h <<_ACEOF
22255 #define HAVE_MODF 1
22256 _ACEOF
22259 done
22261 else
22263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
22264 $as_echo_n "checking for _modf declaration... " >&6; }
22265 if test x${glibcxx_cv_func__modf_use+set} != xset; then
22266 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
22267 $as_echo_n "(cached) " >&6
22268 else
22271 ac_ext=cpp
22272 ac_cpp='$CXXCPP $CPPFLAGS'
22273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22278 /* end confdefs.h. */
22279 #include <math.h>
22281 main ()
22283 _modf(0, 0);
22285 return 0;
22287 _ACEOF
22288 if ac_fn_cxx_try_compile "$LINENO"; then :
22289 glibcxx_cv_func__modf_use=yes
22290 else
22291 glibcxx_cv_func__modf_use=no
22293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22294 ac_ext=c
22295 ac_cpp='$CPP $CPPFLAGS'
22296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
22305 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
22307 if test x$glibcxx_cv_func__modf_use = x"yes"; then
22308 for ac_func in _modf
22309 do :
22310 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
22311 if test "x$ac_cv_func__modf" = x""yes; then :
22312 cat >>confdefs.h <<_ACEOF
22313 #define HAVE__MODF 1
22314 _ACEOF
22317 done
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
22327 $as_echo_n "checking for powf declaration... " >&6; }
22328 if test x${glibcxx_cv_func_powf_use+set} != xset; then
22329 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
22330 $as_echo_n "(cached) " >&6
22331 else
22334 ac_ext=cpp
22335 ac_cpp='$CXXCPP $CPPFLAGS'
22336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22341 /* end confdefs.h. */
22342 #include <math.h>
22344 main ()
22346 powf(0, 0);
22348 return 0;
22350 _ACEOF
22351 if ac_fn_cxx_try_compile "$LINENO"; then :
22352 glibcxx_cv_func_powf_use=yes
22353 else
22354 glibcxx_cv_func_powf_use=no
22356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22357 ac_ext=c
22358 ac_cpp='$CPP $CPPFLAGS'
22359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
22368 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
22370 if test x$glibcxx_cv_func_powf_use = x"yes"; then
22371 for ac_func in powf
22372 do :
22373 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
22374 if test "x$ac_cv_func_powf" = x""yes; then :
22375 cat >>confdefs.h <<_ACEOF
22376 #define HAVE_POWF 1
22377 _ACEOF
22380 done
22382 else
22384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
22385 $as_echo_n "checking for _powf declaration... " >&6; }
22386 if test x${glibcxx_cv_func__powf_use+set} != xset; then
22387 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
22388 $as_echo_n "(cached) " >&6
22389 else
22392 ac_ext=cpp
22393 ac_cpp='$CXXCPP $CPPFLAGS'
22394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22399 /* end confdefs.h. */
22400 #include <math.h>
22402 main ()
22404 _powf(0, 0);
22406 return 0;
22408 _ACEOF
22409 if ac_fn_cxx_try_compile "$LINENO"; then :
22410 glibcxx_cv_func__powf_use=yes
22411 else
22412 glibcxx_cv_func__powf_use=no
22414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22415 ac_ext=c
22416 ac_cpp='$CPP $CPPFLAGS'
22417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
22426 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
22428 if test x$glibcxx_cv_func__powf_use = x"yes"; then
22429 for ac_func in _powf
22430 do :
22431 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
22432 if test "x$ac_cv_func__powf" = x""yes; then :
22433 cat >>confdefs.h <<_ACEOF
22434 #define HAVE__POWF 1
22435 _ACEOF
22438 done
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
22448 $as_echo_n "checking for sqrtf declaration... " >&6; }
22449 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
22450 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
22451 $as_echo_n "(cached) " >&6
22452 else
22455 ac_ext=cpp
22456 ac_cpp='$CXXCPP $CPPFLAGS'
22457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22462 /* end confdefs.h. */
22463 #include <math.h>
22464 #ifdef HAVE_IEEEFP_H
22465 #include <ieeefp.h>
22466 #endif
22469 main ()
22471 sqrtf(0);
22473 return 0;
22475 _ACEOF
22476 if ac_fn_cxx_try_compile "$LINENO"; then :
22477 glibcxx_cv_func_sqrtf_use=yes
22478 else
22479 glibcxx_cv_func_sqrtf_use=no
22481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22482 ac_ext=c
22483 ac_cpp='$CPP $CPPFLAGS'
22484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
22493 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
22495 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
22496 for ac_func in sqrtf
22497 do :
22498 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
22499 if test "x$ac_cv_func_sqrtf" = x""yes; then :
22500 cat >>confdefs.h <<_ACEOF
22501 #define HAVE_SQRTF 1
22502 _ACEOF
22505 done
22507 else
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
22510 $as_echo_n "checking for _sqrtf declaration... " >&6; }
22511 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
22512 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
22513 $as_echo_n "(cached) " >&6
22514 else
22517 ac_ext=cpp
22518 ac_cpp='$CXXCPP $CPPFLAGS'
22519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22524 /* end confdefs.h. */
22525 #include <math.h>
22526 #ifdef HAVE_IEEEFP_H
22527 #include <ieeefp.h>
22528 #endif
22531 main ()
22533 _sqrtf(0);
22535 return 0;
22537 _ACEOF
22538 if ac_fn_cxx_try_compile "$LINENO"; then :
22539 glibcxx_cv_func__sqrtf_use=yes
22540 else
22541 glibcxx_cv_func__sqrtf_use=no
22543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22544 ac_ext=c
22545 ac_cpp='$CPP $CPPFLAGS'
22546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
22555 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
22557 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
22558 for ac_func in _sqrtf
22559 do :
22560 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
22561 if test "x$ac_cv_func__sqrtf" = x""yes; then :
22562 cat >>confdefs.h <<_ACEOF
22563 #define HAVE__SQRTF 1
22564 _ACEOF
22567 done
22576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
22577 $as_echo_n "checking for sincosf declaration... " >&6; }
22578 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
22579 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
22580 $as_echo_n "(cached) " >&6
22581 else
22584 ac_ext=cpp
22585 ac_cpp='$CXXCPP $CPPFLAGS'
22586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22591 /* end confdefs.h. */
22592 #include <math.h>
22594 main ()
22596 sincosf(0, 0, 0);
22598 return 0;
22600 _ACEOF
22601 if ac_fn_cxx_try_compile "$LINENO"; then :
22602 glibcxx_cv_func_sincosf_use=yes
22603 else
22604 glibcxx_cv_func_sincosf_use=no
22606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22607 ac_ext=c
22608 ac_cpp='$CPP $CPPFLAGS'
22609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
22618 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
22620 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
22621 for ac_func in sincosf
22622 do :
22623 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
22624 if test "x$ac_cv_func_sincosf" = x""yes; then :
22625 cat >>confdefs.h <<_ACEOF
22626 #define HAVE_SINCOSF 1
22627 _ACEOF
22630 done
22632 else
22634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
22635 $as_echo_n "checking for _sincosf declaration... " >&6; }
22636 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
22637 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
22638 $as_echo_n "(cached) " >&6
22639 else
22642 ac_ext=cpp
22643 ac_cpp='$CXXCPP $CPPFLAGS'
22644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22649 /* end confdefs.h. */
22650 #include <math.h>
22652 main ()
22654 _sincosf(0, 0, 0);
22656 return 0;
22658 _ACEOF
22659 if ac_fn_cxx_try_compile "$LINENO"; then :
22660 glibcxx_cv_func__sincosf_use=yes
22661 else
22662 glibcxx_cv_func__sincosf_use=no
22664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22665 ac_ext=c
22666 ac_cpp='$CPP $CPPFLAGS'
22667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
22676 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
22678 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
22679 for ac_func in _sincosf
22680 do :
22681 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
22682 if test "x$ac_cv_func__sincosf" = x""yes; then :
22683 cat >>confdefs.h <<_ACEOF
22684 #define HAVE__SINCOSF 1
22685 _ACEOF
22688 done
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
22698 $as_echo_n "checking for finitef declaration... " >&6; }
22699 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
22700 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
22701 $as_echo_n "(cached) " >&6
22702 else
22705 ac_ext=cpp
22706 ac_cpp='$CXXCPP $CPPFLAGS'
22707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22712 /* end confdefs.h. */
22713 #include <math.h>
22714 #ifdef HAVE_IEEEFP_H
22715 #include <ieeefp.h>
22716 #endif
22719 main ()
22721 finitef(0);
22723 return 0;
22725 _ACEOF
22726 if ac_fn_cxx_try_compile "$LINENO"; then :
22727 glibcxx_cv_func_finitef_use=yes
22728 else
22729 glibcxx_cv_func_finitef_use=no
22731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22732 ac_ext=c
22733 ac_cpp='$CPP $CPPFLAGS'
22734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
22743 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
22745 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
22746 for ac_func in finitef
22747 do :
22748 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
22749 if test "x$ac_cv_func_finitef" = x""yes; then :
22750 cat >>confdefs.h <<_ACEOF
22751 #define HAVE_FINITEF 1
22752 _ACEOF
22755 done
22757 else
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
22760 $as_echo_n "checking for _finitef declaration... " >&6; }
22761 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
22762 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
22763 $as_echo_n "(cached) " >&6
22764 else
22767 ac_ext=cpp
22768 ac_cpp='$CXXCPP $CPPFLAGS'
22769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22774 /* end confdefs.h. */
22775 #include <math.h>
22776 #ifdef HAVE_IEEEFP_H
22777 #include <ieeefp.h>
22778 #endif
22781 main ()
22783 _finitef(0);
22785 return 0;
22787 _ACEOF
22788 if ac_fn_cxx_try_compile "$LINENO"; then :
22789 glibcxx_cv_func__finitef_use=yes
22790 else
22791 glibcxx_cv_func__finitef_use=no
22793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22794 ac_ext=c
22795 ac_cpp='$CPP $CPPFLAGS'
22796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
22805 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
22807 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
22808 for ac_func in _finitef
22809 do :
22810 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
22811 if test "x$ac_cv_func__finitef" = x""yes; then :
22812 cat >>confdefs.h <<_ACEOF
22813 #define HAVE__FINITEF 1
22814 _ACEOF
22817 done
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
22827 $as_echo_n "checking for long double trig functions... " >&6; }
22828 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
22829 $as_echo_n "(cached) " >&6
22830 else
22833 ac_ext=cpp
22834 ac_cpp='$CXXCPP $CPPFLAGS'
22835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22840 /* end confdefs.h. */
22841 #include <math.h>
22843 main ()
22845 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
22847 return 0;
22849 _ACEOF
22850 if ac_fn_cxx_try_compile "$LINENO"; then :
22851 glibcxx_cv_func_long_double_trig_use=yes
22852 else
22853 glibcxx_cv_func_long_double_trig_use=no
22855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22856 ac_ext=c
22857 ac_cpp='$CPP $CPPFLAGS'
22858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
22865 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
22866 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
22867 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
22868 do :
22869 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22870 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22871 eval as_val=\$$as_ac_var
22872 if test "x$as_val" = x""yes; then :
22873 cat >>confdefs.h <<_ACEOF
22874 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22875 _ACEOF
22878 done
22880 else
22881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
22882 $as_echo_n "checking for _long double trig functions... " >&6; }
22883 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
22884 $as_echo_n "(cached) " >&6
22885 else
22888 ac_ext=cpp
22889 ac_cpp='$CXXCPP $CPPFLAGS'
22890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22895 /* end confdefs.h. */
22896 #include <math.h>
22898 main ()
22900 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
22902 return 0;
22904 _ACEOF
22905 if ac_fn_cxx_try_compile "$LINENO"; then :
22906 glibcxx_cv_func__long_double_trig_use=yes
22907 else
22908 glibcxx_cv_func__long_double_trig_use=no
22910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22911 ac_ext=c
22912 ac_cpp='$CPP $CPPFLAGS'
22913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
22920 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
22921 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
22922 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
22923 do :
22924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22926 eval as_val=\$$as_ac_var
22927 if test "x$as_val" = x""yes; then :
22928 cat >>confdefs.h <<_ACEOF
22929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22930 _ACEOF
22933 done
22942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
22943 $as_echo_n "checking for long double round functions... " >&6; }
22944 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
22945 $as_echo_n "(cached) " >&6
22946 else
22949 ac_ext=cpp
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22956 /* end confdefs.h. */
22957 #include <math.h>
22959 main ()
22961 ceill (0); floorl (0);
22963 return 0;
22965 _ACEOF
22966 if ac_fn_cxx_try_compile "$LINENO"; then :
22967 glibcxx_cv_func_long_double_round_use=yes
22968 else
22969 glibcxx_cv_func_long_double_round_use=no
22971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22972 ac_ext=c
22973 ac_cpp='$CPP $CPPFLAGS'
22974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
22981 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
22982 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
22983 for ac_func in ceill floorl
22984 do :
22985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22987 eval as_val=\$$as_ac_var
22988 if test "x$as_val" = x""yes; then :
22989 cat >>confdefs.h <<_ACEOF
22990 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22991 _ACEOF
22994 done
22996 else
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
22998 $as_echo_n "checking for _long double round functions... " >&6; }
22999 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23000 $as_echo_n "(cached) " >&6
23001 else
23004 ac_ext=cpp
23005 ac_cpp='$CXXCPP $CPPFLAGS'
23006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23011 /* end confdefs.h. */
23012 #include <math.h>
23014 main ()
23016 _ceill (0); _floorl (0);
23018 return 0;
23020 _ACEOF
23021 if ac_fn_cxx_try_compile "$LINENO"; then :
23022 glibcxx_cv_func__long_double_round_use=yes
23023 else
23024 glibcxx_cv_func__long_double_round_use=no
23026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23027 ac_ext=c
23028 ac_cpp='$CPP $CPPFLAGS'
23029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
23036 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
23037 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
23038 for ac_func in _ceill _floorl
23039 do :
23040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23042 eval as_val=\$$as_ac_var
23043 if test "x$as_val" = x""yes; then :
23044 cat >>confdefs.h <<_ACEOF
23045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23046 _ACEOF
23049 done
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
23060 $as_echo_n "checking for isnanl declaration... " >&6; }
23061 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
23062 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
23063 $as_echo_n "(cached) " >&6
23064 else
23067 ac_ext=cpp
23068 ac_cpp='$CXXCPP $CPPFLAGS'
23069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23074 /* end confdefs.h. */
23075 #include <math.h>
23076 #ifdef HAVE_IEEEFP_H
23077 #include <ieeefp.h>
23078 #endif
23081 main ()
23083 isnanl(0);
23085 return 0;
23087 _ACEOF
23088 if ac_fn_cxx_try_compile "$LINENO"; then :
23089 glibcxx_cv_func_isnanl_use=yes
23090 else
23091 glibcxx_cv_func_isnanl_use=no
23093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23094 ac_ext=c
23095 ac_cpp='$CPP $CPPFLAGS'
23096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
23105 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
23107 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
23108 for ac_func in isnanl
23109 do :
23110 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
23111 if test "x$ac_cv_func_isnanl" = x""yes; then :
23112 cat >>confdefs.h <<_ACEOF
23113 #define HAVE_ISNANL 1
23114 _ACEOF
23117 done
23119 else
23121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
23122 $as_echo_n "checking for _isnanl declaration... " >&6; }
23123 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
23124 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
23125 $as_echo_n "(cached) " >&6
23126 else
23129 ac_ext=cpp
23130 ac_cpp='$CXXCPP $CPPFLAGS'
23131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23136 /* end confdefs.h. */
23137 #include <math.h>
23138 #ifdef HAVE_IEEEFP_H
23139 #include <ieeefp.h>
23140 #endif
23143 main ()
23145 _isnanl(0);
23147 return 0;
23149 _ACEOF
23150 if ac_fn_cxx_try_compile "$LINENO"; then :
23151 glibcxx_cv_func__isnanl_use=yes
23152 else
23153 glibcxx_cv_func__isnanl_use=no
23155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23156 ac_ext=c
23157 ac_cpp='$CPP $CPPFLAGS'
23158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
23167 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
23169 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
23170 for ac_func in _isnanl
23171 do :
23172 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
23173 if test "x$ac_cv_func__isnanl" = x""yes; then :
23174 cat >>confdefs.h <<_ACEOF
23175 #define HAVE__ISNANL 1
23176 _ACEOF
23179 done
23188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
23189 $as_echo_n "checking for isinfl declaration... " >&6; }
23190 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
23191 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
23192 $as_echo_n "(cached) " >&6
23193 else
23196 ac_ext=cpp
23197 ac_cpp='$CXXCPP $CPPFLAGS'
23198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23203 /* end confdefs.h. */
23204 #include <math.h>
23205 #ifdef HAVE_IEEEFP_H
23206 #include <ieeefp.h>
23207 #endif
23210 main ()
23212 isinfl(0);
23214 return 0;
23216 _ACEOF
23217 if ac_fn_cxx_try_compile "$LINENO"; then :
23218 glibcxx_cv_func_isinfl_use=yes
23219 else
23220 glibcxx_cv_func_isinfl_use=no
23222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23223 ac_ext=c
23224 ac_cpp='$CPP $CPPFLAGS'
23225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
23234 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
23236 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
23237 for ac_func in isinfl
23238 do :
23239 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
23240 if test "x$ac_cv_func_isinfl" = x""yes; then :
23241 cat >>confdefs.h <<_ACEOF
23242 #define HAVE_ISINFL 1
23243 _ACEOF
23246 done
23248 else
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
23251 $as_echo_n "checking for _isinfl declaration... " >&6; }
23252 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
23253 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
23254 $as_echo_n "(cached) " >&6
23255 else
23258 ac_ext=cpp
23259 ac_cpp='$CXXCPP $CPPFLAGS'
23260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23265 /* end confdefs.h. */
23266 #include <math.h>
23267 #ifdef HAVE_IEEEFP_H
23268 #include <ieeefp.h>
23269 #endif
23272 main ()
23274 _isinfl(0);
23276 return 0;
23278 _ACEOF
23279 if ac_fn_cxx_try_compile "$LINENO"; then :
23280 glibcxx_cv_func__isinfl_use=yes
23281 else
23282 glibcxx_cv_func__isinfl_use=no
23284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23285 ac_ext=c
23286 ac_cpp='$CPP $CPPFLAGS'
23287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
23296 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
23298 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
23299 for ac_func in _isinfl
23300 do :
23301 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
23302 if test "x$ac_cv_func__isinfl" = x""yes; then :
23303 cat >>confdefs.h <<_ACEOF
23304 #define HAVE__ISINFL 1
23305 _ACEOF
23308 done
23317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
23318 $as_echo_n "checking for atan2l declaration... " >&6; }
23319 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
23320 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
23321 $as_echo_n "(cached) " >&6
23322 else
23325 ac_ext=cpp
23326 ac_cpp='$CXXCPP $CPPFLAGS'
23327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23332 /* end confdefs.h. */
23333 #include <math.h>
23335 main ()
23337 atan2l(0, 0);
23339 return 0;
23341 _ACEOF
23342 if ac_fn_cxx_try_compile "$LINENO"; then :
23343 glibcxx_cv_func_atan2l_use=yes
23344 else
23345 glibcxx_cv_func_atan2l_use=no
23347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23348 ac_ext=c
23349 ac_cpp='$CPP $CPPFLAGS'
23350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
23359 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
23361 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
23362 for ac_func in atan2l
23363 do :
23364 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
23365 if test "x$ac_cv_func_atan2l" = x""yes; then :
23366 cat >>confdefs.h <<_ACEOF
23367 #define HAVE_ATAN2L 1
23368 _ACEOF
23371 done
23373 else
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
23376 $as_echo_n "checking for _atan2l declaration... " >&6; }
23377 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
23378 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
23379 $as_echo_n "(cached) " >&6
23380 else
23383 ac_ext=cpp
23384 ac_cpp='$CXXCPP $CPPFLAGS'
23385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23390 /* end confdefs.h. */
23391 #include <math.h>
23393 main ()
23395 _atan2l(0, 0);
23397 return 0;
23399 _ACEOF
23400 if ac_fn_cxx_try_compile "$LINENO"; then :
23401 glibcxx_cv_func__atan2l_use=yes
23402 else
23403 glibcxx_cv_func__atan2l_use=no
23405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23406 ac_ext=c
23407 ac_cpp='$CPP $CPPFLAGS'
23408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
23417 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
23419 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
23420 for ac_func in _atan2l
23421 do :
23422 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
23423 if test "x$ac_cv_func__atan2l" = x""yes; then :
23424 cat >>confdefs.h <<_ACEOF
23425 #define HAVE__ATAN2L 1
23426 _ACEOF
23429 done
23438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
23439 $as_echo_n "checking for expl declaration... " >&6; }
23440 if test x${glibcxx_cv_func_expl_use+set} != xset; then
23441 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
23442 $as_echo_n "(cached) " >&6
23443 else
23446 ac_ext=cpp
23447 ac_cpp='$CXXCPP $CPPFLAGS'
23448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23453 /* end confdefs.h. */
23454 #include <math.h>
23455 #ifdef HAVE_IEEEFP_H
23456 #include <ieeefp.h>
23457 #endif
23460 main ()
23462 expl(0);
23464 return 0;
23466 _ACEOF
23467 if ac_fn_cxx_try_compile "$LINENO"; then :
23468 glibcxx_cv_func_expl_use=yes
23469 else
23470 glibcxx_cv_func_expl_use=no
23472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23473 ac_ext=c
23474 ac_cpp='$CPP $CPPFLAGS'
23475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
23484 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
23486 if test x$glibcxx_cv_func_expl_use = x"yes"; then
23487 for ac_func in expl
23488 do :
23489 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
23490 if test "x$ac_cv_func_expl" = x""yes; then :
23491 cat >>confdefs.h <<_ACEOF
23492 #define HAVE_EXPL 1
23493 _ACEOF
23496 done
23498 else
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
23501 $as_echo_n "checking for _expl declaration... " >&6; }
23502 if test x${glibcxx_cv_func__expl_use+set} != xset; then
23503 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
23504 $as_echo_n "(cached) " >&6
23505 else
23508 ac_ext=cpp
23509 ac_cpp='$CXXCPP $CPPFLAGS'
23510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23515 /* end confdefs.h. */
23516 #include <math.h>
23517 #ifdef HAVE_IEEEFP_H
23518 #include <ieeefp.h>
23519 #endif
23522 main ()
23524 _expl(0);
23526 return 0;
23528 _ACEOF
23529 if ac_fn_cxx_try_compile "$LINENO"; then :
23530 glibcxx_cv_func__expl_use=yes
23531 else
23532 glibcxx_cv_func__expl_use=no
23534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23535 ac_ext=c
23536 ac_cpp='$CPP $CPPFLAGS'
23537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
23546 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
23548 if test x$glibcxx_cv_func__expl_use = x"yes"; then
23549 for ac_func in _expl
23550 do :
23551 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
23552 if test "x$ac_cv_func__expl" = x""yes; then :
23553 cat >>confdefs.h <<_ACEOF
23554 #define HAVE__EXPL 1
23555 _ACEOF
23558 done
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
23568 $as_echo_n "checking for fabsl declaration... " >&6; }
23569 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
23570 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
23571 $as_echo_n "(cached) " >&6
23572 else
23575 ac_ext=cpp
23576 ac_cpp='$CXXCPP $CPPFLAGS'
23577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23583 #include <math.h>
23584 #ifdef HAVE_IEEEFP_H
23585 #include <ieeefp.h>
23586 #endif
23589 main ()
23591 fabsl(0);
23593 return 0;
23595 _ACEOF
23596 if ac_fn_cxx_try_compile "$LINENO"; then :
23597 glibcxx_cv_func_fabsl_use=yes
23598 else
23599 glibcxx_cv_func_fabsl_use=no
23601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23602 ac_ext=c
23603 ac_cpp='$CPP $CPPFLAGS'
23604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
23613 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
23615 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
23616 for ac_func in fabsl
23617 do :
23618 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
23619 if test "x$ac_cv_func_fabsl" = x""yes; then :
23620 cat >>confdefs.h <<_ACEOF
23621 #define HAVE_FABSL 1
23622 _ACEOF
23625 done
23627 else
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
23630 $as_echo_n "checking for _fabsl declaration... " >&6; }
23631 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
23632 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
23633 $as_echo_n "(cached) " >&6
23634 else
23637 ac_ext=cpp
23638 ac_cpp='$CXXCPP $CPPFLAGS'
23639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23644 /* end confdefs.h. */
23645 #include <math.h>
23646 #ifdef HAVE_IEEEFP_H
23647 #include <ieeefp.h>
23648 #endif
23651 main ()
23653 _fabsl(0);
23655 return 0;
23657 _ACEOF
23658 if ac_fn_cxx_try_compile "$LINENO"; then :
23659 glibcxx_cv_func__fabsl_use=yes
23660 else
23661 glibcxx_cv_func__fabsl_use=no
23663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664 ac_ext=c
23665 ac_cpp='$CPP $CPPFLAGS'
23666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
23675 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
23677 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
23678 for ac_func in _fabsl
23679 do :
23680 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
23681 if test "x$ac_cv_func__fabsl" = x""yes; then :
23682 cat >>confdefs.h <<_ACEOF
23683 #define HAVE__FABSL 1
23684 _ACEOF
23687 done
23696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
23697 $as_echo_n "checking for fmodl declaration... " >&6; }
23698 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
23699 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
23700 $as_echo_n "(cached) " >&6
23701 else
23704 ac_ext=cpp
23705 ac_cpp='$CXXCPP $CPPFLAGS'
23706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23711 /* end confdefs.h. */
23712 #include <math.h>
23714 main ()
23716 fmodl(0, 0);
23718 return 0;
23720 _ACEOF
23721 if ac_fn_cxx_try_compile "$LINENO"; then :
23722 glibcxx_cv_func_fmodl_use=yes
23723 else
23724 glibcxx_cv_func_fmodl_use=no
23726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23727 ac_ext=c
23728 ac_cpp='$CPP $CPPFLAGS'
23729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
23738 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
23740 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
23741 for ac_func in fmodl
23742 do :
23743 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
23744 if test "x$ac_cv_func_fmodl" = x""yes; then :
23745 cat >>confdefs.h <<_ACEOF
23746 #define HAVE_FMODL 1
23747 _ACEOF
23750 done
23752 else
23754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
23755 $as_echo_n "checking for _fmodl declaration... " >&6; }
23756 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
23757 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
23758 $as_echo_n "(cached) " >&6
23759 else
23762 ac_ext=cpp
23763 ac_cpp='$CXXCPP $CPPFLAGS'
23764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23769 /* end confdefs.h. */
23770 #include <math.h>
23772 main ()
23774 _fmodl(0, 0);
23776 return 0;
23778 _ACEOF
23779 if ac_fn_cxx_try_compile "$LINENO"; then :
23780 glibcxx_cv_func__fmodl_use=yes
23781 else
23782 glibcxx_cv_func__fmodl_use=no
23784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23785 ac_ext=c
23786 ac_cpp='$CPP $CPPFLAGS'
23787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
23796 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
23798 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
23799 for ac_func in _fmodl
23800 do :
23801 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
23802 if test "x$ac_cv_func__fmodl" = x""yes; then :
23803 cat >>confdefs.h <<_ACEOF
23804 #define HAVE__FMODL 1
23805 _ACEOF
23808 done
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
23818 $as_echo_n "checking for frexpl declaration... " >&6; }
23819 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
23820 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
23821 $as_echo_n "(cached) " >&6
23822 else
23825 ac_ext=cpp
23826 ac_cpp='$CXXCPP $CPPFLAGS'
23827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23832 /* end confdefs.h. */
23833 #include <math.h>
23835 main ()
23837 frexpl(0, 0);
23839 return 0;
23841 _ACEOF
23842 if ac_fn_cxx_try_compile "$LINENO"; then :
23843 glibcxx_cv_func_frexpl_use=yes
23844 else
23845 glibcxx_cv_func_frexpl_use=no
23847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23848 ac_ext=c
23849 ac_cpp='$CPP $CPPFLAGS'
23850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
23859 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
23861 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
23862 for ac_func in frexpl
23863 do :
23864 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
23865 if test "x$ac_cv_func_frexpl" = x""yes; then :
23866 cat >>confdefs.h <<_ACEOF
23867 #define HAVE_FREXPL 1
23868 _ACEOF
23871 done
23873 else
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
23876 $as_echo_n "checking for _frexpl declaration... " >&6; }
23877 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
23878 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
23879 $as_echo_n "(cached) " >&6
23880 else
23883 ac_ext=cpp
23884 ac_cpp='$CXXCPP $CPPFLAGS'
23885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23890 /* end confdefs.h. */
23891 #include <math.h>
23893 main ()
23895 _frexpl(0, 0);
23897 return 0;
23899 _ACEOF
23900 if ac_fn_cxx_try_compile "$LINENO"; then :
23901 glibcxx_cv_func__frexpl_use=yes
23902 else
23903 glibcxx_cv_func__frexpl_use=no
23905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23906 ac_ext=c
23907 ac_cpp='$CPP $CPPFLAGS'
23908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
23917 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
23919 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
23920 for ac_func in _frexpl
23921 do :
23922 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
23923 if test "x$ac_cv_func__frexpl" = x""yes; then :
23924 cat >>confdefs.h <<_ACEOF
23925 #define HAVE__FREXPL 1
23926 _ACEOF
23929 done
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
23939 $as_echo_n "checking for hypotl declaration... " >&6; }
23940 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
23941 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
23942 $as_echo_n "(cached) " >&6
23943 else
23946 ac_ext=cpp
23947 ac_cpp='$CXXCPP $CPPFLAGS'
23948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23953 /* end confdefs.h. */
23954 #include <math.h>
23956 main ()
23958 hypotl(0, 0);
23960 return 0;
23962 _ACEOF
23963 if ac_fn_cxx_try_compile "$LINENO"; then :
23964 glibcxx_cv_func_hypotl_use=yes
23965 else
23966 glibcxx_cv_func_hypotl_use=no
23968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23969 ac_ext=c
23970 ac_cpp='$CPP $CPPFLAGS'
23971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
23980 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
23982 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
23983 for ac_func in hypotl
23984 do :
23985 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
23986 if test "x$ac_cv_func_hypotl" = x""yes; then :
23987 cat >>confdefs.h <<_ACEOF
23988 #define HAVE_HYPOTL 1
23989 _ACEOF
23992 done
23994 else
23996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
23997 $as_echo_n "checking for _hypotl declaration... " >&6; }
23998 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
23999 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24000 $as_echo_n "(cached) " >&6
24001 else
24004 ac_ext=cpp
24005 ac_cpp='$CXXCPP $CPPFLAGS'
24006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24011 /* end confdefs.h. */
24012 #include <math.h>
24014 main ()
24016 _hypotl(0, 0);
24018 return 0;
24020 _ACEOF
24021 if ac_fn_cxx_try_compile "$LINENO"; then :
24022 glibcxx_cv_func__hypotl_use=yes
24023 else
24024 glibcxx_cv_func__hypotl_use=no
24026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24027 ac_ext=c
24028 ac_cpp='$CPP $CPPFLAGS'
24029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
24038 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
24040 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
24041 for ac_func in _hypotl
24042 do :
24043 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
24044 if test "x$ac_cv_func__hypotl" = x""yes; then :
24045 cat >>confdefs.h <<_ACEOF
24046 #define HAVE__HYPOTL 1
24047 _ACEOF
24050 done
24059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
24060 $as_echo_n "checking for ldexpl declaration... " >&6; }
24061 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
24062 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
24063 $as_echo_n "(cached) " >&6
24064 else
24067 ac_ext=cpp
24068 ac_cpp='$CXXCPP $CPPFLAGS'
24069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24074 /* end confdefs.h. */
24075 #include <math.h>
24077 main ()
24079 ldexpl(0, 0);
24081 return 0;
24083 _ACEOF
24084 if ac_fn_cxx_try_compile "$LINENO"; then :
24085 glibcxx_cv_func_ldexpl_use=yes
24086 else
24087 glibcxx_cv_func_ldexpl_use=no
24089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24090 ac_ext=c
24091 ac_cpp='$CPP $CPPFLAGS'
24092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
24101 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
24103 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
24104 for ac_func in ldexpl
24105 do :
24106 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
24107 if test "x$ac_cv_func_ldexpl" = x""yes; then :
24108 cat >>confdefs.h <<_ACEOF
24109 #define HAVE_LDEXPL 1
24110 _ACEOF
24113 done
24115 else
24117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
24118 $as_echo_n "checking for _ldexpl declaration... " >&6; }
24119 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
24120 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
24121 $as_echo_n "(cached) " >&6
24122 else
24125 ac_ext=cpp
24126 ac_cpp='$CXXCPP $CPPFLAGS'
24127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24132 /* end confdefs.h. */
24133 #include <math.h>
24135 main ()
24137 _ldexpl(0, 0);
24139 return 0;
24141 _ACEOF
24142 if ac_fn_cxx_try_compile "$LINENO"; then :
24143 glibcxx_cv_func__ldexpl_use=yes
24144 else
24145 glibcxx_cv_func__ldexpl_use=no
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148 ac_ext=c
24149 ac_cpp='$CPP $CPPFLAGS'
24150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
24159 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
24161 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
24162 for ac_func in _ldexpl
24163 do :
24164 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
24165 if test "x$ac_cv_func__ldexpl" = x""yes; then :
24166 cat >>confdefs.h <<_ACEOF
24167 #define HAVE__LDEXPL 1
24168 _ACEOF
24171 done
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
24181 $as_echo_n "checking for logl declaration... " >&6; }
24182 if test x${glibcxx_cv_func_logl_use+set} != xset; then
24183 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
24184 $as_echo_n "(cached) " >&6
24185 else
24188 ac_ext=cpp
24189 ac_cpp='$CXXCPP $CPPFLAGS'
24190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24195 /* end confdefs.h. */
24196 #include <math.h>
24197 #ifdef HAVE_IEEEFP_H
24198 #include <ieeefp.h>
24199 #endif
24202 main ()
24204 logl(0);
24206 return 0;
24208 _ACEOF
24209 if ac_fn_cxx_try_compile "$LINENO"; then :
24210 glibcxx_cv_func_logl_use=yes
24211 else
24212 glibcxx_cv_func_logl_use=no
24214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24215 ac_ext=c
24216 ac_cpp='$CPP $CPPFLAGS'
24217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
24226 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
24228 if test x$glibcxx_cv_func_logl_use = x"yes"; then
24229 for ac_func in logl
24230 do :
24231 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
24232 if test "x$ac_cv_func_logl" = x""yes; then :
24233 cat >>confdefs.h <<_ACEOF
24234 #define HAVE_LOGL 1
24235 _ACEOF
24238 done
24240 else
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
24243 $as_echo_n "checking for _logl declaration... " >&6; }
24244 if test x${glibcxx_cv_func__logl_use+set} != xset; then
24245 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
24246 $as_echo_n "(cached) " >&6
24247 else
24250 ac_ext=cpp
24251 ac_cpp='$CXXCPP $CPPFLAGS'
24252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24257 /* end confdefs.h. */
24258 #include <math.h>
24259 #ifdef HAVE_IEEEFP_H
24260 #include <ieeefp.h>
24261 #endif
24264 main ()
24266 _logl(0);
24268 return 0;
24270 _ACEOF
24271 if ac_fn_cxx_try_compile "$LINENO"; then :
24272 glibcxx_cv_func__logl_use=yes
24273 else
24274 glibcxx_cv_func__logl_use=no
24276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24277 ac_ext=c
24278 ac_cpp='$CPP $CPPFLAGS'
24279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
24288 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
24290 if test x$glibcxx_cv_func__logl_use = x"yes"; then
24291 for ac_func in _logl
24292 do :
24293 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
24294 if test "x$ac_cv_func__logl" = x""yes; then :
24295 cat >>confdefs.h <<_ACEOF
24296 #define HAVE__LOGL 1
24297 _ACEOF
24300 done
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
24310 $as_echo_n "checking for log10l declaration... " >&6; }
24311 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
24312 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
24313 $as_echo_n "(cached) " >&6
24314 else
24317 ac_ext=cpp
24318 ac_cpp='$CXXCPP $CPPFLAGS'
24319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24324 /* end confdefs.h. */
24325 #include <math.h>
24326 #ifdef HAVE_IEEEFP_H
24327 #include <ieeefp.h>
24328 #endif
24331 main ()
24333 log10l(0);
24335 return 0;
24337 _ACEOF
24338 if ac_fn_cxx_try_compile "$LINENO"; then :
24339 glibcxx_cv_func_log10l_use=yes
24340 else
24341 glibcxx_cv_func_log10l_use=no
24343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24344 ac_ext=c
24345 ac_cpp='$CPP $CPPFLAGS'
24346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
24355 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
24357 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
24358 for ac_func in log10l
24359 do :
24360 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
24361 if test "x$ac_cv_func_log10l" = x""yes; then :
24362 cat >>confdefs.h <<_ACEOF
24363 #define HAVE_LOG10L 1
24364 _ACEOF
24367 done
24369 else
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
24372 $as_echo_n "checking for _log10l declaration... " >&6; }
24373 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
24374 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
24375 $as_echo_n "(cached) " >&6
24376 else
24379 ac_ext=cpp
24380 ac_cpp='$CXXCPP $CPPFLAGS'
24381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24386 /* end confdefs.h. */
24387 #include <math.h>
24388 #ifdef HAVE_IEEEFP_H
24389 #include <ieeefp.h>
24390 #endif
24393 main ()
24395 _log10l(0);
24397 return 0;
24399 _ACEOF
24400 if ac_fn_cxx_try_compile "$LINENO"; then :
24401 glibcxx_cv_func__log10l_use=yes
24402 else
24403 glibcxx_cv_func__log10l_use=no
24405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24406 ac_ext=c
24407 ac_cpp='$CPP $CPPFLAGS'
24408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
24417 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
24419 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
24420 for ac_func in _log10l
24421 do :
24422 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
24423 if test "x$ac_cv_func__log10l" = x""yes; then :
24424 cat >>confdefs.h <<_ACEOF
24425 #define HAVE__LOG10L 1
24426 _ACEOF
24429 done
24438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
24439 $as_echo_n "checking for modfl declaration... " >&6; }
24440 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
24441 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
24442 $as_echo_n "(cached) " >&6
24443 else
24446 ac_ext=cpp
24447 ac_cpp='$CXXCPP $CPPFLAGS'
24448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24453 /* end confdefs.h. */
24454 #include <math.h>
24456 main ()
24458 modfl(0, 0);
24460 return 0;
24462 _ACEOF
24463 if ac_fn_cxx_try_compile "$LINENO"; then :
24464 glibcxx_cv_func_modfl_use=yes
24465 else
24466 glibcxx_cv_func_modfl_use=no
24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 ac_ext=c
24470 ac_cpp='$CPP $CPPFLAGS'
24471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
24480 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
24482 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
24483 for ac_func in modfl
24484 do :
24485 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
24486 if test "x$ac_cv_func_modfl" = x""yes; then :
24487 cat >>confdefs.h <<_ACEOF
24488 #define HAVE_MODFL 1
24489 _ACEOF
24492 done
24494 else
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
24497 $as_echo_n "checking for _modfl declaration... " >&6; }
24498 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
24499 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
24500 $as_echo_n "(cached) " >&6
24501 else
24504 ac_ext=cpp
24505 ac_cpp='$CXXCPP $CPPFLAGS'
24506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24511 /* end confdefs.h. */
24512 #include <math.h>
24514 main ()
24516 _modfl(0, 0);
24518 return 0;
24520 _ACEOF
24521 if ac_fn_cxx_try_compile "$LINENO"; then :
24522 glibcxx_cv_func__modfl_use=yes
24523 else
24524 glibcxx_cv_func__modfl_use=no
24526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24527 ac_ext=c
24528 ac_cpp='$CPP $CPPFLAGS'
24529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
24538 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
24540 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
24541 for ac_func in _modfl
24542 do :
24543 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
24544 if test "x$ac_cv_func__modfl" = x""yes; then :
24545 cat >>confdefs.h <<_ACEOF
24546 #define HAVE__MODFL 1
24547 _ACEOF
24550 done
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
24560 $as_echo_n "checking for powl declaration... " >&6; }
24561 if test x${glibcxx_cv_func_powl_use+set} != xset; then
24562 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
24563 $as_echo_n "(cached) " >&6
24564 else
24567 ac_ext=cpp
24568 ac_cpp='$CXXCPP $CPPFLAGS'
24569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24574 /* end confdefs.h. */
24575 #include <math.h>
24577 main ()
24579 powl(0, 0);
24581 return 0;
24583 _ACEOF
24584 if ac_fn_cxx_try_compile "$LINENO"; then :
24585 glibcxx_cv_func_powl_use=yes
24586 else
24587 glibcxx_cv_func_powl_use=no
24589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24590 ac_ext=c
24591 ac_cpp='$CPP $CPPFLAGS'
24592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
24601 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
24603 if test x$glibcxx_cv_func_powl_use = x"yes"; then
24604 for ac_func in powl
24605 do :
24606 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
24607 if test "x$ac_cv_func_powl" = x""yes; then :
24608 cat >>confdefs.h <<_ACEOF
24609 #define HAVE_POWL 1
24610 _ACEOF
24613 done
24615 else
24617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
24618 $as_echo_n "checking for _powl declaration... " >&6; }
24619 if test x${glibcxx_cv_func__powl_use+set} != xset; then
24620 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
24621 $as_echo_n "(cached) " >&6
24622 else
24625 ac_ext=cpp
24626 ac_cpp='$CXXCPP $CPPFLAGS'
24627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24632 /* end confdefs.h. */
24633 #include <math.h>
24635 main ()
24637 _powl(0, 0);
24639 return 0;
24641 _ACEOF
24642 if ac_fn_cxx_try_compile "$LINENO"; then :
24643 glibcxx_cv_func__powl_use=yes
24644 else
24645 glibcxx_cv_func__powl_use=no
24647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24648 ac_ext=c
24649 ac_cpp='$CPP $CPPFLAGS'
24650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
24659 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
24661 if test x$glibcxx_cv_func__powl_use = x"yes"; then
24662 for ac_func in _powl
24663 do :
24664 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
24665 if test "x$ac_cv_func__powl" = x""yes; then :
24666 cat >>confdefs.h <<_ACEOF
24667 #define HAVE__POWL 1
24668 _ACEOF
24671 done
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
24681 $as_echo_n "checking for sqrtl declaration... " >&6; }
24682 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
24683 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
24684 $as_echo_n "(cached) " >&6
24685 else
24688 ac_ext=cpp
24689 ac_cpp='$CXXCPP $CPPFLAGS'
24690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24695 /* end confdefs.h. */
24696 #include <math.h>
24697 #ifdef HAVE_IEEEFP_H
24698 #include <ieeefp.h>
24699 #endif
24702 main ()
24704 sqrtl(0);
24706 return 0;
24708 _ACEOF
24709 if ac_fn_cxx_try_compile "$LINENO"; then :
24710 glibcxx_cv_func_sqrtl_use=yes
24711 else
24712 glibcxx_cv_func_sqrtl_use=no
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 ac_ext=c
24716 ac_cpp='$CPP $CPPFLAGS'
24717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
24726 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
24728 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
24729 for ac_func in sqrtl
24730 do :
24731 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
24732 if test "x$ac_cv_func_sqrtl" = x""yes; then :
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE_SQRTL 1
24735 _ACEOF
24738 done
24740 else
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
24743 $as_echo_n "checking for _sqrtl declaration... " >&6; }
24744 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
24745 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
24746 $as_echo_n "(cached) " >&6
24747 else
24750 ac_ext=cpp
24751 ac_cpp='$CXXCPP $CPPFLAGS'
24752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24757 /* end confdefs.h. */
24758 #include <math.h>
24759 #ifdef HAVE_IEEEFP_H
24760 #include <ieeefp.h>
24761 #endif
24764 main ()
24766 _sqrtl(0);
24768 return 0;
24770 _ACEOF
24771 if ac_fn_cxx_try_compile "$LINENO"; then :
24772 glibcxx_cv_func__sqrtl_use=yes
24773 else
24774 glibcxx_cv_func__sqrtl_use=no
24776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24777 ac_ext=c
24778 ac_cpp='$CPP $CPPFLAGS'
24779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
24788 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
24790 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
24791 for ac_func in _sqrtl
24792 do :
24793 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
24794 if test "x$ac_cv_func__sqrtl" = x""yes; then :
24795 cat >>confdefs.h <<_ACEOF
24796 #define HAVE__SQRTL 1
24797 _ACEOF
24800 done
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
24810 $as_echo_n "checking for sincosl declaration... " >&6; }
24811 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
24812 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
24813 $as_echo_n "(cached) " >&6
24814 else
24817 ac_ext=cpp
24818 ac_cpp='$CXXCPP $CPPFLAGS'
24819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24824 /* end confdefs.h. */
24825 #include <math.h>
24827 main ()
24829 sincosl(0, 0, 0);
24831 return 0;
24833 _ACEOF
24834 if ac_fn_cxx_try_compile "$LINENO"; then :
24835 glibcxx_cv_func_sincosl_use=yes
24836 else
24837 glibcxx_cv_func_sincosl_use=no
24839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24840 ac_ext=c
24841 ac_cpp='$CPP $CPPFLAGS'
24842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
24851 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
24853 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
24854 for ac_func in sincosl
24855 do :
24856 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
24857 if test "x$ac_cv_func_sincosl" = x""yes; then :
24858 cat >>confdefs.h <<_ACEOF
24859 #define HAVE_SINCOSL 1
24860 _ACEOF
24863 done
24865 else
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
24868 $as_echo_n "checking for _sincosl declaration... " >&6; }
24869 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
24870 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
24871 $as_echo_n "(cached) " >&6
24872 else
24875 ac_ext=cpp
24876 ac_cpp='$CXXCPP $CPPFLAGS'
24877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h. */
24883 #include <math.h>
24885 main ()
24887 _sincosl(0, 0, 0);
24889 return 0;
24891 _ACEOF
24892 if ac_fn_cxx_try_compile "$LINENO"; then :
24893 glibcxx_cv_func__sincosl_use=yes
24894 else
24895 glibcxx_cv_func__sincosl_use=no
24897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24898 ac_ext=c
24899 ac_cpp='$CPP $CPPFLAGS'
24900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
24909 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
24911 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
24912 for ac_func in _sincosl
24913 do :
24914 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
24915 if test "x$ac_cv_func__sincosl" = x""yes; then :
24916 cat >>confdefs.h <<_ACEOF
24917 #define HAVE__SINCOSL 1
24918 _ACEOF
24921 done
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
24931 $as_echo_n "checking for finitel declaration... " >&6; }
24932 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
24933 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
24934 $as_echo_n "(cached) " >&6
24935 else
24938 ac_ext=cpp
24939 ac_cpp='$CXXCPP $CPPFLAGS'
24940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24945 /* end confdefs.h. */
24946 #include <math.h>
24947 #ifdef HAVE_IEEEFP_H
24948 #include <ieeefp.h>
24949 #endif
24952 main ()
24954 finitel(0);
24956 return 0;
24958 _ACEOF
24959 if ac_fn_cxx_try_compile "$LINENO"; then :
24960 glibcxx_cv_func_finitel_use=yes
24961 else
24962 glibcxx_cv_func_finitel_use=no
24964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24965 ac_ext=c
24966 ac_cpp='$CPP $CPPFLAGS'
24967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
24976 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
24978 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
24979 for ac_func in finitel
24980 do :
24981 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
24982 if test "x$ac_cv_func_finitel" = x""yes; then :
24983 cat >>confdefs.h <<_ACEOF
24984 #define HAVE_FINITEL 1
24985 _ACEOF
24988 done
24990 else
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
24993 $as_echo_n "checking for _finitel declaration... " >&6; }
24994 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
24995 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
24996 $as_echo_n "(cached) " >&6
24997 else
25000 ac_ext=cpp
25001 ac_cpp='$CXXCPP $CPPFLAGS'
25002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25007 /* end confdefs.h. */
25008 #include <math.h>
25009 #ifdef HAVE_IEEEFP_H
25010 #include <ieeefp.h>
25011 #endif
25014 main ()
25016 _finitel(0);
25018 return 0;
25020 _ACEOF
25021 if ac_fn_cxx_try_compile "$LINENO"; then :
25022 glibcxx_cv_func__finitel_use=yes
25023 else
25024 glibcxx_cv_func__finitel_use=no
25026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25027 ac_ext=c
25028 ac_cpp='$CPP $CPPFLAGS'
25029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
25038 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
25040 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
25041 for ac_func in _finitel
25042 do :
25043 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
25044 if test "x$ac_cv_func__finitel" = x""yes; then :
25045 cat >>confdefs.h <<_ACEOF
25046 #define HAVE__FINITEL 1
25047 _ACEOF
25050 done
25058 LIBS="$ac_save_LIBS"
25059 CXXFLAGS="$ac_save_CXXFLAGS"
25062 ac_test_CXXFLAGS="${CXXFLAGS+set}"
25063 ac_save_CXXFLAGS="$CXXFLAGS"
25064 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
25067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
25068 $as_echo_n "checking for strtold declaration... " >&6; }
25069 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
25070 if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
25085 main ()
25087 strtold(0, 0);
25089 return 0;
25091 _ACEOF
25092 if ac_fn_cxx_try_compile "$LINENO"; then :
25093 glibcxx_cv_func_strtold_use=yes
25094 else
25095 glibcxx_cv_func_strtold_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_strtold_use" >&5
25109 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
25110 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
25111 for ac_func in strtold
25112 do :
25113 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
25114 if test "x$ac_cv_func_strtold" = x""yes; then :
25115 cat >>confdefs.h <<_ACEOF
25116 #define HAVE_STRTOLD 1
25117 _ACEOF
25120 done
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
25128 $as_echo_n "checking for strtof declaration... " >&6; }
25129 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
25130 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
25131 $as_echo_n "(cached) " >&6
25132 else
25135 ac_ext=cpp
25136 ac_cpp='$CXXCPP $CPPFLAGS'
25137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25142 /* end confdefs.h. */
25143 #include <stdlib.h>
25145 main ()
25147 strtof(0, 0);
25149 return 0;
25151 _ACEOF
25152 if ac_fn_cxx_try_compile "$LINENO"; then :
25153 glibcxx_cv_func_strtof_use=yes
25154 else
25155 glibcxx_cv_func_strtof_use=no
25157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25158 ac_ext=c
25159 ac_cpp='$CPP $CPPFLAGS'
25160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
25169 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
25170 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
25171 for ac_func in strtof
25172 do :
25173 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
25174 if test "x$ac_cv_func_strtof" = x""yes; then :
25175 cat >>confdefs.h <<_ACEOF
25176 #define HAVE_STRTOF 1
25177 _ACEOF
25180 done
25187 CXXFLAGS="$ac_save_CXXFLAGS"
25190 # For /dev/random and /dev/urandom for TR1.
25193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
25194 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
25195 if test "${glibcxx_cv_random_tr1+set}" = set; then :
25196 $as_echo_n "(cached) " >&6
25197 else
25199 if test -r /dev/random && test -r /dev/urandom; then
25200 glibcxx_cv_random_tr1=yes;
25201 else
25202 glibcxx_cv_random_tr1=no;
25207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
25208 $as_echo "$glibcxx_cv_random_tr1" >&6; }
25210 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
25212 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
25218 # For TLS support.
25221 # Check whether --enable-tls was given.
25222 if test "${enable_tls+set}" = set; then :
25223 enableval=$enable_tls;
25224 case "$enableval" in
25225 yes|no) ;;
25226 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
25227 esac
25229 else
25230 enable_tls=yes
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
25235 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
25236 if test "${gcc_cv_have_tls+set}" = set; then :
25237 $as_echo_n "(cached) " >&6
25238 else
25240 if test "$cross_compiling" = yes; then :
25241 if test x$gcc_no_link = xyes; then
25242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25245 /* end confdefs.h. */
25246 __thread int a; int b; int main() { return a = b; }
25247 _ACEOF
25248 if ac_fn_c_try_link "$LINENO"; then :
25249 chktls_save_LDFLAGS="$LDFLAGS"
25250 case $host in
25251 *-*-linux*)
25252 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
25254 esac
25255 chktls_save_CFLAGS="$CFLAGS"
25256 CFLAGS="-fPIC $CFLAGS"
25257 if test x$gcc_no_link = xyes; then
25258 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25262 int f() { return 0; }
25263 _ACEOF
25264 if ac_fn_c_try_link "$LINENO"; then :
25265 if test x$gcc_no_link = xyes; then
25266 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25269 /* end confdefs.h. */
25270 __thread int a; int b; int f() { return a = b; }
25271 _ACEOF
25272 if ac_fn_c_try_link "$LINENO"; then :
25273 gcc_cv_have_tls=yes
25274 else
25275 gcc_cv_have_tls=no
25277 rm -f core conftest.err conftest.$ac_objext \
25278 conftest$ac_exeext conftest.$ac_ext
25279 else
25280 gcc_cv_have_tls=yes
25282 rm -f core conftest.err conftest.$ac_objext \
25283 conftest$ac_exeext conftest.$ac_ext
25284 CFLAGS="$chktls_save_CFLAGS"
25285 LDFLAGS="$chktls_save_LDFLAGS"
25286 else
25287 gcc_cv_have_tls=no
25289 rm -f core conftest.err conftest.$ac_objext \
25290 conftest$ac_exeext conftest.$ac_ext
25293 else
25294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25295 /* end confdefs.h. */
25296 __thread int a; int b; int main() { return a = b; }
25297 _ACEOF
25298 if ac_fn_c_try_run "$LINENO"; then :
25299 chktls_save_LDFLAGS="$LDFLAGS"
25300 LDFLAGS="-static $LDFLAGS"
25301 if test x$gcc_no_link = xyes; then
25302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25305 /* end confdefs.h. */
25306 int main() { return 0; }
25307 _ACEOF
25308 if ac_fn_c_try_link "$LINENO"; then :
25309 if test "$cross_compiling" = yes; then :
25310 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25311 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25312 as_fn_error "cannot run test program while cross compiling
25313 See \`config.log' for more details." "$LINENO" 5; }
25314 else
25315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25316 /* end confdefs.h. */
25317 __thread int a; int b; int main() { return a = b; }
25318 _ACEOF
25319 if ac_fn_c_try_run "$LINENO"; then :
25320 gcc_cv_have_tls=yes
25321 else
25322 gcc_cv_have_tls=no
25324 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25325 conftest.$ac_objext conftest.beam conftest.$ac_ext
25328 else
25329 gcc_cv_have_tls=yes
25331 rm -f core conftest.err conftest.$ac_objext \
25332 conftest$ac_exeext conftest.$ac_ext
25333 LDFLAGS="$chktls_save_LDFLAGS"
25334 if test $gcc_cv_have_tls = yes; then
25335 chktls_save_CFLAGS="$CFLAGS"
25336 thread_CFLAGS=failed
25337 for flag in '' '-pthread' '-lpthread'; do
25338 CFLAGS="$flag $chktls_save_CFLAGS"
25339 if test x$gcc_no_link = xyes; then
25340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
25342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25343 /* end confdefs.h. */
25344 #include <pthread.h>
25345 void *g(void *d) { return NULL; }
25347 main ()
25349 pthread_t t; pthread_create(&t,NULL,g,NULL);
25351 return 0;
25353 _ACEOF
25354 if ac_fn_c_try_link "$LINENO"; then :
25355 thread_CFLAGS="$flag"
25357 rm -f core conftest.err conftest.$ac_objext \
25358 conftest$ac_exeext conftest.$ac_ext
25359 if test "X$thread_CFLAGS" != Xfailed; then
25360 break
25362 done
25363 CFLAGS="$chktls_save_CFLAGS"
25364 if test "X$thread_CFLAGS" != Xfailed; then
25365 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
25366 if test "$cross_compiling" = yes; then :
25367 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
25368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
25369 as_fn_error "cannot run test program while cross compiling
25370 See \`config.log' for more details." "$LINENO" 5; }
25371 else
25372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25374 #include <pthread.h>
25375 __thread int a;
25376 static int *a_in_other_thread;
25377 static void *
25378 thread_func (void *arg)
25380 a_in_other_thread = &a;
25381 return (void *)0;
25384 main ()
25386 pthread_t thread;
25387 void *thread_retval;
25388 int *a_in_main_thread;
25389 if (pthread_create (&thread, (pthread_attr_t *)0,
25390 thread_func, (void *)0))
25391 return 0;
25392 a_in_main_thread = &a;
25393 if (pthread_join (thread, &thread_retval))
25394 return 0;
25395 return (a_in_other_thread == a_in_main_thread);
25397 return 0;
25399 _ACEOF
25400 if ac_fn_c_try_run "$LINENO"; then :
25401 gcc_cv_have_tls=yes
25402 else
25403 gcc_cv_have_tls=no
25405 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25406 conftest.$ac_objext conftest.beam conftest.$ac_ext
25409 CFLAGS="$chktls_save_CFLAGS"
25412 else
25413 gcc_cv_have_tls=no
25415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
25416 conftest.$ac_objext conftest.beam conftest.$ac_ext
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
25421 $as_echo "$gcc_cv_have_tls" >&6; }
25422 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
25424 $as_echo "#define HAVE_TLS 1" >>confdefs.h
25428 # For iconv support.
25430 if test "X$prefix" = "XNONE"; then
25431 acl_final_prefix="$ac_default_prefix"
25432 else
25433 acl_final_prefix="$prefix"
25435 if test "X$exec_prefix" = "XNONE"; then
25436 acl_final_exec_prefix='${prefix}'
25437 else
25438 acl_final_exec_prefix="$exec_prefix"
25440 acl_save_prefix="$prefix"
25441 prefix="$acl_final_prefix"
25442 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
25443 prefix="$acl_save_prefix"
25446 # Check whether --with-gnu-ld was given.
25447 if test "${with_gnu_ld+set}" = set; then :
25448 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
25449 else
25450 with_gnu_ld=no
25453 # Prepare PATH_SEPARATOR.
25454 # The user is always right.
25455 if test "${PATH_SEPARATOR+set}" != set; then
25456 echo "#! /bin/sh" >conf$$.sh
25457 echo "exit 0" >>conf$$.sh
25458 chmod +x conf$$.sh
25459 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
25460 PATH_SEPARATOR=';'
25461 else
25462 PATH_SEPARATOR=:
25464 rm -f conf$$.sh
25466 ac_prog=ld
25467 if test "$GCC" = yes; then
25468 # Check if gcc -print-prog-name=ld gives a path.
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
25470 $as_echo_n "checking for ld used by GCC... " >&6; }
25471 case $host in
25472 *-*-mingw*)
25473 # gcc leaves a trailing carriage return which upsets mingw
25474 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
25476 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
25477 esac
25478 case $ac_prog in
25479 # Accept absolute paths.
25480 [\\/]* | [A-Za-z]:[\\/]*)
25481 re_direlt='/[^/][^/]*/\.\./'
25482 # Canonicalize the path of ld
25483 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
25484 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
25485 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
25486 done
25487 test -z "$LD" && LD="$ac_prog"
25490 # If it fails, then pretend we aren't using GCC.
25491 ac_prog=ld
25494 # If it is relative, then search for the first ld in PATH.
25495 with_gnu_ld=unknown
25497 esac
25498 elif test "$with_gnu_ld" = yes; then
25499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
25500 $as_echo_n "checking for GNU ld... " >&6; }
25501 else
25502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
25503 $as_echo_n "checking for non-GNU ld... " >&6; }
25505 if test "${acl_cv_path_LD+set}" = set; then :
25506 $as_echo_n "(cached) " >&6
25507 else
25508 if test -z "$LD"; then
25509 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
25510 for ac_dir in $PATH; do
25511 test -z "$ac_dir" && ac_dir=.
25512 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
25513 acl_cv_path_LD="$ac_dir/$ac_prog"
25514 # Check to see if the program is GNU ld. I'd rather use --version,
25515 # but apparently some GNU ld's only accept -v.
25516 # Break only if it was the GNU/non-GNU ld that we prefer.
25517 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
25518 test "$with_gnu_ld" != no && break
25519 else
25520 test "$with_gnu_ld" != yes && break
25523 done
25524 IFS="$ac_save_ifs"
25525 else
25526 acl_cv_path_LD="$LD" # Let the user override the test with a path.
25530 LD="$acl_cv_path_LD"
25531 if test -n "$LD"; then
25532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
25533 $as_echo "$LD" >&6; }
25534 else
25535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25536 $as_echo "no" >&6; }
25538 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
25539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
25540 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
25541 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
25542 $as_echo_n "(cached) " >&6
25543 else
25544 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
25545 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
25546 acl_cv_prog_gnu_ld=yes
25547 else
25548 acl_cv_prog_gnu_ld=no
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
25552 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
25553 with_gnu_ld=$acl_cv_prog_gnu_ld
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
25558 $as_echo_n "checking for shared library run path origin... " >&6; }
25559 if test "${acl_cv_rpath+set}" = set; then :
25560 $as_echo_n "(cached) " >&6
25561 else
25563 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
25564 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
25565 . ./conftest.sh
25566 rm -f ./conftest.sh
25567 acl_cv_rpath=done
25570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
25571 $as_echo "$acl_cv_rpath" >&6; }
25572 wl="$acl_cv_wl"
25573 libext="$acl_cv_libext"
25574 shlibext="$acl_cv_shlibext"
25575 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
25576 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
25577 hardcode_direct="$acl_cv_hardcode_direct"
25578 hardcode_minus_L="$acl_cv_hardcode_minus_L"
25579 # Check whether --enable-rpath was given.
25580 if test "${enable_rpath+set}" = set; then :
25581 enableval=$enable_rpath; :
25582 else
25583 enable_rpath=yes
25593 use_additional=yes
25595 acl_save_prefix="$prefix"
25596 prefix="$acl_final_prefix"
25597 acl_save_exec_prefix="$exec_prefix"
25598 exec_prefix="$acl_final_exec_prefix"
25600 eval additional_includedir=\"$includedir\"
25601 eval additional_libdir=\"$libdir\"
25603 exec_prefix="$acl_save_exec_prefix"
25604 prefix="$acl_save_prefix"
25607 # Check whether --with-libiconv-prefix was given.
25608 if test "${with_libiconv_prefix+set}" = set; then :
25609 withval=$with_libiconv_prefix;
25610 if test "X$withval" = "Xno"; then
25611 use_additional=no
25612 else
25613 if test "X$withval" = "X"; then
25615 acl_save_prefix="$prefix"
25616 prefix="$acl_final_prefix"
25617 acl_save_exec_prefix="$exec_prefix"
25618 exec_prefix="$acl_final_exec_prefix"
25620 eval additional_includedir=\"$includedir\"
25621 eval additional_libdir=\"$libdir\"
25623 exec_prefix="$acl_save_exec_prefix"
25624 prefix="$acl_save_prefix"
25626 else
25627 additional_includedir="$withval/include"
25628 additional_libdir="$withval/lib"
25634 LIBICONV=
25635 LTLIBICONV=
25636 INCICONV=
25637 rpathdirs=
25638 ltrpathdirs=
25639 names_already_handled=
25640 names_next_round='iconv '
25641 while test -n "$names_next_round"; do
25642 names_this_round="$names_next_round"
25643 names_next_round=
25644 for name in $names_this_round; do
25645 already_handled=
25646 for n in $names_already_handled; do
25647 if test "$n" = "$name"; then
25648 already_handled=yes
25649 break
25651 done
25652 if test -z "$already_handled"; then
25653 names_already_handled="$names_already_handled $name"
25654 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
25655 eval value=\"\$HAVE_LIB$uppername\"
25656 if test -n "$value"; then
25657 if test "$value" = yes; then
25658 eval value=\"\$LIB$uppername\"
25659 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
25660 eval value=\"\$LTLIB$uppername\"
25661 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
25662 else
25665 else
25666 found_dir=
25667 found_la=
25668 found_so=
25669 found_a=
25670 if test $use_additional = yes; then
25671 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
25672 found_dir="$additional_libdir"
25673 found_so="$additional_libdir/lib$name.$shlibext"
25674 if test -f "$additional_libdir/lib$name.la"; then
25675 found_la="$additional_libdir/lib$name.la"
25677 else
25678 if test -f "$additional_libdir/lib$name.$libext"; then
25679 found_dir="$additional_libdir"
25680 found_a="$additional_libdir/lib$name.$libext"
25681 if test -f "$additional_libdir/lib$name.la"; then
25682 found_la="$additional_libdir/lib$name.la"
25687 if test "X$found_dir" = "X"; then
25688 for x in $LDFLAGS $LTLIBICONV; do
25690 acl_save_prefix="$prefix"
25691 prefix="$acl_final_prefix"
25692 acl_save_exec_prefix="$exec_prefix"
25693 exec_prefix="$acl_final_exec_prefix"
25694 eval x=\"$x\"
25695 exec_prefix="$acl_save_exec_prefix"
25696 prefix="$acl_save_prefix"
25698 case "$x" in
25699 -L*)
25700 dir=`echo "X$x" | sed -e 's/^X-L//'`
25701 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
25702 found_dir="$dir"
25703 found_so="$dir/lib$name.$shlibext"
25704 if test -f "$dir/lib$name.la"; then
25705 found_la="$dir/lib$name.la"
25707 else
25708 if test -f "$dir/lib$name.$libext"; then
25709 found_dir="$dir"
25710 found_a="$dir/lib$name.$libext"
25711 if test -f "$dir/lib$name.la"; then
25712 found_la="$dir/lib$name.la"
25717 esac
25718 if test "X$found_dir" != "X"; then
25719 break
25721 done
25723 if test "X$found_dir" != "X"; then
25724 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
25725 if test "X$found_so" != "X"; then
25726 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
25727 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25728 else
25729 haveit=
25730 for x in $ltrpathdirs; do
25731 if test "X$x" = "X$found_dir"; then
25732 haveit=yes
25733 break
25735 done
25736 if test -z "$haveit"; then
25737 ltrpathdirs="$ltrpathdirs $found_dir"
25739 if test "$hardcode_direct" = yes; then
25740 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25741 else
25742 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
25743 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25744 haveit=
25745 for x in $rpathdirs; do
25746 if test "X$x" = "X$found_dir"; then
25747 haveit=yes
25748 break
25750 done
25751 if test -z "$haveit"; then
25752 rpathdirs="$rpathdirs $found_dir"
25754 else
25755 haveit=
25756 for x in $LDFLAGS $LIBICONV; do
25758 acl_save_prefix="$prefix"
25759 prefix="$acl_final_prefix"
25760 acl_save_exec_prefix="$exec_prefix"
25761 exec_prefix="$acl_final_exec_prefix"
25762 eval x=\"$x\"
25763 exec_prefix="$acl_save_exec_prefix"
25764 prefix="$acl_save_prefix"
25766 if test "X$x" = "X-L$found_dir"; then
25767 haveit=yes
25768 break
25770 done
25771 if test -z "$haveit"; then
25772 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
25774 if test "$hardcode_minus_L" != no; then
25775 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
25776 else
25777 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25782 else
25783 if test "X$found_a" != "X"; then
25784 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
25785 else
25786 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
25789 additional_includedir=
25790 case "$found_dir" in
25791 */lib | */lib/)
25792 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
25793 additional_includedir="$basedir/include"
25795 esac
25796 if test "X$additional_includedir" != "X"; then
25797 if test "X$additional_includedir" != "X/usr/include"; then
25798 haveit=
25799 if test "X$additional_includedir" = "X/usr/local/include"; then
25800 if test -n "$GCC"; then
25801 case $host_os in
25802 linux*) haveit=yes;;
25803 esac
25806 if test -z "$haveit"; then
25807 for x in $CPPFLAGS $INCICONV; do
25809 acl_save_prefix="$prefix"
25810 prefix="$acl_final_prefix"
25811 acl_save_exec_prefix="$exec_prefix"
25812 exec_prefix="$acl_final_exec_prefix"
25813 eval x=\"$x\"
25814 exec_prefix="$acl_save_exec_prefix"
25815 prefix="$acl_save_prefix"
25817 if test "X$x" = "X-I$additional_includedir"; then
25818 haveit=yes
25819 break
25821 done
25822 if test -z "$haveit"; then
25823 if test -d "$additional_includedir"; then
25824 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
25830 if test -n "$found_la"; then
25831 save_libdir="$libdir"
25832 case "$found_la" in
25833 */* | *\\*) . "$found_la" ;;
25834 *) . "./$found_la" ;;
25835 esac
25836 libdir="$save_libdir"
25837 for dep in $dependency_libs; do
25838 case "$dep" in
25839 -L*)
25840 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
25841 if test "X$additional_libdir" != "X/usr/lib"; then
25842 haveit=
25843 if test "X$additional_libdir" = "X/usr/local/lib"; then
25844 if test -n "$GCC"; then
25845 case $host_os in
25846 linux*) haveit=yes;;
25847 esac
25850 if test -z "$haveit"; then
25851 haveit=
25852 for x in $LDFLAGS $LIBICONV; do
25854 acl_save_prefix="$prefix"
25855 prefix="$acl_final_prefix"
25856 acl_save_exec_prefix="$exec_prefix"
25857 exec_prefix="$acl_final_exec_prefix"
25858 eval x=\"$x\"
25859 exec_prefix="$acl_save_exec_prefix"
25860 prefix="$acl_save_prefix"
25862 if test "X$x" = "X-L$additional_libdir"; then
25863 haveit=yes
25864 break
25866 done
25867 if test -z "$haveit"; then
25868 if test -d "$additional_libdir"; then
25869 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
25872 haveit=
25873 for x in $LDFLAGS $LTLIBICONV; do
25875 acl_save_prefix="$prefix"
25876 prefix="$acl_final_prefix"
25877 acl_save_exec_prefix="$exec_prefix"
25878 exec_prefix="$acl_final_exec_prefix"
25879 eval x=\"$x\"
25880 exec_prefix="$acl_save_exec_prefix"
25881 prefix="$acl_save_prefix"
25883 if test "X$x" = "X-L$additional_libdir"; then
25884 haveit=yes
25885 break
25887 done
25888 if test -z "$haveit"; then
25889 if test -d "$additional_libdir"; then
25890 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
25896 -R*)
25897 dir=`echo "X$dep" | sed -e 's/^X-R//'`
25898 if test "$enable_rpath" != no; then
25899 haveit=
25900 for x in $rpathdirs; do
25901 if test "X$x" = "X$dir"; then
25902 haveit=yes
25903 break
25905 done
25906 if test -z "$haveit"; then
25907 rpathdirs="$rpathdirs $dir"
25909 haveit=
25910 for x in $ltrpathdirs; do
25911 if test "X$x" = "X$dir"; then
25912 haveit=yes
25913 break
25915 done
25916 if test -z "$haveit"; then
25917 ltrpathdirs="$ltrpathdirs $dir"
25921 -l*)
25922 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
25924 *.la)
25925 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
25928 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
25929 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
25931 esac
25932 done
25934 else
25935 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
25936 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
25940 done
25941 done
25942 if test "X$rpathdirs" != "X"; then
25943 if test -n "$hardcode_libdir_separator"; then
25944 alldirs=
25945 for found_dir in $rpathdirs; do
25946 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
25947 done
25948 acl_save_libdir="$libdir"
25949 libdir="$alldirs"
25950 eval flag=\"$hardcode_libdir_flag_spec\"
25951 libdir="$acl_save_libdir"
25952 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
25953 else
25954 for found_dir in $rpathdirs; do
25955 acl_save_libdir="$libdir"
25956 libdir="$found_dir"
25957 eval flag=\"$hardcode_libdir_flag_spec\"
25958 libdir="$acl_save_libdir"
25959 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
25960 done
25963 if test "X$ltrpathdirs" != "X"; then
25964 for found_dir in $ltrpathdirs; do
25965 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
25966 done
25975 am_save_CPPFLAGS="$CPPFLAGS"
25977 for element in $INCICONV; do
25978 haveit=
25979 for x in $CPPFLAGS; do
25981 acl_save_prefix="$prefix"
25982 prefix="$acl_final_prefix"
25983 acl_save_exec_prefix="$exec_prefix"
25984 exec_prefix="$acl_final_exec_prefix"
25985 eval x=\"$x\"
25986 exec_prefix="$acl_save_exec_prefix"
25987 prefix="$acl_save_prefix"
25989 if test "X$x" = "X$element"; then
25990 haveit=yes
25991 break
25993 done
25994 if test -z "$haveit"; then
25995 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
25997 done
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26001 $as_echo_n "checking for iconv... " >&6; }
26002 if test "${am_cv_func_iconv+set}" = set; then :
26003 $as_echo_n "(cached) " >&6
26004 else
26006 am_cv_func_iconv="no, consider installing GNU libiconv"
26007 am_cv_lib_iconv=no
26008 if test x$gcc_no_link = xyes; then
26009 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26012 /* end confdefs.h. */
26013 #include <stdlib.h>
26014 #include <iconv.h>
26016 main ()
26018 iconv_t cd = iconv_open("","");
26019 iconv(cd,NULL,NULL,NULL,NULL);
26020 iconv_close(cd);
26022 return 0;
26024 _ACEOF
26025 if ac_fn_c_try_link "$LINENO"; then :
26026 am_cv_func_iconv=yes
26028 rm -f core conftest.err conftest.$ac_objext \
26029 conftest$ac_exeext conftest.$ac_ext
26030 if test "$am_cv_func_iconv" != yes; then
26031 am_save_LIBS="$LIBS"
26032 LIBS="$LIBS $LIBICONV"
26033 if test x$gcc_no_link = xyes; then
26034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26037 /* end confdefs.h. */
26038 #include <stdlib.h>
26039 #include <iconv.h>
26041 main ()
26043 iconv_t cd = iconv_open("","");
26044 iconv(cd,NULL,NULL,NULL,NULL);
26045 iconv_close(cd);
26047 return 0;
26049 _ACEOF
26050 if ac_fn_c_try_link "$LINENO"; then :
26051 am_cv_lib_iconv=yes
26052 am_cv_func_iconv=yes
26054 rm -f core conftest.err conftest.$ac_objext \
26055 conftest$ac_exeext conftest.$ac_ext
26056 LIBS="$am_save_LIBS"
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
26061 $as_echo "$am_cv_func_iconv" >&6; }
26062 if test "$am_cv_func_iconv" = yes; then
26064 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26067 if test "$am_cv_lib_iconv" = yes; then
26068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
26069 $as_echo_n "checking how to link with libiconv... " >&6; }
26070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
26071 $as_echo "$LIBICONV" >&6; }
26072 else
26073 CPPFLAGS="$am_save_CPPFLAGS"
26074 LIBICONV=
26075 LTLIBICONV=
26080 if test "$am_cv_func_iconv" = yes; then
26081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
26082 $as_echo_n "checking for iconv declaration... " >&6; }
26083 if test "${am_cv_proto_iconv+set}" = set; then :
26084 $as_echo_n "(cached) " >&6
26085 else
26087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26088 /* end confdefs.h. */
26090 #include <stdlib.h>
26091 #include <iconv.h>
26092 extern
26093 #ifdef __cplusplus
26095 #endif
26096 #if defined(__STDC__) || defined(__cplusplus)
26097 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
26098 #else
26099 size_t iconv();
26100 #endif
26103 main ()
26107 return 0;
26109 _ACEOF
26110 if ac_fn_c_try_compile "$LINENO"; then :
26111 am_cv_proto_iconv_arg1=""
26112 else
26113 am_cv_proto_iconv_arg1="const"
26115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26116 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);"
26119 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
26120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
26121 }$am_cv_proto_iconv" >&5
26122 $as_echo "${ac_t:-
26123 }$am_cv_proto_iconv" >&6; }
26125 cat >>confdefs.h <<_ACEOF
26126 #define ICONV_CONST $am_cv_proto_iconv_arg1
26127 _ACEOF
26132 else
26134 # This lets us hard-code the functionality we know we'll have in the cross
26135 # target environment. "Let" is a sugar-coated word placed on an especially
26136 # dull and tedious hack, actually.
26138 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
26139 # that involve linking, can't be used:
26140 # "cannot open sim-crt0.o"
26141 # "cannot open crt0.o"
26142 # etc. All this is because there currently exists no unified, consistent
26143 # way for top level CC information to be passed down to target directories:
26144 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
26145 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
26146 # crosses can be removed.
26148 # If Canadian cross, then don't pick up tools from the build directory.
26149 # Used only in GLIBCXX_EXPORT_INCLUDES.
26150 if test -n "$with_cross_host" &&
26151 test x"$build_alias" != x"$with_cross_host" &&
26152 test x"$build" != x"$target";
26153 then
26154 CANADIAN=yes
26155 else
26156 CANADIAN=no
26159 # Construct crosses by hand, eliminating bits that need ld...
26160 # GLIBCXX_CHECK_MATH_SUPPORT
26162 # First, test for "known" system libraries. We may be using newlib even
26163 # on a hosted environment.
26164 if test "x${with_newlib}" = "xyes"; then
26165 os_include_dir="os/newlib"
26166 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
26169 # GLIBCXX_CHECK_STDLIB_SUPPORT
26170 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
26173 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
26175 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
26177 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
26179 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
26181 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
26183 $as_echo "#define HAVE_COSF 1" >>confdefs.h
26185 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
26187 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
26189 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
26191 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
26193 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
26195 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
26197 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
26199 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
26201 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
26203 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
26205 $as_echo "#define HAVE_POWF 1" >>confdefs.h
26207 $as_echo "#define HAVE_SINF 1" >>confdefs.h
26209 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
26211 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
26213 $as_echo "#define HAVE_TANF 1" >>confdefs.h
26215 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
26218 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
26220 else
26222 # Base decisions on target environment.
26223 case "${host}" in
26224 arm*-*-symbianelf*)
26225 # This is a freestanding configuration; there is nothing to do here.
26228 mips*-sde-elf*)
26229 # These definitions are for the SDE C library rather than newlib.
26230 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26233 # All these tests are for C++; save the language and the compiler flags.
26234 # The CXXFLAGS thing is suspicious, but based on similar bits previously
26235 # found in GLIBCXX_CONFIGURE.
26237 ac_ext=cpp
26238 ac_cpp='$CXXCPP $CPPFLAGS'
26239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26243 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26244 ac_save_CXXFLAGS="$CXXFLAGS"
26246 # Check for maintainer-mode bits.
26247 if test x"$USE_MAINTAINER_MODE" = xno; then
26248 WERROR=''
26249 else
26250 WERROR='-Werror'
26253 # Check for -ffunction-sections -fdata-sections
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
26255 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
26256 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
26257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26258 /* end confdefs.h. */
26259 int foo; void bar() { };
26261 main ()
26265 return 0;
26267 _ACEOF
26268 if ac_fn_cxx_try_compile "$LINENO"; then :
26269 ac_fdsections=yes
26270 else
26271 ac_fdsections=no
26273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26274 if test "$ac_test_CXXFLAGS" = set; then
26275 CXXFLAGS="$ac_save_CXXFLAGS"
26276 else
26277 # this is the suspicious part
26278 CXXFLAGS=''
26280 if test x"$ac_fdsections" = x"yes"; then
26281 SECTION_FLAGS='-ffunction-sections -fdata-sections'
26283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
26284 $as_echo "$ac_fdsections" >&6; }
26286 ac_ext=c
26287 ac_cpp='$CPP $CPPFLAGS'
26288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26296 # If we're not using GNU ld, then there's no point in even trying these
26297 # tests. Check for that first. We should have already tested for gld
26298 # by now (in libtool), but require it now just to be safe...
26299 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
26300 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
26304 # The name set by libtool depends on the version of libtool. Shame on us
26305 # for depending on an impl detail, but c'est la vie. Older versions used
26306 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
26307 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
26308 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
26309 # set (hence we're using an older libtool), then set it.
26310 if test x${with_gnu_ld+set} != xset; then
26311 if test x${ac_cv_prog_gnu_ld+set} != xset; then
26312 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
26313 with_gnu_ld=no
26314 else
26315 with_gnu_ld=$ac_cv_prog_gnu_ld
26319 # Start by getting the version number. I think the libtool test already
26320 # does some of this, but throws away the result.
26321 glibcxx_ld_is_gold=no
26322 if test x"$with_gnu_ld" = x"yes"; then
26323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
26324 $as_echo_n "checking for ld version... " >&6; }
26326 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
26327 glibcxx_ld_is_gold=yes
26329 ldver=`$LD --version 2>/dev/null |
26330 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'`
26332 glibcxx_gnu_ld_version=`echo $ldver | \
26333 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
26335 $as_echo "$glibcxx_gnu_ld_version" >&6; }
26338 # Set --gc-sections.
26339 glibcxx_have_gc_sections=no
26340 if test "$glibcxx_ld_is_gold" = "yes"; then
26341 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
26342 glibcxx_have_gc_sections=yes
26344 else
26345 glibcxx_gcsections_min_ld=21602
26346 if test x"$with_gnu_ld" = x"yes" &&
26347 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
26348 glibcxx_have_gc_sections=yes
26351 if test "$glibcxx_have_gc_sections" = "yes"; then
26352 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
26353 # NB: This flag only works reliably after 2.16.1. Configure tests
26354 # for this are difficult, so hard wire a value that should work.
26356 ac_test_CFLAGS="${CFLAGS+set}"
26357 ac_save_CFLAGS="$CFLAGS"
26358 CFLAGS='-Wl,--gc-sections'
26360 # Check for -Wl,--gc-sections
26361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
26362 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
26363 if test x$gcc_no_link = xyes; then
26364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26368 int one(void) { return 1; }
26369 int two(void) { return 2; }
26372 main ()
26374 two();
26376 return 0;
26378 _ACEOF
26379 if ac_fn_c_try_link "$LINENO"; then :
26380 ac_gcsections=yes
26381 else
26382 ac_gcsections=no
26384 rm -f core conftest.err conftest.$ac_objext \
26385 conftest$ac_exeext conftest.$ac_ext
26386 if test "$ac_gcsections" = "yes"; then
26387 rm -f conftest.c
26388 touch conftest.c
26389 if $CC -c conftest.c; then
26390 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
26391 grep "Warning: gc-sections option ignored" > /dev/null; then
26392 ac_gcsections=no
26395 rm -f conftest.c conftest.o conftest
26397 if test "$ac_gcsections" = "yes"; then
26398 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
26401 $as_echo "$ac_gcsections" >&6; }
26403 if test "$ac_test_CFLAGS" = set; then
26404 CFLAGS="$ac_save_CFLAGS"
26405 else
26406 # this is the suspicious part
26407 CFLAGS=''
26411 # Set -z,relro.
26412 # Note this is only for shared objects.
26413 ac_ld_relro=no
26414 if test x"$with_gnu_ld" = x"yes"; then
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
26416 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
26417 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
26418 if test -n "$cxx_z_relo"; then
26419 OPT_LDFLAGS="-Wl,-z,relro"
26420 ac_ld_relro=yes
26422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
26423 $as_echo "$ac_ld_relro" >&6; }
26426 # Set linker optimization flags.
26427 if test x"$with_gnu_ld" = x"yes"; then
26428 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
26435 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26436 ac_save_CXXFLAGS="$CXXFLAGS"
26437 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
26440 $as_echo_n "checking for sin in -lm... " >&6; }
26441 if test "${ac_cv_lib_m_sin+set}" = set; then :
26442 $as_echo_n "(cached) " >&6
26443 else
26444 ac_check_lib_save_LIBS=$LIBS
26445 LIBS="-lm $LIBS"
26446 if test x$gcc_no_link = xyes; then
26447 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26450 /* end confdefs.h. */
26452 /* Override any GCC internal prototype to avoid an error.
26453 Use char because int might match the return type of a GCC
26454 builtin and then its argument prototype would still apply. */
26455 #ifdef __cplusplus
26456 extern "C"
26457 #endif
26458 char sin ();
26460 main ()
26462 return sin ();
26464 return 0;
26466 _ACEOF
26467 if ac_fn_c_try_link "$LINENO"; then :
26468 ac_cv_lib_m_sin=yes
26469 else
26470 ac_cv_lib_m_sin=no
26472 rm -f core conftest.err conftest.$ac_objext \
26473 conftest$ac_exeext conftest.$ac_ext
26474 LIBS=$ac_check_lib_save_LIBS
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
26477 $as_echo "$ac_cv_lib_m_sin" >&6; }
26478 if test "x$ac_cv_lib_m_sin" = x""yes; then :
26479 libm="-lm"
26482 ac_save_LIBS="$LIBS"
26483 LIBS="$LIBS $libm"
26487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
26488 $as_echo_n "checking for isinf declaration... " >&6; }
26489 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
26490 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
26491 $as_echo_n "(cached) " >&6
26492 else
26495 ac_ext=cpp
26496 ac_cpp='$CXXCPP $CPPFLAGS'
26497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26502 /* end confdefs.h. */
26503 #include <math.h>
26504 #ifdef HAVE_IEEEFP_H
26505 #include <ieeefp.h>
26506 #endif
26509 main ()
26511 isinf(0);
26513 return 0;
26515 _ACEOF
26516 if ac_fn_cxx_try_compile "$LINENO"; then :
26517 glibcxx_cv_func_isinf_use=yes
26518 else
26519 glibcxx_cv_func_isinf_use=no
26521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26522 ac_ext=c
26523 ac_cpp='$CPP $CPPFLAGS'
26524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
26533 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
26535 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
26536 for ac_func in isinf
26537 do :
26538 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
26539 if test "x$ac_cv_func_isinf" = x""yes; then :
26540 cat >>confdefs.h <<_ACEOF
26541 #define HAVE_ISINF 1
26542 _ACEOF
26545 done
26547 else
26549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
26550 $as_echo_n "checking for _isinf declaration... " >&6; }
26551 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
26552 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
26553 $as_echo_n "(cached) " >&6
26554 else
26557 ac_ext=cpp
26558 ac_cpp='$CXXCPP $CPPFLAGS'
26559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26564 /* end confdefs.h. */
26565 #include <math.h>
26566 #ifdef HAVE_IEEEFP_H
26567 #include <ieeefp.h>
26568 #endif
26571 main ()
26573 _isinf(0);
26575 return 0;
26577 _ACEOF
26578 if ac_fn_cxx_try_compile "$LINENO"; then :
26579 glibcxx_cv_func__isinf_use=yes
26580 else
26581 glibcxx_cv_func__isinf_use=no
26583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26584 ac_ext=c
26585 ac_cpp='$CPP $CPPFLAGS'
26586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
26595 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
26597 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
26598 for ac_func in _isinf
26599 do :
26600 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
26601 if test "x$ac_cv_func__isinf" = x""yes; then :
26602 cat >>confdefs.h <<_ACEOF
26603 #define HAVE__ISINF 1
26604 _ACEOF
26607 done
26616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
26617 $as_echo_n "checking for isnan declaration... " >&6; }
26618 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
26619 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
26620 $as_echo_n "(cached) " >&6
26621 else
26624 ac_ext=cpp
26625 ac_cpp='$CXXCPP $CPPFLAGS'
26626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26631 /* end confdefs.h. */
26632 #include <math.h>
26633 #ifdef HAVE_IEEEFP_H
26634 #include <ieeefp.h>
26635 #endif
26638 main ()
26640 isnan(0);
26642 return 0;
26644 _ACEOF
26645 if ac_fn_cxx_try_compile "$LINENO"; then :
26646 glibcxx_cv_func_isnan_use=yes
26647 else
26648 glibcxx_cv_func_isnan_use=no
26650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26651 ac_ext=c
26652 ac_cpp='$CPP $CPPFLAGS'
26653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
26662 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
26664 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
26665 for ac_func in isnan
26666 do :
26667 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
26668 if test "x$ac_cv_func_isnan" = x""yes; then :
26669 cat >>confdefs.h <<_ACEOF
26670 #define HAVE_ISNAN 1
26671 _ACEOF
26674 done
26676 else
26678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
26679 $as_echo_n "checking for _isnan declaration... " >&6; }
26680 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
26681 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
26682 $as_echo_n "(cached) " >&6
26683 else
26686 ac_ext=cpp
26687 ac_cpp='$CXXCPP $CPPFLAGS'
26688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26693 /* end confdefs.h. */
26694 #include <math.h>
26695 #ifdef HAVE_IEEEFP_H
26696 #include <ieeefp.h>
26697 #endif
26700 main ()
26702 _isnan(0);
26704 return 0;
26706 _ACEOF
26707 if ac_fn_cxx_try_compile "$LINENO"; then :
26708 glibcxx_cv_func__isnan_use=yes
26709 else
26710 glibcxx_cv_func__isnan_use=no
26712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26713 ac_ext=c
26714 ac_cpp='$CPP $CPPFLAGS'
26715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
26724 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
26726 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
26727 for ac_func in _isnan
26728 do :
26729 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
26730 if test "x$ac_cv_func__isnan" = x""yes; then :
26731 cat >>confdefs.h <<_ACEOF
26732 #define HAVE__ISNAN 1
26733 _ACEOF
26736 done
26745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
26746 $as_echo_n "checking for finite declaration... " >&6; }
26747 if test x${glibcxx_cv_func_finite_use+set} != xset; then
26748 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
26749 $as_echo_n "(cached) " >&6
26750 else
26753 ac_ext=cpp
26754 ac_cpp='$CXXCPP $CPPFLAGS'
26755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26760 /* end confdefs.h. */
26761 #include <math.h>
26762 #ifdef HAVE_IEEEFP_H
26763 #include <ieeefp.h>
26764 #endif
26767 main ()
26769 finite(0);
26771 return 0;
26773 _ACEOF
26774 if ac_fn_cxx_try_compile "$LINENO"; then :
26775 glibcxx_cv_func_finite_use=yes
26776 else
26777 glibcxx_cv_func_finite_use=no
26779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26780 ac_ext=c
26781 ac_cpp='$CPP $CPPFLAGS'
26782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
26791 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
26793 if test x$glibcxx_cv_func_finite_use = x"yes"; then
26794 for ac_func in finite
26795 do :
26796 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
26797 if test "x$ac_cv_func_finite" = x""yes; then :
26798 cat >>confdefs.h <<_ACEOF
26799 #define HAVE_FINITE 1
26800 _ACEOF
26803 done
26805 else
26807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
26808 $as_echo_n "checking for _finite declaration... " >&6; }
26809 if test x${glibcxx_cv_func__finite_use+set} != xset; then
26810 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
26811 $as_echo_n "(cached) " >&6
26812 else
26815 ac_ext=cpp
26816 ac_cpp='$CXXCPP $CPPFLAGS'
26817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26822 /* end confdefs.h. */
26823 #include <math.h>
26824 #ifdef HAVE_IEEEFP_H
26825 #include <ieeefp.h>
26826 #endif
26829 main ()
26831 _finite(0);
26833 return 0;
26835 _ACEOF
26836 if ac_fn_cxx_try_compile "$LINENO"; then :
26837 glibcxx_cv_func__finite_use=yes
26838 else
26839 glibcxx_cv_func__finite_use=no
26841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26842 ac_ext=c
26843 ac_cpp='$CPP $CPPFLAGS'
26844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
26853 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
26855 if test x$glibcxx_cv_func__finite_use = x"yes"; then
26856 for ac_func in _finite
26857 do :
26858 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
26859 if test "x$ac_cv_func__finite" = x""yes; then :
26860 cat >>confdefs.h <<_ACEOF
26861 #define HAVE__FINITE 1
26862 _ACEOF
26865 done
26874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
26875 $as_echo_n "checking for sincos declaration... " >&6; }
26876 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
26877 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
26878 $as_echo_n "(cached) " >&6
26879 else
26882 ac_ext=cpp
26883 ac_cpp='$CXXCPP $CPPFLAGS'
26884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26889 /* end confdefs.h. */
26890 #include <math.h>
26892 main ()
26894 sincos(0, 0, 0);
26896 return 0;
26898 _ACEOF
26899 if ac_fn_cxx_try_compile "$LINENO"; then :
26900 glibcxx_cv_func_sincos_use=yes
26901 else
26902 glibcxx_cv_func_sincos_use=no
26904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26905 ac_ext=c
26906 ac_cpp='$CPP $CPPFLAGS'
26907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
26916 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
26918 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
26919 for ac_func in sincos
26920 do :
26921 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
26922 if test "x$ac_cv_func_sincos" = x""yes; then :
26923 cat >>confdefs.h <<_ACEOF
26924 #define HAVE_SINCOS 1
26925 _ACEOF
26928 done
26930 else
26932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
26933 $as_echo_n "checking for _sincos declaration... " >&6; }
26934 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
26935 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
26936 $as_echo_n "(cached) " >&6
26937 else
26940 ac_ext=cpp
26941 ac_cpp='$CXXCPP $CPPFLAGS'
26942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26947 /* end confdefs.h. */
26948 #include <math.h>
26950 main ()
26952 _sincos(0, 0, 0);
26954 return 0;
26956 _ACEOF
26957 if ac_fn_cxx_try_compile "$LINENO"; then :
26958 glibcxx_cv_func__sincos_use=yes
26959 else
26960 glibcxx_cv_func__sincos_use=no
26962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26963 ac_ext=c
26964 ac_cpp='$CPP $CPPFLAGS'
26965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
26974 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
26976 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
26977 for ac_func in _sincos
26978 do :
26979 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
26980 if test "x$ac_cv_func__sincos" = x""yes; then :
26981 cat >>confdefs.h <<_ACEOF
26982 #define HAVE__SINCOS 1
26983 _ACEOF
26986 done
26995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
26996 $as_echo_n "checking for fpclass declaration... " >&6; }
26997 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
26998 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
26999 $as_echo_n "(cached) " >&6
27000 else
27003 ac_ext=cpp
27004 ac_cpp='$CXXCPP $CPPFLAGS'
27005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27010 /* end confdefs.h. */
27011 #include <math.h>
27012 #ifdef HAVE_IEEEFP_H
27013 #include <ieeefp.h>
27014 #endif
27017 main ()
27019 fpclass(0);
27021 return 0;
27023 _ACEOF
27024 if ac_fn_cxx_try_compile "$LINENO"; then :
27025 glibcxx_cv_func_fpclass_use=yes
27026 else
27027 glibcxx_cv_func_fpclass_use=no
27029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27030 ac_ext=c
27031 ac_cpp='$CPP $CPPFLAGS'
27032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
27041 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
27043 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
27044 for ac_func in fpclass
27045 do :
27046 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
27047 if test "x$ac_cv_func_fpclass" = x""yes; then :
27048 cat >>confdefs.h <<_ACEOF
27049 #define HAVE_FPCLASS 1
27050 _ACEOF
27053 done
27055 else
27057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
27058 $as_echo_n "checking for _fpclass declaration... " >&6; }
27059 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
27060 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
27061 $as_echo_n "(cached) " >&6
27062 else
27065 ac_ext=cpp
27066 ac_cpp='$CXXCPP $CPPFLAGS'
27067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27072 /* end confdefs.h. */
27073 #include <math.h>
27074 #ifdef HAVE_IEEEFP_H
27075 #include <ieeefp.h>
27076 #endif
27079 main ()
27081 _fpclass(0);
27083 return 0;
27085 _ACEOF
27086 if ac_fn_cxx_try_compile "$LINENO"; then :
27087 glibcxx_cv_func__fpclass_use=yes
27088 else
27089 glibcxx_cv_func__fpclass_use=no
27091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27092 ac_ext=c
27093 ac_cpp='$CPP $CPPFLAGS'
27094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
27103 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
27105 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
27106 for ac_func in _fpclass
27107 do :
27108 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
27109 if test "x$ac_cv_func__fpclass" = x""yes; then :
27110 cat >>confdefs.h <<_ACEOF
27111 #define HAVE__FPCLASS 1
27112 _ACEOF
27115 done
27124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
27125 $as_echo_n "checking for qfpclass declaration... " >&6; }
27126 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
27127 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
27128 $as_echo_n "(cached) " >&6
27129 else
27132 ac_ext=cpp
27133 ac_cpp='$CXXCPP $CPPFLAGS'
27134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27139 /* end confdefs.h. */
27140 #include <math.h>
27141 #ifdef HAVE_IEEEFP_H
27142 #include <ieeefp.h>
27143 #endif
27146 main ()
27148 qfpclass(0);
27150 return 0;
27152 _ACEOF
27153 if ac_fn_cxx_try_compile "$LINENO"; then :
27154 glibcxx_cv_func_qfpclass_use=yes
27155 else
27156 glibcxx_cv_func_qfpclass_use=no
27158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27159 ac_ext=c
27160 ac_cpp='$CPP $CPPFLAGS'
27161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
27170 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
27172 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
27173 for ac_func in qfpclass
27174 do :
27175 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
27176 if test "x$ac_cv_func_qfpclass" = x""yes; then :
27177 cat >>confdefs.h <<_ACEOF
27178 #define HAVE_QFPCLASS 1
27179 _ACEOF
27182 done
27184 else
27186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
27187 $as_echo_n "checking for _qfpclass declaration... " >&6; }
27188 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
27189 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
27190 $as_echo_n "(cached) " >&6
27191 else
27194 ac_ext=cpp
27195 ac_cpp='$CXXCPP $CPPFLAGS'
27196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27201 /* end confdefs.h. */
27202 #include <math.h>
27203 #ifdef HAVE_IEEEFP_H
27204 #include <ieeefp.h>
27205 #endif
27208 main ()
27210 _qfpclass(0);
27212 return 0;
27214 _ACEOF
27215 if ac_fn_cxx_try_compile "$LINENO"; then :
27216 glibcxx_cv_func__qfpclass_use=yes
27217 else
27218 glibcxx_cv_func__qfpclass_use=no
27220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27221 ac_ext=c
27222 ac_cpp='$CPP $CPPFLAGS'
27223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
27232 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
27234 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
27235 for ac_func in _qfpclass
27236 do :
27237 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
27238 if test "x$ac_cv_func__qfpclass" = x""yes; then :
27239 cat >>confdefs.h <<_ACEOF
27240 #define HAVE__QFPCLASS 1
27241 _ACEOF
27244 done
27253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
27254 $as_echo_n "checking for hypot declaration... " >&6; }
27255 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
27256 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
27257 $as_echo_n "(cached) " >&6
27258 else
27261 ac_ext=cpp
27262 ac_cpp='$CXXCPP $CPPFLAGS'
27263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27268 /* end confdefs.h. */
27269 #include <math.h>
27271 main ()
27273 hypot(0, 0);
27275 return 0;
27277 _ACEOF
27278 if ac_fn_cxx_try_compile "$LINENO"; then :
27279 glibcxx_cv_func_hypot_use=yes
27280 else
27281 glibcxx_cv_func_hypot_use=no
27283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27284 ac_ext=c
27285 ac_cpp='$CPP $CPPFLAGS'
27286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
27295 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
27297 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
27298 for ac_func in hypot
27299 do :
27300 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
27301 if test "x$ac_cv_func_hypot" = x""yes; then :
27302 cat >>confdefs.h <<_ACEOF
27303 #define HAVE_HYPOT 1
27304 _ACEOF
27307 done
27309 else
27311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
27312 $as_echo_n "checking for _hypot declaration... " >&6; }
27313 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
27314 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
27315 $as_echo_n "(cached) " >&6
27316 else
27319 ac_ext=cpp
27320 ac_cpp='$CXXCPP $CPPFLAGS'
27321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27326 /* end confdefs.h. */
27327 #include <math.h>
27329 main ()
27331 _hypot(0, 0);
27333 return 0;
27335 _ACEOF
27336 if ac_fn_cxx_try_compile "$LINENO"; then :
27337 glibcxx_cv_func__hypot_use=yes
27338 else
27339 glibcxx_cv_func__hypot_use=no
27341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27342 ac_ext=c
27343 ac_cpp='$CPP $CPPFLAGS'
27344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
27353 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
27355 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
27356 for ac_func in _hypot
27357 do :
27358 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
27359 if test "x$ac_cv_func__hypot" = x""yes; then :
27360 cat >>confdefs.h <<_ACEOF
27361 #define HAVE__HYPOT 1
27362 _ACEOF
27365 done
27374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
27375 $as_echo_n "checking for float trig functions... " >&6; }
27376 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
27377 $as_echo_n "(cached) " >&6
27378 else
27381 ac_ext=cpp
27382 ac_cpp='$CXXCPP $CPPFLAGS'
27383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27388 /* end confdefs.h. */
27389 #include <math.h>
27391 main ()
27393 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
27395 return 0;
27397 _ACEOF
27398 if ac_fn_cxx_try_compile "$LINENO"; then :
27399 glibcxx_cv_func_float_trig_use=yes
27400 else
27401 glibcxx_cv_func_float_trig_use=no
27403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27404 ac_ext=c
27405 ac_cpp='$CPP $CPPFLAGS'
27406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
27413 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
27414 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
27415 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
27416 do :
27417 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27418 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27419 eval as_val=\$$as_ac_var
27420 if test "x$as_val" = x""yes; then :
27421 cat >>confdefs.h <<_ACEOF
27422 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27423 _ACEOF
27426 done
27428 else
27429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
27430 $as_echo_n "checking for _float trig functions... " >&6; }
27431 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
27432 $as_echo_n "(cached) " >&6
27433 else
27436 ac_ext=cpp
27437 ac_cpp='$CXXCPP $CPPFLAGS'
27438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27443 /* end confdefs.h. */
27444 #include <math.h>
27446 main ()
27448 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
27450 return 0;
27452 _ACEOF
27453 if ac_fn_cxx_try_compile "$LINENO"; then :
27454 glibcxx_cv_func__float_trig_use=yes
27455 else
27456 glibcxx_cv_func__float_trig_use=no
27458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27459 ac_ext=c
27460 ac_cpp='$CPP $CPPFLAGS'
27461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
27468 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
27469 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
27470 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
27471 do :
27472 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27473 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27474 eval as_val=\$$as_ac_var
27475 if test "x$as_val" = x""yes; then :
27476 cat >>confdefs.h <<_ACEOF
27477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27478 _ACEOF
27481 done
27490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
27491 $as_echo_n "checking for float round functions... " >&6; }
27492 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
27493 $as_echo_n "(cached) " >&6
27494 else
27497 ac_ext=cpp
27498 ac_cpp='$CXXCPP $CPPFLAGS'
27499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27504 /* end confdefs.h. */
27505 #include <math.h>
27507 main ()
27509 ceilf (0); floorf (0);
27511 return 0;
27513 _ACEOF
27514 if ac_fn_cxx_try_compile "$LINENO"; then :
27515 glibcxx_cv_func_float_round_use=yes
27516 else
27517 glibcxx_cv_func_float_round_use=no
27519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27520 ac_ext=c
27521 ac_cpp='$CPP $CPPFLAGS'
27522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
27529 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
27530 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27531 for ac_func in ceilf floorf
27532 do :
27533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27535 eval as_val=\$$as_ac_var
27536 if test "x$as_val" = x""yes; then :
27537 cat >>confdefs.h <<_ACEOF
27538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27539 _ACEOF
27542 done
27544 else
27545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
27546 $as_echo_n "checking for _float round functions... " >&6; }
27547 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
27548 $as_echo_n "(cached) " >&6
27549 else
27552 ac_ext=cpp
27553 ac_cpp='$CXXCPP $CPPFLAGS'
27554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27559 /* end confdefs.h. */
27560 #include <math.h>
27562 main ()
27564 _ceilf (0); _floorf (0);
27566 return 0;
27568 _ACEOF
27569 if ac_fn_cxx_try_compile "$LINENO"; then :
27570 glibcxx_cv_func__float_round_use=yes
27571 else
27572 glibcxx_cv_func__float_round_use=no
27574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27575 ac_ext=c
27576 ac_cpp='$CPP $CPPFLAGS'
27577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
27584 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
27585 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27586 for ac_func in _ceilf _floorf
27587 do :
27588 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27589 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27590 eval as_val=\$$as_ac_var
27591 if test "x$as_val" = x""yes; then :
27592 cat >>confdefs.h <<_ACEOF
27593 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27594 _ACEOF
27597 done
27607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
27608 $as_echo_n "checking for expf declaration... " >&6; }
27609 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27610 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
27611 $as_echo_n "(cached) " >&6
27612 else
27615 ac_ext=cpp
27616 ac_cpp='$CXXCPP $CPPFLAGS'
27617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27622 /* end confdefs.h. */
27623 #include <math.h>
27624 #ifdef HAVE_IEEEFP_H
27625 #include <ieeefp.h>
27626 #endif
27629 main ()
27631 expf(0);
27633 return 0;
27635 _ACEOF
27636 if ac_fn_cxx_try_compile "$LINENO"; then :
27637 glibcxx_cv_func_expf_use=yes
27638 else
27639 glibcxx_cv_func_expf_use=no
27641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27642 ac_ext=c
27643 ac_cpp='$CPP $CPPFLAGS'
27644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
27653 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
27655 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27656 for ac_func in expf
27657 do :
27658 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
27659 if test "x$ac_cv_func_expf" = x""yes; then :
27660 cat >>confdefs.h <<_ACEOF
27661 #define HAVE_EXPF 1
27662 _ACEOF
27665 done
27667 else
27669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
27670 $as_echo_n "checking for _expf declaration... " >&6; }
27671 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27672 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
27673 $as_echo_n "(cached) " >&6
27674 else
27677 ac_ext=cpp
27678 ac_cpp='$CXXCPP $CPPFLAGS'
27679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27684 /* end confdefs.h. */
27685 #include <math.h>
27686 #ifdef HAVE_IEEEFP_H
27687 #include <ieeefp.h>
27688 #endif
27691 main ()
27693 _expf(0);
27695 return 0;
27697 _ACEOF
27698 if ac_fn_cxx_try_compile "$LINENO"; then :
27699 glibcxx_cv_func__expf_use=yes
27700 else
27701 glibcxx_cv_func__expf_use=no
27703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27704 ac_ext=c
27705 ac_cpp='$CPP $CPPFLAGS'
27706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
27715 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
27717 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27718 for ac_func in _expf
27719 do :
27720 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
27721 if test "x$ac_cv_func__expf" = x""yes; then :
27722 cat >>confdefs.h <<_ACEOF
27723 #define HAVE__EXPF 1
27724 _ACEOF
27727 done
27736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
27737 $as_echo_n "checking for isnanf declaration... " >&6; }
27738 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27739 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
27740 $as_echo_n "(cached) " >&6
27741 else
27744 ac_ext=cpp
27745 ac_cpp='$CXXCPP $CPPFLAGS'
27746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27751 /* end confdefs.h. */
27752 #include <math.h>
27753 #ifdef HAVE_IEEEFP_H
27754 #include <ieeefp.h>
27755 #endif
27758 main ()
27760 isnanf(0);
27762 return 0;
27764 _ACEOF
27765 if ac_fn_cxx_try_compile "$LINENO"; then :
27766 glibcxx_cv_func_isnanf_use=yes
27767 else
27768 glibcxx_cv_func_isnanf_use=no
27770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27771 ac_ext=c
27772 ac_cpp='$CPP $CPPFLAGS'
27773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
27782 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
27784 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27785 for ac_func in isnanf
27786 do :
27787 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
27788 if test "x$ac_cv_func_isnanf" = x""yes; then :
27789 cat >>confdefs.h <<_ACEOF
27790 #define HAVE_ISNANF 1
27791 _ACEOF
27794 done
27796 else
27798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
27799 $as_echo_n "checking for _isnanf declaration... " >&6; }
27800 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
27801 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
27802 $as_echo_n "(cached) " >&6
27803 else
27806 ac_ext=cpp
27807 ac_cpp='$CXXCPP $CPPFLAGS'
27808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27813 /* end confdefs.h. */
27814 #include <math.h>
27815 #ifdef HAVE_IEEEFP_H
27816 #include <ieeefp.h>
27817 #endif
27820 main ()
27822 _isnanf(0);
27824 return 0;
27826 _ACEOF
27827 if ac_fn_cxx_try_compile "$LINENO"; then :
27828 glibcxx_cv_func__isnanf_use=yes
27829 else
27830 glibcxx_cv_func__isnanf_use=no
27832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27833 ac_ext=c
27834 ac_cpp='$CPP $CPPFLAGS'
27835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
27844 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
27846 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
27847 for ac_func in _isnanf
27848 do :
27849 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
27850 if test "x$ac_cv_func__isnanf" = x""yes; then :
27851 cat >>confdefs.h <<_ACEOF
27852 #define HAVE__ISNANF 1
27853 _ACEOF
27856 done
27865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
27866 $as_echo_n "checking for isinff declaration... " >&6; }
27867 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
27868 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
27869 $as_echo_n "(cached) " >&6
27870 else
27873 ac_ext=cpp
27874 ac_cpp='$CXXCPP $CPPFLAGS'
27875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27880 /* end confdefs.h. */
27881 #include <math.h>
27882 #ifdef HAVE_IEEEFP_H
27883 #include <ieeefp.h>
27884 #endif
27887 main ()
27889 isinff(0);
27891 return 0;
27893 _ACEOF
27894 if ac_fn_cxx_try_compile "$LINENO"; then :
27895 glibcxx_cv_func_isinff_use=yes
27896 else
27897 glibcxx_cv_func_isinff_use=no
27899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27900 ac_ext=c
27901 ac_cpp='$CPP $CPPFLAGS'
27902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
27911 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
27913 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
27914 for ac_func in isinff
27915 do :
27916 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
27917 if test "x$ac_cv_func_isinff" = x""yes; then :
27918 cat >>confdefs.h <<_ACEOF
27919 #define HAVE_ISINFF 1
27920 _ACEOF
27923 done
27925 else
27927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
27928 $as_echo_n "checking for _isinff declaration... " >&6; }
27929 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
27930 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
27931 $as_echo_n "(cached) " >&6
27932 else
27935 ac_ext=cpp
27936 ac_cpp='$CXXCPP $CPPFLAGS'
27937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27942 /* end confdefs.h. */
27943 #include <math.h>
27944 #ifdef HAVE_IEEEFP_H
27945 #include <ieeefp.h>
27946 #endif
27949 main ()
27951 _isinff(0);
27953 return 0;
27955 _ACEOF
27956 if ac_fn_cxx_try_compile "$LINENO"; then :
27957 glibcxx_cv_func__isinff_use=yes
27958 else
27959 glibcxx_cv_func__isinff_use=no
27961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27962 ac_ext=c
27963 ac_cpp='$CPP $CPPFLAGS'
27964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
27973 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
27975 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
27976 for ac_func in _isinff
27977 do :
27978 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
27979 if test "x$ac_cv_func__isinff" = x""yes; then :
27980 cat >>confdefs.h <<_ACEOF
27981 #define HAVE__ISINFF 1
27982 _ACEOF
27985 done
27994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
27995 $as_echo_n "checking for atan2f declaration... " >&6; }
27996 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
27997 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
27998 $as_echo_n "(cached) " >&6
27999 else
28002 ac_ext=cpp
28003 ac_cpp='$CXXCPP $CPPFLAGS'
28004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28009 /* end confdefs.h. */
28010 #include <math.h>
28012 main ()
28014 atan2f(0, 0);
28016 return 0;
28018 _ACEOF
28019 if ac_fn_cxx_try_compile "$LINENO"; then :
28020 glibcxx_cv_func_atan2f_use=yes
28021 else
28022 glibcxx_cv_func_atan2f_use=no
28024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28025 ac_ext=c
28026 ac_cpp='$CPP $CPPFLAGS'
28027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
28036 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
28038 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28039 for ac_func in atan2f
28040 do :
28041 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
28042 if test "x$ac_cv_func_atan2f" = x""yes; then :
28043 cat >>confdefs.h <<_ACEOF
28044 #define HAVE_ATAN2F 1
28045 _ACEOF
28048 done
28050 else
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
28053 $as_echo_n "checking for _atan2f declaration... " >&6; }
28054 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28055 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
28056 $as_echo_n "(cached) " >&6
28057 else
28060 ac_ext=cpp
28061 ac_cpp='$CXXCPP $CPPFLAGS'
28062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28067 /* end confdefs.h. */
28068 #include <math.h>
28070 main ()
28072 _atan2f(0, 0);
28074 return 0;
28076 _ACEOF
28077 if ac_fn_cxx_try_compile "$LINENO"; then :
28078 glibcxx_cv_func__atan2f_use=yes
28079 else
28080 glibcxx_cv_func__atan2f_use=no
28082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28083 ac_ext=c
28084 ac_cpp='$CPP $CPPFLAGS'
28085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
28094 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
28096 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28097 for ac_func in _atan2f
28098 do :
28099 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
28100 if test "x$ac_cv_func__atan2f" = x""yes; then :
28101 cat >>confdefs.h <<_ACEOF
28102 #define HAVE__ATAN2F 1
28103 _ACEOF
28106 done
28115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
28116 $as_echo_n "checking for fabsf declaration... " >&6; }
28117 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28118 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
28119 $as_echo_n "(cached) " >&6
28120 else
28123 ac_ext=cpp
28124 ac_cpp='$CXXCPP $CPPFLAGS'
28125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28130 /* end confdefs.h. */
28131 #include <math.h>
28132 #ifdef HAVE_IEEEFP_H
28133 #include <ieeefp.h>
28134 #endif
28137 main ()
28139 fabsf(0);
28141 return 0;
28143 _ACEOF
28144 if ac_fn_cxx_try_compile "$LINENO"; then :
28145 glibcxx_cv_func_fabsf_use=yes
28146 else
28147 glibcxx_cv_func_fabsf_use=no
28149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28150 ac_ext=c
28151 ac_cpp='$CPP $CPPFLAGS'
28152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
28161 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
28163 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
28164 for ac_func in fabsf
28165 do :
28166 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
28167 if test "x$ac_cv_func_fabsf" = x""yes; then :
28168 cat >>confdefs.h <<_ACEOF
28169 #define HAVE_FABSF 1
28170 _ACEOF
28173 done
28175 else
28177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
28178 $as_echo_n "checking for _fabsf declaration... " >&6; }
28179 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
28180 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
28181 $as_echo_n "(cached) " >&6
28182 else
28185 ac_ext=cpp
28186 ac_cpp='$CXXCPP $CPPFLAGS'
28187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28192 /* end confdefs.h. */
28193 #include <math.h>
28194 #ifdef HAVE_IEEEFP_H
28195 #include <ieeefp.h>
28196 #endif
28199 main ()
28201 _fabsf(0);
28203 return 0;
28205 _ACEOF
28206 if ac_fn_cxx_try_compile "$LINENO"; then :
28207 glibcxx_cv_func__fabsf_use=yes
28208 else
28209 glibcxx_cv_func__fabsf_use=no
28211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28212 ac_ext=c
28213 ac_cpp='$CPP $CPPFLAGS'
28214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
28223 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
28225 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
28226 for ac_func in _fabsf
28227 do :
28228 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
28229 if test "x$ac_cv_func__fabsf" = x""yes; then :
28230 cat >>confdefs.h <<_ACEOF
28231 #define HAVE__FABSF 1
28232 _ACEOF
28235 done
28244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
28245 $as_echo_n "checking for fmodf declaration... " >&6; }
28246 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
28247 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
28248 $as_echo_n "(cached) " >&6
28249 else
28252 ac_ext=cpp
28253 ac_cpp='$CXXCPP $CPPFLAGS'
28254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28259 /* end confdefs.h. */
28260 #include <math.h>
28262 main ()
28264 fmodf(0, 0);
28266 return 0;
28268 _ACEOF
28269 if ac_fn_cxx_try_compile "$LINENO"; then :
28270 glibcxx_cv_func_fmodf_use=yes
28271 else
28272 glibcxx_cv_func_fmodf_use=no
28274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28275 ac_ext=c
28276 ac_cpp='$CPP $CPPFLAGS'
28277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
28286 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
28288 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
28289 for ac_func in fmodf
28290 do :
28291 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
28292 if test "x$ac_cv_func_fmodf" = x""yes; then :
28293 cat >>confdefs.h <<_ACEOF
28294 #define HAVE_FMODF 1
28295 _ACEOF
28298 done
28300 else
28302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
28303 $as_echo_n "checking for _fmodf declaration... " >&6; }
28304 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
28305 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
28306 $as_echo_n "(cached) " >&6
28307 else
28310 ac_ext=cpp
28311 ac_cpp='$CXXCPP $CPPFLAGS'
28312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28317 /* end confdefs.h. */
28318 #include <math.h>
28320 main ()
28322 _fmodf(0, 0);
28324 return 0;
28326 _ACEOF
28327 if ac_fn_cxx_try_compile "$LINENO"; then :
28328 glibcxx_cv_func__fmodf_use=yes
28329 else
28330 glibcxx_cv_func__fmodf_use=no
28332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28333 ac_ext=c
28334 ac_cpp='$CPP $CPPFLAGS'
28335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
28344 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
28346 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
28347 for ac_func in _fmodf
28348 do :
28349 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
28350 if test "x$ac_cv_func__fmodf" = x""yes; then :
28351 cat >>confdefs.h <<_ACEOF
28352 #define HAVE__FMODF 1
28353 _ACEOF
28356 done
28365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
28366 $as_echo_n "checking for frexpf declaration... " >&6; }
28367 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
28368 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
28369 $as_echo_n "(cached) " >&6
28370 else
28373 ac_ext=cpp
28374 ac_cpp='$CXXCPP $CPPFLAGS'
28375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28380 /* end confdefs.h. */
28381 #include <math.h>
28383 main ()
28385 frexpf(0, 0);
28387 return 0;
28389 _ACEOF
28390 if ac_fn_cxx_try_compile "$LINENO"; then :
28391 glibcxx_cv_func_frexpf_use=yes
28392 else
28393 glibcxx_cv_func_frexpf_use=no
28395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28396 ac_ext=c
28397 ac_cpp='$CPP $CPPFLAGS'
28398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
28407 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
28409 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
28410 for ac_func in frexpf
28411 do :
28412 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
28413 if test "x$ac_cv_func_frexpf" = x""yes; then :
28414 cat >>confdefs.h <<_ACEOF
28415 #define HAVE_FREXPF 1
28416 _ACEOF
28419 done
28421 else
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
28424 $as_echo_n "checking for _frexpf declaration... " >&6; }
28425 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
28426 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
28427 $as_echo_n "(cached) " >&6
28428 else
28431 ac_ext=cpp
28432 ac_cpp='$CXXCPP $CPPFLAGS'
28433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28438 /* end confdefs.h. */
28439 #include <math.h>
28441 main ()
28443 _frexpf(0, 0);
28445 return 0;
28447 _ACEOF
28448 if ac_fn_cxx_try_compile "$LINENO"; then :
28449 glibcxx_cv_func__frexpf_use=yes
28450 else
28451 glibcxx_cv_func__frexpf_use=no
28453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28454 ac_ext=c
28455 ac_cpp='$CPP $CPPFLAGS'
28456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
28465 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
28467 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
28468 for ac_func in _frexpf
28469 do :
28470 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
28471 if test "x$ac_cv_func__frexpf" = x""yes; then :
28472 cat >>confdefs.h <<_ACEOF
28473 #define HAVE__FREXPF 1
28474 _ACEOF
28477 done
28486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
28487 $as_echo_n "checking for hypotf declaration... " >&6; }
28488 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
28489 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
28490 $as_echo_n "(cached) " >&6
28491 else
28494 ac_ext=cpp
28495 ac_cpp='$CXXCPP $CPPFLAGS'
28496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28501 /* end confdefs.h. */
28502 #include <math.h>
28504 main ()
28506 hypotf(0, 0);
28508 return 0;
28510 _ACEOF
28511 if ac_fn_cxx_try_compile "$LINENO"; then :
28512 glibcxx_cv_func_hypotf_use=yes
28513 else
28514 glibcxx_cv_func_hypotf_use=no
28516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28517 ac_ext=c
28518 ac_cpp='$CPP $CPPFLAGS'
28519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
28528 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
28530 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
28531 for ac_func in hypotf
28532 do :
28533 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
28534 if test "x$ac_cv_func_hypotf" = x""yes; then :
28535 cat >>confdefs.h <<_ACEOF
28536 #define HAVE_HYPOTF 1
28537 _ACEOF
28540 done
28542 else
28544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
28545 $as_echo_n "checking for _hypotf declaration... " >&6; }
28546 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
28547 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
28548 $as_echo_n "(cached) " >&6
28549 else
28552 ac_ext=cpp
28553 ac_cpp='$CXXCPP $CPPFLAGS'
28554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28559 /* end confdefs.h. */
28560 #include <math.h>
28562 main ()
28564 _hypotf(0, 0);
28566 return 0;
28568 _ACEOF
28569 if ac_fn_cxx_try_compile "$LINENO"; then :
28570 glibcxx_cv_func__hypotf_use=yes
28571 else
28572 glibcxx_cv_func__hypotf_use=no
28574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28575 ac_ext=c
28576 ac_cpp='$CPP $CPPFLAGS'
28577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
28586 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
28588 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
28589 for ac_func in _hypotf
28590 do :
28591 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
28592 if test "x$ac_cv_func__hypotf" = x""yes; then :
28593 cat >>confdefs.h <<_ACEOF
28594 #define HAVE__HYPOTF 1
28595 _ACEOF
28598 done
28607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
28608 $as_echo_n "checking for ldexpf declaration... " >&6; }
28609 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
28610 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
28611 $as_echo_n "(cached) " >&6
28612 else
28615 ac_ext=cpp
28616 ac_cpp='$CXXCPP $CPPFLAGS'
28617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28622 /* end confdefs.h. */
28623 #include <math.h>
28625 main ()
28627 ldexpf(0, 0);
28629 return 0;
28631 _ACEOF
28632 if ac_fn_cxx_try_compile "$LINENO"; then :
28633 glibcxx_cv_func_ldexpf_use=yes
28634 else
28635 glibcxx_cv_func_ldexpf_use=no
28637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28638 ac_ext=c
28639 ac_cpp='$CPP $CPPFLAGS'
28640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
28649 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
28651 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
28652 for ac_func in ldexpf
28653 do :
28654 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
28655 if test "x$ac_cv_func_ldexpf" = x""yes; then :
28656 cat >>confdefs.h <<_ACEOF
28657 #define HAVE_LDEXPF 1
28658 _ACEOF
28661 done
28663 else
28665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
28666 $as_echo_n "checking for _ldexpf declaration... " >&6; }
28667 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
28668 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
28669 $as_echo_n "(cached) " >&6
28670 else
28673 ac_ext=cpp
28674 ac_cpp='$CXXCPP $CPPFLAGS'
28675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28680 /* end confdefs.h. */
28681 #include <math.h>
28683 main ()
28685 _ldexpf(0, 0);
28687 return 0;
28689 _ACEOF
28690 if ac_fn_cxx_try_compile "$LINENO"; then :
28691 glibcxx_cv_func__ldexpf_use=yes
28692 else
28693 glibcxx_cv_func__ldexpf_use=no
28695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28696 ac_ext=c
28697 ac_cpp='$CPP $CPPFLAGS'
28698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
28707 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
28709 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
28710 for ac_func in _ldexpf
28711 do :
28712 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
28713 if test "x$ac_cv_func__ldexpf" = x""yes; then :
28714 cat >>confdefs.h <<_ACEOF
28715 #define HAVE__LDEXPF 1
28716 _ACEOF
28719 done
28728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
28729 $as_echo_n "checking for logf declaration... " >&6; }
28730 if test x${glibcxx_cv_func_logf_use+set} != xset; then
28731 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
28732 $as_echo_n "(cached) " >&6
28733 else
28736 ac_ext=cpp
28737 ac_cpp='$CXXCPP $CPPFLAGS'
28738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28743 /* end confdefs.h. */
28744 #include <math.h>
28745 #ifdef HAVE_IEEEFP_H
28746 #include <ieeefp.h>
28747 #endif
28750 main ()
28752 logf(0);
28754 return 0;
28756 _ACEOF
28757 if ac_fn_cxx_try_compile "$LINENO"; then :
28758 glibcxx_cv_func_logf_use=yes
28759 else
28760 glibcxx_cv_func_logf_use=no
28762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28763 ac_ext=c
28764 ac_cpp='$CPP $CPPFLAGS'
28765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
28774 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
28776 if test x$glibcxx_cv_func_logf_use = x"yes"; then
28777 for ac_func in logf
28778 do :
28779 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
28780 if test "x$ac_cv_func_logf" = x""yes; then :
28781 cat >>confdefs.h <<_ACEOF
28782 #define HAVE_LOGF 1
28783 _ACEOF
28786 done
28788 else
28790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
28791 $as_echo_n "checking for _logf declaration... " >&6; }
28792 if test x${glibcxx_cv_func__logf_use+set} != xset; then
28793 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
28794 $as_echo_n "(cached) " >&6
28795 else
28798 ac_ext=cpp
28799 ac_cpp='$CXXCPP $CPPFLAGS'
28800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28805 /* end confdefs.h. */
28806 #include <math.h>
28807 #ifdef HAVE_IEEEFP_H
28808 #include <ieeefp.h>
28809 #endif
28812 main ()
28814 _logf(0);
28816 return 0;
28818 _ACEOF
28819 if ac_fn_cxx_try_compile "$LINENO"; then :
28820 glibcxx_cv_func__logf_use=yes
28821 else
28822 glibcxx_cv_func__logf_use=no
28824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28825 ac_ext=c
28826 ac_cpp='$CPP $CPPFLAGS'
28827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
28836 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
28838 if test x$glibcxx_cv_func__logf_use = x"yes"; then
28839 for ac_func in _logf
28840 do :
28841 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
28842 if test "x$ac_cv_func__logf" = x""yes; then :
28843 cat >>confdefs.h <<_ACEOF
28844 #define HAVE__LOGF 1
28845 _ACEOF
28848 done
28857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
28858 $as_echo_n "checking for log10f declaration... " >&6; }
28859 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
28860 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
28861 $as_echo_n "(cached) " >&6
28862 else
28865 ac_ext=cpp
28866 ac_cpp='$CXXCPP $CPPFLAGS'
28867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28872 /* end confdefs.h. */
28873 #include <math.h>
28874 #ifdef HAVE_IEEEFP_H
28875 #include <ieeefp.h>
28876 #endif
28879 main ()
28881 log10f(0);
28883 return 0;
28885 _ACEOF
28886 if ac_fn_cxx_try_compile "$LINENO"; then :
28887 glibcxx_cv_func_log10f_use=yes
28888 else
28889 glibcxx_cv_func_log10f_use=no
28891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28892 ac_ext=c
28893 ac_cpp='$CPP $CPPFLAGS'
28894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
28903 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
28905 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
28906 for ac_func in log10f
28907 do :
28908 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
28909 if test "x$ac_cv_func_log10f" = x""yes; then :
28910 cat >>confdefs.h <<_ACEOF
28911 #define HAVE_LOG10F 1
28912 _ACEOF
28915 done
28917 else
28919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
28920 $as_echo_n "checking for _log10f declaration... " >&6; }
28921 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
28922 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
28923 $as_echo_n "(cached) " >&6
28924 else
28927 ac_ext=cpp
28928 ac_cpp='$CXXCPP $CPPFLAGS'
28929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28934 /* end confdefs.h. */
28935 #include <math.h>
28936 #ifdef HAVE_IEEEFP_H
28937 #include <ieeefp.h>
28938 #endif
28941 main ()
28943 _log10f(0);
28945 return 0;
28947 _ACEOF
28948 if ac_fn_cxx_try_compile "$LINENO"; then :
28949 glibcxx_cv_func__log10f_use=yes
28950 else
28951 glibcxx_cv_func__log10f_use=no
28953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28954 ac_ext=c
28955 ac_cpp='$CPP $CPPFLAGS'
28956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
28965 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
28967 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
28968 for ac_func in _log10f
28969 do :
28970 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
28971 if test "x$ac_cv_func__log10f" = x""yes; then :
28972 cat >>confdefs.h <<_ACEOF
28973 #define HAVE__LOG10F 1
28974 _ACEOF
28977 done
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
28987 $as_echo_n "checking for modff declaration... " >&6; }
28988 if test x${glibcxx_cv_func_modff_use+set} != xset; then
28989 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
28990 $as_echo_n "(cached) " >&6
28991 else
28994 ac_ext=cpp
28995 ac_cpp='$CXXCPP $CPPFLAGS'
28996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29001 /* end confdefs.h. */
29002 #include <math.h>
29004 main ()
29006 modff(0, 0);
29008 return 0;
29010 _ACEOF
29011 if ac_fn_cxx_try_compile "$LINENO"; then :
29012 glibcxx_cv_func_modff_use=yes
29013 else
29014 glibcxx_cv_func_modff_use=no
29016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29017 ac_ext=c
29018 ac_cpp='$CPP $CPPFLAGS'
29019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
29028 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
29030 if test x$glibcxx_cv_func_modff_use = x"yes"; then
29031 for ac_func in modff
29032 do :
29033 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
29034 if test "x$ac_cv_func_modff" = x""yes; then :
29035 cat >>confdefs.h <<_ACEOF
29036 #define HAVE_MODFF 1
29037 _ACEOF
29040 done
29042 else
29044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
29045 $as_echo_n "checking for _modff declaration... " >&6; }
29046 if test x${glibcxx_cv_func__modff_use+set} != xset; then
29047 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
29048 $as_echo_n "(cached) " >&6
29049 else
29052 ac_ext=cpp
29053 ac_cpp='$CXXCPP $CPPFLAGS'
29054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29059 /* end confdefs.h. */
29060 #include <math.h>
29062 main ()
29064 _modff(0, 0);
29066 return 0;
29068 _ACEOF
29069 if ac_fn_cxx_try_compile "$LINENO"; then :
29070 glibcxx_cv_func__modff_use=yes
29071 else
29072 glibcxx_cv_func__modff_use=no
29074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29075 ac_ext=c
29076 ac_cpp='$CPP $CPPFLAGS'
29077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
29086 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
29088 if test x$glibcxx_cv_func__modff_use = x"yes"; then
29089 for ac_func in _modff
29090 do :
29091 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
29092 if test "x$ac_cv_func__modff" = x""yes; then :
29093 cat >>confdefs.h <<_ACEOF
29094 #define HAVE__MODFF 1
29095 _ACEOF
29098 done
29107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
29108 $as_echo_n "checking for modf declaration... " >&6; }
29109 if test x${glibcxx_cv_func_modf_use+set} != xset; then
29110 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
29111 $as_echo_n "(cached) " >&6
29112 else
29115 ac_ext=cpp
29116 ac_cpp='$CXXCPP $CPPFLAGS'
29117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29122 /* end confdefs.h. */
29123 #include <math.h>
29125 main ()
29127 modf(0, 0);
29129 return 0;
29131 _ACEOF
29132 if ac_fn_cxx_try_compile "$LINENO"; then :
29133 glibcxx_cv_func_modf_use=yes
29134 else
29135 glibcxx_cv_func_modf_use=no
29137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29138 ac_ext=c
29139 ac_cpp='$CPP $CPPFLAGS'
29140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
29149 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
29151 if test x$glibcxx_cv_func_modf_use = x"yes"; then
29152 for ac_func in modf
29153 do :
29154 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
29155 if test "x$ac_cv_func_modf" = x""yes; then :
29156 cat >>confdefs.h <<_ACEOF
29157 #define HAVE_MODF 1
29158 _ACEOF
29161 done
29163 else
29165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
29166 $as_echo_n "checking for _modf declaration... " >&6; }
29167 if test x${glibcxx_cv_func__modf_use+set} != xset; then
29168 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
29169 $as_echo_n "(cached) " >&6
29170 else
29173 ac_ext=cpp
29174 ac_cpp='$CXXCPP $CPPFLAGS'
29175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29180 /* end confdefs.h. */
29181 #include <math.h>
29183 main ()
29185 _modf(0, 0);
29187 return 0;
29189 _ACEOF
29190 if ac_fn_cxx_try_compile "$LINENO"; then :
29191 glibcxx_cv_func__modf_use=yes
29192 else
29193 glibcxx_cv_func__modf_use=no
29195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29196 ac_ext=c
29197 ac_cpp='$CPP $CPPFLAGS'
29198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
29207 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
29209 if test x$glibcxx_cv_func__modf_use = x"yes"; then
29210 for ac_func in _modf
29211 do :
29212 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
29213 if test "x$ac_cv_func__modf" = x""yes; then :
29214 cat >>confdefs.h <<_ACEOF
29215 #define HAVE__MODF 1
29216 _ACEOF
29219 done
29228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
29229 $as_echo_n "checking for powf declaration... " >&6; }
29230 if test x${glibcxx_cv_func_powf_use+set} != xset; then
29231 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
29232 $as_echo_n "(cached) " >&6
29233 else
29236 ac_ext=cpp
29237 ac_cpp='$CXXCPP $CPPFLAGS'
29238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29243 /* end confdefs.h. */
29244 #include <math.h>
29246 main ()
29248 powf(0, 0);
29250 return 0;
29252 _ACEOF
29253 if ac_fn_cxx_try_compile "$LINENO"; then :
29254 glibcxx_cv_func_powf_use=yes
29255 else
29256 glibcxx_cv_func_powf_use=no
29258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29259 ac_ext=c
29260 ac_cpp='$CPP $CPPFLAGS'
29261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
29270 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
29272 if test x$glibcxx_cv_func_powf_use = x"yes"; then
29273 for ac_func in powf
29274 do :
29275 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
29276 if test "x$ac_cv_func_powf" = x""yes; then :
29277 cat >>confdefs.h <<_ACEOF
29278 #define HAVE_POWF 1
29279 _ACEOF
29282 done
29284 else
29286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
29287 $as_echo_n "checking for _powf declaration... " >&6; }
29288 if test x${glibcxx_cv_func__powf_use+set} != xset; then
29289 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
29290 $as_echo_n "(cached) " >&6
29291 else
29294 ac_ext=cpp
29295 ac_cpp='$CXXCPP $CPPFLAGS'
29296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29301 /* end confdefs.h. */
29302 #include <math.h>
29304 main ()
29306 _powf(0, 0);
29308 return 0;
29310 _ACEOF
29311 if ac_fn_cxx_try_compile "$LINENO"; then :
29312 glibcxx_cv_func__powf_use=yes
29313 else
29314 glibcxx_cv_func__powf_use=no
29316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29317 ac_ext=c
29318 ac_cpp='$CPP $CPPFLAGS'
29319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
29328 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
29330 if test x$glibcxx_cv_func__powf_use = x"yes"; then
29331 for ac_func in _powf
29332 do :
29333 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
29334 if test "x$ac_cv_func__powf" = x""yes; then :
29335 cat >>confdefs.h <<_ACEOF
29336 #define HAVE__POWF 1
29337 _ACEOF
29340 done
29349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
29350 $as_echo_n "checking for sqrtf declaration... " >&6; }
29351 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
29352 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
29353 $as_echo_n "(cached) " >&6
29354 else
29357 ac_ext=cpp
29358 ac_cpp='$CXXCPP $CPPFLAGS'
29359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29364 /* end confdefs.h. */
29365 #include <math.h>
29366 #ifdef HAVE_IEEEFP_H
29367 #include <ieeefp.h>
29368 #endif
29371 main ()
29373 sqrtf(0);
29375 return 0;
29377 _ACEOF
29378 if ac_fn_cxx_try_compile "$LINENO"; then :
29379 glibcxx_cv_func_sqrtf_use=yes
29380 else
29381 glibcxx_cv_func_sqrtf_use=no
29383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29384 ac_ext=c
29385 ac_cpp='$CPP $CPPFLAGS'
29386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
29395 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
29397 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
29398 for ac_func in sqrtf
29399 do :
29400 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
29401 if test "x$ac_cv_func_sqrtf" = x""yes; then :
29402 cat >>confdefs.h <<_ACEOF
29403 #define HAVE_SQRTF 1
29404 _ACEOF
29407 done
29409 else
29411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
29412 $as_echo_n "checking for _sqrtf declaration... " >&6; }
29413 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
29414 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
29415 $as_echo_n "(cached) " >&6
29416 else
29419 ac_ext=cpp
29420 ac_cpp='$CXXCPP $CPPFLAGS'
29421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29426 /* end confdefs.h. */
29427 #include <math.h>
29428 #ifdef HAVE_IEEEFP_H
29429 #include <ieeefp.h>
29430 #endif
29433 main ()
29435 _sqrtf(0);
29437 return 0;
29439 _ACEOF
29440 if ac_fn_cxx_try_compile "$LINENO"; then :
29441 glibcxx_cv_func__sqrtf_use=yes
29442 else
29443 glibcxx_cv_func__sqrtf_use=no
29445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29446 ac_ext=c
29447 ac_cpp='$CPP $CPPFLAGS'
29448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
29457 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
29459 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
29460 for ac_func in _sqrtf
29461 do :
29462 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
29463 if test "x$ac_cv_func__sqrtf" = x""yes; then :
29464 cat >>confdefs.h <<_ACEOF
29465 #define HAVE__SQRTF 1
29466 _ACEOF
29469 done
29478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
29479 $as_echo_n "checking for sincosf declaration... " >&6; }
29480 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
29481 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
29482 $as_echo_n "(cached) " >&6
29483 else
29486 ac_ext=cpp
29487 ac_cpp='$CXXCPP $CPPFLAGS'
29488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29493 /* end confdefs.h. */
29494 #include <math.h>
29496 main ()
29498 sincosf(0, 0, 0);
29500 return 0;
29502 _ACEOF
29503 if ac_fn_cxx_try_compile "$LINENO"; then :
29504 glibcxx_cv_func_sincosf_use=yes
29505 else
29506 glibcxx_cv_func_sincosf_use=no
29508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29509 ac_ext=c
29510 ac_cpp='$CPP $CPPFLAGS'
29511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
29520 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
29522 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
29523 for ac_func in sincosf
29524 do :
29525 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
29526 if test "x$ac_cv_func_sincosf" = x""yes; then :
29527 cat >>confdefs.h <<_ACEOF
29528 #define HAVE_SINCOSF 1
29529 _ACEOF
29532 done
29534 else
29536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
29537 $as_echo_n "checking for _sincosf declaration... " >&6; }
29538 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
29539 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
29540 $as_echo_n "(cached) " >&6
29541 else
29544 ac_ext=cpp
29545 ac_cpp='$CXXCPP $CPPFLAGS'
29546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29551 /* end confdefs.h. */
29552 #include <math.h>
29554 main ()
29556 _sincosf(0, 0, 0);
29558 return 0;
29560 _ACEOF
29561 if ac_fn_cxx_try_compile "$LINENO"; then :
29562 glibcxx_cv_func__sincosf_use=yes
29563 else
29564 glibcxx_cv_func__sincosf_use=no
29566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29567 ac_ext=c
29568 ac_cpp='$CPP $CPPFLAGS'
29569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
29578 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
29580 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
29581 for ac_func in _sincosf
29582 do :
29583 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
29584 if test "x$ac_cv_func__sincosf" = x""yes; then :
29585 cat >>confdefs.h <<_ACEOF
29586 #define HAVE__SINCOSF 1
29587 _ACEOF
29590 done
29599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
29600 $as_echo_n "checking for finitef declaration... " >&6; }
29601 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
29602 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
29603 $as_echo_n "(cached) " >&6
29604 else
29607 ac_ext=cpp
29608 ac_cpp='$CXXCPP $CPPFLAGS'
29609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29614 /* end confdefs.h. */
29615 #include <math.h>
29616 #ifdef HAVE_IEEEFP_H
29617 #include <ieeefp.h>
29618 #endif
29621 main ()
29623 finitef(0);
29625 return 0;
29627 _ACEOF
29628 if ac_fn_cxx_try_compile "$LINENO"; then :
29629 glibcxx_cv_func_finitef_use=yes
29630 else
29631 glibcxx_cv_func_finitef_use=no
29633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29634 ac_ext=c
29635 ac_cpp='$CPP $CPPFLAGS'
29636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
29645 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
29647 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
29648 for ac_func in finitef
29649 do :
29650 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
29651 if test "x$ac_cv_func_finitef" = x""yes; then :
29652 cat >>confdefs.h <<_ACEOF
29653 #define HAVE_FINITEF 1
29654 _ACEOF
29657 done
29659 else
29661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
29662 $as_echo_n "checking for _finitef declaration... " >&6; }
29663 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
29664 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
29665 $as_echo_n "(cached) " >&6
29666 else
29669 ac_ext=cpp
29670 ac_cpp='$CXXCPP $CPPFLAGS'
29671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29676 /* end confdefs.h. */
29677 #include <math.h>
29678 #ifdef HAVE_IEEEFP_H
29679 #include <ieeefp.h>
29680 #endif
29683 main ()
29685 _finitef(0);
29687 return 0;
29689 _ACEOF
29690 if ac_fn_cxx_try_compile "$LINENO"; then :
29691 glibcxx_cv_func__finitef_use=yes
29692 else
29693 glibcxx_cv_func__finitef_use=no
29695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29696 ac_ext=c
29697 ac_cpp='$CPP $CPPFLAGS'
29698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
29707 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
29709 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
29710 for ac_func in _finitef
29711 do :
29712 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
29713 if test "x$ac_cv_func__finitef" = x""yes; then :
29714 cat >>confdefs.h <<_ACEOF
29715 #define HAVE__FINITEF 1
29716 _ACEOF
29719 done
29728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
29729 $as_echo_n "checking for long double trig functions... " >&6; }
29730 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
29731 $as_echo_n "(cached) " >&6
29732 else
29735 ac_ext=cpp
29736 ac_cpp='$CXXCPP $CPPFLAGS'
29737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29742 /* end confdefs.h. */
29743 #include <math.h>
29745 main ()
29747 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
29749 return 0;
29751 _ACEOF
29752 if ac_fn_cxx_try_compile "$LINENO"; then :
29753 glibcxx_cv_func_long_double_trig_use=yes
29754 else
29755 glibcxx_cv_func_long_double_trig_use=no
29757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29758 ac_ext=c
29759 ac_cpp='$CPP $CPPFLAGS'
29760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
29767 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
29768 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29769 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29770 do :
29771 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29772 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29773 eval as_val=\$$as_ac_var
29774 if test "x$as_val" = x""yes; then :
29775 cat >>confdefs.h <<_ACEOF
29776 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29777 _ACEOF
29780 done
29782 else
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
29784 $as_echo_n "checking for _long double trig functions... " >&6; }
29785 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
29786 $as_echo_n "(cached) " >&6
29787 else
29790 ac_ext=cpp
29791 ac_cpp='$CXXCPP $CPPFLAGS'
29792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29797 /* end confdefs.h. */
29798 #include <math.h>
29800 main ()
29802 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29804 return 0;
29806 _ACEOF
29807 if ac_fn_cxx_try_compile "$LINENO"; then :
29808 glibcxx_cv_func__long_double_trig_use=yes
29809 else
29810 glibcxx_cv_func__long_double_trig_use=no
29812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29813 ac_ext=c
29814 ac_cpp='$CPP $CPPFLAGS'
29815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
29822 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
29823 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29824 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29825 do :
29826 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29827 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29828 eval as_val=\$$as_ac_var
29829 if test "x$as_val" = x""yes; then :
29830 cat >>confdefs.h <<_ACEOF
29831 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29832 _ACEOF
29835 done
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
29845 $as_echo_n "checking for long double round functions... " >&6; }
29846 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
29847 $as_echo_n "(cached) " >&6
29848 else
29851 ac_ext=cpp
29852 ac_cpp='$CXXCPP $CPPFLAGS'
29853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29858 /* end confdefs.h. */
29859 #include <math.h>
29861 main ()
29863 ceill (0); floorl (0);
29865 return 0;
29867 _ACEOF
29868 if ac_fn_cxx_try_compile "$LINENO"; then :
29869 glibcxx_cv_func_long_double_round_use=yes
29870 else
29871 glibcxx_cv_func_long_double_round_use=no
29873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29874 ac_ext=c
29875 ac_cpp='$CPP $CPPFLAGS'
29876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
29883 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
29884 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29885 for ac_func in ceill floorl
29886 do :
29887 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29888 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29889 eval as_val=\$$as_ac_var
29890 if test "x$as_val" = x""yes; then :
29891 cat >>confdefs.h <<_ACEOF
29892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29893 _ACEOF
29896 done
29898 else
29899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
29900 $as_echo_n "checking for _long double round functions... " >&6; }
29901 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
29902 $as_echo_n "(cached) " >&6
29903 else
29906 ac_ext=cpp
29907 ac_cpp='$CXXCPP $CPPFLAGS'
29908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29913 /* end confdefs.h. */
29914 #include <math.h>
29916 main ()
29918 _ceill (0); _floorl (0);
29920 return 0;
29922 _ACEOF
29923 if ac_fn_cxx_try_compile "$LINENO"; then :
29924 glibcxx_cv_func__long_double_round_use=yes
29925 else
29926 glibcxx_cv_func__long_double_round_use=no
29928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29929 ac_ext=c
29930 ac_cpp='$CPP $CPPFLAGS'
29931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
29938 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
29939 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29940 for ac_func in _ceill _floorl
29941 do :
29942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29944 eval as_val=\$$as_ac_var
29945 if test "x$as_val" = x""yes; then :
29946 cat >>confdefs.h <<_ACEOF
29947 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29948 _ACEOF
29951 done
29961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
29962 $as_echo_n "checking for isnanl declaration... " >&6; }
29963 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29964 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
29965 $as_echo_n "(cached) " >&6
29966 else
29969 ac_ext=cpp
29970 ac_cpp='$CXXCPP $CPPFLAGS'
29971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29976 /* end confdefs.h. */
29977 #include <math.h>
29978 #ifdef HAVE_IEEEFP_H
29979 #include <ieeefp.h>
29980 #endif
29983 main ()
29985 isnanl(0);
29987 return 0;
29989 _ACEOF
29990 if ac_fn_cxx_try_compile "$LINENO"; then :
29991 glibcxx_cv_func_isnanl_use=yes
29992 else
29993 glibcxx_cv_func_isnanl_use=no
29995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29996 ac_ext=c
29997 ac_cpp='$CPP $CPPFLAGS'
29998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
30007 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
30009 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
30010 for ac_func in isnanl
30011 do :
30012 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
30013 if test "x$ac_cv_func_isnanl" = x""yes; then :
30014 cat >>confdefs.h <<_ACEOF
30015 #define HAVE_ISNANL 1
30016 _ACEOF
30019 done
30021 else
30023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
30024 $as_echo_n "checking for _isnanl declaration... " >&6; }
30025 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
30026 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
30027 $as_echo_n "(cached) " >&6
30028 else
30031 ac_ext=cpp
30032 ac_cpp='$CXXCPP $CPPFLAGS'
30033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30038 /* end confdefs.h. */
30039 #include <math.h>
30040 #ifdef HAVE_IEEEFP_H
30041 #include <ieeefp.h>
30042 #endif
30045 main ()
30047 _isnanl(0);
30049 return 0;
30051 _ACEOF
30052 if ac_fn_cxx_try_compile "$LINENO"; then :
30053 glibcxx_cv_func__isnanl_use=yes
30054 else
30055 glibcxx_cv_func__isnanl_use=no
30057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30058 ac_ext=c
30059 ac_cpp='$CPP $CPPFLAGS'
30060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
30069 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
30071 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
30072 for ac_func in _isnanl
30073 do :
30074 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
30075 if test "x$ac_cv_func__isnanl" = x""yes; then :
30076 cat >>confdefs.h <<_ACEOF
30077 #define HAVE__ISNANL 1
30078 _ACEOF
30081 done
30090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
30091 $as_echo_n "checking for isinfl declaration... " >&6; }
30092 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30093 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
30094 $as_echo_n "(cached) " >&6
30095 else
30098 ac_ext=cpp
30099 ac_cpp='$CXXCPP $CPPFLAGS'
30100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30105 /* end confdefs.h. */
30106 #include <math.h>
30107 #ifdef HAVE_IEEEFP_H
30108 #include <ieeefp.h>
30109 #endif
30112 main ()
30114 isinfl(0);
30116 return 0;
30118 _ACEOF
30119 if ac_fn_cxx_try_compile "$LINENO"; then :
30120 glibcxx_cv_func_isinfl_use=yes
30121 else
30122 glibcxx_cv_func_isinfl_use=no
30124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30125 ac_ext=c
30126 ac_cpp='$CPP $CPPFLAGS'
30127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
30136 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
30138 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30139 for ac_func in isinfl
30140 do :
30141 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
30142 if test "x$ac_cv_func_isinfl" = x""yes; then :
30143 cat >>confdefs.h <<_ACEOF
30144 #define HAVE_ISINFL 1
30145 _ACEOF
30148 done
30150 else
30152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
30153 $as_echo_n "checking for _isinfl declaration... " >&6; }
30154 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30155 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
30156 $as_echo_n "(cached) " >&6
30157 else
30160 ac_ext=cpp
30161 ac_cpp='$CXXCPP $CPPFLAGS'
30162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30167 /* end confdefs.h. */
30168 #include <math.h>
30169 #ifdef HAVE_IEEEFP_H
30170 #include <ieeefp.h>
30171 #endif
30174 main ()
30176 _isinfl(0);
30178 return 0;
30180 _ACEOF
30181 if ac_fn_cxx_try_compile "$LINENO"; then :
30182 glibcxx_cv_func__isinfl_use=yes
30183 else
30184 glibcxx_cv_func__isinfl_use=no
30186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30187 ac_ext=c
30188 ac_cpp='$CPP $CPPFLAGS'
30189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
30198 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
30200 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30201 for ac_func in _isinfl
30202 do :
30203 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
30204 if test "x$ac_cv_func__isinfl" = x""yes; then :
30205 cat >>confdefs.h <<_ACEOF
30206 #define HAVE__ISINFL 1
30207 _ACEOF
30210 done
30219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
30220 $as_echo_n "checking for atan2l declaration... " >&6; }
30221 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30222 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
30223 $as_echo_n "(cached) " >&6
30224 else
30227 ac_ext=cpp
30228 ac_cpp='$CXXCPP $CPPFLAGS'
30229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30234 /* end confdefs.h. */
30235 #include <math.h>
30237 main ()
30239 atan2l(0, 0);
30241 return 0;
30243 _ACEOF
30244 if ac_fn_cxx_try_compile "$LINENO"; then :
30245 glibcxx_cv_func_atan2l_use=yes
30246 else
30247 glibcxx_cv_func_atan2l_use=no
30249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30250 ac_ext=c
30251 ac_cpp='$CPP $CPPFLAGS'
30252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
30261 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
30263 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30264 for ac_func in atan2l
30265 do :
30266 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
30267 if test "x$ac_cv_func_atan2l" = x""yes; then :
30268 cat >>confdefs.h <<_ACEOF
30269 #define HAVE_ATAN2L 1
30270 _ACEOF
30273 done
30275 else
30277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
30278 $as_echo_n "checking for _atan2l declaration... " >&6; }
30279 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
30280 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
30281 $as_echo_n "(cached) " >&6
30282 else
30285 ac_ext=cpp
30286 ac_cpp='$CXXCPP $CPPFLAGS'
30287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30292 /* end confdefs.h. */
30293 #include <math.h>
30295 main ()
30297 _atan2l(0, 0);
30299 return 0;
30301 _ACEOF
30302 if ac_fn_cxx_try_compile "$LINENO"; then :
30303 glibcxx_cv_func__atan2l_use=yes
30304 else
30305 glibcxx_cv_func__atan2l_use=no
30307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30308 ac_ext=c
30309 ac_cpp='$CPP $CPPFLAGS'
30310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
30319 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
30321 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
30322 for ac_func in _atan2l
30323 do :
30324 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
30325 if test "x$ac_cv_func__atan2l" = x""yes; then :
30326 cat >>confdefs.h <<_ACEOF
30327 #define HAVE__ATAN2L 1
30328 _ACEOF
30331 done
30340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
30341 $as_echo_n "checking for expl declaration... " >&6; }
30342 if test x${glibcxx_cv_func_expl_use+set} != xset; then
30343 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
30344 $as_echo_n "(cached) " >&6
30345 else
30348 ac_ext=cpp
30349 ac_cpp='$CXXCPP $CPPFLAGS'
30350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30355 /* end confdefs.h. */
30356 #include <math.h>
30357 #ifdef HAVE_IEEEFP_H
30358 #include <ieeefp.h>
30359 #endif
30362 main ()
30364 expl(0);
30366 return 0;
30368 _ACEOF
30369 if ac_fn_cxx_try_compile "$LINENO"; then :
30370 glibcxx_cv_func_expl_use=yes
30371 else
30372 glibcxx_cv_func_expl_use=no
30374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30375 ac_ext=c
30376 ac_cpp='$CPP $CPPFLAGS'
30377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
30386 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
30388 if test x$glibcxx_cv_func_expl_use = x"yes"; then
30389 for ac_func in expl
30390 do :
30391 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
30392 if test "x$ac_cv_func_expl" = x""yes; then :
30393 cat >>confdefs.h <<_ACEOF
30394 #define HAVE_EXPL 1
30395 _ACEOF
30398 done
30400 else
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
30403 $as_echo_n "checking for _expl declaration... " >&6; }
30404 if test x${glibcxx_cv_func__expl_use+set} != xset; then
30405 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
30406 $as_echo_n "(cached) " >&6
30407 else
30410 ac_ext=cpp
30411 ac_cpp='$CXXCPP $CPPFLAGS'
30412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30417 /* end confdefs.h. */
30418 #include <math.h>
30419 #ifdef HAVE_IEEEFP_H
30420 #include <ieeefp.h>
30421 #endif
30424 main ()
30426 _expl(0);
30428 return 0;
30430 _ACEOF
30431 if ac_fn_cxx_try_compile "$LINENO"; then :
30432 glibcxx_cv_func__expl_use=yes
30433 else
30434 glibcxx_cv_func__expl_use=no
30436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30437 ac_ext=c
30438 ac_cpp='$CPP $CPPFLAGS'
30439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
30448 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
30450 if test x$glibcxx_cv_func__expl_use = x"yes"; then
30451 for ac_func in _expl
30452 do :
30453 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
30454 if test "x$ac_cv_func__expl" = x""yes; then :
30455 cat >>confdefs.h <<_ACEOF
30456 #define HAVE__EXPL 1
30457 _ACEOF
30460 done
30469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
30470 $as_echo_n "checking for fabsl declaration... " >&6; }
30471 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
30472 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
30473 $as_echo_n "(cached) " >&6
30474 else
30477 ac_ext=cpp
30478 ac_cpp='$CXXCPP $CPPFLAGS'
30479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30484 /* end confdefs.h. */
30485 #include <math.h>
30486 #ifdef HAVE_IEEEFP_H
30487 #include <ieeefp.h>
30488 #endif
30491 main ()
30493 fabsl(0);
30495 return 0;
30497 _ACEOF
30498 if ac_fn_cxx_try_compile "$LINENO"; then :
30499 glibcxx_cv_func_fabsl_use=yes
30500 else
30501 glibcxx_cv_func_fabsl_use=no
30503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30504 ac_ext=c
30505 ac_cpp='$CPP $CPPFLAGS'
30506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
30515 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
30517 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
30518 for ac_func in fabsl
30519 do :
30520 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
30521 if test "x$ac_cv_func_fabsl" = x""yes; then :
30522 cat >>confdefs.h <<_ACEOF
30523 #define HAVE_FABSL 1
30524 _ACEOF
30527 done
30529 else
30531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
30532 $as_echo_n "checking for _fabsl declaration... " >&6; }
30533 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
30534 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
30535 $as_echo_n "(cached) " >&6
30536 else
30539 ac_ext=cpp
30540 ac_cpp='$CXXCPP $CPPFLAGS'
30541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30546 /* end confdefs.h. */
30547 #include <math.h>
30548 #ifdef HAVE_IEEEFP_H
30549 #include <ieeefp.h>
30550 #endif
30553 main ()
30555 _fabsl(0);
30557 return 0;
30559 _ACEOF
30560 if ac_fn_cxx_try_compile "$LINENO"; then :
30561 glibcxx_cv_func__fabsl_use=yes
30562 else
30563 glibcxx_cv_func__fabsl_use=no
30565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30566 ac_ext=c
30567 ac_cpp='$CPP $CPPFLAGS'
30568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
30577 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
30579 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
30580 for ac_func in _fabsl
30581 do :
30582 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
30583 if test "x$ac_cv_func__fabsl" = x""yes; then :
30584 cat >>confdefs.h <<_ACEOF
30585 #define HAVE__FABSL 1
30586 _ACEOF
30589 done
30598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
30599 $as_echo_n "checking for fmodl declaration... " >&6; }
30600 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
30601 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
30602 $as_echo_n "(cached) " >&6
30603 else
30606 ac_ext=cpp
30607 ac_cpp='$CXXCPP $CPPFLAGS'
30608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30613 /* end confdefs.h. */
30614 #include <math.h>
30616 main ()
30618 fmodl(0, 0);
30620 return 0;
30622 _ACEOF
30623 if ac_fn_cxx_try_compile "$LINENO"; then :
30624 glibcxx_cv_func_fmodl_use=yes
30625 else
30626 glibcxx_cv_func_fmodl_use=no
30628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30629 ac_ext=c
30630 ac_cpp='$CPP $CPPFLAGS'
30631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
30640 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
30642 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
30643 for ac_func in fmodl
30644 do :
30645 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
30646 if test "x$ac_cv_func_fmodl" = x""yes; then :
30647 cat >>confdefs.h <<_ACEOF
30648 #define HAVE_FMODL 1
30649 _ACEOF
30652 done
30654 else
30656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
30657 $as_echo_n "checking for _fmodl declaration... " >&6; }
30658 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
30659 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
30660 $as_echo_n "(cached) " >&6
30661 else
30664 ac_ext=cpp
30665 ac_cpp='$CXXCPP $CPPFLAGS'
30666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30671 /* end confdefs.h. */
30672 #include <math.h>
30674 main ()
30676 _fmodl(0, 0);
30678 return 0;
30680 _ACEOF
30681 if ac_fn_cxx_try_compile "$LINENO"; then :
30682 glibcxx_cv_func__fmodl_use=yes
30683 else
30684 glibcxx_cv_func__fmodl_use=no
30686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30687 ac_ext=c
30688 ac_cpp='$CPP $CPPFLAGS'
30689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
30698 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
30700 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
30701 for ac_func in _fmodl
30702 do :
30703 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
30704 if test "x$ac_cv_func__fmodl" = x""yes; then :
30705 cat >>confdefs.h <<_ACEOF
30706 #define HAVE__FMODL 1
30707 _ACEOF
30710 done
30719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
30720 $as_echo_n "checking for frexpl declaration... " >&6; }
30721 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
30722 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
30723 $as_echo_n "(cached) " >&6
30724 else
30727 ac_ext=cpp
30728 ac_cpp='$CXXCPP $CPPFLAGS'
30729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30734 /* end confdefs.h. */
30735 #include <math.h>
30737 main ()
30739 frexpl(0, 0);
30741 return 0;
30743 _ACEOF
30744 if ac_fn_cxx_try_compile "$LINENO"; then :
30745 glibcxx_cv_func_frexpl_use=yes
30746 else
30747 glibcxx_cv_func_frexpl_use=no
30749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30750 ac_ext=c
30751 ac_cpp='$CPP $CPPFLAGS'
30752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
30761 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
30763 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
30764 for ac_func in frexpl
30765 do :
30766 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
30767 if test "x$ac_cv_func_frexpl" = x""yes; then :
30768 cat >>confdefs.h <<_ACEOF
30769 #define HAVE_FREXPL 1
30770 _ACEOF
30773 done
30775 else
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
30778 $as_echo_n "checking for _frexpl declaration... " >&6; }
30779 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
30780 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
30781 $as_echo_n "(cached) " >&6
30782 else
30785 ac_ext=cpp
30786 ac_cpp='$CXXCPP $CPPFLAGS'
30787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30792 /* end confdefs.h. */
30793 #include <math.h>
30795 main ()
30797 _frexpl(0, 0);
30799 return 0;
30801 _ACEOF
30802 if ac_fn_cxx_try_compile "$LINENO"; then :
30803 glibcxx_cv_func__frexpl_use=yes
30804 else
30805 glibcxx_cv_func__frexpl_use=no
30807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30808 ac_ext=c
30809 ac_cpp='$CPP $CPPFLAGS'
30810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
30819 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
30821 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
30822 for ac_func in _frexpl
30823 do :
30824 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
30825 if test "x$ac_cv_func__frexpl" = x""yes; then :
30826 cat >>confdefs.h <<_ACEOF
30827 #define HAVE__FREXPL 1
30828 _ACEOF
30831 done
30840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
30841 $as_echo_n "checking for hypotl declaration... " >&6; }
30842 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
30843 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
30844 $as_echo_n "(cached) " >&6
30845 else
30848 ac_ext=cpp
30849 ac_cpp='$CXXCPP $CPPFLAGS'
30850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30855 /* end confdefs.h. */
30856 #include <math.h>
30858 main ()
30860 hypotl(0, 0);
30862 return 0;
30864 _ACEOF
30865 if ac_fn_cxx_try_compile "$LINENO"; then :
30866 glibcxx_cv_func_hypotl_use=yes
30867 else
30868 glibcxx_cv_func_hypotl_use=no
30870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30871 ac_ext=c
30872 ac_cpp='$CPP $CPPFLAGS'
30873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
30882 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
30884 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
30885 for ac_func in hypotl
30886 do :
30887 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
30888 if test "x$ac_cv_func_hypotl" = x""yes; then :
30889 cat >>confdefs.h <<_ACEOF
30890 #define HAVE_HYPOTL 1
30891 _ACEOF
30894 done
30896 else
30898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
30899 $as_echo_n "checking for _hypotl declaration... " >&6; }
30900 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
30901 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
30902 $as_echo_n "(cached) " >&6
30903 else
30906 ac_ext=cpp
30907 ac_cpp='$CXXCPP $CPPFLAGS'
30908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30913 /* end confdefs.h. */
30914 #include <math.h>
30916 main ()
30918 _hypotl(0, 0);
30920 return 0;
30922 _ACEOF
30923 if ac_fn_cxx_try_compile "$LINENO"; then :
30924 glibcxx_cv_func__hypotl_use=yes
30925 else
30926 glibcxx_cv_func__hypotl_use=no
30928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30929 ac_ext=c
30930 ac_cpp='$CPP $CPPFLAGS'
30931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
30940 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
30942 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
30943 for ac_func in _hypotl
30944 do :
30945 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
30946 if test "x$ac_cv_func__hypotl" = x""yes; then :
30947 cat >>confdefs.h <<_ACEOF
30948 #define HAVE__HYPOTL 1
30949 _ACEOF
30952 done
30961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
30962 $as_echo_n "checking for ldexpl declaration... " >&6; }
30963 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
30964 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
30965 $as_echo_n "(cached) " >&6
30966 else
30969 ac_ext=cpp
30970 ac_cpp='$CXXCPP $CPPFLAGS'
30971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30976 /* end confdefs.h. */
30977 #include <math.h>
30979 main ()
30981 ldexpl(0, 0);
30983 return 0;
30985 _ACEOF
30986 if ac_fn_cxx_try_compile "$LINENO"; then :
30987 glibcxx_cv_func_ldexpl_use=yes
30988 else
30989 glibcxx_cv_func_ldexpl_use=no
30991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30992 ac_ext=c
30993 ac_cpp='$CPP $CPPFLAGS'
30994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31003 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31005 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
31006 for ac_func in ldexpl
31007 do :
31008 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
31009 if test "x$ac_cv_func_ldexpl" = x""yes; then :
31010 cat >>confdefs.h <<_ACEOF
31011 #define HAVE_LDEXPL 1
31012 _ACEOF
31015 done
31017 else
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
31020 $as_echo_n "checking for _ldexpl declaration... " >&6; }
31021 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
31022 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
31023 $as_echo_n "(cached) " >&6
31024 else
31027 ac_ext=cpp
31028 ac_cpp='$CXXCPP $CPPFLAGS'
31029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31034 /* end confdefs.h. */
31035 #include <math.h>
31037 main ()
31039 _ldexpl(0, 0);
31041 return 0;
31043 _ACEOF
31044 if ac_fn_cxx_try_compile "$LINENO"; then :
31045 glibcxx_cv_func__ldexpl_use=yes
31046 else
31047 glibcxx_cv_func__ldexpl_use=no
31049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31050 ac_ext=c
31051 ac_cpp='$CPP $CPPFLAGS'
31052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
31061 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
31063 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
31064 for ac_func in _ldexpl
31065 do :
31066 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
31067 if test "x$ac_cv_func__ldexpl" = x""yes; then :
31068 cat >>confdefs.h <<_ACEOF
31069 #define HAVE__LDEXPL 1
31070 _ACEOF
31073 done
31082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
31083 $as_echo_n "checking for logl declaration... " >&6; }
31084 if test x${glibcxx_cv_func_logl_use+set} != xset; then
31085 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
31086 $as_echo_n "(cached) " >&6
31087 else
31090 ac_ext=cpp
31091 ac_cpp='$CXXCPP $CPPFLAGS'
31092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31097 /* end confdefs.h. */
31098 #include <math.h>
31099 #ifdef HAVE_IEEEFP_H
31100 #include <ieeefp.h>
31101 #endif
31104 main ()
31106 logl(0);
31108 return 0;
31110 _ACEOF
31111 if ac_fn_cxx_try_compile "$LINENO"; then :
31112 glibcxx_cv_func_logl_use=yes
31113 else
31114 glibcxx_cv_func_logl_use=no
31116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31117 ac_ext=c
31118 ac_cpp='$CPP $CPPFLAGS'
31119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
31128 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
31130 if test x$glibcxx_cv_func_logl_use = x"yes"; then
31131 for ac_func in logl
31132 do :
31133 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
31134 if test "x$ac_cv_func_logl" = x""yes; then :
31135 cat >>confdefs.h <<_ACEOF
31136 #define HAVE_LOGL 1
31137 _ACEOF
31140 done
31142 else
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
31145 $as_echo_n "checking for _logl declaration... " >&6; }
31146 if test x${glibcxx_cv_func__logl_use+set} != xset; then
31147 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
31148 $as_echo_n "(cached) " >&6
31149 else
31152 ac_ext=cpp
31153 ac_cpp='$CXXCPP $CPPFLAGS'
31154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31159 /* end confdefs.h. */
31160 #include <math.h>
31161 #ifdef HAVE_IEEEFP_H
31162 #include <ieeefp.h>
31163 #endif
31166 main ()
31168 _logl(0);
31170 return 0;
31172 _ACEOF
31173 if ac_fn_cxx_try_compile "$LINENO"; then :
31174 glibcxx_cv_func__logl_use=yes
31175 else
31176 glibcxx_cv_func__logl_use=no
31178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31179 ac_ext=c
31180 ac_cpp='$CPP $CPPFLAGS'
31181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
31190 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
31192 if test x$glibcxx_cv_func__logl_use = x"yes"; then
31193 for ac_func in _logl
31194 do :
31195 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
31196 if test "x$ac_cv_func__logl" = x""yes; then :
31197 cat >>confdefs.h <<_ACEOF
31198 #define HAVE__LOGL 1
31199 _ACEOF
31202 done
31211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
31212 $as_echo_n "checking for log10l declaration... " >&6; }
31213 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
31214 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
31215 $as_echo_n "(cached) " >&6
31216 else
31219 ac_ext=cpp
31220 ac_cpp='$CXXCPP $CPPFLAGS'
31221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31226 /* end confdefs.h. */
31227 #include <math.h>
31228 #ifdef HAVE_IEEEFP_H
31229 #include <ieeefp.h>
31230 #endif
31233 main ()
31235 log10l(0);
31237 return 0;
31239 _ACEOF
31240 if ac_fn_cxx_try_compile "$LINENO"; then :
31241 glibcxx_cv_func_log10l_use=yes
31242 else
31243 glibcxx_cv_func_log10l_use=no
31245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31246 ac_ext=c
31247 ac_cpp='$CPP $CPPFLAGS'
31248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
31257 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
31259 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
31260 for ac_func in log10l
31261 do :
31262 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
31263 if test "x$ac_cv_func_log10l" = x""yes; then :
31264 cat >>confdefs.h <<_ACEOF
31265 #define HAVE_LOG10L 1
31266 _ACEOF
31269 done
31271 else
31273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
31274 $as_echo_n "checking for _log10l declaration... " >&6; }
31275 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
31276 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
31277 $as_echo_n "(cached) " >&6
31278 else
31281 ac_ext=cpp
31282 ac_cpp='$CXXCPP $CPPFLAGS'
31283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31288 /* end confdefs.h. */
31289 #include <math.h>
31290 #ifdef HAVE_IEEEFP_H
31291 #include <ieeefp.h>
31292 #endif
31295 main ()
31297 _log10l(0);
31299 return 0;
31301 _ACEOF
31302 if ac_fn_cxx_try_compile "$LINENO"; then :
31303 glibcxx_cv_func__log10l_use=yes
31304 else
31305 glibcxx_cv_func__log10l_use=no
31307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31308 ac_ext=c
31309 ac_cpp='$CPP $CPPFLAGS'
31310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
31319 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
31321 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
31322 for ac_func in _log10l
31323 do :
31324 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
31325 if test "x$ac_cv_func__log10l" = x""yes; then :
31326 cat >>confdefs.h <<_ACEOF
31327 #define HAVE__LOG10L 1
31328 _ACEOF
31331 done
31340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
31341 $as_echo_n "checking for modfl declaration... " >&6; }
31342 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
31343 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
31344 $as_echo_n "(cached) " >&6
31345 else
31348 ac_ext=cpp
31349 ac_cpp='$CXXCPP $CPPFLAGS'
31350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31355 /* end confdefs.h. */
31356 #include <math.h>
31358 main ()
31360 modfl(0, 0);
31362 return 0;
31364 _ACEOF
31365 if ac_fn_cxx_try_compile "$LINENO"; then :
31366 glibcxx_cv_func_modfl_use=yes
31367 else
31368 glibcxx_cv_func_modfl_use=no
31370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31371 ac_ext=c
31372 ac_cpp='$CPP $CPPFLAGS'
31373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
31382 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
31384 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
31385 for ac_func in modfl
31386 do :
31387 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
31388 if test "x$ac_cv_func_modfl" = x""yes; then :
31389 cat >>confdefs.h <<_ACEOF
31390 #define HAVE_MODFL 1
31391 _ACEOF
31394 done
31396 else
31398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
31399 $as_echo_n "checking for _modfl declaration... " >&6; }
31400 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
31401 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
31402 $as_echo_n "(cached) " >&6
31403 else
31406 ac_ext=cpp
31407 ac_cpp='$CXXCPP $CPPFLAGS'
31408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31413 /* end confdefs.h. */
31414 #include <math.h>
31416 main ()
31418 _modfl(0, 0);
31420 return 0;
31422 _ACEOF
31423 if ac_fn_cxx_try_compile "$LINENO"; then :
31424 glibcxx_cv_func__modfl_use=yes
31425 else
31426 glibcxx_cv_func__modfl_use=no
31428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31429 ac_ext=c
31430 ac_cpp='$CPP $CPPFLAGS'
31431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
31440 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
31442 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
31443 for ac_func in _modfl
31444 do :
31445 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
31446 if test "x$ac_cv_func__modfl" = x""yes; then :
31447 cat >>confdefs.h <<_ACEOF
31448 #define HAVE__MODFL 1
31449 _ACEOF
31452 done
31461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
31462 $as_echo_n "checking for powl declaration... " >&6; }
31463 if test x${glibcxx_cv_func_powl_use+set} != xset; then
31464 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
31465 $as_echo_n "(cached) " >&6
31466 else
31469 ac_ext=cpp
31470 ac_cpp='$CXXCPP $CPPFLAGS'
31471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31476 /* end confdefs.h. */
31477 #include <math.h>
31479 main ()
31481 powl(0, 0);
31483 return 0;
31485 _ACEOF
31486 if ac_fn_cxx_try_compile "$LINENO"; then :
31487 glibcxx_cv_func_powl_use=yes
31488 else
31489 glibcxx_cv_func_powl_use=no
31491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31492 ac_ext=c
31493 ac_cpp='$CPP $CPPFLAGS'
31494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
31503 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
31505 if test x$glibcxx_cv_func_powl_use = x"yes"; then
31506 for ac_func in powl
31507 do :
31508 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
31509 if test "x$ac_cv_func_powl" = x""yes; then :
31510 cat >>confdefs.h <<_ACEOF
31511 #define HAVE_POWL 1
31512 _ACEOF
31515 done
31517 else
31519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
31520 $as_echo_n "checking for _powl declaration... " >&6; }
31521 if test x${glibcxx_cv_func__powl_use+set} != xset; then
31522 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
31523 $as_echo_n "(cached) " >&6
31524 else
31527 ac_ext=cpp
31528 ac_cpp='$CXXCPP $CPPFLAGS'
31529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31534 /* end confdefs.h. */
31535 #include <math.h>
31537 main ()
31539 _powl(0, 0);
31541 return 0;
31543 _ACEOF
31544 if ac_fn_cxx_try_compile "$LINENO"; then :
31545 glibcxx_cv_func__powl_use=yes
31546 else
31547 glibcxx_cv_func__powl_use=no
31549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31550 ac_ext=c
31551 ac_cpp='$CPP $CPPFLAGS'
31552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
31561 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
31563 if test x$glibcxx_cv_func__powl_use = x"yes"; then
31564 for ac_func in _powl
31565 do :
31566 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
31567 if test "x$ac_cv_func__powl" = x""yes; then :
31568 cat >>confdefs.h <<_ACEOF
31569 #define HAVE__POWL 1
31570 _ACEOF
31573 done
31582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
31583 $as_echo_n "checking for sqrtl declaration... " >&6; }
31584 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
31585 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
31586 $as_echo_n "(cached) " >&6
31587 else
31590 ac_ext=cpp
31591 ac_cpp='$CXXCPP $CPPFLAGS'
31592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31597 /* end confdefs.h. */
31598 #include <math.h>
31599 #ifdef HAVE_IEEEFP_H
31600 #include <ieeefp.h>
31601 #endif
31604 main ()
31606 sqrtl(0);
31608 return 0;
31610 _ACEOF
31611 if ac_fn_cxx_try_compile "$LINENO"; then :
31612 glibcxx_cv_func_sqrtl_use=yes
31613 else
31614 glibcxx_cv_func_sqrtl_use=no
31616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31617 ac_ext=c
31618 ac_cpp='$CPP $CPPFLAGS'
31619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
31628 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
31630 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
31631 for ac_func in sqrtl
31632 do :
31633 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
31634 if test "x$ac_cv_func_sqrtl" = x""yes; then :
31635 cat >>confdefs.h <<_ACEOF
31636 #define HAVE_SQRTL 1
31637 _ACEOF
31640 done
31642 else
31644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
31645 $as_echo_n "checking for _sqrtl declaration... " >&6; }
31646 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
31647 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
31648 $as_echo_n "(cached) " >&6
31649 else
31652 ac_ext=cpp
31653 ac_cpp='$CXXCPP $CPPFLAGS'
31654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31659 /* end confdefs.h. */
31660 #include <math.h>
31661 #ifdef HAVE_IEEEFP_H
31662 #include <ieeefp.h>
31663 #endif
31666 main ()
31668 _sqrtl(0);
31670 return 0;
31672 _ACEOF
31673 if ac_fn_cxx_try_compile "$LINENO"; then :
31674 glibcxx_cv_func__sqrtl_use=yes
31675 else
31676 glibcxx_cv_func__sqrtl_use=no
31678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31679 ac_ext=c
31680 ac_cpp='$CPP $CPPFLAGS'
31681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
31690 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
31692 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
31693 for ac_func in _sqrtl
31694 do :
31695 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
31696 if test "x$ac_cv_func__sqrtl" = x""yes; then :
31697 cat >>confdefs.h <<_ACEOF
31698 #define HAVE__SQRTL 1
31699 _ACEOF
31702 done
31711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
31712 $as_echo_n "checking for sincosl declaration... " >&6; }
31713 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
31714 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
31715 $as_echo_n "(cached) " >&6
31716 else
31719 ac_ext=cpp
31720 ac_cpp='$CXXCPP $CPPFLAGS'
31721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31726 /* end confdefs.h. */
31727 #include <math.h>
31729 main ()
31731 sincosl(0, 0, 0);
31733 return 0;
31735 _ACEOF
31736 if ac_fn_cxx_try_compile "$LINENO"; then :
31737 glibcxx_cv_func_sincosl_use=yes
31738 else
31739 glibcxx_cv_func_sincosl_use=no
31741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31742 ac_ext=c
31743 ac_cpp='$CPP $CPPFLAGS'
31744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
31753 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
31755 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
31756 for ac_func in sincosl
31757 do :
31758 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
31759 if test "x$ac_cv_func_sincosl" = x""yes; then :
31760 cat >>confdefs.h <<_ACEOF
31761 #define HAVE_SINCOSL 1
31762 _ACEOF
31765 done
31767 else
31769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
31770 $as_echo_n "checking for _sincosl declaration... " >&6; }
31771 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
31772 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
31773 $as_echo_n "(cached) " >&6
31774 else
31777 ac_ext=cpp
31778 ac_cpp='$CXXCPP $CPPFLAGS'
31779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31784 /* end confdefs.h. */
31785 #include <math.h>
31787 main ()
31789 _sincosl(0, 0, 0);
31791 return 0;
31793 _ACEOF
31794 if ac_fn_cxx_try_compile "$LINENO"; then :
31795 glibcxx_cv_func__sincosl_use=yes
31796 else
31797 glibcxx_cv_func__sincosl_use=no
31799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31800 ac_ext=c
31801 ac_cpp='$CPP $CPPFLAGS'
31802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
31811 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
31813 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
31814 for ac_func in _sincosl
31815 do :
31816 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
31817 if test "x$ac_cv_func__sincosl" = x""yes; then :
31818 cat >>confdefs.h <<_ACEOF
31819 #define HAVE__SINCOSL 1
31820 _ACEOF
31823 done
31832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
31833 $as_echo_n "checking for finitel declaration... " >&6; }
31834 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
31835 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
31836 $as_echo_n "(cached) " >&6
31837 else
31840 ac_ext=cpp
31841 ac_cpp='$CXXCPP $CPPFLAGS'
31842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31847 /* end confdefs.h. */
31848 #include <math.h>
31849 #ifdef HAVE_IEEEFP_H
31850 #include <ieeefp.h>
31851 #endif
31854 main ()
31856 finitel(0);
31858 return 0;
31860 _ACEOF
31861 if ac_fn_cxx_try_compile "$LINENO"; then :
31862 glibcxx_cv_func_finitel_use=yes
31863 else
31864 glibcxx_cv_func_finitel_use=no
31866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31867 ac_ext=c
31868 ac_cpp='$CPP $CPPFLAGS'
31869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
31878 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
31880 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
31881 for ac_func in finitel
31882 do :
31883 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
31884 if test "x$ac_cv_func_finitel" = x""yes; then :
31885 cat >>confdefs.h <<_ACEOF
31886 #define HAVE_FINITEL 1
31887 _ACEOF
31890 done
31892 else
31894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
31895 $as_echo_n "checking for _finitel declaration... " >&6; }
31896 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
31897 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
31898 $as_echo_n "(cached) " >&6
31899 else
31902 ac_ext=cpp
31903 ac_cpp='$CXXCPP $CPPFLAGS'
31904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31909 /* end confdefs.h. */
31910 #include <math.h>
31911 #ifdef HAVE_IEEEFP_H
31912 #include <ieeefp.h>
31913 #endif
31916 main ()
31918 _finitel(0);
31920 return 0;
31922 _ACEOF
31923 if ac_fn_cxx_try_compile "$LINENO"; then :
31924 glibcxx_cv_func__finitel_use=yes
31925 else
31926 glibcxx_cv_func__finitel_use=no
31928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31929 ac_ext=c
31930 ac_cpp='$CPP $CPPFLAGS'
31931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
31940 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
31942 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
31943 for ac_func in _finitel
31944 do :
31945 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
31946 if test "x$ac_cv_func__finitel" = x""yes; then :
31947 cat >>confdefs.h <<_ACEOF
31948 #define HAVE__FINITEL 1
31949 _ACEOF
31952 done
31960 LIBS="$ac_save_LIBS"
31961 CXXFLAGS="$ac_save_CXXFLAGS"
31964 ac_test_CXXFLAGS="${CXXFLAGS+set}"
31965 ac_save_CXXFLAGS="$CXXFLAGS"
31966 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
31969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
31970 $as_echo_n "checking for strtold declaration... " >&6; }
31971 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
31972 if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
31987 main ()
31989 strtold(0, 0);
31991 return 0;
31993 _ACEOF
31994 if ac_fn_cxx_try_compile "$LINENO"; then :
31995 glibcxx_cv_func_strtold_use=yes
31996 else
31997 glibcxx_cv_func_strtold_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_strtold_use" >&5
32011 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
32012 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
32013 for ac_func in strtold
32014 do :
32015 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
32016 if test "x$ac_cv_func_strtold" = x""yes; then :
32017 cat >>confdefs.h <<_ACEOF
32018 #define HAVE_STRTOLD 1
32019 _ACEOF
32022 done
32029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
32030 $as_echo_n "checking for strtof declaration... " >&6; }
32031 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
32032 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
32033 $as_echo_n "(cached) " >&6
32034 else
32037 ac_ext=cpp
32038 ac_cpp='$CXXCPP $CPPFLAGS'
32039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32044 /* end confdefs.h. */
32045 #include <stdlib.h>
32047 main ()
32049 strtof(0, 0);
32051 return 0;
32053 _ACEOF
32054 if ac_fn_cxx_try_compile "$LINENO"; then :
32055 glibcxx_cv_func_strtof_use=yes
32056 else
32057 glibcxx_cv_func_strtof_use=no
32059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32060 ac_ext=c
32061 ac_cpp='$CPP $CPPFLAGS'
32062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
32071 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
32072 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
32073 for ac_func in strtof
32074 do :
32075 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
32076 if test "x$ac_cv_func_strtof" = x""yes; then :
32077 cat >>confdefs.h <<_ACEOF
32078 #define HAVE_STRTOF 1
32079 _ACEOF
32082 done
32089 CXXFLAGS="$ac_save_CXXFLAGS"
32092 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
32094 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
32096 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
32098 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
32101 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
32103 $as_echo "#define HAVE_MODF 1" >>confdefs.h
32105 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
32109 *-aix*)
32111 # If we're not using GNU ld, then there's no point in even trying these
32112 # tests. Check for that first. We should have already tested for gld
32113 # by now (in libtool), but require it now just to be safe...
32114 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
32115 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
32119 # The name set by libtool depends on the version of libtool. Shame on us
32120 # for depending on an impl detail, but c'est la vie. Older versions used
32121 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
32122 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
32123 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
32124 # set (hence we're using an older libtool), then set it.
32125 if test x${with_gnu_ld+set} != xset; then
32126 if test x${ac_cv_prog_gnu_ld+set} != xset; then
32127 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
32128 with_gnu_ld=no
32129 else
32130 with_gnu_ld=$ac_cv_prog_gnu_ld
32134 # Start by getting the version number. I think the libtool test already
32135 # does some of this, but throws away the result.
32136 glibcxx_ld_is_gold=no
32137 if test x"$with_gnu_ld" = x"yes"; then
32138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
32139 $as_echo_n "checking for ld version... " >&6; }
32141 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
32142 glibcxx_ld_is_gold=yes
32144 ldver=`$LD --version 2>/dev/null |
32145 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'`
32147 glibcxx_gnu_ld_version=`echo $ldver | \
32148 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
32149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
32150 $as_echo "$glibcxx_gnu_ld_version" >&6; }
32153 # Set --gc-sections.
32154 glibcxx_have_gc_sections=no
32155 if test "$glibcxx_ld_is_gold" = "yes"; then
32156 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
32157 glibcxx_have_gc_sections=yes
32159 else
32160 glibcxx_gcsections_min_ld=21602
32161 if test x"$with_gnu_ld" = x"yes" &&
32162 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
32163 glibcxx_have_gc_sections=yes
32166 if test "$glibcxx_have_gc_sections" = "yes"; then
32167 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
32168 # NB: This flag only works reliably after 2.16.1. Configure tests
32169 # for this are difficult, so hard wire a value that should work.
32171 ac_test_CFLAGS="${CFLAGS+set}"
32172 ac_save_CFLAGS="$CFLAGS"
32173 CFLAGS='-Wl,--gc-sections'
32175 # Check for -Wl,--gc-sections
32176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
32177 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
32178 if test x$gcc_no_link = xyes; then
32179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32182 /* end confdefs.h. */
32183 int one(void) { return 1; }
32184 int two(void) { return 2; }
32187 main ()
32189 two();
32191 return 0;
32193 _ACEOF
32194 if ac_fn_c_try_link "$LINENO"; then :
32195 ac_gcsections=yes
32196 else
32197 ac_gcsections=no
32199 rm -f core conftest.err conftest.$ac_objext \
32200 conftest$ac_exeext conftest.$ac_ext
32201 if test "$ac_gcsections" = "yes"; then
32202 rm -f conftest.c
32203 touch conftest.c
32204 if $CC -c conftest.c; then
32205 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
32206 grep "Warning: gc-sections option ignored" > /dev/null; then
32207 ac_gcsections=no
32210 rm -f conftest.c conftest.o conftest
32212 if test "$ac_gcsections" = "yes"; then
32213 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
32215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
32216 $as_echo "$ac_gcsections" >&6; }
32218 if test "$ac_test_CFLAGS" = set; then
32219 CFLAGS="$ac_save_CFLAGS"
32220 else
32221 # this is the suspicious part
32222 CFLAGS=''
32226 # Set -z,relro.
32227 # Note this is only for shared objects.
32228 ac_ld_relro=no
32229 if test x"$with_gnu_ld" = x"yes"; then
32230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
32231 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
32232 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
32233 if test -n "$cxx_z_relo"; then
32234 OPT_LDFLAGS="-Wl,-z,relro"
32235 ac_ld_relro=yes
32237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
32238 $as_echo "$ac_ld_relro" >&6; }
32241 # Set linker optimization flags.
32242 if test x"$with_gnu_ld" = x"yes"; then
32243 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
32250 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32251 ac_save_CXXFLAGS="$CXXFLAGS"
32252 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
32255 $as_echo_n "checking for sin in -lm... " >&6; }
32256 if test "${ac_cv_lib_m_sin+set}" = set; then :
32257 $as_echo_n "(cached) " >&6
32258 else
32259 ac_check_lib_save_LIBS=$LIBS
32260 LIBS="-lm $LIBS"
32261 if test x$gcc_no_link = xyes; then
32262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
32264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32265 /* end confdefs.h. */
32267 /* Override any GCC internal prototype to avoid an error.
32268 Use char because int might match the return type of a GCC
32269 builtin and then its argument prototype would still apply. */
32270 #ifdef __cplusplus
32271 extern "C"
32272 #endif
32273 char sin ();
32275 main ()
32277 return sin ();
32279 return 0;
32281 _ACEOF
32282 if ac_fn_c_try_link "$LINENO"; then :
32283 ac_cv_lib_m_sin=yes
32284 else
32285 ac_cv_lib_m_sin=no
32287 rm -f core conftest.err conftest.$ac_objext \
32288 conftest$ac_exeext conftest.$ac_ext
32289 LIBS=$ac_check_lib_save_LIBS
32291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
32292 $as_echo "$ac_cv_lib_m_sin" >&6; }
32293 if test "x$ac_cv_lib_m_sin" = x""yes; then :
32294 libm="-lm"
32297 ac_save_LIBS="$LIBS"
32298 LIBS="$LIBS $libm"
32302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
32303 $as_echo_n "checking for isinf declaration... " >&6; }
32304 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
32305 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
32306 $as_echo_n "(cached) " >&6
32307 else
32310 ac_ext=cpp
32311 ac_cpp='$CXXCPP $CPPFLAGS'
32312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32317 /* end confdefs.h. */
32318 #include <math.h>
32319 #ifdef HAVE_IEEEFP_H
32320 #include <ieeefp.h>
32321 #endif
32324 main ()
32326 isinf(0);
32328 return 0;
32330 _ACEOF
32331 if ac_fn_cxx_try_compile "$LINENO"; then :
32332 glibcxx_cv_func_isinf_use=yes
32333 else
32334 glibcxx_cv_func_isinf_use=no
32336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32337 ac_ext=c
32338 ac_cpp='$CPP $CPPFLAGS'
32339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
32348 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
32350 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
32351 for ac_func in isinf
32352 do :
32353 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
32354 if test "x$ac_cv_func_isinf" = x""yes; then :
32355 cat >>confdefs.h <<_ACEOF
32356 #define HAVE_ISINF 1
32357 _ACEOF
32360 done
32362 else
32364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
32365 $as_echo_n "checking for _isinf declaration... " >&6; }
32366 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
32367 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
32368 $as_echo_n "(cached) " >&6
32369 else
32372 ac_ext=cpp
32373 ac_cpp='$CXXCPP $CPPFLAGS'
32374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32379 /* end confdefs.h. */
32380 #include <math.h>
32381 #ifdef HAVE_IEEEFP_H
32382 #include <ieeefp.h>
32383 #endif
32386 main ()
32388 _isinf(0);
32390 return 0;
32392 _ACEOF
32393 if ac_fn_cxx_try_compile "$LINENO"; then :
32394 glibcxx_cv_func__isinf_use=yes
32395 else
32396 glibcxx_cv_func__isinf_use=no
32398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32399 ac_ext=c
32400 ac_cpp='$CPP $CPPFLAGS'
32401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
32410 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
32412 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
32413 for ac_func in _isinf
32414 do :
32415 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
32416 if test "x$ac_cv_func__isinf" = x""yes; then :
32417 cat >>confdefs.h <<_ACEOF
32418 #define HAVE__ISINF 1
32419 _ACEOF
32422 done
32431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
32432 $as_echo_n "checking for isnan declaration... " >&6; }
32433 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
32434 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
32435 $as_echo_n "(cached) " >&6
32436 else
32439 ac_ext=cpp
32440 ac_cpp='$CXXCPP $CPPFLAGS'
32441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32446 /* end confdefs.h. */
32447 #include <math.h>
32448 #ifdef HAVE_IEEEFP_H
32449 #include <ieeefp.h>
32450 #endif
32453 main ()
32455 isnan(0);
32457 return 0;
32459 _ACEOF
32460 if ac_fn_cxx_try_compile "$LINENO"; then :
32461 glibcxx_cv_func_isnan_use=yes
32462 else
32463 glibcxx_cv_func_isnan_use=no
32465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32466 ac_ext=c
32467 ac_cpp='$CPP $CPPFLAGS'
32468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
32477 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
32479 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
32480 for ac_func in isnan
32481 do :
32482 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
32483 if test "x$ac_cv_func_isnan" = x""yes; then :
32484 cat >>confdefs.h <<_ACEOF
32485 #define HAVE_ISNAN 1
32486 _ACEOF
32489 done
32491 else
32493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
32494 $as_echo_n "checking for _isnan declaration... " >&6; }
32495 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
32496 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
32497 $as_echo_n "(cached) " >&6
32498 else
32501 ac_ext=cpp
32502 ac_cpp='$CXXCPP $CPPFLAGS'
32503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32508 /* end confdefs.h. */
32509 #include <math.h>
32510 #ifdef HAVE_IEEEFP_H
32511 #include <ieeefp.h>
32512 #endif
32515 main ()
32517 _isnan(0);
32519 return 0;
32521 _ACEOF
32522 if ac_fn_cxx_try_compile "$LINENO"; then :
32523 glibcxx_cv_func__isnan_use=yes
32524 else
32525 glibcxx_cv_func__isnan_use=no
32527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32528 ac_ext=c
32529 ac_cpp='$CPP $CPPFLAGS'
32530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
32539 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
32541 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
32542 for ac_func in _isnan
32543 do :
32544 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
32545 if test "x$ac_cv_func__isnan" = x""yes; then :
32546 cat >>confdefs.h <<_ACEOF
32547 #define HAVE__ISNAN 1
32548 _ACEOF
32551 done
32560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
32561 $as_echo_n "checking for finite declaration... " >&6; }
32562 if test x${glibcxx_cv_func_finite_use+set} != xset; then
32563 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
32564 $as_echo_n "(cached) " >&6
32565 else
32568 ac_ext=cpp
32569 ac_cpp='$CXXCPP $CPPFLAGS'
32570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32575 /* end confdefs.h. */
32576 #include <math.h>
32577 #ifdef HAVE_IEEEFP_H
32578 #include <ieeefp.h>
32579 #endif
32582 main ()
32584 finite(0);
32586 return 0;
32588 _ACEOF
32589 if ac_fn_cxx_try_compile "$LINENO"; then :
32590 glibcxx_cv_func_finite_use=yes
32591 else
32592 glibcxx_cv_func_finite_use=no
32594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32595 ac_ext=c
32596 ac_cpp='$CPP $CPPFLAGS'
32597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
32606 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
32608 if test x$glibcxx_cv_func_finite_use = x"yes"; then
32609 for ac_func in finite
32610 do :
32611 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
32612 if test "x$ac_cv_func_finite" = x""yes; then :
32613 cat >>confdefs.h <<_ACEOF
32614 #define HAVE_FINITE 1
32615 _ACEOF
32618 done
32620 else
32622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
32623 $as_echo_n "checking for _finite declaration... " >&6; }
32624 if test x${glibcxx_cv_func__finite_use+set} != xset; then
32625 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
32626 $as_echo_n "(cached) " >&6
32627 else
32630 ac_ext=cpp
32631 ac_cpp='$CXXCPP $CPPFLAGS'
32632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32637 /* end confdefs.h. */
32638 #include <math.h>
32639 #ifdef HAVE_IEEEFP_H
32640 #include <ieeefp.h>
32641 #endif
32644 main ()
32646 _finite(0);
32648 return 0;
32650 _ACEOF
32651 if ac_fn_cxx_try_compile "$LINENO"; then :
32652 glibcxx_cv_func__finite_use=yes
32653 else
32654 glibcxx_cv_func__finite_use=no
32656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32657 ac_ext=c
32658 ac_cpp='$CPP $CPPFLAGS'
32659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
32668 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
32670 if test x$glibcxx_cv_func__finite_use = x"yes"; then
32671 for ac_func in _finite
32672 do :
32673 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
32674 if test "x$ac_cv_func__finite" = x""yes; then :
32675 cat >>confdefs.h <<_ACEOF
32676 #define HAVE__FINITE 1
32677 _ACEOF
32680 done
32689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
32690 $as_echo_n "checking for sincos declaration... " >&6; }
32691 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
32692 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
32693 $as_echo_n "(cached) " >&6
32694 else
32697 ac_ext=cpp
32698 ac_cpp='$CXXCPP $CPPFLAGS'
32699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32704 /* end confdefs.h. */
32705 #include <math.h>
32707 main ()
32709 sincos(0, 0, 0);
32711 return 0;
32713 _ACEOF
32714 if ac_fn_cxx_try_compile "$LINENO"; then :
32715 glibcxx_cv_func_sincos_use=yes
32716 else
32717 glibcxx_cv_func_sincos_use=no
32719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32720 ac_ext=c
32721 ac_cpp='$CPP $CPPFLAGS'
32722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
32731 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
32733 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
32734 for ac_func in sincos
32735 do :
32736 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
32737 if test "x$ac_cv_func_sincos" = x""yes; then :
32738 cat >>confdefs.h <<_ACEOF
32739 #define HAVE_SINCOS 1
32740 _ACEOF
32743 done
32745 else
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
32748 $as_echo_n "checking for _sincos declaration... " >&6; }
32749 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
32750 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
32751 $as_echo_n "(cached) " >&6
32752 else
32755 ac_ext=cpp
32756 ac_cpp='$CXXCPP $CPPFLAGS'
32757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32762 /* end confdefs.h. */
32763 #include <math.h>
32765 main ()
32767 _sincos(0, 0, 0);
32769 return 0;
32771 _ACEOF
32772 if ac_fn_cxx_try_compile "$LINENO"; then :
32773 glibcxx_cv_func__sincos_use=yes
32774 else
32775 glibcxx_cv_func__sincos_use=no
32777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32778 ac_ext=c
32779 ac_cpp='$CPP $CPPFLAGS'
32780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
32789 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
32791 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
32792 for ac_func in _sincos
32793 do :
32794 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
32795 if test "x$ac_cv_func__sincos" = x""yes; then :
32796 cat >>confdefs.h <<_ACEOF
32797 #define HAVE__SINCOS 1
32798 _ACEOF
32801 done
32810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
32811 $as_echo_n "checking for fpclass declaration... " >&6; }
32812 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
32813 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
32814 $as_echo_n "(cached) " >&6
32815 else
32818 ac_ext=cpp
32819 ac_cpp='$CXXCPP $CPPFLAGS'
32820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32825 /* end confdefs.h. */
32826 #include <math.h>
32827 #ifdef HAVE_IEEEFP_H
32828 #include <ieeefp.h>
32829 #endif
32832 main ()
32834 fpclass(0);
32836 return 0;
32838 _ACEOF
32839 if ac_fn_cxx_try_compile "$LINENO"; then :
32840 glibcxx_cv_func_fpclass_use=yes
32841 else
32842 glibcxx_cv_func_fpclass_use=no
32844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32845 ac_ext=c
32846 ac_cpp='$CPP $CPPFLAGS'
32847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
32856 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
32858 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
32859 for ac_func in fpclass
32860 do :
32861 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
32862 if test "x$ac_cv_func_fpclass" = x""yes; then :
32863 cat >>confdefs.h <<_ACEOF
32864 #define HAVE_FPCLASS 1
32865 _ACEOF
32868 done
32870 else
32872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
32873 $as_echo_n "checking for _fpclass declaration... " >&6; }
32874 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
32875 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
32876 $as_echo_n "(cached) " >&6
32877 else
32880 ac_ext=cpp
32881 ac_cpp='$CXXCPP $CPPFLAGS'
32882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32887 /* end confdefs.h. */
32888 #include <math.h>
32889 #ifdef HAVE_IEEEFP_H
32890 #include <ieeefp.h>
32891 #endif
32894 main ()
32896 _fpclass(0);
32898 return 0;
32900 _ACEOF
32901 if ac_fn_cxx_try_compile "$LINENO"; then :
32902 glibcxx_cv_func__fpclass_use=yes
32903 else
32904 glibcxx_cv_func__fpclass_use=no
32906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32907 ac_ext=c
32908 ac_cpp='$CPP $CPPFLAGS'
32909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
32918 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
32920 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
32921 for ac_func in _fpclass
32922 do :
32923 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
32924 if test "x$ac_cv_func__fpclass" = x""yes; then :
32925 cat >>confdefs.h <<_ACEOF
32926 #define HAVE__FPCLASS 1
32927 _ACEOF
32930 done
32939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
32940 $as_echo_n "checking for qfpclass declaration... " >&6; }
32941 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
32942 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
32943 $as_echo_n "(cached) " >&6
32944 else
32947 ac_ext=cpp
32948 ac_cpp='$CXXCPP $CPPFLAGS'
32949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32954 /* end confdefs.h. */
32955 #include <math.h>
32956 #ifdef HAVE_IEEEFP_H
32957 #include <ieeefp.h>
32958 #endif
32961 main ()
32963 qfpclass(0);
32965 return 0;
32967 _ACEOF
32968 if ac_fn_cxx_try_compile "$LINENO"; then :
32969 glibcxx_cv_func_qfpclass_use=yes
32970 else
32971 glibcxx_cv_func_qfpclass_use=no
32973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32974 ac_ext=c
32975 ac_cpp='$CPP $CPPFLAGS'
32976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
32985 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
32987 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
32988 for ac_func in qfpclass
32989 do :
32990 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
32991 if test "x$ac_cv_func_qfpclass" = x""yes; then :
32992 cat >>confdefs.h <<_ACEOF
32993 #define HAVE_QFPCLASS 1
32994 _ACEOF
32997 done
32999 else
33001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33002 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33003 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33004 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33005 $as_echo_n "(cached) " >&6
33006 else
33009 ac_ext=cpp
33010 ac_cpp='$CXXCPP $CPPFLAGS'
33011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33016 /* end confdefs.h. */
33017 #include <math.h>
33018 #ifdef HAVE_IEEEFP_H
33019 #include <ieeefp.h>
33020 #endif
33023 main ()
33025 _qfpclass(0);
33027 return 0;
33029 _ACEOF
33030 if ac_fn_cxx_try_compile "$LINENO"; then :
33031 glibcxx_cv_func__qfpclass_use=yes
33032 else
33033 glibcxx_cv_func__qfpclass_use=no
33035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33036 ac_ext=c
33037 ac_cpp='$CPP $CPPFLAGS'
33038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
33047 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
33049 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
33050 for ac_func in _qfpclass
33051 do :
33052 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
33053 if test "x$ac_cv_func__qfpclass" = x""yes; then :
33054 cat >>confdefs.h <<_ACEOF
33055 #define HAVE__QFPCLASS 1
33056 _ACEOF
33059 done
33068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
33069 $as_echo_n "checking for hypot declaration... " >&6; }
33070 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
33071 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
33072 $as_echo_n "(cached) " >&6
33073 else
33076 ac_ext=cpp
33077 ac_cpp='$CXXCPP $CPPFLAGS'
33078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33083 /* end confdefs.h. */
33084 #include <math.h>
33086 main ()
33088 hypot(0, 0);
33090 return 0;
33092 _ACEOF
33093 if ac_fn_cxx_try_compile "$LINENO"; then :
33094 glibcxx_cv_func_hypot_use=yes
33095 else
33096 glibcxx_cv_func_hypot_use=no
33098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33099 ac_ext=c
33100 ac_cpp='$CPP $CPPFLAGS'
33101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
33110 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
33112 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
33113 for ac_func in hypot
33114 do :
33115 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
33116 if test "x$ac_cv_func_hypot" = x""yes; then :
33117 cat >>confdefs.h <<_ACEOF
33118 #define HAVE_HYPOT 1
33119 _ACEOF
33122 done
33124 else
33126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
33127 $as_echo_n "checking for _hypot declaration... " >&6; }
33128 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
33129 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
33130 $as_echo_n "(cached) " >&6
33131 else
33134 ac_ext=cpp
33135 ac_cpp='$CXXCPP $CPPFLAGS'
33136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33141 /* end confdefs.h. */
33142 #include <math.h>
33144 main ()
33146 _hypot(0, 0);
33148 return 0;
33150 _ACEOF
33151 if ac_fn_cxx_try_compile "$LINENO"; then :
33152 glibcxx_cv_func__hypot_use=yes
33153 else
33154 glibcxx_cv_func__hypot_use=no
33156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33157 ac_ext=c
33158 ac_cpp='$CPP $CPPFLAGS'
33159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
33168 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
33170 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
33171 for ac_func in _hypot
33172 do :
33173 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
33174 if test "x$ac_cv_func__hypot" = x""yes; then :
33175 cat >>confdefs.h <<_ACEOF
33176 #define HAVE__HYPOT 1
33177 _ACEOF
33180 done
33189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
33190 $as_echo_n "checking for float trig functions... " >&6; }
33191 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
33192 $as_echo_n "(cached) " >&6
33193 else
33196 ac_ext=cpp
33197 ac_cpp='$CXXCPP $CPPFLAGS'
33198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33203 /* end confdefs.h. */
33204 #include <math.h>
33206 main ()
33208 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
33210 return 0;
33212 _ACEOF
33213 if ac_fn_cxx_try_compile "$LINENO"; then :
33214 glibcxx_cv_func_float_trig_use=yes
33215 else
33216 glibcxx_cv_func_float_trig_use=no
33218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33219 ac_ext=c
33220 ac_cpp='$CPP $CPPFLAGS'
33221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
33228 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
33229 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
33230 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
33231 do :
33232 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33233 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33234 eval as_val=\$$as_ac_var
33235 if test "x$as_val" = x""yes; then :
33236 cat >>confdefs.h <<_ACEOF
33237 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33238 _ACEOF
33241 done
33243 else
33244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
33245 $as_echo_n "checking for _float trig functions... " >&6; }
33246 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
33247 $as_echo_n "(cached) " >&6
33248 else
33251 ac_ext=cpp
33252 ac_cpp='$CXXCPP $CPPFLAGS'
33253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33258 /* end confdefs.h. */
33259 #include <math.h>
33261 main ()
33263 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
33265 return 0;
33267 _ACEOF
33268 if ac_fn_cxx_try_compile "$LINENO"; then :
33269 glibcxx_cv_func__float_trig_use=yes
33270 else
33271 glibcxx_cv_func__float_trig_use=no
33273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33274 ac_ext=c
33275 ac_cpp='$CPP $CPPFLAGS'
33276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
33283 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
33284 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
33285 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
33286 do :
33287 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33289 eval as_val=\$$as_ac_var
33290 if test "x$as_val" = x""yes; then :
33291 cat >>confdefs.h <<_ACEOF
33292 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33293 _ACEOF
33296 done
33305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
33306 $as_echo_n "checking for float round functions... " >&6; }
33307 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
33308 $as_echo_n "(cached) " >&6
33309 else
33312 ac_ext=cpp
33313 ac_cpp='$CXXCPP $CPPFLAGS'
33314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33319 /* end confdefs.h. */
33320 #include <math.h>
33322 main ()
33324 ceilf (0); floorf (0);
33326 return 0;
33328 _ACEOF
33329 if ac_fn_cxx_try_compile "$LINENO"; then :
33330 glibcxx_cv_func_float_round_use=yes
33331 else
33332 glibcxx_cv_func_float_round_use=no
33334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33335 ac_ext=c
33336 ac_cpp='$CPP $CPPFLAGS'
33337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
33344 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
33345 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
33346 for ac_func in ceilf floorf
33347 do :
33348 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33349 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33350 eval as_val=\$$as_ac_var
33351 if test "x$as_val" = x""yes; then :
33352 cat >>confdefs.h <<_ACEOF
33353 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33354 _ACEOF
33357 done
33359 else
33360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
33361 $as_echo_n "checking for _float round functions... " >&6; }
33362 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
33363 $as_echo_n "(cached) " >&6
33364 else
33367 ac_ext=cpp
33368 ac_cpp='$CXXCPP $CPPFLAGS'
33369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33374 /* end confdefs.h. */
33375 #include <math.h>
33377 main ()
33379 _ceilf (0); _floorf (0);
33381 return 0;
33383 _ACEOF
33384 if ac_fn_cxx_try_compile "$LINENO"; then :
33385 glibcxx_cv_func__float_round_use=yes
33386 else
33387 glibcxx_cv_func__float_round_use=no
33389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33390 ac_ext=c
33391 ac_cpp='$CPP $CPPFLAGS'
33392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
33399 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
33400 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
33401 for ac_func in _ceilf _floorf
33402 do :
33403 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33404 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33405 eval as_val=\$$as_ac_var
33406 if test "x$as_val" = x""yes; then :
33407 cat >>confdefs.h <<_ACEOF
33408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33409 _ACEOF
33412 done
33422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
33423 $as_echo_n "checking for expf declaration... " >&6; }
33424 if test x${glibcxx_cv_func_expf_use+set} != xset; then
33425 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
33426 $as_echo_n "(cached) " >&6
33427 else
33430 ac_ext=cpp
33431 ac_cpp='$CXXCPP $CPPFLAGS'
33432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33437 /* end confdefs.h. */
33438 #include <math.h>
33439 #ifdef HAVE_IEEEFP_H
33440 #include <ieeefp.h>
33441 #endif
33444 main ()
33446 expf(0);
33448 return 0;
33450 _ACEOF
33451 if ac_fn_cxx_try_compile "$LINENO"; then :
33452 glibcxx_cv_func_expf_use=yes
33453 else
33454 glibcxx_cv_func_expf_use=no
33456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33457 ac_ext=c
33458 ac_cpp='$CPP $CPPFLAGS'
33459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
33468 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
33470 if test x$glibcxx_cv_func_expf_use = x"yes"; then
33471 for ac_func in expf
33472 do :
33473 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
33474 if test "x$ac_cv_func_expf" = x""yes; then :
33475 cat >>confdefs.h <<_ACEOF
33476 #define HAVE_EXPF 1
33477 _ACEOF
33480 done
33482 else
33484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
33485 $as_echo_n "checking for _expf declaration... " >&6; }
33486 if test x${glibcxx_cv_func__expf_use+set} != xset; then
33487 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
33488 $as_echo_n "(cached) " >&6
33489 else
33492 ac_ext=cpp
33493 ac_cpp='$CXXCPP $CPPFLAGS'
33494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33499 /* end confdefs.h. */
33500 #include <math.h>
33501 #ifdef HAVE_IEEEFP_H
33502 #include <ieeefp.h>
33503 #endif
33506 main ()
33508 _expf(0);
33510 return 0;
33512 _ACEOF
33513 if ac_fn_cxx_try_compile "$LINENO"; then :
33514 glibcxx_cv_func__expf_use=yes
33515 else
33516 glibcxx_cv_func__expf_use=no
33518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33519 ac_ext=c
33520 ac_cpp='$CPP $CPPFLAGS'
33521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
33530 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
33532 if test x$glibcxx_cv_func__expf_use = x"yes"; then
33533 for ac_func in _expf
33534 do :
33535 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
33536 if test "x$ac_cv_func__expf" = x""yes; then :
33537 cat >>confdefs.h <<_ACEOF
33538 #define HAVE__EXPF 1
33539 _ACEOF
33542 done
33551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
33552 $as_echo_n "checking for isnanf declaration... " >&6; }
33553 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
33554 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
33555 $as_echo_n "(cached) " >&6
33556 else
33559 ac_ext=cpp
33560 ac_cpp='$CXXCPP $CPPFLAGS'
33561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33566 /* end confdefs.h. */
33567 #include <math.h>
33568 #ifdef HAVE_IEEEFP_H
33569 #include <ieeefp.h>
33570 #endif
33573 main ()
33575 isnanf(0);
33577 return 0;
33579 _ACEOF
33580 if ac_fn_cxx_try_compile "$LINENO"; then :
33581 glibcxx_cv_func_isnanf_use=yes
33582 else
33583 glibcxx_cv_func_isnanf_use=no
33585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33586 ac_ext=c
33587 ac_cpp='$CPP $CPPFLAGS'
33588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
33597 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
33599 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
33600 for ac_func in isnanf
33601 do :
33602 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
33603 if test "x$ac_cv_func_isnanf" = x""yes; then :
33604 cat >>confdefs.h <<_ACEOF
33605 #define HAVE_ISNANF 1
33606 _ACEOF
33609 done
33611 else
33613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
33614 $as_echo_n "checking for _isnanf declaration... " >&6; }
33615 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
33616 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
33617 $as_echo_n "(cached) " >&6
33618 else
33621 ac_ext=cpp
33622 ac_cpp='$CXXCPP $CPPFLAGS'
33623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33628 /* end confdefs.h. */
33629 #include <math.h>
33630 #ifdef HAVE_IEEEFP_H
33631 #include <ieeefp.h>
33632 #endif
33635 main ()
33637 _isnanf(0);
33639 return 0;
33641 _ACEOF
33642 if ac_fn_cxx_try_compile "$LINENO"; then :
33643 glibcxx_cv_func__isnanf_use=yes
33644 else
33645 glibcxx_cv_func__isnanf_use=no
33647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33648 ac_ext=c
33649 ac_cpp='$CPP $CPPFLAGS'
33650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
33659 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
33661 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
33662 for ac_func in _isnanf
33663 do :
33664 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
33665 if test "x$ac_cv_func__isnanf" = x""yes; then :
33666 cat >>confdefs.h <<_ACEOF
33667 #define HAVE__ISNANF 1
33668 _ACEOF
33671 done
33680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
33681 $as_echo_n "checking for isinff declaration... " >&6; }
33682 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
33683 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
33684 $as_echo_n "(cached) " >&6
33685 else
33688 ac_ext=cpp
33689 ac_cpp='$CXXCPP $CPPFLAGS'
33690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33695 /* end confdefs.h. */
33696 #include <math.h>
33697 #ifdef HAVE_IEEEFP_H
33698 #include <ieeefp.h>
33699 #endif
33702 main ()
33704 isinff(0);
33706 return 0;
33708 _ACEOF
33709 if ac_fn_cxx_try_compile "$LINENO"; then :
33710 glibcxx_cv_func_isinff_use=yes
33711 else
33712 glibcxx_cv_func_isinff_use=no
33714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33715 ac_ext=c
33716 ac_cpp='$CPP $CPPFLAGS'
33717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
33726 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
33728 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
33729 for ac_func in isinff
33730 do :
33731 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
33732 if test "x$ac_cv_func_isinff" = x""yes; then :
33733 cat >>confdefs.h <<_ACEOF
33734 #define HAVE_ISINFF 1
33735 _ACEOF
33738 done
33740 else
33742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
33743 $as_echo_n "checking for _isinff declaration... " >&6; }
33744 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
33745 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
33746 $as_echo_n "(cached) " >&6
33747 else
33750 ac_ext=cpp
33751 ac_cpp='$CXXCPP $CPPFLAGS'
33752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33757 /* end confdefs.h. */
33758 #include <math.h>
33759 #ifdef HAVE_IEEEFP_H
33760 #include <ieeefp.h>
33761 #endif
33764 main ()
33766 _isinff(0);
33768 return 0;
33770 _ACEOF
33771 if ac_fn_cxx_try_compile "$LINENO"; then :
33772 glibcxx_cv_func__isinff_use=yes
33773 else
33774 glibcxx_cv_func__isinff_use=no
33776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33777 ac_ext=c
33778 ac_cpp='$CPP $CPPFLAGS'
33779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
33788 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
33790 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
33791 for ac_func in _isinff
33792 do :
33793 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
33794 if test "x$ac_cv_func__isinff" = x""yes; then :
33795 cat >>confdefs.h <<_ACEOF
33796 #define HAVE__ISINFF 1
33797 _ACEOF
33800 done
33809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
33810 $as_echo_n "checking for atan2f declaration... " >&6; }
33811 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
33812 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
33813 $as_echo_n "(cached) " >&6
33814 else
33817 ac_ext=cpp
33818 ac_cpp='$CXXCPP $CPPFLAGS'
33819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33824 /* end confdefs.h. */
33825 #include <math.h>
33827 main ()
33829 atan2f(0, 0);
33831 return 0;
33833 _ACEOF
33834 if ac_fn_cxx_try_compile "$LINENO"; then :
33835 glibcxx_cv_func_atan2f_use=yes
33836 else
33837 glibcxx_cv_func_atan2f_use=no
33839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33840 ac_ext=c
33841 ac_cpp='$CPP $CPPFLAGS'
33842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
33851 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
33853 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
33854 for ac_func in atan2f
33855 do :
33856 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
33857 if test "x$ac_cv_func_atan2f" = x""yes; then :
33858 cat >>confdefs.h <<_ACEOF
33859 #define HAVE_ATAN2F 1
33860 _ACEOF
33863 done
33865 else
33867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
33868 $as_echo_n "checking for _atan2f declaration... " >&6; }
33869 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
33870 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
33871 $as_echo_n "(cached) " >&6
33872 else
33875 ac_ext=cpp
33876 ac_cpp='$CXXCPP $CPPFLAGS'
33877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33882 /* end confdefs.h. */
33883 #include <math.h>
33885 main ()
33887 _atan2f(0, 0);
33889 return 0;
33891 _ACEOF
33892 if ac_fn_cxx_try_compile "$LINENO"; then :
33893 glibcxx_cv_func__atan2f_use=yes
33894 else
33895 glibcxx_cv_func__atan2f_use=no
33897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33898 ac_ext=c
33899 ac_cpp='$CPP $CPPFLAGS'
33900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
33909 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
33911 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
33912 for ac_func in _atan2f
33913 do :
33914 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
33915 if test "x$ac_cv_func__atan2f" = x""yes; then :
33916 cat >>confdefs.h <<_ACEOF
33917 #define HAVE__ATAN2F 1
33918 _ACEOF
33921 done
33930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
33931 $as_echo_n "checking for fabsf declaration... " >&6; }
33932 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
33933 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
33934 $as_echo_n "(cached) " >&6
33935 else
33938 ac_ext=cpp
33939 ac_cpp='$CXXCPP $CPPFLAGS'
33940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33945 /* end confdefs.h. */
33946 #include <math.h>
33947 #ifdef HAVE_IEEEFP_H
33948 #include <ieeefp.h>
33949 #endif
33952 main ()
33954 fabsf(0);
33956 return 0;
33958 _ACEOF
33959 if ac_fn_cxx_try_compile "$LINENO"; then :
33960 glibcxx_cv_func_fabsf_use=yes
33961 else
33962 glibcxx_cv_func_fabsf_use=no
33964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33965 ac_ext=c
33966 ac_cpp='$CPP $CPPFLAGS'
33967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
33976 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
33978 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
33979 for ac_func in fabsf
33980 do :
33981 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
33982 if test "x$ac_cv_func_fabsf" = x""yes; then :
33983 cat >>confdefs.h <<_ACEOF
33984 #define HAVE_FABSF 1
33985 _ACEOF
33988 done
33990 else
33992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
33993 $as_echo_n "checking for _fabsf declaration... " >&6; }
33994 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
33995 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
33996 $as_echo_n "(cached) " >&6
33997 else
34000 ac_ext=cpp
34001 ac_cpp='$CXXCPP $CPPFLAGS'
34002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34007 /* end confdefs.h. */
34008 #include <math.h>
34009 #ifdef HAVE_IEEEFP_H
34010 #include <ieeefp.h>
34011 #endif
34014 main ()
34016 _fabsf(0);
34018 return 0;
34020 _ACEOF
34021 if ac_fn_cxx_try_compile "$LINENO"; then :
34022 glibcxx_cv_func__fabsf_use=yes
34023 else
34024 glibcxx_cv_func__fabsf_use=no
34026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34027 ac_ext=c
34028 ac_cpp='$CPP $CPPFLAGS'
34029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
34038 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
34040 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
34041 for ac_func in _fabsf
34042 do :
34043 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
34044 if test "x$ac_cv_func__fabsf" = x""yes; then :
34045 cat >>confdefs.h <<_ACEOF
34046 #define HAVE__FABSF 1
34047 _ACEOF
34050 done
34059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
34060 $as_echo_n "checking for fmodf declaration... " >&6; }
34061 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
34062 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
34063 $as_echo_n "(cached) " >&6
34064 else
34067 ac_ext=cpp
34068 ac_cpp='$CXXCPP $CPPFLAGS'
34069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34074 /* end confdefs.h. */
34075 #include <math.h>
34077 main ()
34079 fmodf(0, 0);
34081 return 0;
34083 _ACEOF
34084 if ac_fn_cxx_try_compile "$LINENO"; then :
34085 glibcxx_cv_func_fmodf_use=yes
34086 else
34087 glibcxx_cv_func_fmodf_use=no
34089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34090 ac_ext=c
34091 ac_cpp='$CPP $CPPFLAGS'
34092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
34101 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
34103 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
34104 for ac_func in fmodf
34105 do :
34106 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
34107 if test "x$ac_cv_func_fmodf" = x""yes; then :
34108 cat >>confdefs.h <<_ACEOF
34109 #define HAVE_FMODF 1
34110 _ACEOF
34113 done
34115 else
34117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
34118 $as_echo_n "checking for _fmodf declaration... " >&6; }
34119 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
34120 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
34121 $as_echo_n "(cached) " >&6
34122 else
34125 ac_ext=cpp
34126 ac_cpp='$CXXCPP $CPPFLAGS'
34127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34132 /* end confdefs.h. */
34133 #include <math.h>
34135 main ()
34137 _fmodf(0, 0);
34139 return 0;
34141 _ACEOF
34142 if ac_fn_cxx_try_compile "$LINENO"; then :
34143 glibcxx_cv_func__fmodf_use=yes
34144 else
34145 glibcxx_cv_func__fmodf_use=no
34147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34148 ac_ext=c
34149 ac_cpp='$CPP $CPPFLAGS'
34150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
34159 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
34161 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
34162 for ac_func in _fmodf
34163 do :
34164 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
34165 if test "x$ac_cv_func__fmodf" = x""yes; then :
34166 cat >>confdefs.h <<_ACEOF
34167 #define HAVE__FMODF 1
34168 _ACEOF
34171 done
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
34181 $as_echo_n "checking for frexpf declaration... " >&6; }
34182 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
34183 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
34184 $as_echo_n "(cached) " >&6
34185 else
34188 ac_ext=cpp
34189 ac_cpp='$CXXCPP $CPPFLAGS'
34190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34195 /* end confdefs.h. */
34196 #include <math.h>
34198 main ()
34200 frexpf(0, 0);
34202 return 0;
34204 _ACEOF
34205 if ac_fn_cxx_try_compile "$LINENO"; then :
34206 glibcxx_cv_func_frexpf_use=yes
34207 else
34208 glibcxx_cv_func_frexpf_use=no
34210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34211 ac_ext=c
34212 ac_cpp='$CPP $CPPFLAGS'
34213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
34222 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
34224 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
34225 for ac_func in frexpf
34226 do :
34227 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
34228 if test "x$ac_cv_func_frexpf" = x""yes; then :
34229 cat >>confdefs.h <<_ACEOF
34230 #define HAVE_FREXPF 1
34231 _ACEOF
34234 done
34236 else
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
34239 $as_echo_n "checking for _frexpf declaration... " >&6; }
34240 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
34241 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
34242 $as_echo_n "(cached) " >&6
34243 else
34246 ac_ext=cpp
34247 ac_cpp='$CXXCPP $CPPFLAGS'
34248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34253 /* end confdefs.h. */
34254 #include <math.h>
34256 main ()
34258 _frexpf(0, 0);
34260 return 0;
34262 _ACEOF
34263 if ac_fn_cxx_try_compile "$LINENO"; then :
34264 glibcxx_cv_func__frexpf_use=yes
34265 else
34266 glibcxx_cv_func__frexpf_use=no
34268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34269 ac_ext=c
34270 ac_cpp='$CPP $CPPFLAGS'
34271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
34280 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
34282 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
34283 for ac_func in _frexpf
34284 do :
34285 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
34286 if test "x$ac_cv_func__frexpf" = x""yes; then :
34287 cat >>confdefs.h <<_ACEOF
34288 #define HAVE__FREXPF 1
34289 _ACEOF
34292 done
34301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
34302 $as_echo_n "checking for hypotf declaration... " >&6; }
34303 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
34304 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
34305 $as_echo_n "(cached) " >&6
34306 else
34309 ac_ext=cpp
34310 ac_cpp='$CXXCPP $CPPFLAGS'
34311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34316 /* end confdefs.h. */
34317 #include <math.h>
34319 main ()
34321 hypotf(0, 0);
34323 return 0;
34325 _ACEOF
34326 if ac_fn_cxx_try_compile "$LINENO"; then :
34327 glibcxx_cv_func_hypotf_use=yes
34328 else
34329 glibcxx_cv_func_hypotf_use=no
34331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34332 ac_ext=c
34333 ac_cpp='$CPP $CPPFLAGS'
34334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
34343 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
34345 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
34346 for ac_func in hypotf
34347 do :
34348 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
34349 if test "x$ac_cv_func_hypotf" = x""yes; then :
34350 cat >>confdefs.h <<_ACEOF
34351 #define HAVE_HYPOTF 1
34352 _ACEOF
34355 done
34357 else
34359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
34360 $as_echo_n "checking for _hypotf declaration... " >&6; }
34361 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
34362 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
34363 $as_echo_n "(cached) " >&6
34364 else
34367 ac_ext=cpp
34368 ac_cpp='$CXXCPP $CPPFLAGS'
34369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34374 /* end confdefs.h. */
34375 #include <math.h>
34377 main ()
34379 _hypotf(0, 0);
34381 return 0;
34383 _ACEOF
34384 if ac_fn_cxx_try_compile "$LINENO"; then :
34385 glibcxx_cv_func__hypotf_use=yes
34386 else
34387 glibcxx_cv_func__hypotf_use=no
34389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34390 ac_ext=c
34391 ac_cpp='$CPP $CPPFLAGS'
34392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
34401 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
34403 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
34404 for ac_func in _hypotf
34405 do :
34406 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
34407 if test "x$ac_cv_func__hypotf" = x""yes; then :
34408 cat >>confdefs.h <<_ACEOF
34409 #define HAVE__HYPOTF 1
34410 _ACEOF
34413 done
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
34423 $as_echo_n "checking for ldexpf declaration... " >&6; }
34424 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
34425 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
34426 $as_echo_n "(cached) " >&6
34427 else
34430 ac_ext=cpp
34431 ac_cpp='$CXXCPP $CPPFLAGS'
34432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34437 /* end confdefs.h. */
34438 #include <math.h>
34440 main ()
34442 ldexpf(0, 0);
34444 return 0;
34446 _ACEOF
34447 if ac_fn_cxx_try_compile "$LINENO"; then :
34448 glibcxx_cv_func_ldexpf_use=yes
34449 else
34450 glibcxx_cv_func_ldexpf_use=no
34452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34453 ac_ext=c
34454 ac_cpp='$CPP $CPPFLAGS'
34455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
34464 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
34466 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
34467 for ac_func in ldexpf
34468 do :
34469 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
34470 if test "x$ac_cv_func_ldexpf" = x""yes; then :
34471 cat >>confdefs.h <<_ACEOF
34472 #define HAVE_LDEXPF 1
34473 _ACEOF
34476 done
34478 else
34480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
34481 $as_echo_n "checking for _ldexpf declaration... " >&6; }
34482 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
34483 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
34484 $as_echo_n "(cached) " >&6
34485 else
34488 ac_ext=cpp
34489 ac_cpp='$CXXCPP $CPPFLAGS'
34490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34495 /* end confdefs.h. */
34496 #include <math.h>
34498 main ()
34500 _ldexpf(0, 0);
34502 return 0;
34504 _ACEOF
34505 if ac_fn_cxx_try_compile "$LINENO"; then :
34506 glibcxx_cv_func__ldexpf_use=yes
34507 else
34508 glibcxx_cv_func__ldexpf_use=no
34510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34511 ac_ext=c
34512 ac_cpp='$CPP $CPPFLAGS'
34513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
34522 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
34524 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
34525 for ac_func in _ldexpf
34526 do :
34527 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
34528 if test "x$ac_cv_func__ldexpf" = x""yes; then :
34529 cat >>confdefs.h <<_ACEOF
34530 #define HAVE__LDEXPF 1
34531 _ACEOF
34534 done
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
34544 $as_echo_n "checking for logf declaration... " >&6; }
34545 if test x${glibcxx_cv_func_logf_use+set} != xset; then
34546 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
34547 $as_echo_n "(cached) " >&6
34548 else
34551 ac_ext=cpp
34552 ac_cpp='$CXXCPP $CPPFLAGS'
34553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34558 /* end confdefs.h. */
34559 #include <math.h>
34560 #ifdef HAVE_IEEEFP_H
34561 #include <ieeefp.h>
34562 #endif
34565 main ()
34567 logf(0);
34569 return 0;
34571 _ACEOF
34572 if ac_fn_cxx_try_compile "$LINENO"; then :
34573 glibcxx_cv_func_logf_use=yes
34574 else
34575 glibcxx_cv_func_logf_use=no
34577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34578 ac_ext=c
34579 ac_cpp='$CPP $CPPFLAGS'
34580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
34589 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
34591 if test x$glibcxx_cv_func_logf_use = x"yes"; then
34592 for ac_func in logf
34593 do :
34594 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
34595 if test "x$ac_cv_func_logf" = x""yes; then :
34596 cat >>confdefs.h <<_ACEOF
34597 #define HAVE_LOGF 1
34598 _ACEOF
34601 done
34603 else
34605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
34606 $as_echo_n "checking for _logf declaration... " >&6; }
34607 if test x${glibcxx_cv_func__logf_use+set} != xset; then
34608 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
34609 $as_echo_n "(cached) " >&6
34610 else
34613 ac_ext=cpp
34614 ac_cpp='$CXXCPP $CPPFLAGS'
34615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34620 /* end confdefs.h. */
34621 #include <math.h>
34622 #ifdef HAVE_IEEEFP_H
34623 #include <ieeefp.h>
34624 #endif
34627 main ()
34629 _logf(0);
34631 return 0;
34633 _ACEOF
34634 if ac_fn_cxx_try_compile "$LINENO"; then :
34635 glibcxx_cv_func__logf_use=yes
34636 else
34637 glibcxx_cv_func__logf_use=no
34639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34640 ac_ext=c
34641 ac_cpp='$CPP $CPPFLAGS'
34642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
34651 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
34653 if test x$glibcxx_cv_func__logf_use = x"yes"; then
34654 for ac_func in _logf
34655 do :
34656 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
34657 if test "x$ac_cv_func__logf" = x""yes; then :
34658 cat >>confdefs.h <<_ACEOF
34659 #define HAVE__LOGF 1
34660 _ACEOF
34663 done
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
34673 $as_echo_n "checking for log10f declaration... " >&6; }
34674 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
34675 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
34676 $as_echo_n "(cached) " >&6
34677 else
34680 ac_ext=cpp
34681 ac_cpp='$CXXCPP $CPPFLAGS'
34682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34687 /* end confdefs.h. */
34688 #include <math.h>
34689 #ifdef HAVE_IEEEFP_H
34690 #include <ieeefp.h>
34691 #endif
34694 main ()
34696 log10f(0);
34698 return 0;
34700 _ACEOF
34701 if ac_fn_cxx_try_compile "$LINENO"; then :
34702 glibcxx_cv_func_log10f_use=yes
34703 else
34704 glibcxx_cv_func_log10f_use=no
34706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34707 ac_ext=c
34708 ac_cpp='$CPP $CPPFLAGS'
34709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
34718 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
34720 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
34721 for ac_func in log10f
34722 do :
34723 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
34724 if test "x$ac_cv_func_log10f" = x""yes; then :
34725 cat >>confdefs.h <<_ACEOF
34726 #define HAVE_LOG10F 1
34727 _ACEOF
34730 done
34732 else
34734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
34735 $as_echo_n "checking for _log10f declaration... " >&6; }
34736 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
34737 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
34738 $as_echo_n "(cached) " >&6
34739 else
34742 ac_ext=cpp
34743 ac_cpp='$CXXCPP $CPPFLAGS'
34744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34749 /* end confdefs.h. */
34750 #include <math.h>
34751 #ifdef HAVE_IEEEFP_H
34752 #include <ieeefp.h>
34753 #endif
34756 main ()
34758 _log10f(0);
34760 return 0;
34762 _ACEOF
34763 if ac_fn_cxx_try_compile "$LINENO"; then :
34764 glibcxx_cv_func__log10f_use=yes
34765 else
34766 glibcxx_cv_func__log10f_use=no
34768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34769 ac_ext=c
34770 ac_cpp='$CPP $CPPFLAGS'
34771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
34780 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
34782 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
34783 for ac_func in _log10f
34784 do :
34785 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
34786 if test "x$ac_cv_func__log10f" = x""yes; then :
34787 cat >>confdefs.h <<_ACEOF
34788 #define HAVE__LOG10F 1
34789 _ACEOF
34792 done
34801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
34802 $as_echo_n "checking for modff declaration... " >&6; }
34803 if test x${glibcxx_cv_func_modff_use+set} != xset; then
34804 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
34805 $as_echo_n "(cached) " >&6
34806 else
34809 ac_ext=cpp
34810 ac_cpp='$CXXCPP $CPPFLAGS'
34811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34816 /* end confdefs.h. */
34817 #include <math.h>
34819 main ()
34821 modff(0, 0);
34823 return 0;
34825 _ACEOF
34826 if ac_fn_cxx_try_compile "$LINENO"; then :
34827 glibcxx_cv_func_modff_use=yes
34828 else
34829 glibcxx_cv_func_modff_use=no
34831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34832 ac_ext=c
34833 ac_cpp='$CPP $CPPFLAGS'
34834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
34843 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
34845 if test x$glibcxx_cv_func_modff_use = x"yes"; then
34846 for ac_func in modff
34847 do :
34848 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
34849 if test "x$ac_cv_func_modff" = x""yes; then :
34850 cat >>confdefs.h <<_ACEOF
34851 #define HAVE_MODFF 1
34852 _ACEOF
34855 done
34857 else
34859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
34860 $as_echo_n "checking for _modff declaration... " >&6; }
34861 if test x${glibcxx_cv_func__modff_use+set} != xset; then
34862 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
34863 $as_echo_n "(cached) " >&6
34864 else
34867 ac_ext=cpp
34868 ac_cpp='$CXXCPP $CPPFLAGS'
34869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34874 /* end confdefs.h. */
34875 #include <math.h>
34877 main ()
34879 _modff(0, 0);
34881 return 0;
34883 _ACEOF
34884 if ac_fn_cxx_try_compile "$LINENO"; then :
34885 glibcxx_cv_func__modff_use=yes
34886 else
34887 glibcxx_cv_func__modff_use=no
34889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34890 ac_ext=c
34891 ac_cpp='$CPP $CPPFLAGS'
34892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
34901 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
34903 if test x$glibcxx_cv_func__modff_use = x"yes"; then
34904 for ac_func in _modff
34905 do :
34906 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
34907 if test "x$ac_cv_func__modff" = x""yes; then :
34908 cat >>confdefs.h <<_ACEOF
34909 #define HAVE__MODFF 1
34910 _ACEOF
34913 done
34922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
34923 $as_echo_n "checking for modf declaration... " >&6; }
34924 if test x${glibcxx_cv_func_modf_use+set} != xset; then
34925 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
34926 $as_echo_n "(cached) " >&6
34927 else
34930 ac_ext=cpp
34931 ac_cpp='$CXXCPP $CPPFLAGS'
34932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34937 /* end confdefs.h. */
34938 #include <math.h>
34940 main ()
34942 modf(0, 0);
34944 return 0;
34946 _ACEOF
34947 if ac_fn_cxx_try_compile "$LINENO"; then :
34948 glibcxx_cv_func_modf_use=yes
34949 else
34950 glibcxx_cv_func_modf_use=no
34952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34953 ac_ext=c
34954 ac_cpp='$CPP $CPPFLAGS'
34955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
34964 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
34966 if test x$glibcxx_cv_func_modf_use = x"yes"; then
34967 for ac_func in modf
34968 do :
34969 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
34970 if test "x$ac_cv_func_modf" = x""yes; then :
34971 cat >>confdefs.h <<_ACEOF
34972 #define HAVE_MODF 1
34973 _ACEOF
34976 done
34978 else
34980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
34981 $as_echo_n "checking for _modf declaration... " >&6; }
34982 if test x${glibcxx_cv_func__modf_use+set} != xset; then
34983 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
34984 $as_echo_n "(cached) " >&6
34985 else
34988 ac_ext=cpp
34989 ac_cpp='$CXXCPP $CPPFLAGS'
34990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34995 /* end confdefs.h. */
34996 #include <math.h>
34998 main ()
35000 _modf(0, 0);
35002 return 0;
35004 _ACEOF
35005 if ac_fn_cxx_try_compile "$LINENO"; then :
35006 glibcxx_cv_func__modf_use=yes
35007 else
35008 glibcxx_cv_func__modf_use=no
35010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35011 ac_ext=c
35012 ac_cpp='$CPP $CPPFLAGS'
35013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
35022 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
35024 if test x$glibcxx_cv_func__modf_use = x"yes"; then
35025 for ac_func in _modf
35026 do :
35027 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
35028 if test "x$ac_cv_func__modf" = x""yes; then :
35029 cat >>confdefs.h <<_ACEOF
35030 #define HAVE__MODF 1
35031 _ACEOF
35034 done
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
35044 $as_echo_n "checking for powf declaration... " >&6; }
35045 if test x${glibcxx_cv_func_powf_use+set} != xset; then
35046 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
35047 $as_echo_n "(cached) " >&6
35048 else
35051 ac_ext=cpp
35052 ac_cpp='$CXXCPP $CPPFLAGS'
35053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35058 /* end confdefs.h. */
35059 #include <math.h>
35061 main ()
35063 powf(0, 0);
35065 return 0;
35067 _ACEOF
35068 if ac_fn_cxx_try_compile "$LINENO"; then :
35069 glibcxx_cv_func_powf_use=yes
35070 else
35071 glibcxx_cv_func_powf_use=no
35073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35074 ac_ext=c
35075 ac_cpp='$CPP $CPPFLAGS'
35076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
35085 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
35087 if test x$glibcxx_cv_func_powf_use = x"yes"; then
35088 for ac_func in powf
35089 do :
35090 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
35091 if test "x$ac_cv_func_powf" = x""yes; then :
35092 cat >>confdefs.h <<_ACEOF
35093 #define HAVE_POWF 1
35094 _ACEOF
35097 done
35099 else
35101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
35102 $as_echo_n "checking for _powf declaration... " >&6; }
35103 if test x${glibcxx_cv_func__powf_use+set} != xset; then
35104 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
35105 $as_echo_n "(cached) " >&6
35106 else
35109 ac_ext=cpp
35110 ac_cpp='$CXXCPP $CPPFLAGS'
35111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35116 /* end confdefs.h. */
35117 #include <math.h>
35119 main ()
35121 _powf(0, 0);
35123 return 0;
35125 _ACEOF
35126 if ac_fn_cxx_try_compile "$LINENO"; then :
35127 glibcxx_cv_func__powf_use=yes
35128 else
35129 glibcxx_cv_func__powf_use=no
35131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35132 ac_ext=c
35133 ac_cpp='$CPP $CPPFLAGS'
35134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
35143 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
35145 if test x$glibcxx_cv_func__powf_use = x"yes"; then
35146 for ac_func in _powf
35147 do :
35148 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
35149 if test "x$ac_cv_func__powf" = x""yes; then :
35150 cat >>confdefs.h <<_ACEOF
35151 #define HAVE__POWF 1
35152 _ACEOF
35155 done
35164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
35165 $as_echo_n "checking for sqrtf declaration... " >&6; }
35166 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
35167 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
35168 $as_echo_n "(cached) " >&6
35169 else
35172 ac_ext=cpp
35173 ac_cpp='$CXXCPP $CPPFLAGS'
35174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35179 /* end confdefs.h. */
35180 #include <math.h>
35181 #ifdef HAVE_IEEEFP_H
35182 #include <ieeefp.h>
35183 #endif
35186 main ()
35188 sqrtf(0);
35190 return 0;
35192 _ACEOF
35193 if ac_fn_cxx_try_compile "$LINENO"; then :
35194 glibcxx_cv_func_sqrtf_use=yes
35195 else
35196 glibcxx_cv_func_sqrtf_use=no
35198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35199 ac_ext=c
35200 ac_cpp='$CPP $CPPFLAGS'
35201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
35210 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
35212 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
35213 for ac_func in sqrtf
35214 do :
35215 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
35216 if test "x$ac_cv_func_sqrtf" = x""yes; then :
35217 cat >>confdefs.h <<_ACEOF
35218 #define HAVE_SQRTF 1
35219 _ACEOF
35222 done
35224 else
35226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
35227 $as_echo_n "checking for _sqrtf declaration... " >&6; }
35228 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
35229 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
35230 $as_echo_n "(cached) " >&6
35231 else
35234 ac_ext=cpp
35235 ac_cpp='$CXXCPP $CPPFLAGS'
35236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35241 /* end confdefs.h. */
35242 #include <math.h>
35243 #ifdef HAVE_IEEEFP_H
35244 #include <ieeefp.h>
35245 #endif
35248 main ()
35250 _sqrtf(0);
35252 return 0;
35254 _ACEOF
35255 if ac_fn_cxx_try_compile "$LINENO"; then :
35256 glibcxx_cv_func__sqrtf_use=yes
35257 else
35258 glibcxx_cv_func__sqrtf_use=no
35260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35261 ac_ext=c
35262 ac_cpp='$CPP $CPPFLAGS'
35263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
35272 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
35274 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
35275 for ac_func in _sqrtf
35276 do :
35277 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
35278 if test "x$ac_cv_func__sqrtf" = x""yes; then :
35279 cat >>confdefs.h <<_ACEOF
35280 #define HAVE__SQRTF 1
35281 _ACEOF
35284 done
35293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
35294 $as_echo_n "checking for sincosf declaration... " >&6; }
35295 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
35296 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
35297 $as_echo_n "(cached) " >&6
35298 else
35301 ac_ext=cpp
35302 ac_cpp='$CXXCPP $CPPFLAGS'
35303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35308 /* end confdefs.h. */
35309 #include <math.h>
35311 main ()
35313 sincosf(0, 0, 0);
35315 return 0;
35317 _ACEOF
35318 if ac_fn_cxx_try_compile "$LINENO"; then :
35319 glibcxx_cv_func_sincosf_use=yes
35320 else
35321 glibcxx_cv_func_sincosf_use=no
35323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35324 ac_ext=c
35325 ac_cpp='$CPP $CPPFLAGS'
35326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
35335 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
35337 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
35338 for ac_func in sincosf
35339 do :
35340 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
35341 if test "x$ac_cv_func_sincosf" = x""yes; then :
35342 cat >>confdefs.h <<_ACEOF
35343 #define HAVE_SINCOSF 1
35344 _ACEOF
35347 done
35349 else
35351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
35352 $as_echo_n "checking for _sincosf declaration... " >&6; }
35353 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
35354 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
35355 $as_echo_n "(cached) " >&6
35356 else
35359 ac_ext=cpp
35360 ac_cpp='$CXXCPP $CPPFLAGS'
35361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35366 /* end confdefs.h. */
35367 #include <math.h>
35369 main ()
35371 _sincosf(0, 0, 0);
35373 return 0;
35375 _ACEOF
35376 if ac_fn_cxx_try_compile "$LINENO"; then :
35377 glibcxx_cv_func__sincosf_use=yes
35378 else
35379 glibcxx_cv_func__sincosf_use=no
35381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35382 ac_ext=c
35383 ac_cpp='$CPP $CPPFLAGS'
35384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
35393 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
35395 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
35396 for ac_func in _sincosf
35397 do :
35398 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
35399 if test "x$ac_cv_func__sincosf" = x""yes; then :
35400 cat >>confdefs.h <<_ACEOF
35401 #define HAVE__SINCOSF 1
35402 _ACEOF
35405 done
35414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
35415 $as_echo_n "checking for finitef declaration... " >&6; }
35416 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
35417 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
35418 $as_echo_n "(cached) " >&6
35419 else
35422 ac_ext=cpp
35423 ac_cpp='$CXXCPP $CPPFLAGS'
35424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35429 /* end confdefs.h. */
35430 #include <math.h>
35431 #ifdef HAVE_IEEEFP_H
35432 #include <ieeefp.h>
35433 #endif
35436 main ()
35438 finitef(0);
35440 return 0;
35442 _ACEOF
35443 if ac_fn_cxx_try_compile "$LINENO"; then :
35444 glibcxx_cv_func_finitef_use=yes
35445 else
35446 glibcxx_cv_func_finitef_use=no
35448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35449 ac_ext=c
35450 ac_cpp='$CPP $CPPFLAGS'
35451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
35460 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
35462 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
35463 for ac_func in finitef
35464 do :
35465 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
35466 if test "x$ac_cv_func_finitef" = x""yes; then :
35467 cat >>confdefs.h <<_ACEOF
35468 #define HAVE_FINITEF 1
35469 _ACEOF
35472 done
35474 else
35476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
35477 $as_echo_n "checking for _finitef declaration... " >&6; }
35478 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
35479 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
35480 $as_echo_n "(cached) " >&6
35481 else
35484 ac_ext=cpp
35485 ac_cpp='$CXXCPP $CPPFLAGS'
35486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35491 /* end confdefs.h. */
35492 #include <math.h>
35493 #ifdef HAVE_IEEEFP_H
35494 #include <ieeefp.h>
35495 #endif
35498 main ()
35500 _finitef(0);
35502 return 0;
35504 _ACEOF
35505 if ac_fn_cxx_try_compile "$LINENO"; then :
35506 glibcxx_cv_func__finitef_use=yes
35507 else
35508 glibcxx_cv_func__finitef_use=no
35510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35511 ac_ext=c
35512 ac_cpp='$CPP $CPPFLAGS'
35513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
35522 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
35524 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
35525 for ac_func in _finitef
35526 do :
35527 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
35528 if test "x$ac_cv_func__finitef" = x""yes; then :
35529 cat >>confdefs.h <<_ACEOF
35530 #define HAVE__FINITEF 1
35531 _ACEOF
35534 done
35543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
35544 $as_echo_n "checking for long double trig functions... " >&6; }
35545 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
35546 $as_echo_n "(cached) " >&6
35547 else
35550 ac_ext=cpp
35551 ac_cpp='$CXXCPP $CPPFLAGS'
35552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35557 /* end confdefs.h. */
35558 #include <math.h>
35560 main ()
35562 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
35564 return 0;
35566 _ACEOF
35567 if ac_fn_cxx_try_compile "$LINENO"; then :
35568 glibcxx_cv_func_long_double_trig_use=yes
35569 else
35570 glibcxx_cv_func_long_double_trig_use=no
35572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35573 ac_ext=c
35574 ac_cpp='$CPP $CPPFLAGS'
35575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
35582 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
35583 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
35584 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
35585 do :
35586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35588 eval as_val=\$$as_ac_var
35589 if test "x$as_val" = x""yes; then :
35590 cat >>confdefs.h <<_ACEOF
35591 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35592 _ACEOF
35595 done
35597 else
35598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
35599 $as_echo_n "checking for _long double trig functions... " >&6; }
35600 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
35601 $as_echo_n "(cached) " >&6
35602 else
35605 ac_ext=cpp
35606 ac_cpp='$CXXCPP $CPPFLAGS'
35607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35612 /* end confdefs.h. */
35613 #include <math.h>
35615 main ()
35617 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
35619 return 0;
35621 _ACEOF
35622 if ac_fn_cxx_try_compile "$LINENO"; then :
35623 glibcxx_cv_func__long_double_trig_use=yes
35624 else
35625 glibcxx_cv_func__long_double_trig_use=no
35627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35628 ac_ext=c
35629 ac_cpp='$CPP $CPPFLAGS'
35630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
35637 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
35638 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
35639 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
35640 do :
35641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35643 eval as_val=\$$as_ac_var
35644 if test "x$as_val" = x""yes; then :
35645 cat >>confdefs.h <<_ACEOF
35646 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35647 _ACEOF
35650 done
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
35660 $as_echo_n "checking for long double round functions... " >&6; }
35661 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
35662 $as_echo_n "(cached) " >&6
35663 else
35666 ac_ext=cpp
35667 ac_cpp='$CXXCPP $CPPFLAGS'
35668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35673 /* end confdefs.h. */
35674 #include <math.h>
35676 main ()
35678 ceill (0); floorl (0);
35680 return 0;
35682 _ACEOF
35683 if ac_fn_cxx_try_compile "$LINENO"; then :
35684 glibcxx_cv_func_long_double_round_use=yes
35685 else
35686 glibcxx_cv_func_long_double_round_use=no
35688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35689 ac_ext=c
35690 ac_cpp='$CPP $CPPFLAGS'
35691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
35698 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
35699 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
35700 for ac_func in ceill floorl
35701 do :
35702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35704 eval as_val=\$$as_ac_var
35705 if test "x$as_val" = x""yes; then :
35706 cat >>confdefs.h <<_ACEOF
35707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35708 _ACEOF
35711 done
35713 else
35714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
35715 $as_echo_n "checking for _long double round functions... " >&6; }
35716 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
35717 $as_echo_n "(cached) " >&6
35718 else
35721 ac_ext=cpp
35722 ac_cpp='$CXXCPP $CPPFLAGS'
35723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35728 /* end confdefs.h. */
35729 #include <math.h>
35731 main ()
35733 _ceill (0); _floorl (0);
35735 return 0;
35737 _ACEOF
35738 if ac_fn_cxx_try_compile "$LINENO"; then :
35739 glibcxx_cv_func__long_double_round_use=yes
35740 else
35741 glibcxx_cv_func__long_double_round_use=no
35743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35744 ac_ext=c
35745 ac_cpp='$CPP $CPPFLAGS'
35746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
35753 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
35754 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
35755 for ac_func in _ceill _floorl
35756 do :
35757 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35758 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35759 eval as_val=\$$as_ac_var
35760 if test "x$as_val" = x""yes; then :
35761 cat >>confdefs.h <<_ACEOF
35762 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35763 _ACEOF
35766 done
35776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
35777 $as_echo_n "checking for isnanl declaration... " >&6; }
35778 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
35779 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
35780 $as_echo_n "(cached) " >&6
35781 else
35784 ac_ext=cpp
35785 ac_cpp='$CXXCPP $CPPFLAGS'
35786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35791 /* end confdefs.h. */
35792 #include <math.h>
35793 #ifdef HAVE_IEEEFP_H
35794 #include <ieeefp.h>
35795 #endif
35798 main ()
35800 isnanl(0);
35802 return 0;
35804 _ACEOF
35805 if ac_fn_cxx_try_compile "$LINENO"; then :
35806 glibcxx_cv_func_isnanl_use=yes
35807 else
35808 glibcxx_cv_func_isnanl_use=no
35810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35811 ac_ext=c
35812 ac_cpp='$CPP $CPPFLAGS'
35813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
35822 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
35824 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
35825 for ac_func in isnanl
35826 do :
35827 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
35828 if test "x$ac_cv_func_isnanl" = x""yes; then :
35829 cat >>confdefs.h <<_ACEOF
35830 #define HAVE_ISNANL 1
35831 _ACEOF
35834 done
35836 else
35838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
35839 $as_echo_n "checking for _isnanl declaration... " >&6; }
35840 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
35841 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
35842 $as_echo_n "(cached) " >&6
35843 else
35846 ac_ext=cpp
35847 ac_cpp='$CXXCPP $CPPFLAGS'
35848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35853 /* end confdefs.h. */
35854 #include <math.h>
35855 #ifdef HAVE_IEEEFP_H
35856 #include <ieeefp.h>
35857 #endif
35860 main ()
35862 _isnanl(0);
35864 return 0;
35866 _ACEOF
35867 if ac_fn_cxx_try_compile "$LINENO"; then :
35868 glibcxx_cv_func__isnanl_use=yes
35869 else
35870 glibcxx_cv_func__isnanl_use=no
35872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35873 ac_ext=c
35874 ac_cpp='$CPP $CPPFLAGS'
35875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
35884 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
35886 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
35887 for ac_func in _isnanl
35888 do :
35889 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
35890 if test "x$ac_cv_func__isnanl" = x""yes; then :
35891 cat >>confdefs.h <<_ACEOF
35892 #define HAVE__ISNANL 1
35893 _ACEOF
35896 done
35905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
35906 $as_echo_n "checking for isinfl declaration... " >&6; }
35907 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
35908 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
35909 $as_echo_n "(cached) " >&6
35910 else
35913 ac_ext=cpp
35914 ac_cpp='$CXXCPP $CPPFLAGS'
35915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35920 /* end confdefs.h. */
35921 #include <math.h>
35922 #ifdef HAVE_IEEEFP_H
35923 #include <ieeefp.h>
35924 #endif
35927 main ()
35929 isinfl(0);
35931 return 0;
35933 _ACEOF
35934 if ac_fn_cxx_try_compile "$LINENO"; then :
35935 glibcxx_cv_func_isinfl_use=yes
35936 else
35937 glibcxx_cv_func_isinfl_use=no
35939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35940 ac_ext=c
35941 ac_cpp='$CPP $CPPFLAGS'
35942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
35951 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
35953 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
35954 for ac_func in isinfl
35955 do :
35956 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
35957 if test "x$ac_cv_func_isinfl" = x""yes; then :
35958 cat >>confdefs.h <<_ACEOF
35959 #define HAVE_ISINFL 1
35960 _ACEOF
35963 done
35965 else
35967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
35968 $as_echo_n "checking for _isinfl declaration... " >&6; }
35969 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
35970 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
35971 $as_echo_n "(cached) " >&6
35972 else
35975 ac_ext=cpp
35976 ac_cpp='$CXXCPP $CPPFLAGS'
35977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35982 /* end confdefs.h. */
35983 #include <math.h>
35984 #ifdef HAVE_IEEEFP_H
35985 #include <ieeefp.h>
35986 #endif
35989 main ()
35991 _isinfl(0);
35993 return 0;
35995 _ACEOF
35996 if ac_fn_cxx_try_compile "$LINENO"; then :
35997 glibcxx_cv_func__isinfl_use=yes
35998 else
35999 glibcxx_cv_func__isinfl_use=no
36001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36002 ac_ext=c
36003 ac_cpp='$CPP $CPPFLAGS'
36004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
36013 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
36015 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
36016 for ac_func in _isinfl
36017 do :
36018 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
36019 if test "x$ac_cv_func__isinfl" = x""yes; then :
36020 cat >>confdefs.h <<_ACEOF
36021 #define HAVE__ISINFL 1
36022 _ACEOF
36025 done
36034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
36035 $as_echo_n "checking for atan2l declaration... " >&6; }
36036 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
36037 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
36038 $as_echo_n "(cached) " >&6
36039 else
36042 ac_ext=cpp
36043 ac_cpp='$CXXCPP $CPPFLAGS'
36044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36049 /* end confdefs.h. */
36050 #include <math.h>
36052 main ()
36054 atan2l(0, 0);
36056 return 0;
36058 _ACEOF
36059 if ac_fn_cxx_try_compile "$LINENO"; then :
36060 glibcxx_cv_func_atan2l_use=yes
36061 else
36062 glibcxx_cv_func_atan2l_use=no
36064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36065 ac_ext=c
36066 ac_cpp='$CPP $CPPFLAGS'
36067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
36076 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
36078 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
36079 for ac_func in atan2l
36080 do :
36081 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
36082 if test "x$ac_cv_func_atan2l" = x""yes; then :
36083 cat >>confdefs.h <<_ACEOF
36084 #define HAVE_ATAN2L 1
36085 _ACEOF
36088 done
36090 else
36092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
36093 $as_echo_n "checking for _atan2l declaration... " >&6; }
36094 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
36095 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
36096 $as_echo_n "(cached) " >&6
36097 else
36100 ac_ext=cpp
36101 ac_cpp='$CXXCPP $CPPFLAGS'
36102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36107 /* end confdefs.h. */
36108 #include <math.h>
36110 main ()
36112 _atan2l(0, 0);
36114 return 0;
36116 _ACEOF
36117 if ac_fn_cxx_try_compile "$LINENO"; then :
36118 glibcxx_cv_func__atan2l_use=yes
36119 else
36120 glibcxx_cv_func__atan2l_use=no
36122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36123 ac_ext=c
36124 ac_cpp='$CPP $CPPFLAGS'
36125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
36134 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
36136 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
36137 for ac_func in _atan2l
36138 do :
36139 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
36140 if test "x$ac_cv_func__atan2l" = x""yes; then :
36141 cat >>confdefs.h <<_ACEOF
36142 #define HAVE__ATAN2L 1
36143 _ACEOF
36146 done
36155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
36156 $as_echo_n "checking for expl declaration... " >&6; }
36157 if test x${glibcxx_cv_func_expl_use+set} != xset; then
36158 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
36159 $as_echo_n "(cached) " >&6
36160 else
36163 ac_ext=cpp
36164 ac_cpp='$CXXCPP $CPPFLAGS'
36165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36170 /* end confdefs.h. */
36171 #include <math.h>
36172 #ifdef HAVE_IEEEFP_H
36173 #include <ieeefp.h>
36174 #endif
36177 main ()
36179 expl(0);
36181 return 0;
36183 _ACEOF
36184 if ac_fn_cxx_try_compile "$LINENO"; then :
36185 glibcxx_cv_func_expl_use=yes
36186 else
36187 glibcxx_cv_func_expl_use=no
36189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36190 ac_ext=c
36191 ac_cpp='$CPP $CPPFLAGS'
36192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
36201 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
36203 if test x$glibcxx_cv_func_expl_use = x"yes"; then
36204 for ac_func in expl
36205 do :
36206 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
36207 if test "x$ac_cv_func_expl" = x""yes; then :
36208 cat >>confdefs.h <<_ACEOF
36209 #define HAVE_EXPL 1
36210 _ACEOF
36213 done
36215 else
36217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
36218 $as_echo_n "checking for _expl declaration... " >&6; }
36219 if test x${glibcxx_cv_func__expl_use+set} != xset; then
36220 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
36221 $as_echo_n "(cached) " >&6
36222 else
36225 ac_ext=cpp
36226 ac_cpp='$CXXCPP $CPPFLAGS'
36227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36232 /* end confdefs.h. */
36233 #include <math.h>
36234 #ifdef HAVE_IEEEFP_H
36235 #include <ieeefp.h>
36236 #endif
36239 main ()
36241 _expl(0);
36243 return 0;
36245 _ACEOF
36246 if ac_fn_cxx_try_compile "$LINENO"; then :
36247 glibcxx_cv_func__expl_use=yes
36248 else
36249 glibcxx_cv_func__expl_use=no
36251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36252 ac_ext=c
36253 ac_cpp='$CPP $CPPFLAGS'
36254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
36263 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
36265 if test x$glibcxx_cv_func__expl_use = x"yes"; then
36266 for ac_func in _expl
36267 do :
36268 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
36269 if test "x$ac_cv_func__expl" = x""yes; then :
36270 cat >>confdefs.h <<_ACEOF
36271 #define HAVE__EXPL 1
36272 _ACEOF
36275 done
36284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
36285 $as_echo_n "checking for fabsl declaration... " >&6; }
36286 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36287 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
36288 $as_echo_n "(cached) " >&6
36289 else
36292 ac_ext=cpp
36293 ac_cpp='$CXXCPP $CPPFLAGS'
36294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36299 /* end confdefs.h. */
36300 #include <math.h>
36301 #ifdef HAVE_IEEEFP_H
36302 #include <ieeefp.h>
36303 #endif
36306 main ()
36308 fabsl(0);
36310 return 0;
36312 _ACEOF
36313 if ac_fn_cxx_try_compile "$LINENO"; then :
36314 glibcxx_cv_func_fabsl_use=yes
36315 else
36316 glibcxx_cv_func_fabsl_use=no
36318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36319 ac_ext=c
36320 ac_cpp='$CPP $CPPFLAGS'
36321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
36330 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
36332 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36333 for ac_func in fabsl
36334 do :
36335 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
36336 if test "x$ac_cv_func_fabsl" = x""yes; then :
36337 cat >>confdefs.h <<_ACEOF
36338 #define HAVE_FABSL 1
36339 _ACEOF
36342 done
36344 else
36346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
36347 $as_echo_n "checking for _fabsl declaration... " >&6; }
36348 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36349 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
36350 $as_echo_n "(cached) " >&6
36351 else
36354 ac_ext=cpp
36355 ac_cpp='$CXXCPP $CPPFLAGS'
36356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36361 /* end confdefs.h. */
36362 #include <math.h>
36363 #ifdef HAVE_IEEEFP_H
36364 #include <ieeefp.h>
36365 #endif
36368 main ()
36370 _fabsl(0);
36372 return 0;
36374 _ACEOF
36375 if ac_fn_cxx_try_compile "$LINENO"; then :
36376 glibcxx_cv_func__fabsl_use=yes
36377 else
36378 glibcxx_cv_func__fabsl_use=no
36380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36381 ac_ext=c
36382 ac_cpp='$CPP $CPPFLAGS'
36383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
36392 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
36394 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36395 for ac_func in _fabsl
36396 do :
36397 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
36398 if test "x$ac_cv_func__fabsl" = x""yes; then :
36399 cat >>confdefs.h <<_ACEOF
36400 #define HAVE__FABSL 1
36401 _ACEOF
36404 done
36413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
36414 $as_echo_n "checking for fmodl declaration... " >&6; }
36415 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36416 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
36417 $as_echo_n "(cached) " >&6
36418 else
36421 ac_ext=cpp
36422 ac_cpp='$CXXCPP $CPPFLAGS'
36423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36428 /* end confdefs.h. */
36429 #include <math.h>
36431 main ()
36433 fmodl(0, 0);
36435 return 0;
36437 _ACEOF
36438 if ac_fn_cxx_try_compile "$LINENO"; then :
36439 glibcxx_cv_func_fmodl_use=yes
36440 else
36441 glibcxx_cv_func_fmodl_use=no
36443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36444 ac_ext=c
36445 ac_cpp='$CPP $CPPFLAGS'
36446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
36455 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
36457 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36458 for ac_func in fmodl
36459 do :
36460 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
36461 if test "x$ac_cv_func_fmodl" = x""yes; then :
36462 cat >>confdefs.h <<_ACEOF
36463 #define HAVE_FMODL 1
36464 _ACEOF
36467 done
36469 else
36471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
36472 $as_echo_n "checking for _fmodl declaration... " >&6; }
36473 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36474 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
36475 $as_echo_n "(cached) " >&6
36476 else
36479 ac_ext=cpp
36480 ac_cpp='$CXXCPP $CPPFLAGS'
36481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36486 /* end confdefs.h. */
36487 #include <math.h>
36489 main ()
36491 _fmodl(0, 0);
36493 return 0;
36495 _ACEOF
36496 if ac_fn_cxx_try_compile "$LINENO"; then :
36497 glibcxx_cv_func__fmodl_use=yes
36498 else
36499 glibcxx_cv_func__fmodl_use=no
36501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36502 ac_ext=c
36503 ac_cpp='$CPP $CPPFLAGS'
36504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
36513 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
36515 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36516 for ac_func in _fmodl
36517 do :
36518 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
36519 if test "x$ac_cv_func__fmodl" = x""yes; then :
36520 cat >>confdefs.h <<_ACEOF
36521 #define HAVE__FMODL 1
36522 _ACEOF
36525 done
36534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
36535 $as_echo_n "checking for frexpl declaration... " >&6; }
36536 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36537 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
36538 $as_echo_n "(cached) " >&6
36539 else
36542 ac_ext=cpp
36543 ac_cpp='$CXXCPP $CPPFLAGS'
36544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36549 /* end confdefs.h. */
36550 #include <math.h>
36552 main ()
36554 frexpl(0, 0);
36556 return 0;
36558 _ACEOF
36559 if ac_fn_cxx_try_compile "$LINENO"; then :
36560 glibcxx_cv_func_frexpl_use=yes
36561 else
36562 glibcxx_cv_func_frexpl_use=no
36564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36565 ac_ext=c
36566 ac_cpp='$CPP $CPPFLAGS'
36567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
36576 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
36578 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36579 for ac_func in frexpl
36580 do :
36581 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
36582 if test "x$ac_cv_func_frexpl" = x""yes; then :
36583 cat >>confdefs.h <<_ACEOF
36584 #define HAVE_FREXPL 1
36585 _ACEOF
36588 done
36590 else
36592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
36593 $as_echo_n "checking for _frexpl declaration... " >&6; }
36594 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
36595 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
36596 $as_echo_n "(cached) " >&6
36597 else
36600 ac_ext=cpp
36601 ac_cpp='$CXXCPP $CPPFLAGS'
36602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36607 /* end confdefs.h. */
36608 #include <math.h>
36610 main ()
36612 _frexpl(0, 0);
36614 return 0;
36616 _ACEOF
36617 if ac_fn_cxx_try_compile "$LINENO"; then :
36618 glibcxx_cv_func__frexpl_use=yes
36619 else
36620 glibcxx_cv_func__frexpl_use=no
36622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36623 ac_ext=c
36624 ac_cpp='$CPP $CPPFLAGS'
36625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
36634 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
36636 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
36637 for ac_func in _frexpl
36638 do :
36639 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
36640 if test "x$ac_cv_func__frexpl" = x""yes; then :
36641 cat >>confdefs.h <<_ACEOF
36642 #define HAVE__FREXPL 1
36643 _ACEOF
36646 done
36655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
36656 $as_echo_n "checking for hypotl declaration... " >&6; }
36657 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
36658 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
36659 $as_echo_n "(cached) " >&6
36660 else
36663 ac_ext=cpp
36664 ac_cpp='$CXXCPP $CPPFLAGS'
36665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36670 /* end confdefs.h. */
36671 #include <math.h>
36673 main ()
36675 hypotl(0, 0);
36677 return 0;
36679 _ACEOF
36680 if ac_fn_cxx_try_compile "$LINENO"; then :
36681 glibcxx_cv_func_hypotl_use=yes
36682 else
36683 glibcxx_cv_func_hypotl_use=no
36685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36686 ac_ext=c
36687 ac_cpp='$CPP $CPPFLAGS'
36688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
36697 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
36699 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
36700 for ac_func in hypotl
36701 do :
36702 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
36703 if test "x$ac_cv_func_hypotl" = x""yes; then :
36704 cat >>confdefs.h <<_ACEOF
36705 #define HAVE_HYPOTL 1
36706 _ACEOF
36709 done
36711 else
36713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
36714 $as_echo_n "checking for _hypotl declaration... " >&6; }
36715 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
36716 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
36717 $as_echo_n "(cached) " >&6
36718 else
36721 ac_ext=cpp
36722 ac_cpp='$CXXCPP $CPPFLAGS'
36723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36728 /* end confdefs.h. */
36729 #include <math.h>
36731 main ()
36733 _hypotl(0, 0);
36735 return 0;
36737 _ACEOF
36738 if ac_fn_cxx_try_compile "$LINENO"; then :
36739 glibcxx_cv_func__hypotl_use=yes
36740 else
36741 glibcxx_cv_func__hypotl_use=no
36743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36744 ac_ext=c
36745 ac_cpp='$CPP $CPPFLAGS'
36746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
36755 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
36757 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
36758 for ac_func in _hypotl
36759 do :
36760 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
36761 if test "x$ac_cv_func__hypotl" = x""yes; then :
36762 cat >>confdefs.h <<_ACEOF
36763 #define HAVE__HYPOTL 1
36764 _ACEOF
36767 done
36776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
36777 $as_echo_n "checking for ldexpl declaration... " >&6; }
36778 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
36779 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
36780 $as_echo_n "(cached) " >&6
36781 else
36784 ac_ext=cpp
36785 ac_cpp='$CXXCPP $CPPFLAGS'
36786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36791 /* end confdefs.h. */
36792 #include <math.h>
36794 main ()
36796 ldexpl(0, 0);
36798 return 0;
36800 _ACEOF
36801 if ac_fn_cxx_try_compile "$LINENO"; then :
36802 glibcxx_cv_func_ldexpl_use=yes
36803 else
36804 glibcxx_cv_func_ldexpl_use=no
36806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36807 ac_ext=c
36808 ac_cpp='$CPP $CPPFLAGS'
36809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
36818 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
36820 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
36821 for ac_func in ldexpl
36822 do :
36823 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
36824 if test "x$ac_cv_func_ldexpl" = x""yes; then :
36825 cat >>confdefs.h <<_ACEOF
36826 #define HAVE_LDEXPL 1
36827 _ACEOF
36830 done
36832 else
36834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
36835 $as_echo_n "checking for _ldexpl declaration... " >&6; }
36836 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
36837 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
36838 $as_echo_n "(cached) " >&6
36839 else
36842 ac_ext=cpp
36843 ac_cpp='$CXXCPP $CPPFLAGS'
36844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36849 /* end confdefs.h. */
36850 #include <math.h>
36852 main ()
36854 _ldexpl(0, 0);
36856 return 0;
36858 _ACEOF
36859 if ac_fn_cxx_try_compile "$LINENO"; then :
36860 glibcxx_cv_func__ldexpl_use=yes
36861 else
36862 glibcxx_cv_func__ldexpl_use=no
36864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36865 ac_ext=c
36866 ac_cpp='$CPP $CPPFLAGS'
36867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
36876 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
36878 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
36879 for ac_func in _ldexpl
36880 do :
36881 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
36882 if test "x$ac_cv_func__ldexpl" = x""yes; then :
36883 cat >>confdefs.h <<_ACEOF
36884 #define HAVE__LDEXPL 1
36885 _ACEOF
36888 done
36897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
36898 $as_echo_n "checking for logl declaration... " >&6; }
36899 if test x${glibcxx_cv_func_logl_use+set} != xset; then
36900 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
36901 $as_echo_n "(cached) " >&6
36902 else
36905 ac_ext=cpp
36906 ac_cpp='$CXXCPP $CPPFLAGS'
36907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36912 /* end confdefs.h. */
36913 #include <math.h>
36914 #ifdef HAVE_IEEEFP_H
36915 #include <ieeefp.h>
36916 #endif
36919 main ()
36921 logl(0);
36923 return 0;
36925 _ACEOF
36926 if ac_fn_cxx_try_compile "$LINENO"; then :
36927 glibcxx_cv_func_logl_use=yes
36928 else
36929 glibcxx_cv_func_logl_use=no
36931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36932 ac_ext=c
36933 ac_cpp='$CPP $CPPFLAGS'
36934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
36943 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
36945 if test x$glibcxx_cv_func_logl_use = x"yes"; then
36946 for ac_func in logl
36947 do :
36948 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
36949 if test "x$ac_cv_func_logl" = x""yes; then :
36950 cat >>confdefs.h <<_ACEOF
36951 #define HAVE_LOGL 1
36952 _ACEOF
36955 done
36957 else
36959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
36960 $as_echo_n "checking for _logl declaration... " >&6; }
36961 if test x${glibcxx_cv_func__logl_use+set} != xset; then
36962 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
36963 $as_echo_n "(cached) " >&6
36964 else
36967 ac_ext=cpp
36968 ac_cpp='$CXXCPP $CPPFLAGS'
36969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36974 /* end confdefs.h. */
36975 #include <math.h>
36976 #ifdef HAVE_IEEEFP_H
36977 #include <ieeefp.h>
36978 #endif
36981 main ()
36983 _logl(0);
36985 return 0;
36987 _ACEOF
36988 if ac_fn_cxx_try_compile "$LINENO"; then :
36989 glibcxx_cv_func__logl_use=yes
36990 else
36991 glibcxx_cv_func__logl_use=no
36993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36994 ac_ext=c
36995 ac_cpp='$CPP $CPPFLAGS'
36996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37005 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
37007 if test x$glibcxx_cv_func__logl_use = x"yes"; then
37008 for ac_func in _logl
37009 do :
37010 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
37011 if test "x$ac_cv_func__logl" = x""yes; then :
37012 cat >>confdefs.h <<_ACEOF
37013 #define HAVE__LOGL 1
37014 _ACEOF
37017 done
37026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
37027 $as_echo_n "checking for log10l declaration... " >&6; }
37028 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
37029 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
37030 $as_echo_n "(cached) " >&6
37031 else
37034 ac_ext=cpp
37035 ac_cpp='$CXXCPP $CPPFLAGS'
37036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37041 /* end confdefs.h. */
37042 #include <math.h>
37043 #ifdef HAVE_IEEEFP_H
37044 #include <ieeefp.h>
37045 #endif
37048 main ()
37050 log10l(0);
37052 return 0;
37054 _ACEOF
37055 if ac_fn_cxx_try_compile "$LINENO"; then :
37056 glibcxx_cv_func_log10l_use=yes
37057 else
37058 glibcxx_cv_func_log10l_use=no
37060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37061 ac_ext=c
37062 ac_cpp='$CPP $CPPFLAGS'
37063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
37072 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
37074 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
37075 for ac_func in log10l
37076 do :
37077 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
37078 if test "x$ac_cv_func_log10l" = x""yes; then :
37079 cat >>confdefs.h <<_ACEOF
37080 #define HAVE_LOG10L 1
37081 _ACEOF
37084 done
37086 else
37088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
37089 $as_echo_n "checking for _log10l declaration... " >&6; }
37090 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
37091 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
37092 $as_echo_n "(cached) " >&6
37093 else
37096 ac_ext=cpp
37097 ac_cpp='$CXXCPP $CPPFLAGS'
37098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37103 /* end confdefs.h. */
37104 #include <math.h>
37105 #ifdef HAVE_IEEEFP_H
37106 #include <ieeefp.h>
37107 #endif
37110 main ()
37112 _log10l(0);
37114 return 0;
37116 _ACEOF
37117 if ac_fn_cxx_try_compile "$LINENO"; then :
37118 glibcxx_cv_func__log10l_use=yes
37119 else
37120 glibcxx_cv_func__log10l_use=no
37122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37123 ac_ext=c
37124 ac_cpp='$CPP $CPPFLAGS'
37125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
37134 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
37136 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
37137 for ac_func in _log10l
37138 do :
37139 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
37140 if test "x$ac_cv_func__log10l" = x""yes; then :
37141 cat >>confdefs.h <<_ACEOF
37142 #define HAVE__LOG10L 1
37143 _ACEOF
37146 done
37155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
37156 $as_echo_n "checking for modfl declaration... " >&6; }
37157 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
37158 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
37159 $as_echo_n "(cached) " >&6
37160 else
37163 ac_ext=cpp
37164 ac_cpp='$CXXCPP $CPPFLAGS'
37165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37170 /* end confdefs.h. */
37171 #include <math.h>
37173 main ()
37175 modfl(0, 0);
37177 return 0;
37179 _ACEOF
37180 if ac_fn_cxx_try_compile "$LINENO"; then :
37181 glibcxx_cv_func_modfl_use=yes
37182 else
37183 glibcxx_cv_func_modfl_use=no
37185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37186 ac_ext=c
37187 ac_cpp='$CPP $CPPFLAGS'
37188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
37197 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
37199 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
37200 for ac_func in modfl
37201 do :
37202 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
37203 if test "x$ac_cv_func_modfl" = x""yes; then :
37204 cat >>confdefs.h <<_ACEOF
37205 #define HAVE_MODFL 1
37206 _ACEOF
37209 done
37211 else
37213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
37214 $as_echo_n "checking for _modfl declaration... " >&6; }
37215 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
37216 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
37217 $as_echo_n "(cached) " >&6
37218 else
37221 ac_ext=cpp
37222 ac_cpp='$CXXCPP $CPPFLAGS'
37223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37228 /* end confdefs.h. */
37229 #include <math.h>
37231 main ()
37233 _modfl(0, 0);
37235 return 0;
37237 _ACEOF
37238 if ac_fn_cxx_try_compile "$LINENO"; then :
37239 glibcxx_cv_func__modfl_use=yes
37240 else
37241 glibcxx_cv_func__modfl_use=no
37243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37244 ac_ext=c
37245 ac_cpp='$CPP $CPPFLAGS'
37246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
37255 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
37257 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
37258 for ac_func in _modfl
37259 do :
37260 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
37261 if test "x$ac_cv_func__modfl" = x""yes; then :
37262 cat >>confdefs.h <<_ACEOF
37263 #define HAVE__MODFL 1
37264 _ACEOF
37267 done
37276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
37277 $as_echo_n "checking for powl declaration... " >&6; }
37278 if test x${glibcxx_cv_func_powl_use+set} != xset; then
37279 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
37280 $as_echo_n "(cached) " >&6
37281 else
37284 ac_ext=cpp
37285 ac_cpp='$CXXCPP $CPPFLAGS'
37286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37291 /* end confdefs.h. */
37292 #include <math.h>
37294 main ()
37296 powl(0, 0);
37298 return 0;
37300 _ACEOF
37301 if ac_fn_cxx_try_compile "$LINENO"; then :
37302 glibcxx_cv_func_powl_use=yes
37303 else
37304 glibcxx_cv_func_powl_use=no
37306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37307 ac_ext=c
37308 ac_cpp='$CPP $CPPFLAGS'
37309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
37318 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
37320 if test x$glibcxx_cv_func_powl_use = x"yes"; then
37321 for ac_func in powl
37322 do :
37323 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
37324 if test "x$ac_cv_func_powl" = x""yes; then :
37325 cat >>confdefs.h <<_ACEOF
37326 #define HAVE_POWL 1
37327 _ACEOF
37330 done
37332 else
37334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
37335 $as_echo_n "checking for _powl declaration... " >&6; }
37336 if test x${glibcxx_cv_func__powl_use+set} != xset; then
37337 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
37338 $as_echo_n "(cached) " >&6
37339 else
37342 ac_ext=cpp
37343 ac_cpp='$CXXCPP $CPPFLAGS'
37344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37349 /* end confdefs.h. */
37350 #include <math.h>
37352 main ()
37354 _powl(0, 0);
37356 return 0;
37358 _ACEOF
37359 if ac_fn_cxx_try_compile "$LINENO"; then :
37360 glibcxx_cv_func__powl_use=yes
37361 else
37362 glibcxx_cv_func__powl_use=no
37364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37365 ac_ext=c
37366 ac_cpp='$CPP $CPPFLAGS'
37367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
37376 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
37378 if test x$glibcxx_cv_func__powl_use = x"yes"; then
37379 for ac_func in _powl
37380 do :
37381 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
37382 if test "x$ac_cv_func__powl" = x""yes; then :
37383 cat >>confdefs.h <<_ACEOF
37384 #define HAVE__POWL 1
37385 _ACEOF
37388 done
37397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
37398 $as_echo_n "checking for sqrtl declaration... " >&6; }
37399 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
37400 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
37401 $as_echo_n "(cached) " >&6
37402 else
37405 ac_ext=cpp
37406 ac_cpp='$CXXCPP $CPPFLAGS'
37407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37412 /* end confdefs.h. */
37413 #include <math.h>
37414 #ifdef HAVE_IEEEFP_H
37415 #include <ieeefp.h>
37416 #endif
37419 main ()
37421 sqrtl(0);
37423 return 0;
37425 _ACEOF
37426 if ac_fn_cxx_try_compile "$LINENO"; then :
37427 glibcxx_cv_func_sqrtl_use=yes
37428 else
37429 glibcxx_cv_func_sqrtl_use=no
37431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37432 ac_ext=c
37433 ac_cpp='$CPP $CPPFLAGS'
37434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
37443 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
37445 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
37446 for ac_func in sqrtl
37447 do :
37448 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
37449 if test "x$ac_cv_func_sqrtl" = x""yes; then :
37450 cat >>confdefs.h <<_ACEOF
37451 #define HAVE_SQRTL 1
37452 _ACEOF
37455 done
37457 else
37459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
37460 $as_echo_n "checking for _sqrtl declaration... " >&6; }
37461 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
37462 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
37463 $as_echo_n "(cached) " >&6
37464 else
37467 ac_ext=cpp
37468 ac_cpp='$CXXCPP $CPPFLAGS'
37469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37474 /* end confdefs.h. */
37475 #include <math.h>
37476 #ifdef HAVE_IEEEFP_H
37477 #include <ieeefp.h>
37478 #endif
37481 main ()
37483 _sqrtl(0);
37485 return 0;
37487 _ACEOF
37488 if ac_fn_cxx_try_compile "$LINENO"; then :
37489 glibcxx_cv_func__sqrtl_use=yes
37490 else
37491 glibcxx_cv_func__sqrtl_use=no
37493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37494 ac_ext=c
37495 ac_cpp='$CPP $CPPFLAGS'
37496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
37505 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
37507 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
37508 for ac_func in _sqrtl
37509 do :
37510 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
37511 if test "x$ac_cv_func__sqrtl" = x""yes; then :
37512 cat >>confdefs.h <<_ACEOF
37513 #define HAVE__SQRTL 1
37514 _ACEOF
37517 done
37526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
37527 $as_echo_n "checking for sincosl declaration... " >&6; }
37528 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
37529 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
37530 $as_echo_n "(cached) " >&6
37531 else
37534 ac_ext=cpp
37535 ac_cpp='$CXXCPP $CPPFLAGS'
37536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37541 /* end confdefs.h. */
37542 #include <math.h>
37544 main ()
37546 sincosl(0, 0, 0);
37548 return 0;
37550 _ACEOF
37551 if ac_fn_cxx_try_compile "$LINENO"; then :
37552 glibcxx_cv_func_sincosl_use=yes
37553 else
37554 glibcxx_cv_func_sincosl_use=no
37556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37557 ac_ext=c
37558 ac_cpp='$CPP $CPPFLAGS'
37559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
37568 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
37570 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
37571 for ac_func in sincosl
37572 do :
37573 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
37574 if test "x$ac_cv_func_sincosl" = x""yes; then :
37575 cat >>confdefs.h <<_ACEOF
37576 #define HAVE_SINCOSL 1
37577 _ACEOF
37580 done
37582 else
37584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
37585 $as_echo_n "checking for _sincosl declaration... " >&6; }
37586 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
37587 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
37588 $as_echo_n "(cached) " >&6
37589 else
37592 ac_ext=cpp
37593 ac_cpp='$CXXCPP $CPPFLAGS'
37594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37599 /* end confdefs.h. */
37600 #include <math.h>
37602 main ()
37604 _sincosl(0, 0, 0);
37606 return 0;
37608 _ACEOF
37609 if ac_fn_cxx_try_compile "$LINENO"; then :
37610 glibcxx_cv_func__sincosl_use=yes
37611 else
37612 glibcxx_cv_func__sincosl_use=no
37614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37615 ac_ext=c
37616 ac_cpp='$CPP $CPPFLAGS'
37617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
37626 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
37628 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
37629 for ac_func in _sincosl
37630 do :
37631 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
37632 if test "x$ac_cv_func__sincosl" = x""yes; then :
37633 cat >>confdefs.h <<_ACEOF
37634 #define HAVE__SINCOSL 1
37635 _ACEOF
37638 done
37647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
37648 $as_echo_n "checking for finitel declaration... " >&6; }
37649 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
37650 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
37651 $as_echo_n "(cached) " >&6
37652 else
37655 ac_ext=cpp
37656 ac_cpp='$CXXCPP $CPPFLAGS'
37657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37662 /* end confdefs.h. */
37663 #include <math.h>
37664 #ifdef HAVE_IEEEFP_H
37665 #include <ieeefp.h>
37666 #endif
37669 main ()
37671 finitel(0);
37673 return 0;
37675 _ACEOF
37676 if ac_fn_cxx_try_compile "$LINENO"; then :
37677 glibcxx_cv_func_finitel_use=yes
37678 else
37679 glibcxx_cv_func_finitel_use=no
37681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37682 ac_ext=c
37683 ac_cpp='$CPP $CPPFLAGS'
37684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
37693 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
37695 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
37696 for ac_func in finitel
37697 do :
37698 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
37699 if test "x$ac_cv_func_finitel" = x""yes; then :
37700 cat >>confdefs.h <<_ACEOF
37701 #define HAVE_FINITEL 1
37702 _ACEOF
37705 done
37707 else
37709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
37710 $as_echo_n "checking for _finitel declaration... " >&6; }
37711 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
37712 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
37713 $as_echo_n "(cached) " >&6
37714 else
37717 ac_ext=cpp
37718 ac_cpp='$CXXCPP $CPPFLAGS'
37719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37724 /* end confdefs.h. */
37725 #include <math.h>
37726 #ifdef HAVE_IEEEFP_H
37727 #include <ieeefp.h>
37728 #endif
37731 main ()
37733 _finitel(0);
37735 return 0;
37737 _ACEOF
37738 if ac_fn_cxx_try_compile "$LINENO"; then :
37739 glibcxx_cv_func__finitel_use=yes
37740 else
37741 glibcxx_cv_func__finitel_use=no
37743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37744 ac_ext=c
37745 ac_cpp='$CPP $CPPFLAGS'
37746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
37755 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
37757 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
37758 for ac_func in _finitel
37759 do :
37760 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
37761 if test "x$ac_cv_func__finitel" = x""yes; then :
37762 cat >>confdefs.h <<_ACEOF
37763 #define HAVE__FINITEL 1
37764 _ACEOF
37767 done
37775 LIBS="$ac_save_LIBS"
37776 CXXFLAGS="$ac_save_CXXFLAGS"
37779 ac_test_CXXFLAGS="${CXXFLAGS+set}"
37780 ac_save_CXXFLAGS="$CXXFLAGS"
37781 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
37784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
37785 $as_echo_n "checking for strtold declaration... " >&6; }
37786 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
37787 if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
37802 main ()
37804 strtold(0, 0);
37806 return 0;
37808 _ACEOF
37809 if ac_fn_cxx_try_compile "$LINENO"; then :
37810 glibcxx_cv_func_strtold_use=yes
37811 else
37812 glibcxx_cv_func_strtold_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_strtold_use" >&5
37826 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
37827 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
37828 for ac_func in strtold
37829 do :
37830 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
37831 if test "x$ac_cv_func_strtold" = x""yes; then :
37832 cat >>confdefs.h <<_ACEOF
37833 #define HAVE_STRTOLD 1
37834 _ACEOF
37837 done
37844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
37845 $as_echo_n "checking for strtof declaration... " >&6; }
37846 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
37847 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
37848 $as_echo_n "(cached) " >&6
37849 else
37852 ac_ext=cpp
37853 ac_cpp='$CXXCPP $CPPFLAGS'
37854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37859 /* end confdefs.h. */
37860 #include <stdlib.h>
37862 main ()
37864 strtof(0, 0);
37866 return 0;
37868 _ACEOF
37869 if ac_fn_cxx_try_compile "$LINENO"; then :
37870 glibcxx_cv_func_strtof_use=yes
37871 else
37872 glibcxx_cv_func_strtof_use=no
37874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37875 ac_ext=c
37876 ac_cpp='$CPP $CPPFLAGS'
37877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
37886 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
37887 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
37888 for ac_func in strtof
37889 do :
37890 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
37891 if test "x$ac_cv_func_strtof" = x""yes; then :
37892 cat >>confdefs.h <<_ACEOF
37893 #define HAVE_STRTOF 1
37894 _ACEOF
37897 done
37904 CXXFLAGS="$ac_save_CXXFLAGS"
37906 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
37908 # We don't yet support AIX's TLS ABI.
37909 #GCC_CHECK_TLS
37915 am_save_CPPFLAGS="$CPPFLAGS"
37917 for element in $INCICONV; do
37918 haveit=
37919 for x in $CPPFLAGS; do
37921 acl_save_prefix="$prefix"
37922 prefix="$acl_final_prefix"
37923 acl_save_exec_prefix="$exec_prefix"
37924 exec_prefix="$acl_final_exec_prefix"
37925 eval x=\"$x\"
37926 exec_prefix="$acl_save_exec_prefix"
37927 prefix="$acl_save_prefix"
37929 if test "X$x" = "X$element"; then
37930 haveit=yes
37931 break
37933 done
37934 if test -z "$haveit"; then
37935 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
37937 done
37940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
37941 $as_echo_n "checking for iconv... " >&6; }
37942 if test "${am_cv_func_iconv+set}" = set; then :
37943 $as_echo_n "(cached) " >&6
37944 else
37946 am_cv_func_iconv="no, consider installing GNU libiconv"
37947 am_cv_lib_iconv=no
37948 if test x$gcc_no_link = xyes; then
37949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37952 /* end confdefs.h. */
37953 #include <stdlib.h>
37954 #include <iconv.h>
37956 main ()
37958 iconv_t cd = iconv_open("","");
37959 iconv(cd,NULL,NULL,NULL,NULL);
37960 iconv_close(cd);
37962 return 0;
37964 _ACEOF
37965 if ac_fn_c_try_link "$LINENO"; then :
37966 am_cv_func_iconv=yes
37968 rm -f core conftest.err conftest.$ac_objext \
37969 conftest$ac_exeext conftest.$ac_ext
37970 if test "$am_cv_func_iconv" != yes; then
37971 am_save_LIBS="$LIBS"
37972 LIBS="$LIBS $LIBICONV"
37973 if test x$gcc_no_link = xyes; then
37974 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
37976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37977 /* end confdefs.h. */
37978 #include <stdlib.h>
37979 #include <iconv.h>
37981 main ()
37983 iconv_t cd = iconv_open("","");
37984 iconv(cd,NULL,NULL,NULL,NULL);
37985 iconv_close(cd);
37987 return 0;
37989 _ACEOF
37990 if ac_fn_c_try_link "$LINENO"; then :
37991 am_cv_lib_iconv=yes
37992 am_cv_func_iconv=yes
37994 rm -f core conftest.err conftest.$ac_objext \
37995 conftest$ac_exeext conftest.$ac_ext
37996 LIBS="$am_save_LIBS"
38000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38001 $as_echo "$am_cv_func_iconv" >&6; }
38002 if test "$am_cv_func_iconv" = yes; then
38004 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38007 if test "$am_cv_lib_iconv" = yes; then
38008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
38009 $as_echo_n "checking how to link with libiconv... " >&6; }
38010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
38011 $as_echo "$LIBICONV" >&6; }
38012 else
38013 CPPFLAGS="$am_save_CPPFLAGS"
38014 LIBICONV=
38015 LTLIBICONV=
38020 if test "$am_cv_func_iconv" = yes; then
38021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
38022 $as_echo_n "checking for iconv declaration... " >&6; }
38023 if test "${am_cv_proto_iconv+set}" = set; then :
38024 $as_echo_n "(cached) " >&6
38025 else
38027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38028 /* end confdefs.h. */
38030 #include <stdlib.h>
38031 #include <iconv.h>
38032 extern
38033 #ifdef __cplusplus
38035 #endif
38036 #if defined(__STDC__) || defined(__cplusplus)
38037 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
38038 #else
38039 size_t iconv();
38040 #endif
38043 main ()
38047 return 0;
38049 _ACEOF
38050 if ac_fn_c_try_compile "$LINENO"; then :
38051 am_cv_proto_iconv_arg1=""
38052 else
38053 am_cv_proto_iconv_arg1="const"
38055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38056 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);"
38059 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
38060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
38061 }$am_cv_proto_iconv" >&5
38062 $as_echo "${ac_t:-
38063 }$am_cv_proto_iconv" >&6; }
38065 cat >>confdefs.h <<_ACEOF
38066 #define ICONV_CONST $am_cv_proto_iconv_arg1
38067 _ACEOF
38073 *-darwin*)
38074 # Darwin versions vary, but the linker should work in a cross environment,
38075 # so we just check for all the features here.
38076 # Check for available headers.
38078 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
38080 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38081 ac_save_CXXFLAGS="$CXXFLAGS"
38082 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
38085 $as_echo_n "checking for sin in -lm... " >&6; }
38086 if test "${ac_cv_lib_m_sin+set}" = set; then :
38087 $as_echo_n "(cached) " >&6
38088 else
38089 ac_check_lib_save_LIBS=$LIBS
38090 LIBS="-lm $LIBS"
38091 if test x$gcc_no_link = xyes; then
38092 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38095 /* end confdefs.h. */
38097 /* Override any GCC internal prototype to avoid an error.
38098 Use char because int might match the return type of a GCC
38099 builtin and then its argument prototype would still apply. */
38100 #ifdef __cplusplus
38101 extern "C"
38102 #endif
38103 char sin ();
38105 main ()
38107 return sin ();
38109 return 0;
38111 _ACEOF
38112 if ac_fn_c_try_link "$LINENO"; then :
38113 ac_cv_lib_m_sin=yes
38114 else
38115 ac_cv_lib_m_sin=no
38117 rm -f core conftest.err conftest.$ac_objext \
38118 conftest$ac_exeext conftest.$ac_ext
38119 LIBS=$ac_check_lib_save_LIBS
38121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
38122 $as_echo "$ac_cv_lib_m_sin" >&6; }
38123 if test "x$ac_cv_lib_m_sin" = x""yes; then :
38124 libm="-lm"
38127 ac_save_LIBS="$LIBS"
38128 LIBS="$LIBS $libm"
38132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
38133 $as_echo_n "checking for isinf declaration... " >&6; }
38134 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
38135 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
38136 $as_echo_n "(cached) " >&6
38137 else
38140 ac_ext=cpp
38141 ac_cpp='$CXXCPP $CPPFLAGS'
38142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38147 /* end confdefs.h. */
38148 #include <math.h>
38149 #ifdef HAVE_IEEEFP_H
38150 #include <ieeefp.h>
38151 #endif
38154 main ()
38156 isinf(0);
38158 return 0;
38160 _ACEOF
38161 if ac_fn_cxx_try_compile "$LINENO"; then :
38162 glibcxx_cv_func_isinf_use=yes
38163 else
38164 glibcxx_cv_func_isinf_use=no
38166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38167 ac_ext=c
38168 ac_cpp='$CPP $CPPFLAGS'
38169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
38178 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
38180 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
38181 for ac_func in isinf
38182 do :
38183 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
38184 if test "x$ac_cv_func_isinf" = x""yes; then :
38185 cat >>confdefs.h <<_ACEOF
38186 #define HAVE_ISINF 1
38187 _ACEOF
38190 done
38192 else
38194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
38195 $as_echo_n "checking for _isinf declaration... " >&6; }
38196 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
38197 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
38198 $as_echo_n "(cached) " >&6
38199 else
38202 ac_ext=cpp
38203 ac_cpp='$CXXCPP $CPPFLAGS'
38204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38209 /* end confdefs.h. */
38210 #include <math.h>
38211 #ifdef HAVE_IEEEFP_H
38212 #include <ieeefp.h>
38213 #endif
38216 main ()
38218 _isinf(0);
38220 return 0;
38222 _ACEOF
38223 if ac_fn_cxx_try_compile "$LINENO"; then :
38224 glibcxx_cv_func__isinf_use=yes
38225 else
38226 glibcxx_cv_func__isinf_use=no
38228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38229 ac_ext=c
38230 ac_cpp='$CPP $CPPFLAGS'
38231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
38240 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
38242 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
38243 for ac_func in _isinf
38244 do :
38245 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
38246 if test "x$ac_cv_func__isinf" = x""yes; then :
38247 cat >>confdefs.h <<_ACEOF
38248 #define HAVE__ISINF 1
38249 _ACEOF
38252 done
38261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
38262 $as_echo_n "checking for isnan declaration... " >&6; }
38263 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
38264 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
38265 $as_echo_n "(cached) " >&6
38266 else
38269 ac_ext=cpp
38270 ac_cpp='$CXXCPP $CPPFLAGS'
38271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38276 /* end confdefs.h. */
38277 #include <math.h>
38278 #ifdef HAVE_IEEEFP_H
38279 #include <ieeefp.h>
38280 #endif
38283 main ()
38285 isnan(0);
38287 return 0;
38289 _ACEOF
38290 if ac_fn_cxx_try_compile "$LINENO"; then :
38291 glibcxx_cv_func_isnan_use=yes
38292 else
38293 glibcxx_cv_func_isnan_use=no
38295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38296 ac_ext=c
38297 ac_cpp='$CPP $CPPFLAGS'
38298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
38307 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
38309 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
38310 for ac_func in isnan
38311 do :
38312 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
38313 if test "x$ac_cv_func_isnan" = x""yes; then :
38314 cat >>confdefs.h <<_ACEOF
38315 #define HAVE_ISNAN 1
38316 _ACEOF
38319 done
38321 else
38323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
38324 $as_echo_n "checking for _isnan declaration... " >&6; }
38325 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
38326 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
38327 $as_echo_n "(cached) " >&6
38328 else
38331 ac_ext=cpp
38332 ac_cpp='$CXXCPP $CPPFLAGS'
38333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38338 /* end confdefs.h. */
38339 #include <math.h>
38340 #ifdef HAVE_IEEEFP_H
38341 #include <ieeefp.h>
38342 #endif
38345 main ()
38347 _isnan(0);
38349 return 0;
38351 _ACEOF
38352 if ac_fn_cxx_try_compile "$LINENO"; then :
38353 glibcxx_cv_func__isnan_use=yes
38354 else
38355 glibcxx_cv_func__isnan_use=no
38357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38358 ac_ext=c
38359 ac_cpp='$CPP $CPPFLAGS'
38360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
38369 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
38371 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
38372 for ac_func in _isnan
38373 do :
38374 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
38375 if test "x$ac_cv_func__isnan" = x""yes; then :
38376 cat >>confdefs.h <<_ACEOF
38377 #define HAVE__ISNAN 1
38378 _ACEOF
38381 done
38390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
38391 $as_echo_n "checking for finite declaration... " >&6; }
38392 if test x${glibcxx_cv_func_finite_use+set} != xset; then
38393 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
38394 $as_echo_n "(cached) " >&6
38395 else
38398 ac_ext=cpp
38399 ac_cpp='$CXXCPP $CPPFLAGS'
38400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38405 /* end confdefs.h. */
38406 #include <math.h>
38407 #ifdef HAVE_IEEEFP_H
38408 #include <ieeefp.h>
38409 #endif
38412 main ()
38414 finite(0);
38416 return 0;
38418 _ACEOF
38419 if ac_fn_cxx_try_compile "$LINENO"; then :
38420 glibcxx_cv_func_finite_use=yes
38421 else
38422 glibcxx_cv_func_finite_use=no
38424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38425 ac_ext=c
38426 ac_cpp='$CPP $CPPFLAGS'
38427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
38436 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
38438 if test x$glibcxx_cv_func_finite_use = x"yes"; then
38439 for ac_func in finite
38440 do :
38441 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
38442 if test "x$ac_cv_func_finite" = x""yes; then :
38443 cat >>confdefs.h <<_ACEOF
38444 #define HAVE_FINITE 1
38445 _ACEOF
38448 done
38450 else
38452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
38453 $as_echo_n "checking for _finite declaration... " >&6; }
38454 if test x${glibcxx_cv_func__finite_use+set} != xset; then
38455 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
38456 $as_echo_n "(cached) " >&6
38457 else
38460 ac_ext=cpp
38461 ac_cpp='$CXXCPP $CPPFLAGS'
38462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38467 /* end confdefs.h. */
38468 #include <math.h>
38469 #ifdef HAVE_IEEEFP_H
38470 #include <ieeefp.h>
38471 #endif
38474 main ()
38476 _finite(0);
38478 return 0;
38480 _ACEOF
38481 if ac_fn_cxx_try_compile "$LINENO"; then :
38482 glibcxx_cv_func__finite_use=yes
38483 else
38484 glibcxx_cv_func__finite_use=no
38486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38487 ac_ext=c
38488 ac_cpp='$CPP $CPPFLAGS'
38489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
38498 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
38500 if test x$glibcxx_cv_func__finite_use = x"yes"; then
38501 for ac_func in _finite
38502 do :
38503 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
38504 if test "x$ac_cv_func__finite" = x""yes; then :
38505 cat >>confdefs.h <<_ACEOF
38506 #define HAVE__FINITE 1
38507 _ACEOF
38510 done
38519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
38520 $as_echo_n "checking for sincos declaration... " >&6; }
38521 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
38522 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
38523 $as_echo_n "(cached) " >&6
38524 else
38527 ac_ext=cpp
38528 ac_cpp='$CXXCPP $CPPFLAGS'
38529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38534 /* end confdefs.h. */
38535 #include <math.h>
38537 main ()
38539 sincos(0, 0, 0);
38541 return 0;
38543 _ACEOF
38544 if ac_fn_cxx_try_compile "$LINENO"; then :
38545 glibcxx_cv_func_sincos_use=yes
38546 else
38547 glibcxx_cv_func_sincos_use=no
38549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38550 ac_ext=c
38551 ac_cpp='$CPP $CPPFLAGS'
38552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
38561 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
38563 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
38564 for ac_func in sincos
38565 do :
38566 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
38567 if test "x$ac_cv_func_sincos" = x""yes; then :
38568 cat >>confdefs.h <<_ACEOF
38569 #define HAVE_SINCOS 1
38570 _ACEOF
38573 done
38575 else
38577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
38578 $as_echo_n "checking for _sincos declaration... " >&6; }
38579 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
38580 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
38581 $as_echo_n "(cached) " >&6
38582 else
38585 ac_ext=cpp
38586 ac_cpp='$CXXCPP $CPPFLAGS'
38587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38592 /* end confdefs.h. */
38593 #include <math.h>
38595 main ()
38597 _sincos(0, 0, 0);
38599 return 0;
38601 _ACEOF
38602 if ac_fn_cxx_try_compile "$LINENO"; then :
38603 glibcxx_cv_func__sincos_use=yes
38604 else
38605 glibcxx_cv_func__sincos_use=no
38607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38608 ac_ext=c
38609 ac_cpp='$CPP $CPPFLAGS'
38610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
38619 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
38621 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
38622 for ac_func in _sincos
38623 do :
38624 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
38625 if test "x$ac_cv_func__sincos" = x""yes; then :
38626 cat >>confdefs.h <<_ACEOF
38627 #define HAVE__SINCOS 1
38628 _ACEOF
38631 done
38640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
38641 $as_echo_n "checking for fpclass declaration... " >&6; }
38642 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
38643 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
38644 $as_echo_n "(cached) " >&6
38645 else
38648 ac_ext=cpp
38649 ac_cpp='$CXXCPP $CPPFLAGS'
38650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38655 /* end confdefs.h. */
38656 #include <math.h>
38657 #ifdef HAVE_IEEEFP_H
38658 #include <ieeefp.h>
38659 #endif
38662 main ()
38664 fpclass(0);
38666 return 0;
38668 _ACEOF
38669 if ac_fn_cxx_try_compile "$LINENO"; then :
38670 glibcxx_cv_func_fpclass_use=yes
38671 else
38672 glibcxx_cv_func_fpclass_use=no
38674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38675 ac_ext=c
38676 ac_cpp='$CPP $CPPFLAGS'
38677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
38686 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
38688 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
38689 for ac_func in fpclass
38690 do :
38691 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
38692 if test "x$ac_cv_func_fpclass" = x""yes; then :
38693 cat >>confdefs.h <<_ACEOF
38694 #define HAVE_FPCLASS 1
38695 _ACEOF
38698 done
38700 else
38702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
38703 $as_echo_n "checking for _fpclass declaration... " >&6; }
38704 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
38705 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
38706 $as_echo_n "(cached) " >&6
38707 else
38710 ac_ext=cpp
38711 ac_cpp='$CXXCPP $CPPFLAGS'
38712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38717 /* end confdefs.h. */
38718 #include <math.h>
38719 #ifdef HAVE_IEEEFP_H
38720 #include <ieeefp.h>
38721 #endif
38724 main ()
38726 _fpclass(0);
38728 return 0;
38730 _ACEOF
38731 if ac_fn_cxx_try_compile "$LINENO"; then :
38732 glibcxx_cv_func__fpclass_use=yes
38733 else
38734 glibcxx_cv_func__fpclass_use=no
38736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38737 ac_ext=c
38738 ac_cpp='$CPP $CPPFLAGS'
38739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
38748 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
38750 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
38751 for ac_func in _fpclass
38752 do :
38753 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
38754 if test "x$ac_cv_func__fpclass" = x""yes; then :
38755 cat >>confdefs.h <<_ACEOF
38756 #define HAVE__FPCLASS 1
38757 _ACEOF
38760 done
38769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
38770 $as_echo_n "checking for qfpclass declaration... " >&6; }
38771 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
38772 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
38773 $as_echo_n "(cached) " >&6
38774 else
38777 ac_ext=cpp
38778 ac_cpp='$CXXCPP $CPPFLAGS'
38779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38784 /* end confdefs.h. */
38785 #include <math.h>
38786 #ifdef HAVE_IEEEFP_H
38787 #include <ieeefp.h>
38788 #endif
38791 main ()
38793 qfpclass(0);
38795 return 0;
38797 _ACEOF
38798 if ac_fn_cxx_try_compile "$LINENO"; then :
38799 glibcxx_cv_func_qfpclass_use=yes
38800 else
38801 glibcxx_cv_func_qfpclass_use=no
38803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38804 ac_ext=c
38805 ac_cpp='$CPP $CPPFLAGS'
38806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
38815 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
38817 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
38818 for ac_func in qfpclass
38819 do :
38820 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
38821 if test "x$ac_cv_func_qfpclass" = x""yes; then :
38822 cat >>confdefs.h <<_ACEOF
38823 #define HAVE_QFPCLASS 1
38824 _ACEOF
38827 done
38829 else
38831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
38832 $as_echo_n "checking for _qfpclass declaration... " >&6; }
38833 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
38834 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
38835 $as_echo_n "(cached) " >&6
38836 else
38839 ac_ext=cpp
38840 ac_cpp='$CXXCPP $CPPFLAGS'
38841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38846 /* end confdefs.h. */
38847 #include <math.h>
38848 #ifdef HAVE_IEEEFP_H
38849 #include <ieeefp.h>
38850 #endif
38853 main ()
38855 _qfpclass(0);
38857 return 0;
38859 _ACEOF
38860 if ac_fn_cxx_try_compile "$LINENO"; then :
38861 glibcxx_cv_func__qfpclass_use=yes
38862 else
38863 glibcxx_cv_func__qfpclass_use=no
38865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38866 ac_ext=c
38867 ac_cpp='$CPP $CPPFLAGS'
38868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
38877 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
38879 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
38880 for ac_func in _qfpclass
38881 do :
38882 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
38883 if test "x$ac_cv_func__qfpclass" = x""yes; then :
38884 cat >>confdefs.h <<_ACEOF
38885 #define HAVE__QFPCLASS 1
38886 _ACEOF
38889 done
38898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
38899 $as_echo_n "checking for hypot declaration... " >&6; }
38900 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
38901 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
38902 $as_echo_n "(cached) " >&6
38903 else
38906 ac_ext=cpp
38907 ac_cpp='$CXXCPP $CPPFLAGS'
38908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38913 /* end confdefs.h. */
38914 #include <math.h>
38916 main ()
38918 hypot(0, 0);
38920 return 0;
38922 _ACEOF
38923 if ac_fn_cxx_try_compile "$LINENO"; then :
38924 glibcxx_cv_func_hypot_use=yes
38925 else
38926 glibcxx_cv_func_hypot_use=no
38928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38929 ac_ext=c
38930 ac_cpp='$CPP $CPPFLAGS'
38931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
38940 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
38942 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
38943 for ac_func in hypot
38944 do :
38945 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
38946 if test "x$ac_cv_func_hypot" = x""yes; then :
38947 cat >>confdefs.h <<_ACEOF
38948 #define HAVE_HYPOT 1
38949 _ACEOF
38952 done
38954 else
38956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
38957 $as_echo_n "checking for _hypot declaration... " >&6; }
38958 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
38959 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
38960 $as_echo_n "(cached) " >&6
38961 else
38964 ac_ext=cpp
38965 ac_cpp='$CXXCPP $CPPFLAGS'
38966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38971 /* end confdefs.h. */
38972 #include <math.h>
38974 main ()
38976 _hypot(0, 0);
38978 return 0;
38980 _ACEOF
38981 if ac_fn_cxx_try_compile "$LINENO"; then :
38982 glibcxx_cv_func__hypot_use=yes
38983 else
38984 glibcxx_cv_func__hypot_use=no
38986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38987 ac_ext=c
38988 ac_cpp='$CPP $CPPFLAGS'
38989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
38998 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39000 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39001 for ac_func in _hypot
39002 do :
39003 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39004 if test "x$ac_cv_func__hypot" = x""yes; then :
39005 cat >>confdefs.h <<_ACEOF
39006 #define HAVE__HYPOT 1
39007 _ACEOF
39010 done
39019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
39020 $as_echo_n "checking for float trig functions... " >&6; }
39021 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
39022 $as_echo_n "(cached) " >&6
39023 else
39026 ac_ext=cpp
39027 ac_cpp='$CXXCPP $CPPFLAGS'
39028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39033 /* end confdefs.h. */
39034 #include <math.h>
39036 main ()
39038 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
39040 return 0;
39042 _ACEOF
39043 if ac_fn_cxx_try_compile "$LINENO"; then :
39044 glibcxx_cv_func_float_trig_use=yes
39045 else
39046 glibcxx_cv_func_float_trig_use=no
39048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39049 ac_ext=c
39050 ac_cpp='$CPP $CPPFLAGS'
39051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
39058 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
39059 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
39060 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
39061 do :
39062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39064 eval as_val=\$$as_ac_var
39065 if test "x$as_val" = x""yes; then :
39066 cat >>confdefs.h <<_ACEOF
39067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39068 _ACEOF
39071 done
39073 else
39074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
39075 $as_echo_n "checking for _float trig functions... " >&6; }
39076 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
39077 $as_echo_n "(cached) " >&6
39078 else
39081 ac_ext=cpp
39082 ac_cpp='$CXXCPP $CPPFLAGS'
39083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089 #include <math.h>
39091 main ()
39093 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
39095 return 0;
39097 _ACEOF
39098 if ac_fn_cxx_try_compile "$LINENO"; then :
39099 glibcxx_cv_func__float_trig_use=yes
39100 else
39101 glibcxx_cv_func__float_trig_use=no
39103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39104 ac_ext=c
39105 ac_cpp='$CPP $CPPFLAGS'
39106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
39113 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
39114 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
39115 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
39116 do :
39117 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39118 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39119 eval as_val=\$$as_ac_var
39120 if test "x$as_val" = x""yes; then :
39121 cat >>confdefs.h <<_ACEOF
39122 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39123 _ACEOF
39126 done
39135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
39136 $as_echo_n "checking for float round functions... " >&6; }
39137 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
39138 $as_echo_n "(cached) " >&6
39139 else
39142 ac_ext=cpp
39143 ac_cpp='$CXXCPP $CPPFLAGS'
39144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39149 /* end confdefs.h. */
39150 #include <math.h>
39152 main ()
39154 ceilf (0); floorf (0);
39156 return 0;
39158 _ACEOF
39159 if ac_fn_cxx_try_compile "$LINENO"; then :
39160 glibcxx_cv_func_float_round_use=yes
39161 else
39162 glibcxx_cv_func_float_round_use=no
39164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39165 ac_ext=c
39166 ac_cpp='$CPP $CPPFLAGS'
39167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
39174 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
39175 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
39176 for ac_func in ceilf floorf
39177 do :
39178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39180 eval as_val=\$$as_ac_var
39181 if test "x$as_val" = x""yes; then :
39182 cat >>confdefs.h <<_ACEOF
39183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39184 _ACEOF
39187 done
39189 else
39190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
39191 $as_echo_n "checking for _float round functions... " >&6; }
39192 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
39193 $as_echo_n "(cached) " >&6
39194 else
39197 ac_ext=cpp
39198 ac_cpp='$CXXCPP $CPPFLAGS'
39199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39204 /* end confdefs.h. */
39205 #include <math.h>
39207 main ()
39209 _ceilf (0); _floorf (0);
39211 return 0;
39213 _ACEOF
39214 if ac_fn_cxx_try_compile "$LINENO"; then :
39215 glibcxx_cv_func__float_round_use=yes
39216 else
39217 glibcxx_cv_func__float_round_use=no
39219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39220 ac_ext=c
39221 ac_cpp='$CPP $CPPFLAGS'
39222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
39229 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
39230 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
39231 for ac_func in _ceilf _floorf
39232 do :
39233 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39234 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39235 eval as_val=\$$as_ac_var
39236 if test "x$as_val" = x""yes; then :
39237 cat >>confdefs.h <<_ACEOF
39238 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39239 _ACEOF
39242 done
39252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
39253 $as_echo_n "checking for expf declaration... " >&6; }
39254 if test x${glibcxx_cv_func_expf_use+set} != xset; then
39255 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
39256 $as_echo_n "(cached) " >&6
39257 else
39260 ac_ext=cpp
39261 ac_cpp='$CXXCPP $CPPFLAGS'
39262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39267 /* end confdefs.h. */
39268 #include <math.h>
39269 #ifdef HAVE_IEEEFP_H
39270 #include <ieeefp.h>
39271 #endif
39274 main ()
39276 expf(0);
39278 return 0;
39280 _ACEOF
39281 if ac_fn_cxx_try_compile "$LINENO"; then :
39282 glibcxx_cv_func_expf_use=yes
39283 else
39284 glibcxx_cv_func_expf_use=no
39286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39287 ac_ext=c
39288 ac_cpp='$CPP $CPPFLAGS'
39289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
39298 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
39300 if test x$glibcxx_cv_func_expf_use = x"yes"; then
39301 for ac_func in expf
39302 do :
39303 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
39304 if test "x$ac_cv_func_expf" = x""yes; then :
39305 cat >>confdefs.h <<_ACEOF
39306 #define HAVE_EXPF 1
39307 _ACEOF
39310 done
39312 else
39314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
39315 $as_echo_n "checking for _expf declaration... " >&6; }
39316 if test x${glibcxx_cv_func__expf_use+set} != xset; then
39317 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
39318 $as_echo_n "(cached) " >&6
39319 else
39322 ac_ext=cpp
39323 ac_cpp='$CXXCPP $CPPFLAGS'
39324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39329 /* end confdefs.h. */
39330 #include <math.h>
39331 #ifdef HAVE_IEEEFP_H
39332 #include <ieeefp.h>
39333 #endif
39336 main ()
39338 _expf(0);
39340 return 0;
39342 _ACEOF
39343 if ac_fn_cxx_try_compile "$LINENO"; then :
39344 glibcxx_cv_func__expf_use=yes
39345 else
39346 glibcxx_cv_func__expf_use=no
39348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39349 ac_ext=c
39350 ac_cpp='$CPP $CPPFLAGS'
39351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
39360 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
39362 if test x$glibcxx_cv_func__expf_use = x"yes"; then
39363 for ac_func in _expf
39364 do :
39365 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
39366 if test "x$ac_cv_func__expf" = x""yes; then :
39367 cat >>confdefs.h <<_ACEOF
39368 #define HAVE__EXPF 1
39369 _ACEOF
39372 done
39381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
39382 $as_echo_n "checking for isnanf declaration... " >&6; }
39383 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
39384 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
39385 $as_echo_n "(cached) " >&6
39386 else
39389 ac_ext=cpp
39390 ac_cpp='$CXXCPP $CPPFLAGS'
39391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39396 /* end confdefs.h. */
39397 #include <math.h>
39398 #ifdef HAVE_IEEEFP_H
39399 #include <ieeefp.h>
39400 #endif
39403 main ()
39405 isnanf(0);
39407 return 0;
39409 _ACEOF
39410 if ac_fn_cxx_try_compile "$LINENO"; then :
39411 glibcxx_cv_func_isnanf_use=yes
39412 else
39413 glibcxx_cv_func_isnanf_use=no
39415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39416 ac_ext=c
39417 ac_cpp='$CPP $CPPFLAGS'
39418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
39427 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
39429 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
39430 for ac_func in isnanf
39431 do :
39432 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
39433 if test "x$ac_cv_func_isnanf" = x""yes; then :
39434 cat >>confdefs.h <<_ACEOF
39435 #define HAVE_ISNANF 1
39436 _ACEOF
39439 done
39441 else
39443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
39444 $as_echo_n "checking for _isnanf declaration... " >&6; }
39445 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
39446 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
39447 $as_echo_n "(cached) " >&6
39448 else
39451 ac_ext=cpp
39452 ac_cpp='$CXXCPP $CPPFLAGS'
39453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39458 /* end confdefs.h. */
39459 #include <math.h>
39460 #ifdef HAVE_IEEEFP_H
39461 #include <ieeefp.h>
39462 #endif
39465 main ()
39467 _isnanf(0);
39469 return 0;
39471 _ACEOF
39472 if ac_fn_cxx_try_compile "$LINENO"; then :
39473 glibcxx_cv_func__isnanf_use=yes
39474 else
39475 glibcxx_cv_func__isnanf_use=no
39477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39478 ac_ext=c
39479 ac_cpp='$CPP $CPPFLAGS'
39480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
39489 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
39491 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
39492 for ac_func in _isnanf
39493 do :
39494 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
39495 if test "x$ac_cv_func__isnanf" = x""yes; then :
39496 cat >>confdefs.h <<_ACEOF
39497 #define HAVE__ISNANF 1
39498 _ACEOF
39501 done
39510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
39511 $as_echo_n "checking for isinff declaration... " >&6; }
39512 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
39513 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
39514 $as_echo_n "(cached) " >&6
39515 else
39518 ac_ext=cpp
39519 ac_cpp='$CXXCPP $CPPFLAGS'
39520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39525 /* end confdefs.h. */
39526 #include <math.h>
39527 #ifdef HAVE_IEEEFP_H
39528 #include <ieeefp.h>
39529 #endif
39532 main ()
39534 isinff(0);
39536 return 0;
39538 _ACEOF
39539 if ac_fn_cxx_try_compile "$LINENO"; then :
39540 glibcxx_cv_func_isinff_use=yes
39541 else
39542 glibcxx_cv_func_isinff_use=no
39544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39545 ac_ext=c
39546 ac_cpp='$CPP $CPPFLAGS'
39547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
39556 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
39558 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
39559 for ac_func in isinff
39560 do :
39561 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
39562 if test "x$ac_cv_func_isinff" = x""yes; then :
39563 cat >>confdefs.h <<_ACEOF
39564 #define HAVE_ISINFF 1
39565 _ACEOF
39568 done
39570 else
39572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
39573 $as_echo_n "checking for _isinff declaration... " >&6; }
39574 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
39575 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
39576 $as_echo_n "(cached) " >&6
39577 else
39580 ac_ext=cpp
39581 ac_cpp='$CXXCPP $CPPFLAGS'
39582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39587 /* end confdefs.h. */
39588 #include <math.h>
39589 #ifdef HAVE_IEEEFP_H
39590 #include <ieeefp.h>
39591 #endif
39594 main ()
39596 _isinff(0);
39598 return 0;
39600 _ACEOF
39601 if ac_fn_cxx_try_compile "$LINENO"; then :
39602 glibcxx_cv_func__isinff_use=yes
39603 else
39604 glibcxx_cv_func__isinff_use=no
39606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39607 ac_ext=c
39608 ac_cpp='$CPP $CPPFLAGS'
39609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
39618 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
39620 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
39621 for ac_func in _isinff
39622 do :
39623 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
39624 if test "x$ac_cv_func__isinff" = x""yes; then :
39625 cat >>confdefs.h <<_ACEOF
39626 #define HAVE__ISINFF 1
39627 _ACEOF
39630 done
39639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
39640 $as_echo_n "checking for atan2f declaration... " >&6; }
39641 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
39642 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
39643 $as_echo_n "(cached) " >&6
39644 else
39647 ac_ext=cpp
39648 ac_cpp='$CXXCPP $CPPFLAGS'
39649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39654 /* end confdefs.h. */
39655 #include <math.h>
39657 main ()
39659 atan2f(0, 0);
39661 return 0;
39663 _ACEOF
39664 if ac_fn_cxx_try_compile "$LINENO"; then :
39665 glibcxx_cv_func_atan2f_use=yes
39666 else
39667 glibcxx_cv_func_atan2f_use=no
39669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39670 ac_ext=c
39671 ac_cpp='$CPP $CPPFLAGS'
39672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
39681 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
39683 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
39684 for ac_func in atan2f
39685 do :
39686 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
39687 if test "x$ac_cv_func_atan2f" = x""yes; then :
39688 cat >>confdefs.h <<_ACEOF
39689 #define HAVE_ATAN2F 1
39690 _ACEOF
39693 done
39695 else
39697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
39698 $as_echo_n "checking for _atan2f declaration... " >&6; }
39699 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
39700 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
39701 $as_echo_n "(cached) " >&6
39702 else
39705 ac_ext=cpp
39706 ac_cpp='$CXXCPP $CPPFLAGS'
39707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39712 /* end confdefs.h. */
39713 #include <math.h>
39715 main ()
39717 _atan2f(0, 0);
39719 return 0;
39721 _ACEOF
39722 if ac_fn_cxx_try_compile "$LINENO"; then :
39723 glibcxx_cv_func__atan2f_use=yes
39724 else
39725 glibcxx_cv_func__atan2f_use=no
39727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39728 ac_ext=c
39729 ac_cpp='$CPP $CPPFLAGS'
39730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
39739 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
39741 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
39742 for ac_func in _atan2f
39743 do :
39744 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
39745 if test "x$ac_cv_func__atan2f" = x""yes; then :
39746 cat >>confdefs.h <<_ACEOF
39747 #define HAVE__ATAN2F 1
39748 _ACEOF
39751 done
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
39761 $as_echo_n "checking for fabsf declaration... " >&6; }
39762 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
39763 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
39764 $as_echo_n "(cached) " >&6
39765 else
39768 ac_ext=cpp
39769 ac_cpp='$CXXCPP $CPPFLAGS'
39770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39775 /* end confdefs.h. */
39776 #include <math.h>
39777 #ifdef HAVE_IEEEFP_H
39778 #include <ieeefp.h>
39779 #endif
39782 main ()
39784 fabsf(0);
39786 return 0;
39788 _ACEOF
39789 if ac_fn_cxx_try_compile "$LINENO"; then :
39790 glibcxx_cv_func_fabsf_use=yes
39791 else
39792 glibcxx_cv_func_fabsf_use=no
39794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39795 ac_ext=c
39796 ac_cpp='$CPP $CPPFLAGS'
39797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
39806 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
39808 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
39809 for ac_func in fabsf
39810 do :
39811 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
39812 if test "x$ac_cv_func_fabsf" = x""yes; then :
39813 cat >>confdefs.h <<_ACEOF
39814 #define HAVE_FABSF 1
39815 _ACEOF
39818 done
39820 else
39822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
39823 $as_echo_n "checking for _fabsf declaration... " >&6; }
39824 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
39825 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
39826 $as_echo_n "(cached) " >&6
39827 else
39830 ac_ext=cpp
39831 ac_cpp='$CXXCPP $CPPFLAGS'
39832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39837 /* end confdefs.h. */
39838 #include <math.h>
39839 #ifdef HAVE_IEEEFP_H
39840 #include <ieeefp.h>
39841 #endif
39844 main ()
39846 _fabsf(0);
39848 return 0;
39850 _ACEOF
39851 if ac_fn_cxx_try_compile "$LINENO"; then :
39852 glibcxx_cv_func__fabsf_use=yes
39853 else
39854 glibcxx_cv_func__fabsf_use=no
39856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39857 ac_ext=c
39858 ac_cpp='$CPP $CPPFLAGS'
39859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
39868 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
39870 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
39871 for ac_func in _fabsf
39872 do :
39873 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
39874 if test "x$ac_cv_func__fabsf" = x""yes; then :
39875 cat >>confdefs.h <<_ACEOF
39876 #define HAVE__FABSF 1
39877 _ACEOF
39880 done
39889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
39890 $as_echo_n "checking for fmodf declaration... " >&6; }
39891 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
39892 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
39893 $as_echo_n "(cached) " >&6
39894 else
39897 ac_ext=cpp
39898 ac_cpp='$CXXCPP $CPPFLAGS'
39899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39904 /* end confdefs.h. */
39905 #include <math.h>
39907 main ()
39909 fmodf(0, 0);
39911 return 0;
39913 _ACEOF
39914 if ac_fn_cxx_try_compile "$LINENO"; then :
39915 glibcxx_cv_func_fmodf_use=yes
39916 else
39917 glibcxx_cv_func_fmodf_use=no
39919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39920 ac_ext=c
39921 ac_cpp='$CPP $CPPFLAGS'
39922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
39931 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
39933 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
39934 for ac_func in fmodf
39935 do :
39936 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
39937 if test "x$ac_cv_func_fmodf" = x""yes; then :
39938 cat >>confdefs.h <<_ACEOF
39939 #define HAVE_FMODF 1
39940 _ACEOF
39943 done
39945 else
39947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
39948 $as_echo_n "checking for _fmodf declaration... " >&6; }
39949 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
39950 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
39951 $as_echo_n "(cached) " >&6
39952 else
39955 ac_ext=cpp
39956 ac_cpp='$CXXCPP $CPPFLAGS'
39957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39962 /* end confdefs.h. */
39963 #include <math.h>
39965 main ()
39967 _fmodf(0, 0);
39969 return 0;
39971 _ACEOF
39972 if ac_fn_cxx_try_compile "$LINENO"; then :
39973 glibcxx_cv_func__fmodf_use=yes
39974 else
39975 glibcxx_cv_func__fmodf_use=no
39977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39978 ac_ext=c
39979 ac_cpp='$CPP $CPPFLAGS'
39980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
39989 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
39991 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
39992 for ac_func in _fmodf
39993 do :
39994 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
39995 if test "x$ac_cv_func__fmodf" = x""yes; then :
39996 cat >>confdefs.h <<_ACEOF
39997 #define HAVE__FMODF 1
39998 _ACEOF
40001 done
40010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
40011 $as_echo_n "checking for frexpf declaration... " >&6; }
40012 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
40013 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
40014 $as_echo_n "(cached) " >&6
40015 else
40018 ac_ext=cpp
40019 ac_cpp='$CXXCPP $CPPFLAGS'
40020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40025 /* end confdefs.h. */
40026 #include <math.h>
40028 main ()
40030 frexpf(0, 0);
40032 return 0;
40034 _ACEOF
40035 if ac_fn_cxx_try_compile "$LINENO"; then :
40036 glibcxx_cv_func_frexpf_use=yes
40037 else
40038 glibcxx_cv_func_frexpf_use=no
40040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40041 ac_ext=c
40042 ac_cpp='$CPP $CPPFLAGS'
40043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
40052 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
40054 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
40055 for ac_func in frexpf
40056 do :
40057 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
40058 if test "x$ac_cv_func_frexpf" = x""yes; then :
40059 cat >>confdefs.h <<_ACEOF
40060 #define HAVE_FREXPF 1
40061 _ACEOF
40064 done
40066 else
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
40069 $as_echo_n "checking for _frexpf declaration... " >&6; }
40070 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
40071 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
40072 $as_echo_n "(cached) " >&6
40073 else
40076 ac_ext=cpp
40077 ac_cpp='$CXXCPP $CPPFLAGS'
40078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40083 /* end confdefs.h. */
40084 #include <math.h>
40086 main ()
40088 _frexpf(0, 0);
40090 return 0;
40092 _ACEOF
40093 if ac_fn_cxx_try_compile "$LINENO"; then :
40094 glibcxx_cv_func__frexpf_use=yes
40095 else
40096 glibcxx_cv_func__frexpf_use=no
40098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40099 ac_ext=c
40100 ac_cpp='$CPP $CPPFLAGS'
40101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
40110 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
40112 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
40113 for ac_func in _frexpf
40114 do :
40115 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
40116 if test "x$ac_cv_func__frexpf" = x""yes; then :
40117 cat >>confdefs.h <<_ACEOF
40118 #define HAVE__FREXPF 1
40119 _ACEOF
40122 done
40131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
40132 $as_echo_n "checking for hypotf declaration... " >&6; }
40133 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
40134 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
40135 $as_echo_n "(cached) " >&6
40136 else
40139 ac_ext=cpp
40140 ac_cpp='$CXXCPP $CPPFLAGS'
40141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40146 /* end confdefs.h. */
40147 #include <math.h>
40149 main ()
40151 hypotf(0, 0);
40153 return 0;
40155 _ACEOF
40156 if ac_fn_cxx_try_compile "$LINENO"; then :
40157 glibcxx_cv_func_hypotf_use=yes
40158 else
40159 glibcxx_cv_func_hypotf_use=no
40161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40162 ac_ext=c
40163 ac_cpp='$CPP $CPPFLAGS'
40164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
40173 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
40175 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
40176 for ac_func in hypotf
40177 do :
40178 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
40179 if test "x$ac_cv_func_hypotf" = x""yes; then :
40180 cat >>confdefs.h <<_ACEOF
40181 #define HAVE_HYPOTF 1
40182 _ACEOF
40185 done
40187 else
40189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
40190 $as_echo_n "checking for _hypotf declaration... " >&6; }
40191 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
40192 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
40193 $as_echo_n "(cached) " >&6
40194 else
40197 ac_ext=cpp
40198 ac_cpp='$CXXCPP $CPPFLAGS'
40199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40204 /* end confdefs.h. */
40205 #include <math.h>
40207 main ()
40209 _hypotf(0, 0);
40211 return 0;
40213 _ACEOF
40214 if ac_fn_cxx_try_compile "$LINENO"; then :
40215 glibcxx_cv_func__hypotf_use=yes
40216 else
40217 glibcxx_cv_func__hypotf_use=no
40219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40220 ac_ext=c
40221 ac_cpp='$CPP $CPPFLAGS'
40222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
40231 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
40233 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
40234 for ac_func in _hypotf
40235 do :
40236 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
40237 if test "x$ac_cv_func__hypotf" = x""yes; then :
40238 cat >>confdefs.h <<_ACEOF
40239 #define HAVE__HYPOTF 1
40240 _ACEOF
40243 done
40252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
40253 $as_echo_n "checking for ldexpf declaration... " >&6; }
40254 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
40255 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
40256 $as_echo_n "(cached) " >&6
40257 else
40260 ac_ext=cpp
40261 ac_cpp='$CXXCPP $CPPFLAGS'
40262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40267 /* end confdefs.h. */
40268 #include <math.h>
40270 main ()
40272 ldexpf(0, 0);
40274 return 0;
40276 _ACEOF
40277 if ac_fn_cxx_try_compile "$LINENO"; then :
40278 glibcxx_cv_func_ldexpf_use=yes
40279 else
40280 glibcxx_cv_func_ldexpf_use=no
40282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40283 ac_ext=c
40284 ac_cpp='$CPP $CPPFLAGS'
40285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
40294 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
40296 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
40297 for ac_func in ldexpf
40298 do :
40299 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
40300 if test "x$ac_cv_func_ldexpf" = x""yes; then :
40301 cat >>confdefs.h <<_ACEOF
40302 #define HAVE_LDEXPF 1
40303 _ACEOF
40306 done
40308 else
40310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
40311 $as_echo_n "checking for _ldexpf declaration... " >&6; }
40312 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
40313 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
40314 $as_echo_n "(cached) " >&6
40315 else
40318 ac_ext=cpp
40319 ac_cpp='$CXXCPP $CPPFLAGS'
40320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40325 /* end confdefs.h. */
40326 #include <math.h>
40328 main ()
40330 _ldexpf(0, 0);
40332 return 0;
40334 _ACEOF
40335 if ac_fn_cxx_try_compile "$LINENO"; then :
40336 glibcxx_cv_func__ldexpf_use=yes
40337 else
40338 glibcxx_cv_func__ldexpf_use=no
40340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40341 ac_ext=c
40342 ac_cpp='$CPP $CPPFLAGS'
40343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
40352 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
40354 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
40355 for ac_func in _ldexpf
40356 do :
40357 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
40358 if test "x$ac_cv_func__ldexpf" = x""yes; then :
40359 cat >>confdefs.h <<_ACEOF
40360 #define HAVE__LDEXPF 1
40361 _ACEOF
40364 done
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
40374 $as_echo_n "checking for logf declaration... " >&6; }
40375 if test x${glibcxx_cv_func_logf_use+set} != xset; then
40376 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
40377 $as_echo_n "(cached) " >&6
40378 else
40381 ac_ext=cpp
40382 ac_cpp='$CXXCPP $CPPFLAGS'
40383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40388 /* end confdefs.h. */
40389 #include <math.h>
40390 #ifdef HAVE_IEEEFP_H
40391 #include <ieeefp.h>
40392 #endif
40395 main ()
40397 logf(0);
40399 return 0;
40401 _ACEOF
40402 if ac_fn_cxx_try_compile "$LINENO"; then :
40403 glibcxx_cv_func_logf_use=yes
40404 else
40405 glibcxx_cv_func_logf_use=no
40407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40408 ac_ext=c
40409 ac_cpp='$CPP $CPPFLAGS'
40410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
40419 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
40421 if test x$glibcxx_cv_func_logf_use = x"yes"; then
40422 for ac_func in logf
40423 do :
40424 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
40425 if test "x$ac_cv_func_logf" = x""yes; then :
40426 cat >>confdefs.h <<_ACEOF
40427 #define HAVE_LOGF 1
40428 _ACEOF
40431 done
40433 else
40435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
40436 $as_echo_n "checking for _logf declaration... " >&6; }
40437 if test x${glibcxx_cv_func__logf_use+set} != xset; then
40438 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
40439 $as_echo_n "(cached) " >&6
40440 else
40443 ac_ext=cpp
40444 ac_cpp='$CXXCPP $CPPFLAGS'
40445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40450 /* end confdefs.h. */
40451 #include <math.h>
40452 #ifdef HAVE_IEEEFP_H
40453 #include <ieeefp.h>
40454 #endif
40457 main ()
40459 _logf(0);
40461 return 0;
40463 _ACEOF
40464 if ac_fn_cxx_try_compile "$LINENO"; then :
40465 glibcxx_cv_func__logf_use=yes
40466 else
40467 glibcxx_cv_func__logf_use=no
40469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40470 ac_ext=c
40471 ac_cpp='$CPP $CPPFLAGS'
40472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
40481 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
40483 if test x$glibcxx_cv_func__logf_use = x"yes"; then
40484 for ac_func in _logf
40485 do :
40486 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
40487 if test "x$ac_cv_func__logf" = x""yes; then :
40488 cat >>confdefs.h <<_ACEOF
40489 #define HAVE__LOGF 1
40490 _ACEOF
40493 done
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
40503 $as_echo_n "checking for log10f declaration... " >&6; }
40504 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
40505 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
40506 $as_echo_n "(cached) " >&6
40507 else
40510 ac_ext=cpp
40511 ac_cpp='$CXXCPP $CPPFLAGS'
40512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40517 /* end confdefs.h. */
40518 #include <math.h>
40519 #ifdef HAVE_IEEEFP_H
40520 #include <ieeefp.h>
40521 #endif
40524 main ()
40526 log10f(0);
40528 return 0;
40530 _ACEOF
40531 if ac_fn_cxx_try_compile "$LINENO"; then :
40532 glibcxx_cv_func_log10f_use=yes
40533 else
40534 glibcxx_cv_func_log10f_use=no
40536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40537 ac_ext=c
40538 ac_cpp='$CPP $CPPFLAGS'
40539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
40548 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
40550 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
40551 for ac_func in log10f
40552 do :
40553 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
40554 if test "x$ac_cv_func_log10f" = x""yes; then :
40555 cat >>confdefs.h <<_ACEOF
40556 #define HAVE_LOG10F 1
40557 _ACEOF
40560 done
40562 else
40564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
40565 $as_echo_n "checking for _log10f declaration... " >&6; }
40566 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
40567 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
40568 $as_echo_n "(cached) " >&6
40569 else
40572 ac_ext=cpp
40573 ac_cpp='$CXXCPP $CPPFLAGS'
40574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40579 /* end confdefs.h. */
40580 #include <math.h>
40581 #ifdef HAVE_IEEEFP_H
40582 #include <ieeefp.h>
40583 #endif
40586 main ()
40588 _log10f(0);
40590 return 0;
40592 _ACEOF
40593 if ac_fn_cxx_try_compile "$LINENO"; then :
40594 glibcxx_cv_func__log10f_use=yes
40595 else
40596 glibcxx_cv_func__log10f_use=no
40598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40599 ac_ext=c
40600 ac_cpp='$CPP $CPPFLAGS'
40601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
40610 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
40612 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
40613 for ac_func in _log10f
40614 do :
40615 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
40616 if test "x$ac_cv_func__log10f" = x""yes; then :
40617 cat >>confdefs.h <<_ACEOF
40618 #define HAVE__LOG10F 1
40619 _ACEOF
40622 done
40631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
40632 $as_echo_n "checking for modff declaration... " >&6; }
40633 if test x${glibcxx_cv_func_modff_use+set} != xset; then
40634 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
40635 $as_echo_n "(cached) " >&6
40636 else
40639 ac_ext=cpp
40640 ac_cpp='$CXXCPP $CPPFLAGS'
40641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40646 /* end confdefs.h. */
40647 #include <math.h>
40649 main ()
40651 modff(0, 0);
40653 return 0;
40655 _ACEOF
40656 if ac_fn_cxx_try_compile "$LINENO"; then :
40657 glibcxx_cv_func_modff_use=yes
40658 else
40659 glibcxx_cv_func_modff_use=no
40661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40662 ac_ext=c
40663 ac_cpp='$CPP $CPPFLAGS'
40664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
40673 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
40675 if test x$glibcxx_cv_func_modff_use = x"yes"; then
40676 for ac_func in modff
40677 do :
40678 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
40679 if test "x$ac_cv_func_modff" = x""yes; then :
40680 cat >>confdefs.h <<_ACEOF
40681 #define HAVE_MODFF 1
40682 _ACEOF
40685 done
40687 else
40689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
40690 $as_echo_n "checking for _modff declaration... " >&6; }
40691 if test x${glibcxx_cv_func__modff_use+set} != xset; then
40692 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
40693 $as_echo_n "(cached) " >&6
40694 else
40697 ac_ext=cpp
40698 ac_cpp='$CXXCPP $CPPFLAGS'
40699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40704 /* end confdefs.h. */
40705 #include <math.h>
40707 main ()
40709 _modff(0, 0);
40711 return 0;
40713 _ACEOF
40714 if ac_fn_cxx_try_compile "$LINENO"; then :
40715 glibcxx_cv_func__modff_use=yes
40716 else
40717 glibcxx_cv_func__modff_use=no
40719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40720 ac_ext=c
40721 ac_cpp='$CPP $CPPFLAGS'
40722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
40731 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
40733 if test x$glibcxx_cv_func__modff_use = x"yes"; then
40734 for ac_func in _modff
40735 do :
40736 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
40737 if test "x$ac_cv_func__modff" = x""yes; then :
40738 cat >>confdefs.h <<_ACEOF
40739 #define HAVE__MODFF 1
40740 _ACEOF
40743 done
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
40753 $as_echo_n "checking for modf declaration... " >&6; }
40754 if test x${glibcxx_cv_func_modf_use+set} != xset; then
40755 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
40756 $as_echo_n "(cached) " >&6
40757 else
40760 ac_ext=cpp
40761 ac_cpp='$CXXCPP $CPPFLAGS'
40762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40767 /* end confdefs.h. */
40768 #include <math.h>
40770 main ()
40772 modf(0, 0);
40774 return 0;
40776 _ACEOF
40777 if ac_fn_cxx_try_compile "$LINENO"; then :
40778 glibcxx_cv_func_modf_use=yes
40779 else
40780 glibcxx_cv_func_modf_use=no
40782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40783 ac_ext=c
40784 ac_cpp='$CPP $CPPFLAGS'
40785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
40794 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
40796 if test x$glibcxx_cv_func_modf_use = x"yes"; then
40797 for ac_func in modf
40798 do :
40799 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
40800 if test "x$ac_cv_func_modf" = x""yes; then :
40801 cat >>confdefs.h <<_ACEOF
40802 #define HAVE_MODF 1
40803 _ACEOF
40806 done
40808 else
40810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
40811 $as_echo_n "checking for _modf declaration... " >&6; }
40812 if test x${glibcxx_cv_func__modf_use+set} != xset; then
40813 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
40814 $as_echo_n "(cached) " >&6
40815 else
40818 ac_ext=cpp
40819 ac_cpp='$CXXCPP $CPPFLAGS'
40820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40825 /* end confdefs.h. */
40826 #include <math.h>
40828 main ()
40830 _modf(0, 0);
40832 return 0;
40834 _ACEOF
40835 if ac_fn_cxx_try_compile "$LINENO"; then :
40836 glibcxx_cv_func__modf_use=yes
40837 else
40838 glibcxx_cv_func__modf_use=no
40840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40841 ac_ext=c
40842 ac_cpp='$CPP $CPPFLAGS'
40843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
40852 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
40854 if test x$glibcxx_cv_func__modf_use = x"yes"; then
40855 for ac_func in _modf
40856 do :
40857 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
40858 if test "x$ac_cv_func__modf" = x""yes; then :
40859 cat >>confdefs.h <<_ACEOF
40860 #define HAVE__MODF 1
40861 _ACEOF
40864 done
40873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
40874 $as_echo_n "checking for powf declaration... " >&6; }
40875 if test x${glibcxx_cv_func_powf_use+set} != xset; then
40876 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
40877 $as_echo_n "(cached) " >&6
40878 else
40881 ac_ext=cpp
40882 ac_cpp='$CXXCPP $CPPFLAGS'
40883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40888 /* end confdefs.h. */
40889 #include <math.h>
40891 main ()
40893 powf(0, 0);
40895 return 0;
40897 _ACEOF
40898 if ac_fn_cxx_try_compile "$LINENO"; then :
40899 glibcxx_cv_func_powf_use=yes
40900 else
40901 glibcxx_cv_func_powf_use=no
40903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40904 ac_ext=c
40905 ac_cpp='$CPP $CPPFLAGS'
40906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
40915 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
40917 if test x$glibcxx_cv_func_powf_use = x"yes"; then
40918 for ac_func in powf
40919 do :
40920 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
40921 if test "x$ac_cv_func_powf" = x""yes; then :
40922 cat >>confdefs.h <<_ACEOF
40923 #define HAVE_POWF 1
40924 _ACEOF
40927 done
40929 else
40931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
40932 $as_echo_n "checking for _powf declaration... " >&6; }
40933 if test x${glibcxx_cv_func__powf_use+set} != xset; then
40934 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
40935 $as_echo_n "(cached) " >&6
40936 else
40939 ac_ext=cpp
40940 ac_cpp='$CXXCPP $CPPFLAGS'
40941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40946 /* end confdefs.h. */
40947 #include <math.h>
40949 main ()
40951 _powf(0, 0);
40953 return 0;
40955 _ACEOF
40956 if ac_fn_cxx_try_compile "$LINENO"; then :
40957 glibcxx_cv_func__powf_use=yes
40958 else
40959 glibcxx_cv_func__powf_use=no
40961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40962 ac_ext=c
40963 ac_cpp='$CPP $CPPFLAGS'
40964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
40973 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
40975 if test x$glibcxx_cv_func__powf_use = x"yes"; then
40976 for ac_func in _powf
40977 do :
40978 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
40979 if test "x$ac_cv_func__powf" = x""yes; then :
40980 cat >>confdefs.h <<_ACEOF
40981 #define HAVE__POWF 1
40982 _ACEOF
40985 done
40994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
40995 $as_echo_n "checking for sqrtf declaration... " >&6; }
40996 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
40997 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
40998 $as_echo_n "(cached) " >&6
40999 else
41002 ac_ext=cpp
41003 ac_cpp='$CXXCPP $CPPFLAGS'
41004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41009 /* end confdefs.h. */
41010 #include <math.h>
41011 #ifdef HAVE_IEEEFP_H
41012 #include <ieeefp.h>
41013 #endif
41016 main ()
41018 sqrtf(0);
41020 return 0;
41022 _ACEOF
41023 if ac_fn_cxx_try_compile "$LINENO"; then :
41024 glibcxx_cv_func_sqrtf_use=yes
41025 else
41026 glibcxx_cv_func_sqrtf_use=no
41028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41029 ac_ext=c
41030 ac_cpp='$CPP $CPPFLAGS'
41031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
41040 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
41042 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
41043 for ac_func in sqrtf
41044 do :
41045 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
41046 if test "x$ac_cv_func_sqrtf" = x""yes; then :
41047 cat >>confdefs.h <<_ACEOF
41048 #define HAVE_SQRTF 1
41049 _ACEOF
41052 done
41054 else
41056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
41057 $as_echo_n "checking for _sqrtf declaration... " >&6; }
41058 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
41059 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
41060 $as_echo_n "(cached) " >&6
41061 else
41064 ac_ext=cpp
41065 ac_cpp='$CXXCPP $CPPFLAGS'
41066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41071 /* end confdefs.h. */
41072 #include <math.h>
41073 #ifdef HAVE_IEEEFP_H
41074 #include <ieeefp.h>
41075 #endif
41078 main ()
41080 _sqrtf(0);
41082 return 0;
41084 _ACEOF
41085 if ac_fn_cxx_try_compile "$LINENO"; then :
41086 glibcxx_cv_func__sqrtf_use=yes
41087 else
41088 glibcxx_cv_func__sqrtf_use=no
41090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41091 ac_ext=c
41092 ac_cpp='$CPP $CPPFLAGS'
41093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
41102 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
41104 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
41105 for ac_func in _sqrtf
41106 do :
41107 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
41108 if test "x$ac_cv_func__sqrtf" = x""yes; then :
41109 cat >>confdefs.h <<_ACEOF
41110 #define HAVE__SQRTF 1
41111 _ACEOF
41114 done
41123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
41124 $as_echo_n "checking for sincosf declaration... " >&6; }
41125 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
41126 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
41127 $as_echo_n "(cached) " >&6
41128 else
41131 ac_ext=cpp
41132 ac_cpp='$CXXCPP $CPPFLAGS'
41133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41138 /* end confdefs.h. */
41139 #include <math.h>
41141 main ()
41143 sincosf(0, 0, 0);
41145 return 0;
41147 _ACEOF
41148 if ac_fn_cxx_try_compile "$LINENO"; then :
41149 glibcxx_cv_func_sincosf_use=yes
41150 else
41151 glibcxx_cv_func_sincosf_use=no
41153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41154 ac_ext=c
41155 ac_cpp='$CPP $CPPFLAGS'
41156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
41165 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
41167 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
41168 for ac_func in sincosf
41169 do :
41170 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
41171 if test "x$ac_cv_func_sincosf" = x""yes; then :
41172 cat >>confdefs.h <<_ACEOF
41173 #define HAVE_SINCOSF 1
41174 _ACEOF
41177 done
41179 else
41181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
41182 $as_echo_n "checking for _sincosf declaration... " >&6; }
41183 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
41184 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
41185 $as_echo_n "(cached) " >&6
41186 else
41189 ac_ext=cpp
41190 ac_cpp='$CXXCPP $CPPFLAGS'
41191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41196 /* end confdefs.h. */
41197 #include <math.h>
41199 main ()
41201 _sincosf(0, 0, 0);
41203 return 0;
41205 _ACEOF
41206 if ac_fn_cxx_try_compile "$LINENO"; then :
41207 glibcxx_cv_func__sincosf_use=yes
41208 else
41209 glibcxx_cv_func__sincosf_use=no
41211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41212 ac_ext=c
41213 ac_cpp='$CPP $CPPFLAGS'
41214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
41223 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
41225 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
41226 for ac_func in _sincosf
41227 do :
41228 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
41229 if test "x$ac_cv_func__sincosf" = x""yes; then :
41230 cat >>confdefs.h <<_ACEOF
41231 #define HAVE__SINCOSF 1
41232 _ACEOF
41235 done
41244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
41245 $as_echo_n "checking for finitef declaration... " >&6; }
41246 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
41247 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
41248 $as_echo_n "(cached) " >&6
41249 else
41252 ac_ext=cpp
41253 ac_cpp='$CXXCPP $CPPFLAGS'
41254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41259 /* end confdefs.h. */
41260 #include <math.h>
41261 #ifdef HAVE_IEEEFP_H
41262 #include <ieeefp.h>
41263 #endif
41266 main ()
41268 finitef(0);
41270 return 0;
41272 _ACEOF
41273 if ac_fn_cxx_try_compile "$LINENO"; then :
41274 glibcxx_cv_func_finitef_use=yes
41275 else
41276 glibcxx_cv_func_finitef_use=no
41278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41279 ac_ext=c
41280 ac_cpp='$CPP $CPPFLAGS'
41281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
41290 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
41292 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
41293 for ac_func in finitef
41294 do :
41295 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
41296 if test "x$ac_cv_func_finitef" = x""yes; then :
41297 cat >>confdefs.h <<_ACEOF
41298 #define HAVE_FINITEF 1
41299 _ACEOF
41302 done
41304 else
41306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
41307 $as_echo_n "checking for _finitef declaration... " >&6; }
41308 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
41309 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
41310 $as_echo_n "(cached) " >&6
41311 else
41314 ac_ext=cpp
41315 ac_cpp='$CXXCPP $CPPFLAGS'
41316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41321 /* end confdefs.h. */
41322 #include <math.h>
41323 #ifdef HAVE_IEEEFP_H
41324 #include <ieeefp.h>
41325 #endif
41328 main ()
41330 _finitef(0);
41332 return 0;
41334 _ACEOF
41335 if ac_fn_cxx_try_compile "$LINENO"; then :
41336 glibcxx_cv_func__finitef_use=yes
41337 else
41338 glibcxx_cv_func__finitef_use=no
41340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41341 ac_ext=c
41342 ac_cpp='$CPP $CPPFLAGS'
41343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
41352 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
41354 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
41355 for ac_func in _finitef
41356 do :
41357 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
41358 if test "x$ac_cv_func__finitef" = x""yes; then :
41359 cat >>confdefs.h <<_ACEOF
41360 #define HAVE__FINITEF 1
41361 _ACEOF
41364 done
41373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
41374 $as_echo_n "checking for long double trig functions... " >&6; }
41375 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
41376 $as_echo_n "(cached) " >&6
41377 else
41380 ac_ext=cpp
41381 ac_cpp='$CXXCPP $CPPFLAGS'
41382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41387 /* end confdefs.h. */
41388 #include <math.h>
41390 main ()
41392 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
41394 return 0;
41396 _ACEOF
41397 if ac_fn_cxx_try_compile "$LINENO"; then :
41398 glibcxx_cv_func_long_double_trig_use=yes
41399 else
41400 glibcxx_cv_func_long_double_trig_use=no
41402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41403 ac_ext=c
41404 ac_cpp='$CPP $CPPFLAGS'
41405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
41412 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
41413 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
41414 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
41415 do :
41416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41418 eval as_val=\$$as_ac_var
41419 if test "x$as_val" = x""yes; then :
41420 cat >>confdefs.h <<_ACEOF
41421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41422 _ACEOF
41425 done
41427 else
41428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
41429 $as_echo_n "checking for _long double trig functions... " >&6; }
41430 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
41431 $as_echo_n "(cached) " >&6
41432 else
41435 ac_ext=cpp
41436 ac_cpp='$CXXCPP $CPPFLAGS'
41437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41442 /* end confdefs.h. */
41443 #include <math.h>
41445 main ()
41447 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
41449 return 0;
41451 _ACEOF
41452 if ac_fn_cxx_try_compile "$LINENO"; then :
41453 glibcxx_cv_func__long_double_trig_use=yes
41454 else
41455 glibcxx_cv_func__long_double_trig_use=no
41457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41458 ac_ext=c
41459 ac_cpp='$CPP $CPPFLAGS'
41460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
41467 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
41468 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
41469 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
41470 do :
41471 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41472 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41473 eval as_val=\$$as_ac_var
41474 if test "x$as_val" = x""yes; then :
41475 cat >>confdefs.h <<_ACEOF
41476 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41477 _ACEOF
41480 done
41489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
41490 $as_echo_n "checking for long double round functions... " >&6; }
41491 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
41492 $as_echo_n "(cached) " >&6
41493 else
41496 ac_ext=cpp
41497 ac_cpp='$CXXCPP $CPPFLAGS'
41498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41503 /* end confdefs.h. */
41504 #include <math.h>
41506 main ()
41508 ceill (0); floorl (0);
41510 return 0;
41512 _ACEOF
41513 if ac_fn_cxx_try_compile "$LINENO"; then :
41514 glibcxx_cv_func_long_double_round_use=yes
41515 else
41516 glibcxx_cv_func_long_double_round_use=no
41518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41519 ac_ext=c
41520 ac_cpp='$CPP $CPPFLAGS'
41521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
41528 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
41529 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
41530 for ac_func in ceill floorl
41531 do :
41532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41534 eval as_val=\$$as_ac_var
41535 if test "x$as_val" = x""yes; then :
41536 cat >>confdefs.h <<_ACEOF
41537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41538 _ACEOF
41541 done
41543 else
41544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
41545 $as_echo_n "checking for _long double round functions... " >&6; }
41546 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
41547 $as_echo_n "(cached) " >&6
41548 else
41551 ac_ext=cpp
41552 ac_cpp='$CXXCPP $CPPFLAGS'
41553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41558 /* end confdefs.h. */
41559 #include <math.h>
41561 main ()
41563 _ceill (0); _floorl (0);
41565 return 0;
41567 _ACEOF
41568 if ac_fn_cxx_try_compile "$LINENO"; then :
41569 glibcxx_cv_func__long_double_round_use=yes
41570 else
41571 glibcxx_cv_func__long_double_round_use=no
41573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41574 ac_ext=c
41575 ac_cpp='$CPP $CPPFLAGS'
41576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
41583 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
41584 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
41585 for ac_func in _ceill _floorl
41586 do :
41587 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41588 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41589 eval as_val=\$$as_ac_var
41590 if test "x$as_val" = x""yes; then :
41591 cat >>confdefs.h <<_ACEOF
41592 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41593 _ACEOF
41596 done
41606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
41607 $as_echo_n "checking for isnanl declaration... " >&6; }
41608 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
41609 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
41610 $as_echo_n "(cached) " >&6
41611 else
41614 ac_ext=cpp
41615 ac_cpp='$CXXCPP $CPPFLAGS'
41616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41621 /* end confdefs.h. */
41622 #include <math.h>
41623 #ifdef HAVE_IEEEFP_H
41624 #include <ieeefp.h>
41625 #endif
41628 main ()
41630 isnanl(0);
41632 return 0;
41634 _ACEOF
41635 if ac_fn_cxx_try_compile "$LINENO"; then :
41636 glibcxx_cv_func_isnanl_use=yes
41637 else
41638 glibcxx_cv_func_isnanl_use=no
41640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41641 ac_ext=c
41642 ac_cpp='$CPP $CPPFLAGS'
41643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
41652 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
41654 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
41655 for ac_func in isnanl
41656 do :
41657 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
41658 if test "x$ac_cv_func_isnanl" = x""yes; then :
41659 cat >>confdefs.h <<_ACEOF
41660 #define HAVE_ISNANL 1
41661 _ACEOF
41664 done
41666 else
41668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
41669 $as_echo_n "checking for _isnanl declaration... " >&6; }
41670 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
41671 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
41672 $as_echo_n "(cached) " >&6
41673 else
41676 ac_ext=cpp
41677 ac_cpp='$CXXCPP $CPPFLAGS'
41678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41683 /* end confdefs.h. */
41684 #include <math.h>
41685 #ifdef HAVE_IEEEFP_H
41686 #include <ieeefp.h>
41687 #endif
41690 main ()
41692 _isnanl(0);
41694 return 0;
41696 _ACEOF
41697 if ac_fn_cxx_try_compile "$LINENO"; then :
41698 glibcxx_cv_func__isnanl_use=yes
41699 else
41700 glibcxx_cv_func__isnanl_use=no
41702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41703 ac_ext=c
41704 ac_cpp='$CPP $CPPFLAGS'
41705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
41714 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
41716 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
41717 for ac_func in _isnanl
41718 do :
41719 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
41720 if test "x$ac_cv_func__isnanl" = x""yes; then :
41721 cat >>confdefs.h <<_ACEOF
41722 #define HAVE__ISNANL 1
41723 _ACEOF
41726 done
41735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
41736 $as_echo_n "checking for isinfl declaration... " >&6; }
41737 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
41738 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
41739 $as_echo_n "(cached) " >&6
41740 else
41743 ac_ext=cpp
41744 ac_cpp='$CXXCPP $CPPFLAGS'
41745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41750 /* end confdefs.h. */
41751 #include <math.h>
41752 #ifdef HAVE_IEEEFP_H
41753 #include <ieeefp.h>
41754 #endif
41757 main ()
41759 isinfl(0);
41761 return 0;
41763 _ACEOF
41764 if ac_fn_cxx_try_compile "$LINENO"; then :
41765 glibcxx_cv_func_isinfl_use=yes
41766 else
41767 glibcxx_cv_func_isinfl_use=no
41769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41770 ac_ext=c
41771 ac_cpp='$CPP $CPPFLAGS'
41772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
41781 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
41783 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
41784 for ac_func in isinfl
41785 do :
41786 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
41787 if test "x$ac_cv_func_isinfl" = x""yes; then :
41788 cat >>confdefs.h <<_ACEOF
41789 #define HAVE_ISINFL 1
41790 _ACEOF
41793 done
41795 else
41797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
41798 $as_echo_n "checking for _isinfl declaration... " >&6; }
41799 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
41800 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
41801 $as_echo_n "(cached) " >&6
41802 else
41805 ac_ext=cpp
41806 ac_cpp='$CXXCPP $CPPFLAGS'
41807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41812 /* end confdefs.h. */
41813 #include <math.h>
41814 #ifdef HAVE_IEEEFP_H
41815 #include <ieeefp.h>
41816 #endif
41819 main ()
41821 _isinfl(0);
41823 return 0;
41825 _ACEOF
41826 if ac_fn_cxx_try_compile "$LINENO"; then :
41827 glibcxx_cv_func__isinfl_use=yes
41828 else
41829 glibcxx_cv_func__isinfl_use=no
41831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41832 ac_ext=c
41833 ac_cpp='$CPP $CPPFLAGS'
41834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
41843 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
41845 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
41846 for ac_func in _isinfl
41847 do :
41848 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
41849 if test "x$ac_cv_func__isinfl" = x""yes; then :
41850 cat >>confdefs.h <<_ACEOF
41851 #define HAVE__ISINFL 1
41852 _ACEOF
41855 done
41864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
41865 $as_echo_n "checking for atan2l declaration... " >&6; }
41866 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
41867 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
41868 $as_echo_n "(cached) " >&6
41869 else
41872 ac_ext=cpp
41873 ac_cpp='$CXXCPP $CPPFLAGS'
41874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41879 /* end confdefs.h. */
41880 #include <math.h>
41882 main ()
41884 atan2l(0, 0);
41886 return 0;
41888 _ACEOF
41889 if ac_fn_cxx_try_compile "$LINENO"; then :
41890 glibcxx_cv_func_atan2l_use=yes
41891 else
41892 glibcxx_cv_func_atan2l_use=no
41894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41895 ac_ext=c
41896 ac_cpp='$CPP $CPPFLAGS'
41897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
41906 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
41908 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
41909 for ac_func in atan2l
41910 do :
41911 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
41912 if test "x$ac_cv_func_atan2l" = x""yes; then :
41913 cat >>confdefs.h <<_ACEOF
41914 #define HAVE_ATAN2L 1
41915 _ACEOF
41918 done
41920 else
41922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
41923 $as_echo_n "checking for _atan2l declaration... " >&6; }
41924 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
41925 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
41926 $as_echo_n "(cached) " >&6
41927 else
41930 ac_ext=cpp
41931 ac_cpp='$CXXCPP $CPPFLAGS'
41932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41937 /* end confdefs.h. */
41938 #include <math.h>
41940 main ()
41942 _atan2l(0, 0);
41944 return 0;
41946 _ACEOF
41947 if ac_fn_cxx_try_compile "$LINENO"; then :
41948 glibcxx_cv_func__atan2l_use=yes
41949 else
41950 glibcxx_cv_func__atan2l_use=no
41952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41953 ac_ext=c
41954 ac_cpp='$CPP $CPPFLAGS'
41955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
41964 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
41966 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
41967 for ac_func in _atan2l
41968 do :
41969 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
41970 if test "x$ac_cv_func__atan2l" = x""yes; then :
41971 cat >>confdefs.h <<_ACEOF
41972 #define HAVE__ATAN2L 1
41973 _ACEOF
41976 done
41985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
41986 $as_echo_n "checking for expl declaration... " >&6; }
41987 if test x${glibcxx_cv_func_expl_use+set} != xset; then
41988 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
41989 $as_echo_n "(cached) " >&6
41990 else
41993 ac_ext=cpp
41994 ac_cpp='$CXXCPP $CPPFLAGS'
41995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42000 /* end confdefs.h. */
42001 #include <math.h>
42002 #ifdef HAVE_IEEEFP_H
42003 #include <ieeefp.h>
42004 #endif
42007 main ()
42009 expl(0);
42011 return 0;
42013 _ACEOF
42014 if ac_fn_cxx_try_compile "$LINENO"; then :
42015 glibcxx_cv_func_expl_use=yes
42016 else
42017 glibcxx_cv_func_expl_use=no
42019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42020 ac_ext=c
42021 ac_cpp='$CPP $CPPFLAGS'
42022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
42031 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
42033 if test x$glibcxx_cv_func_expl_use = x"yes"; then
42034 for ac_func in expl
42035 do :
42036 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
42037 if test "x$ac_cv_func_expl" = x""yes; then :
42038 cat >>confdefs.h <<_ACEOF
42039 #define HAVE_EXPL 1
42040 _ACEOF
42043 done
42045 else
42047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
42048 $as_echo_n "checking for _expl declaration... " >&6; }
42049 if test x${glibcxx_cv_func__expl_use+set} != xset; then
42050 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
42051 $as_echo_n "(cached) " >&6
42052 else
42055 ac_ext=cpp
42056 ac_cpp='$CXXCPP $CPPFLAGS'
42057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42062 /* end confdefs.h. */
42063 #include <math.h>
42064 #ifdef HAVE_IEEEFP_H
42065 #include <ieeefp.h>
42066 #endif
42069 main ()
42071 _expl(0);
42073 return 0;
42075 _ACEOF
42076 if ac_fn_cxx_try_compile "$LINENO"; then :
42077 glibcxx_cv_func__expl_use=yes
42078 else
42079 glibcxx_cv_func__expl_use=no
42081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42082 ac_ext=c
42083 ac_cpp='$CPP $CPPFLAGS'
42084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
42093 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
42095 if test x$glibcxx_cv_func__expl_use = x"yes"; then
42096 for ac_func in _expl
42097 do :
42098 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
42099 if test "x$ac_cv_func__expl" = x""yes; then :
42100 cat >>confdefs.h <<_ACEOF
42101 #define HAVE__EXPL 1
42102 _ACEOF
42105 done
42114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
42115 $as_echo_n "checking for fabsl declaration... " >&6; }
42116 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
42117 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
42118 $as_echo_n "(cached) " >&6
42119 else
42122 ac_ext=cpp
42123 ac_cpp='$CXXCPP $CPPFLAGS'
42124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42129 /* end confdefs.h. */
42130 #include <math.h>
42131 #ifdef HAVE_IEEEFP_H
42132 #include <ieeefp.h>
42133 #endif
42136 main ()
42138 fabsl(0);
42140 return 0;
42142 _ACEOF
42143 if ac_fn_cxx_try_compile "$LINENO"; then :
42144 glibcxx_cv_func_fabsl_use=yes
42145 else
42146 glibcxx_cv_func_fabsl_use=no
42148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42149 ac_ext=c
42150 ac_cpp='$CPP $CPPFLAGS'
42151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
42160 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
42162 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
42163 for ac_func in fabsl
42164 do :
42165 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
42166 if test "x$ac_cv_func_fabsl" = x""yes; then :
42167 cat >>confdefs.h <<_ACEOF
42168 #define HAVE_FABSL 1
42169 _ACEOF
42172 done
42174 else
42176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
42177 $as_echo_n "checking for _fabsl declaration... " >&6; }
42178 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
42179 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
42180 $as_echo_n "(cached) " >&6
42181 else
42184 ac_ext=cpp
42185 ac_cpp='$CXXCPP $CPPFLAGS'
42186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42191 /* end confdefs.h. */
42192 #include <math.h>
42193 #ifdef HAVE_IEEEFP_H
42194 #include <ieeefp.h>
42195 #endif
42198 main ()
42200 _fabsl(0);
42202 return 0;
42204 _ACEOF
42205 if ac_fn_cxx_try_compile "$LINENO"; then :
42206 glibcxx_cv_func__fabsl_use=yes
42207 else
42208 glibcxx_cv_func__fabsl_use=no
42210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42211 ac_ext=c
42212 ac_cpp='$CPP $CPPFLAGS'
42213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
42222 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
42224 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
42225 for ac_func in _fabsl
42226 do :
42227 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
42228 if test "x$ac_cv_func__fabsl" = x""yes; then :
42229 cat >>confdefs.h <<_ACEOF
42230 #define HAVE__FABSL 1
42231 _ACEOF
42234 done
42243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
42244 $as_echo_n "checking for fmodl declaration... " >&6; }
42245 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
42246 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
42247 $as_echo_n "(cached) " >&6
42248 else
42251 ac_ext=cpp
42252 ac_cpp='$CXXCPP $CPPFLAGS'
42253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42258 /* end confdefs.h. */
42259 #include <math.h>
42261 main ()
42263 fmodl(0, 0);
42265 return 0;
42267 _ACEOF
42268 if ac_fn_cxx_try_compile "$LINENO"; then :
42269 glibcxx_cv_func_fmodl_use=yes
42270 else
42271 glibcxx_cv_func_fmodl_use=no
42273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42274 ac_ext=c
42275 ac_cpp='$CPP $CPPFLAGS'
42276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
42285 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
42287 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
42288 for ac_func in fmodl
42289 do :
42290 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
42291 if test "x$ac_cv_func_fmodl" = x""yes; then :
42292 cat >>confdefs.h <<_ACEOF
42293 #define HAVE_FMODL 1
42294 _ACEOF
42297 done
42299 else
42301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
42302 $as_echo_n "checking for _fmodl declaration... " >&6; }
42303 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
42304 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
42305 $as_echo_n "(cached) " >&6
42306 else
42309 ac_ext=cpp
42310 ac_cpp='$CXXCPP $CPPFLAGS'
42311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42316 /* end confdefs.h. */
42317 #include <math.h>
42319 main ()
42321 _fmodl(0, 0);
42323 return 0;
42325 _ACEOF
42326 if ac_fn_cxx_try_compile "$LINENO"; then :
42327 glibcxx_cv_func__fmodl_use=yes
42328 else
42329 glibcxx_cv_func__fmodl_use=no
42331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42332 ac_ext=c
42333 ac_cpp='$CPP $CPPFLAGS'
42334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
42343 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
42345 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
42346 for ac_func in _fmodl
42347 do :
42348 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
42349 if test "x$ac_cv_func__fmodl" = x""yes; then :
42350 cat >>confdefs.h <<_ACEOF
42351 #define HAVE__FMODL 1
42352 _ACEOF
42355 done
42364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
42365 $as_echo_n "checking for frexpl declaration... " >&6; }
42366 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
42367 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
42368 $as_echo_n "(cached) " >&6
42369 else
42372 ac_ext=cpp
42373 ac_cpp='$CXXCPP $CPPFLAGS'
42374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42379 /* end confdefs.h. */
42380 #include <math.h>
42382 main ()
42384 frexpl(0, 0);
42386 return 0;
42388 _ACEOF
42389 if ac_fn_cxx_try_compile "$LINENO"; then :
42390 glibcxx_cv_func_frexpl_use=yes
42391 else
42392 glibcxx_cv_func_frexpl_use=no
42394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42395 ac_ext=c
42396 ac_cpp='$CPP $CPPFLAGS'
42397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
42406 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
42408 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
42409 for ac_func in frexpl
42410 do :
42411 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
42412 if test "x$ac_cv_func_frexpl" = x""yes; then :
42413 cat >>confdefs.h <<_ACEOF
42414 #define HAVE_FREXPL 1
42415 _ACEOF
42418 done
42420 else
42422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
42423 $as_echo_n "checking for _frexpl declaration... " >&6; }
42424 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
42425 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
42426 $as_echo_n "(cached) " >&6
42427 else
42430 ac_ext=cpp
42431 ac_cpp='$CXXCPP $CPPFLAGS'
42432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42437 /* end confdefs.h. */
42438 #include <math.h>
42440 main ()
42442 _frexpl(0, 0);
42444 return 0;
42446 _ACEOF
42447 if ac_fn_cxx_try_compile "$LINENO"; then :
42448 glibcxx_cv_func__frexpl_use=yes
42449 else
42450 glibcxx_cv_func__frexpl_use=no
42452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42453 ac_ext=c
42454 ac_cpp='$CPP $CPPFLAGS'
42455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
42464 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
42466 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
42467 for ac_func in _frexpl
42468 do :
42469 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
42470 if test "x$ac_cv_func__frexpl" = x""yes; then :
42471 cat >>confdefs.h <<_ACEOF
42472 #define HAVE__FREXPL 1
42473 _ACEOF
42476 done
42485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
42486 $as_echo_n "checking for hypotl declaration... " >&6; }
42487 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
42488 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
42489 $as_echo_n "(cached) " >&6
42490 else
42493 ac_ext=cpp
42494 ac_cpp='$CXXCPP $CPPFLAGS'
42495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42500 /* end confdefs.h. */
42501 #include <math.h>
42503 main ()
42505 hypotl(0, 0);
42507 return 0;
42509 _ACEOF
42510 if ac_fn_cxx_try_compile "$LINENO"; then :
42511 glibcxx_cv_func_hypotl_use=yes
42512 else
42513 glibcxx_cv_func_hypotl_use=no
42515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42516 ac_ext=c
42517 ac_cpp='$CPP $CPPFLAGS'
42518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
42527 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
42529 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
42530 for ac_func in hypotl
42531 do :
42532 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
42533 if test "x$ac_cv_func_hypotl" = x""yes; then :
42534 cat >>confdefs.h <<_ACEOF
42535 #define HAVE_HYPOTL 1
42536 _ACEOF
42539 done
42541 else
42543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
42544 $as_echo_n "checking for _hypotl declaration... " >&6; }
42545 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
42546 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
42547 $as_echo_n "(cached) " >&6
42548 else
42551 ac_ext=cpp
42552 ac_cpp='$CXXCPP $CPPFLAGS'
42553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42558 /* end confdefs.h. */
42559 #include <math.h>
42561 main ()
42563 _hypotl(0, 0);
42565 return 0;
42567 _ACEOF
42568 if ac_fn_cxx_try_compile "$LINENO"; then :
42569 glibcxx_cv_func__hypotl_use=yes
42570 else
42571 glibcxx_cv_func__hypotl_use=no
42573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42574 ac_ext=c
42575 ac_cpp='$CPP $CPPFLAGS'
42576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
42585 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
42587 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
42588 for ac_func in _hypotl
42589 do :
42590 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
42591 if test "x$ac_cv_func__hypotl" = x""yes; then :
42592 cat >>confdefs.h <<_ACEOF
42593 #define HAVE__HYPOTL 1
42594 _ACEOF
42597 done
42606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
42607 $as_echo_n "checking for ldexpl declaration... " >&6; }
42608 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
42609 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
42610 $as_echo_n "(cached) " >&6
42611 else
42614 ac_ext=cpp
42615 ac_cpp='$CXXCPP $CPPFLAGS'
42616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42621 /* end confdefs.h. */
42622 #include <math.h>
42624 main ()
42626 ldexpl(0, 0);
42628 return 0;
42630 _ACEOF
42631 if ac_fn_cxx_try_compile "$LINENO"; then :
42632 glibcxx_cv_func_ldexpl_use=yes
42633 else
42634 glibcxx_cv_func_ldexpl_use=no
42636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42637 ac_ext=c
42638 ac_cpp='$CPP $CPPFLAGS'
42639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
42648 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
42650 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
42651 for ac_func in ldexpl
42652 do :
42653 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
42654 if test "x$ac_cv_func_ldexpl" = x""yes; then :
42655 cat >>confdefs.h <<_ACEOF
42656 #define HAVE_LDEXPL 1
42657 _ACEOF
42660 done
42662 else
42664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
42665 $as_echo_n "checking for _ldexpl declaration... " >&6; }
42666 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
42667 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
42668 $as_echo_n "(cached) " >&6
42669 else
42672 ac_ext=cpp
42673 ac_cpp='$CXXCPP $CPPFLAGS'
42674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42679 /* end confdefs.h. */
42680 #include <math.h>
42682 main ()
42684 _ldexpl(0, 0);
42686 return 0;
42688 _ACEOF
42689 if ac_fn_cxx_try_compile "$LINENO"; then :
42690 glibcxx_cv_func__ldexpl_use=yes
42691 else
42692 glibcxx_cv_func__ldexpl_use=no
42694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42695 ac_ext=c
42696 ac_cpp='$CPP $CPPFLAGS'
42697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
42706 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
42708 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
42709 for ac_func in _ldexpl
42710 do :
42711 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
42712 if test "x$ac_cv_func__ldexpl" = x""yes; then :
42713 cat >>confdefs.h <<_ACEOF
42714 #define HAVE__LDEXPL 1
42715 _ACEOF
42718 done
42727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
42728 $as_echo_n "checking for logl declaration... " >&6; }
42729 if test x${glibcxx_cv_func_logl_use+set} != xset; then
42730 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
42731 $as_echo_n "(cached) " >&6
42732 else
42735 ac_ext=cpp
42736 ac_cpp='$CXXCPP $CPPFLAGS'
42737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42742 /* end confdefs.h. */
42743 #include <math.h>
42744 #ifdef HAVE_IEEEFP_H
42745 #include <ieeefp.h>
42746 #endif
42749 main ()
42751 logl(0);
42753 return 0;
42755 _ACEOF
42756 if ac_fn_cxx_try_compile "$LINENO"; then :
42757 glibcxx_cv_func_logl_use=yes
42758 else
42759 glibcxx_cv_func_logl_use=no
42761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42762 ac_ext=c
42763 ac_cpp='$CPP $CPPFLAGS'
42764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
42773 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
42775 if test x$glibcxx_cv_func_logl_use = x"yes"; then
42776 for ac_func in logl
42777 do :
42778 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
42779 if test "x$ac_cv_func_logl" = x""yes; then :
42780 cat >>confdefs.h <<_ACEOF
42781 #define HAVE_LOGL 1
42782 _ACEOF
42785 done
42787 else
42789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
42790 $as_echo_n "checking for _logl declaration... " >&6; }
42791 if test x${glibcxx_cv_func__logl_use+set} != xset; then
42792 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
42793 $as_echo_n "(cached) " >&6
42794 else
42797 ac_ext=cpp
42798 ac_cpp='$CXXCPP $CPPFLAGS'
42799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42804 /* end confdefs.h. */
42805 #include <math.h>
42806 #ifdef HAVE_IEEEFP_H
42807 #include <ieeefp.h>
42808 #endif
42811 main ()
42813 _logl(0);
42815 return 0;
42817 _ACEOF
42818 if ac_fn_cxx_try_compile "$LINENO"; then :
42819 glibcxx_cv_func__logl_use=yes
42820 else
42821 glibcxx_cv_func__logl_use=no
42823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42824 ac_ext=c
42825 ac_cpp='$CPP $CPPFLAGS'
42826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
42835 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
42837 if test x$glibcxx_cv_func__logl_use = x"yes"; then
42838 for ac_func in _logl
42839 do :
42840 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
42841 if test "x$ac_cv_func__logl" = x""yes; then :
42842 cat >>confdefs.h <<_ACEOF
42843 #define HAVE__LOGL 1
42844 _ACEOF
42847 done
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
42857 $as_echo_n "checking for log10l declaration... " >&6; }
42858 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
42859 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
42860 $as_echo_n "(cached) " >&6
42861 else
42864 ac_ext=cpp
42865 ac_cpp='$CXXCPP $CPPFLAGS'
42866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42871 /* end confdefs.h. */
42872 #include <math.h>
42873 #ifdef HAVE_IEEEFP_H
42874 #include <ieeefp.h>
42875 #endif
42878 main ()
42880 log10l(0);
42882 return 0;
42884 _ACEOF
42885 if ac_fn_cxx_try_compile "$LINENO"; then :
42886 glibcxx_cv_func_log10l_use=yes
42887 else
42888 glibcxx_cv_func_log10l_use=no
42890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42891 ac_ext=c
42892 ac_cpp='$CPP $CPPFLAGS'
42893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
42902 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
42904 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
42905 for ac_func in log10l
42906 do :
42907 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
42908 if test "x$ac_cv_func_log10l" = x""yes; then :
42909 cat >>confdefs.h <<_ACEOF
42910 #define HAVE_LOG10L 1
42911 _ACEOF
42914 done
42916 else
42918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
42919 $as_echo_n "checking for _log10l declaration... " >&6; }
42920 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
42921 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
42922 $as_echo_n "(cached) " >&6
42923 else
42926 ac_ext=cpp
42927 ac_cpp='$CXXCPP $CPPFLAGS'
42928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42933 /* end confdefs.h. */
42934 #include <math.h>
42935 #ifdef HAVE_IEEEFP_H
42936 #include <ieeefp.h>
42937 #endif
42940 main ()
42942 _log10l(0);
42944 return 0;
42946 _ACEOF
42947 if ac_fn_cxx_try_compile "$LINENO"; then :
42948 glibcxx_cv_func__log10l_use=yes
42949 else
42950 glibcxx_cv_func__log10l_use=no
42952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42953 ac_ext=c
42954 ac_cpp='$CPP $CPPFLAGS'
42955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
42964 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
42966 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
42967 for ac_func in _log10l
42968 do :
42969 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
42970 if test "x$ac_cv_func__log10l" = x""yes; then :
42971 cat >>confdefs.h <<_ACEOF
42972 #define HAVE__LOG10L 1
42973 _ACEOF
42976 done
42985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
42986 $as_echo_n "checking for modfl declaration... " >&6; }
42987 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
42988 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
42989 $as_echo_n "(cached) " >&6
42990 else
42993 ac_ext=cpp
42994 ac_cpp='$CXXCPP $CPPFLAGS'
42995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43000 /* end confdefs.h. */
43001 #include <math.h>
43003 main ()
43005 modfl(0, 0);
43007 return 0;
43009 _ACEOF
43010 if ac_fn_cxx_try_compile "$LINENO"; then :
43011 glibcxx_cv_func_modfl_use=yes
43012 else
43013 glibcxx_cv_func_modfl_use=no
43015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43016 ac_ext=c
43017 ac_cpp='$CPP $CPPFLAGS'
43018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
43027 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
43029 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
43030 for ac_func in modfl
43031 do :
43032 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
43033 if test "x$ac_cv_func_modfl" = x""yes; then :
43034 cat >>confdefs.h <<_ACEOF
43035 #define HAVE_MODFL 1
43036 _ACEOF
43039 done
43041 else
43043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
43044 $as_echo_n "checking for _modfl declaration... " >&6; }
43045 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
43046 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
43047 $as_echo_n "(cached) " >&6
43048 else
43051 ac_ext=cpp
43052 ac_cpp='$CXXCPP $CPPFLAGS'
43053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43058 /* end confdefs.h. */
43059 #include <math.h>
43061 main ()
43063 _modfl(0, 0);
43065 return 0;
43067 _ACEOF
43068 if ac_fn_cxx_try_compile "$LINENO"; then :
43069 glibcxx_cv_func__modfl_use=yes
43070 else
43071 glibcxx_cv_func__modfl_use=no
43073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43074 ac_ext=c
43075 ac_cpp='$CPP $CPPFLAGS'
43076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
43085 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
43087 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
43088 for ac_func in _modfl
43089 do :
43090 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
43091 if test "x$ac_cv_func__modfl" = x""yes; then :
43092 cat >>confdefs.h <<_ACEOF
43093 #define HAVE__MODFL 1
43094 _ACEOF
43097 done
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
43107 $as_echo_n "checking for powl declaration... " >&6; }
43108 if test x${glibcxx_cv_func_powl_use+set} != xset; then
43109 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
43110 $as_echo_n "(cached) " >&6
43111 else
43114 ac_ext=cpp
43115 ac_cpp='$CXXCPP $CPPFLAGS'
43116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43121 /* end confdefs.h. */
43122 #include <math.h>
43124 main ()
43126 powl(0, 0);
43128 return 0;
43130 _ACEOF
43131 if ac_fn_cxx_try_compile "$LINENO"; then :
43132 glibcxx_cv_func_powl_use=yes
43133 else
43134 glibcxx_cv_func_powl_use=no
43136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43137 ac_ext=c
43138 ac_cpp='$CPP $CPPFLAGS'
43139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
43148 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
43150 if test x$glibcxx_cv_func_powl_use = x"yes"; then
43151 for ac_func in powl
43152 do :
43153 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
43154 if test "x$ac_cv_func_powl" = x""yes; then :
43155 cat >>confdefs.h <<_ACEOF
43156 #define HAVE_POWL 1
43157 _ACEOF
43160 done
43162 else
43164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
43165 $as_echo_n "checking for _powl declaration... " >&6; }
43166 if test x${glibcxx_cv_func__powl_use+set} != xset; then
43167 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
43168 $as_echo_n "(cached) " >&6
43169 else
43172 ac_ext=cpp
43173 ac_cpp='$CXXCPP $CPPFLAGS'
43174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43179 /* end confdefs.h. */
43180 #include <math.h>
43182 main ()
43184 _powl(0, 0);
43186 return 0;
43188 _ACEOF
43189 if ac_fn_cxx_try_compile "$LINENO"; then :
43190 glibcxx_cv_func__powl_use=yes
43191 else
43192 glibcxx_cv_func__powl_use=no
43194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43195 ac_ext=c
43196 ac_cpp='$CPP $CPPFLAGS'
43197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
43206 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
43208 if test x$glibcxx_cv_func__powl_use = x"yes"; then
43209 for ac_func in _powl
43210 do :
43211 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
43212 if test "x$ac_cv_func__powl" = x""yes; then :
43213 cat >>confdefs.h <<_ACEOF
43214 #define HAVE__POWL 1
43215 _ACEOF
43218 done
43227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
43228 $as_echo_n "checking for sqrtl declaration... " >&6; }
43229 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
43230 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
43231 $as_echo_n "(cached) " >&6
43232 else
43235 ac_ext=cpp
43236 ac_cpp='$CXXCPP $CPPFLAGS'
43237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43242 /* end confdefs.h. */
43243 #include <math.h>
43244 #ifdef HAVE_IEEEFP_H
43245 #include <ieeefp.h>
43246 #endif
43249 main ()
43251 sqrtl(0);
43253 return 0;
43255 _ACEOF
43256 if ac_fn_cxx_try_compile "$LINENO"; then :
43257 glibcxx_cv_func_sqrtl_use=yes
43258 else
43259 glibcxx_cv_func_sqrtl_use=no
43261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43262 ac_ext=c
43263 ac_cpp='$CPP $CPPFLAGS'
43264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
43273 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
43275 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
43276 for ac_func in sqrtl
43277 do :
43278 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
43279 if test "x$ac_cv_func_sqrtl" = x""yes; then :
43280 cat >>confdefs.h <<_ACEOF
43281 #define HAVE_SQRTL 1
43282 _ACEOF
43285 done
43287 else
43289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
43290 $as_echo_n "checking for _sqrtl declaration... " >&6; }
43291 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
43292 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
43293 $as_echo_n "(cached) " >&6
43294 else
43297 ac_ext=cpp
43298 ac_cpp='$CXXCPP $CPPFLAGS'
43299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43304 /* end confdefs.h. */
43305 #include <math.h>
43306 #ifdef HAVE_IEEEFP_H
43307 #include <ieeefp.h>
43308 #endif
43311 main ()
43313 _sqrtl(0);
43315 return 0;
43317 _ACEOF
43318 if ac_fn_cxx_try_compile "$LINENO"; then :
43319 glibcxx_cv_func__sqrtl_use=yes
43320 else
43321 glibcxx_cv_func__sqrtl_use=no
43323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43324 ac_ext=c
43325 ac_cpp='$CPP $CPPFLAGS'
43326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
43335 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
43337 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
43338 for ac_func in _sqrtl
43339 do :
43340 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
43341 if test "x$ac_cv_func__sqrtl" = x""yes; then :
43342 cat >>confdefs.h <<_ACEOF
43343 #define HAVE__SQRTL 1
43344 _ACEOF
43347 done
43356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
43357 $as_echo_n "checking for sincosl declaration... " >&6; }
43358 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
43359 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
43360 $as_echo_n "(cached) " >&6
43361 else
43364 ac_ext=cpp
43365 ac_cpp='$CXXCPP $CPPFLAGS'
43366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43371 /* end confdefs.h. */
43372 #include <math.h>
43374 main ()
43376 sincosl(0, 0, 0);
43378 return 0;
43380 _ACEOF
43381 if ac_fn_cxx_try_compile "$LINENO"; then :
43382 glibcxx_cv_func_sincosl_use=yes
43383 else
43384 glibcxx_cv_func_sincosl_use=no
43386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43387 ac_ext=c
43388 ac_cpp='$CPP $CPPFLAGS'
43389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
43398 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
43400 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
43401 for ac_func in sincosl
43402 do :
43403 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
43404 if test "x$ac_cv_func_sincosl" = x""yes; then :
43405 cat >>confdefs.h <<_ACEOF
43406 #define HAVE_SINCOSL 1
43407 _ACEOF
43410 done
43412 else
43414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
43415 $as_echo_n "checking for _sincosl declaration... " >&6; }
43416 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
43417 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
43418 $as_echo_n "(cached) " >&6
43419 else
43422 ac_ext=cpp
43423 ac_cpp='$CXXCPP $CPPFLAGS'
43424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43429 /* end confdefs.h. */
43430 #include <math.h>
43432 main ()
43434 _sincosl(0, 0, 0);
43436 return 0;
43438 _ACEOF
43439 if ac_fn_cxx_try_compile "$LINENO"; then :
43440 glibcxx_cv_func__sincosl_use=yes
43441 else
43442 glibcxx_cv_func__sincosl_use=no
43444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43445 ac_ext=c
43446 ac_cpp='$CPP $CPPFLAGS'
43447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
43456 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
43458 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
43459 for ac_func in _sincosl
43460 do :
43461 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
43462 if test "x$ac_cv_func__sincosl" = x""yes; then :
43463 cat >>confdefs.h <<_ACEOF
43464 #define HAVE__SINCOSL 1
43465 _ACEOF
43468 done
43477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
43478 $as_echo_n "checking for finitel declaration... " >&6; }
43479 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
43480 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
43481 $as_echo_n "(cached) " >&6
43482 else
43485 ac_ext=cpp
43486 ac_cpp='$CXXCPP $CPPFLAGS'
43487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43492 /* end confdefs.h. */
43493 #include <math.h>
43494 #ifdef HAVE_IEEEFP_H
43495 #include <ieeefp.h>
43496 #endif
43499 main ()
43501 finitel(0);
43503 return 0;
43505 _ACEOF
43506 if ac_fn_cxx_try_compile "$LINENO"; then :
43507 glibcxx_cv_func_finitel_use=yes
43508 else
43509 glibcxx_cv_func_finitel_use=no
43511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43512 ac_ext=c
43513 ac_cpp='$CPP $CPPFLAGS'
43514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
43523 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
43525 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
43526 for ac_func in finitel
43527 do :
43528 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
43529 if test "x$ac_cv_func_finitel" = x""yes; then :
43530 cat >>confdefs.h <<_ACEOF
43531 #define HAVE_FINITEL 1
43532 _ACEOF
43535 done
43537 else
43539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
43540 $as_echo_n "checking for _finitel declaration... " >&6; }
43541 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
43542 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
43543 $as_echo_n "(cached) " >&6
43544 else
43547 ac_ext=cpp
43548 ac_cpp='$CXXCPP $CPPFLAGS'
43549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43554 /* end confdefs.h. */
43555 #include <math.h>
43556 #ifdef HAVE_IEEEFP_H
43557 #include <ieeefp.h>
43558 #endif
43561 main ()
43563 _finitel(0);
43565 return 0;
43567 _ACEOF
43568 if ac_fn_cxx_try_compile "$LINENO"; then :
43569 glibcxx_cv_func__finitel_use=yes
43570 else
43571 glibcxx_cv_func__finitel_use=no
43573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43574 ac_ext=c
43575 ac_cpp='$CPP $CPPFLAGS'
43576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
43585 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
43587 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
43588 for ac_func in _finitel
43589 do :
43590 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
43591 if test "x$ac_cv_func__finitel" = x""yes; then :
43592 cat >>confdefs.h <<_ACEOF
43593 #define HAVE__FINITEL 1
43594 _ACEOF
43597 done
43605 LIBS="$ac_save_LIBS"
43606 CXXFLAGS="$ac_save_CXXFLAGS"
43609 ac_test_CXXFLAGS="${CXXFLAGS+set}"
43610 ac_save_CXXFLAGS="$CXXFLAGS"
43611 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
43614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
43615 $as_echo_n "checking for strtold declaration... " >&6; }
43616 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
43617 if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
43632 main ()
43634 strtold(0, 0);
43636 return 0;
43638 _ACEOF
43639 if ac_fn_cxx_try_compile "$LINENO"; then :
43640 glibcxx_cv_func_strtold_use=yes
43641 else
43642 glibcxx_cv_func_strtold_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_strtold_use" >&5
43656 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
43657 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
43658 for ac_func in strtold
43659 do :
43660 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
43661 if test "x$ac_cv_func_strtold" = x""yes; then :
43662 cat >>confdefs.h <<_ACEOF
43663 #define HAVE_STRTOLD 1
43664 _ACEOF
43667 done
43674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
43675 $as_echo_n "checking for strtof declaration... " >&6; }
43676 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
43677 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
43678 $as_echo_n "(cached) " >&6
43679 else
43682 ac_ext=cpp
43683 ac_cpp='$CXXCPP $CPPFLAGS'
43684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43689 /* end confdefs.h. */
43690 #include <stdlib.h>
43692 main ()
43694 strtof(0, 0);
43696 return 0;
43698 _ACEOF
43699 if ac_fn_cxx_try_compile "$LINENO"; then :
43700 glibcxx_cv_func_strtof_use=yes
43701 else
43702 glibcxx_cv_func_strtof_use=no
43704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43705 ac_ext=c
43706 ac_cpp='$CPP $CPPFLAGS'
43707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
43716 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
43717 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
43718 for ac_func in strtof
43719 do :
43720 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
43721 if test "x$ac_cv_func_strtof" = x""yes; then :
43722 cat >>confdefs.h <<_ACEOF
43723 #define HAVE_STRTOF 1
43724 _ACEOF
43727 done
43734 CXXFLAGS="$ac_save_CXXFLAGS"
43738 *djgpp)
43739 # GLIBCXX_CHECK_MATH_SUPPORT
43740 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43742 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43744 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43746 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
43748 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43752 *-freebsd*)
43753 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43756 # If we're not using GNU ld, then there's no point in even trying these
43757 # tests. Check for that first. We should have already tested for gld
43758 # by now (in libtool), but require it now just to be safe...
43759 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43760 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43764 # The name set by libtool depends on the version of libtool. Shame on us
43765 # for depending on an impl detail, but c'est la vie. Older versions used
43766 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43767 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43768 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43769 # set (hence we're using an older libtool), then set it.
43770 if test x${with_gnu_ld+set} != xset; then
43771 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43772 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43773 with_gnu_ld=no
43774 else
43775 with_gnu_ld=$ac_cv_prog_gnu_ld
43779 # Start by getting the version number. I think the libtool test already
43780 # does some of this, but throws away the result.
43781 glibcxx_ld_is_gold=no
43782 if test x"$with_gnu_ld" = x"yes"; then
43783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43784 $as_echo_n "checking for ld version... " >&6; }
43786 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
43787 glibcxx_ld_is_gold=yes
43789 ldver=`$LD --version 2>/dev/null |
43790 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'`
43792 glibcxx_gnu_ld_version=`echo $ldver | \
43793 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
43794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
43795 $as_echo "$glibcxx_gnu_ld_version" >&6; }
43798 # Set --gc-sections.
43799 glibcxx_have_gc_sections=no
43800 if test "$glibcxx_ld_is_gold" = "yes"; then
43801 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
43802 glibcxx_have_gc_sections=yes
43804 else
43805 glibcxx_gcsections_min_ld=21602
43806 if test x"$with_gnu_ld" = x"yes" &&
43807 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
43808 glibcxx_have_gc_sections=yes
43811 if test "$glibcxx_have_gc_sections" = "yes"; then
43812 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
43813 # NB: This flag only works reliably after 2.16.1. Configure tests
43814 # for this are difficult, so hard wire a value that should work.
43816 ac_test_CFLAGS="${CFLAGS+set}"
43817 ac_save_CFLAGS="$CFLAGS"
43818 CFLAGS='-Wl,--gc-sections'
43820 # Check for -Wl,--gc-sections
43821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
43822 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
43823 if test x$gcc_no_link = xyes; then
43824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
43826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43827 /* end confdefs.h. */
43828 int one(void) { return 1; }
43829 int two(void) { return 2; }
43832 main ()
43834 two();
43836 return 0;
43838 _ACEOF
43839 if ac_fn_c_try_link "$LINENO"; then :
43840 ac_gcsections=yes
43841 else
43842 ac_gcsections=no
43844 rm -f core conftest.err conftest.$ac_objext \
43845 conftest$ac_exeext conftest.$ac_ext
43846 if test "$ac_gcsections" = "yes"; then
43847 rm -f conftest.c
43848 touch conftest.c
43849 if $CC -c conftest.c; then
43850 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
43851 grep "Warning: gc-sections option ignored" > /dev/null; then
43852 ac_gcsections=no
43855 rm -f conftest.c conftest.o conftest
43857 if test "$ac_gcsections" = "yes"; then
43858 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
43860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
43861 $as_echo "$ac_gcsections" >&6; }
43863 if test "$ac_test_CFLAGS" = set; then
43864 CFLAGS="$ac_save_CFLAGS"
43865 else
43866 # this is the suspicious part
43867 CFLAGS=''
43871 # Set -z,relro.
43872 # Note this is only for shared objects.
43873 ac_ld_relro=no
43874 if test x"$with_gnu_ld" = x"yes"; then
43875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
43876 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
43877 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
43878 if test -n "$cxx_z_relo"; then
43879 OPT_LDFLAGS="-Wl,-z,relro"
43880 ac_ld_relro=yes
43882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
43883 $as_echo "$ac_ld_relro" >&6; }
43886 # Set linker optimization flags.
43887 if test x"$with_gnu_ld" = x"yes"; then
43888 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
43894 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
43896 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
43898 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
43900 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
43902 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
43904 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
43906 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
43908 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
43910 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
43913 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
43915 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
43917 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
43919 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
43921 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
43923 $as_echo "#define HAVE_COSF 1" >>confdefs.h
43925 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
43927 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
43929 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
43931 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
43933 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
43935 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
43937 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
43939 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
43941 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
43943 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
43945 $as_echo "#define HAVE_POWF 1" >>confdefs.h
43947 $as_echo "#define HAVE_SINF 1" >>confdefs.h
43949 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
43951 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
43953 $as_echo "#define HAVE_TANF 1" >>confdefs.h
43955 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
43957 if test x"long_double_math_on_this_cpu" = x"yes"; then
43958 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
43960 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
43962 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
43966 *-hpux*)
43967 SECTION_FLAGS='-ffunction-sections -fdata-sections'
43970 # If we're not using GNU ld, then there's no point in even trying these
43971 # tests. Check for that first. We should have already tested for gld
43972 # by now (in libtool), but require it now just to be safe...
43973 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
43974 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
43978 # The name set by libtool depends on the version of libtool. Shame on us
43979 # for depending on an impl detail, but c'est la vie. Older versions used
43980 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
43981 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
43982 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
43983 # set (hence we're using an older libtool), then set it.
43984 if test x${with_gnu_ld+set} != xset; then
43985 if test x${ac_cv_prog_gnu_ld+set} != xset; then
43986 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
43987 with_gnu_ld=no
43988 else
43989 with_gnu_ld=$ac_cv_prog_gnu_ld
43993 # Start by getting the version number. I think the libtool test already
43994 # does some of this, but throws away the result.
43995 glibcxx_ld_is_gold=no
43996 if test x"$with_gnu_ld" = x"yes"; then
43997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
43998 $as_echo_n "checking for ld version... " >&6; }
44000 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44001 glibcxx_ld_is_gold=yes
44003 ldver=`$LD --version 2>/dev/null |
44004 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'`
44006 glibcxx_gnu_ld_version=`echo $ldver | \
44007 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44009 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44012 # Set --gc-sections.
44013 glibcxx_have_gc_sections=no
44014 if test "$glibcxx_ld_is_gold" = "yes"; then
44015 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44016 glibcxx_have_gc_sections=yes
44018 else
44019 glibcxx_gcsections_min_ld=21602
44020 if test x"$with_gnu_ld" = x"yes" &&
44021 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44022 glibcxx_have_gc_sections=yes
44025 if test "$glibcxx_have_gc_sections" = "yes"; then
44026 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44027 # NB: This flag only works reliably after 2.16.1. Configure tests
44028 # for this are difficult, so hard wire a value that should work.
44030 ac_test_CFLAGS="${CFLAGS+set}"
44031 ac_save_CFLAGS="$CFLAGS"
44032 CFLAGS='-Wl,--gc-sections'
44034 # Check for -Wl,--gc-sections
44035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44036 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44037 if test x$gcc_no_link = xyes; then
44038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44041 /* end confdefs.h. */
44042 int one(void) { return 1; }
44043 int two(void) { return 2; }
44046 main ()
44048 two();
44050 return 0;
44052 _ACEOF
44053 if ac_fn_c_try_link "$LINENO"; then :
44054 ac_gcsections=yes
44055 else
44056 ac_gcsections=no
44058 rm -f core conftest.err conftest.$ac_objext \
44059 conftest$ac_exeext conftest.$ac_ext
44060 if test "$ac_gcsections" = "yes"; then
44061 rm -f conftest.c
44062 touch conftest.c
44063 if $CC -c conftest.c; then
44064 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44065 grep "Warning: gc-sections option ignored" > /dev/null; then
44066 ac_gcsections=no
44069 rm -f conftest.c conftest.o conftest
44071 if test "$ac_gcsections" = "yes"; then
44072 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44075 $as_echo "$ac_gcsections" >&6; }
44077 if test "$ac_test_CFLAGS" = set; then
44078 CFLAGS="$ac_save_CFLAGS"
44079 else
44080 # this is the suspicious part
44081 CFLAGS=''
44085 # Set -z,relro.
44086 # Note this is only for shared objects.
44087 ac_ld_relro=no
44088 if test x"$with_gnu_ld" = x"yes"; then
44089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44090 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44091 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44092 if test -n "$cxx_z_relo"; then
44093 OPT_LDFLAGS="-Wl,-z,relro"
44094 ac_ld_relro=yes
44096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44097 $as_echo "$ac_ld_relro" >&6; }
44100 # Set linker optimization flags.
44101 if test x"$with_gnu_ld" = x"yes"; then
44102 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44109 # GLIBCXX_CHECK_MATH_SUPPORT
44110 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44112 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44114 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44116 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44118 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44120 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44122 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44124 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44126 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44128 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44130 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44132 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44134 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44136 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44138 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44140 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44142 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44144 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44146 $as_echo "#define HAVE_MODF 1" >>confdefs.h
44148 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44150 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44153 # GLIBCXX_CHECK_STDLIB_SUPPORT
44154 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
44159 # Check whether --enable-tls was given.
44160 if test "${enable_tls+set}" = set; then :
44161 enableval=$enable_tls;
44162 case "$enableval" in
44163 yes|no) ;;
44164 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
44165 esac
44167 else
44168 enable_tls=yes
44172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
44173 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
44174 if test "${gcc_cv_have_tls+set}" = set; then :
44175 $as_echo_n "(cached) " >&6
44176 else
44178 if test "$cross_compiling" = yes; then :
44179 if test x$gcc_no_link = xyes; then
44180 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44183 /* end confdefs.h. */
44184 __thread int a; int b; int main() { return a = b; }
44185 _ACEOF
44186 if ac_fn_c_try_link "$LINENO"; then :
44187 chktls_save_LDFLAGS="$LDFLAGS"
44188 case $host in
44189 *-*-linux*)
44190 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
44192 esac
44193 chktls_save_CFLAGS="$CFLAGS"
44194 CFLAGS="-fPIC $CFLAGS"
44195 if test x$gcc_no_link = xyes; then
44196 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44199 /* end confdefs.h. */
44200 int f() { return 0; }
44201 _ACEOF
44202 if ac_fn_c_try_link "$LINENO"; then :
44203 if test x$gcc_no_link = xyes; then
44204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44207 /* end confdefs.h. */
44208 __thread int a; int b; int f() { return a = b; }
44209 _ACEOF
44210 if ac_fn_c_try_link "$LINENO"; then :
44211 gcc_cv_have_tls=yes
44212 else
44213 gcc_cv_have_tls=no
44215 rm -f core conftest.err conftest.$ac_objext \
44216 conftest$ac_exeext conftest.$ac_ext
44217 else
44218 gcc_cv_have_tls=yes
44220 rm -f core conftest.err conftest.$ac_objext \
44221 conftest$ac_exeext conftest.$ac_ext
44222 CFLAGS="$chktls_save_CFLAGS"
44223 LDFLAGS="$chktls_save_LDFLAGS"
44224 else
44225 gcc_cv_have_tls=no
44227 rm -f core conftest.err conftest.$ac_objext \
44228 conftest$ac_exeext conftest.$ac_ext
44231 else
44232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44233 /* end confdefs.h. */
44234 __thread int a; int b; int main() { return a = b; }
44235 _ACEOF
44236 if ac_fn_c_try_run "$LINENO"; then :
44237 chktls_save_LDFLAGS="$LDFLAGS"
44238 LDFLAGS="-static $LDFLAGS"
44239 if test x$gcc_no_link = xyes; then
44240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44243 /* end confdefs.h. */
44244 int main() { return 0; }
44245 _ACEOF
44246 if ac_fn_c_try_link "$LINENO"; then :
44247 if test "$cross_compiling" = yes; then :
44248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44250 as_fn_error "cannot run test program while cross compiling
44251 See \`config.log' for more details." "$LINENO" 5; }
44252 else
44253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44254 /* end confdefs.h. */
44255 __thread int a; int b; int main() { return a = b; }
44256 _ACEOF
44257 if ac_fn_c_try_run "$LINENO"; then :
44258 gcc_cv_have_tls=yes
44259 else
44260 gcc_cv_have_tls=no
44262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44263 conftest.$ac_objext conftest.beam conftest.$ac_ext
44266 else
44267 gcc_cv_have_tls=yes
44269 rm -f core conftest.err conftest.$ac_objext \
44270 conftest$ac_exeext conftest.$ac_ext
44271 LDFLAGS="$chktls_save_LDFLAGS"
44272 if test $gcc_cv_have_tls = yes; then
44273 chktls_save_CFLAGS="$CFLAGS"
44274 thread_CFLAGS=failed
44275 for flag in '' '-pthread' '-lpthread'; do
44276 CFLAGS="$flag $chktls_save_CFLAGS"
44277 if test x$gcc_no_link = xyes; then
44278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44281 /* end confdefs.h. */
44282 #include <pthread.h>
44283 void *g(void *d) { return NULL; }
44285 main ()
44287 pthread_t t; pthread_create(&t,NULL,g,NULL);
44289 return 0;
44291 _ACEOF
44292 if ac_fn_c_try_link "$LINENO"; then :
44293 thread_CFLAGS="$flag"
44295 rm -f core conftest.err conftest.$ac_objext \
44296 conftest$ac_exeext conftest.$ac_ext
44297 if test "X$thread_CFLAGS" != Xfailed; then
44298 break
44300 done
44301 CFLAGS="$chktls_save_CFLAGS"
44302 if test "X$thread_CFLAGS" != Xfailed; then
44303 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
44304 if test "$cross_compiling" = yes; then :
44305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
44306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
44307 as_fn_error "cannot run test program while cross compiling
44308 See \`config.log' for more details." "$LINENO" 5; }
44309 else
44310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44311 /* end confdefs.h. */
44312 #include <pthread.h>
44313 __thread int a;
44314 static int *a_in_other_thread;
44315 static void *
44316 thread_func (void *arg)
44318 a_in_other_thread = &a;
44319 return (void *)0;
44322 main ()
44324 pthread_t thread;
44325 void *thread_retval;
44326 int *a_in_main_thread;
44327 if (pthread_create (&thread, (pthread_attr_t *)0,
44328 thread_func, (void *)0))
44329 return 0;
44330 a_in_main_thread = &a;
44331 if (pthread_join (thread, &thread_retval))
44332 return 0;
44333 return (a_in_other_thread == a_in_main_thread);
44335 return 0;
44337 _ACEOF
44338 if ac_fn_c_try_run "$LINENO"; then :
44339 gcc_cv_have_tls=yes
44340 else
44341 gcc_cv_have_tls=no
44343 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44344 conftest.$ac_objext conftest.beam conftest.$ac_ext
44347 CFLAGS="$chktls_save_CFLAGS"
44350 else
44351 gcc_cv_have_tls=no
44353 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
44354 conftest.$ac_objext conftest.beam conftest.$ac_ext
44358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
44359 $as_echo "$gcc_cv_have_tls" >&6; }
44360 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
44362 $as_echo "#define HAVE_TLS 1" >>confdefs.h
44365 case "$target" in
44366 *-hpux10*)
44367 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44369 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
44371 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44373 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44375 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44378 esac
44380 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
44382 # All these tests are for C++; save the language and the compiler flags.
44383 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44384 # found in GLIBCXX_CONFIGURE.
44386 ac_ext=cpp
44387 ac_cpp='$CXXCPP $CPPFLAGS'
44388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44392 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44393 ac_save_CXXFLAGS="$CXXFLAGS"
44395 # Check for maintainer-mode bits.
44396 if test x"$USE_MAINTAINER_MODE" = xno; then
44397 WERROR=''
44398 else
44399 WERROR='-Werror'
44402 # Check for -ffunction-sections -fdata-sections
44403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44404 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
44405 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44407 /* end confdefs.h. */
44408 int foo; void bar() { };
44410 main ()
44414 return 0;
44416 _ACEOF
44417 if ac_fn_cxx_try_compile "$LINENO"; then :
44418 ac_fdsections=yes
44419 else
44420 ac_fdsections=no
44422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44423 if test "$ac_test_CXXFLAGS" = set; then
44424 CXXFLAGS="$ac_save_CXXFLAGS"
44425 else
44426 # this is the suspicious part
44427 CXXFLAGS=''
44429 if test x"$ac_fdsections" = x"yes"; then
44430 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
44433 $as_echo "$ac_fdsections" >&6; }
44435 ac_ext=c
44436 ac_cpp='$CPP $CPPFLAGS'
44437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44445 # If we're not using GNU ld, then there's no point in even trying these
44446 # tests. Check for that first. We should have already tested for gld
44447 # by now (in libtool), but require it now just to be safe...
44448 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44449 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44453 # The name set by libtool depends on the version of libtool. Shame on us
44454 # for depending on an impl detail, but c'est la vie. Older versions used
44455 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44456 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44457 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44458 # set (hence we're using an older libtool), then set it.
44459 if test x${with_gnu_ld+set} != xset; then
44460 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44461 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44462 with_gnu_ld=no
44463 else
44464 with_gnu_ld=$ac_cv_prog_gnu_ld
44468 # Start by getting the version number. I think the libtool test already
44469 # does some of this, but throws away the result.
44470 glibcxx_ld_is_gold=no
44471 if test x"$with_gnu_ld" = x"yes"; then
44472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44473 $as_echo_n "checking for ld version... " >&6; }
44475 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44476 glibcxx_ld_is_gold=yes
44478 ldver=`$LD --version 2>/dev/null |
44479 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'`
44481 glibcxx_gnu_ld_version=`echo $ldver | \
44482 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44484 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44487 # Set --gc-sections.
44488 glibcxx_have_gc_sections=no
44489 if test "$glibcxx_ld_is_gold" = "yes"; then
44490 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44491 glibcxx_have_gc_sections=yes
44493 else
44494 glibcxx_gcsections_min_ld=21602
44495 if test x"$with_gnu_ld" = x"yes" &&
44496 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44497 glibcxx_have_gc_sections=yes
44500 if test "$glibcxx_have_gc_sections" = "yes"; then
44501 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44502 # NB: This flag only works reliably after 2.16.1. Configure tests
44503 # for this are difficult, so hard wire a value that should work.
44505 ac_test_CFLAGS="${CFLAGS+set}"
44506 ac_save_CFLAGS="$CFLAGS"
44507 CFLAGS='-Wl,--gc-sections'
44509 # Check for -Wl,--gc-sections
44510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44511 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44512 if test x$gcc_no_link = xyes; then
44513 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44516 /* end confdefs.h. */
44517 int one(void) { return 1; }
44518 int two(void) { return 2; }
44521 main ()
44523 two();
44525 return 0;
44527 _ACEOF
44528 if ac_fn_c_try_link "$LINENO"; then :
44529 ac_gcsections=yes
44530 else
44531 ac_gcsections=no
44533 rm -f core conftest.err conftest.$ac_objext \
44534 conftest$ac_exeext conftest.$ac_ext
44535 if test "$ac_gcsections" = "yes"; then
44536 rm -f conftest.c
44537 touch conftest.c
44538 if $CC -c conftest.c; then
44539 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44540 grep "Warning: gc-sections option ignored" > /dev/null; then
44541 ac_gcsections=no
44544 rm -f conftest.c conftest.o conftest
44546 if test "$ac_gcsections" = "yes"; then
44547 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44550 $as_echo "$ac_gcsections" >&6; }
44552 if test "$ac_test_CFLAGS" = set; then
44553 CFLAGS="$ac_save_CFLAGS"
44554 else
44555 # this is the suspicious part
44556 CFLAGS=''
44560 # Set -z,relro.
44561 # Note this is only for shared objects.
44562 ac_ld_relro=no
44563 if test x"$with_gnu_ld" = x"yes"; then
44564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44565 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44566 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44567 if test -n "$cxx_z_relo"; then
44568 OPT_LDFLAGS="-Wl,-z,relro"
44569 ac_ld_relro=yes
44571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44572 $as_echo "$ac_ld_relro" >&6; }
44575 # Set linker optimization flags.
44576 if test x"$with_gnu_ld" = x"yes"; then
44577 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44584 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44585 ac_save_CXXFLAGS="$CXXFLAGS"
44586 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
44589 $as_echo_n "checking for sin in -lm... " >&6; }
44590 if test "${ac_cv_lib_m_sin+set}" = set; then :
44591 $as_echo_n "(cached) " >&6
44592 else
44593 ac_check_lib_save_LIBS=$LIBS
44594 LIBS="-lm $LIBS"
44595 if test x$gcc_no_link = xyes; then
44596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44599 /* end confdefs.h. */
44601 /* Override any GCC internal prototype to avoid an error.
44602 Use char because int might match the return type of a GCC
44603 builtin and then its argument prototype would still apply. */
44604 #ifdef __cplusplus
44605 extern "C"
44606 #endif
44607 char sin ();
44609 main ()
44611 return sin ();
44613 return 0;
44615 _ACEOF
44616 if ac_fn_c_try_link "$LINENO"; then :
44617 ac_cv_lib_m_sin=yes
44618 else
44619 ac_cv_lib_m_sin=no
44621 rm -f core conftest.err conftest.$ac_objext \
44622 conftest$ac_exeext conftest.$ac_ext
44623 LIBS=$ac_check_lib_save_LIBS
44625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
44626 $as_echo "$ac_cv_lib_m_sin" >&6; }
44627 if test "x$ac_cv_lib_m_sin" = x""yes; then :
44628 libm="-lm"
44631 ac_save_LIBS="$LIBS"
44632 LIBS="$LIBS $libm"
44636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
44637 $as_echo_n "checking for isinf declaration... " >&6; }
44638 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44639 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
44640 $as_echo_n "(cached) " >&6
44641 else
44644 ac_ext=cpp
44645 ac_cpp='$CXXCPP $CPPFLAGS'
44646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44651 /* end confdefs.h. */
44652 #include <math.h>
44653 #ifdef HAVE_IEEEFP_H
44654 #include <ieeefp.h>
44655 #endif
44658 main ()
44660 isinf(0);
44662 return 0;
44664 _ACEOF
44665 if ac_fn_cxx_try_compile "$LINENO"; then :
44666 glibcxx_cv_func_isinf_use=yes
44667 else
44668 glibcxx_cv_func_isinf_use=no
44670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44671 ac_ext=c
44672 ac_cpp='$CPP $CPPFLAGS'
44673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
44682 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
44684 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44685 for ac_func in isinf
44686 do :
44687 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
44688 if test "x$ac_cv_func_isinf" = x""yes; then :
44689 cat >>confdefs.h <<_ACEOF
44690 #define HAVE_ISINF 1
44691 _ACEOF
44694 done
44696 else
44698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
44699 $as_echo_n "checking for _isinf declaration... " >&6; }
44700 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44701 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
44702 $as_echo_n "(cached) " >&6
44703 else
44706 ac_ext=cpp
44707 ac_cpp='$CXXCPP $CPPFLAGS'
44708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44713 /* end confdefs.h. */
44714 #include <math.h>
44715 #ifdef HAVE_IEEEFP_H
44716 #include <ieeefp.h>
44717 #endif
44720 main ()
44722 _isinf(0);
44724 return 0;
44726 _ACEOF
44727 if ac_fn_cxx_try_compile "$LINENO"; then :
44728 glibcxx_cv_func__isinf_use=yes
44729 else
44730 glibcxx_cv_func__isinf_use=no
44732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44733 ac_ext=c
44734 ac_cpp='$CPP $CPPFLAGS'
44735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
44744 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
44746 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44747 for ac_func in _isinf
44748 do :
44749 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
44750 if test "x$ac_cv_func__isinf" = x""yes; then :
44751 cat >>confdefs.h <<_ACEOF
44752 #define HAVE__ISINF 1
44753 _ACEOF
44756 done
44765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
44766 $as_echo_n "checking for isnan declaration... " >&6; }
44767 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44768 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
44769 $as_echo_n "(cached) " >&6
44770 else
44773 ac_ext=cpp
44774 ac_cpp='$CXXCPP $CPPFLAGS'
44775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44780 /* end confdefs.h. */
44781 #include <math.h>
44782 #ifdef HAVE_IEEEFP_H
44783 #include <ieeefp.h>
44784 #endif
44787 main ()
44789 isnan(0);
44791 return 0;
44793 _ACEOF
44794 if ac_fn_cxx_try_compile "$LINENO"; then :
44795 glibcxx_cv_func_isnan_use=yes
44796 else
44797 glibcxx_cv_func_isnan_use=no
44799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44800 ac_ext=c
44801 ac_cpp='$CPP $CPPFLAGS'
44802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
44811 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
44813 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44814 for ac_func in isnan
44815 do :
44816 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
44817 if test "x$ac_cv_func_isnan" = x""yes; then :
44818 cat >>confdefs.h <<_ACEOF
44819 #define HAVE_ISNAN 1
44820 _ACEOF
44823 done
44825 else
44827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
44828 $as_echo_n "checking for _isnan declaration... " >&6; }
44829 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44830 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
44831 $as_echo_n "(cached) " >&6
44832 else
44835 ac_ext=cpp
44836 ac_cpp='$CXXCPP $CPPFLAGS'
44837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44842 /* end confdefs.h. */
44843 #include <math.h>
44844 #ifdef HAVE_IEEEFP_H
44845 #include <ieeefp.h>
44846 #endif
44849 main ()
44851 _isnan(0);
44853 return 0;
44855 _ACEOF
44856 if ac_fn_cxx_try_compile "$LINENO"; then :
44857 glibcxx_cv_func__isnan_use=yes
44858 else
44859 glibcxx_cv_func__isnan_use=no
44861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44862 ac_ext=c
44863 ac_cpp='$CPP $CPPFLAGS'
44864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
44873 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
44875 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
44876 for ac_func in _isnan
44877 do :
44878 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
44879 if test "x$ac_cv_func__isnan" = x""yes; then :
44880 cat >>confdefs.h <<_ACEOF
44881 #define HAVE__ISNAN 1
44882 _ACEOF
44885 done
44894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
44895 $as_echo_n "checking for finite declaration... " >&6; }
44896 if test x${glibcxx_cv_func_finite_use+set} != xset; then
44897 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
44898 $as_echo_n "(cached) " >&6
44899 else
44902 ac_ext=cpp
44903 ac_cpp='$CXXCPP $CPPFLAGS'
44904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44909 /* end confdefs.h. */
44910 #include <math.h>
44911 #ifdef HAVE_IEEEFP_H
44912 #include <ieeefp.h>
44913 #endif
44916 main ()
44918 finite(0);
44920 return 0;
44922 _ACEOF
44923 if ac_fn_cxx_try_compile "$LINENO"; then :
44924 glibcxx_cv_func_finite_use=yes
44925 else
44926 glibcxx_cv_func_finite_use=no
44928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44929 ac_ext=c
44930 ac_cpp='$CPP $CPPFLAGS'
44931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
44940 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
44942 if test x$glibcxx_cv_func_finite_use = x"yes"; then
44943 for ac_func in finite
44944 do :
44945 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
44946 if test "x$ac_cv_func_finite" = x""yes; then :
44947 cat >>confdefs.h <<_ACEOF
44948 #define HAVE_FINITE 1
44949 _ACEOF
44952 done
44954 else
44956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
44957 $as_echo_n "checking for _finite declaration... " >&6; }
44958 if test x${glibcxx_cv_func__finite_use+set} != xset; then
44959 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
44960 $as_echo_n "(cached) " >&6
44961 else
44964 ac_ext=cpp
44965 ac_cpp='$CXXCPP $CPPFLAGS'
44966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44971 /* end confdefs.h. */
44972 #include <math.h>
44973 #ifdef HAVE_IEEEFP_H
44974 #include <ieeefp.h>
44975 #endif
44978 main ()
44980 _finite(0);
44982 return 0;
44984 _ACEOF
44985 if ac_fn_cxx_try_compile "$LINENO"; then :
44986 glibcxx_cv_func__finite_use=yes
44987 else
44988 glibcxx_cv_func__finite_use=no
44990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44991 ac_ext=c
44992 ac_cpp='$CPP $CPPFLAGS'
44993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45002 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45004 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45005 for ac_func in _finite
45006 do :
45007 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
45008 if test "x$ac_cv_func__finite" = x""yes; then :
45009 cat >>confdefs.h <<_ACEOF
45010 #define HAVE__FINITE 1
45011 _ACEOF
45014 done
45023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
45024 $as_echo_n "checking for sincos declaration... " >&6; }
45025 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45026 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
45027 $as_echo_n "(cached) " >&6
45028 else
45031 ac_ext=cpp
45032 ac_cpp='$CXXCPP $CPPFLAGS'
45033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45038 /* end confdefs.h. */
45039 #include <math.h>
45041 main ()
45043 sincos(0, 0, 0);
45045 return 0;
45047 _ACEOF
45048 if ac_fn_cxx_try_compile "$LINENO"; then :
45049 glibcxx_cv_func_sincos_use=yes
45050 else
45051 glibcxx_cv_func_sincos_use=no
45053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45054 ac_ext=c
45055 ac_cpp='$CPP $CPPFLAGS'
45056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
45065 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
45067 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45068 for ac_func in sincos
45069 do :
45070 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
45071 if test "x$ac_cv_func_sincos" = x""yes; then :
45072 cat >>confdefs.h <<_ACEOF
45073 #define HAVE_SINCOS 1
45074 _ACEOF
45077 done
45079 else
45081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
45082 $as_echo_n "checking for _sincos declaration... " >&6; }
45083 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
45084 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
45085 $as_echo_n "(cached) " >&6
45086 else
45089 ac_ext=cpp
45090 ac_cpp='$CXXCPP $CPPFLAGS'
45091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45096 /* end confdefs.h. */
45097 #include <math.h>
45099 main ()
45101 _sincos(0, 0, 0);
45103 return 0;
45105 _ACEOF
45106 if ac_fn_cxx_try_compile "$LINENO"; then :
45107 glibcxx_cv_func__sincos_use=yes
45108 else
45109 glibcxx_cv_func__sincos_use=no
45111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45112 ac_ext=c
45113 ac_cpp='$CPP $CPPFLAGS'
45114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
45123 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
45125 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
45126 for ac_func in _sincos
45127 do :
45128 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
45129 if test "x$ac_cv_func__sincos" = x""yes; then :
45130 cat >>confdefs.h <<_ACEOF
45131 #define HAVE__SINCOS 1
45132 _ACEOF
45135 done
45144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
45145 $as_echo_n "checking for fpclass declaration... " >&6; }
45146 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
45147 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
45148 $as_echo_n "(cached) " >&6
45149 else
45152 ac_ext=cpp
45153 ac_cpp='$CXXCPP $CPPFLAGS'
45154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45159 /* end confdefs.h. */
45160 #include <math.h>
45161 #ifdef HAVE_IEEEFP_H
45162 #include <ieeefp.h>
45163 #endif
45166 main ()
45168 fpclass(0);
45170 return 0;
45172 _ACEOF
45173 if ac_fn_cxx_try_compile "$LINENO"; then :
45174 glibcxx_cv_func_fpclass_use=yes
45175 else
45176 glibcxx_cv_func_fpclass_use=no
45178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45179 ac_ext=c
45180 ac_cpp='$CPP $CPPFLAGS'
45181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
45190 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
45192 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
45193 for ac_func in fpclass
45194 do :
45195 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
45196 if test "x$ac_cv_func_fpclass" = x""yes; then :
45197 cat >>confdefs.h <<_ACEOF
45198 #define HAVE_FPCLASS 1
45199 _ACEOF
45202 done
45204 else
45206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
45207 $as_echo_n "checking for _fpclass declaration... " >&6; }
45208 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
45209 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
45210 $as_echo_n "(cached) " >&6
45211 else
45214 ac_ext=cpp
45215 ac_cpp='$CXXCPP $CPPFLAGS'
45216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45221 /* end confdefs.h. */
45222 #include <math.h>
45223 #ifdef HAVE_IEEEFP_H
45224 #include <ieeefp.h>
45225 #endif
45228 main ()
45230 _fpclass(0);
45232 return 0;
45234 _ACEOF
45235 if ac_fn_cxx_try_compile "$LINENO"; then :
45236 glibcxx_cv_func__fpclass_use=yes
45237 else
45238 glibcxx_cv_func__fpclass_use=no
45240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45241 ac_ext=c
45242 ac_cpp='$CPP $CPPFLAGS'
45243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
45252 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
45254 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
45255 for ac_func in _fpclass
45256 do :
45257 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
45258 if test "x$ac_cv_func__fpclass" = x""yes; then :
45259 cat >>confdefs.h <<_ACEOF
45260 #define HAVE__FPCLASS 1
45261 _ACEOF
45264 done
45273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
45274 $as_echo_n "checking for qfpclass declaration... " >&6; }
45275 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
45276 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
45277 $as_echo_n "(cached) " >&6
45278 else
45281 ac_ext=cpp
45282 ac_cpp='$CXXCPP $CPPFLAGS'
45283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45288 /* end confdefs.h. */
45289 #include <math.h>
45290 #ifdef HAVE_IEEEFP_H
45291 #include <ieeefp.h>
45292 #endif
45295 main ()
45297 qfpclass(0);
45299 return 0;
45301 _ACEOF
45302 if ac_fn_cxx_try_compile "$LINENO"; then :
45303 glibcxx_cv_func_qfpclass_use=yes
45304 else
45305 glibcxx_cv_func_qfpclass_use=no
45307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45308 ac_ext=c
45309 ac_cpp='$CPP $CPPFLAGS'
45310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
45319 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
45321 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
45322 for ac_func in qfpclass
45323 do :
45324 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
45325 if test "x$ac_cv_func_qfpclass" = x""yes; then :
45326 cat >>confdefs.h <<_ACEOF
45327 #define HAVE_QFPCLASS 1
45328 _ACEOF
45331 done
45333 else
45335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
45336 $as_echo_n "checking for _qfpclass declaration... " >&6; }
45337 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
45338 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
45339 $as_echo_n "(cached) " >&6
45340 else
45343 ac_ext=cpp
45344 ac_cpp='$CXXCPP $CPPFLAGS'
45345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45350 /* end confdefs.h. */
45351 #include <math.h>
45352 #ifdef HAVE_IEEEFP_H
45353 #include <ieeefp.h>
45354 #endif
45357 main ()
45359 _qfpclass(0);
45361 return 0;
45363 _ACEOF
45364 if ac_fn_cxx_try_compile "$LINENO"; then :
45365 glibcxx_cv_func__qfpclass_use=yes
45366 else
45367 glibcxx_cv_func__qfpclass_use=no
45369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45370 ac_ext=c
45371 ac_cpp='$CPP $CPPFLAGS'
45372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
45381 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
45383 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
45384 for ac_func in _qfpclass
45385 do :
45386 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
45387 if test "x$ac_cv_func__qfpclass" = x""yes; then :
45388 cat >>confdefs.h <<_ACEOF
45389 #define HAVE__QFPCLASS 1
45390 _ACEOF
45393 done
45402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
45403 $as_echo_n "checking for hypot declaration... " >&6; }
45404 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
45405 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
45406 $as_echo_n "(cached) " >&6
45407 else
45410 ac_ext=cpp
45411 ac_cpp='$CXXCPP $CPPFLAGS'
45412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45417 /* end confdefs.h. */
45418 #include <math.h>
45420 main ()
45422 hypot(0, 0);
45424 return 0;
45426 _ACEOF
45427 if ac_fn_cxx_try_compile "$LINENO"; then :
45428 glibcxx_cv_func_hypot_use=yes
45429 else
45430 glibcxx_cv_func_hypot_use=no
45432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45433 ac_ext=c
45434 ac_cpp='$CPP $CPPFLAGS'
45435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
45444 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
45446 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
45447 for ac_func in hypot
45448 do :
45449 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
45450 if test "x$ac_cv_func_hypot" = x""yes; then :
45451 cat >>confdefs.h <<_ACEOF
45452 #define HAVE_HYPOT 1
45453 _ACEOF
45456 done
45458 else
45460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
45461 $as_echo_n "checking for _hypot declaration... " >&6; }
45462 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45463 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
45464 $as_echo_n "(cached) " >&6
45465 else
45468 ac_ext=cpp
45469 ac_cpp='$CXXCPP $CPPFLAGS'
45470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45475 /* end confdefs.h. */
45476 #include <math.h>
45478 main ()
45480 _hypot(0, 0);
45482 return 0;
45484 _ACEOF
45485 if ac_fn_cxx_try_compile "$LINENO"; then :
45486 glibcxx_cv_func__hypot_use=yes
45487 else
45488 glibcxx_cv_func__hypot_use=no
45490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45491 ac_ext=c
45492 ac_cpp='$CPP $CPPFLAGS'
45493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
45502 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
45504 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45505 for ac_func in _hypot
45506 do :
45507 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
45508 if test "x$ac_cv_func__hypot" = x""yes; then :
45509 cat >>confdefs.h <<_ACEOF
45510 #define HAVE__HYPOT 1
45511 _ACEOF
45514 done
45523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
45524 $as_echo_n "checking for float trig functions... " >&6; }
45525 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
45526 $as_echo_n "(cached) " >&6
45527 else
45530 ac_ext=cpp
45531 ac_cpp='$CXXCPP $CPPFLAGS'
45532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45537 /* end confdefs.h. */
45538 #include <math.h>
45540 main ()
45542 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45544 return 0;
45546 _ACEOF
45547 if ac_fn_cxx_try_compile "$LINENO"; then :
45548 glibcxx_cv_func_float_trig_use=yes
45549 else
45550 glibcxx_cv_func_float_trig_use=no
45552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45553 ac_ext=c
45554 ac_cpp='$CPP $CPPFLAGS'
45555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
45562 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
45563 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45564 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45565 do :
45566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45568 eval as_val=\$$as_ac_var
45569 if test "x$as_val" = x""yes; then :
45570 cat >>confdefs.h <<_ACEOF
45571 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45572 _ACEOF
45575 done
45577 else
45578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
45579 $as_echo_n "checking for _float trig functions... " >&6; }
45580 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
45581 $as_echo_n "(cached) " >&6
45582 else
45585 ac_ext=cpp
45586 ac_cpp='$CXXCPP $CPPFLAGS'
45587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45592 /* end confdefs.h. */
45593 #include <math.h>
45595 main ()
45597 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45599 return 0;
45601 _ACEOF
45602 if ac_fn_cxx_try_compile "$LINENO"; then :
45603 glibcxx_cv_func__float_trig_use=yes
45604 else
45605 glibcxx_cv_func__float_trig_use=no
45607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45608 ac_ext=c
45609 ac_cpp='$CPP $CPPFLAGS'
45610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
45617 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
45618 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45619 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45620 do :
45621 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45622 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45623 eval as_val=\$$as_ac_var
45624 if test "x$as_val" = x""yes; then :
45625 cat >>confdefs.h <<_ACEOF
45626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45627 _ACEOF
45630 done
45639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
45640 $as_echo_n "checking for float round functions... " >&6; }
45641 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
45642 $as_echo_n "(cached) " >&6
45643 else
45646 ac_ext=cpp
45647 ac_cpp='$CXXCPP $CPPFLAGS'
45648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45653 /* end confdefs.h. */
45654 #include <math.h>
45656 main ()
45658 ceilf (0); floorf (0);
45660 return 0;
45662 _ACEOF
45663 if ac_fn_cxx_try_compile "$LINENO"; then :
45664 glibcxx_cv_func_float_round_use=yes
45665 else
45666 glibcxx_cv_func_float_round_use=no
45668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45669 ac_ext=c
45670 ac_cpp='$CPP $CPPFLAGS'
45671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
45678 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
45679 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45680 for ac_func in ceilf floorf
45681 do :
45682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45684 eval as_val=\$$as_ac_var
45685 if test "x$as_val" = x""yes; then :
45686 cat >>confdefs.h <<_ACEOF
45687 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45688 _ACEOF
45691 done
45693 else
45694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
45695 $as_echo_n "checking for _float round functions... " >&6; }
45696 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
45697 $as_echo_n "(cached) " >&6
45698 else
45701 ac_ext=cpp
45702 ac_cpp='$CXXCPP $CPPFLAGS'
45703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45708 /* end confdefs.h. */
45709 #include <math.h>
45711 main ()
45713 _ceilf (0); _floorf (0);
45715 return 0;
45717 _ACEOF
45718 if ac_fn_cxx_try_compile "$LINENO"; then :
45719 glibcxx_cv_func__float_round_use=yes
45720 else
45721 glibcxx_cv_func__float_round_use=no
45723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45724 ac_ext=c
45725 ac_cpp='$CPP $CPPFLAGS'
45726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
45733 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
45734 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45735 for ac_func in _ceilf _floorf
45736 do :
45737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45739 eval as_val=\$$as_ac_var
45740 if test "x$as_val" = x""yes; then :
45741 cat >>confdefs.h <<_ACEOF
45742 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45743 _ACEOF
45746 done
45756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
45757 $as_echo_n "checking for expf declaration... " >&6; }
45758 if test x${glibcxx_cv_func_expf_use+set} != xset; then
45759 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
45760 $as_echo_n "(cached) " >&6
45761 else
45764 ac_ext=cpp
45765 ac_cpp='$CXXCPP $CPPFLAGS'
45766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45771 /* end confdefs.h. */
45772 #include <math.h>
45773 #ifdef HAVE_IEEEFP_H
45774 #include <ieeefp.h>
45775 #endif
45778 main ()
45780 expf(0);
45782 return 0;
45784 _ACEOF
45785 if ac_fn_cxx_try_compile "$LINENO"; then :
45786 glibcxx_cv_func_expf_use=yes
45787 else
45788 glibcxx_cv_func_expf_use=no
45790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45791 ac_ext=c
45792 ac_cpp='$CPP $CPPFLAGS'
45793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
45802 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
45804 if test x$glibcxx_cv_func_expf_use = x"yes"; then
45805 for ac_func in expf
45806 do :
45807 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
45808 if test "x$ac_cv_func_expf" = x""yes; then :
45809 cat >>confdefs.h <<_ACEOF
45810 #define HAVE_EXPF 1
45811 _ACEOF
45814 done
45816 else
45818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
45819 $as_echo_n "checking for _expf declaration... " >&6; }
45820 if test x${glibcxx_cv_func__expf_use+set} != xset; then
45821 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
45822 $as_echo_n "(cached) " >&6
45823 else
45826 ac_ext=cpp
45827 ac_cpp='$CXXCPP $CPPFLAGS'
45828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45833 /* end confdefs.h. */
45834 #include <math.h>
45835 #ifdef HAVE_IEEEFP_H
45836 #include <ieeefp.h>
45837 #endif
45840 main ()
45842 _expf(0);
45844 return 0;
45846 _ACEOF
45847 if ac_fn_cxx_try_compile "$LINENO"; then :
45848 glibcxx_cv_func__expf_use=yes
45849 else
45850 glibcxx_cv_func__expf_use=no
45852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45853 ac_ext=c
45854 ac_cpp='$CPP $CPPFLAGS'
45855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
45864 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
45866 if test x$glibcxx_cv_func__expf_use = x"yes"; then
45867 for ac_func in _expf
45868 do :
45869 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
45870 if test "x$ac_cv_func__expf" = x""yes; then :
45871 cat >>confdefs.h <<_ACEOF
45872 #define HAVE__EXPF 1
45873 _ACEOF
45876 done
45885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
45886 $as_echo_n "checking for isnanf declaration... " >&6; }
45887 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
45888 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
45889 $as_echo_n "(cached) " >&6
45890 else
45893 ac_ext=cpp
45894 ac_cpp='$CXXCPP $CPPFLAGS'
45895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45900 /* end confdefs.h. */
45901 #include <math.h>
45902 #ifdef HAVE_IEEEFP_H
45903 #include <ieeefp.h>
45904 #endif
45907 main ()
45909 isnanf(0);
45911 return 0;
45913 _ACEOF
45914 if ac_fn_cxx_try_compile "$LINENO"; then :
45915 glibcxx_cv_func_isnanf_use=yes
45916 else
45917 glibcxx_cv_func_isnanf_use=no
45919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45920 ac_ext=c
45921 ac_cpp='$CPP $CPPFLAGS'
45922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
45931 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
45933 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
45934 for ac_func in isnanf
45935 do :
45936 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
45937 if test "x$ac_cv_func_isnanf" = x""yes; then :
45938 cat >>confdefs.h <<_ACEOF
45939 #define HAVE_ISNANF 1
45940 _ACEOF
45943 done
45945 else
45947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
45948 $as_echo_n "checking for _isnanf declaration... " >&6; }
45949 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
45950 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
45951 $as_echo_n "(cached) " >&6
45952 else
45955 ac_ext=cpp
45956 ac_cpp='$CXXCPP $CPPFLAGS'
45957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45962 /* end confdefs.h. */
45963 #include <math.h>
45964 #ifdef HAVE_IEEEFP_H
45965 #include <ieeefp.h>
45966 #endif
45969 main ()
45971 _isnanf(0);
45973 return 0;
45975 _ACEOF
45976 if ac_fn_cxx_try_compile "$LINENO"; then :
45977 glibcxx_cv_func__isnanf_use=yes
45978 else
45979 glibcxx_cv_func__isnanf_use=no
45981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45982 ac_ext=c
45983 ac_cpp='$CPP $CPPFLAGS'
45984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
45993 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
45995 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
45996 for ac_func in _isnanf
45997 do :
45998 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
45999 if test "x$ac_cv_func__isnanf" = x""yes; then :
46000 cat >>confdefs.h <<_ACEOF
46001 #define HAVE__ISNANF 1
46002 _ACEOF
46005 done
46014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
46015 $as_echo_n "checking for isinff declaration... " >&6; }
46016 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46017 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
46018 $as_echo_n "(cached) " >&6
46019 else
46022 ac_ext=cpp
46023 ac_cpp='$CXXCPP $CPPFLAGS'
46024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46029 /* end confdefs.h. */
46030 #include <math.h>
46031 #ifdef HAVE_IEEEFP_H
46032 #include <ieeefp.h>
46033 #endif
46036 main ()
46038 isinff(0);
46040 return 0;
46042 _ACEOF
46043 if ac_fn_cxx_try_compile "$LINENO"; then :
46044 glibcxx_cv_func_isinff_use=yes
46045 else
46046 glibcxx_cv_func_isinff_use=no
46048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46049 ac_ext=c
46050 ac_cpp='$CPP $CPPFLAGS'
46051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
46060 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
46062 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46063 for ac_func in isinff
46064 do :
46065 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
46066 if test "x$ac_cv_func_isinff" = x""yes; then :
46067 cat >>confdefs.h <<_ACEOF
46068 #define HAVE_ISINFF 1
46069 _ACEOF
46072 done
46074 else
46076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
46077 $as_echo_n "checking for _isinff declaration... " >&6; }
46078 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46079 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
46080 $as_echo_n "(cached) " >&6
46081 else
46084 ac_ext=cpp
46085 ac_cpp='$CXXCPP $CPPFLAGS'
46086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46091 /* end confdefs.h. */
46092 #include <math.h>
46093 #ifdef HAVE_IEEEFP_H
46094 #include <ieeefp.h>
46095 #endif
46098 main ()
46100 _isinff(0);
46102 return 0;
46104 _ACEOF
46105 if ac_fn_cxx_try_compile "$LINENO"; then :
46106 glibcxx_cv_func__isinff_use=yes
46107 else
46108 glibcxx_cv_func__isinff_use=no
46110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46111 ac_ext=c
46112 ac_cpp='$CPP $CPPFLAGS'
46113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
46122 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
46124 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
46125 for ac_func in _isinff
46126 do :
46127 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
46128 if test "x$ac_cv_func__isinff" = x""yes; then :
46129 cat >>confdefs.h <<_ACEOF
46130 #define HAVE__ISINFF 1
46131 _ACEOF
46134 done
46143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
46144 $as_echo_n "checking for atan2f declaration... " >&6; }
46145 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
46146 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
46147 $as_echo_n "(cached) " >&6
46148 else
46151 ac_ext=cpp
46152 ac_cpp='$CXXCPP $CPPFLAGS'
46153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46158 /* end confdefs.h. */
46159 #include <math.h>
46161 main ()
46163 atan2f(0, 0);
46165 return 0;
46167 _ACEOF
46168 if ac_fn_cxx_try_compile "$LINENO"; then :
46169 glibcxx_cv_func_atan2f_use=yes
46170 else
46171 glibcxx_cv_func_atan2f_use=no
46173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46174 ac_ext=c
46175 ac_cpp='$CPP $CPPFLAGS'
46176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
46185 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
46187 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
46188 for ac_func in atan2f
46189 do :
46190 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
46191 if test "x$ac_cv_func_atan2f" = x""yes; then :
46192 cat >>confdefs.h <<_ACEOF
46193 #define HAVE_ATAN2F 1
46194 _ACEOF
46197 done
46199 else
46201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
46202 $as_echo_n "checking for _atan2f declaration... " >&6; }
46203 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
46204 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
46205 $as_echo_n "(cached) " >&6
46206 else
46209 ac_ext=cpp
46210 ac_cpp='$CXXCPP $CPPFLAGS'
46211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46216 /* end confdefs.h. */
46217 #include <math.h>
46219 main ()
46221 _atan2f(0, 0);
46223 return 0;
46225 _ACEOF
46226 if ac_fn_cxx_try_compile "$LINENO"; then :
46227 glibcxx_cv_func__atan2f_use=yes
46228 else
46229 glibcxx_cv_func__atan2f_use=no
46231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46232 ac_ext=c
46233 ac_cpp='$CPP $CPPFLAGS'
46234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
46243 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
46245 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
46246 for ac_func in _atan2f
46247 do :
46248 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
46249 if test "x$ac_cv_func__atan2f" = x""yes; then :
46250 cat >>confdefs.h <<_ACEOF
46251 #define HAVE__ATAN2F 1
46252 _ACEOF
46255 done
46264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
46265 $as_echo_n "checking for fabsf declaration... " >&6; }
46266 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
46267 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
46268 $as_echo_n "(cached) " >&6
46269 else
46272 ac_ext=cpp
46273 ac_cpp='$CXXCPP $CPPFLAGS'
46274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46279 /* end confdefs.h. */
46280 #include <math.h>
46281 #ifdef HAVE_IEEEFP_H
46282 #include <ieeefp.h>
46283 #endif
46286 main ()
46288 fabsf(0);
46290 return 0;
46292 _ACEOF
46293 if ac_fn_cxx_try_compile "$LINENO"; then :
46294 glibcxx_cv_func_fabsf_use=yes
46295 else
46296 glibcxx_cv_func_fabsf_use=no
46298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46299 ac_ext=c
46300 ac_cpp='$CPP $CPPFLAGS'
46301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
46310 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
46312 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
46313 for ac_func in fabsf
46314 do :
46315 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
46316 if test "x$ac_cv_func_fabsf" = x""yes; then :
46317 cat >>confdefs.h <<_ACEOF
46318 #define HAVE_FABSF 1
46319 _ACEOF
46322 done
46324 else
46326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
46327 $as_echo_n "checking for _fabsf declaration... " >&6; }
46328 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
46329 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
46330 $as_echo_n "(cached) " >&6
46331 else
46334 ac_ext=cpp
46335 ac_cpp='$CXXCPP $CPPFLAGS'
46336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46341 /* end confdefs.h. */
46342 #include <math.h>
46343 #ifdef HAVE_IEEEFP_H
46344 #include <ieeefp.h>
46345 #endif
46348 main ()
46350 _fabsf(0);
46352 return 0;
46354 _ACEOF
46355 if ac_fn_cxx_try_compile "$LINENO"; then :
46356 glibcxx_cv_func__fabsf_use=yes
46357 else
46358 glibcxx_cv_func__fabsf_use=no
46360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46361 ac_ext=c
46362 ac_cpp='$CPP $CPPFLAGS'
46363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
46372 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
46374 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
46375 for ac_func in _fabsf
46376 do :
46377 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
46378 if test "x$ac_cv_func__fabsf" = x""yes; then :
46379 cat >>confdefs.h <<_ACEOF
46380 #define HAVE__FABSF 1
46381 _ACEOF
46384 done
46393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
46394 $as_echo_n "checking for fmodf declaration... " >&6; }
46395 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
46396 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
46397 $as_echo_n "(cached) " >&6
46398 else
46401 ac_ext=cpp
46402 ac_cpp='$CXXCPP $CPPFLAGS'
46403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46408 /* end confdefs.h. */
46409 #include <math.h>
46411 main ()
46413 fmodf(0, 0);
46415 return 0;
46417 _ACEOF
46418 if ac_fn_cxx_try_compile "$LINENO"; then :
46419 glibcxx_cv_func_fmodf_use=yes
46420 else
46421 glibcxx_cv_func_fmodf_use=no
46423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46424 ac_ext=c
46425 ac_cpp='$CPP $CPPFLAGS'
46426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
46435 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
46437 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
46438 for ac_func in fmodf
46439 do :
46440 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
46441 if test "x$ac_cv_func_fmodf" = x""yes; then :
46442 cat >>confdefs.h <<_ACEOF
46443 #define HAVE_FMODF 1
46444 _ACEOF
46447 done
46449 else
46451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
46452 $as_echo_n "checking for _fmodf declaration... " >&6; }
46453 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
46454 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
46455 $as_echo_n "(cached) " >&6
46456 else
46459 ac_ext=cpp
46460 ac_cpp='$CXXCPP $CPPFLAGS'
46461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46466 /* end confdefs.h. */
46467 #include <math.h>
46469 main ()
46471 _fmodf(0, 0);
46473 return 0;
46475 _ACEOF
46476 if ac_fn_cxx_try_compile "$LINENO"; then :
46477 glibcxx_cv_func__fmodf_use=yes
46478 else
46479 glibcxx_cv_func__fmodf_use=no
46481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46482 ac_ext=c
46483 ac_cpp='$CPP $CPPFLAGS'
46484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
46493 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
46495 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
46496 for ac_func in _fmodf
46497 do :
46498 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
46499 if test "x$ac_cv_func__fmodf" = x""yes; then :
46500 cat >>confdefs.h <<_ACEOF
46501 #define HAVE__FMODF 1
46502 _ACEOF
46505 done
46514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
46515 $as_echo_n "checking for frexpf declaration... " >&6; }
46516 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
46517 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
46518 $as_echo_n "(cached) " >&6
46519 else
46522 ac_ext=cpp
46523 ac_cpp='$CXXCPP $CPPFLAGS'
46524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46529 /* end confdefs.h. */
46530 #include <math.h>
46532 main ()
46534 frexpf(0, 0);
46536 return 0;
46538 _ACEOF
46539 if ac_fn_cxx_try_compile "$LINENO"; then :
46540 glibcxx_cv_func_frexpf_use=yes
46541 else
46542 glibcxx_cv_func_frexpf_use=no
46544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46545 ac_ext=c
46546 ac_cpp='$CPP $CPPFLAGS'
46547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
46556 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
46558 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
46559 for ac_func in frexpf
46560 do :
46561 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
46562 if test "x$ac_cv_func_frexpf" = x""yes; then :
46563 cat >>confdefs.h <<_ACEOF
46564 #define HAVE_FREXPF 1
46565 _ACEOF
46568 done
46570 else
46572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
46573 $as_echo_n "checking for _frexpf declaration... " >&6; }
46574 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
46575 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
46576 $as_echo_n "(cached) " >&6
46577 else
46580 ac_ext=cpp
46581 ac_cpp='$CXXCPP $CPPFLAGS'
46582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46587 /* end confdefs.h. */
46588 #include <math.h>
46590 main ()
46592 _frexpf(0, 0);
46594 return 0;
46596 _ACEOF
46597 if ac_fn_cxx_try_compile "$LINENO"; then :
46598 glibcxx_cv_func__frexpf_use=yes
46599 else
46600 glibcxx_cv_func__frexpf_use=no
46602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46603 ac_ext=c
46604 ac_cpp='$CPP $CPPFLAGS'
46605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
46614 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
46616 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
46617 for ac_func in _frexpf
46618 do :
46619 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
46620 if test "x$ac_cv_func__frexpf" = x""yes; then :
46621 cat >>confdefs.h <<_ACEOF
46622 #define HAVE__FREXPF 1
46623 _ACEOF
46626 done
46635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
46636 $as_echo_n "checking for hypotf declaration... " >&6; }
46637 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
46638 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
46639 $as_echo_n "(cached) " >&6
46640 else
46643 ac_ext=cpp
46644 ac_cpp='$CXXCPP $CPPFLAGS'
46645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46650 /* end confdefs.h. */
46651 #include <math.h>
46653 main ()
46655 hypotf(0, 0);
46657 return 0;
46659 _ACEOF
46660 if ac_fn_cxx_try_compile "$LINENO"; then :
46661 glibcxx_cv_func_hypotf_use=yes
46662 else
46663 glibcxx_cv_func_hypotf_use=no
46665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46666 ac_ext=c
46667 ac_cpp='$CPP $CPPFLAGS'
46668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
46677 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
46679 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
46680 for ac_func in hypotf
46681 do :
46682 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
46683 if test "x$ac_cv_func_hypotf" = x""yes; then :
46684 cat >>confdefs.h <<_ACEOF
46685 #define HAVE_HYPOTF 1
46686 _ACEOF
46689 done
46691 else
46693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
46694 $as_echo_n "checking for _hypotf declaration... " >&6; }
46695 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
46696 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
46697 $as_echo_n "(cached) " >&6
46698 else
46701 ac_ext=cpp
46702 ac_cpp='$CXXCPP $CPPFLAGS'
46703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46708 /* end confdefs.h. */
46709 #include <math.h>
46711 main ()
46713 _hypotf(0, 0);
46715 return 0;
46717 _ACEOF
46718 if ac_fn_cxx_try_compile "$LINENO"; then :
46719 glibcxx_cv_func__hypotf_use=yes
46720 else
46721 glibcxx_cv_func__hypotf_use=no
46723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46724 ac_ext=c
46725 ac_cpp='$CPP $CPPFLAGS'
46726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
46735 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
46737 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
46738 for ac_func in _hypotf
46739 do :
46740 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
46741 if test "x$ac_cv_func__hypotf" = x""yes; then :
46742 cat >>confdefs.h <<_ACEOF
46743 #define HAVE__HYPOTF 1
46744 _ACEOF
46747 done
46756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
46757 $as_echo_n "checking for ldexpf declaration... " >&6; }
46758 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
46759 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
46760 $as_echo_n "(cached) " >&6
46761 else
46764 ac_ext=cpp
46765 ac_cpp='$CXXCPP $CPPFLAGS'
46766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46771 /* end confdefs.h. */
46772 #include <math.h>
46774 main ()
46776 ldexpf(0, 0);
46778 return 0;
46780 _ACEOF
46781 if ac_fn_cxx_try_compile "$LINENO"; then :
46782 glibcxx_cv_func_ldexpf_use=yes
46783 else
46784 glibcxx_cv_func_ldexpf_use=no
46786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46787 ac_ext=c
46788 ac_cpp='$CPP $CPPFLAGS'
46789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
46798 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
46800 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
46801 for ac_func in ldexpf
46802 do :
46803 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
46804 if test "x$ac_cv_func_ldexpf" = x""yes; then :
46805 cat >>confdefs.h <<_ACEOF
46806 #define HAVE_LDEXPF 1
46807 _ACEOF
46810 done
46812 else
46814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
46815 $as_echo_n "checking for _ldexpf declaration... " >&6; }
46816 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
46817 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
46818 $as_echo_n "(cached) " >&6
46819 else
46822 ac_ext=cpp
46823 ac_cpp='$CXXCPP $CPPFLAGS'
46824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46829 /* end confdefs.h. */
46830 #include <math.h>
46832 main ()
46834 _ldexpf(0, 0);
46836 return 0;
46838 _ACEOF
46839 if ac_fn_cxx_try_compile "$LINENO"; then :
46840 glibcxx_cv_func__ldexpf_use=yes
46841 else
46842 glibcxx_cv_func__ldexpf_use=no
46844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46845 ac_ext=c
46846 ac_cpp='$CPP $CPPFLAGS'
46847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
46856 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
46858 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
46859 for ac_func in _ldexpf
46860 do :
46861 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
46862 if test "x$ac_cv_func__ldexpf" = x""yes; then :
46863 cat >>confdefs.h <<_ACEOF
46864 #define HAVE__LDEXPF 1
46865 _ACEOF
46868 done
46877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
46878 $as_echo_n "checking for logf declaration... " >&6; }
46879 if test x${glibcxx_cv_func_logf_use+set} != xset; then
46880 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
46881 $as_echo_n "(cached) " >&6
46882 else
46885 ac_ext=cpp
46886 ac_cpp='$CXXCPP $CPPFLAGS'
46887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46892 /* end confdefs.h. */
46893 #include <math.h>
46894 #ifdef HAVE_IEEEFP_H
46895 #include <ieeefp.h>
46896 #endif
46899 main ()
46901 logf(0);
46903 return 0;
46905 _ACEOF
46906 if ac_fn_cxx_try_compile "$LINENO"; then :
46907 glibcxx_cv_func_logf_use=yes
46908 else
46909 glibcxx_cv_func_logf_use=no
46911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46912 ac_ext=c
46913 ac_cpp='$CPP $CPPFLAGS'
46914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
46923 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
46925 if test x$glibcxx_cv_func_logf_use = x"yes"; then
46926 for ac_func in logf
46927 do :
46928 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
46929 if test "x$ac_cv_func_logf" = x""yes; then :
46930 cat >>confdefs.h <<_ACEOF
46931 #define HAVE_LOGF 1
46932 _ACEOF
46935 done
46937 else
46939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
46940 $as_echo_n "checking for _logf declaration... " >&6; }
46941 if test x${glibcxx_cv_func__logf_use+set} != xset; then
46942 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
46943 $as_echo_n "(cached) " >&6
46944 else
46947 ac_ext=cpp
46948 ac_cpp='$CXXCPP $CPPFLAGS'
46949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46954 /* end confdefs.h. */
46955 #include <math.h>
46956 #ifdef HAVE_IEEEFP_H
46957 #include <ieeefp.h>
46958 #endif
46961 main ()
46963 _logf(0);
46965 return 0;
46967 _ACEOF
46968 if ac_fn_cxx_try_compile "$LINENO"; then :
46969 glibcxx_cv_func__logf_use=yes
46970 else
46971 glibcxx_cv_func__logf_use=no
46973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46974 ac_ext=c
46975 ac_cpp='$CPP $CPPFLAGS'
46976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
46985 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
46987 if test x$glibcxx_cv_func__logf_use = x"yes"; then
46988 for ac_func in _logf
46989 do :
46990 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
46991 if test "x$ac_cv_func__logf" = x""yes; then :
46992 cat >>confdefs.h <<_ACEOF
46993 #define HAVE__LOGF 1
46994 _ACEOF
46997 done
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
47007 $as_echo_n "checking for log10f declaration... " >&6; }
47008 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
47009 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
47010 $as_echo_n "(cached) " >&6
47011 else
47014 ac_ext=cpp
47015 ac_cpp='$CXXCPP $CPPFLAGS'
47016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47021 /* end confdefs.h. */
47022 #include <math.h>
47023 #ifdef HAVE_IEEEFP_H
47024 #include <ieeefp.h>
47025 #endif
47028 main ()
47030 log10f(0);
47032 return 0;
47034 _ACEOF
47035 if ac_fn_cxx_try_compile "$LINENO"; then :
47036 glibcxx_cv_func_log10f_use=yes
47037 else
47038 glibcxx_cv_func_log10f_use=no
47040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47041 ac_ext=c
47042 ac_cpp='$CPP $CPPFLAGS'
47043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
47052 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
47054 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
47055 for ac_func in log10f
47056 do :
47057 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
47058 if test "x$ac_cv_func_log10f" = x""yes; then :
47059 cat >>confdefs.h <<_ACEOF
47060 #define HAVE_LOG10F 1
47061 _ACEOF
47064 done
47066 else
47068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
47069 $as_echo_n "checking for _log10f declaration... " >&6; }
47070 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
47071 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
47072 $as_echo_n "(cached) " >&6
47073 else
47076 ac_ext=cpp
47077 ac_cpp='$CXXCPP $CPPFLAGS'
47078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47083 /* end confdefs.h. */
47084 #include <math.h>
47085 #ifdef HAVE_IEEEFP_H
47086 #include <ieeefp.h>
47087 #endif
47090 main ()
47092 _log10f(0);
47094 return 0;
47096 _ACEOF
47097 if ac_fn_cxx_try_compile "$LINENO"; then :
47098 glibcxx_cv_func__log10f_use=yes
47099 else
47100 glibcxx_cv_func__log10f_use=no
47102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47103 ac_ext=c
47104 ac_cpp='$CPP $CPPFLAGS'
47105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
47114 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
47116 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
47117 for ac_func in _log10f
47118 do :
47119 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
47120 if test "x$ac_cv_func__log10f" = x""yes; then :
47121 cat >>confdefs.h <<_ACEOF
47122 #define HAVE__LOG10F 1
47123 _ACEOF
47126 done
47135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
47136 $as_echo_n "checking for modff declaration... " >&6; }
47137 if test x${glibcxx_cv_func_modff_use+set} != xset; then
47138 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
47139 $as_echo_n "(cached) " >&6
47140 else
47143 ac_ext=cpp
47144 ac_cpp='$CXXCPP $CPPFLAGS'
47145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47150 /* end confdefs.h. */
47151 #include <math.h>
47153 main ()
47155 modff(0, 0);
47157 return 0;
47159 _ACEOF
47160 if ac_fn_cxx_try_compile "$LINENO"; then :
47161 glibcxx_cv_func_modff_use=yes
47162 else
47163 glibcxx_cv_func_modff_use=no
47165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47166 ac_ext=c
47167 ac_cpp='$CPP $CPPFLAGS'
47168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
47177 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
47179 if test x$glibcxx_cv_func_modff_use = x"yes"; then
47180 for ac_func in modff
47181 do :
47182 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
47183 if test "x$ac_cv_func_modff" = x""yes; then :
47184 cat >>confdefs.h <<_ACEOF
47185 #define HAVE_MODFF 1
47186 _ACEOF
47189 done
47191 else
47193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
47194 $as_echo_n "checking for _modff declaration... " >&6; }
47195 if test x${glibcxx_cv_func__modff_use+set} != xset; then
47196 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
47197 $as_echo_n "(cached) " >&6
47198 else
47201 ac_ext=cpp
47202 ac_cpp='$CXXCPP $CPPFLAGS'
47203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47208 /* end confdefs.h. */
47209 #include <math.h>
47211 main ()
47213 _modff(0, 0);
47215 return 0;
47217 _ACEOF
47218 if ac_fn_cxx_try_compile "$LINENO"; then :
47219 glibcxx_cv_func__modff_use=yes
47220 else
47221 glibcxx_cv_func__modff_use=no
47223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47224 ac_ext=c
47225 ac_cpp='$CPP $CPPFLAGS'
47226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
47235 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
47237 if test x$glibcxx_cv_func__modff_use = x"yes"; then
47238 for ac_func in _modff
47239 do :
47240 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
47241 if test "x$ac_cv_func__modff" = x""yes; then :
47242 cat >>confdefs.h <<_ACEOF
47243 #define HAVE__MODFF 1
47244 _ACEOF
47247 done
47256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
47257 $as_echo_n "checking for modf declaration... " >&6; }
47258 if test x${glibcxx_cv_func_modf_use+set} != xset; then
47259 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
47260 $as_echo_n "(cached) " >&6
47261 else
47264 ac_ext=cpp
47265 ac_cpp='$CXXCPP $CPPFLAGS'
47266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47271 /* end confdefs.h. */
47272 #include <math.h>
47274 main ()
47276 modf(0, 0);
47278 return 0;
47280 _ACEOF
47281 if ac_fn_cxx_try_compile "$LINENO"; then :
47282 glibcxx_cv_func_modf_use=yes
47283 else
47284 glibcxx_cv_func_modf_use=no
47286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47287 ac_ext=c
47288 ac_cpp='$CPP $CPPFLAGS'
47289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
47298 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
47300 if test x$glibcxx_cv_func_modf_use = x"yes"; then
47301 for ac_func in modf
47302 do :
47303 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
47304 if test "x$ac_cv_func_modf" = x""yes; then :
47305 cat >>confdefs.h <<_ACEOF
47306 #define HAVE_MODF 1
47307 _ACEOF
47310 done
47312 else
47314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
47315 $as_echo_n "checking for _modf declaration... " >&6; }
47316 if test x${glibcxx_cv_func__modf_use+set} != xset; then
47317 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
47318 $as_echo_n "(cached) " >&6
47319 else
47322 ac_ext=cpp
47323 ac_cpp='$CXXCPP $CPPFLAGS'
47324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47329 /* end confdefs.h. */
47330 #include <math.h>
47332 main ()
47334 _modf(0, 0);
47336 return 0;
47338 _ACEOF
47339 if ac_fn_cxx_try_compile "$LINENO"; then :
47340 glibcxx_cv_func__modf_use=yes
47341 else
47342 glibcxx_cv_func__modf_use=no
47344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47345 ac_ext=c
47346 ac_cpp='$CPP $CPPFLAGS'
47347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
47356 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
47358 if test x$glibcxx_cv_func__modf_use = x"yes"; then
47359 for ac_func in _modf
47360 do :
47361 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
47362 if test "x$ac_cv_func__modf" = x""yes; then :
47363 cat >>confdefs.h <<_ACEOF
47364 #define HAVE__MODF 1
47365 _ACEOF
47368 done
47377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
47378 $as_echo_n "checking for powf declaration... " >&6; }
47379 if test x${glibcxx_cv_func_powf_use+set} != xset; then
47380 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
47381 $as_echo_n "(cached) " >&6
47382 else
47385 ac_ext=cpp
47386 ac_cpp='$CXXCPP $CPPFLAGS'
47387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47392 /* end confdefs.h. */
47393 #include <math.h>
47395 main ()
47397 powf(0, 0);
47399 return 0;
47401 _ACEOF
47402 if ac_fn_cxx_try_compile "$LINENO"; then :
47403 glibcxx_cv_func_powf_use=yes
47404 else
47405 glibcxx_cv_func_powf_use=no
47407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47408 ac_ext=c
47409 ac_cpp='$CPP $CPPFLAGS'
47410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
47419 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
47421 if test x$glibcxx_cv_func_powf_use = x"yes"; then
47422 for ac_func in powf
47423 do :
47424 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
47425 if test "x$ac_cv_func_powf" = x""yes; then :
47426 cat >>confdefs.h <<_ACEOF
47427 #define HAVE_POWF 1
47428 _ACEOF
47431 done
47433 else
47435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
47436 $as_echo_n "checking for _powf declaration... " >&6; }
47437 if test x${glibcxx_cv_func__powf_use+set} != xset; then
47438 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
47439 $as_echo_n "(cached) " >&6
47440 else
47443 ac_ext=cpp
47444 ac_cpp='$CXXCPP $CPPFLAGS'
47445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47450 /* end confdefs.h. */
47451 #include <math.h>
47453 main ()
47455 _powf(0, 0);
47457 return 0;
47459 _ACEOF
47460 if ac_fn_cxx_try_compile "$LINENO"; then :
47461 glibcxx_cv_func__powf_use=yes
47462 else
47463 glibcxx_cv_func__powf_use=no
47465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47466 ac_ext=c
47467 ac_cpp='$CPP $CPPFLAGS'
47468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
47477 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
47479 if test x$glibcxx_cv_func__powf_use = x"yes"; then
47480 for ac_func in _powf
47481 do :
47482 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
47483 if test "x$ac_cv_func__powf" = x""yes; then :
47484 cat >>confdefs.h <<_ACEOF
47485 #define HAVE__POWF 1
47486 _ACEOF
47489 done
47498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
47499 $as_echo_n "checking for sqrtf declaration... " >&6; }
47500 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
47501 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
47502 $as_echo_n "(cached) " >&6
47503 else
47506 ac_ext=cpp
47507 ac_cpp='$CXXCPP $CPPFLAGS'
47508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47513 /* end confdefs.h. */
47514 #include <math.h>
47515 #ifdef HAVE_IEEEFP_H
47516 #include <ieeefp.h>
47517 #endif
47520 main ()
47522 sqrtf(0);
47524 return 0;
47526 _ACEOF
47527 if ac_fn_cxx_try_compile "$LINENO"; then :
47528 glibcxx_cv_func_sqrtf_use=yes
47529 else
47530 glibcxx_cv_func_sqrtf_use=no
47532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47533 ac_ext=c
47534 ac_cpp='$CPP $CPPFLAGS'
47535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
47544 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
47546 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
47547 for ac_func in sqrtf
47548 do :
47549 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
47550 if test "x$ac_cv_func_sqrtf" = x""yes; then :
47551 cat >>confdefs.h <<_ACEOF
47552 #define HAVE_SQRTF 1
47553 _ACEOF
47556 done
47558 else
47560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
47561 $as_echo_n "checking for _sqrtf declaration... " >&6; }
47562 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
47563 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
47564 $as_echo_n "(cached) " >&6
47565 else
47568 ac_ext=cpp
47569 ac_cpp='$CXXCPP $CPPFLAGS'
47570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47575 /* end confdefs.h. */
47576 #include <math.h>
47577 #ifdef HAVE_IEEEFP_H
47578 #include <ieeefp.h>
47579 #endif
47582 main ()
47584 _sqrtf(0);
47586 return 0;
47588 _ACEOF
47589 if ac_fn_cxx_try_compile "$LINENO"; then :
47590 glibcxx_cv_func__sqrtf_use=yes
47591 else
47592 glibcxx_cv_func__sqrtf_use=no
47594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47595 ac_ext=c
47596 ac_cpp='$CPP $CPPFLAGS'
47597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
47606 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
47608 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
47609 for ac_func in _sqrtf
47610 do :
47611 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
47612 if test "x$ac_cv_func__sqrtf" = x""yes; then :
47613 cat >>confdefs.h <<_ACEOF
47614 #define HAVE__SQRTF 1
47615 _ACEOF
47618 done
47627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
47628 $as_echo_n "checking for sincosf declaration... " >&6; }
47629 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
47630 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
47631 $as_echo_n "(cached) " >&6
47632 else
47635 ac_ext=cpp
47636 ac_cpp='$CXXCPP $CPPFLAGS'
47637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47642 /* end confdefs.h. */
47643 #include <math.h>
47645 main ()
47647 sincosf(0, 0, 0);
47649 return 0;
47651 _ACEOF
47652 if ac_fn_cxx_try_compile "$LINENO"; then :
47653 glibcxx_cv_func_sincosf_use=yes
47654 else
47655 glibcxx_cv_func_sincosf_use=no
47657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47658 ac_ext=c
47659 ac_cpp='$CPP $CPPFLAGS'
47660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
47669 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
47671 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
47672 for ac_func in sincosf
47673 do :
47674 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
47675 if test "x$ac_cv_func_sincosf" = x""yes; then :
47676 cat >>confdefs.h <<_ACEOF
47677 #define HAVE_SINCOSF 1
47678 _ACEOF
47681 done
47683 else
47685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
47686 $as_echo_n "checking for _sincosf declaration... " >&6; }
47687 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
47688 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
47689 $as_echo_n "(cached) " >&6
47690 else
47693 ac_ext=cpp
47694 ac_cpp='$CXXCPP $CPPFLAGS'
47695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47700 /* end confdefs.h. */
47701 #include <math.h>
47703 main ()
47705 _sincosf(0, 0, 0);
47707 return 0;
47709 _ACEOF
47710 if ac_fn_cxx_try_compile "$LINENO"; then :
47711 glibcxx_cv_func__sincosf_use=yes
47712 else
47713 glibcxx_cv_func__sincosf_use=no
47715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47716 ac_ext=c
47717 ac_cpp='$CPP $CPPFLAGS'
47718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
47727 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
47729 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
47730 for ac_func in _sincosf
47731 do :
47732 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
47733 if test "x$ac_cv_func__sincosf" = x""yes; then :
47734 cat >>confdefs.h <<_ACEOF
47735 #define HAVE__SINCOSF 1
47736 _ACEOF
47739 done
47748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
47749 $as_echo_n "checking for finitef declaration... " >&6; }
47750 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
47751 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
47752 $as_echo_n "(cached) " >&6
47753 else
47756 ac_ext=cpp
47757 ac_cpp='$CXXCPP $CPPFLAGS'
47758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47763 /* end confdefs.h. */
47764 #include <math.h>
47765 #ifdef HAVE_IEEEFP_H
47766 #include <ieeefp.h>
47767 #endif
47770 main ()
47772 finitef(0);
47774 return 0;
47776 _ACEOF
47777 if ac_fn_cxx_try_compile "$LINENO"; then :
47778 glibcxx_cv_func_finitef_use=yes
47779 else
47780 glibcxx_cv_func_finitef_use=no
47782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47783 ac_ext=c
47784 ac_cpp='$CPP $CPPFLAGS'
47785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
47794 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
47796 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
47797 for ac_func in finitef
47798 do :
47799 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
47800 if test "x$ac_cv_func_finitef" = x""yes; then :
47801 cat >>confdefs.h <<_ACEOF
47802 #define HAVE_FINITEF 1
47803 _ACEOF
47806 done
47808 else
47810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
47811 $as_echo_n "checking for _finitef declaration... " >&6; }
47812 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
47813 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
47814 $as_echo_n "(cached) " >&6
47815 else
47818 ac_ext=cpp
47819 ac_cpp='$CXXCPP $CPPFLAGS'
47820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47825 /* end confdefs.h. */
47826 #include <math.h>
47827 #ifdef HAVE_IEEEFP_H
47828 #include <ieeefp.h>
47829 #endif
47832 main ()
47834 _finitef(0);
47836 return 0;
47838 _ACEOF
47839 if ac_fn_cxx_try_compile "$LINENO"; then :
47840 glibcxx_cv_func__finitef_use=yes
47841 else
47842 glibcxx_cv_func__finitef_use=no
47844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47845 ac_ext=c
47846 ac_cpp='$CPP $CPPFLAGS'
47847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
47856 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
47858 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
47859 for ac_func in _finitef
47860 do :
47861 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
47862 if test "x$ac_cv_func__finitef" = x""yes; then :
47863 cat >>confdefs.h <<_ACEOF
47864 #define HAVE__FINITEF 1
47865 _ACEOF
47868 done
47877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
47878 $as_echo_n "checking for long double trig functions... " >&6; }
47879 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
47880 $as_echo_n "(cached) " >&6
47881 else
47884 ac_ext=cpp
47885 ac_cpp='$CXXCPP $CPPFLAGS'
47886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47891 /* end confdefs.h. */
47892 #include <math.h>
47894 main ()
47896 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
47898 return 0;
47900 _ACEOF
47901 if ac_fn_cxx_try_compile "$LINENO"; then :
47902 glibcxx_cv_func_long_double_trig_use=yes
47903 else
47904 glibcxx_cv_func_long_double_trig_use=no
47906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47907 ac_ext=c
47908 ac_cpp='$CPP $CPPFLAGS'
47909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
47916 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
47917 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
47918 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
47919 do :
47920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47922 eval as_val=\$$as_ac_var
47923 if test "x$as_val" = x""yes; then :
47924 cat >>confdefs.h <<_ACEOF
47925 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47926 _ACEOF
47929 done
47931 else
47932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
47933 $as_echo_n "checking for _long double trig functions... " >&6; }
47934 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
47935 $as_echo_n "(cached) " >&6
47936 else
47939 ac_ext=cpp
47940 ac_cpp='$CXXCPP $CPPFLAGS'
47941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47946 /* end confdefs.h. */
47947 #include <math.h>
47949 main ()
47951 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
47953 return 0;
47955 _ACEOF
47956 if ac_fn_cxx_try_compile "$LINENO"; then :
47957 glibcxx_cv_func__long_double_trig_use=yes
47958 else
47959 glibcxx_cv_func__long_double_trig_use=no
47961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47962 ac_ext=c
47963 ac_cpp='$CPP $CPPFLAGS'
47964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
47971 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
47972 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
47973 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
47974 do :
47975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47977 eval as_val=\$$as_ac_var
47978 if test "x$as_val" = x""yes; then :
47979 cat >>confdefs.h <<_ACEOF
47980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47981 _ACEOF
47984 done
47993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
47994 $as_echo_n "checking for long double round functions... " >&6; }
47995 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
47996 $as_echo_n "(cached) " >&6
47997 else
48000 ac_ext=cpp
48001 ac_cpp='$CXXCPP $CPPFLAGS'
48002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48007 /* end confdefs.h. */
48008 #include <math.h>
48010 main ()
48012 ceill (0); floorl (0);
48014 return 0;
48016 _ACEOF
48017 if ac_fn_cxx_try_compile "$LINENO"; then :
48018 glibcxx_cv_func_long_double_round_use=yes
48019 else
48020 glibcxx_cv_func_long_double_round_use=no
48022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48023 ac_ext=c
48024 ac_cpp='$CPP $CPPFLAGS'
48025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
48032 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
48033 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
48034 for ac_func in ceill floorl
48035 do :
48036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48038 eval as_val=\$$as_ac_var
48039 if test "x$as_val" = x""yes; then :
48040 cat >>confdefs.h <<_ACEOF
48041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48042 _ACEOF
48045 done
48047 else
48048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
48049 $as_echo_n "checking for _long double round functions... " >&6; }
48050 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
48051 $as_echo_n "(cached) " >&6
48052 else
48055 ac_ext=cpp
48056 ac_cpp='$CXXCPP $CPPFLAGS'
48057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48062 /* end confdefs.h. */
48063 #include <math.h>
48065 main ()
48067 _ceill (0); _floorl (0);
48069 return 0;
48071 _ACEOF
48072 if ac_fn_cxx_try_compile "$LINENO"; then :
48073 glibcxx_cv_func__long_double_round_use=yes
48074 else
48075 glibcxx_cv_func__long_double_round_use=no
48077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48078 ac_ext=c
48079 ac_cpp='$CPP $CPPFLAGS'
48080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
48087 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
48088 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
48089 for ac_func in _ceill _floorl
48090 do :
48091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48093 eval as_val=\$$as_ac_var
48094 if test "x$as_val" = x""yes; then :
48095 cat >>confdefs.h <<_ACEOF
48096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48097 _ACEOF
48100 done
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
48111 $as_echo_n "checking for isnanl declaration... " >&6; }
48112 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
48113 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
48114 $as_echo_n "(cached) " >&6
48115 else
48118 ac_ext=cpp
48119 ac_cpp='$CXXCPP $CPPFLAGS'
48120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48125 /* end confdefs.h. */
48126 #include <math.h>
48127 #ifdef HAVE_IEEEFP_H
48128 #include <ieeefp.h>
48129 #endif
48132 main ()
48134 isnanl(0);
48136 return 0;
48138 _ACEOF
48139 if ac_fn_cxx_try_compile "$LINENO"; then :
48140 glibcxx_cv_func_isnanl_use=yes
48141 else
48142 glibcxx_cv_func_isnanl_use=no
48144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48145 ac_ext=c
48146 ac_cpp='$CPP $CPPFLAGS'
48147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
48156 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
48158 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
48159 for ac_func in isnanl
48160 do :
48161 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
48162 if test "x$ac_cv_func_isnanl" = x""yes; then :
48163 cat >>confdefs.h <<_ACEOF
48164 #define HAVE_ISNANL 1
48165 _ACEOF
48168 done
48170 else
48172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
48173 $as_echo_n "checking for _isnanl declaration... " >&6; }
48174 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
48175 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
48176 $as_echo_n "(cached) " >&6
48177 else
48180 ac_ext=cpp
48181 ac_cpp='$CXXCPP $CPPFLAGS'
48182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48187 /* end confdefs.h. */
48188 #include <math.h>
48189 #ifdef HAVE_IEEEFP_H
48190 #include <ieeefp.h>
48191 #endif
48194 main ()
48196 _isnanl(0);
48198 return 0;
48200 _ACEOF
48201 if ac_fn_cxx_try_compile "$LINENO"; then :
48202 glibcxx_cv_func__isnanl_use=yes
48203 else
48204 glibcxx_cv_func__isnanl_use=no
48206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48207 ac_ext=c
48208 ac_cpp='$CPP $CPPFLAGS'
48209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
48218 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
48220 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
48221 for ac_func in _isnanl
48222 do :
48223 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
48224 if test "x$ac_cv_func__isnanl" = x""yes; then :
48225 cat >>confdefs.h <<_ACEOF
48226 #define HAVE__ISNANL 1
48227 _ACEOF
48230 done
48239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
48240 $as_echo_n "checking for isinfl declaration... " >&6; }
48241 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
48242 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
48243 $as_echo_n "(cached) " >&6
48244 else
48247 ac_ext=cpp
48248 ac_cpp='$CXXCPP $CPPFLAGS'
48249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48254 /* end confdefs.h. */
48255 #include <math.h>
48256 #ifdef HAVE_IEEEFP_H
48257 #include <ieeefp.h>
48258 #endif
48261 main ()
48263 isinfl(0);
48265 return 0;
48267 _ACEOF
48268 if ac_fn_cxx_try_compile "$LINENO"; then :
48269 glibcxx_cv_func_isinfl_use=yes
48270 else
48271 glibcxx_cv_func_isinfl_use=no
48273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48274 ac_ext=c
48275 ac_cpp='$CPP $CPPFLAGS'
48276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
48285 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
48287 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
48288 for ac_func in isinfl
48289 do :
48290 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
48291 if test "x$ac_cv_func_isinfl" = x""yes; then :
48292 cat >>confdefs.h <<_ACEOF
48293 #define HAVE_ISINFL 1
48294 _ACEOF
48297 done
48299 else
48301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
48302 $as_echo_n "checking for _isinfl declaration... " >&6; }
48303 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
48304 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
48305 $as_echo_n "(cached) " >&6
48306 else
48309 ac_ext=cpp
48310 ac_cpp='$CXXCPP $CPPFLAGS'
48311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48316 /* end confdefs.h. */
48317 #include <math.h>
48318 #ifdef HAVE_IEEEFP_H
48319 #include <ieeefp.h>
48320 #endif
48323 main ()
48325 _isinfl(0);
48327 return 0;
48329 _ACEOF
48330 if ac_fn_cxx_try_compile "$LINENO"; then :
48331 glibcxx_cv_func__isinfl_use=yes
48332 else
48333 glibcxx_cv_func__isinfl_use=no
48335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48336 ac_ext=c
48337 ac_cpp='$CPP $CPPFLAGS'
48338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
48347 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
48349 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
48350 for ac_func in _isinfl
48351 do :
48352 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
48353 if test "x$ac_cv_func__isinfl" = x""yes; then :
48354 cat >>confdefs.h <<_ACEOF
48355 #define HAVE__ISINFL 1
48356 _ACEOF
48359 done
48368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
48369 $as_echo_n "checking for atan2l declaration... " >&6; }
48370 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
48371 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
48372 $as_echo_n "(cached) " >&6
48373 else
48376 ac_ext=cpp
48377 ac_cpp='$CXXCPP $CPPFLAGS'
48378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48383 /* end confdefs.h. */
48384 #include <math.h>
48386 main ()
48388 atan2l(0, 0);
48390 return 0;
48392 _ACEOF
48393 if ac_fn_cxx_try_compile "$LINENO"; then :
48394 glibcxx_cv_func_atan2l_use=yes
48395 else
48396 glibcxx_cv_func_atan2l_use=no
48398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48399 ac_ext=c
48400 ac_cpp='$CPP $CPPFLAGS'
48401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
48410 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
48412 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
48413 for ac_func in atan2l
48414 do :
48415 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
48416 if test "x$ac_cv_func_atan2l" = x""yes; then :
48417 cat >>confdefs.h <<_ACEOF
48418 #define HAVE_ATAN2L 1
48419 _ACEOF
48422 done
48424 else
48426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
48427 $as_echo_n "checking for _atan2l declaration... " >&6; }
48428 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
48429 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
48430 $as_echo_n "(cached) " >&6
48431 else
48434 ac_ext=cpp
48435 ac_cpp='$CXXCPP $CPPFLAGS'
48436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48441 /* end confdefs.h. */
48442 #include <math.h>
48444 main ()
48446 _atan2l(0, 0);
48448 return 0;
48450 _ACEOF
48451 if ac_fn_cxx_try_compile "$LINENO"; then :
48452 glibcxx_cv_func__atan2l_use=yes
48453 else
48454 glibcxx_cv_func__atan2l_use=no
48456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48457 ac_ext=c
48458 ac_cpp='$CPP $CPPFLAGS'
48459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
48468 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
48470 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
48471 for ac_func in _atan2l
48472 do :
48473 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
48474 if test "x$ac_cv_func__atan2l" = x""yes; then :
48475 cat >>confdefs.h <<_ACEOF
48476 #define HAVE__ATAN2L 1
48477 _ACEOF
48480 done
48489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
48490 $as_echo_n "checking for expl declaration... " >&6; }
48491 if test x${glibcxx_cv_func_expl_use+set} != xset; then
48492 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
48493 $as_echo_n "(cached) " >&6
48494 else
48497 ac_ext=cpp
48498 ac_cpp='$CXXCPP $CPPFLAGS'
48499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48504 /* end confdefs.h. */
48505 #include <math.h>
48506 #ifdef HAVE_IEEEFP_H
48507 #include <ieeefp.h>
48508 #endif
48511 main ()
48513 expl(0);
48515 return 0;
48517 _ACEOF
48518 if ac_fn_cxx_try_compile "$LINENO"; then :
48519 glibcxx_cv_func_expl_use=yes
48520 else
48521 glibcxx_cv_func_expl_use=no
48523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48524 ac_ext=c
48525 ac_cpp='$CPP $CPPFLAGS'
48526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
48535 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
48537 if test x$glibcxx_cv_func_expl_use = x"yes"; then
48538 for ac_func in expl
48539 do :
48540 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
48541 if test "x$ac_cv_func_expl" = x""yes; then :
48542 cat >>confdefs.h <<_ACEOF
48543 #define HAVE_EXPL 1
48544 _ACEOF
48547 done
48549 else
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
48552 $as_echo_n "checking for _expl declaration... " >&6; }
48553 if test x${glibcxx_cv_func__expl_use+set} != xset; then
48554 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
48555 $as_echo_n "(cached) " >&6
48556 else
48559 ac_ext=cpp
48560 ac_cpp='$CXXCPP $CPPFLAGS'
48561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48566 /* end confdefs.h. */
48567 #include <math.h>
48568 #ifdef HAVE_IEEEFP_H
48569 #include <ieeefp.h>
48570 #endif
48573 main ()
48575 _expl(0);
48577 return 0;
48579 _ACEOF
48580 if ac_fn_cxx_try_compile "$LINENO"; then :
48581 glibcxx_cv_func__expl_use=yes
48582 else
48583 glibcxx_cv_func__expl_use=no
48585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48586 ac_ext=c
48587 ac_cpp='$CPP $CPPFLAGS'
48588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
48597 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
48599 if test x$glibcxx_cv_func__expl_use = x"yes"; then
48600 for ac_func in _expl
48601 do :
48602 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
48603 if test "x$ac_cv_func__expl" = x""yes; then :
48604 cat >>confdefs.h <<_ACEOF
48605 #define HAVE__EXPL 1
48606 _ACEOF
48609 done
48618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
48619 $as_echo_n "checking for fabsl declaration... " >&6; }
48620 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
48621 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
48622 $as_echo_n "(cached) " >&6
48623 else
48626 ac_ext=cpp
48627 ac_cpp='$CXXCPP $CPPFLAGS'
48628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48633 /* end confdefs.h. */
48634 #include <math.h>
48635 #ifdef HAVE_IEEEFP_H
48636 #include <ieeefp.h>
48637 #endif
48640 main ()
48642 fabsl(0);
48644 return 0;
48646 _ACEOF
48647 if ac_fn_cxx_try_compile "$LINENO"; then :
48648 glibcxx_cv_func_fabsl_use=yes
48649 else
48650 glibcxx_cv_func_fabsl_use=no
48652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48653 ac_ext=c
48654 ac_cpp='$CPP $CPPFLAGS'
48655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
48664 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
48666 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
48667 for ac_func in fabsl
48668 do :
48669 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
48670 if test "x$ac_cv_func_fabsl" = x""yes; then :
48671 cat >>confdefs.h <<_ACEOF
48672 #define HAVE_FABSL 1
48673 _ACEOF
48676 done
48678 else
48680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
48681 $as_echo_n "checking for _fabsl declaration... " >&6; }
48682 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
48683 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
48684 $as_echo_n "(cached) " >&6
48685 else
48688 ac_ext=cpp
48689 ac_cpp='$CXXCPP $CPPFLAGS'
48690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48695 /* end confdefs.h. */
48696 #include <math.h>
48697 #ifdef HAVE_IEEEFP_H
48698 #include <ieeefp.h>
48699 #endif
48702 main ()
48704 _fabsl(0);
48706 return 0;
48708 _ACEOF
48709 if ac_fn_cxx_try_compile "$LINENO"; then :
48710 glibcxx_cv_func__fabsl_use=yes
48711 else
48712 glibcxx_cv_func__fabsl_use=no
48714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48715 ac_ext=c
48716 ac_cpp='$CPP $CPPFLAGS'
48717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
48726 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
48728 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
48729 for ac_func in _fabsl
48730 do :
48731 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
48732 if test "x$ac_cv_func__fabsl" = x""yes; then :
48733 cat >>confdefs.h <<_ACEOF
48734 #define HAVE__FABSL 1
48735 _ACEOF
48738 done
48747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
48748 $as_echo_n "checking for fmodl declaration... " >&6; }
48749 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
48750 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
48751 $as_echo_n "(cached) " >&6
48752 else
48755 ac_ext=cpp
48756 ac_cpp='$CXXCPP $CPPFLAGS'
48757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48762 /* end confdefs.h. */
48763 #include <math.h>
48765 main ()
48767 fmodl(0, 0);
48769 return 0;
48771 _ACEOF
48772 if ac_fn_cxx_try_compile "$LINENO"; then :
48773 glibcxx_cv_func_fmodl_use=yes
48774 else
48775 glibcxx_cv_func_fmodl_use=no
48777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48778 ac_ext=c
48779 ac_cpp='$CPP $CPPFLAGS'
48780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
48789 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
48791 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
48792 for ac_func in fmodl
48793 do :
48794 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
48795 if test "x$ac_cv_func_fmodl" = x""yes; then :
48796 cat >>confdefs.h <<_ACEOF
48797 #define HAVE_FMODL 1
48798 _ACEOF
48801 done
48803 else
48805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
48806 $as_echo_n "checking for _fmodl declaration... " >&6; }
48807 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
48808 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
48809 $as_echo_n "(cached) " >&6
48810 else
48813 ac_ext=cpp
48814 ac_cpp='$CXXCPP $CPPFLAGS'
48815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48820 /* end confdefs.h. */
48821 #include <math.h>
48823 main ()
48825 _fmodl(0, 0);
48827 return 0;
48829 _ACEOF
48830 if ac_fn_cxx_try_compile "$LINENO"; then :
48831 glibcxx_cv_func__fmodl_use=yes
48832 else
48833 glibcxx_cv_func__fmodl_use=no
48835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48836 ac_ext=c
48837 ac_cpp='$CPP $CPPFLAGS'
48838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
48847 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
48849 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
48850 for ac_func in _fmodl
48851 do :
48852 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
48853 if test "x$ac_cv_func__fmodl" = x""yes; then :
48854 cat >>confdefs.h <<_ACEOF
48855 #define HAVE__FMODL 1
48856 _ACEOF
48859 done
48868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
48869 $as_echo_n "checking for frexpl declaration... " >&6; }
48870 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
48871 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
48872 $as_echo_n "(cached) " >&6
48873 else
48876 ac_ext=cpp
48877 ac_cpp='$CXXCPP $CPPFLAGS'
48878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48883 /* end confdefs.h. */
48884 #include <math.h>
48886 main ()
48888 frexpl(0, 0);
48890 return 0;
48892 _ACEOF
48893 if ac_fn_cxx_try_compile "$LINENO"; then :
48894 glibcxx_cv_func_frexpl_use=yes
48895 else
48896 glibcxx_cv_func_frexpl_use=no
48898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48899 ac_ext=c
48900 ac_cpp='$CPP $CPPFLAGS'
48901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
48910 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
48912 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
48913 for ac_func in frexpl
48914 do :
48915 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
48916 if test "x$ac_cv_func_frexpl" = x""yes; then :
48917 cat >>confdefs.h <<_ACEOF
48918 #define HAVE_FREXPL 1
48919 _ACEOF
48922 done
48924 else
48926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
48927 $as_echo_n "checking for _frexpl declaration... " >&6; }
48928 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
48929 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
48930 $as_echo_n "(cached) " >&6
48931 else
48934 ac_ext=cpp
48935 ac_cpp='$CXXCPP $CPPFLAGS'
48936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48941 /* end confdefs.h. */
48942 #include <math.h>
48944 main ()
48946 _frexpl(0, 0);
48948 return 0;
48950 _ACEOF
48951 if ac_fn_cxx_try_compile "$LINENO"; then :
48952 glibcxx_cv_func__frexpl_use=yes
48953 else
48954 glibcxx_cv_func__frexpl_use=no
48956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48957 ac_ext=c
48958 ac_cpp='$CPP $CPPFLAGS'
48959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
48968 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
48970 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
48971 for ac_func in _frexpl
48972 do :
48973 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
48974 if test "x$ac_cv_func__frexpl" = x""yes; then :
48975 cat >>confdefs.h <<_ACEOF
48976 #define HAVE__FREXPL 1
48977 _ACEOF
48980 done
48989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
48990 $as_echo_n "checking for hypotl declaration... " >&6; }
48991 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
48992 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
48993 $as_echo_n "(cached) " >&6
48994 else
48997 ac_ext=cpp
48998 ac_cpp='$CXXCPP $CPPFLAGS'
48999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49004 /* end confdefs.h. */
49005 #include <math.h>
49007 main ()
49009 hypotl(0, 0);
49011 return 0;
49013 _ACEOF
49014 if ac_fn_cxx_try_compile "$LINENO"; then :
49015 glibcxx_cv_func_hypotl_use=yes
49016 else
49017 glibcxx_cv_func_hypotl_use=no
49019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49020 ac_ext=c
49021 ac_cpp='$CPP $CPPFLAGS'
49022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
49031 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
49033 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
49034 for ac_func in hypotl
49035 do :
49036 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
49037 if test "x$ac_cv_func_hypotl" = x""yes; then :
49038 cat >>confdefs.h <<_ACEOF
49039 #define HAVE_HYPOTL 1
49040 _ACEOF
49043 done
49045 else
49047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
49048 $as_echo_n "checking for _hypotl declaration... " >&6; }
49049 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
49050 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
49051 $as_echo_n "(cached) " >&6
49052 else
49055 ac_ext=cpp
49056 ac_cpp='$CXXCPP $CPPFLAGS'
49057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49062 /* end confdefs.h. */
49063 #include <math.h>
49065 main ()
49067 _hypotl(0, 0);
49069 return 0;
49071 _ACEOF
49072 if ac_fn_cxx_try_compile "$LINENO"; then :
49073 glibcxx_cv_func__hypotl_use=yes
49074 else
49075 glibcxx_cv_func__hypotl_use=no
49077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49078 ac_ext=c
49079 ac_cpp='$CPP $CPPFLAGS'
49080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
49089 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
49091 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
49092 for ac_func in _hypotl
49093 do :
49094 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
49095 if test "x$ac_cv_func__hypotl" = x""yes; then :
49096 cat >>confdefs.h <<_ACEOF
49097 #define HAVE__HYPOTL 1
49098 _ACEOF
49101 done
49110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
49111 $as_echo_n "checking for ldexpl declaration... " >&6; }
49112 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
49113 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
49114 $as_echo_n "(cached) " >&6
49115 else
49118 ac_ext=cpp
49119 ac_cpp='$CXXCPP $CPPFLAGS'
49120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49125 /* end confdefs.h. */
49126 #include <math.h>
49128 main ()
49130 ldexpl(0, 0);
49132 return 0;
49134 _ACEOF
49135 if ac_fn_cxx_try_compile "$LINENO"; then :
49136 glibcxx_cv_func_ldexpl_use=yes
49137 else
49138 glibcxx_cv_func_ldexpl_use=no
49140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49141 ac_ext=c
49142 ac_cpp='$CPP $CPPFLAGS'
49143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
49152 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
49154 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
49155 for ac_func in ldexpl
49156 do :
49157 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
49158 if test "x$ac_cv_func_ldexpl" = x""yes; then :
49159 cat >>confdefs.h <<_ACEOF
49160 #define HAVE_LDEXPL 1
49161 _ACEOF
49164 done
49166 else
49168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
49169 $as_echo_n "checking for _ldexpl declaration... " >&6; }
49170 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
49171 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
49172 $as_echo_n "(cached) " >&6
49173 else
49176 ac_ext=cpp
49177 ac_cpp='$CXXCPP $CPPFLAGS'
49178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49183 /* end confdefs.h. */
49184 #include <math.h>
49186 main ()
49188 _ldexpl(0, 0);
49190 return 0;
49192 _ACEOF
49193 if ac_fn_cxx_try_compile "$LINENO"; then :
49194 glibcxx_cv_func__ldexpl_use=yes
49195 else
49196 glibcxx_cv_func__ldexpl_use=no
49198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49199 ac_ext=c
49200 ac_cpp='$CPP $CPPFLAGS'
49201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
49210 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
49212 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
49213 for ac_func in _ldexpl
49214 do :
49215 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
49216 if test "x$ac_cv_func__ldexpl" = x""yes; then :
49217 cat >>confdefs.h <<_ACEOF
49218 #define HAVE__LDEXPL 1
49219 _ACEOF
49222 done
49231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
49232 $as_echo_n "checking for logl declaration... " >&6; }
49233 if test x${glibcxx_cv_func_logl_use+set} != xset; then
49234 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
49235 $as_echo_n "(cached) " >&6
49236 else
49239 ac_ext=cpp
49240 ac_cpp='$CXXCPP $CPPFLAGS'
49241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49246 /* end confdefs.h. */
49247 #include <math.h>
49248 #ifdef HAVE_IEEEFP_H
49249 #include <ieeefp.h>
49250 #endif
49253 main ()
49255 logl(0);
49257 return 0;
49259 _ACEOF
49260 if ac_fn_cxx_try_compile "$LINENO"; then :
49261 glibcxx_cv_func_logl_use=yes
49262 else
49263 glibcxx_cv_func_logl_use=no
49265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49266 ac_ext=c
49267 ac_cpp='$CPP $CPPFLAGS'
49268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
49277 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
49279 if test x$glibcxx_cv_func_logl_use = x"yes"; then
49280 for ac_func in logl
49281 do :
49282 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
49283 if test "x$ac_cv_func_logl" = x""yes; then :
49284 cat >>confdefs.h <<_ACEOF
49285 #define HAVE_LOGL 1
49286 _ACEOF
49289 done
49291 else
49293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
49294 $as_echo_n "checking for _logl declaration... " >&6; }
49295 if test x${glibcxx_cv_func__logl_use+set} != xset; then
49296 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
49297 $as_echo_n "(cached) " >&6
49298 else
49301 ac_ext=cpp
49302 ac_cpp='$CXXCPP $CPPFLAGS'
49303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49308 /* end confdefs.h. */
49309 #include <math.h>
49310 #ifdef HAVE_IEEEFP_H
49311 #include <ieeefp.h>
49312 #endif
49315 main ()
49317 _logl(0);
49319 return 0;
49321 _ACEOF
49322 if ac_fn_cxx_try_compile "$LINENO"; then :
49323 glibcxx_cv_func__logl_use=yes
49324 else
49325 glibcxx_cv_func__logl_use=no
49327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49328 ac_ext=c
49329 ac_cpp='$CPP $CPPFLAGS'
49330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
49339 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
49341 if test x$glibcxx_cv_func__logl_use = x"yes"; then
49342 for ac_func in _logl
49343 do :
49344 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
49345 if test "x$ac_cv_func__logl" = x""yes; then :
49346 cat >>confdefs.h <<_ACEOF
49347 #define HAVE__LOGL 1
49348 _ACEOF
49351 done
49360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
49361 $as_echo_n "checking for log10l declaration... " >&6; }
49362 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
49363 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
49364 $as_echo_n "(cached) " >&6
49365 else
49368 ac_ext=cpp
49369 ac_cpp='$CXXCPP $CPPFLAGS'
49370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49375 /* end confdefs.h. */
49376 #include <math.h>
49377 #ifdef HAVE_IEEEFP_H
49378 #include <ieeefp.h>
49379 #endif
49382 main ()
49384 log10l(0);
49386 return 0;
49388 _ACEOF
49389 if ac_fn_cxx_try_compile "$LINENO"; then :
49390 glibcxx_cv_func_log10l_use=yes
49391 else
49392 glibcxx_cv_func_log10l_use=no
49394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49395 ac_ext=c
49396 ac_cpp='$CPP $CPPFLAGS'
49397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
49406 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
49408 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
49409 for ac_func in log10l
49410 do :
49411 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
49412 if test "x$ac_cv_func_log10l" = x""yes; then :
49413 cat >>confdefs.h <<_ACEOF
49414 #define HAVE_LOG10L 1
49415 _ACEOF
49418 done
49420 else
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
49423 $as_echo_n "checking for _log10l declaration... " >&6; }
49424 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
49425 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
49426 $as_echo_n "(cached) " >&6
49427 else
49430 ac_ext=cpp
49431 ac_cpp='$CXXCPP $CPPFLAGS'
49432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49437 /* end confdefs.h. */
49438 #include <math.h>
49439 #ifdef HAVE_IEEEFP_H
49440 #include <ieeefp.h>
49441 #endif
49444 main ()
49446 _log10l(0);
49448 return 0;
49450 _ACEOF
49451 if ac_fn_cxx_try_compile "$LINENO"; then :
49452 glibcxx_cv_func__log10l_use=yes
49453 else
49454 glibcxx_cv_func__log10l_use=no
49456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49457 ac_ext=c
49458 ac_cpp='$CPP $CPPFLAGS'
49459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
49468 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
49470 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
49471 for ac_func in _log10l
49472 do :
49473 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
49474 if test "x$ac_cv_func__log10l" = x""yes; then :
49475 cat >>confdefs.h <<_ACEOF
49476 #define HAVE__LOG10L 1
49477 _ACEOF
49480 done
49489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
49490 $as_echo_n "checking for modfl declaration... " >&6; }
49491 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
49492 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
49493 $as_echo_n "(cached) " >&6
49494 else
49497 ac_ext=cpp
49498 ac_cpp='$CXXCPP $CPPFLAGS'
49499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49504 /* end confdefs.h. */
49505 #include <math.h>
49507 main ()
49509 modfl(0, 0);
49511 return 0;
49513 _ACEOF
49514 if ac_fn_cxx_try_compile "$LINENO"; then :
49515 glibcxx_cv_func_modfl_use=yes
49516 else
49517 glibcxx_cv_func_modfl_use=no
49519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49520 ac_ext=c
49521 ac_cpp='$CPP $CPPFLAGS'
49522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
49531 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
49533 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
49534 for ac_func in modfl
49535 do :
49536 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
49537 if test "x$ac_cv_func_modfl" = x""yes; then :
49538 cat >>confdefs.h <<_ACEOF
49539 #define HAVE_MODFL 1
49540 _ACEOF
49543 done
49545 else
49547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
49548 $as_echo_n "checking for _modfl declaration... " >&6; }
49549 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
49550 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
49551 $as_echo_n "(cached) " >&6
49552 else
49555 ac_ext=cpp
49556 ac_cpp='$CXXCPP $CPPFLAGS'
49557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49562 /* end confdefs.h. */
49563 #include <math.h>
49565 main ()
49567 _modfl(0, 0);
49569 return 0;
49571 _ACEOF
49572 if ac_fn_cxx_try_compile "$LINENO"; then :
49573 glibcxx_cv_func__modfl_use=yes
49574 else
49575 glibcxx_cv_func__modfl_use=no
49577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49578 ac_ext=c
49579 ac_cpp='$CPP $CPPFLAGS'
49580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
49589 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
49591 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
49592 for ac_func in _modfl
49593 do :
49594 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
49595 if test "x$ac_cv_func__modfl" = x""yes; then :
49596 cat >>confdefs.h <<_ACEOF
49597 #define HAVE__MODFL 1
49598 _ACEOF
49601 done
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
49611 $as_echo_n "checking for powl declaration... " >&6; }
49612 if test x${glibcxx_cv_func_powl_use+set} != xset; then
49613 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
49614 $as_echo_n "(cached) " >&6
49615 else
49618 ac_ext=cpp
49619 ac_cpp='$CXXCPP $CPPFLAGS'
49620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49625 /* end confdefs.h. */
49626 #include <math.h>
49628 main ()
49630 powl(0, 0);
49632 return 0;
49634 _ACEOF
49635 if ac_fn_cxx_try_compile "$LINENO"; then :
49636 glibcxx_cv_func_powl_use=yes
49637 else
49638 glibcxx_cv_func_powl_use=no
49640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49641 ac_ext=c
49642 ac_cpp='$CPP $CPPFLAGS'
49643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
49652 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
49654 if test x$glibcxx_cv_func_powl_use = x"yes"; then
49655 for ac_func in powl
49656 do :
49657 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
49658 if test "x$ac_cv_func_powl" = x""yes; then :
49659 cat >>confdefs.h <<_ACEOF
49660 #define HAVE_POWL 1
49661 _ACEOF
49664 done
49666 else
49668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
49669 $as_echo_n "checking for _powl declaration... " >&6; }
49670 if test x${glibcxx_cv_func__powl_use+set} != xset; then
49671 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
49672 $as_echo_n "(cached) " >&6
49673 else
49676 ac_ext=cpp
49677 ac_cpp='$CXXCPP $CPPFLAGS'
49678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49683 /* end confdefs.h. */
49684 #include <math.h>
49686 main ()
49688 _powl(0, 0);
49690 return 0;
49692 _ACEOF
49693 if ac_fn_cxx_try_compile "$LINENO"; then :
49694 glibcxx_cv_func__powl_use=yes
49695 else
49696 glibcxx_cv_func__powl_use=no
49698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49699 ac_ext=c
49700 ac_cpp='$CPP $CPPFLAGS'
49701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
49710 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
49712 if test x$glibcxx_cv_func__powl_use = x"yes"; then
49713 for ac_func in _powl
49714 do :
49715 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
49716 if test "x$ac_cv_func__powl" = x""yes; then :
49717 cat >>confdefs.h <<_ACEOF
49718 #define HAVE__POWL 1
49719 _ACEOF
49722 done
49731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
49732 $as_echo_n "checking for sqrtl declaration... " >&6; }
49733 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
49734 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
49735 $as_echo_n "(cached) " >&6
49736 else
49739 ac_ext=cpp
49740 ac_cpp='$CXXCPP $CPPFLAGS'
49741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49746 /* end confdefs.h. */
49747 #include <math.h>
49748 #ifdef HAVE_IEEEFP_H
49749 #include <ieeefp.h>
49750 #endif
49753 main ()
49755 sqrtl(0);
49757 return 0;
49759 _ACEOF
49760 if ac_fn_cxx_try_compile "$LINENO"; then :
49761 glibcxx_cv_func_sqrtl_use=yes
49762 else
49763 glibcxx_cv_func_sqrtl_use=no
49765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49766 ac_ext=c
49767 ac_cpp='$CPP $CPPFLAGS'
49768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
49777 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
49779 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
49780 for ac_func in sqrtl
49781 do :
49782 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
49783 if test "x$ac_cv_func_sqrtl" = x""yes; then :
49784 cat >>confdefs.h <<_ACEOF
49785 #define HAVE_SQRTL 1
49786 _ACEOF
49789 done
49791 else
49793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
49794 $as_echo_n "checking for _sqrtl declaration... " >&6; }
49795 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
49796 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
49797 $as_echo_n "(cached) " >&6
49798 else
49801 ac_ext=cpp
49802 ac_cpp='$CXXCPP $CPPFLAGS'
49803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49808 /* end confdefs.h. */
49809 #include <math.h>
49810 #ifdef HAVE_IEEEFP_H
49811 #include <ieeefp.h>
49812 #endif
49815 main ()
49817 _sqrtl(0);
49819 return 0;
49821 _ACEOF
49822 if ac_fn_cxx_try_compile "$LINENO"; then :
49823 glibcxx_cv_func__sqrtl_use=yes
49824 else
49825 glibcxx_cv_func__sqrtl_use=no
49827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49828 ac_ext=c
49829 ac_cpp='$CPP $CPPFLAGS'
49830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
49839 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
49841 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
49842 for ac_func in _sqrtl
49843 do :
49844 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
49845 if test "x$ac_cv_func__sqrtl" = x""yes; then :
49846 cat >>confdefs.h <<_ACEOF
49847 #define HAVE__SQRTL 1
49848 _ACEOF
49851 done
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
49861 $as_echo_n "checking for sincosl declaration... " >&6; }
49862 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
49863 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
49864 $as_echo_n "(cached) " >&6
49865 else
49868 ac_ext=cpp
49869 ac_cpp='$CXXCPP $CPPFLAGS'
49870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49875 /* end confdefs.h. */
49876 #include <math.h>
49878 main ()
49880 sincosl(0, 0, 0);
49882 return 0;
49884 _ACEOF
49885 if ac_fn_cxx_try_compile "$LINENO"; then :
49886 glibcxx_cv_func_sincosl_use=yes
49887 else
49888 glibcxx_cv_func_sincosl_use=no
49890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49891 ac_ext=c
49892 ac_cpp='$CPP $CPPFLAGS'
49893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
49902 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
49904 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
49905 for ac_func in sincosl
49906 do :
49907 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
49908 if test "x$ac_cv_func_sincosl" = x""yes; then :
49909 cat >>confdefs.h <<_ACEOF
49910 #define HAVE_SINCOSL 1
49911 _ACEOF
49914 done
49916 else
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
49919 $as_echo_n "checking for _sincosl declaration... " >&6; }
49920 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
49921 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
49922 $as_echo_n "(cached) " >&6
49923 else
49926 ac_ext=cpp
49927 ac_cpp='$CXXCPP $CPPFLAGS'
49928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49933 /* end confdefs.h. */
49934 #include <math.h>
49936 main ()
49938 _sincosl(0, 0, 0);
49940 return 0;
49942 _ACEOF
49943 if ac_fn_cxx_try_compile "$LINENO"; then :
49944 glibcxx_cv_func__sincosl_use=yes
49945 else
49946 glibcxx_cv_func__sincosl_use=no
49948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49949 ac_ext=c
49950 ac_cpp='$CPP $CPPFLAGS'
49951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
49960 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
49962 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
49963 for ac_func in _sincosl
49964 do :
49965 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
49966 if test "x$ac_cv_func__sincosl" = x""yes; then :
49967 cat >>confdefs.h <<_ACEOF
49968 #define HAVE__SINCOSL 1
49969 _ACEOF
49972 done
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
49982 $as_echo_n "checking for finitel declaration... " >&6; }
49983 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
49984 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
49985 $as_echo_n "(cached) " >&6
49986 else
49989 ac_ext=cpp
49990 ac_cpp='$CXXCPP $CPPFLAGS'
49991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49996 /* end confdefs.h. */
49997 #include <math.h>
49998 #ifdef HAVE_IEEEFP_H
49999 #include <ieeefp.h>
50000 #endif
50003 main ()
50005 finitel(0);
50007 return 0;
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011 glibcxx_cv_func_finitel_use=yes
50012 else
50013 glibcxx_cv_func_finitel_use=no
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016 ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
50027 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
50029 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
50030 for ac_func in finitel
50031 do :
50032 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
50033 if test "x$ac_cv_func_finitel" = x""yes; then :
50034 cat >>confdefs.h <<_ACEOF
50035 #define HAVE_FINITEL 1
50036 _ACEOF
50039 done
50041 else
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
50044 $as_echo_n "checking for _finitel declaration... " >&6; }
50045 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
50046 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
50047 $as_echo_n "(cached) " >&6
50048 else
50051 ac_ext=cpp
50052 ac_cpp='$CXXCPP $CPPFLAGS'
50053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50058 /* end confdefs.h. */
50059 #include <math.h>
50060 #ifdef HAVE_IEEEFP_H
50061 #include <ieeefp.h>
50062 #endif
50065 main ()
50067 _finitel(0);
50069 return 0;
50071 _ACEOF
50072 if ac_fn_cxx_try_compile "$LINENO"; then :
50073 glibcxx_cv_func__finitel_use=yes
50074 else
50075 glibcxx_cv_func__finitel_use=no
50077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50078 ac_ext=c
50079 ac_cpp='$CPP $CPPFLAGS'
50080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
50089 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
50091 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
50092 for ac_func in _finitel
50093 do :
50094 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
50095 if test "x$ac_cv_func__finitel" = x""yes; then :
50096 cat >>confdefs.h <<_ACEOF
50097 #define HAVE__FINITEL 1
50098 _ACEOF
50101 done
50109 LIBS="$ac_save_LIBS"
50110 CXXFLAGS="$ac_save_CXXFLAGS"
50113 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50114 ac_save_CXXFLAGS="$CXXFLAGS"
50115 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
50119 $as_echo_n "checking for strtold declaration... " >&6; }
50120 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
50121 if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
50136 main ()
50138 strtold(0, 0);
50140 return 0;
50142 _ACEOF
50143 if ac_fn_cxx_try_compile "$LINENO"; then :
50144 glibcxx_cv_func_strtold_use=yes
50145 else
50146 glibcxx_cv_func_strtold_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_strtold_use" >&5
50160 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
50161 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
50162 for ac_func in strtold
50163 do :
50164 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
50165 if test "x$ac_cv_func_strtold" = x""yes; then :
50166 cat >>confdefs.h <<_ACEOF
50167 #define HAVE_STRTOLD 1
50168 _ACEOF
50171 done
50178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
50179 $as_echo_n "checking for strtof declaration... " >&6; }
50180 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
50181 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
50182 $as_echo_n "(cached) " >&6
50183 else
50186 ac_ext=cpp
50187 ac_cpp='$CXXCPP $CPPFLAGS'
50188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50193 /* end confdefs.h. */
50194 #include <stdlib.h>
50196 main ()
50198 strtof(0, 0);
50200 return 0;
50202 _ACEOF
50203 if ac_fn_cxx_try_compile "$LINENO"; then :
50204 glibcxx_cv_func_strtof_use=yes
50205 else
50206 glibcxx_cv_func_strtof_use=no
50208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50209 ac_ext=c
50210 ac_cpp='$CPP $CPPFLAGS'
50211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
50220 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
50221 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
50222 for ac_func in strtof
50223 do :
50224 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
50225 if test "x$ac_cv_func_strtof" = x""yes; then :
50226 cat >>confdefs.h <<_ACEOF
50227 #define HAVE_STRTOF 1
50228 _ACEOF
50231 done
50238 CXXFLAGS="$ac_save_CXXFLAGS"
50240 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
50244 # Check whether --enable-tls was given.
50245 if test "${enable_tls+set}" = set; then :
50246 enableval=$enable_tls;
50247 case "$enableval" in
50248 yes|no) ;;
50249 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
50250 esac
50252 else
50253 enable_tls=yes
50257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
50258 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
50259 if test "${gcc_cv_have_tls+set}" = set; then :
50260 $as_echo_n "(cached) " >&6
50261 else
50263 if test "$cross_compiling" = yes; then :
50264 if test x$gcc_no_link = xyes; then
50265 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50268 /* end confdefs.h. */
50269 __thread int a; int b; int main() { return a = b; }
50270 _ACEOF
50271 if ac_fn_c_try_link "$LINENO"; then :
50272 chktls_save_LDFLAGS="$LDFLAGS"
50273 case $host in
50274 *-*-linux*)
50275 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
50277 esac
50278 chktls_save_CFLAGS="$CFLAGS"
50279 CFLAGS="-fPIC $CFLAGS"
50280 if test x$gcc_no_link = xyes; then
50281 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50284 /* end confdefs.h. */
50285 int f() { return 0; }
50286 _ACEOF
50287 if ac_fn_c_try_link "$LINENO"; then :
50288 if test x$gcc_no_link = xyes; then
50289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50292 /* end confdefs.h. */
50293 __thread int a; int b; int f() { return a = b; }
50294 _ACEOF
50295 if ac_fn_c_try_link "$LINENO"; then :
50296 gcc_cv_have_tls=yes
50297 else
50298 gcc_cv_have_tls=no
50300 rm -f core conftest.err conftest.$ac_objext \
50301 conftest$ac_exeext conftest.$ac_ext
50302 else
50303 gcc_cv_have_tls=yes
50305 rm -f core conftest.err conftest.$ac_objext \
50306 conftest$ac_exeext conftest.$ac_ext
50307 CFLAGS="$chktls_save_CFLAGS"
50308 LDFLAGS="$chktls_save_LDFLAGS"
50309 else
50310 gcc_cv_have_tls=no
50312 rm -f core conftest.err conftest.$ac_objext \
50313 conftest$ac_exeext conftest.$ac_ext
50316 else
50317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50318 /* end confdefs.h. */
50319 __thread int a; int b; int main() { return a = b; }
50320 _ACEOF
50321 if ac_fn_c_try_run "$LINENO"; then :
50322 chktls_save_LDFLAGS="$LDFLAGS"
50323 LDFLAGS="-static $LDFLAGS"
50324 if test x$gcc_no_link = xyes; then
50325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50328 /* end confdefs.h. */
50329 int main() { return 0; }
50330 _ACEOF
50331 if ac_fn_c_try_link "$LINENO"; then :
50332 if test "$cross_compiling" = yes; then :
50333 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50334 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50335 as_fn_error "cannot run test program while cross compiling
50336 See \`config.log' for more details." "$LINENO" 5; }
50337 else
50338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50339 /* end confdefs.h. */
50340 __thread int a; int b; int main() { return a = b; }
50341 _ACEOF
50342 if ac_fn_c_try_run "$LINENO"; then :
50343 gcc_cv_have_tls=yes
50344 else
50345 gcc_cv_have_tls=no
50347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50348 conftest.$ac_objext conftest.beam conftest.$ac_ext
50351 else
50352 gcc_cv_have_tls=yes
50354 rm -f core conftest.err conftest.$ac_objext \
50355 conftest$ac_exeext conftest.$ac_ext
50356 LDFLAGS="$chktls_save_LDFLAGS"
50357 if test $gcc_cv_have_tls = yes; then
50358 chktls_save_CFLAGS="$CFLAGS"
50359 thread_CFLAGS=failed
50360 for flag in '' '-pthread' '-lpthread'; do
50361 CFLAGS="$flag $chktls_save_CFLAGS"
50362 if test x$gcc_no_link = xyes; then
50363 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50366 /* end confdefs.h. */
50367 #include <pthread.h>
50368 void *g(void *d) { return NULL; }
50370 main ()
50372 pthread_t t; pthread_create(&t,NULL,g,NULL);
50374 return 0;
50376 _ACEOF
50377 if ac_fn_c_try_link "$LINENO"; then :
50378 thread_CFLAGS="$flag"
50380 rm -f core conftest.err conftest.$ac_objext \
50381 conftest$ac_exeext conftest.$ac_ext
50382 if test "X$thread_CFLAGS" != Xfailed; then
50383 break
50385 done
50386 CFLAGS="$chktls_save_CFLAGS"
50387 if test "X$thread_CFLAGS" != Xfailed; then
50388 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
50389 if test "$cross_compiling" = yes; then :
50390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
50391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
50392 as_fn_error "cannot run test program while cross compiling
50393 See \`config.log' for more details." "$LINENO" 5; }
50394 else
50395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50396 /* end confdefs.h. */
50397 #include <pthread.h>
50398 __thread int a;
50399 static int *a_in_other_thread;
50400 static void *
50401 thread_func (void *arg)
50403 a_in_other_thread = &a;
50404 return (void *)0;
50407 main ()
50409 pthread_t thread;
50410 void *thread_retval;
50411 int *a_in_main_thread;
50412 if (pthread_create (&thread, (pthread_attr_t *)0,
50413 thread_func, (void *)0))
50414 return 0;
50415 a_in_main_thread = &a;
50416 if (pthread_join (thread, &thread_retval))
50417 return 0;
50418 return (a_in_other_thread == a_in_main_thread);
50420 return 0;
50422 _ACEOF
50423 if ac_fn_c_try_run "$LINENO"; then :
50424 gcc_cv_have_tls=yes
50425 else
50426 gcc_cv_have_tls=no
50428 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50429 conftest.$ac_objext conftest.beam conftest.$ac_ext
50432 CFLAGS="$chktls_save_CFLAGS"
50435 else
50436 gcc_cv_have_tls=no
50438 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
50439 conftest.$ac_objext conftest.beam conftest.$ac_ext
50443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
50444 $as_echo "$gcc_cv_have_tls" >&6; }
50445 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
50447 $as_echo "#define HAVE_TLS 1" >>confdefs.h
50455 am_save_CPPFLAGS="$CPPFLAGS"
50457 for element in $INCICONV; do
50458 haveit=
50459 for x in $CPPFLAGS; do
50461 acl_save_prefix="$prefix"
50462 prefix="$acl_final_prefix"
50463 acl_save_exec_prefix="$exec_prefix"
50464 exec_prefix="$acl_final_exec_prefix"
50465 eval x=\"$x\"
50466 exec_prefix="$acl_save_exec_prefix"
50467 prefix="$acl_save_prefix"
50469 if test "X$x" = "X$element"; then
50470 haveit=yes
50471 break
50473 done
50474 if test -z "$haveit"; then
50475 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
50477 done
50480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
50481 $as_echo_n "checking for iconv... " >&6; }
50482 if test "${am_cv_func_iconv+set}" = set; then :
50483 $as_echo_n "(cached) " >&6
50484 else
50486 am_cv_func_iconv="no, consider installing GNU libiconv"
50487 am_cv_lib_iconv=no
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 #include <stdlib.h>
50494 #include <iconv.h>
50496 main ()
50498 iconv_t cd = iconv_open("","");
50499 iconv(cd,NULL,NULL,NULL,NULL);
50500 iconv_close(cd);
50502 return 0;
50504 _ACEOF
50505 if ac_fn_c_try_link "$LINENO"; then :
50506 am_cv_func_iconv=yes
50508 rm -f core conftest.err conftest.$ac_objext \
50509 conftest$ac_exeext conftest.$ac_ext
50510 if test "$am_cv_func_iconv" != yes; then
50511 am_save_LIBS="$LIBS"
50512 LIBS="$LIBS $LIBICONV"
50513 if test x$gcc_no_link = xyes; then
50514 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50517 /* end confdefs.h. */
50518 #include <stdlib.h>
50519 #include <iconv.h>
50521 main ()
50523 iconv_t cd = iconv_open("","");
50524 iconv(cd,NULL,NULL,NULL,NULL);
50525 iconv_close(cd);
50527 return 0;
50529 _ACEOF
50530 if ac_fn_c_try_link "$LINENO"; then :
50531 am_cv_lib_iconv=yes
50532 am_cv_func_iconv=yes
50534 rm -f core conftest.err conftest.$ac_objext \
50535 conftest$ac_exeext conftest.$ac_ext
50536 LIBS="$am_save_LIBS"
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
50541 $as_echo "$am_cv_func_iconv" >&6; }
50542 if test "$am_cv_func_iconv" = yes; then
50544 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
50547 if test "$am_cv_lib_iconv" = yes; then
50548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
50549 $as_echo_n "checking how to link with libiconv... " >&6; }
50550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
50551 $as_echo "$LIBICONV" >&6; }
50552 else
50553 CPPFLAGS="$am_save_CPPFLAGS"
50554 LIBICONV=
50555 LTLIBICONV=
50560 if test "$am_cv_func_iconv" = yes; then
50561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
50562 $as_echo_n "checking for iconv declaration... " >&6; }
50563 if test "${am_cv_proto_iconv+set}" = set; then :
50564 $as_echo_n "(cached) " >&6
50565 else
50567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50568 /* end confdefs.h. */
50570 #include <stdlib.h>
50571 #include <iconv.h>
50572 extern
50573 #ifdef __cplusplus
50575 #endif
50576 #if defined(__STDC__) || defined(__cplusplus)
50577 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
50578 #else
50579 size_t iconv();
50580 #endif
50583 main ()
50587 return 0;
50589 _ACEOF
50590 if ac_fn_c_try_compile "$LINENO"; then :
50591 am_cv_proto_iconv_arg1=""
50592 else
50593 am_cv_proto_iconv_arg1="const"
50595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50596 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);"
50599 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
50600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
50601 }$am_cv_proto_iconv" >&5
50602 $as_echo "${ac_t:-
50603 }$am_cv_proto_iconv" >&6; }
50605 cat >>confdefs.h <<_ACEOF
50606 #define ICONV_CONST $am_cv_proto_iconv_arg1
50607 _ACEOF
50612 *-mingw32*)
50614 # If we're not using GNU ld, then there's no point in even trying these
50615 # tests. Check for that first. We should have already tested for gld
50616 # by now (in libtool), but require it now just to be safe...
50617 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
50618 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
50622 # The name set by libtool depends on the version of libtool. Shame on us
50623 # for depending on an impl detail, but c'est la vie. Older versions used
50624 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
50625 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
50626 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
50627 # set (hence we're using an older libtool), then set it.
50628 if test x${with_gnu_ld+set} != xset; then
50629 if test x${ac_cv_prog_gnu_ld+set} != xset; then
50630 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
50631 with_gnu_ld=no
50632 else
50633 with_gnu_ld=$ac_cv_prog_gnu_ld
50637 # Start by getting the version number. I think the libtool test already
50638 # does some of this, but throws away the result.
50639 glibcxx_ld_is_gold=no
50640 if test x"$with_gnu_ld" = x"yes"; then
50641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
50642 $as_echo_n "checking for ld version... " >&6; }
50644 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
50645 glibcxx_ld_is_gold=yes
50647 ldver=`$LD --version 2>/dev/null |
50648 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'`
50650 glibcxx_gnu_ld_version=`echo $ldver | \
50651 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
50652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
50653 $as_echo "$glibcxx_gnu_ld_version" >&6; }
50656 # Set --gc-sections.
50657 glibcxx_have_gc_sections=no
50658 if test "$glibcxx_ld_is_gold" = "yes"; then
50659 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
50660 glibcxx_have_gc_sections=yes
50662 else
50663 glibcxx_gcsections_min_ld=21602
50664 if test x"$with_gnu_ld" = x"yes" &&
50665 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
50666 glibcxx_have_gc_sections=yes
50669 if test "$glibcxx_have_gc_sections" = "yes"; then
50670 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
50671 # NB: This flag only works reliably after 2.16.1. Configure tests
50672 # for this are difficult, so hard wire a value that should work.
50674 ac_test_CFLAGS="${CFLAGS+set}"
50675 ac_save_CFLAGS="$CFLAGS"
50676 CFLAGS='-Wl,--gc-sections'
50678 # Check for -Wl,--gc-sections
50679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
50680 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
50681 if test x$gcc_no_link = xyes; then
50682 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50685 /* end confdefs.h. */
50686 int one(void) { return 1; }
50687 int two(void) { return 2; }
50690 main ()
50692 two();
50694 return 0;
50696 _ACEOF
50697 if ac_fn_c_try_link "$LINENO"; then :
50698 ac_gcsections=yes
50699 else
50700 ac_gcsections=no
50702 rm -f core conftest.err conftest.$ac_objext \
50703 conftest$ac_exeext conftest.$ac_ext
50704 if test "$ac_gcsections" = "yes"; then
50705 rm -f conftest.c
50706 touch conftest.c
50707 if $CC -c conftest.c; then
50708 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
50709 grep "Warning: gc-sections option ignored" > /dev/null; then
50710 ac_gcsections=no
50713 rm -f conftest.c conftest.o conftest
50715 if test "$ac_gcsections" = "yes"; then
50716 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
50718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
50719 $as_echo "$ac_gcsections" >&6; }
50721 if test "$ac_test_CFLAGS" = set; then
50722 CFLAGS="$ac_save_CFLAGS"
50723 else
50724 # this is the suspicious part
50725 CFLAGS=''
50729 # Set -z,relro.
50730 # Note this is only for shared objects.
50731 ac_ld_relro=no
50732 if test x"$with_gnu_ld" = x"yes"; then
50733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
50734 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
50735 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
50736 if test -n "$cxx_z_relo"; then
50737 OPT_LDFLAGS="-Wl,-z,relro"
50738 ac_ld_relro=yes
50740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
50741 $as_echo "$ac_ld_relro" >&6; }
50744 # Set linker optimization flags.
50745 if test x"$with_gnu_ld" = x"yes"; then
50746 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
50753 ac_test_CXXFLAGS="${CXXFLAGS+set}"
50754 ac_save_CXXFLAGS="$CXXFLAGS"
50755 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
50757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
50758 $as_echo_n "checking for sin in -lm... " >&6; }
50759 if test "${ac_cv_lib_m_sin+set}" = set; then :
50760 $as_echo_n "(cached) " >&6
50761 else
50762 ac_check_lib_save_LIBS=$LIBS
50763 LIBS="-lm $LIBS"
50764 if test x$gcc_no_link = xyes; then
50765 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
50767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50768 /* end confdefs.h. */
50770 /* Override any GCC internal prototype to avoid an error.
50771 Use char because int might match the return type of a GCC
50772 builtin and then its argument prototype would still apply. */
50773 #ifdef __cplusplus
50774 extern "C"
50775 #endif
50776 char sin ();
50778 main ()
50780 return sin ();
50782 return 0;
50784 _ACEOF
50785 if ac_fn_c_try_link "$LINENO"; then :
50786 ac_cv_lib_m_sin=yes
50787 else
50788 ac_cv_lib_m_sin=no
50790 rm -f core conftest.err conftest.$ac_objext \
50791 conftest$ac_exeext conftest.$ac_ext
50792 LIBS=$ac_check_lib_save_LIBS
50794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
50795 $as_echo "$ac_cv_lib_m_sin" >&6; }
50796 if test "x$ac_cv_lib_m_sin" = x""yes; then :
50797 libm="-lm"
50800 ac_save_LIBS="$LIBS"
50801 LIBS="$LIBS $libm"
50805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
50806 $as_echo_n "checking for isinf declaration... " >&6; }
50807 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
50808 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
50809 $as_echo_n "(cached) " >&6
50810 else
50813 ac_ext=cpp
50814 ac_cpp='$CXXCPP $CPPFLAGS'
50815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50820 /* end confdefs.h. */
50821 #include <math.h>
50822 #ifdef HAVE_IEEEFP_H
50823 #include <ieeefp.h>
50824 #endif
50827 main ()
50829 isinf(0);
50831 return 0;
50833 _ACEOF
50834 if ac_fn_cxx_try_compile "$LINENO"; then :
50835 glibcxx_cv_func_isinf_use=yes
50836 else
50837 glibcxx_cv_func_isinf_use=no
50839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50840 ac_ext=c
50841 ac_cpp='$CPP $CPPFLAGS'
50842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
50851 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
50853 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
50854 for ac_func in isinf
50855 do :
50856 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
50857 if test "x$ac_cv_func_isinf" = x""yes; then :
50858 cat >>confdefs.h <<_ACEOF
50859 #define HAVE_ISINF 1
50860 _ACEOF
50863 done
50865 else
50867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
50868 $as_echo_n "checking for _isinf declaration... " >&6; }
50869 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
50870 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
50871 $as_echo_n "(cached) " >&6
50872 else
50875 ac_ext=cpp
50876 ac_cpp='$CXXCPP $CPPFLAGS'
50877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50882 /* end confdefs.h. */
50883 #include <math.h>
50884 #ifdef HAVE_IEEEFP_H
50885 #include <ieeefp.h>
50886 #endif
50889 main ()
50891 _isinf(0);
50893 return 0;
50895 _ACEOF
50896 if ac_fn_cxx_try_compile "$LINENO"; then :
50897 glibcxx_cv_func__isinf_use=yes
50898 else
50899 glibcxx_cv_func__isinf_use=no
50901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50902 ac_ext=c
50903 ac_cpp='$CPP $CPPFLAGS'
50904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
50913 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
50915 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
50916 for ac_func in _isinf
50917 do :
50918 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
50919 if test "x$ac_cv_func__isinf" = x""yes; then :
50920 cat >>confdefs.h <<_ACEOF
50921 #define HAVE__ISINF 1
50922 _ACEOF
50925 done
50934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
50935 $as_echo_n "checking for isnan declaration... " >&6; }
50936 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
50937 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
50938 $as_echo_n "(cached) " >&6
50939 else
50942 ac_ext=cpp
50943 ac_cpp='$CXXCPP $CPPFLAGS'
50944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50949 /* end confdefs.h. */
50950 #include <math.h>
50951 #ifdef HAVE_IEEEFP_H
50952 #include <ieeefp.h>
50953 #endif
50956 main ()
50958 isnan(0);
50960 return 0;
50962 _ACEOF
50963 if ac_fn_cxx_try_compile "$LINENO"; then :
50964 glibcxx_cv_func_isnan_use=yes
50965 else
50966 glibcxx_cv_func_isnan_use=no
50968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50969 ac_ext=c
50970 ac_cpp='$CPP $CPPFLAGS'
50971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
50980 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
50982 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
50983 for ac_func in isnan
50984 do :
50985 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
50986 if test "x$ac_cv_func_isnan" = x""yes; then :
50987 cat >>confdefs.h <<_ACEOF
50988 #define HAVE_ISNAN 1
50989 _ACEOF
50992 done
50994 else
50996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
50997 $as_echo_n "checking for _isnan declaration... " >&6; }
50998 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
50999 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51000 $as_echo_n "(cached) " >&6
51001 else
51004 ac_ext=cpp
51005 ac_cpp='$CXXCPP $CPPFLAGS'
51006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51011 /* end confdefs.h. */
51012 #include <math.h>
51013 #ifdef HAVE_IEEEFP_H
51014 #include <ieeefp.h>
51015 #endif
51018 main ()
51020 _isnan(0);
51022 return 0;
51024 _ACEOF
51025 if ac_fn_cxx_try_compile "$LINENO"; then :
51026 glibcxx_cv_func__isnan_use=yes
51027 else
51028 glibcxx_cv_func__isnan_use=no
51030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51031 ac_ext=c
51032 ac_cpp='$CPP $CPPFLAGS'
51033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
51042 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
51044 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
51045 for ac_func in _isnan
51046 do :
51047 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
51048 if test "x$ac_cv_func__isnan" = x""yes; then :
51049 cat >>confdefs.h <<_ACEOF
51050 #define HAVE__ISNAN 1
51051 _ACEOF
51054 done
51063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
51064 $as_echo_n "checking for finite declaration... " >&6; }
51065 if test x${glibcxx_cv_func_finite_use+set} != xset; then
51066 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
51067 $as_echo_n "(cached) " >&6
51068 else
51071 ac_ext=cpp
51072 ac_cpp='$CXXCPP $CPPFLAGS'
51073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51078 /* end confdefs.h. */
51079 #include <math.h>
51080 #ifdef HAVE_IEEEFP_H
51081 #include <ieeefp.h>
51082 #endif
51085 main ()
51087 finite(0);
51089 return 0;
51091 _ACEOF
51092 if ac_fn_cxx_try_compile "$LINENO"; then :
51093 glibcxx_cv_func_finite_use=yes
51094 else
51095 glibcxx_cv_func_finite_use=no
51097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51098 ac_ext=c
51099 ac_cpp='$CPP $CPPFLAGS'
51100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
51109 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
51111 if test x$glibcxx_cv_func_finite_use = x"yes"; then
51112 for ac_func in finite
51113 do :
51114 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
51115 if test "x$ac_cv_func_finite" = x""yes; then :
51116 cat >>confdefs.h <<_ACEOF
51117 #define HAVE_FINITE 1
51118 _ACEOF
51121 done
51123 else
51125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
51126 $as_echo_n "checking for _finite declaration... " >&6; }
51127 if test x${glibcxx_cv_func__finite_use+set} != xset; then
51128 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
51129 $as_echo_n "(cached) " >&6
51130 else
51133 ac_ext=cpp
51134 ac_cpp='$CXXCPP $CPPFLAGS'
51135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51140 /* end confdefs.h. */
51141 #include <math.h>
51142 #ifdef HAVE_IEEEFP_H
51143 #include <ieeefp.h>
51144 #endif
51147 main ()
51149 _finite(0);
51151 return 0;
51153 _ACEOF
51154 if ac_fn_cxx_try_compile "$LINENO"; then :
51155 glibcxx_cv_func__finite_use=yes
51156 else
51157 glibcxx_cv_func__finite_use=no
51159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51160 ac_ext=c
51161 ac_cpp='$CPP $CPPFLAGS'
51162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
51171 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
51173 if test x$glibcxx_cv_func__finite_use = x"yes"; then
51174 for ac_func in _finite
51175 do :
51176 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
51177 if test "x$ac_cv_func__finite" = x""yes; then :
51178 cat >>confdefs.h <<_ACEOF
51179 #define HAVE__FINITE 1
51180 _ACEOF
51183 done
51192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
51193 $as_echo_n "checking for sincos declaration... " >&6; }
51194 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
51195 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
51196 $as_echo_n "(cached) " >&6
51197 else
51200 ac_ext=cpp
51201 ac_cpp='$CXXCPP $CPPFLAGS'
51202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51207 /* end confdefs.h. */
51208 #include <math.h>
51210 main ()
51212 sincos(0, 0, 0);
51214 return 0;
51216 _ACEOF
51217 if ac_fn_cxx_try_compile "$LINENO"; then :
51218 glibcxx_cv_func_sincos_use=yes
51219 else
51220 glibcxx_cv_func_sincos_use=no
51222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51223 ac_ext=c
51224 ac_cpp='$CPP $CPPFLAGS'
51225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
51234 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
51236 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
51237 for ac_func in sincos
51238 do :
51239 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
51240 if test "x$ac_cv_func_sincos" = x""yes; then :
51241 cat >>confdefs.h <<_ACEOF
51242 #define HAVE_SINCOS 1
51243 _ACEOF
51246 done
51248 else
51250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
51251 $as_echo_n "checking for _sincos declaration... " >&6; }
51252 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
51253 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
51254 $as_echo_n "(cached) " >&6
51255 else
51258 ac_ext=cpp
51259 ac_cpp='$CXXCPP $CPPFLAGS'
51260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51265 /* end confdefs.h. */
51266 #include <math.h>
51268 main ()
51270 _sincos(0, 0, 0);
51272 return 0;
51274 _ACEOF
51275 if ac_fn_cxx_try_compile "$LINENO"; then :
51276 glibcxx_cv_func__sincos_use=yes
51277 else
51278 glibcxx_cv_func__sincos_use=no
51280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51281 ac_ext=c
51282 ac_cpp='$CPP $CPPFLAGS'
51283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
51292 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
51294 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
51295 for ac_func in _sincos
51296 do :
51297 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
51298 if test "x$ac_cv_func__sincos" = x""yes; then :
51299 cat >>confdefs.h <<_ACEOF
51300 #define HAVE__SINCOS 1
51301 _ACEOF
51304 done
51313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
51314 $as_echo_n "checking for fpclass declaration... " >&6; }
51315 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
51316 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
51317 $as_echo_n "(cached) " >&6
51318 else
51321 ac_ext=cpp
51322 ac_cpp='$CXXCPP $CPPFLAGS'
51323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51328 /* end confdefs.h. */
51329 #include <math.h>
51330 #ifdef HAVE_IEEEFP_H
51331 #include <ieeefp.h>
51332 #endif
51335 main ()
51337 fpclass(0);
51339 return 0;
51341 _ACEOF
51342 if ac_fn_cxx_try_compile "$LINENO"; then :
51343 glibcxx_cv_func_fpclass_use=yes
51344 else
51345 glibcxx_cv_func_fpclass_use=no
51347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51348 ac_ext=c
51349 ac_cpp='$CPP $CPPFLAGS'
51350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
51359 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
51361 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
51362 for ac_func in fpclass
51363 do :
51364 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
51365 if test "x$ac_cv_func_fpclass" = x""yes; then :
51366 cat >>confdefs.h <<_ACEOF
51367 #define HAVE_FPCLASS 1
51368 _ACEOF
51371 done
51373 else
51375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
51376 $as_echo_n "checking for _fpclass declaration... " >&6; }
51377 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
51378 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
51379 $as_echo_n "(cached) " >&6
51380 else
51383 ac_ext=cpp
51384 ac_cpp='$CXXCPP $CPPFLAGS'
51385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 #include <math.h>
51392 #ifdef HAVE_IEEEFP_H
51393 #include <ieeefp.h>
51394 #endif
51397 main ()
51399 _fpclass(0);
51401 return 0;
51403 _ACEOF
51404 if ac_fn_cxx_try_compile "$LINENO"; then :
51405 glibcxx_cv_func__fpclass_use=yes
51406 else
51407 glibcxx_cv_func__fpclass_use=no
51409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51410 ac_ext=c
51411 ac_cpp='$CPP $CPPFLAGS'
51412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
51421 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
51423 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
51424 for ac_func in _fpclass
51425 do :
51426 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
51427 if test "x$ac_cv_func__fpclass" = x""yes; then :
51428 cat >>confdefs.h <<_ACEOF
51429 #define HAVE__FPCLASS 1
51430 _ACEOF
51433 done
51442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
51443 $as_echo_n "checking for qfpclass declaration... " >&6; }
51444 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
51445 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
51446 $as_echo_n "(cached) " >&6
51447 else
51450 ac_ext=cpp
51451 ac_cpp='$CXXCPP $CPPFLAGS'
51452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51457 /* end confdefs.h. */
51458 #include <math.h>
51459 #ifdef HAVE_IEEEFP_H
51460 #include <ieeefp.h>
51461 #endif
51464 main ()
51466 qfpclass(0);
51468 return 0;
51470 _ACEOF
51471 if ac_fn_cxx_try_compile "$LINENO"; then :
51472 glibcxx_cv_func_qfpclass_use=yes
51473 else
51474 glibcxx_cv_func_qfpclass_use=no
51476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51477 ac_ext=c
51478 ac_cpp='$CPP $CPPFLAGS'
51479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
51488 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
51490 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
51491 for ac_func in qfpclass
51492 do :
51493 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
51494 if test "x$ac_cv_func_qfpclass" = x""yes; then :
51495 cat >>confdefs.h <<_ACEOF
51496 #define HAVE_QFPCLASS 1
51497 _ACEOF
51500 done
51502 else
51504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
51505 $as_echo_n "checking for _qfpclass declaration... " >&6; }
51506 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
51507 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
51508 $as_echo_n "(cached) " >&6
51509 else
51512 ac_ext=cpp
51513 ac_cpp='$CXXCPP $CPPFLAGS'
51514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51519 /* end confdefs.h. */
51520 #include <math.h>
51521 #ifdef HAVE_IEEEFP_H
51522 #include <ieeefp.h>
51523 #endif
51526 main ()
51528 _qfpclass(0);
51530 return 0;
51532 _ACEOF
51533 if ac_fn_cxx_try_compile "$LINENO"; then :
51534 glibcxx_cv_func__qfpclass_use=yes
51535 else
51536 glibcxx_cv_func__qfpclass_use=no
51538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51539 ac_ext=c
51540 ac_cpp='$CPP $CPPFLAGS'
51541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
51550 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
51552 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
51553 for ac_func in _qfpclass
51554 do :
51555 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
51556 if test "x$ac_cv_func__qfpclass" = x""yes; then :
51557 cat >>confdefs.h <<_ACEOF
51558 #define HAVE__QFPCLASS 1
51559 _ACEOF
51562 done
51571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
51572 $as_echo_n "checking for hypot declaration... " >&6; }
51573 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
51574 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
51575 $as_echo_n "(cached) " >&6
51576 else
51579 ac_ext=cpp
51580 ac_cpp='$CXXCPP $CPPFLAGS'
51581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51586 /* end confdefs.h. */
51587 #include <math.h>
51589 main ()
51591 hypot(0, 0);
51593 return 0;
51595 _ACEOF
51596 if ac_fn_cxx_try_compile "$LINENO"; then :
51597 glibcxx_cv_func_hypot_use=yes
51598 else
51599 glibcxx_cv_func_hypot_use=no
51601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51602 ac_ext=c
51603 ac_cpp='$CPP $CPPFLAGS'
51604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
51613 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
51615 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
51616 for ac_func in hypot
51617 do :
51618 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
51619 if test "x$ac_cv_func_hypot" = x""yes; then :
51620 cat >>confdefs.h <<_ACEOF
51621 #define HAVE_HYPOT 1
51622 _ACEOF
51625 done
51627 else
51629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
51630 $as_echo_n "checking for _hypot declaration... " >&6; }
51631 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
51632 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
51633 $as_echo_n "(cached) " >&6
51634 else
51637 ac_ext=cpp
51638 ac_cpp='$CXXCPP $CPPFLAGS'
51639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51644 /* end confdefs.h. */
51645 #include <math.h>
51647 main ()
51649 _hypot(0, 0);
51651 return 0;
51653 _ACEOF
51654 if ac_fn_cxx_try_compile "$LINENO"; then :
51655 glibcxx_cv_func__hypot_use=yes
51656 else
51657 glibcxx_cv_func__hypot_use=no
51659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51660 ac_ext=c
51661 ac_cpp='$CPP $CPPFLAGS'
51662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
51671 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
51673 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
51674 for ac_func in _hypot
51675 do :
51676 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
51677 if test "x$ac_cv_func__hypot" = x""yes; then :
51678 cat >>confdefs.h <<_ACEOF
51679 #define HAVE__HYPOT 1
51680 _ACEOF
51683 done
51692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
51693 $as_echo_n "checking for float trig functions... " >&6; }
51694 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
51695 $as_echo_n "(cached) " >&6
51696 else
51699 ac_ext=cpp
51700 ac_cpp='$CXXCPP $CPPFLAGS'
51701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51706 /* end confdefs.h. */
51707 #include <math.h>
51709 main ()
51711 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
51713 return 0;
51715 _ACEOF
51716 if ac_fn_cxx_try_compile "$LINENO"; then :
51717 glibcxx_cv_func_float_trig_use=yes
51718 else
51719 glibcxx_cv_func_float_trig_use=no
51721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51722 ac_ext=c
51723 ac_cpp='$CPP $CPPFLAGS'
51724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
51731 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
51732 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
51733 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
51734 do :
51735 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51736 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51737 eval as_val=\$$as_ac_var
51738 if test "x$as_val" = x""yes; then :
51739 cat >>confdefs.h <<_ACEOF
51740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51741 _ACEOF
51744 done
51746 else
51747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
51748 $as_echo_n "checking for _float trig functions... " >&6; }
51749 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
51750 $as_echo_n "(cached) " >&6
51751 else
51754 ac_ext=cpp
51755 ac_cpp='$CXXCPP $CPPFLAGS'
51756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51761 /* end confdefs.h. */
51762 #include <math.h>
51764 main ()
51766 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
51768 return 0;
51770 _ACEOF
51771 if ac_fn_cxx_try_compile "$LINENO"; then :
51772 glibcxx_cv_func__float_trig_use=yes
51773 else
51774 glibcxx_cv_func__float_trig_use=no
51776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51777 ac_ext=c
51778 ac_cpp='$CPP $CPPFLAGS'
51779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
51786 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
51787 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
51788 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
51789 do :
51790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51792 eval as_val=\$$as_ac_var
51793 if test "x$as_val" = x""yes; then :
51794 cat >>confdefs.h <<_ACEOF
51795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51796 _ACEOF
51799 done
51808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
51809 $as_echo_n "checking for float round functions... " >&6; }
51810 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
51811 $as_echo_n "(cached) " >&6
51812 else
51815 ac_ext=cpp
51816 ac_cpp='$CXXCPP $CPPFLAGS'
51817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51822 /* end confdefs.h. */
51823 #include <math.h>
51825 main ()
51827 ceilf (0); floorf (0);
51829 return 0;
51831 _ACEOF
51832 if ac_fn_cxx_try_compile "$LINENO"; then :
51833 glibcxx_cv_func_float_round_use=yes
51834 else
51835 glibcxx_cv_func_float_round_use=no
51837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51838 ac_ext=c
51839 ac_cpp='$CPP $CPPFLAGS'
51840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
51847 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
51848 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
51849 for ac_func in ceilf floorf
51850 do :
51851 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51852 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51853 eval as_val=\$$as_ac_var
51854 if test "x$as_val" = x""yes; then :
51855 cat >>confdefs.h <<_ACEOF
51856 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51857 _ACEOF
51860 done
51862 else
51863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
51864 $as_echo_n "checking for _float round functions... " >&6; }
51865 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
51866 $as_echo_n "(cached) " >&6
51867 else
51870 ac_ext=cpp
51871 ac_cpp='$CXXCPP $CPPFLAGS'
51872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51877 /* end confdefs.h. */
51878 #include <math.h>
51880 main ()
51882 _ceilf (0); _floorf (0);
51884 return 0;
51886 _ACEOF
51887 if ac_fn_cxx_try_compile "$LINENO"; then :
51888 glibcxx_cv_func__float_round_use=yes
51889 else
51890 glibcxx_cv_func__float_round_use=no
51892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51893 ac_ext=c
51894 ac_cpp='$CPP $CPPFLAGS'
51895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
51902 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
51903 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
51904 for ac_func in _ceilf _floorf
51905 do :
51906 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51907 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51908 eval as_val=\$$as_ac_var
51909 if test "x$as_val" = x""yes; then :
51910 cat >>confdefs.h <<_ACEOF
51911 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51912 _ACEOF
51915 done
51925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
51926 $as_echo_n "checking for expf declaration... " >&6; }
51927 if test x${glibcxx_cv_func_expf_use+set} != xset; then
51928 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
51929 $as_echo_n "(cached) " >&6
51930 else
51933 ac_ext=cpp
51934 ac_cpp='$CXXCPP $CPPFLAGS'
51935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51940 /* end confdefs.h. */
51941 #include <math.h>
51942 #ifdef HAVE_IEEEFP_H
51943 #include <ieeefp.h>
51944 #endif
51947 main ()
51949 expf(0);
51951 return 0;
51953 _ACEOF
51954 if ac_fn_cxx_try_compile "$LINENO"; then :
51955 glibcxx_cv_func_expf_use=yes
51956 else
51957 glibcxx_cv_func_expf_use=no
51959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51960 ac_ext=c
51961 ac_cpp='$CPP $CPPFLAGS'
51962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
51971 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
51973 if test x$glibcxx_cv_func_expf_use = x"yes"; then
51974 for ac_func in expf
51975 do :
51976 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
51977 if test "x$ac_cv_func_expf" = x""yes; then :
51978 cat >>confdefs.h <<_ACEOF
51979 #define HAVE_EXPF 1
51980 _ACEOF
51983 done
51985 else
51987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
51988 $as_echo_n "checking for _expf declaration... " >&6; }
51989 if test x${glibcxx_cv_func__expf_use+set} != xset; then
51990 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
51991 $as_echo_n "(cached) " >&6
51992 else
51995 ac_ext=cpp
51996 ac_cpp='$CXXCPP $CPPFLAGS'
51997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52002 /* end confdefs.h. */
52003 #include <math.h>
52004 #ifdef HAVE_IEEEFP_H
52005 #include <ieeefp.h>
52006 #endif
52009 main ()
52011 _expf(0);
52013 return 0;
52015 _ACEOF
52016 if ac_fn_cxx_try_compile "$LINENO"; then :
52017 glibcxx_cv_func__expf_use=yes
52018 else
52019 glibcxx_cv_func__expf_use=no
52021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52022 ac_ext=c
52023 ac_cpp='$CPP $CPPFLAGS'
52024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
52033 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
52035 if test x$glibcxx_cv_func__expf_use = x"yes"; then
52036 for ac_func in _expf
52037 do :
52038 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
52039 if test "x$ac_cv_func__expf" = x""yes; then :
52040 cat >>confdefs.h <<_ACEOF
52041 #define HAVE__EXPF 1
52042 _ACEOF
52045 done
52054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
52055 $as_echo_n "checking for isnanf declaration... " >&6; }
52056 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
52057 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
52058 $as_echo_n "(cached) " >&6
52059 else
52062 ac_ext=cpp
52063 ac_cpp='$CXXCPP $CPPFLAGS'
52064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52069 /* end confdefs.h. */
52070 #include <math.h>
52071 #ifdef HAVE_IEEEFP_H
52072 #include <ieeefp.h>
52073 #endif
52076 main ()
52078 isnanf(0);
52080 return 0;
52082 _ACEOF
52083 if ac_fn_cxx_try_compile "$LINENO"; then :
52084 glibcxx_cv_func_isnanf_use=yes
52085 else
52086 glibcxx_cv_func_isnanf_use=no
52088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52089 ac_ext=c
52090 ac_cpp='$CPP $CPPFLAGS'
52091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
52100 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
52102 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
52103 for ac_func in isnanf
52104 do :
52105 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
52106 if test "x$ac_cv_func_isnanf" = x""yes; then :
52107 cat >>confdefs.h <<_ACEOF
52108 #define HAVE_ISNANF 1
52109 _ACEOF
52112 done
52114 else
52116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
52117 $as_echo_n "checking for _isnanf declaration... " >&6; }
52118 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
52119 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
52120 $as_echo_n "(cached) " >&6
52121 else
52124 ac_ext=cpp
52125 ac_cpp='$CXXCPP $CPPFLAGS'
52126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52131 /* end confdefs.h. */
52132 #include <math.h>
52133 #ifdef HAVE_IEEEFP_H
52134 #include <ieeefp.h>
52135 #endif
52138 main ()
52140 _isnanf(0);
52142 return 0;
52144 _ACEOF
52145 if ac_fn_cxx_try_compile "$LINENO"; then :
52146 glibcxx_cv_func__isnanf_use=yes
52147 else
52148 glibcxx_cv_func__isnanf_use=no
52150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52151 ac_ext=c
52152 ac_cpp='$CPP $CPPFLAGS'
52153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
52162 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
52164 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
52165 for ac_func in _isnanf
52166 do :
52167 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
52168 if test "x$ac_cv_func__isnanf" = x""yes; then :
52169 cat >>confdefs.h <<_ACEOF
52170 #define HAVE__ISNANF 1
52171 _ACEOF
52174 done
52183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
52184 $as_echo_n "checking for isinff declaration... " >&6; }
52185 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
52186 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
52187 $as_echo_n "(cached) " >&6
52188 else
52191 ac_ext=cpp
52192 ac_cpp='$CXXCPP $CPPFLAGS'
52193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52198 /* end confdefs.h. */
52199 #include <math.h>
52200 #ifdef HAVE_IEEEFP_H
52201 #include <ieeefp.h>
52202 #endif
52205 main ()
52207 isinff(0);
52209 return 0;
52211 _ACEOF
52212 if ac_fn_cxx_try_compile "$LINENO"; then :
52213 glibcxx_cv_func_isinff_use=yes
52214 else
52215 glibcxx_cv_func_isinff_use=no
52217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52218 ac_ext=c
52219 ac_cpp='$CPP $CPPFLAGS'
52220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
52229 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
52231 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
52232 for ac_func in isinff
52233 do :
52234 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
52235 if test "x$ac_cv_func_isinff" = x""yes; then :
52236 cat >>confdefs.h <<_ACEOF
52237 #define HAVE_ISINFF 1
52238 _ACEOF
52241 done
52243 else
52245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
52246 $as_echo_n "checking for _isinff declaration... " >&6; }
52247 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
52248 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
52249 $as_echo_n "(cached) " >&6
52250 else
52253 ac_ext=cpp
52254 ac_cpp='$CXXCPP $CPPFLAGS'
52255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52260 /* end confdefs.h. */
52261 #include <math.h>
52262 #ifdef HAVE_IEEEFP_H
52263 #include <ieeefp.h>
52264 #endif
52267 main ()
52269 _isinff(0);
52271 return 0;
52273 _ACEOF
52274 if ac_fn_cxx_try_compile "$LINENO"; then :
52275 glibcxx_cv_func__isinff_use=yes
52276 else
52277 glibcxx_cv_func__isinff_use=no
52279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52280 ac_ext=c
52281 ac_cpp='$CPP $CPPFLAGS'
52282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
52291 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
52293 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
52294 for ac_func in _isinff
52295 do :
52296 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
52297 if test "x$ac_cv_func__isinff" = x""yes; then :
52298 cat >>confdefs.h <<_ACEOF
52299 #define HAVE__ISINFF 1
52300 _ACEOF
52303 done
52312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
52313 $as_echo_n "checking for atan2f declaration... " >&6; }
52314 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
52315 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
52316 $as_echo_n "(cached) " >&6
52317 else
52320 ac_ext=cpp
52321 ac_cpp='$CXXCPP $CPPFLAGS'
52322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52327 /* end confdefs.h. */
52328 #include <math.h>
52330 main ()
52332 atan2f(0, 0);
52334 return 0;
52336 _ACEOF
52337 if ac_fn_cxx_try_compile "$LINENO"; then :
52338 glibcxx_cv_func_atan2f_use=yes
52339 else
52340 glibcxx_cv_func_atan2f_use=no
52342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52343 ac_ext=c
52344 ac_cpp='$CPP $CPPFLAGS'
52345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
52354 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
52356 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
52357 for ac_func in atan2f
52358 do :
52359 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
52360 if test "x$ac_cv_func_atan2f" = x""yes; then :
52361 cat >>confdefs.h <<_ACEOF
52362 #define HAVE_ATAN2F 1
52363 _ACEOF
52366 done
52368 else
52370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
52371 $as_echo_n "checking for _atan2f declaration... " >&6; }
52372 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
52373 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
52374 $as_echo_n "(cached) " >&6
52375 else
52378 ac_ext=cpp
52379 ac_cpp='$CXXCPP $CPPFLAGS'
52380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52385 /* end confdefs.h. */
52386 #include <math.h>
52388 main ()
52390 _atan2f(0, 0);
52392 return 0;
52394 _ACEOF
52395 if ac_fn_cxx_try_compile "$LINENO"; then :
52396 glibcxx_cv_func__atan2f_use=yes
52397 else
52398 glibcxx_cv_func__atan2f_use=no
52400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52401 ac_ext=c
52402 ac_cpp='$CPP $CPPFLAGS'
52403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
52412 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
52414 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
52415 for ac_func in _atan2f
52416 do :
52417 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
52418 if test "x$ac_cv_func__atan2f" = x""yes; then :
52419 cat >>confdefs.h <<_ACEOF
52420 #define HAVE__ATAN2F 1
52421 _ACEOF
52424 done
52433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
52434 $as_echo_n "checking for fabsf declaration... " >&6; }
52435 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
52436 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
52437 $as_echo_n "(cached) " >&6
52438 else
52441 ac_ext=cpp
52442 ac_cpp='$CXXCPP $CPPFLAGS'
52443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52448 /* end confdefs.h. */
52449 #include <math.h>
52450 #ifdef HAVE_IEEEFP_H
52451 #include <ieeefp.h>
52452 #endif
52455 main ()
52457 fabsf(0);
52459 return 0;
52461 _ACEOF
52462 if ac_fn_cxx_try_compile "$LINENO"; then :
52463 glibcxx_cv_func_fabsf_use=yes
52464 else
52465 glibcxx_cv_func_fabsf_use=no
52467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52468 ac_ext=c
52469 ac_cpp='$CPP $CPPFLAGS'
52470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
52479 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
52481 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
52482 for ac_func in fabsf
52483 do :
52484 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
52485 if test "x$ac_cv_func_fabsf" = x""yes; then :
52486 cat >>confdefs.h <<_ACEOF
52487 #define HAVE_FABSF 1
52488 _ACEOF
52491 done
52493 else
52495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
52496 $as_echo_n "checking for _fabsf declaration... " >&6; }
52497 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
52498 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
52499 $as_echo_n "(cached) " >&6
52500 else
52503 ac_ext=cpp
52504 ac_cpp='$CXXCPP $CPPFLAGS'
52505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52510 /* end confdefs.h. */
52511 #include <math.h>
52512 #ifdef HAVE_IEEEFP_H
52513 #include <ieeefp.h>
52514 #endif
52517 main ()
52519 _fabsf(0);
52521 return 0;
52523 _ACEOF
52524 if ac_fn_cxx_try_compile "$LINENO"; then :
52525 glibcxx_cv_func__fabsf_use=yes
52526 else
52527 glibcxx_cv_func__fabsf_use=no
52529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52530 ac_ext=c
52531 ac_cpp='$CPP $CPPFLAGS'
52532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
52541 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
52543 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
52544 for ac_func in _fabsf
52545 do :
52546 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
52547 if test "x$ac_cv_func__fabsf" = x""yes; then :
52548 cat >>confdefs.h <<_ACEOF
52549 #define HAVE__FABSF 1
52550 _ACEOF
52553 done
52562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
52563 $as_echo_n "checking for fmodf declaration... " >&6; }
52564 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
52565 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
52566 $as_echo_n "(cached) " >&6
52567 else
52570 ac_ext=cpp
52571 ac_cpp='$CXXCPP $CPPFLAGS'
52572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52577 /* end confdefs.h. */
52578 #include <math.h>
52580 main ()
52582 fmodf(0, 0);
52584 return 0;
52586 _ACEOF
52587 if ac_fn_cxx_try_compile "$LINENO"; then :
52588 glibcxx_cv_func_fmodf_use=yes
52589 else
52590 glibcxx_cv_func_fmodf_use=no
52592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52593 ac_ext=c
52594 ac_cpp='$CPP $CPPFLAGS'
52595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
52604 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
52606 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
52607 for ac_func in fmodf
52608 do :
52609 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
52610 if test "x$ac_cv_func_fmodf" = x""yes; then :
52611 cat >>confdefs.h <<_ACEOF
52612 #define HAVE_FMODF 1
52613 _ACEOF
52616 done
52618 else
52620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
52621 $as_echo_n "checking for _fmodf declaration... " >&6; }
52622 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
52623 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
52624 $as_echo_n "(cached) " >&6
52625 else
52628 ac_ext=cpp
52629 ac_cpp='$CXXCPP $CPPFLAGS'
52630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52635 /* end confdefs.h. */
52636 #include <math.h>
52638 main ()
52640 _fmodf(0, 0);
52642 return 0;
52644 _ACEOF
52645 if ac_fn_cxx_try_compile "$LINENO"; then :
52646 glibcxx_cv_func__fmodf_use=yes
52647 else
52648 glibcxx_cv_func__fmodf_use=no
52650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52651 ac_ext=c
52652 ac_cpp='$CPP $CPPFLAGS'
52653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
52662 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
52664 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
52665 for ac_func in _fmodf
52666 do :
52667 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
52668 if test "x$ac_cv_func__fmodf" = x""yes; then :
52669 cat >>confdefs.h <<_ACEOF
52670 #define HAVE__FMODF 1
52671 _ACEOF
52674 done
52683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
52684 $as_echo_n "checking for frexpf declaration... " >&6; }
52685 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
52686 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
52687 $as_echo_n "(cached) " >&6
52688 else
52691 ac_ext=cpp
52692 ac_cpp='$CXXCPP $CPPFLAGS'
52693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52698 /* end confdefs.h. */
52699 #include <math.h>
52701 main ()
52703 frexpf(0, 0);
52705 return 0;
52707 _ACEOF
52708 if ac_fn_cxx_try_compile "$LINENO"; then :
52709 glibcxx_cv_func_frexpf_use=yes
52710 else
52711 glibcxx_cv_func_frexpf_use=no
52713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52714 ac_ext=c
52715 ac_cpp='$CPP $CPPFLAGS'
52716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
52725 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
52727 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
52728 for ac_func in frexpf
52729 do :
52730 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
52731 if test "x$ac_cv_func_frexpf" = x""yes; then :
52732 cat >>confdefs.h <<_ACEOF
52733 #define HAVE_FREXPF 1
52734 _ACEOF
52737 done
52739 else
52741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
52742 $as_echo_n "checking for _frexpf declaration... " >&6; }
52743 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
52744 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
52745 $as_echo_n "(cached) " >&6
52746 else
52749 ac_ext=cpp
52750 ac_cpp='$CXXCPP $CPPFLAGS'
52751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52756 /* end confdefs.h. */
52757 #include <math.h>
52759 main ()
52761 _frexpf(0, 0);
52763 return 0;
52765 _ACEOF
52766 if ac_fn_cxx_try_compile "$LINENO"; then :
52767 glibcxx_cv_func__frexpf_use=yes
52768 else
52769 glibcxx_cv_func__frexpf_use=no
52771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52772 ac_ext=c
52773 ac_cpp='$CPP $CPPFLAGS'
52774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
52783 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
52785 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
52786 for ac_func in _frexpf
52787 do :
52788 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
52789 if test "x$ac_cv_func__frexpf" = x""yes; then :
52790 cat >>confdefs.h <<_ACEOF
52791 #define HAVE__FREXPF 1
52792 _ACEOF
52795 done
52804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
52805 $as_echo_n "checking for hypotf declaration... " >&6; }
52806 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
52807 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
52808 $as_echo_n "(cached) " >&6
52809 else
52812 ac_ext=cpp
52813 ac_cpp='$CXXCPP $CPPFLAGS'
52814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52819 /* end confdefs.h. */
52820 #include <math.h>
52822 main ()
52824 hypotf(0, 0);
52826 return 0;
52828 _ACEOF
52829 if ac_fn_cxx_try_compile "$LINENO"; then :
52830 glibcxx_cv_func_hypotf_use=yes
52831 else
52832 glibcxx_cv_func_hypotf_use=no
52834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52835 ac_ext=c
52836 ac_cpp='$CPP $CPPFLAGS'
52837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
52846 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
52848 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
52849 for ac_func in hypotf
52850 do :
52851 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
52852 if test "x$ac_cv_func_hypotf" = x""yes; then :
52853 cat >>confdefs.h <<_ACEOF
52854 #define HAVE_HYPOTF 1
52855 _ACEOF
52858 done
52860 else
52862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
52863 $as_echo_n "checking for _hypotf declaration... " >&6; }
52864 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
52865 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
52866 $as_echo_n "(cached) " >&6
52867 else
52870 ac_ext=cpp
52871 ac_cpp='$CXXCPP $CPPFLAGS'
52872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52877 /* end confdefs.h. */
52878 #include <math.h>
52880 main ()
52882 _hypotf(0, 0);
52884 return 0;
52886 _ACEOF
52887 if ac_fn_cxx_try_compile "$LINENO"; then :
52888 glibcxx_cv_func__hypotf_use=yes
52889 else
52890 glibcxx_cv_func__hypotf_use=no
52892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52893 ac_ext=c
52894 ac_cpp='$CPP $CPPFLAGS'
52895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
52904 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
52906 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
52907 for ac_func in _hypotf
52908 do :
52909 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
52910 if test "x$ac_cv_func__hypotf" = x""yes; then :
52911 cat >>confdefs.h <<_ACEOF
52912 #define HAVE__HYPOTF 1
52913 _ACEOF
52916 done
52925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
52926 $as_echo_n "checking for ldexpf declaration... " >&6; }
52927 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
52928 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
52929 $as_echo_n "(cached) " >&6
52930 else
52933 ac_ext=cpp
52934 ac_cpp='$CXXCPP $CPPFLAGS'
52935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52940 /* end confdefs.h. */
52941 #include <math.h>
52943 main ()
52945 ldexpf(0, 0);
52947 return 0;
52949 _ACEOF
52950 if ac_fn_cxx_try_compile "$LINENO"; then :
52951 glibcxx_cv_func_ldexpf_use=yes
52952 else
52953 glibcxx_cv_func_ldexpf_use=no
52955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52956 ac_ext=c
52957 ac_cpp='$CPP $CPPFLAGS'
52958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
52967 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
52969 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
52970 for ac_func in ldexpf
52971 do :
52972 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
52973 if test "x$ac_cv_func_ldexpf" = x""yes; then :
52974 cat >>confdefs.h <<_ACEOF
52975 #define HAVE_LDEXPF 1
52976 _ACEOF
52979 done
52981 else
52983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
52984 $as_echo_n "checking for _ldexpf declaration... " >&6; }
52985 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
52986 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
52987 $as_echo_n "(cached) " >&6
52988 else
52991 ac_ext=cpp
52992 ac_cpp='$CXXCPP $CPPFLAGS'
52993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52998 /* end confdefs.h. */
52999 #include <math.h>
53001 main ()
53003 _ldexpf(0, 0);
53005 return 0;
53007 _ACEOF
53008 if ac_fn_cxx_try_compile "$LINENO"; then :
53009 glibcxx_cv_func__ldexpf_use=yes
53010 else
53011 glibcxx_cv_func__ldexpf_use=no
53013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53014 ac_ext=c
53015 ac_cpp='$CPP $CPPFLAGS'
53016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
53025 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
53027 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
53028 for ac_func in _ldexpf
53029 do :
53030 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
53031 if test "x$ac_cv_func__ldexpf" = x""yes; then :
53032 cat >>confdefs.h <<_ACEOF
53033 #define HAVE__LDEXPF 1
53034 _ACEOF
53037 done
53046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
53047 $as_echo_n "checking for logf declaration... " >&6; }
53048 if test x${glibcxx_cv_func_logf_use+set} != xset; then
53049 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
53050 $as_echo_n "(cached) " >&6
53051 else
53054 ac_ext=cpp
53055 ac_cpp='$CXXCPP $CPPFLAGS'
53056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53061 /* end confdefs.h. */
53062 #include <math.h>
53063 #ifdef HAVE_IEEEFP_H
53064 #include <ieeefp.h>
53065 #endif
53068 main ()
53070 logf(0);
53072 return 0;
53074 _ACEOF
53075 if ac_fn_cxx_try_compile "$LINENO"; then :
53076 glibcxx_cv_func_logf_use=yes
53077 else
53078 glibcxx_cv_func_logf_use=no
53080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53081 ac_ext=c
53082 ac_cpp='$CPP $CPPFLAGS'
53083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
53092 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
53094 if test x$glibcxx_cv_func_logf_use = x"yes"; then
53095 for ac_func in logf
53096 do :
53097 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
53098 if test "x$ac_cv_func_logf" = x""yes; then :
53099 cat >>confdefs.h <<_ACEOF
53100 #define HAVE_LOGF 1
53101 _ACEOF
53104 done
53106 else
53108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
53109 $as_echo_n "checking for _logf declaration... " >&6; }
53110 if test x${glibcxx_cv_func__logf_use+set} != xset; then
53111 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
53112 $as_echo_n "(cached) " >&6
53113 else
53116 ac_ext=cpp
53117 ac_cpp='$CXXCPP $CPPFLAGS'
53118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53123 /* end confdefs.h. */
53124 #include <math.h>
53125 #ifdef HAVE_IEEEFP_H
53126 #include <ieeefp.h>
53127 #endif
53130 main ()
53132 _logf(0);
53134 return 0;
53136 _ACEOF
53137 if ac_fn_cxx_try_compile "$LINENO"; then :
53138 glibcxx_cv_func__logf_use=yes
53139 else
53140 glibcxx_cv_func__logf_use=no
53142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53143 ac_ext=c
53144 ac_cpp='$CPP $CPPFLAGS'
53145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
53154 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
53156 if test x$glibcxx_cv_func__logf_use = x"yes"; then
53157 for ac_func in _logf
53158 do :
53159 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
53160 if test "x$ac_cv_func__logf" = x""yes; then :
53161 cat >>confdefs.h <<_ACEOF
53162 #define HAVE__LOGF 1
53163 _ACEOF
53166 done
53175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
53176 $as_echo_n "checking for log10f declaration... " >&6; }
53177 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
53178 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
53179 $as_echo_n "(cached) " >&6
53180 else
53183 ac_ext=cpp
53184 ac_cpp='$CXXCPP $CPPFLAGS'
53185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53190 /* end confdefs.h. */
53191 #include <math.h>
53192 #ifdef HAVE_IEEEFP_H
53193 #include <ieeefp.h>
53194 #endif
53197 main ()
53199 log10f(0);
53201 return 0;
53203 _ACEOF
53204 if ac_fn_cxx_try_compile "$LINENO"; then :
53205 glibcxx_cv_func_log10f_use=yes
53206 else
53207 glibcxx_cv_func_log10f_use=no
53209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53210 ac_ext=c
53211 ac_cpp='$CPP $CPPFLAGS'
53212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
53221 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
53223 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
53224 for ac_func in log10f
53225 do :
53226 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
53227 if test "x$ac_cv_func_log10f" = x""yes; then :
53228 cat >>confdefs.h <<_ACEOF
53229 #define HAVE_LOG10F 1
53230 _ACEOF
53233 done
53235 else
53237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
53238 $as_echo_n "checking for _log10f declaration... " >&6; }
53239 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
53240 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
53241 $as_echo_n "(cached) " >&6
53242 else
53245 ac_ext=cpp
53246 ac_cpp='$CXXCPP $CPPFLAGS'
53247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53252 /* end confdefs.h. */
53253 #include <math.h>
53254 #ifdef HAVE_IEEEFP_H
53255 #include <ieeefp.h>
53256 #endif
53259 main ()
53261 _log10f(0);
53263 return 0;
53265 _ACEOF
53266 if ac_fn_cxx_try_compile "$LINENO"; then :
53267 glibcxx_cv_func__log10f_use=yes
53268 else
53269 glibcxx_cv_func__log10f_use=no
53271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53272 ac_ext=c
53273 ac_cpp='$CPP $CPPFLAGS'
53274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
53283 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
53285 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
53286 for ac_func in _log10f
53287 do :
53288 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
53289 if test "x$ac_cv_func__log10f" = x""yes; then :
53290 cat >>confdefs.h <<_ACEOF
53291 #define HAVE__LOG10F 1
53292 _ACEOF
53295 done
53304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
53305 $as_echo_n "checking for modff declaration... " >&6; }
53306 if test x${glibcxx_cv_func_modff_use+set} != xset; then
53307 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
53308 $as_echo_n "(cached) " >&6
53309 else
53312 ac_ext=cpp
53313 ac_cpp='$CXXCPP $CPPFLAGS'
53314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53319 /* end confdefs.h. */
53320 #include <math.h>
53322 main ()
53324 modff(0, 0);
53326 return 0;
53328 _ACEOF
53329 if ac_fn_cxx_try_compile "$LINENO"; then :
53330 glibcxx_cv_func_modff_use=yes
53331 else
53332 glibcxx_cv_func_modff_use=no
53334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53335 ac_ext=c
53336 ac_cpp='$CPP $CPPFLAGS'
53337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
53346 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
53348 if test x$glibcxx_cv_func_modff_use = x"yes"; then
53349 for ac_func in modff
53350 do :
53351 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
53352 if test "x$ac_cv_func_modff" = x""yes; then :
53353 cat >>confdefs.h <<_ACEOF
53354 #define HAVE_MODFF 1
53355 _ACEOF
53358 done
53360 else
53362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
53363 $as_echo_n "checking for _modff declaration... " >&6; }
53364 if test x${glibcxx_cv_func__modff_use+set} != xset; then
53365 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
53366 $as_echo_n "(cached) " >&6
53367 else
53370 ac_ext=cpp
53371 ac_cpp='$CXXCPP $CPPFLAGS'
53372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53377 /* end confdefs.h. */
53378 #include <math.h>
53380 main ()
53382 _modff(0, 0);
53384 return 0;
53386 _ACEOF
53387 if ac_fn_cxx_try_compile "$LINENO"; then :
53388 glibcxx_cv_func__modff_use=yes
53389 else
53390 glibcxx_cv_func__modff_use=no
53392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53393 ac_ext=c
53394 ac_cpp='$CPP $CPPFLAGS'
53395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
53404 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
53406 if test x$glibcxx_cv_func__modff_use = x"yes"; then
53407 for ac_func in _modff
53408 do :
53409 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
53410 if test "x$ac_cv_func__modff" = x""yes; then :
53411 cat >>confdefs.h <<_ACEOF
53412 #define HAVE__MODFF 1
53413 _ACEOF
53416 done
53425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
53426 $as_echo_n "checking for modf declaration... " >&6; }
53427 if test x${glibcxx_cv_func_modf_use+set} != xset; then
53428 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
53429 $as_echo_n "(cached) " >&6
53430 else
53433 ac_ext=cpp
53434 ac_cpp='$CXXCPP $CPPFLAGS'
53435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53440 /* end confdefs.h. */
53441 #include <math.h>
53443 main ()
53445 modf(0, 0);
53447 return 0;
53449 _ACEOF
53450 if ac_fn_cxx_try_compile "$LINENO"; then :
53451 glibcxx_cv_func_modf_use=yes
53452 else
53453 glibcxx_cv_func_modf_use=no
53455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53456 ac_ext=c
53457 ac_cpp='$CPP $CPPFLAGS'
53458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
53467 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
53469 if test x$glibcxx_cv_func_modf_use = x"yes"; then
53470 for ac_func in modf
53471 do :
53472 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
53473 if test "x$ac_cv_func_modf" = x""yes; then :
53474 cat >>confdefs.h <<_ACEOF
53475 #define HAVE_MODF 1
53476 _ACEOF
53479 done
53481 else
53483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
53484 $as_echo_n "checking for _modf declaration... " >&6; }
53485 if test x${glibcxx_cv_func__modf_use+set} != xset; then
53486 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
53487 $as_echo_n "(cached) " >&6
53488 else
53491 ac_ext=cpp
53492 ac_cpp='$CXXCPP $CPPFLAGS'
53493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53498 /* end confdefs.h. */
53499 #include <math.h>
53501 main ()
53503 _modf(0, 0);
53505 return 0;
53507 _ACEOF
53508 if ac_fn_cxx_try_compile "$LINENO"; then :
53509 glibcxx_cv_func__modf_use=yes
53510 else
53511 glibcxx_cv_func__modf_use=no
53513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53514 ac_ext=c
53515 ac_cpp='$CPP $CPPFLAGS'
53516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
53525 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
53527 if test x$glibcxx_cv_func__modf_use = x"yes"; then
53528 for ac_func in _modf
53529 do :
53530 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
53531 if test "x$ac_cv_func__modf" = x""yes; then :
53532 cat >>confdefs.h <<_ACEOF
53533 #define HAVE__MODF 1
53534 _ACEOF
53537 done
53546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
53547 $as_echo_n "checking for powf declaration... " >&6; }
53548 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53549 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
53550 $as_echo_n "(cached) " >&6
53551 else
53554 ac_ext=cpp
53555 ac_cpp='$CXXCPP $CPPFLAGS'
53556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53561 /* end confdefs.h. */
53562 #include <math.h>
53564 main ()
53566 powf(0, 0);
53568 return 0;
53570 _ACEOF
53571 if ac_fn_cxx_try_compile "$LINENO"; then :
53572 glibcxx_cv_func_powf_use=yes
53573 else
53574 glibcxx_cv_func_powf_use=no
53576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53577 ac_ext=c
53578 ac_cpp='$CPP $CPPFLAGS'
53579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
53588 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
53590 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53591 for ac_func in powf
53592 do :
53593 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
53594 if test "x$ac_cv_func_powf" = x""yes; then :
53595 cat >>confdefs.h <<_ACEOF
53596 #define HAVE_POWF 1
53597 _ACEOF
53600 done
53602 else
53604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
53605 $as_echo_n "checking for _powf declaration... " >&6; }
53606 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53607 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
53608 $as_echo_n "(cached) " >&6
53609 else
53612 ac_ext=cpp
53613 ac_cpp='$CXXCPP $CPPFLAGS'
53614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53619 /* end confdefs.h. */
53620 #include <math.h>
53622 main ()
53624 _powf(0, 0);
53626 return 0;
53628 _ACEOF
53629 if ac_fn_cxx_try_compile "$LINENO"; then :
53630 glibcxx_cv_func__powf_use=yes
53631 else
53632 glibcxx_cv_func__powf_use=no
53634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53635 ac_ext=c
53636 ac_cpp='$CPP $CPPFLAGS'
53637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
53646 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
53648 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53649 for ac_func in _powf
53650 do :
53651 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
53652 if test "x$ac_cv_func__powf" = x""yes; then :
53653 cat >>confdefs.h <<_ACEOF
53654 #define HAVE__POWF 1
53655 _ACEOF
53658 done
53667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
53668 $as_echo_n "checking for sqrtf declaration... " >&6; }
53669 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53670 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
53671 $as_echo_n "(cached) " >&6
53672 else
53675 ac_ext=cpp
53676 ac_cpp='$CXXCPP $CPPFLAGS'
53677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53682 /* end confdefs.h. */
53683 #include <math.h>
53684 #ifdef HAVE_IEEEFP_H
53685 #include <ieeefp.h>
53686 #endif
53689 main ()
53691 sqrtf(0);
53693 return 0;
53695 _ACEOF
53696 if ac_fn_cxx_try_compile "$LINENO"; then :
53697 glibcxx_cv_func_sqrtf_use=yes
53698 else
53699 glibcxx_cv_func_sqrtf_use=no
53701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53702 ac_ext=c
53703 ac_cpp='$CPP $CPPFLAGS'
53704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
53713 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
53715 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53716 for ac_func in sqrtf
53717 do :
53718 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
53719 if test "x$ac_cv_func_sqrtf" = x""yes; then :
53720 cat >>confdefs.h <<_ACEOF
53721 #define HAVE_SQRTF 1
53722 _ACEOF
53725 done
53727 else
53729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
53730 $as_echo_n "checking for _sqrtf declaration... " >&6; }
53731 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53732 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
53733 $as_echo_n "(cached) " >&6
53734 else
53737 ac_ext=cpp
53738 ac_cpp='$CXXCPP $CPPFLAGS'
53739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53744 /* end confdefs.h. */
53745 #include <math.h>
53746 #ifdef HAVE_IEEEFP_H
53747 #include <ieeefp.h>
53748 #endif
53751 main ()
53753 _sqrtf(0);
53755 return 0;
53757 _ACEOF
53758 if ac_fn_cxx_try_compile "$LINENO"; then :
53759 glibcxx_cv_func__sqrtf_use=yes
53760 else
53761 glibcxx_cv_func__sqrtf_use=no
53763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53764 ac_ext=c
53765 ac_cpp='$CPP $CPPFLAGS'
53766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
53775 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
53777 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53778 for ac_func in _sqrtf
53779 do :
53780 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
53781 if test "x$ac_cv_func__sqrtf" = x""yes; then :
53782 cat >>confdefs.h <<_ACEOF
53783 #define HAVE__SQRTF 1
53784 _ACEOF
53787 done
53796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
53797 $as_echo_n "checking for sincosf declaration... " >&6; }
53798 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53799 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
53800 $as_echo_n "(cached) " >&6
53801 else
53804 ac_ext=cpp
53805 ac_cpp='$CXXCPP $CPPFLAGS'
53806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53811 /* end confdefs.h. */
53812 #include <math.h>
53814 main ()
53816 sincosf(0, 0, 0);
53818 return 0;
53820 _ACEOF
53821 if ac_fn_cxx_try_compile "$LINENO"; then :
53822 glibcxx_cv_func_sincosf_use=yes
53823 else
53824 glibcxx_cv_func_sincosf_use=no
53826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53827 ac_ext=c
53828 ac_cpp='$CPP $CPPFLAGS'
53829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
53838 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
53840 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53841 for ac_func in sincosf
53842 do :
53843 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
53844 if test "x$ac_cv_func_sincosf" = x""yes; then :
53845 cat >>confdefs.h <<_ACEOF
53846 #define HAVE_SINCOSF 1
53847 _ACEOF
53850 done
53852 else
53854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
53855 $as_echo_n "checking for _sincosf declaration... " >&6; }
53856 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53857 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
53858 $as_echo_n "(cached) " >&6
53859 else
53862 ac_ext=cpp
53863 ac_cpp='$CXXCPP $CPPFLAGS'
53864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53869 /* end confdefs.h. */
53870 #include <math.h>
53872 main ()
53874 _sincosf(0, 0, 0);
53876 return 0;
53878 _ACEOF
53879 if ac_fn_cxx_try_compile "$LINENO"; then :
53880 glibcxx_cv_func__sincosf_use=yes
53881 else
53882 glibcxx_cv_func__sincosf_use=no
53884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53885 ac_ext=c
53886 ac_cpp='$CPP $CPPFLAGS'
53887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
53896 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
53898 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
53899 for ac_func in _sincosf
53900 do :
53901 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
53902 if test "x$ac_cv_func__sincosf" = x""yes; then :
53903 cat >>confdefs.h <<_ACEOF
53904 #define HAVE__SINCOSF 1
53905 _ACEOF
53908 done
53917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
53918 $as_echo_n "checking for finitef declaration... " >&6; }
53919 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
53920 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
53921 $as_echo_n "(cached) " >&6
53922 else
53925 ac_ext=cpp
53926 ac_cpp='$CXXCPP $CPPFLAGS'
53927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53932 /* end confdefs.h. */
53933 #include <math.h>
53934 #ifdef HAVE_IEEEFP_H
53935 #include <ieeefp.h>
53936 #endif
53939 main ()
53941 finitef(0);
53943 return 0;
53945 _ACEOF
53946 if ac_fn_cxx_try_compile "$LINENO"; then :
53947 glibcxx_cv_func_finitef_use=yes
53948 else
53949 glibcxx_cv_func_finitef_use=no
53951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53952 ac_ext=c
53953 ac_cpp='$CPP $CPPFLAGS'
53954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
53963 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
53965 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
53966 for ac_func in finitef
53967 do :
53968 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
53969 if test "x$ac_cv_func_finitef" = x""yes; then :
53970 cat >>confdefs.h <<_ACEOF
53971 #define HAVE_FINITEF 1
53972 _ACEOF
53975 done
53977 else
53979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
53980 $as_echo_n "checking for _finitef declaration... " >&6; }
53981 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
53982 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
53983 $as_echo_n "(cached) " >&6
53984 else
53987 ac_ext=cpp
53988 ac_cpp='$CXXCPP $CPPFLAGS'
53989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53994 /* end confdefs.h. */
53995 #include <math.h>
53996 #ifdef HAVE_IEEEFP_H
53997 #include <ieeefp.h>
53998 #endif
54001 main ()
54003 _finitef(0);
54005 return 0;
54007 _ACEOF
54008 if ac_fn_cxx_try_compile "$LINENO"; then :
54009 glibcxx_cv_func__finitef_use=yes
54010 else
54011 glibcxx_cv_func__finitef_use=no
54013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54014 ac_ext=c
54015 ac_cpp='$CPP $CPPFLAGS'
54016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
54025 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
54027 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54028 for ac_func in _finitef
54029 do :
54030 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
54031 if test "x$ac_cv_func__finitef" = x""yes; then :
54032 cat >>confdefs.h <<_ACEOF
54033 #define HAVE__FINITEF 1
54034 _ACEOF
54037 done
54046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
54047 $as_echo_n "checking for long double trig functions... " >&6; }
54048 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
54049 $as_echo_n "(cached) " >&6
54050 else
54053 ac_ext=cpp
54054 ac_cpp='$CXXCPP $CPPFLAGS'
54055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54060 /* end confdefs.h. */
54061 #include <math.h>
54063 main ()
54065 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54067 return 0;
54069 _ACEOF
54070 if ac_fn_cxx_try_compile "$LINENO"; then :
54071 glibcxx_cv_func_long_double_trig_use=yes
54072 else
54073 glibcxx_cv_func_long_double_trig_use=no
54075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54076 ac_ext=c
54077 ac_cpp='$CPP $CPPFLAGS'
54078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
54085 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
54086 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54087 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54088 do :
54089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54091 eval as_val=\$$as_ac_var
54092 if test "x$as_val" = x""yes; then :
54093 cat >>confdefs.h <<_ACEOF
54094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54095 _ACEOF
54098 done
54100 else
54101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
54102 $as_echo_n "checking for _long double trig functions... " >&6; }
54103 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
54104 $as_echo_n "(cached) " >&6
54105 else
54108 ac_ext=cpp
54109 ac_cpp='$CXXCPP $CPPFLAGS'
54110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54115 /* end confdefs.h. */
54116 #include <math.h>
54118 main ()
54120 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54122 return 0;
54124 _ACEOF
54125 if ac_fn_cxx_try_compile "$LINENO"; then :
54126 glibcxx_cv_func__long_double_trig_use=yes
54127 else
54128 glibcxx_cv_func__long_double_trig_use=no
54130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54131 ac_ext=c
54132 ac_cpp='$CPP $CPPFLAGS'
54133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
54140 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
54141 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54142 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54143 do :
54144 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54145 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54146 eval as_val=\$$as_ac_var
54147 if test "x$as_val" = x""yes; then :
54148 cat >>confdefs.h <<_ACEOF
54149 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54150 _ACEOF
54153 done
54162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
54163 $as_echo_n "checking for long double round functions... " >&6; }
54164 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
54165 $as_echo_n "(cached) " >&6
54166 else
54169 ac_ext=cpp
54170 ac_cpp='$CXXCPP $CPPFLAGS'
54171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54176 /* end confdefs.h. */
54177 #include <math.h>
54179 main ()
54181 ceill (0); floorl (0);
54183 return 0;
54185 _ACEOF
54186 if ac_fn_cxx_try_compile "$LINENO"; then :
54187 glibcxx_cv_func_long_double_round_use=yes
54188 else
54189 glibcxx_cv_func_long_double_round_use=no
54191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54192 ac_ext=c
54193 ac_cpp='$CPP $CPPFLAGS'
54194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
54201 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
54202 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
54203 for ac_func in ceill floorl
54204 do :
54205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54207 eval as_val=\$$as_ac_var
54208 if test "x$as_val" = x""yes; then :
54209 cat >>confdefs.h <<_ACEOF
54210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54211 _ACEOF
54214 done
54216 else
54217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
54218 $as_echo_n "checking for _long double round functions... " >&6; }
54219 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
54220 $as_echo_n "(cached) " >&6
54221 else
54224 ac_ext=cpp
54225 ac_cpp='$CXXCPP $CPPFLAGS'
54226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54231 /* end confdefs.h. */
54232 #include <math.h>
54234 main ()
54236 _ceill (0); _floorl (0);
54238 return 0;
54240 _ACEOF
54241 if ac_fn_cxx_try_compile "$LINENO"; then :
54242 glibcxx_cv_func__long_double_round_use=yes
54243 else
54244 glibcxx_cv_func__long_double_round_use=no
54246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54247 ac_ext=c
54248 ac_cpp='$CPP $CPPFLAGS'
54249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
54256 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
54257 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
54258 for ac_func in _ceill _floorl
54259 do :
54260 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54261 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54262 eval as_val=\$$as_ac_var
54263 if test "x$as_val" = x""yes; then :
54264 cat >>confdefs.h <<_ACEOF
54265 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54266 _ACEOF
54269 done
54279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
54280 $as_echo_n "checking for isnanl declaration... " >&6; }
54281 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
54282 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
54283 $as_echo_n "(cached) " >&6
54284 else
54287 ac_ext=cpp
54288 ac_cpp='$CXXCPP $CPPFLAGS'
54289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54294 /* end confdefs.h. */
54295 #include <math.h>
54296 #ifdef HAVE_IEEEFP_H
54297 #include <ieeefp.h>
54298 #endif
54301 main ()
54303 isnanl(0);
54305 return 0;
54307 _ACEOF
54308 if ac_fn_cxx_try_compile "$LINENO"; then :
54309 glibcxx_cv_func_isnanl_use=yes
54310 else
54311 glibcxx_cv_func_isnanl_use=no
54313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54314 ac_ext=c
54315 ac_cpp='$CPP $CPPFLAGS'
54316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
54325 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
54327 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
54328 for ac_func in isnanl
54329 do :
54330 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
54331 if test "x$ac_cv_func_isnanl" = x""yes; then :
54332 cat >>confdefs.h <<_ACEOF
54333 #define HAVE_ISNANL 1
54334 _ACEOF
54337 done
54339 else
54341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
54342 $as_echo_n "checking for _isnanl declaration... " >&6; }
54343 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
54344 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
54345 $as_echo_n "(cached) " >&6
54346 else
54349 ac_ext=cpp
54350 ac_cpp='$CXXCPP $CPPFLAGS'
54351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54356 /* end confdefs.h. */
54357 #include <math.h>
54358 #ifdef HAVE_IEEEFP_H
54359 #include <ieeefp.h>
54360 #endif
54363 main ()
54365 _isnanl(0);
54367 return 0;
54369 _ACEOF
54370 if ac_fn_cxx_try_compile "$LINENO"; then :
54371 glibcxx_cv_func__isnanl_use=yes
54372 else
54373 glibcxx_cv_func__isnanl_use=no
54375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54376 ac_ext=c
54377 ac_cpp='$CPP $CPPFLAGS'
54378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
54387 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
54389 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
54390 for ac_func in _isnanl
54391 do :
54392 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
54393 if test "x$ac_cv_func__isnanl" = x""yes; then :
54394 cat >>confdefs.h <<_ACEOF
54395 #define HAVE__ISNANL 1
54396 _ACEOF
54399 done
54408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
54409 $as_echo_n "checking for isinfl declaration... " >&6; }
54410 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
54411 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
54412 $as_echo_n "(cached) " >&6
54413 else
54416 ac_ext=cpp
54417 ac_cpp='$CXXCPP $CPPFLAGS'
54418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54423 /* end confdefs.h. */
54424 #include <math.h>
54425 #ifdef HAVE_IEEEFP_H
54426 #include <ieeefp.h>
54427 #endif
54430 main ()
54432 isinfl(0);
54434 return 0;
54436 _ACEOF
54437 if ac_fn_cxx_try_compile "$LINENO"; then :
54438 glibcxx_cv_func_isinfl_use=yes
54439 else
54440 glibcxx_cv_func_isinfl_use=no
54442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54443 ac_ext=c
54444 ac_cpp='$CPP $CPPFLAGS'
54445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
54454 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
54456 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
54457 for ac_func in isinfl
54458 do :
54459 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
54460 if test "x$ac_cv_func_isinfl" = x""yes; then :
54461 cat >>confdefs.h <<_ACEOF
54462 #define HAVE_ISINFL 1
54463 _ACEOF
54466 done
54468 else
54470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
54471 $as_echo_n "checking for _isinfl declaration... " >&6; }
54472 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
54473 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
54474 $as_echo_n "(cached) " >&6
54475 else
54478 ac_ext=cpp
54479 ac_cpp='$CXXCPP $CPPFLAGS'
54480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54485 /* end confdefs.h. */
54486 #include <math.h>
54487 #ifdef HAVE_IEEEFP_H
54488 #include <ieeefp.h>
54489 #endif
54492 main ()
54494 _isinfl(0);
54496 return 0;
54498 _ACEOF
54499 if ac_fn_cxx_try_compile "$LINENO"; then :
54500 glibcxx_cv_func__isinfl_use=yes
54501 else
54502 glibcxx_cv_func__isinfl_use=no
54504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54505 ac_ext=c
54506 ac_cpp='$CPP $CPPFLAGS'
54507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
54516 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
54518 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
54519 for ac_func in _isinfl
54520 do :
54521 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
54522 if test "x$ac_cv_func__isinfl" = x""yes; then :
54523 cat >>confdefs.h <<_ACEOF
54524 #define HAVE__ISINFL 1
54525 _ACEOF
54528 done
54537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
54538 $as_echo_n "checking for atan2l declaration... " >&6; }
54539 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
54540 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
54541 $as_echo_n "(cached) " >&6
54542 else
54545 ac_ext=cpp
54546 ac_cpp='$CXXCPP $CPPFLAGS'
54547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54552 /* end confdefs.h. */
54553 #include <math.h>
54555 main ()
54557 atan2l(0, 0);
54559 return 0;
54561 _ACEOF
54562 if ac_fn_cxx_try_compile "$LINENO"; then :
54563 glibcxx_cv_func_atan2l_use=yes
54564 else
54565 glibcxx_cv_func_atan2l_use=no
54567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54568 ac_ext=c
54569 ac_cpp='$CPP $CPPFLAGS'
54570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
54579 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
54581 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
54582 for ac_func in atan2l
54583 do :
54584 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
54585 if test "x$ac_cv_func_atan2l" = x""yes; then :
54586 cat >>confdefs.h <<_ACEOF
54587 #define HAVE_ATAN2L 1
54588 _ACEOF
54591 done
54593 else
54595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
54596 $as_echo_n "checking for _atan2l declaration... " >&6; }
54597 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54598 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
54599 $as_echo_n "(cached) " >&6
54600 else
54603 ac_ext=cpp
54604 ac_cpp='$CXXCPP $CPPFLAGS'
54605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54610 /* end confdefs.h. */
54611 #include <math.h>
54613 main ()
54615 _atan2l(0, 0);
54617 return 0;
54619 _ACEOF
54620 if ac_fn_cxx_try_compile "$LINENO"; then :
54621 glibcxx_cv_func__atan2l_use=yes
54622 else
54623 glibcxx_cv_func__atan2l_use=no
54625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54626 ac_ext=c
54627 ac_cpp='$CPP $CPPFLAGS'
54628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
54637 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
54639 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54640 for ac_func in _atan2l
54641 do :
54642 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
54643 if test "x$ac_cv_func__atan2l" = x""yes; then :
54644 cat >>confdefs.h <<_ACEOF
54645 #define HAVE__ATAN2L 1
54646 _ACEOF
54649 done
54658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
54659 $as_echo_n "checking for expl declaration... " >&6; }
54660 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54661 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
54662 $as_echo_n "(cached) " >&6
54663 else
54666 ac_ext=cpp
54667 ac_cpp='$CXXCPP $CPPFLAGS'
54668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54673 /* end confdefs.h. */
54674 #include <math.h>
54675 #ifdef HAVE_IEEEFP_H
54676 #include <ieeefp.h>
54677 #endif
54680 main ()
54682 expl(0);
54684 return 0;
54686 _ACEOF
54687 if ac_fn_cxx_try_compile "$LINENO"; then :
54688 glibcxx_cv_func_expl_use=yes
54689 else
54690 glibcxx_cv_func_expl_use=no
54692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54693 ac_ext=c
54694 ac_cpp='$CPP $CPPFLAGS'
54695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
54704 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
54706 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54707 for ac_func in expl
54708 do :
54709 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
54710 if test "x$ac_cv_func_expl" = x""yes; then :
54711 cat >>confdefs.h <<_ACEOF
54712 #define HAVE_EXPL 1
54713 _ACEOF
54716 done
54718 else
54720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
54721 $as_echo_n "checking for _expl declaration... " >&6; }
54722 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54723 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
54724 $as_echo_n "(cached) " >&6
54725 else
54728 ac_ext=cpp
54729 ac_cpp='$CXXCPP $CPPFLAGS'
54730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54735 /* end confdefs.h. */
54736 #include <math.h>
54737 #ifdef HAVE_IEEEFP_H
54738 #include <ieeefp.h>
54739 #endif
54742 main ()
54744 _expl(0);
54746 return 0;
54748 _ACEOF
54749 if ac_fn_cxx_try_compile "$LINENO"; then :
54750 glibcxx_cv_func__expl_use=yes
54751 else
54752 glibcxx_cv_func__expl_use=no
54754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54755 ac_ext=c
54756 ac_cpp='$CPP $CPPFLAGS'
54757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
54766 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
54768 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54769 for ac_func in _expl
54770 do :
54771 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
54772 if test "x$ac_cv_func__expl" = x""yes; then :
54773 cat >>confdefs.h <<_ACEOF
54774 #define HAVE__EXPL 1
54775 _ACEOF
54778 done
54787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
54788 $as_echo_n "checking for fabsl declaration... " >&6; }
54789 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54790 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
54791 $as_echo_n "(cached) " >&6
54792 else
54795 ac_ext=cpp
54796 ac_cpp='$CXXCPP $CPPFLAGS'
54797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54802 /* end confdefs.h. */
54803 #include <math.h>
54804 #ifdef HAVE_IEEEFP_H
54805 #include <ieeefp.h>
54806 #endif
54809 main ()
54811 fabsl(0);
54813 return 0;
54815 _ACEOF
54816 if ac_fn_cxx_try_compile "$LINENO"; then :
54817 glibcxx_cv_func_fabsl_use=yes
54818 else
54819 glibcxx_cv_func_fabsl_use=no
54821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54822 ac_ext=c
54823 ac_cpp='$CPP $CPPFLAGS'
54824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
54833 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
54835 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54836 for ac_func in fabsl
54837 do :
54838 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
54839 if test "x$ac_cv_func_fabsl" = x""yes; then :
54840 cat >>confdefs.h <<_ACEOF
54841 #define HAVE_FABSL 1
54842 _ACEOF
54845 done
54847 else
54849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
54850 $as_echo_n "checking for _fabsl declaration... " >&6; }
54851 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54852 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
54853 $as_echo_n "(cached) " >&6
54854 else
54857 ac_ext=cpp
54858 ac_cpp='$CXXCPP $CPPFLAGS'
54859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54864 /* end confdefs.h. */
54865 #include <math.h>
54866 #ifdef HAVE_IEEEFP_H
54867 #include <ieeefp.h>
54868 #endif
54871 main ()
54873 _fabsl(0);
54875 return 0;
54877 _ACEOF
54878 if ac_fn_cxx_try_compile "$LINENO"; then :
54879 glibcxx_cv_func__fabsl_use=yes
54880 else
54881 glibcxx_cv_func__fabsl_use=no
54883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54884 ac_ext=c
54885 ac_cpp='$CPP $CPPFLAGS'
54886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
54895 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
54897 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54898 for ac_func in _fabsl
54899 do :
54900 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
54901 if test "x$ac_cv_func__fabsl" = x""yes; then :
54902 cat >>confdefs.h <<_ACEOF
54903 #define HAVE__FABSL 1
54904 _ACEOF
54907 done
54916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
54917 $as_echo_n "checking for fmodl declaration... " >&6; }
54918 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
54919 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
54920 $as_echo_n "(cached) " >&6
54921 else
54924 ac_ext=cpp
54925 ac_cpp='$CXXCPP $CPPFLAGS'
54926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54931 /* end confdefs.h. */
54932 #include <math.h>
54934 main ()
54936 fmodl(0, 0);
54938 return 0;
54940 _ACEOF
54941 if ac_fn_cxx_try_compile "$LINENO"; then :
54942 glibcxx_cv_func_fmodl_use=yes
54943 else
54944 glibcxx_cv_func_fmodl_use=no
54946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54947 ac_ext=c
54948 ac_cpp='$CPP $CPPFLAGS'
54949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
54958 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
54960 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
54961 for ac_func in fmodl
54962 do :
54963 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
54964 if test "x$ac_cv_func_fmodl" = x""yes; then :
54965 cat >>confdefs.h <<_ACEOF
54966 #define HAVE_FMODL 1
54967 _ACEOF
54970 done
54972 else
54974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
54975 $as_echo_n "checking for _fmodl declaration... " >&6; }
54976 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
54977 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
54978 $as_echo_n "(cached) " >&6
54979 else
54982 ac_ext=cpp
54983 ac_cpp='$CXXCPP $CPPFLAGS'
54984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54989 /* end confdefs.h. */
54990 #include <math.h>
54992 main ()
54994 _fmodl(0, 0);
54996 return 0;
54998 _ACEOF
54999 if ac_fn_cxx_try_compile "$LINENO"; then :
55000 glibcxx_cv_func__fmodl_use=yes
55001 else
55002 glibcxx_cv_func__fmodl_use=no
55004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55005 ac_ext=c
55006 ac_cpp='$CPP $CPPFLAGS'
55007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
55016 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
55018 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55019 for ac_func in _fmodl
55020 do :
55021 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
55022 if test "x$ac_cv_func__fmodl" = x""yes; then :
55023 cat >>confdefs.h <<_ACEOF
55024 #define HAVE__FMODL 1
55025 _ACEOF
55028 done
55037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
55038 $as_echo_n "checking for frexpl declaration... " >&6; }
55039 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55040 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
55041 $as_echo_n "(cached) " >&6
55042 else
55045 ac_ext=cpp
55046 ac_cpp='$CXXCPP $CPPFLAGS'
55047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55052 /* end confdefs.h. */
55053 #include <math.h>
55055 main ()
55057 frexpl(0, 0);
55059 return 0;
55061 _ACEOF
55062 if ac_fn_cxx_try_compile "$LINENO"; then :
55063 glibcxx_cv_func_frexpl_use=yes
55064 else
55065 glibcxx_cv_func_frexpl_use=no
55067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55068 ac_ext=c
55069 ac_cpp='$CPP $CPPFLAGS'
55070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
55079 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
55081 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55082 for ac_func in frexpl
55083 do :
55084 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
55085 if test "x$ac_cv_func_frexpl" = x""yes; then :
55086 cat >>confdefs.h <<_ACEOF
55087 #define HAVE_FREXPL 1
55088 _ACEOF
55091 done
55093 else
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
55096 $as_echo_n "checking for _frexpl declaration... " >&6; }
55097 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55098 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
55099 $as_echo_n "(cached) " >&6
55100 else
55103 ac_ext=cpp
55104 ac_cpp='$CXXCPP $CPPFLAGS'
55105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55110 /* end confdefs.h. */
55111 #include <math.h>
55113 main ()
55115 _frexpl(0, 0);
55117 return 0;
55119 _ACEOF
55120 if ac_fn_cxx_try_compile "$LINENO"; then :
55121 glibcxx_cv_func__frexpl_use=yes
55122 else
55123 glibcxx_cv_func__frexpl_use=no
55125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55126 ac_ext=c
55127 ac_cpp='$CPP $CPPFLAGS'
55128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
55137 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
55139 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55140 for ac_func in _frexpl
55141 do :
55142 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
55143 if test "x$ac_cv_func__frexpl" = x""yes; then :
55144 cat >>confdefs.h <<_ACEOF
55145 #define HAVE__FREXPL 1
55146 _ACEOF
55149 done
55158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
55159 $as_echo_n "checking for hypotl declaration... " >&6; }
55160 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55161 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
55162 $as_echo_n "(cached) " >&6
55163 else
55166 ac_ext=cpp
55167 ac_cpp='$CXXCPP $CPPFLAGS'
55168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55173 /* end confdefs.h. */
55174 #include <math.h>
55176 main ()
55178 hypotl(0, 0);
55180 return 0;
55182 _ACEOF
55183 if ac_fn_cxx_try_compile "$LINENO"; then :
55184 glibcxx_cv_func_hypotl_use=yes
55185 else
55186 glibcxx_cv_func_hypotl_use=no
55188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55189 ac_ext=c
55190 ac_cpp='$CPP $CPPFLAGS'
55191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
55200 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
55202 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55203 for ac_func in hypotl
55204 do :
55205 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
55206 if test "x$ac_cv_func_hypotl" = x""yes; then :
55207 cat >>confdefs.h <<_ACEOF
55208 #define HAVE_HYPOTL 1
55209 _ACEOF
55212 done
55214 else
55216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
55217 $as_echo_n "checking for _hypotl declaration... " >&6; }
55218 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55219 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
55220 $as_echo_n "(cached) " >&6
55221 else
55224 ac_ext=cpp
55225 ac_cpp='$CXXCPP $CPPFLAGS'
55226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55231 /* end confdefs.h. */
55232 #include <math.h>
55234 main ()
55236 _hypotl(0, 0);
55238 return 0;
55240 _ACEOF
55241 if ac_fn_cxx_try_compile "$LINENO"; then :
55242 glibcxx_cv_func__hypotl_use=yes
55243 else
55244 glibcxx_cv_func__hypotl_use=no
55246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55247 ac_ext=c
55248 ac_cpp='$CPP $CPPFLAGS'
55249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
55258 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
55260 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
55261 for ac_func in _hypotl
55262 do :
55263 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
55264 if test "x$ac_cv_func__hypotl" = x""yes; then :
55265 cat >>confdefs.h <<_ACEOF
55266 #define HAVE__HYPOTL 1
55267 _ACEOF
55270 done
55279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
55280 $as_echo_n "checking for ldexpl declaration... " >&6; }
55281 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
55282 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
55283 $as_echo_n "(cached) " >&6
55284 else
55287 ac_ext=cpp
55288 ac_cpp='$CXXCPP $CPPFLAGS'
55289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55294 /* end confdefs.h. */
55295 #include <math.h>
55297 main ()
55299 ldexpl(0, 0);
55301 return 0;
55303 _ACEOF
55304 if ac_fn_cxx_try_compile "$LINENO"; then :
55305 glibcxx_cv_func_ldexpl_use=yes
55306 else
55307 glibcxx_cv_func_ldexpl_use=no
55309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55310 ac_ext=c
55311 ac_cpp='$CPP $CPPFLAGS'
55312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
55321 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
55323 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
55324 for ac_func in ldexpl
55325 do :
55326 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
55327 if test "x$ac_cv_func_ldexpl" = x""yes; then :
55328 cat >>confdefs.h <<_ACEOF
55329 #define HAVE_LDEXPL 1
55330 _ACEOF
55333 done
55335 else
55337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
55338 $as_echo_n "checking for _ldexpl declaration... " >&6; }
55339 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
55340 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
55341 $as_echo_n "(cached) " >&6
55342 else
55345 ac_ext=cpp
55346 ac_cpp='$CXXCPP $CPPFLAGS'
55347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55352 /* end confdefs.h. */
55353 #include <math.h>
55355 main ()
55357 _ldexpl(0, 0);
55359 return 0;
55361 _ACEOF
55362 if ac_fn_cxx_try_compile "$LINENO"; then :
55363 glibcxx_cv_func__ldexpl_use=yes
55364 else
55365 glibcxx_cv_func__ldexpl_use=no
55367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55368 ac_ext=c
55369 ac_cpp='$CPP $CPPFLAGS'
55370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
55379 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
55381 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
55382 for ac_func in _ldexpl
55383 do :
55384 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
55385 if test "x$ac_cv_func__ldexpl" = x""yes; then :
55386 cat >>confdefs.h <<_ACEOF
55387 #define HAVE__LDEXPL 1
55388 _ACEOF
55391 done
55400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
55401 $as_echo_n "checking for logl declaration... " >&6; }
55402 if test x${glibcxx_cv_func_logl_use+set} != xset; then
55403 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
55404 $as_echo_n "(cached) " >&6
55405 else
55408 ac_ext=cpp
55409 ac_cpp='$CXXCPP $CPPFLAGS'
55410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55415 /* end confdefs.h. */
55416 #include <math.h>
55417 #ifdef HAVE_IEEEFP_H
55418 #include <ieeefp.h>
55419 #endif
55422 main ()
55424 logl(0);
55426 return 0;
55428 _ACEOF
55429 if ac_fn_cxx_try_compile "$LINENO"; then :
55430 glibcxx_cv_func_logl_use=yes
55431 else
55432 glibcxx_cv_func_logl_use=no
55434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55435 ac_ext=c
55436 ac_cpp='$CPP $CPPFLAGS'
55437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
55446 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
55448 if test x$glibcxx_cv_func_logl_use = x"yes"; then
55449 for ac_func in logl
55450 do :
55451 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
55452 if test "x$ac_cv_func_logl" = x""yes; then :
55453 cat >>confdefs.h <<_ACEOF
55454 #define HAVE_LOGL 1
55455 _ACEOF
55458 done
55460 else
55462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
55463 $as_echo_n "checking for _logl declaration... " >&6; }
55464 if test x${glibcxx_cv_func__logl_use+set} != xset; then
55465 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
55466 $as_echo_n "(cached) " >&6
55467 else
55470 ac_ext=cpp
55471 ac_cpp='$CXXCPP $CPPFLAGS'
55472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55477 /* end confdefs.h. */
55478 #include <math.h>
55479 #ifdef HAVE_IEEEFP_H
55480 #include <ieeefp.h>
55481 #endif
55484 main ()
55486 _logl(0);
55488 return 0;
55490 _ACEOF
55491 if ac_fn_cxx_try_compile "$LINENO"; then :
55492 glibcxx_cv_func__logl_use=yes
55493 else
55494 glibcxx_cv_func__logl_use=no
55496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55497 ac_ext=c
55498 ac_cpp='$CPP $CPPFLAGS'
55499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
55508 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
55510 if test x$glibcxx_cv_func__logl_use = x"yes"; then
55511 for ac_func in _logl
55512 do :
55513 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
55514 if test "x$ac_cv_func__logl" = x""yes; then :
55515 cat >>confdefs.h <<_ACEOF
55516 #define HAVE__LOGL 1
55517 _ACEOF
55520 done
55529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
55530 $as_echo_n "checking for log10l declaration... " >&6; }
55531 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
55532 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
55533 $as_echo_n "(cached) " >&6
55534 else
55537 ac_ext=cpp
55538 ac_cpp='$CXXCPP $CPPFLAGS'
55539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55544 /* end confdefs.h. */
55545 #include <math.h>
55546 #ifdef HAVE_IEEEFP_H
55547 #include <ieeefp.h>
55548 #endif
55551 main ()
55553 log10l(0);
55555 return 0;
55557 _ACEOF
55558 if ac_fn_cxx_try_compile "$LINENO"; then :
55559 glibcxx_cv_func_log10l_use=yes
55560 else
55561 glibcxx_cv_func_log10l_use=no
55563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55564 ac_ext=c
55565 ac_cpp='$CPP $CPPFLAGS'
55566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
55575 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
55577 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
55578 for ac_func in log10l
55579 do :
55580 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
55581 if test "x$ac_cv_func_log10l" = x""yes; then :
55582 cat >>confdefs.h <<_ACEOF
55583 #define HAVE_LOG10L 1
55584 _ACEOF
55587 done
55589 else
55591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
55592 $as_echo_n "checking for _log10l declaration... " >&6; }
55593 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
55594 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
55595 $as_echo_n "(cached) " >&6
55596 else
55599 ac_ext=cpp
55600 ac_cpp='$CXXCPP $CPPFLAGS'
55601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55606 /* end confdefs.h. */
55607 #include <math.h>
55608 #ifdef HAVE_IEEEFP_H
55609 #include <ieeefp.h>
55610 #endif
55613 main ()
55615 _log10l(0);
55617 return 0;
55619 _ACEOF
55620 if ac_fn_cxx_try_compile "$LINENO"; then :
55621 glibcxx_cv_func__log10l_use=yes
55622 else
55623 glibcxx_cv_func__log10l_use=no
55625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55626 ac_ext=c
55627 ac_cpp='$CPP $CPPFLAGS'
55628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
55637 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
55639 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
55640 for ac_func in _log10l
55641 do :
55642 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
55643 if test "x$ac_cv_func__log10l" = x""yes; then :
55644 cat >>confdefs.h <<_ACEOF
55645 #define HAVE__LOG10L 1
55646 _ACEOF
55649 done
55658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
55659 $as_echo_n "checking for modfl declaration... " >&6; }
55660 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
55661 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
55662 $as_echo_n "(cached) " >&6
55663 else
55666 ac_ext=cpp
55667 ac_cpp='$CXXCPP $CPPFLAGS'
55668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55673 /* end confdefs.h. */
55674 #include <math.h>
55676 main ()
55678 modfl(0, 0);
55680 return 0;
55682 _ACEOF
55683 if ac_fn_cxx_try_compile "$LINENO"; then :
55684 glibcxx_cv_func_modfl_use=yes
55685 else
55686 glibcxx_cv_func_modfl_use=no
55688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55689 ac_ext=c
55690 ac_cpp='$CPP $CPPFLAGS'
55691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
55700 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
55702 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
55703 for ac_func in modfl
55704 do :
55705 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
55706 if test "x$ac_cv_func_modfl" = x""yes; then :
55707 cat >>confdefs.h <<_ACEOF
55708 #define HAVE_MODFL 1
55709 _ACEOF
55712 done
55714 else
55716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
55717 $as_echo_n "checking for _modfl declaration... " >&6; }
55718 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
55719 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
55720 $as_echo_n "(cached) " >&6
55721 else
55724 ac_ext=cpp
55725 ac_cpp='$CXXCPP $CPPFLAGS'
55726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55731 /* end confdefs.h. */
55732 #include <math.h>
55734 main ()
55736 _modfl(0, 0);
55738 return 0;
55740 _ACEOF
55741 if ac_fn_cxx_try_compile "$LINENO"; then :
55742 glibcxx_cv_func__modfl_use=yes
55743 else
55744 glibcxx_cv_func__modfl_use=no
55746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55747 ac_ext=c
55748 ac_cpp='$CPP $CPPFLAGS'
55749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
55758 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
55760 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
55761 for ac_func in _modfl
55762 do :
55763 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
55764 if test "x$ac_cv_func__modfl" = x""yes; then :
55765 cat >>confdefs.h <<_ACEOF
55766 #define HAVE__MODFL 1
55767 _ACEOF
55770 done
55779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
55780 $as_echo_n "checking for powl declaration... " >&6; }
55781 if test x${glibcxx_cv_func_powl_use+set} != xset; then
55782 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
55783 $as_echo_n "(cached) " >&6
55784 else
55787 ac_ext=cpp
55788 ac_cpp='$CXXCPP $CPPFLAGS'
55789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55794 /* end confdefs.h. */
55795 #include <math.h>
55797 main ()
55799 powl(0, 0);
55801 return 0;
55803 _ACEOF
55804 if ac_fn_cxx_try_compile "$LINENO"; then :
55805 glibcxx_cv_func_powl_use=yes
55806 else
55807 glibcxx_cv_func_powl_use=no
55809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55810 ac_ext=c
55811 ac_cpp='$CPP $CPPFLAGS'
55812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
55821 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
55823 if test x$glibcxx_cv_func_powl_use = x"yes"; then
55824 for ac_func in powl
55825 do :
55826 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
55827 if test "x$ac_cv_func_powl" = x""yes; then :
55828 cat >>confdefs.h <<_ACEOF
55829 #define HAVE_POWL 1
55830 _ACEOF
55833 done
55835 else
55837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
55838 $as_echo_n "checking for _powl declaration... " >&6; }
55839 if test x${glibcxx_cv_func__powl_use+set} != xset; then
55840 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
55841 $as_echo_n "(cached) " >&6
55842 else
55845 ac_ext=cpp
55846 ac_cpp='$CXXCPP $CPPFLAGS'
55847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55852 /* end confdefs.h. */
55853 #include <math.h>
55855 main ()
55857 _powl(0, 0);
55859 return 0;
55861 _ACEOF
55862 if ac_fn_cxx_try_compile "$LINENO"; then :
55863 glibcxx_cv_func__powl_use=yes
55864 else
55865 glibcxx_cv_func__powl_use=no
55867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55868 ac_ext=c
55869 ac_cpp='$CPP $CPPFLAGS'
55870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
55879 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
55881 if test x$glibcxx_cv_func__powl_use = x"yes"; then
55882 for ac_func in _powl
55883 do :
55884 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
55885 if test "x$ac_cv_func__powl" = x""yes; then :
55886 cat >>confdefs.h <<_ACEOF
55887 #define HAVE__POWL 1
55888 _ACEOF
55891 done
55900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
55901 $as_echo_n "checking for sqrtl declaration... " >&6; }
55902 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
55903 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
55904 $as_echo_n "(cached) " >&6
55905 else
55908 ac_ext=cpp
55909 ac_cpp='$CXXCPP $CPPFLAGS'
55910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55915 /* end confdefs.h. */
55916 #include <math.h>
55917 #ifdef HAVE_IEEEFP_H
55918 #include <ieeefp.h>
55919 #endif
55922 main ()
55924 sqrtl(0);
55926 return 0;
55928 _ACEOF
55929 if ac_fn_cxx_try_compile "$LINENO"; then :
55930 glibcxx_cv_func_sqrtl_use=yes
55931 else
55932 glibcxx_cv_func_sqrtl_use=no
55934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55935 ac_ext=c
55936 ac_cpp='$CPP $CPPFLAGS'
55937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
55946 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
55948 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
55949 for ac_func in sqrtl
55950 do :
55951 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
55952 if test "x$ac_cv_func_sqrtl" = x""yes; then :
55953 cat >>confdefs.h <<_ACEOF
55954 #define HAVE_SQRTL 1
55955 _ACEOF
55958 done
55960 else
55962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
55963 $as_echo_n "checking for _sqrtl declaration... " >&6; }
55964 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
55965 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
55966 $as_echo_n "(cached) " >&6
55967 else
55970 ac_ext=cpp
55971 ac_cpp='$CXXCPP $CPPFLAGS'
55972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55977 /* end confdefs.h. */
55978 #include <math.h>
55979 #ifdef HAVE_IEEEFP_H
55980 #include <ieeefp.h>
55981 #endif
55984 main ()
55986 _sqrtl(0);
55988 return 0;
55990 _ACEOF
55991 if ac_fn_cxx_try_compile "$LINENO"; then :
55992 glibcxx_cv_func__sqrtl_use=yes
55993 else
55994 glibcxx_cv_func__sqrtl_use=no
55996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55997 ac_ext=c
55998 ac_cpp='$CPP $CPPFLAGS'
55999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
56008 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
56010 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
56011 for ac_func in _sqrtl
56012 do :
56013 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
56014 if test "x$ac_cv_func__sqrtl" = x""yes; then :
56015 cat >>confdefs.h <<_ACEOF
56016 #define HAVE__SQRTL 1
56017 _ACEOF
56020 done
56029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
56030 $as_echo_n "checking for sincosl declaration... " >&6; }
56031 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
56032 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
56033 $as_echo_n "(cached) " >&6
56034 else
56037 ac_ext=cpp
56038 ac_cpp='$CXXCPP $CPPFLAGS'
56039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56044 /* end confdefs.h. */
56045 #include <math.h>
56047 main ()
56049 sincosl(0, 0, 0);
56051 return 0;
56053 _ACEOF
56054 if ac_fn_cxx_try_compile "$LINENO"; then :
56055 glibcxx_cv_func_sincosl_use=yes
56056 else
56057 glibcxx_cv_func_sincosl_use=no
56059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56060 ac_ext=c
56061 ac_cpp='$CPP $CPPFLAGS'
56062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
56071 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
56073 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
56074 for ac_func in sincosl
56075 do :
56076 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
56077 if test "x$ac_cv_func_sincosl" = x""yes; then :
56078 cat >>confdefs.h <<_ACEOF
56079 #define HAVE_SINCOSL 1
56080 _ACEOF
56083 done
56085 else
56087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
56088 $as_echo_n "checking for _sincosl declaration... " >&6; }
56089 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
56090 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
56091 $as_echo_n "(cached) " >&6
56092 else
56095 ac_ext=cpp
56096 ac_cpp='$CXXCPP $CPPFLAGS'
56097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56102 /* end confdefs.h. */
56103 #include <math.h>
56105 main ()
56107 _sincosl(0, 0, 0);
56109 return 0;
56111 _ACEOF
56112 if ac_fn_cxx_try_compile "$LINENO"; then :
56113 glibcxx_cv_func__sincosl_use=yes
56114 else
56115 glibcxx_cv_func__sincosl_use=no
56117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56118 ac_ext=c
56119 ac_cpp='$CPP $CPPFLAGS'
56120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
56129 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
56131 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
56132 for ac_func in _sincosl
56133 do :
56134 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
56135 if test "x$ac_cv_func__sincosl" = x""yes; then :
56136 cat >>confdefs.h <<_ACEOF
56137 #define HAVE__SINCOSL 1
56138 _ACEOF
56141 done
56150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
56151 $as_echo_n "checking for finitel declaration... " >&6; }
56152 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
56153 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
56154 $as_echo_n "(cached) " >&6
56155 else
56158 ac_ext=cpp
56159 ac_cpp='$CXXCPP $CPPFLAGS'
56160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56165 /* end confdefs.h. */
56166 #include <math.h>
56167 #ifdef HAVE_IEEEFP_H
56168 #include <ieeefp.h>
56169 #endif
56172 main ()
56174 finitel(0);
56176 return 0;
56178 _ACEOF
56179 if ac_fn_cxx_try_compile "$LINENO"; then :
56180 glibcxx_cv_func_finitel_use=yes
56181 else
56182 glibcxx_cv_func_finitel_use=no
56184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56185 ac_ext=c
56186 ac_cpp='$CPP $CPPFLAGS'
56187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
56196 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
56198 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
56199 for ac_func in finitel
56200 do :
56201 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
56202 if test "x$ac_cv_func_finitel" = x""yes; then :
56203 cat >>confdefs.h <<_ACEOF
56204 #define HAVE_FINITEL 1
56205 _ACEOF
56208 done
56210 else
56212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
56213 $as_echo_n "checking for _finitel declaration... " >&6; }
56214 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
56215 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
56216 $as_echo_n "(cached) " >&6
56217 else
56220 ac_ext=cpp
56221 ac_cpp='$CXXCPP $CPPFLAGS'
56222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56227 /* end confdefs.h. */
56228 #include <math.h>
56229 #ifdef HAVE_IEEEFP_H
56230 #include <ieeefp.h>
56231 #endif
56234 main ()
56236 _finitel(0);
56238 return 0;
56240 _ACEOF
56241 if ac_fn_cxx_try_compile "$LINENO"; then :
56242 glibcxx_cv_func__finitel_use=yes
56243 else
56244 glibcxx_cv_func__finitel_use=no
56246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56247 ac_ext=c
56248 ac_cpp='$CPP $CPPFLAGS'
56249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
56258 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
56260 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
56261 for ac_func in _finitel
56262 do :
56263 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
56264 if test "x$ac_cv_func__finitel" = x""yes; then :
56265 cat >>confdefs.h <<_ACEOF
56266 #define HAVE__FINITEL 1
56267 _ACEOF
56270 done
56278 LIBS="$ac_save_LIBS"
56279 CXXFLAGS="$ac_save_CXXFLAGS"
56282 ac_test_CXXFLAGS="${CXXFLAGS+set}"
56283 ac_save_CXXFLAGS="$CXXFLAGS"
56284 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
56287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
56288 $as_echo_n "checking for strtold declaration... " >&6; }
56289 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
56290 if test "${glibcxx_cv_func_strtold_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 <stdlib.h>
56305 main ()
56307 strtold(0, 0);
56309 return 0;
56311 _ACEOF
56312 if ac_fn_cxx_try_compile "$LINENO"; then :
56313 glibcxx_cv_func_strtold_use=yes
56314 else
56315 glibcxx_cv_func_strtold_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_strtold_use" >&5
56329 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
56330 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
56331 for ac_func in strtold
56332 do :
56333 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
56334 if test "x$ac_cv_func_strtold" = x""yes; then :
56335 cat >>confdefs.h <<_ACEOF
56336 #define HAVE_STRTOLD 1
56337 _ACEOF
56340 done
56347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
56348 $as_echo_n "checking for strtof declaration... " >&6; }
56349 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
56350 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
56351 $as_echo_n "(cached) " >&6
56352 else
56355 ac_ext=cpp
56356 ac_cpp='$CXXCPP $CPPFLAGS'
56357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56362 /* end confdefs.h. */
56363 #include <stdlib.h>
56365 main ()
56367 strtof(0, 0);
56369 return 0;
56371 _ACEOF
56372 if ac_fn_cxx_try_compile "$LINENO"; then :
56373 glibcxx_cv_func_strtof_use=yes
56374 else
56375 glibcxx_cv_func_strtof_use=no
56377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56378 ac_ext=c
56379 ac_cpp='$CPP $CPPFLAGS'
56380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
56389 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
56390 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
56391 for ac_func in strtof
56392 do :
56393 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
56394 if test "x$ac_cv_func_strtof" = x""yes; then :
56395 cat >>confdefs.h <<_ACEOF
56396 #define HAVE_STRTOF 1
56397 _ACEOF
56400 done
56407 CXXFLAGS="$ac_save_CXXFLAGS"
56410 *-netbsd*)
56411 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56414 # If we're not using GNU ld, then there's no point in even trying these
56415 # tests. Check for that first. We should have already tested for gld
56416 # by now (in libtool), but require it now just to be safe...
56417 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56418 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56422 # The name set by libtool depends on the version of libtool. Shame on us
56423 # for depending on an impl detail, but c'est la vie. Older versions used
56424 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56425 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56426 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56427 # set (hence we're using an older libtool), then set it.
56428 if test x${with_gnu_ld+set} != xset; then
56429 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56430 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56431 with_gnu_ld=no
56432 else
56433 with_gnu_ld=$ac_cv_prog_gnu_ld
56437 # Start by getting the version number. I think the libtool test already
56438 # does some of this, but throws away the result.
56439 glibcxx_ld_is_gold=no
56440 if test x"$with_gnu_ld" = x"yes"; then
56441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56442 $as_echo_n "checking for ld version... " >&6; }
56444 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56445 glibcxx_ld_is_gold=yes
56447 ldver=`$LD --version 2>/dev/null |
56448 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'`
56450 glibcxx_gnu_ld_version=`echo $ldver | \
56451 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56453 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56456 # Set --gc-sections.
56457 glibcxx_have_gc_sections=no
56458 if test "$glibcxx_ld_is_gold" = "yes"; then
56459 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56460 glibcxx_have_gc_sections=yes
56462 else
56463 glibcxx_gcsections_min_ld=21602
56464 if test x"$with_gnu_ld" = x"yes" &&
56465 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56466 glibcxx_have_gc_sections=yes
56469 if test "$glibcxx_have_gc_sections" = "yes"; then
56470 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56471 # NB: This flag only works reliably after 2.16.1. Configure tests
56472 # for this are difficult, so hard wire a value that should work.
56474 ac_test_CFLAGS="${CFLAGS+set}"
56475 ac_save_CFLAGS="$CFLAGS"
56476 CFLAGS='-Wl,--gc-sections'
56478 # Check for -Wl,--gc-sections
56479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56480 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56481 if test x$gcc_no_link = xyes; then
56482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56485 /* end confdefs.h. */
56486 int one(void) { return 1; }
56487 int two(void) { return 2; }
56490 main ()
56492 two();
56494 return 0;
56496 _ACEOF
56497 if ac_fn_c_try_link "$LINENO"; then :
56498 ac_gcsections=yes
56499 else
56500 ac_gcsections=no
56502 rm -f core conftest.err conftest.$ac_objext \
56503 conftest$ac_exeext conftest.$ac_ext
56504 if test "$ac_gcsections" = "yes"; then
56505 rm -f conftest.c
56506 touch conftest.c
56507 if $CC -c conftest.c; then
56508 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56509 grep "Warning: gc-sections option ignored" > /dev/null; then
56510 ac_gcsections=no
56513 rm -f conftest.c conftest.o conftest
56515 if test "$ac_gcsections" = "yes"; then
56516 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56519 $as_echo "$ac_gcsections" >&6; }
56521 if test "$ac_test_CFLAGS" = set; then
56522 CFLAGS="$ac_save_CFLAGS"
56523 else
56524 # this is the suspicious part
56525 CFLAGS=''
56529 # Set -z,relro.
56530 # Note this is only for shared objects.
56531 ac_ld_relro=no
56532 if test x"$with_gnu_ld" = x"yes"; then
56533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56534 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56535 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56536 if test -n "$cxx_z_relo"; then
56537 OPT_LDFLAGS="-Wl,-z,relro"
56538 ac_ld_relro=yes
56540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56541 $as_echo "$ac_ld_relro" >&6; }
56544 # Set linker optimization flags.
56545 if test x"$with_gnu_ld" = x"yes"; then
56546 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56552 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
56554 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
56556 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
56558 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
56560 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56562 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
56564 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56566 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
56568 if test x"long_double_math_on_this_cpu" = x"yes"; then
56569 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
56571 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
56573 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
56577 *-netware)
56578 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56581 # If we're not using GNU ld, then there's no point in even trying these
56582 # tests. Check for that first. We should have already tested for gld
56583 # by now (in libtool), but require it now just to be safe...
56584 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56585 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56589 # The name set by libtool depends on the version of libtool. Shame on us
56590 # for depending on an impl detail, but c'est la vie. Older versions used
56591 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56592 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56593 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56594 # set (hence we're using an older libtool), then set it.
56595 if test x${with_gnu_ld+set} != xset; then
56596 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56597 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56598 with_gnu_ld=no
56599 else
56600 with_gnu_ld=$ac_cv_prog_gnu_ld
56604 # Start by getting the version number. I think the libtool test already
56605 # does some of this, but throws away the result.
56606 glibcxx_ld_is_gold=no
56607 if test x"$with_gnu_ld" = x"yes"; then
56608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56609 $as_echo_n "checking for ld version... " >&6; }
56611 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56612 glibcxx_ld_is_gold=yes
56614 ldver=`$LD --version 2>/dev/null |
56615 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'`
56617 glibcxx_gnu_ld_version=`echo $ldver | \
56618 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56620 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56623 # Set --gc-sections.
56624 glibcxx_have_gc_sections=no
56625 if test "$glibcxx_ld_is_gold" = "yes"; then
56626 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56627 glibcxx_have_gc_sections=yes
56629 else
56630 glibcxx_gcsections_min_ld=21602
56631 if test x"$with_gnu_ld" = x"yes" &&
56632 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56633 glibcxx_have_gc_sections=yes
56636 if test "$glibcxx_have_gc_sections" = "yes"; then
56637 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56638 # NB: This flag only works reliably after 2.16.1. Configure tests
56639 # for this are difficult, so hard wire a value that should work.
56641 ac_test_CFLAGS="${CFLAGS+set}"
56642 ac_save_CFLAGS="$CFLAGS"
56643 CFLAGS='-Wl,--gc-sections'
56645 # Check for -Wl,--gc-sections
56646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56647 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56648 if test x$gcc_no_link = xyes; then
56649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56652 /* end confdefs.h. */
56653 int one(void) { return 1; }
56654 int two(void) { return 2; }
56657 main ()
56659 two();
56661 return 0;
56663 _ACEOF
56664 if ac_fn_c_try_link "$LINENO"; then :
56665 ac_gcsections=yes
56666 else
56667 ac_gcsections=no
56669 rm -f core conftest.err conftest.$ac_objext \
56670 conftest$ac_exeext conftest.$ac_ext
56671 if test "$ac_gcsections" = "yes"; then
56672 rm -f conftest.c
56673 touch conftest.c
56674 if $CC -c conftest.c; then
56675 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56676 grep "Warning: gc-sections option ignored" > /dev/null; then
56677 ac_gcsections=no
56680 rm -f conftest.c conftest.o conftest
56682 if test "$ac_gcsections" = "yes"; then
56683 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56686 $as_echo "$ac_gcsections" >&6; }
56688 if test "$ac_test_CFLAGS" = set; then
56689 CFLAGS="$ac_save_CFLAGS"
56690 else
56691 # this is the suspicious part
56692 CFLAGS=''
56696 # Set -z,relro.
56697 # Note this is only for shared objects.
56698 ac_ld_relro=no
56699 if test x"$with_gnu_ld" = x"yes"; then
56700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56701 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56702 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56703 if test -n "$cxx_z_relo"; then
56704 OPT_LDFLAGS="-Wl,-z,relro"
56705 ac_ld_relro=yes
56707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56708 $as_echo "$ac_ld_relro" >&6; }
56711 # Set linker optimization flags.
56712 if test x"$with_gnu_ld" = x"yes"; then
56713 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56719 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
56721 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
56723 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
56726 *-qnx6.1* | *-qnx6.2*)
56727 SECTION_FLAGS='-ffunction-sections -fdata-sections'
56730 # If we're not using GNU ld, then there's no point in even trying these
56731 # tests. Check for that first. We should have already tested for gld
56732 # by now (in libtool), but require it now just to be safe...
56733 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56734 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56738 # The name set by libtool depends on the version of libtool. Shame on us
56739 # for depending on an impl detail, but c'est la vie. Older versions used
56740 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56741 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56742 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56743 # set (hence we're using an older libtool), then set it.
56744 if test x${with_gnu_ld+set} != xset; then
56745 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56746 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56747 with_gnu_ld=no
56748 else
56749 with_gnu_ld=$ac_cv_prog_gnu_ld
56753 # Start by getting the version number. I think the libtool test already
56754 # does some of this, but throws away the result.
56755 glibcxx_ld_is_gold=no
56756 if test x"$with_gnu_ld" = x"yes"; then
56757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56758 $as_echo_n "checking for ld version... " >&6; }
56760 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56761 glibcxx_ld_is_gold=yes
56763 ldver=`$LD --version 2>/dev/null |
56764 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'`
56766 glibcxx_gnu_ld_version=`echo $ldver | \
56767 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56769 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56772 # Set --gc-sections.
56773 glibcxx_have_gc_sections=no
56774 if test "$glibcxx_ld_is_gold" = "yes"; then
56775 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56776 glibcxx_have_gc_sections=yes
56778 else
56779 glibcxx_gcsections_min_ld=21602
56780 if test x"$with_gnu_ld" = x"yes" &&
56781 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56782 glibcxx_have_gc_sections=yes
56785 if test "$glibcxx_have_gc_sections" = "yes"; then
56786 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56787 # NB: This flag only works reliably after 2.16.1. Configure tests
56788 # for this are difficult, so hard wire a value that should work.
56790 ac_test_CFLAGS="${CFLAGS+set}"
56791 ac_save_CFLAGS="$CFLAGS"
56792 CFLAGS='-Wl,--gc-sections'
56794 # Check for -Wl,--gc-sections
56795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56796 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56797 if test x$gcc_no_link = xyes; then
56798 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56801 /* end confdefs.h. */
56802 int one(void) { return 1; }
56803 int two(void) { return 2; }
56806 main ()
56808 two();
56810 return 0;
56812 _ACEOF
56813 if ac_fn_c_try_link "$LINENO"; then :
56814 ac_gcsections=yes
56815 else
56816 ac_gcsections=no
56818 rm -f core conftest.err conftest.$ac_objext \
56819 conftest$ac_exeext conftest.$ac_ext
56820 if test "$ac_gcsections" = "yes"; then
56821 rm -f conftest.c
56822 touch conftest.c
56823 if $CC -c conftest.c; then
56824 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56825 grep "Warning: gc-sections option ignored" > /dev/null; then
56826 ac_gcsections=no
56829 rm -f conftest.c conftest.o conftest
56831 if test "$ac_gcsections" = "yes"; then
56832 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
56834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
56835 $as_echo "$ac_gcsections" >&6; }
56837 if test "$ac_test_CFLAGS" = set; then
56838 CFLAGS="$ac_save_CFLAGS"
56839 else
56840 # this is the suspicious part
56841 CFLAGS=''
56845 # Set -z,relro.
56846 # Note this is only for shared objects.
56847 ac_ld_relro=no
56848 if test x"$with_gnu_ld" = x"yes"; then
56849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
56850 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
56851 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
56852 if test -n "$cxx_z_relo"; then
56853 OPT_LDFLAGS="-Wl,-z,relro"
56854 ac_ld_relro=yes
56856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
56857 $as_echo "$ac_ld_relro" >&6; }
56860 # Set linker optimization flags.
56861 if test x"$with_gnu_ld" = x"yes"; then
56862 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
56868 $as_echo "#define HAVE_COSF 1" >>confdefs.h
56870 $as_echo "#define HAVE_COSL 1" >>confdefs.h
56872 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
56874 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
56876 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
56878 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
56880 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
56882 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
56884 $as_echo "#define HAVE_SINF 1" >>confdefs.h
56886 $as_echo "#define HAVE_SINL 1" >>confdefs.h
56888 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
56890 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
56893 *-solaris*)
56894 case "$target" in
56895 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
56897 # If we're not using GNU ld, then there's no point in even trying these
56898 # tests. Check for that first. We should have already tested for gld
56899 # by now (in libtool), but require it now just to be safe...
56900 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
56901 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
56905 # The name set by libtool depends on the version of libtool. Shame on us
56906 # for depending on an impl detail, but c'est la vie. Older versions used
56907 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
56908 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
56909 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
56910 # set (hence we're using an older libtool), then set it.
56911 if test x${with_gnu_ld+set} != xset; then
56912 if test x${ac_cv_prog_gnu_ld+set} != xset; then
56913 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
56914 with_gnu_ld=no
56915 else
56916 with_gnu_ld=$ac_cv_prog_gnu_ld
56920 # Start by getting the version number. I think the libtool test already
56921 # does some of this, but throws away the result.
56922 glibcxx_ld_is_gold=no
56923 if test x"$with_gnu_ld" = x"yes"; then
56924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
56925 $as_echo_n "checking for ld version... " >&6; }
56927 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
56928 glibcxx_ld_is_gold=yes
56930 ldver=`$LD --version 2>/dev/null |
56931 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'`
56933 glibcxx_gnu_ld_version=`echo $ldver | \
56934 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
56935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
56936 $as_echo "$glibcxx_gnu_ld_version" >&6; }
56939 # Set --gc-sections.
56940 glibcxx_have_gc_sections=no
56941 if test "$glibcxx_ld_is_gold" = "yes"; then
56942 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
56943 glibcxx_have_gc_sections=yes
56945 else
56946 glibcxx_gcsections_min_ld=21602
56947 if test x"$with_gnu_ld" = x"yes" &&
56948 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
56949 glibcxx_have_gc_sections=yes
56952 if test "$glibcxx_have_gc_sections" = "yes"; then
56953 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
56954 # NB: This flag only works reliably after 2.16.1. Configure tests
56955 # for this are difficult, so hard wire a value that should work.
56957 ac_test_CFLAGS="${CFLAGS+set}"
56958 ac_save_CFLAGS="$CFLAGS"
56959 CFLAGS='-Wl,--gc-sections'
56961 # Check for -Wl,--gc-sections
56962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
56963 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
56964 if test x$gcc_no_link = xyes; then
56965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
56967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56968 /* end confdefs.h. */
56969 int one(void) { return 1; }
56970 int two(void) { return 2; }
56973 main ()
56975 two();
56977 return 0;
56979 _ACEOF
56980 if ac_fn_c_try_link "$LINENO"; then :
56981 ac_gcsections=yes
56982 else
56983 ac_gcsections=no
56985 rm -f core conftest.err conftest.$ac_objext \
56986 conftest$ac_exeext conftest.$ac_ext
56987 if test "$ac_gcsections" = "yes"; then
56988 rm -f conftest.c
56989 touch conftest.c
56990 if $CC -c conftest.c; then
56991 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
56992 grep "Warning: gc-sections option ignored" > /dev/null; then
56993 ac_gcsections=no
56996 rm -f conftest.c conftest.o conftest
56998 if test "$ac_gcsections" = "yes"; then
56999 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57002 $as_echo "$ac_gcsections" >&6; }
57004 if test "$ac_test_CFLAGS" = set; then
57005 CFLAGS="$ac_save_CFLAGS"
57006 else
57007 # this is the suspicious part
57008 CFLAGS=''
57012 # Set -z,relro.
57013 # Note this is only for shared objects.
57014 ac_ld_relro=no
57015 if test x"$with_gnu_ld" = x"yes"; then
57016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57017 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57018 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57019 if test -n "$cxx_z_relo"; then
57020 OPT_LDFLAGS="-Wl,-z,relro"
57021 ac_ld_relro=yes
57023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57024 $as_echo "$ac_ld_relro" >&6; }
57027 # Set linker optimization flags.
57028 if test x"$with_gnu_ld" = x"yes"; then
57029 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57035 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
57037 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57039 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
57041 # All of the dependencies for wide character support are here, so
57042 # turn it on.
57043 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
57046 esac
57047 case "$target" in
57048 *-*-solaris2.10)
57049 # These two C99 functions are present only in Solaris >= 10
57050 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
57052 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
57055 esac
57056 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57058 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57060 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
57062 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57065 *-tpf)
57066 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57069 # If we're not using GNU ld, then there's no point in even trying these
57070 # tests. Check for that first. We should have already tested for gld
57071 # by now (in libtool), but require it now just to be safe...
57072 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57073 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57077 # The name set by libtool depends on the version of libtool. Shame on us
57078 # for depending on an impl detail, but c'est la vie. Older versions used
57079 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57080 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57081 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57082 # set (hence we're using an older libtool), then set it.
57083 if test x${with_gnu_ld+set} != xset; then
57084 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57085 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57086 with_gnu_ld=no
57087 else
57088 with_gnu_ld=$ac_cv_prog_gnu_ld
57092 # Start by getting the version number. I think the libtool test already
57093 # does some of this, but throws away the result.
57094 glibcxx_ld_is_gold=no
57095 if test x"$with_gnu_ld" = x"yes"; then
57096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57097 $as_echo_n "checking for ld version... " >&6; }
57099 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57100 glibcxx_ld_is_gold=yes
57102 ldver=`$LD --version 2>/dev/null |
57103 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'`
57105 glibcxx_gnu_ld_version=`echo $ldver | \
57106 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57108 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57111 # Set --gc-sections.
57112 glibcxx_have_gc_sections=no
57113 if test "$glibcxx_ld_is_gold" = "yes"; then
57114 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57115 glibcxx_have_gc_sections=yes
57117 else
57118 glibcxx_gcsections_min_ld=21602
57119 if test x"$with_gnu_ld" = x"yes" &&
57120 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57121 glibcxx_have_gc_sections=yes
57124 if test "$glibcxx_have_gc_sections" = "yes"; then
57125 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57126 # NB: This flag only works reliably after 2.16.1. Configure tests
57127 # for this are difficult, so hard wire a value that should work.
57129 ac_test_CFLAGS="${CFLAGS+set}"
57130 ac_save_CFLAGS="$CFLAGS"
57131 CFLAGS='-Wl,--gc-sections'
57133 # Check for -Wl,--gc-sections
57134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57135 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57136 if test x$gcc_no_link = xyes; then
57137 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57140 /* end confdefs.h. */
57141 int one(void) { return 1; }
57142 int two(void) { return 2; }
57145 main ()
57147 two();
57149 return 0;
57151 _ACEOF
57152 if ac_fn_c_try_link "$LINENO"; then :
57153 ac_gcsections=yes
57154 else
57155 ac_gcsections=no
57157 rm -f core conftest.err conftest.$ac_objext \
57158 conftest$ac_exeext conftest.$ac_ext
57159 if test "$ac_gcsections" = "yes"; then
57160 rm -f conftest.c
57161 touch conftest.c
57162 if $CC -c conftest.c; then
57163 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57164 grep "Warning: gc-sections option ignored" > /dev/null; then
57165 ac_gcsections=no
57168 rm -f conftest.c conftest.o conftest
57170 if test "$ac_gcsections" = "yes"; then
57171 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57174 $as_echo "$ac_gcsections" >&6; }
57176 if test "$ac_test_CFLAGS" = set; then
57177 CFLAGS="$ac_save_CFLAGS"
57178 else
57179 # this is the suspicious part
57180 CFLAGS=''
57184 # Set -z,relro.
57185 # Note this is only for shared objects.
57186 ac_ld_relro=no
57187 if test x"$with_gnu_ld" = x"yes"; then
57188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57189 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57190 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57191 if test -n "$cxx_z_relo"; then
57192 OPT_LDFLAGS="-Wl,-z,relro"
57193 ac_ld_relro=yes
57195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57196 $as_echo "$ac_ld_relro" >&6; }
57199 # Set linker optimization flags.
57200 if test x"$with_gnu_ld" = x"yes"; then
57201 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57207 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57209 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57211 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57213 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57215 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57217 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57219 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57221 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57223 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
57225 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
57227 if test x"long_double_math_on_this_cpu" = x"yes"; then
57228 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57230 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
57232 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57234 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57238 *-vxworks)
57239 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
57241 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
57243 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
57245 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
57247 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
57249 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57251 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57253 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
57255 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
57257 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
57259 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
57261 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
57263 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57265 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57267 $as_echo "#define HAVE_POWF 1" >>confdefs.h
57269 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57271 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57273 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
57275 $as_echo "#define HAVE_TANF 1" >>confdefs.h
57277 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
57281 as_fn_error "No support for this host/target combination." "$LINENO" 5
57283 esac
57287 # At some point, we should differentiate between architectures
57288 # like x86, which have long double versions, and alpha/powerpc/etc.,
57289 # which don't. For the time being, punt.
57290 if test x"long_double_math_on_this_cpu" = x"yes"; then
57291 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
57293 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
57295 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
57297 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
57299 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
57301 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57303 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57305 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
57307 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
57309 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
57311 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
57313 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
57315 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
57317 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57319 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57321 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
57323 $as_echo "#define HAVE_POWL 1" >>confdefs.h
57325 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
57327 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57329 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57331 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
57333 $as_echo "#define HAVE_TANL 1" >>confdefs.h
57335 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
57340 # Check for _Unwind_GetIPInfo.
57343 # Check whether --with-system-libunwind was given.
57344 if test "${with_system_libunwind+set}" = set; then :
57345 withval=$with_system_libunwind;
57348 # If system-libunwind was not specifically set, pick a default setting.
57349 if test x$with_system_libunwind = x; then
57350 case ${target} in
57351 ia64-*-hpux*) with_system_libunwind=yes ;;
57352 *) with_system_libunwind=no ;;
57353 esac
57355 # Based on system-libunwind and target, do we have ipinfo?
57356 if test x$with_system_libunwind = xyes; then
57357 case ${target} in
57358 ia64-*-*) have_unwind_getipinfo=no ;;
57359 *) have_unwind_getipinfo=yes ;;
57360 esac
57361 else
57362 # Darwin before version 9 does not have _Unwind_GetIPInfo.
57364 case ${target} in
57365 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
57366 *) have_unwind_getipinfo=yes ;;
57367 esac
57371 if test x$have_unwind_getipinfo = xyes; then
57373 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
57379 # Check whether --enable-linux-futex was given.
57380 if test "${enable_linux_futex+set}" = set; then :
57381 enableval=$enable_linux_futex;
57382 case "$enableval" in
57383 yes|no|default) ;;
57384 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
57385 esac
57387 else
57388 enable_linux_futex=default
57392 case "$target" in
57393 *-linux*)
57394 case "$enable_linux_futex" in
57395 default)
57396 # If headers don't have gettid/futex syscalls definition, then
57397 # default to no, otherwise there will be compile time failures.
57398 # Otherwise, default to yes. If we don't detect we are
57399 # compiled/linked against NPTL and not cross-compiling, check
57400 # if programs are run by default against NPTL and if not, issue
57401 # a warning.
57402 enable_linux_futex=no
57403 if test x$gcc_no_link = xyes; then
57404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57407 /* end confdefs.h. */
57408 #include <sys/syscall.h>
57409 int lk;
57411 main ()
57413 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57415 return 0;
57417 _ACEOF
57418 if ac_fn_c_try_link "$LINENO"; then :
57419 save_LIBS="$LIBS"
57420 LIBS="-lpthread $LIBS"
57421 if test x$gcc_no_link = xyes; then
57422 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57425 /* end confdefs.h. */
57426 #ifndef _GNU_SOURCE
57427 #define _GNU_SOURCE 1
57428 #endif
57429 #include <pthread.h>
57430 pthread_t th; void *status;
57432 main ()
57434 pthread_tryjoin_np (th, &status);
57436 return 0;
57438 _ACEOF
57439 if ac_fn_c_try_link "$LINENO"; then :
57440 enable_linux_futex=yes
57441 else
57442 if test x$cross_compiling = xno; then
57443 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
57444 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
57446 If so, please configure with --disable-linux-futex" >&5
57447 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
57448 If so, please configure with --disable-linux-futex" >&2;}
57451 enable_linux_futex=yes
57453 rm -f core conftest.err conftest.$ac_objext \
57454 conftest$ac_exeext conftest.$ac_ext
57455 LIBS="$save_LIBS"
57457 rm -f core conftest.err conftest.$ac_objext \
57458 conftest$ac_exeext conftest.$ac_ext
57460 yes)
57461 if test x$gcc_no_link = xyes; then
57462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57465 /* end confdefs.h. */
57466 #include <sys/syscall.h>
57467 int lk;
57469 main ()
57471 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
57473 return 0;
57475 _ACEOF
57476 if ac_fn_c_try_link "$LINENO"; then :
57478 else
57479 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
57481 rm -f core conftest.err conftest.$ac_objext \
57482 conftest$ac_exeext conftest.$ac_ext
57484 esac
57487 enable_linux_futex=no
57489 esac
57490 if test x$enable_linux_futex = xyes; then
57492 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
57499 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
57501 acx_cv_header_stdint=stddef.h
57502 acx_cv_header_stdint_kind="(already complete)"
57503 for i in stdint.h $inttype_headers; do
57504 unset ac_cv_type_uintptr_t
57505 unset ac_cv_type_uintmax_t
57506 unset ac_cv_type_int_least32_t
57507 unset ac_cv_type_int_fast32_t
57508 unset ac_cv_type_uint64_t
57509 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
57510 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
57511 #include <$i>
57513 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
57514 acx_cv_header_stdint=$i
57515 else
57516 continue
57519 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57520 #include <$i>
57522 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57524 else
57525 acx_cv_header_stdint_kind="(mostly complete)"
57528 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
57529 #include <$i>
57531 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
57533 else
57534 acx_cv_header_stdint_kind="(mostly complete)"
57537 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
57538 #include <$i>
57540 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
57542 else
57543 acx_cv_header_stdint_kind="(mostly complete)"
57546 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57547 #include <$i>
57549 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57551 else
57552 acx_cv_header_stdint_kind="(lacks uint64_t)"
57555 break
57556 done
57557 if test "$acx_cv_header_stdint" = stddef.h; then
57558 acx_cv_header_stdint_kind="(lacks uintmax_t)"
57559 for i in stdint.h $inttype_headers; do
57560 unset ac_cv_type_uintptr_t
57561 unset ac_cv_type_uint32_t
57562 unset ac_cv_type_uint64_t
57563 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
57564 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
57565 #include <$i>
57567 if test "x$ac_cv_type_uint32_t" = x""yes; then :
57568 acx_cv_header_stdint=$i
57569 else
57570 continue
57573 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
57574 #include <$i>
57576 if test "x$ac_cv_type_uint64_t" = x""yes; then :
57580 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
57581 #include <$i>
57583 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
57587 break
57588 done
57590 if test "$acx_cv_header_stdint" = stddef.h; then
57591 acx_cv_header_stdint_kind="(u_intXX_t style)"
57592 for i in sys/types.h $inttype_headers; do
57593 unset ac_cv_type_u_int32_t
57594 unset ac_cv_type_u_int64_t
57595 $as_echo_n "looking for u_intXX_t types in $i, " >&6
57596 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
57597 #include <$i>
57599 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
57600 acx_cv_header_stdint=$i
57601 else
57602 continue
57605 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
57606 #include <$i>
57608 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
57612 break
57613 done
57615 if test "$acx_cv_header_stdint" = stddef.h; then
57616 acx_cv_header_stdint_kind="(using manual detection)"
57619 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
57620 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
57621 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
57622 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
57623 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
57625 # ----------------- Summarize what we found so far
57627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
57628 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
57630 case `$as_basename -- include/gstdint.h ||
57631 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
57632 Xinclude/gstdint.h : 'X\(//\)$' \| \
57633 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
57634 $as_echo X/include/gstdint.h |
57635 sed '/^.*\/\([^/][^/]*\)\/*$/{
57636 s//\1/
57639 /^X\/\(\/\/\)$/{
57640 s//\1/
57643 /^X\/\(\/\).*/{
57644 s//\1/
57647 s/.*/./; q'` in
57648 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57649 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57650 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
57651 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
57652 *) ;;
57653 esac
57655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
57656 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
57658 # ----------------- done included file, check C basic types --------
57660 # Lacking an uintptr_t? Test size of void *
57661 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
57662 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
57663 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57664 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57665 # This bug is HP SR number 8606223364.
57666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
57667 $as_echo_n "checking size of void *... " >&6; }
57668 if test "${ac_cv_sizeof_void_p+set}" = set; then :
57669 $as_echo_n "(cached) " >&6
57670 else
57671 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
57673 else
57674 if test "$ac_cv_type_void_p" = yes; then
57675 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57676 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57677 { as_fn_set_status 77
57678 as_fn_error "cannot compute sizeof (void *)
57679 See \`config.log' for more details." "$LINENO" 5; }; }
57680 else
57681 ac_cv_sizeof_void_p=0
57686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
57687 $as_echo "$ac_cv_sizeof_void_p" >&6; }
57691 cat >>confdefs.h <<_ACEOF
57692 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
57693 _ACEOF
57696 esac
57698 # Lacking an uint64_t? Test size of long
57699 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
57700 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
57701 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57702 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57703 # This bug is HP SR number 8606223364.
57704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
57705 $as_echo_n "checking size of long... " >&6; }
57706 if test "${ac_cv_sizeof_long+set}" = set; then :
57707 $as_echo_n "(cached) " >&6
57708 else
57709 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
57711 else
57712 if test "$ac_cv_type_long" = yes; then
57713 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57714 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57715 { as_fn_set_status 77
57716 as_fn_error "cannot compute sizeof (long)
57717 See \`config.log' for more details." "$LINENO" 5; }; }
57718 else
57719 ac_cv_sizeof_long=0
57724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
57725 $as_echo "$ac_cv_sizeof_long" >&6; }
57729 cat >>confdefs.h <<_ACEOF
57730 #define SIZEOF_LONG $ac_cv_sizeof_long
57731 _ACEOF
57734 esac
57736 if test $acx_cv_header_stdint = stddef.h; then
57737 # Lacking a good header? Test size of everything and deduce all types.
57738 # The cast to long int works around a bug in the HP C Compiler
57739 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57740 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57741 # This bug is HP SR number 8606223364.
57742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
57743 $as_echo_n "checking size of int... " >&6; }
57744 if test "${ac_cv_sizeof_int+set}" = set; then :
57745 $as_echo_n "(cached) " >&6
57746 else
57747 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
57749 else
57750 if test "$ac_cv_type_int" = yes; then
57751 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57752 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57753 { as_fn_set_status 77
57754 as_fn_error "cannot compute sizeof (int)
57755 See \`config.log' for more details." "$LINENO" 5; }; }
57756 else
57757 ac_cv_sizeof_int=0
57762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
57763 $as_echo "$ac_cv_sizeof_int" >&6; }
57767 cat >>confdefs.h <<_ACEOF
57768 #define SIZEOF_INT $ac_cv_sizeof_int
57769 _ACEOF
57772 # The cast to long int works around a bug in the HP C Compiler
57773 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57774 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57775 # This bug is HP SR number 8606223364.
57776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
57777 $as_echo_n "checking size of short... " >&6; }
57778 if test "${ac_cv_sizeof_short+set}" = set; then :
57779 $as_echo_n "(cached) " >&6
57780 else
57781 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
57783 else
57784 if test "$ac_cv_type_short" = yes; then
57785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57787 { as_fn_set_status 77
57788 as_fn_error "cannot compute sizeof (short)
57789 See \`config.log' for more details." "$LINENO" 5; }; }
57790 else
57791 ac_cv_sizeof_short=0
57796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
57797 $as_echo "$ac_cv_sizeof_short" >&6; }
57801 cat >>confdefs.h <<_ACEOF
57802 #define SIZEOF_SHORT $ac_cv_sizeof_short
57803 _ACEOF
57806 # The cast to long int works around a bug in the HP C Compiler
57807 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
57808 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
57809 # This bug is HP SR number 8606223364.
57810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
57811 $as_echo_n "checking size of char... " >&6; }
57812 if test "${ac_cv_sizeof_char+set}" = set; then :
57813 $as_echo_n "(cached) " >&6
57814 else
57815 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
57817 else
57818 if test "$ac_cv_type_char" = yes; then
57819 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
57820 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
57821 { as_fn_set_status 77
57822 as_fn_error "cannot compute sizeof (char)
57823 See \`config.log' for more details." "$LINENO" 5; }; }
57824 else
57825 ac_cv_sizeof_char=0
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
57831 $as_echo "$ac_cv_sizeof_char" >&6; }
57835 cat >>confdefs.h <<_ACEOF
57836 #define SIZEOF_CHAR $ac_cv_sizeof_char
57837 _ACEOF
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
57842 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
57843 case "$ac_cv_sizeof_char" in
57844 1) acx_cv_type_int8_t=char ;;
57845 *) { as_fn_set_status please report a bug
57846 as_fn_error "no 8-bit type" "$LINENO" 5; }
57847 esac
57848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
57849 $as_echo "$acx_cv_type_int8_t" >&6; }
57851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
57852 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
57853 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
57854 2:*) acx_cv_type_int16_t=int ;;
57855 *:2) acx_cv_type_int16_t=short ;;
57856 *) { as_fn_set_status please report a bug
57857 as_fn_error "no 16-bit type" "$LINENO" 5; }
57858 esac
57859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
57860 $as_echo "$acx_cv_type_int16_t" >&6; }
57862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
57863 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
57864 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
57865 4:*) acx_cv_type_int32_t=int ;;
57866 *:4) acx_cv_type_int32_t=long ;;
57867 *) { as_fn_set_status please report a bug
57868 as_fn_error "no 32-bit type" "$LINENO" 5; }
57869 esac
57870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
57871 $as_echo "$acx_cv_type_int32_t" >&6; }
57874 # These tests are here to make the output prettier
57876 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
57877 case "$ac_cv_sizeof_long" in
57878 8) acx_cv_type_int64_t=long ;;
57879 esac
57880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
57881 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
57882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
57883 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
57886 # Now we can use the above types
57888 if test "$ac_cv_type_uintptr_t" != yes; then
57889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
57890 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
57891 case $ac_cv_sizeof_void_p in
57892 2) acx_cv_type_intptr_t=int16_t ;;
57893 4) acx_cv_type_intptr_t=int32_t ;;
57894 8) acx_cv_type_intptr_t=int64_t ;;
57895 *) { as_fn_set_status please report a bug
57896 as_fn_error "no equivalent for intptr_t" "$LINENO" 5; }
57897 esac
57898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
57899 $as_echo "$acx_cv_type_intptr_t" >&6; }
57902 # ----------------- done all checks, emit header -------------
57903 ac_config_commands="$ac_config_commands include/gstdint.h"
57908 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
57911 # Check whether --enable-symvers was given.
57912 if test "${enable_symvers+set}" = set; then :
57913 enableval=$enable_symvers;
57914 case "$enableval" in
57915 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
57916 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
57917 esac
57919 else
57920 enable_symvers=yes
57925 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
57926 # don't know enough about $LD to do tricks...
57929 # Turn a 'yes' into a suitable default.
57930 if test x$enable_symvers = xyes ; then
57931 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
57932 enable_symvers=no
57933 else
57934 if test $with_gnu_ld = yes ; then
57935 case ${target_os} in
57936 hpux*)
57937 enable_symvers=no ;;
57939 enable_symvers=gnu ;;
57940 esac
57941 else
57942 case ${target_os} in
57943 darwin*)
57944 enable_symvers=darwin ;;
57946 enable_symvers=no ;;
57947 esac
57952 # Check to see if 'darwin' or 'darwin-export' can win.
57953 if test x$enable_symvers = xdarwin-export ; then
57954 enable_symvers=darwin
57957 # Check to see if 'gnu' can win.
57958 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
57959 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
57960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
57961 $as_echo_n "checking for shared libgcc... " >&6; }
57962 ac_save_CFLAGS="$CFLAGS"
57963 CFLAGS=' -lgcc_s'
57964 if test x$gcc_no_link = xyes; then
57965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57968 /* end confdefs.h. */
57971 main ()
57973 return 0;
57975 return 0;
57977 _ACEOF
57978 if ac_fn_c_try_link "$LINENO"; then :
57979 glibcxx_shared_libgcc=yes
57980 else
57981 glibcxx_shared_libgcc=no
57983 rm -f core conftest.err conftest.$ac_objext \
57984 conftest$ac_exeext conftest.$ac_ext
57985 CFLAGS="$ac_save_CFLAGS"
57986 if test $glibcxx_shared_libgcc = no; then
57987 cat > conftest.c <<EOF
57988 int main (void) { return 0; }
57990 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
57991 -shared -shared-libgcc -o conftest.so \
57992 conftest.c -v 2>&1 >/dev/null \
57993 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
57994 rm -f conftest.c conftest.so
57995 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
57996 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
57997 if test x$gcc_no_link = xyes; then
57998 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58001 /* end confdefs.h. */
58004 main ()
58006 return 0;
58008 return 0;
58010 _ACEOF
58011 if ac_fn_c_try_link "$LINENO"; then :
58012 glibcxx_shared_libgcc=yes
58014 rm -f core conftest.err conftest.$ac_objext \
58015 conftest$ac_exeext conftest.$ac_ext
58016 CFLAGS="$ac_save_CFLAGS"
58019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
58020 $as_echo "$glibcxx_shared_libgcc" >&6; }
58022 # For GNU ld, we need at least this version. The format is described in
58023 # GLIBCXX_CHECK_LINKER_FEATURES above.
58024 glibcxx_min_gnu_ld_version=21400
58026 # If no shared libgcc, can't win.
58027 if test $glibcxx_shared_libgcc != yes; then
58028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58029 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58030 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
58031 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
58032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58033 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58034 enable_symvers=no
58035 elif test $with_gnu_ld != yes ; then
58036 # just fail for now
58037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
58038 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
58039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
58040 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
58041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58042 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58043 enable_symvers=no
58044 elif test $glibcxx_ld_is_gold = yes ; then
58045 : All versions of gold support symbol versioning.
58046 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
58047 # The right tools, the right setup, but too old. Fallbacks?
58048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
58049 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
58050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
58051 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
58053 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
58054 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
58055 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
58056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
58057 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
58058 enable_symvers=no
58062 # Everything parsed; figure out what file to use.
58063 case $enable_symvers in
58065 SYMVER_FILE=config/abi/pre/none.ver
58067 gnu)
58068 SYMVER_FILE=config/abi/pre/gnu.ver
58070 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
58073 gnu-versioned-namespace)
58074 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
58076 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
58079 darwin)
58080 SYMVER_FILE=config/abi/pre/gnu.ver
58082 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
58085 esac
58087 if test x$enable_symvers != xno ; then
58089 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
58094 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
58095 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
58096 $as_echo_n "(cached) " >&6
58097 else
58099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58100 /* end confdefs.h. */
58101 void foo (void); __asm (".symver foo, bar@SYMVER");
58103 main ()
58107 return 0;
58109 _ACEOF
58110 if ac_fn_c_try_compile "$LINENO"; then :
58111 glibcxx_cv_have_as_symver_directive=yes
58112 else
58113 glibcxx_cv_have_as_symver_directive=no
58115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
58118 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
58119 if test $glibcxx_cv_have_as_symver_directive = yes; then
58121 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
58131 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
58132 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
58134 # Now, set up compatibility support, if any.
58135 # In addition, need this to deal with std::size_t mangling in
58136 # src/compatibility.cc. In a perfect world, could use
58137 # typeid(std::size_t).name()[0] to do direct substitution.
58138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
58139 $as_echo_n "checking for size_t as unsigned int... " >&6; }
58140 ac_save_CFLAGS="$CFLAGS"
58141 CFLAGS="-Werror"
58142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58143 /* end confdefs.h. */
58146 main ()
58148 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
58150 return 0;
58152 _ACEOF
58153 if ac_fn_c_try_compile "$LINENO"; then :
58154 glibcxx_size_t_is_i=yes
58155 else
58156 glibcxx_size_t_is_i=no
58158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58159 CFLAGS=$ac_save_CFLAGS
58160 if test "$glibcxx_size_t_is_i" = yes; then
58162 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
58165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
58166 $as_echo "$glibcxx_size_t_is_i" >&6; }
58168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
58169 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
58170 ac_save_CFLAGS="$CFLAGS"
58171 CFLAGS="-Werror"
58172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58173 /* end confdefs.h. */
58176 main ()
58178 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
58180 return 0;
58182 _ACEOF
58183 if ac_fn_c_try_compile "$LINENO"; then :
58184 glibcxx_ptrdiff_t_is_i=yes
58185 else
58186 glibcxx_ptrdiff_t_is_i=no
58188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58189 CFLAGS=$ac_save_CFLAGS
58190 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
58192 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
58195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
58196 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
58199 # Check whether --enable-visibility was given.
58200 if test "${enable_visibility+set}" = set; then :
58201 enableval=$enable_visibility;
58202 case "$enableval" in
58203 yes|no) ;;
58204 *) as_fn_error "Argument to enable/disable visibility must be yes or no" "$LINENO" 5 ;;
58205 esac
58207 else
58208 enable_visibility=yes
58213 if test x$enable_visibility = xyes ; then
58214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
58215 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
58216 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
58217 $as_echo_n "(cached) " >&6
58218 else
58220 save_CFLAGS="$CFLAGS"
58221 CFLAGS="$CFLAGS -Werror"
58222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58223 /* end confdefs.h. */
58224 void __attribute__((visibility("hidden"))) foo(void) { }
58226 main ()
58230 return 0;
58232 _ACEOF
58233 if ac_fn_c_try_compile "$LINENO"; then :
58234 glibcxx_cv_have_attribute_visibility=yes
58235 else
58236 glibcxx_cv_have_attribute_visibility=no
58238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58239 CFLAGS="$save_CFLAGS"
58241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
58242 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
58243 if test $glibcxx_cv_have_attribute_visibility = no; then
58244 enable_visibility=no
58249 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_visibility" >&5
58250 $as_echo "$as_me: visibility supported: $enable_visibility" >&6;}
58253 ac_ldbl_compat=no
58254 case "$target" in
58255 powerpc*-*-linux* | \
58256 powerpc*-*-gnu* | \
58257 sparc*-*-linux* | \
58258 s390*-*-linux* | \
58259 alpha*-*-linux*)
58260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58261 /* end confdefs.h. */
58264 main ()
58267 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
58268 #error no need for long double compatibility
58269 #endif
58272 return 0;
58274 _ACEOF
58275 if ac_fn_c_try_compile "$LINENO"; then :
58276 ac_ldbl_compat=yes
58277 else
58278 ac_ldbl_compat=no
58280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58281 if test "$ac_ldbl_compat" = yes; then
58283 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
58285 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
58287 esac
58290 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
58292 if $GLIBCXX_IS_NATIVE ; then
58293 # Do checks for resource limit functions.
58295 setrlimit_have_headers=yes
58296 for ac_header in unistd.h sys/time.h sys/resource.h
58297 do :
58298 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
58299 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
58300 eval as_val=\$$as_ac_Header
58301 if test "x$as_val" = x""yes; then :
58302 cat >>confdefs.h <<_ACEOF
58303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
58304 _ACEOF
58306 else
58307 setrlimit_have_headers=no
58310 done
58312 # If don't have the headers, then we can't run the tests now, and we
58313 # won't be seeing any of these during testsuite compilation.
58314 if test $setrlimit_have_headers = yes; then
58315 # Can't do these in a loop, else the resulting syntax is wrong.
58317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
58318 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
58319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58320 /* end confdefs.h. */
58321 #include <unistd.h>
58322 #include <sys/time.h>
58323 #include <sys/resource.h>
58326 main ()
58328 int f = RLIMIT_DATA ;
58330 return 0;
58332 _ACEOF
58333 if ac_fn_c_try_compile "$LINENO"; then :
58334 glibcxx_mresult=1
58335 else
58336 glibcxx_mresult=0
58338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58340 cat >>confdefs.h <<_ACEOF
58341 #define HAVE_LIMIT_DATA $glibcxx_mresult
58342 _ACEOF
58344 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58346 $as_echo "$res" >&6; }
58349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
58350 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
58351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58352 /* end confdefs.h. */
58353 #include <unistd.h>
58354 #include <sys/time.h>
58355 #include <sys/resource.h>
58358 main ()
58360 int f = RLIMIT_RSS ;
58362 return 0;
58364 _ACEOF
58365 if ac_fn_c_try_compile "$LINENO"; then :
58366 glibcxx_mresult=1
58367 else
58368 glibcxx_mresult=0
58370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58372 cat >>confdefs.h <<_ACEOF
58373 #define HAVE_LIMIT_RSS $glibcxx_mresult
58374 _ACEOF
58376 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58378 $as_echo "$res" >&6; }
58381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
58382 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
58383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58384 /* end confdefs.h. */
58385 #include <unistd.h>
58386 #include <sys/time.h>
58387 #include <sys/resource.h>
58390 main ()
58392 int f = RLIMIT_VMEM ;
58394 return 0;
58396 _ACEOF
58397 if ac_fn_c_try_compile "$LINENO"; then :
58398 glibcxx_mresult=1
58399 else
58400 glibcxx_mresult=0
58402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58404 cat >>confdefs.h <<_ACEOF
58405 #define HAVE_LIMIT_VMEM $glibcxx_mresult
58406 _ACEOF
58408 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58410 $as_echo "$res" >&6; }
58413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
58414 $as_echo_n "checking for RLIMIT_AS... " >&6; }
58415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58416 /* end confdefs.h. */
58417 #include <unistd.h>
58418 #include <sys/time.h>
58419 #include <sys/resource.h>
58422 main ()
58424 int f = RLIMIT_AS ;
58426 return 0;
58428 _ACEOF
58429 if ac_fn_c_try_compile "$LINENO"; then :
58430 glibcxx_mresult=1
58431 else
58432 glibcxx_mresult=0
58434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58436 cat >>confdefs.h <<_ACEOF
58437 #define HAVE_LIMIT_AS $glibcxx_mresult
58438 _ACEOF
58440 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58442 $as_echo "$res" >&6; }
58445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
58446 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
58447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58448 /* end confdefs.h. */
58449 #include <unistd.h>
58450 #include <sys/time.h>
58451 #include <sys/resource.h>
58454 main ()
58456 int f = RLIMIT_FSIZE ;
58458 return 0;
58460 _ACEOF
58461 if ac_fn_c_try_compile "$LINENO"; then :
58462 glibcxx_mresult=1
58463 else
58464 glibcxx_mresult=0
58466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58468 cat >>confdefs.h <<_ACEOF
58469 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
58470 _ACEOF
58472 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
58473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
58474 $as_echo "$res" >&6; }
58477 # Check for rlimit, setrlimit.
58478 if test "${glibcxx_cv_setrlimit+set}" = set; then :
58479 $as_echo_n "(cached) " >&6
58480 else
58482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58483 /* end confdefs.h. */
58484 #include <unistd.h>
58485 #include <sys/time.h>
58486 #include <sys/resource.h>
58489 main ()
58491 struct rlimit r;
58492 setrlimit(0, &r);
58494 return 0;
58496 _ACEOF
58497 if ac_fn_c_try_compile "$LINENO"; then :
58498 glibcxx_cv_setrlimit=yes
58499 else
58500 glibcxx_cv_setrlimit=no
58502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
58509 $as_echo_n "checking for testsuite resource limits support... " >&6; }
58510 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
58511 ac_res_limits=yes
58513 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
58515 else
58516 ac_res_limits=no
58518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
58519 $as_echo "$ac_res_limits" >&6; }
58522 # Look for setenv, so that extended locale tests can be performed.
58524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
58525 $as_echo_n "checking for setenv declaration... " >&6; }
58526 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
58527 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
58528 $as_echo_n "(cached) " >&6
58529 else
58532 ac_ext=cpp
58533 ac_cpp='$CXXCPP $CPPFLAGS'
58534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58539 /* end confdefs.h. */
58540 #include <stdlib.h>
58542 main ()
58544 setenv(0, 0, 0);
58546 return 0;
58548 _ACEOF
58549 if ac_fn_cxx_try_compile "$LINENO"; then :
58550 glibcxx_cv_func_setenv_use=yes
58551 else
58552 glibcxx_cv_func_setenv_use=no
58554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58555 ac_ext=c
58556 ac_cpp='$CPP $CPPFLAGS'
58557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
58566 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
58567 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
58568 for ac_func in setenv
58569 do :
58570 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
58571 if test "x$ac_cv_func_setenv" = x""yes; then :
58572 cat >>confdefs.h <<_ACEOF
58573 #define HAVE_SETENV 1
58574 _ACEOF
58577 done
58583 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
58584 test $enable_symvers != no; then
58585 case "$host" in
58586 *-*-cygwin*)
58587 enable_abi_check=no ;;
58589 enable_abi_check=yes ;;
58590 esac
58591 else
58592 # Only build this as native, since automake does not understand
58593 # CXX_FOR_BUILD.
58594 enable_abi_check=no
58597 # Export file names for ABI checking.
58598 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
58602 # Propagate the target-specific source directories through the build chain.
58603 ATOMICITY_SRCDIR=config/${atomicity_dir}
58604 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
58605 ATOMIC_FLAGS=${atomic_flags}
58606 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
58607 OS_INC_SRCDIR=config/${os_include_dir}
58608 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
58609 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
58619 # Determine cross-compile flags and AM_CONDITIONALs.
58620 #AC_SUBST(GLIBCXX_IS_NATIVE)
58621 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
58622 if test $is_hosted = yes; then
58623 GLIBCXX_HOSTED_TRUE=
58624 GLIBCXX_HOSTED_FALSE='#'
58625 else
58626 GLIBCXX_HOSTED_TRUE='#'
58627 GLIBCXX_HOSTED_FALSE=
58631 if test $enable_libstdcxx_pch = yes; then
58632 GLIBCXX_BUILD_PCH_TRUE=
58633 GLIBCXX_BUILD_PCH_FALSE='#'
58634 else
58635 GLIBCXX_BUILD_PCH_TRUE='#'
58636 GLIBCXX_BUILD_PCH_FALSE=
58640 if test $enable_cheaders = c; then
58641 GLIBCXX_C_HEADERS_C_TRUE=
58642 GLIBCXX_C_HEADERS_C_FALSE='#'
58643 else
58644 GLIBCXX_C_HEADERS_C_TRUE='#'
58645 GLIBCXX_C_HEADERS_C_FALSE=
58649 if test $enable_cheaders = c_std; then
58650 GLIBCXX_C_HEADERS_C_STD_TRUE=
58651 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
58652 else
58653 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
58654 GLIBCXX_C_HEADERS_C_STD_FALSE=
58658 if test $enable_cheaders = c_global; then
58659 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
58660 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
58661 else
58662 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
58663 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
58667 if test $c_compatibility = yes; then
58668 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
58669 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
58670 else
58671 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
58672 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
58676 if test $c_extra = yes; then
58677 GLIBCXX_C_HEADERS_EXTRA_TRUE=
58678 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
58679 else
58680 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
58681 GLIBCXX_C_HEADERS_EXTRA_FALSE=
58685 if test $enable_libstdcxx_debug = yes; then
58686 GLIBCXX_BUILD_DEBUG_TRUE=
58687 GLIBCXX_BUILD_DEBUG_FALSE='#'
58688 else
58689 GLIBCXX_BUILD_DEBUG_TRUE='#'
58690 GLIBCXX_BUILD_DEBUG_FALSE=
58694 if test $enable_parallel = yes; then
58695 ENABLE_PARALLEL_TRUE=
58696 ENABLE_PARALLEL_FALSE='#'
58697 else
58698 ENABLE_PARALLEL_TRUE='#'
58699 ENABLE_PARALLEL_FALSE=
58703 if test $enable_symvers != no; then
58704 ENABLE_SYMVERS_TRUE=
58705 ENABLE_SYMVERS_FALSE='#'
58706 else
58707 ENABLE_SYMVERS_TRUE='#'
58708 ENABLE_SYMVERS_FALSE=
58712 if test $enable_symvers = gnu; then
58713 ENABLE_SYMVERS_GNU_TRUE=
58714 ENABLE_SYMVERS_GNU_FALSE='#'
58715 else
58716 ENABLE_SYMVERS_GNU_TRUE='#'
58717 ENABLE_SYMVERS_GNU_FALSE=
58721 if test $enable_symvers = gnu-versioned-namespace; then
58722 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
58723 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
58724 else
58725 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
58726 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
58730 if test $enable_symvers = darwin; then
58731 ENABLE_SYMVERS_DARWIN_TRUE=
58732 ENABLE_SYMVERS_DARWIN_FALSE='#'
58733 else
58734 ENABLE_SYMVERS_DARWIN_TRUE='#'
58735 ENABLE_SYMVERS_DARWIN_FALSE=
58739 if test $enable_visibility = yes; then
58740 ENABLE_VISIBILITY_TRUE=
58741 ENABLE_VISIBILITY_FALSE='#'
58742 else
58743 ENABLE_VISIBILITY_TRUE='#'
58744 ENABLE_VISIBILITY_FALSE=
58748 if test $ac_ldbl_compat = yes; then
58749 GLIBCXX_LDBL_COMPAT_TRUE=
58750 GLIBCXX_LDBL_COMPAT_FALSE='#'
58751 else
58752 GLIBCXX_LDBL_COMPAT_TRUE='#'
58753 GLIBCXX_LDBL_COMPAT_FALSE=
58759 cat >confcache <<\_ACEOF
58760 # This file is a shell script that caches the results of configure
58761 # tests run on this system so they can be shared between configure
58762 # scripts and configure runs, see configure's option --config-cache.
58763 # It is not useful on other systems. If it contains results you don't
58764 # want to keep, you may remove or edit it.
58766 # config.status only pays attention to the cache file if you give it
58767 # the --recheck option to rerun configure.
58769 # `ac_cv_env_foo' variables (set or unset) will be overridden when
58770 # loading this file, other *unset* `ac_cv_foo' will be assigned the
58771 # following values.
58773 _ACEOF
58775 # The following way of writing the cache mishandles newlines in values,
58776 # but we know of no workaround that is simple, portable, and efficient.
58777 # So, we kill variables containing newlines.
58778 # Ultrix sh set writes to stderr and can't be redirected directly,
58779 # and sets the high bit in the cache file unless we assign to the vars.
58781 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
58782 eval ac_val=\$$ac_var
58783 case $ac_val in #(
58784 *${as_nl}*)
58785 case $ac_var in #(
58786 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
58787 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
58788 esac
58789 case $ac_var in #(
58790 _ | IFS | as_nl) ;; #(
58791 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
58792 *) { eval $ac_var=; unset $ac_var;} ;;
58793 esac ;;
58794 esac
58795 done
58797 (set) 2>&1 |
58798 case $as_nl`(ac_space=' '; set) 2>&1` in #(
58799 *${as_nl}ac_space=\ *)
58800 # `set' does not quote correctly, so add quotes: double-quote
58801 # substitution turns \\\\ into \\, and sed turns \\ into \.
58802 sed -n \
58803 "s/'/'\\\\''/g;
58804 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
58805 ;; #(
58807 # `set' quotes correctly as required by POSIX, so do not add quotes.
58808 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
58810 esac |
58811 sort
58813 sed '
58814 /^ac_cv_env_/b end
58815 t clear
58816 :clear
58817 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
58818 t end
58819 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
58820 :end' >>confcache
58821 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
58822 if test -w "$cache_file"; then
58823 test "x$cache_file" != "x/dev/null" &&
58824 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
58825 $as_echo "$as_me: updating cache $cache_file" >&6;}
58826 cat confcache >$cache_file
58827 else
58828 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
58829 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
58832 rm -f confcache
58834 if test ${multilib} = yes; then
58835 multilib_arg="--enable-multilib"
58836 else
58837 multilib_arg=
58840 # Export all the install information.
58842 glibcxx_toolexecdir=no
58843 glibcxx_toolexeclibdir=no
58844 glibcxx_prefixdir=$prefix
58846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
58847 $as_echo_n "checking for gxx-include-dir... " >&6; }
58849 # Check whether --with-gxx-include-dir was given.
58850 if test "${with_gxx_include_dir+set}" = set; then :
58851 withval=$with_gxx_include_dir; case "$withval" in
58852 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
58853 no) gxx_include_dir=no ;;
58854 *) gxx_include_dir=$withval ;;
58855 esac
58856 else
58857 gxx_include_dir=no
58860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
58861 $as_echo "$gxx_include_dir" >&6; }
58863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
58864 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
58865 # Check whether --enable-version-specific-runtime-libs was given.
58866 if test "${enable_version_specific_runtime_libs+set}" = set; then :
58867 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
58868 yes) version_specific_libs=yes ;;
58869 no) version_specific_libs=no ;;
58870 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
58871 esac
58872 else
58873 version_specific_libs=no
58876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
58877 $as_echo "$version_specific_libs" >&6; }
58879 # Default case for install directory for include files.
58880 if test $version_specific_libs = no && test $gxx_include_dir = no; then
58881 gxx_include_dir='include/c++/${gcc_version}'
58882 if test -n "$with_cross_host" &&
58883 test x"$with_cross_host" != x"no"; then
58884 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
58885 else
58886 gxx_include_dir='${prefix}/'"$gxx_include_dir"
58890 # Version-specific runtime libs processing.
58891 if test $version_specific_libs = yes; then
58892 # Need the gcc compiler version to know where to install libraries
58893 # and header files if --enable-version-specific-runtime-libs option
58894 # is selected. FIXME: these variables are misnamed, there are
58895 # no executables installed in _toolexecdir or _toolexeclibdir.
58896 if test x"$gxx_include_dir" = x"no"; then
58897 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
58899 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
58900 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
58903 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
58904 # Install a library built with a cross compiler in tooldir, not libdir.
58905 if test x"$glibcxx_toolexecdir" = x"no"; then
58906 if test -n "$with_cross_host" &&
58907 test x"$with_cross_host" != x"no"; then
58908 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
58909 glibcxx_toolexeclibdir='${toolexecdir}/lib'
58910 else
58911 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
58912 glibcxx_toolexeclibdir='${libdir}'
58914 multi_os_directory=`$CXX -print-multi-os-directory`
58915 case $multi_os_directory in
58916 .) ;; # Avoid trailing /.
58917 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
58918 esac
58921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
58922 $as_echo_n "checking for install location... " >&6; }
58923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
58924 $as_echo "$gxx_include_dir" >&6; }
58932 # Export all the include and flag information to Makefiles.
58934 # Used for every C++ compile we perform.
58935 GLIBCXX_INCLUDES="\
58936 -I$glibcxx_builddir/include/$host_alias \
58937 -I$glibcxx_builddir/include \
58938 -I$glibcxx_srcdir/libsupc++"
58940 # For Canadian crosses, pick this up too.
58941 if test $CANADIAN = yes; then
58942 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
58945 # Stuff in the actual top level. Currently only used by libsupc++ to
58946 # get unwind* headers from the gcc dir.
58947 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
58948 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
58950 # Now, export this to all the little Makefiles....
58955 # Optimization flags that are probably a good idea for thrill-seekers. Just
58956 # uncomment the lines below and make, everything else is ready to go...
58957 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
58958 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
58961 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
58965 if test "$enable_shared" = yes; then
58966 LIBSUPCXX_PICFLAGS="-prefer-pic"
58967 else
58968 LIBSUPCXX_PICFLAGS=
58972 ac_config_files="$ac_config_files Makefile"
58974 ac_config_files="$ac_config_files scripts/testsuite_flags"
58977 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
58978 # that multilib installs will end up installed in the correct place.
58979 # The testsuite needs it for multilib-aware ABI baseline files.
58980 # To work around this not being passed down from config-ml.in ->
58981 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
58982 # append it here. Only modify Makefiles that have just been created.
58984 # Also, get rid of this simulated-VPATH thing that automake does.
58985 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
58988 ac_config_commands="$ac_config_commands generate-headers"
58991 cat >confcache <<\_ACEOF
58992 # This file is a shell script that caches the results of configure
58993 # tests run on this system so they can be shared between configure
58994 # scripts and configure runs, see configure's option --config-cache.
58995 # It is not useful on other systems. If it contains results you don't
58996 # want to keep, you may remove or edit it.
58998 # config.status only pays attention to the cache file if you give it
58999 # the --recheck option to rerun configure.
59001 # `ac_cv_env_foo' variables (set or unset) will be overridden when
59002 # loading this file, other *unset* `ac_cv_foo' will be assigned the
59003 # following values.
59005 _ACEOF
59007 # The following way of writing the cache mishandles newlines in values,
59008 # but we know of no workaround that is simple, portable, and efficient.
59009 # So, we kill variables containing newlines.
59010 # Ultrix sh set writes to stderr and can't be redirected directly,
59011 # and sets the high bit in the cache file unless we assign to the vars.
59013 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
59014 eval ac_val=\$$ac_var
59015 case $ac_val in #(
59016 *${as_nl}*)
59017 case $ac_var in #(
59018 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
59019 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
59020 esac
59021 case $ac_var in #(
59022 _ | IFS | as_nl) ;; #(
59023 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
59024 *) { eval $ac_var=; unset $ac_var;} ;;
59025 esac ;;
59026 esac
59027 done
59029 (set) 2>&1 |
59030 case $as_nl`(ac_space=' '; set) 2>&1` in #(
59031 *${as_nl}ac_space=\ *)
59032 # `set' does not quote correctly, so add quotes: double-quote
59033 # substitution turns \\\\ into \\, and sed turns \\ into \.
59034 sed -n \
59035 "s/'/'\\\\''/g;
59036 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
59037 ;; #(
59039 # `set' quotes correctly as required by POSIX, so do not add quotes.
59040 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
59042 esac |
59043 sort
59045 sed '
59046 /^ac_cv_env_/b end
59047 t clear
59048 :clear
59049 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
59050 t end
59051 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
59052 :end' >>confcache
59053 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
59054 if test -w "$cache_file"; then
59055 test "x$cache_file" != "x/dev/null" &&
59056 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
59057 $as_echo "$as_me: updating cache $cache_file" >&6;}
59058 cat confcache >$cache_file
59059 else
59060 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
59061 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
59064 rm -f confcache
59066 test "x$prefix" = xNONE && prefix=$ac_default_prefix
59067 # Let make expand exec_prefix.
59068 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
59070 DEFS=-DHAVE_CONFIG_H
59072 ac_libobjs=
59073 ac_ltlibobjs=
59074 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
59075 # 1. Remove the extension, and $U if already installed.
59076 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
59077 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
59078 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
59079 # will be set to the directory where LIBOBJS objects are built.
59080 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
59081 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
59082 done
59083 LIBOBJS=$ac_libobjs
59085 LTLIBOBJS=$ac_ltlibobjs
59088 if test -n "$EXEEXT"; then
59089 am__EXEEXT_TRUE=
59090 am__EXEEXT_FALSE='#'
59091 else
59092 am__EXEEXT_TRUE='#'
59093 am__EXEEXT_FALSE=
59096 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
59097 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
59098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59100 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
59101 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
59102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59104 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
59105 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
59106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59108 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
59109 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
59110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59112 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
59113 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
59114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59116 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
59117 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
59118 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59120 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
59121 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
59122 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59124 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
59125 as_fn_error "conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
59126 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59128 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
59129 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
59130 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59132 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
59133 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
59134 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59136 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
59137 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
59138 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59140 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
59141 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
59142 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59144 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
59145 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
59146 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59148 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
59149 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
59150 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59152 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
59153 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
59154 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59156 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
59157 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
59158 Usually this means the macro was only invoked conditionally." "$LINENO" 5
59161 : ${CONFIG_STATUS=./config.status}
59162 ac_write_fail=0
59163 ac_clean_files_save=$ac_clean_files
59164 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
59166 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
59167 as_write_fail=0
59168 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
59169 #! $SHELL
59170 # Generated by $as_me.
59171 # Run this file to recreate the current configuration.
59172 # Compiler output produced by configure, useful for debugging
59173 # configure, is in config.log if it exists.
59175 debug=false
59176 ac_cs_recheck=false
59177 ac_cs_silent=false
59179 SHELL=\${CONFIG_SHELL-$SHELL}
59180 export SHELL
59181 _ASEOF
59182 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
59183 ## -------------------- ##
59184 ## M4sh Initialization. ##
59185 ## -------------------- ##
59187 # Be more Bourne compatible
59188 DUALCASE=1; export DUALCASE # for MKS sh
59189 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
59190 emulate sh
59191 NULLCMD=:
59192 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
59193 # is contrary to our usage. Disable this feature.
59194 alias -g '${1+"$@"}'='"$@"'
59195 setopt NO_GLOB_SUBST
59196 else
59197 case `(set -o) 2>/dev/null` in #(
59198 *posix*) :
59199 set -o posix ;; #(
59200 *) :
59202 esac
59206 as_nl='
59208 export as_nl
59209 # Printing a long string crashes Solaris 7 /usr/bin/printf.
59210 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
59211 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
59212 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
59213 # Prefer a ksh shell builtin over an external printf program on Solaris,
59214 # but without wasting forks for bash or zsh.
59215 if test -z "$BASH_VERSION$ZSH_VERSION" \
59216 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
59217 as_echo='print -r --'
59218 as_echo_n='print -rn --'
59219 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
59220 as_echo='printf %s\n'
59221 as_echo_n='printf %s'
59222 else
59223 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
59224 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
59225 as_echo_n='/usr/ucb/echo -n'
59226 else
59227 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
59228 as_echo_n_body='eval
59229 arg=$1;
59230 case $arg in #(
59231 *"$as_nl"*)
59232 expr "X$arg" : "X\\(.*\\)$as_nl";
59233 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
59234 esac;
59235 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
59237 export as_echo_n_body
59238 as_echo_n='sh -c $as_echo_n_body as_echo'
59240 export as_echo_body
59241 as_echo='sh -c $as_echo_body as_echo'
59244 # The user is always right.
59245 if test "${PATH_SEPARATOR+set}" != set; then
59246 PATH_SEPARATOR=:
59247 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
59248 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
59249 PATH_SEPARATOR=';'
59254 # IFS
59255 # We need space, tab and new line, in precisely that order. Quoting is
59256 # there to prevent editors from complaining about space-tab.
59257 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
59258 # splitting by setting IFS to empty value.)
59259 IFS=" "" $as_nl"
59261 # Find who we are. Look in the path if we contain no directory separator.
59262 case $0 in #((
59263 *[\\/]* ) as_myself=$0 ;;
59264 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
59265 for as_dir in $PATH
59267 IFS=$as_save_IFS
59268 test -z "$as_dir" && as_dir=.
59269 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
59270 done
59271 IFS=$as_save_IFS
59274 esac
59275 # We did not find ourselves, most probably we were run as `sh COMMAND'
59276 # in which case we are not to be found in the path.
59277 if test "x$as_myself" = x; then
59278 as_myself=$0
59280 if test ! -f "$as_myself"; then
59281 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
59282 exit 1
59285 # Unset variables that we do not need and which cause bugs (e.g. in
59286 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
59287 # suppresses any "Segmentation fault" message there. '((' could
59288 # trigger a bug in pdksh 5.2.14.
59289 for as_var in BASH_ENV ENV MAIL MAILPATH
59290 do eval test x\${$as_var+set} = xset \
59291 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
59292 done
59293 PS1='$ '
59294 PS2='> '
59295 PS4='+ '
59297 # NLS nuisances.
59298 LC_ALL=C
59299 export LC_ALL
59300 LANGUAGE=C
59301 export LANGUAGE
59303 # CDPATH.
59304 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59307 # as_fn_error ERROR [LINENO LOG_FD]
59308 # ---------------------------------
59309 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
59310 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
59311 # script with status $?, using 1 if that was 0.
59312 as_fn_error ()
59314 as_status=$?; test $as_status -eq 0 && as_status=1
59315 if test "$3"; then
59316 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
59317 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
59319 $as_echo "$as_me: error: $1" >&2
59320 as_fn_exit $as_status
59321 } # as_fn_error
59324 # as_fn_set_status STATUS
59325 # -----------------------
59326 # Set $? to STATUS, without forking.
59327 as_fn_set_status ()
59329 return $1
59330 } # as_fn_set_status
59332 # as_fn_exit STATUS
59333 # -----------------
59334 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
59335 as_fn_exit ()
59337 set +e
59338 as_fn_set_status $1
59339 exit $1
59340 } # as_fn_exit
59342 # as_fn_unset VAR
59343 # ---------------
59344 # Portably unset VAR.
59345 as_fn_unset ()
59347 { eval $1=; unset $1;}
59349 as_unset=as_fn_unset
59350 # as_fn_append VAR VALUE
59351 # ----------------------
59352 # Append the text in VALUE to the end of the definition contained in VAR. Take
59353 # advantage of any shell optimizations that allow amortized linear growth over
59354 # repeated appends, instead of the typical quadratic growth present in naive
59355 # implementations.
59356 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
59357 eval 'as_fn_append ()
59359 eval $1+=\$2
59361 else
59362 as_fn_append ()
59364 eval $1=\$$1\$2
59366 fi # as_fn_append
59368 # as_fn_arith ARG...
59369 # ------------------
59370 # Perform arithmetic evaluation on the ARGs, and store the result in the
59371 # global $as_val. Take advantage of shells that can avoid forks. The arguments
59372 # must be portable across $(()) and expr.
59373 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
59374 eval 'as_fn_arith ()
59376 as_val=$(( $* ))
59378 else
59379 as_fn_arith ()
59381 as_val=`expr "$@" || test $? -eq 1`
59383 fi # as_fn_arith
59386 if expr a : '\(a\)' >/dev/null 2>&1 &&
59387 test "X`expr 00001 : '.*\(...\)'`" = X001; then
59388 as_expr=expr
59389 else
59390 as_expr=false
59393 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
59394 as_basename=basename
59395 else
59396 as_basename=false
59399 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
59400 as_dirname=dirname
59401 else
59402 as_dirname=false
59405 as_me=`$as_basename -- "$0" ||
59406 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
59407 X"$0" : 'X\(//\)$' \| \
59408 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
59409 $as_echo X/"$0" |
59410 sed '/^.*\/\([^/][^/]*\)\/*$/{
59411 s//\1/
59414 /^X\/\(\/\/\)$/{
59415 s//\1/
59418 /^X\/\(\/\).*/{
59419 s//\1/
59422 s/.*/./; q'`
59424 # Avoid depending upon Character Ranges.
59425 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
59426 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
59427 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
59428 as_cr_digits='0123456789'
59429 as_cr_alnum=$as_cr_Letters$as_cr_digits
59431 ECHO_C= ECHO_N= ECHO_T=
59432 case `echo -n x` in #(((((
59433 -n*)
59434 case `echo 'xy\c'` in
59435 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
59436 xy) ECHO_C='\c';;
59437 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
59438 ECHO_T=' ';;
59439 esac;;
59441 ECHO_N='-n';;
59442 esac
59444 rm -f conf$$ conf$$.exe conf$$.file
59445 if test -d conf$$.dir; then
59446 rm -f conf$$.dir/conf$$.file
59447 else
59448 rm -f conf$$.dir
59449 mkdir conf$$.dir 2>/dev/null
59451 if (echo >conf$$.file) 2>/dev/null; then
59452 if ln -s conf$$.file conf$$ 2>/dev/null; then
59453 as_ln_s='ln -s'
59454 # ... but there are two gotchas:
59455 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
59456 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
59457 # In both cases, we have to default to `cp -p'.
59458 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
59459 as_ln_s='cp -p'
59460 elif ln conf$$.file conf$$ 2>/dev/null; then
59461 as_ln_s=ln
59462 else
59463 as_ln_s='cp -p'
59465 else
59466 as_ln_s='cp -p'
59468 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
59469 rmdir conf$$.dir 2>/dev/null
59472 # as_fn_mkdir_p
59473 # -------------
59474 # Create "$as_dir" as a directory, including parents if necessary.
59475 as_fn_mkdir_p ()
59478 case $as_dir in #(
59479 -*) as_dir=./$as_dir;;
59480 esac
59481 test -d "$as_dir" || eval $as_mkdir_p || {
59482 as_dirs=
59483 while :; do
59484 case $as_dir in #(
59485 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
59486 *) as_qdir=$as_dir;;
59487 esac
59488 as_dirs="'$as_qdir' $as_dirs"
59489 as_dir=`$as_dirname -- "$as_dir" ||
59490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
59491 X"$as_dir" : 'X\(//\)[^/]' \| \
59492 X"$as_dir" : 'X\(//\)$' \| \
59493 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
59494 $as_echo X"$as_dir" |
59495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
59496 s//\1/
59499 /^X\(\/\/\)[^/].*/{
59500 s//\1/
59503 /^X\(\/\/\)$/{
59504 s//\1/
59507 /^X\(\/\).*/{
59508 s//\1/
59511 s/.*/./; q'`
59512 test -d "$as_dir" && break
59513 done
59514 test -z "$as_dirs" || eval "mkdir $as_dirs"
59515 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
59518 } # as_fn_mkdir_p
59519 if mkdir -p . 2>/dev/null; then
59520 as_mkdir_p='mkdir -p "$as_dir"'
59521 else
59522 test -d ./-p && rmdir ./-p
59523 as_mkdir_p=false
59526 if test -x / >/dev/null 2>&1; then
59527 as_test_x='test -x'
59528 else
59529 if ls -dL / >/dev/null 2>&1; then
59530 as_ls_L_option=L
59531 else
59532 as_ls_L_option=
59534 as_test_x='
59535 eval sh -c '\''
59536 if test -d "$1"; then
59537 test -d "$1/.";
59538 else
59539 case $1 in #(
59540 -*)set "./$1";;
59541 esac;
59542 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
59543 ???[sx]*):;;*)false;;esac;fi
59544 '\'' sh
59547 as_executable_p=$as_test_x
59549 # Sed expression to map a string onto a valid CPP name.
59550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
59552 # Sed expression to map a string onto a valid variable name.
59553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
59556 exec 6>&1
59557 ## ----------------------------------- ##
59558 ## Main body of $CONFIG_STATUS script. ##
59559 ## ----------------------------------- ##
59560 _ASEOF
59561 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
59563 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59564 # Save the log message, to keep $0 and so on meaningful, and to
59565 # report actual input values of CONFIG_FILES etc. instead of their
59566 # values after options handling.
59567 ac_log="
59568 This file was extended by package-unused $as_me version-unused, which was
59569 generated by GNU Autoconf 2.64. Invocation command line was
59571 CONFIG_FILES = $CONFIG_FILES
59572 CONFIG_HEADERS = $CONFIG_HEADERS
59573 CONFIG_LINKS = $CONFIG_LINKS
59574 CONFIG_COMMANDS = $CONFIG_COMMANDS
59575 $ $0 $@
59577 on `(hostname || uname -n) 2>/dev/null | sed 1q`
59580 _ACEOF
59582 case $ac_config_files in *"
59583 "*) set x $ac_config_files; shift; ac_config_files=$*;;
59584 esac
59586 case $ac_config_headers in *"
59587 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
59588 esac
59591 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59592 # Files that config.status was made for.
59593 config_files="$ac_config_files"
59594 config_headers="$ac_config_headers"
59595 config_commands="$ac_config_commands"
59597 _ACEOF
59599 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59600 ac_cs_usage="\
59601 \`$as_me' instantiates files and other configuration actions
59602 from templates according to the current configuration. Unless the files
59603 and actions are specified as TAGs, all are instantiated by default.
59605 Usage: $0 [OPTION]... [TAG]...
59607 -h, --help print this help, then exit
59608 -V, --version print version number and configuration settings, then exit
59609 -q, --quiet, --silent
59610 do not print progress messages
59611 -d, --debug don't remove temporary files
59612 --recheck update $as_me by reconfiguring in the same conditions
59613 --file=FILE[:TEMPLATE]
59614 instantiate the configuration file FILE
59615 --header=FILE[:TEMPLATE]
59616 instantiate the configuration header FILE
59618 Configuration files:
59619 $config_files
59621 Configuration headers:
59622 $config_headers
59624 Configuration commands:
59625 $config_commands
59627 Report bugs to the package provider."
59629 _ACEOF
59630 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59631 ac_cs_version="\\
59632 package-unused config.status version-unused
59633 configured by $0, generated by GNU Autoconf 2.64,
59634 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
59636 Copyright (C) 2009 Free Software Foundation, Inc.
59637 This config.status script is free software; the Free Software Foundation
59638 gives unlimited permission to copy, distribute and modify it."
59640 ac_pwd='$ac_pwd'
59641 srcdir='$srcdir'
59642 INSTALL='$INSTALL'
59643 MKDIR_P='$MKDIR_P'
59644 AWK='$AWK'
59645 test -n "\$AWK" || AWK=awk
59646 _ACEOF
59648 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59649 # The default lists apply if the user does not specify any file.
59650 ac_need_defaults=:
59651 while test $# != 0
59653 case $1 in
59654 --*=*)
59655 ac_option=`expr "X$1" : 'X\([^=]*\)='`
59656 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
59657 ac_shift=:
59660 ac_option=$1
59661 ac_optarg=$2
59662 ac_shift=shift
59664 esac
59666 case $ac_option in
59667 # Handling of the options.
59668 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
59669 ac_cs_recheck=: ;;
59670 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
59671 $as_echo "$ac_cs_version"; exit ;;
59672 --debug | --debu | --deb | --de | --d | -d )
59673 debug=: ;;
59674 --file | --fil | --fi | --f )
59675 $ac_shift
59676 case $ac_optarg in
59677 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59678 esac
59679 as_fn_append CONFIG_FILES " '$ac_optarg'"
59680 ac_need_defaults=false;;
59681 --header | --heade | --head | --hea )
59682 $ac_shift
59683 case $ac_optarg in
59684 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
59685 esac
59686 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
59687 ac_need_defaults=false;;
59688 --he | --h)
59689 # Conflict between --help and --header
59690 as_fn_error "ambiguous option: \`$1'
59691 Try \`$0 --help' for more information.";;
59692 --help | --hel | -h )
59693 $as_echo "$ac_cs_usage"; exit ;;
59694 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
59695 | -silent | --silent | --silen | --sile | --sil | --si | --s)
59696 ac_cs_silent=: ;;
59698 # This is an error.
59699 -*) as_fn_error "unrecognized option: \`$1'
59700 Try \`$0 --help' for more information." ;;
59702 *) as_fn_append ac_config_targets " $1"
59703 ac_need_defaults=false ;;
59705 esac
59706 shift
59707 done
59709 ac_configure_extra_args=
59711 if $ac_cs_silent; then
59712 exec 6>/dev/null
59713 ac_configure_extra_args="$ac_configure_extra_args --silent"
59716 _ACEOF
59717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59718 if \$ac_cs_recheck; then
59719 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
59720 shift
59721 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
59722 CONFIG_SHELL='$SHELL'
59723 export CONFIG_SHELL
59724 exec "\$@"
59727 _ACEOF
59728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
59729 exec 5>>config.log
59731 echo
59732 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
59733 ## Running $as_me. ##
59734 _ASBOX
59735 $as_echo "$ac_log"
59736 } >&5
59738 _ACEOF
59739 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
59741 # INIT-COMMANDS
59744 srcdir="$srcdir"
59745 host="$host"
59746 target="$target"
59747 with_multisubdir="$with_multisubdir"
59748 with_multisrctop="$with_multisrctop"
59749 with_target_subdir="$with_target_subdir"
59750 ac_configure_args="${multilib_arg} ${ac_configure_args}"
59751 multi_basedir="$multi_basedir"
59752 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
59753 CC="$CC"
59754 CXX="$CXX"
59755 GFORTRAN="$GFORTRAN"
59756 GCJ="$GCJ"
59759 # The HP-UX ksh and POSIX shell print the target directory to stdout
59760 # if CDPATH is set.
59761 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
59763 sed_quote_subst='$sed_quote_subst'
59764 double_quote_subst='$double_quote_subst'
59765 delay_variable_subst='$delay_variable_subst'
59766 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
59767 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
59768 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
59769 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
59770 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
59771 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
59772 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
59773 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
59774 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
59775 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
59776 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
59777 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
59778 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
59779 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
59780 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
59781 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
59782 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
59783 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
59784 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
59785 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
59786 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
59787 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
59788 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
59789 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
59790 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
59791 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
59792 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
59793 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
59794 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
59795 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
59796 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
59797 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
59798 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
59799 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
59800 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
59801 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
59802 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
59803 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59804 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59805 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
59806 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
59807 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
59808 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
59809 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
59810 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
59811 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
59812 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
59813 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
59814 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"`'
59815 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
59816 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
59817 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
59818 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
59819 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
59820 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
59821 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
59822 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
59823 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
59824 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
59825 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
59826 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
59827 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
59828 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
59829 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
59830 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
59831 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
59832 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
59833 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
59834 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
59835 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
59836 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
59837 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
59838 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
59839 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
59840 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
59841 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
59842 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
59843 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
59844 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
59845 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
59846 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
59847 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
59848 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
59849 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
59850 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
59851 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
59852 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
59853 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
59854 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
59855 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
59856 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
59857 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
59858 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
59859 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
59860 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
59861 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
59862 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
59863 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
59864 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
59865 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
59866 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
59867 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
59868 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
59869 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
59870 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
59871 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
59872 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
59873 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
59874 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
59875 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
59876 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
59877 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
59878 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
59879 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
59880 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
59881 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
59882 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
59883 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
59884 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
59885 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
59886 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
59887 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
59888 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
59889 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
59890 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
59891 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
59892 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
59893 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
59894 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59895 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59896 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
59897 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
59898 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
59899 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
59900 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
59901 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
59902 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
59903 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
59904 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
59905 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
59906 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
59907 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
59908 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59909 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59910 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59911 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59912 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59913 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59914 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
59915 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
59916 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
59917 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
59918 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
59919 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
59920 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
59921 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
59922 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
59923 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
59924 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
59925 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
59926 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
59927 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
59928 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
59929 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59930 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
59931 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
59932 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
59933 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
59934 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
59935 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
59936 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
59937 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
59938 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
59939 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
59940 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
59942 LTCC='$LTCC'
59943 LTCFLAGS='$LTCFLAGS'
59944 compiler='$compiler_DEFAULT'
59946 # A function that is used when there is no print builtin or printf.
59947 func_fallback_echo ()
59949 eval 'cat <<_LTECHO_EOF
59951 _LTECHO_EOF'
59954 # Quote evaled strings.
59955 for var in SHELL \
59956 ECHO \
59957 SED \
59958 GREP \
59959 EGREP \
59960 FGREP \
59961 LD \
59962 NM \
59963 LN_S \
59964 lt_SP2NL \
59965 lt_NL2SP \
59966 reload_flag \
59967 OBJDUMP \
59968 deplibs_check_method \
59969 file_magic_cmd \
59970 AR \
59971 AR_FLAGS \
59972 STRIP \
59973 RANLIB \
59974 CC \
59975 CFLAGS \
59976 compiler \
59977 lt_cv_sys_global_symbol_pipe \
59978 lt_cv_sys_global_symbol_to_cdecl \
59979 lt_cv_sys_global_symbol_to_c_name_address \
59980 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
59981 lt_prog_compiler_no_builtin_flag \
59982 lt_prog_compiler_wl \
59983 lt_prog_compiler_pic \
59984 lt_prog_compiler_static \
59985 lt_cv_prog_compiler_c_o \
59986 need_locks \
59987 DSYMUTIL \
59988 NMEDIT \
59989 LIPO \
59990 OTOOL \
59991 OTOOL64 \
59992 shrext_cmds \
59993 export_dynamic_flag_spec \
59994 whole_archive_flag_spec \
59995 compiler_needs_object \
59996 with_gnu_ld \
59997 allow_undefined_flag \
59998 no_undefined_flag \
59999 hardcode_libdir_flag_spec \
60000 hardcode_libdir_flag_spec_ld \
60001 hardcode_libdir_separator \
60002 fix_srcfile_path \
60003 exclude_expsyms \
60004 include_expsyms \
60005 file_list_spec \
60006 variables_saved_for_relink \
60007 libname_spec \
60008 library_names_spec \
60009 soname_spec \
60010 install_override_mode \
60011 finish_eval \
60012 old_striplib \
60013 striplib \
60014 compiler_lib_search_dirs \
60015 predep_objects \
60016 postdep_objects \
60017 predeps \
60018 postdeps \
60019 compiler_lib_search_path \
60020 LD_CXX \
60021 reload_flag_CXX \
60022 compiler_CXX \
60023 lt_prog_compiler_no_builtin_flag_CXX \
60024 lt_prog_compiler_wl_CXX \
60025 lt_prog_compiler_pic_CXX \
60026 lt_prog_compiler_static_CXX \
60027 lt_cv_prog_compiler_c_o_CXX \
60028 export_dynamic_flag_spec_CXX \
60029 whole_archive_flag_spec_CXX \
60030 compiler_needs_object_CXX \
60031 with_gnu_ld_CXX \
60032 allow_undefined_flag_CXX \
60033 no_undefined_flag_CXX \
60034 hardcode_libdir_flag_spec_CXX \
60035 hardcode_libdir_flag_spec_ld_CXX \
60036 hardcode_libdir_separator_CXX \
60037 fix_srcfile_path_CXX \
60038 exclude_expsyms_CXX \
60039 include_expsyms_CXX \
60040 file_list_spec_CXX \
60041 compiler_lib_search_dirs_CXX \
60042 predep_objects_CXX \
60043 postdep_objects_CXX \
60044 predeps_CXX \
60045 postdeps_CXX \
60046 compiler_lib_search_path_CXX; do
60047 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60048 *[\\\\\\\`\\"\\\$]*)
60049 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
60052 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60054 esac
60055 done
60057 # Double-quote double-evaled strings.
60058 for var in reload_cmds \
60059 old_postinstall_cmds \
60060 old_postuninstall_cmds \
60061 old_archive_cmds \
60062 extract_expsyms_cmds \
60063 old_archive_from_new_cmds \
60064 old_archive_from_expsyms_cmds \
60065 archive_cmds \
60066 archive_expsym_cmds \
60067 module_cmds \
60068 module_expsym_cmds \
60069 export_symbols_cmds \
60070 prelink_cmds \
60071 postinstall_cmds \
60072 postuninstall_cmds \
60073 finish_cmds \
60074 sys_lib_search_path_spec \
60075 sys_lib_dlsearch_path_spec \
60076 reload_cmds_CXX \
60077 old_archive_cmds_CXX \
60078 old_archive_from_new_cmds_CXX \
60079 old_archive_from_expsyms_cmds_CXX \
60080 archive_cmds_CXX \
60081 archive_expsym_cmds_CXX \
60082 module_cmds_CXX \
60083 module_expsym_cmds_CXX \
60084 export_symbols_cmds_CXX \
60085 prelink_cmds_CXX; do
60086 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
60087 *[\\\\\\\`\\"\\\$]*)
60088 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
60091 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
60093 esac
60094 done
60096 ac_aux_dir='$ac_aux_dir'
60097 xsi_shell='$xsi_shell'
60098 lt_shell_append='$lt_shell_append'
60100 # See if we are running on zsh, and set the options which allow our
60101 # commands through without removal of \ escapes INIT.
60102 if test -n "\${ZSH_VERSION+set}" ; then
60103 setopt NO_GLOB_SUBST
60107 PACKAGE='$PACKAGE'
60108 VERSION='$VERSION'
60109 TIMESTAMP='$TIMESTAMP'
60110 RM='$RM'
60111 ofile='$ofile'
60118 GCC="$GCC"
60119 CC="$CC"
60120 acx_cv_header_stdint="$acx_cv_header_stdint"
60121 acx_cv_type_int8_t="$acx_cv_type_int8_t"
60122 acx_cv_type_int16_t="$acx_cv_type_int16_t"
60123 acx_cv_type_int32_t="$acx_cv_type_int32_t"
60124 acx_cv_type_int64_t="$acx_cv_type_int64_t"
60125 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
60126 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
60127 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
60128 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
60129 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
60130 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
60131 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
60132 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
60133 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
60136 _ACEOF
60138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60140 # Handling of arguments.
60141 for ac_config_target in $ac_config_targets
60143 case $ac_config_target in
60144 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
60145 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
60146 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
60147 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
60148 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
60149 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
60150 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
60151 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
60152 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
60153 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
60154 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
60155 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
60156 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
60157 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
60159 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
60160 esac
60161 done
60164 # If the user did not use the arguments to specify the items to instantiate,
60165 # then the envvar interface is used. Set only those that are not.
60166 # We use the long form for the default assignment because of an extremely
60167 # bizarre bug on SunOS 4.1.3.
60168 if $ac_need_defaults; then
60169 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
60170 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
60171 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
60174 # Have a temporary directory for convenience. Make it in the build tree
60175 # simply because there is no reason against having it here, and in addition,
60176 # creating and moving files from /tmp can sometimes cause problems.
60177 # Hook for its removal unless debugging.
60178 # Note that there is a small window in which the directory will not be cleaned:
60179 # after its creation but before its name has been assigned to `$tmp'.
60180 $debug ||
60182 tmp=
60183 trap 'exit_status=$?
60184 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
60186 trap 'as_fn_exit 1' 1 2 13 15
60188 # Create a (secure) tmp directory for tmp files.
60191 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
60192 test -n "$tmp" && test -d "$tmp"
60193 } ||
60195 tmp=./conf$$-$RANDOM
60196 (umask 077 && mkdir "$tmp")
60197 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
60199 # Set up the scripts for CONFIG_FILES section.
60200 # No need to generate them if there are no CONFIG_FILES.
60201 # This happens for instance with `./config.status config.h'.
60202 if test -n "$CONFIG_FILES"; then
60205 ac_cr=`echo X | tr X '\015'`
60206 # On cygwin, bash can eat \r inside `` if the user requested igncr.
60207 # But we know of no other shell where ac_cr would be empty at this
60208 # point, so we can use a bashism as a fallback.
60209 if test "x$ac_cr" = x; then
60210 eval ac_cr=\$\'\\r\'
60212 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
60213 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
60214 ac_cs_awk_cr='\r'
60215 else
60216 ac_cs_awk_cr=$ac_cr
60219 echo 'BEGIN {' >"$tmp/subs1.awk" &&
60220 _ACEOF
60224 echo "cat >conf$$subs.awk <<_ACEOF" &&
60225 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
60226 echo "_ACEOF"
60227 } >conf$$subs.sh ||
60228 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60229 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
60230 ac_delim='%!_!# '
60231 for ac_last_try in false false false false false :; do
60232 . ./conf$$subs.sh ||
60233 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60235 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
60236 if test $ac_delim_n = $ac_delim_num; then
60237 break
60238 elif $ac_last_try; then
60239 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
60240 else
60241 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60243 done
60244 rm -f conf$$subs.sh
60246 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60247 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
60248 _ACEOF
60249 sed -n '
60251 s/^/S["/; s/!.*/"]=/
60254 s/^[^!]*!//
60255 :repl
60256 t repl
60257 s/'"$ac_delim"'$//
60258 t delim
60261 s/\(.\{148\}\).*/\1/
60262 t more1
60263 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
60266 b repl
60267 :more1
60268 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60271 s/.\{148\}//
60272 t nl
60273 :delim
60275 s/\(.\{148\}\).*/\1/
60276 t more2
60277 s/["\\]/\\&/g; s/^/"/; s/$/"/
60280 :more2
60281 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
60284 s/.\{148\}//
60285 t delim
60286 ' <conf$$subs.awk | sed '
60287 /^[^""]/{
60289 s/\n//
60291 ' >>$CONFIG_STATUS || ac_write_fail=1
60292 rm -f conf$$subs.awk
60293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60294 _ACAWK
60295 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
60296 for (key in S) S_is_set[key] = 1
60297 FS = "\a"
60301 line = $ 0
60302 nfields = split(line, field, "@")
60303 substed = 0
60304 len = length(field[1])
60305 for (i = 2; i < nfields; i++) {
60306 key = field[i]
60307 keylen = length(key)
60308 if (S_is_set[key]) {
60309 value = S[key]
60310 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
60311 len += length(value) + length(field[++i])
60312 substed = 1
60313 } else
60314 len += 1 + keylen
60317 print line
60320 _ACAWK
60321 _ACEOF
60322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60323 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
60324 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
60325 else
60327 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
60328 || as_fn_error "could not setup config files machinery" "$LINENO" 5
60329 _ACEOF
60331 # VPATH may cause trouble with some makes, so we remove $(srcdir),
60332 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
60333 # trailing colons and then remove the whole line if VPATH becomes empty
60334 # (actually we leave an empty line to preserve line numbers).
60335 if test "x$srcdir" = x.; then
60336 ac_vpsub='/^[ ]*VPATH[ ]*=/{
60337 s/:*\$(srcdir):*/:/
60338 s/:*\${srcdir}:*/:/
60339 s/:*@srcdir@:*/:/
60340 s/^\([^=]*=[ ]*\):*/\1/
60341 s/:*$//
60342 s/^[^=]*=[ ]*$//
60346 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60347 fi # test -n "$CONFIG_FILES"
60349 # Set up the scripts for CONFIG_HEADERS section.
60350 # No need to generate them if there are no CONFIG_HEADERS.
60351 # This happens for instance with `./config.status Makefile'.
60352 if test -n "$CONFIG_HEADERS"; then
60353 cat >"$tmp/defines.awk" <<\_ACAWK ||
60354 BEGIN {
60355 _ACEOF
60357 # Transform confdefs.h into an awk script `defines.awk', embedded as
60358 # here-document in config.status, that substitutes the proper values into
60359 # config.h.in to produce config.h.
60361 # Create a delimiter string that does not exist in confdefs.h, to ease
60362 # handling of long lines.
60363 ac_delim='%!_!# '
60364 for ac_last_try in false false :; do
60365 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
60366 if test -z "$ac_t"; then
60367 break
60368 elif $ac_last_try; then
60369 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
60370 else
60371 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
60373 done
60375 # For the awk script, D is an array of macro values keyed by name,
60376 # likewise P contains macro parameters if any. Preserve backslash
60377 # newline sequences.
60379 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
60380 sed -n '
60381 s/.\{148\}/&'"$ac_delim"'/g
60382 t rset
60383 :rset
60384 s/^[ ]*#[ ]*define[ ][ ]*/ /
60385 t def
60387 :def
60388 s/\\$//
60389 t bsnl
60390 s/["\\]/\\&/g
60391 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60392 D["\1"]=" \3"/p
60393 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
60395 :bsnl
60396 s/["\\]/\\&/g
60397 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
60398 D["\1"]=" \3\\\\\\n"\\/p
60399 t cont
60400 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
60401 t cont
60403 :cont
60405 s/.\{148\}/&'"$ac_delim"'/g
60406 t clear
60407 :clear
60408 s/\\$//
60409 t bsnlc
60410 s/["\\]/\\&/g; s/^/"/; s/$/"/p
60412 :bsnlc
60413 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
60414 b cont
60415 ' <confdefs.h | sed '
60416 s/'"$ac_delim"'/"\\\
60417 "/g' >>$CONFIG_STATUS || ac_write_fail=1
60419 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60420 for (key in D) D_is_set[key] = 1
60421 FS = "\a"
60423 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
60424 line = \$ 0
60425 split(line, arg, " ")
60426 if (arg[1] == "#") {
60427 defundef = arg[2]
60428 mac1 = arg[3]
60429 } else {
60430 defundef = substr(arg[1], 2)
60431 mac1 = arg[2]
60433 split(mac1, mac2, "(") #)
60434 macro = mac2[1]
60435 prefix = substr(line, 1, index(line, defundef) - 1)
60436 if (D_is_set[macro]) {
60437 # Preserve the white space surrounding the "#".
60438 print prefix "define", macro P[macro] D[macro]
60439 next
60440 } else {
60441 # Replace #undef with comments. This is necessary, for example,
60442 # in the case of _POSIX_SOURCE, which is predefined and required
60443 # on some systems where configure will not decide to define it.
60444 if (defundef == "undef") {
60445 print "/*", prefix defundef, macro, "*/"
60446 next
60450 { print }
60451 _ACAWK
60452 _ACEOF
60453 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60454 as_fn_error "could not setup config headers machinery" "$LINENO" 5
60455 fi # test -n "$CONFIG_HEADERS"
60458 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
60459 shift
60460 for ac_tag
60462 case $ac_tag in
60463 :[FHLC]) ac_mode=$ac_tag; continue;;
60464 esac
60465 case $ac_mode$ac_tag in
60466 :[FHL]*:*);;
60467 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
60468 :[FH]-) ac_tag=-:-;;
60469 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
60470 esac
60471 ac_save_IFS=$IFS
60472 IFS=:
60473 set x $ac_tag
60474 IFS=$ac_save_IFS
60475 shift
60476 ac_file=$1
60477 shift
60479 case $ac_mode in
60480 :L) ac_source=$1;;
60481 :[FH])
60482 ac_file_inputs=
60483 for ac_f
60485 case $ac_f in
60486 -) ac_f="$tmp/stdin";;
60487 *) # Look for the file first in the build tree, then in the source tree
60488 # (if the path is not absolute). The absolute path cannot be DOS-style,
60489 # because $ac_f cannot contain `:'.
60490 test -f "$ac_f" ||
60491 case $ac_f in
60492 [\\/$]*) false;;
60493 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
60494 esac ||
60495 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
60496 esac
60497 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
60498 as_fn_append ac_file_inputs " '$ac_f'"
60499 done
60501 # Let's still pretend it is `configure' which instantiates (i.e., don't
60502 # use $as_me), people would be surprised to read:
60503 # /* config.h. Generated by config.status. */
60504 configure_input='Generated from '`
60505 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
60506 `' by configure.'
60507 if test x"$ac_file" != x-; then
60508 configure_input="$ac_file. $configure_input"
60509 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
60510 $as_echo "$as_me: creating $ac_file" >&6;}
60512 # Neutralize special characters interpreted by sed in replacement strings.
60513 case $configure_input in #(
60514 *\&* | *\|* | *\\* )
60515 ac_sed_conf_input=`$as_echo "$configure_input" |
60516 sed 's/[\\\\&|]/\\\\&/g'`;; #(
60517 *) ac_sed_conf_input=$configure_input;;
60518 esac
60520 case $ac_tag in
60521 *:-:* | *:-) cat >"$tmp/stdin" \
60522 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
60523 esac
60525 esac
60527 ac_dir=`$as_dirname -- "$ac_file" ||
60528 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60529 X"$ac_file" : 'X\(//\)[^/]' \| \
60530 X"$ac_file" : 'X\(//\)$' \| \
60531 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
60532 $as_echo X"$ac_file" |
60533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60534 s//\1/
60537 /^X\(\/\/\)[^/].*/{
60538 s//\1/
60541 /^X\(\/\/\)$/{
60542 s//\1/
60545 /^X\(\/\).*/{
60546 s//\1/
60549 s/.*/./; q'`
60550 as_dir="$ac_dir"; as_fn_mkdir_p
60551 ac_builddir=.
60553 case "$ac_dir" in
60554 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
60556 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
60557 # A ".." for each directory in $ac_dir_suffix.
60558 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
60559 case $ac_top_builddir_sub in
60560 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
60561 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
60562 esac ;;
60563 esac
60564 ac_abs_top_builddir=$ac_pwd
60565 ac_abs_builddir=$ac_pwd$ac_dir_suffix
60566 # for backward compatibility:
60567 ac_top_builddir=$ac_top_build_prefix
60569 case $srcdir in
60570 .) # We are building in place.
60571 ac_srcdir=.
60572 ac_top_srcdir=$ac_top_builddir_sub
60573 ac_abs_top_srcdir=$ac_pwd ;;
60574 [\\/]* | ?:[\\/]* ) # Absolute name.
60575 ac_srcdir=$srcdir$ac_dir_suffix;
60576 ac_top_srcdir=$srcdir
60577 ac_abs_top_srcdir=$srcdir ;;
60578 *) # Relative name.
60579 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
60580 ac_top_srcdir=$ac_top_build_prefix$srcdir
60581 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
60582 esac
60583 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
60586 case $ac_mode in
60589 # CONFIG_FILE
60592 case $INSTALL in
60593 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
60594 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
60595 esac
60596 ac_MKDIR_P=$MKDIR_P
60597 case $MKDIR_P in
60598 [\\/$]* | ?:[\\/]* ) ;;
60599 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
60600 esac
60601 _ACEOF
60603 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60604 # If the template does not know about datarootdir, expand it.
60605 # FIXME: This hack should be removed a few years after 2.60.
60606 ac_datarootdir_hack=; ac_datarootdir_seen=
60607 ac_sed_dataroot='
60608 /datarootdir/ {
60612 /@datadir@/p
60613 /@docdir@/p
60614 /@infodir@/p
60615 /@localedir@/p
60616 /@mandir@/p'
60617 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
60618 *datarootdir*) ac_datarootdir_seen=yes;;
60619 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
60620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
60621 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
60622 _ACEOF
60623 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60624 ac_datarootdir_hack='
60625 s&@datadir@&$datadir&g
60626 s&@docdir@&$docdir&g
60627 s&@infodir@&$infodir&g
60628 s&@localedir@&$localedir&g
60629 s&@mandir@&$mandir&g
60630 s&\\\${datarootdir}&$datarootdir&g' ;;
60631 esac
60632 _ACEOF
60634 # Neutralize VPATH when `$srcdir' = `.'.
60635 # Shell code in configure.ac might set extrasub.
60636 # FIXME: do we really want to maintain this feature?
60637 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
60638 ac_sed_extra="$ac_vpsub
60639 $extrasub
60640 _ACEOF
60641 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
60643 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
60644 s|@configure_input@|$ac_sed_conf_input|;t t
60645 s&@top_builddir@&$ac_top_builddir_sub&;t t
60646 s&@top_build_prefix@&$ac_top_build_prefix&;t t
60647 s&@srcdir@&$ac_srcdir&;t t
60648 s&@abs_srcdir@&$ac_abs_srcdir&;t t
60649 s&@top_srcdir@&$ac_top_srcdir&;t t
60650 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
60651 s&@builddir@&$ac_builddir&;t t
60652 s&@abs_builddir@&$ac_abs_builddir&;t t
60653 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
60654 s&@INSTALL@&$ac_INSTALL&;t t
60655 s&@MKDIR_P@&$ac_MKDIR_P&;t t
60656 $ac_datarootdir_hack
60658 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
60659 || as_fn_error "could not create $ac_file" "$LINENO" 5
60661 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
60662 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
60663 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
60664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60665 which seems to be undefined. Please make sure it is defined." >&5
60666 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
60667 which seems to be undefined. Please make sure it is defined." >&2;}
60669 rm -f "$tmp/stdin"
60670 case $ac_file in
60671 -) cat "$tmp/out" && rm -f "$tmp/out";;
60672 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
60673 esac \
60674 || as_fn_error "could not create $ac_file" "$LINENO" 5
60678 # CONFIG_HEADER
60680 if test x"$ac_file" != x-; then
60682 $as_echo "/* $configure_input */" \
60683 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
60684 } >"$tmp/config.h" \
60685 || as_fn_error "could not create $ac_file" "$LINENO" 5
60686 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
60687 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
60688 $as_echo "$as_me: $ac_file is unchanged" >&6;}
60689 else
60690 rm -f "$ac_file"
60691 mv "$tmp/config.h" "$ac_file" \
60692 || as_fn_error "could not create $ac_file" "$LINENO" 5
60694 else
60695 $as_echo "/* $configure_input */" \
60696 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
60697 || as_fn_error "could not create -" "$LINENO" 5
60699 # Compute "$ac_file"'s index in $config_headers.
60700 _am_arg="$ac_file"
60701 _am_stamp_count=1
60702 for _am_header in $config_headers :; do
60703 case $_am_header in
60704 $_am_arg | $_am_arg:* )
60705 break ;;
60707 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
60708 esac
60709 done
60710 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
60711 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
60712 X"$_am_arg" : 'X\(//\)[^/]' \| \
60713 X"$_am_arg" : 'X\(//\)$' \| \
60714 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
60715 $as_echo X"$_am_arg" |
60716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
60717 s//\1/
60720 /^X\(\/\/\)[^/].*/{
60721 s//\1/
60724 /^X\(\/\/\)$/{
60725 s//\1/
60728 /^X\(\/\).*/{
60729 s//\1/
60732 s/.*/./; q'`/stamp-h$_am_stamp_count
60735 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
60736 $as_echo "$as_me: executing $ac_file commands" >&6;}
60738 esac
60741 case $ac_file$ac_mode in
60742 "default-1":C)
60743 # Only add multilib support code if we just rebuilt the top-level
60744 # Makefile.
60745 case " $CONFIG_FILES " in
60746 *" Makefile "*)
60747 ac_file=Makefile . ${multi_basedir}/config-ml.in
60749 esac ;;
60750 "libtool":C)
60752 # See if we are running on zsh, and set the options which allow our
60753 # commands through without removal of \ escapes.
60754 if test -n "${ZSH_VERSION+set}" ; then
60755 setopt NO_GLOB_SUBST
60758 cfgfile="${ofile}T"
60759 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
60760 $RM "$cfgfile"
60762 cat <<_LT_EOF >> "$cfgfile"
60763 #! $SHELL
60765 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
60766 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
60767 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
60768 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
60770 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
60771 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
60772 # Written by Gordon Matzigkeit, 1996
60774 # This file is part of GNU Libtool.
60776 # GNU Libtool is free software; you can redistribute it and/or
60777 # modify it under the terms of the GNU General Public License as
60778 # published by the Free Software Foundation; either version 2 of
60779 # the License, or (at your option) any later version.
60781 # As a special exception to the GNU General Public License,
60782 # if you distribute this file as part of a program or library that
60783 # is built using GNU Libtool, you may include this file under the
60784 # same distribution terms that you use for the rest of that program.
60786 # GNU Libtool is distributed in the hope that it will be useful,
60787 # but WITHOUT ANY WARRANTY; without even the implied warranty of
60788 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
60789 # GNU General Public License for more details.
60791 # You should have received a copy of the GNU General Public License
60792 # along with GNU Libtool; see the file COPYING. If not, a copy
60793 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
60794 # obtained by writing to the Free Software Foundation, Inc.,
60795 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
60798 # The names of the tagged configurations supported by this script.
60799 available_tags="CXX "
60801 # ### BEGIN LIBTOOL CONFIG
60803 # Which release of libtool.m4 was used?
60804 macro_version=$macro_version
60805 macro_revision=$macro_revision
60807 # Whether or not to build shared libraries.
60808 build_libtool_libs=$enable_shared
60810 # Whether or not to build static libraries.
60811 build_old_libs=$enable_static
60813 # What type of objects to build.
60814 pic_mode=$pic_mode
60816 # Whether or not to optimize for fast installation.
60817 fast_install=$enable_fast_install
60819 # Shell to use when invoking shell scripts.
60820 SHELL=$lt_SHELL
60822 # An echo program that protects backslashes.
60823 ECHO=$lt_ECHO
60825 # The host system.
60826 host_alias=$host_alias
60827 host=$host
60828 host_os=$host_os
60830 # The build system.
60831 build_alias=$build_alias
60832 build=$build
60833 build_os=$build_os
60835 # A sed program that does not truncate output.
60836 SED=$lt_SED
60838 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
60839 Xsed="\$SED -e 1s/^X//"
60841 # A grep program that handles long lines.
60842 GREP=$lt_GREP
60844 # An ERE matcher.
60845 EGREP=$lt_EGREP
60847 # A literal string matcher.
60848 FGREP=$lt_FGREP
60850 # A BSD- or MS-compatible name lister.
60851 NM=$lt_NM
60853 # Whether we need soft or hard links.
60854 LN_S=$lt_LN_S
60856 # What is the maximum length of a command?
60857 max_cmd_len=$max_cmd_len
60859 # Object file suffix (normally "o").
60860 objext=$ac_objext
60862 # Executable file suffix (normally "").
60863 exeext=$exeext
60865 # whether the shell understands "unset".
60866 lt_unset=$lt_unset
60868 # turn spaces into newlines.
60869 SP2NL=$lt_lt_SP2NL
60871 # turn newlines into spaces.
60872 NL2SP=$lt_lt_NL2SP
60874 # An object symbol dumper.
60875 OBJDUMP=$lt_OBJDUMP
60877 # Method to check whether dependent libraries are shared objects.
60878 deplibs_check_method=$lt_deplibs_check_method
60880 # Command to use when deplibs_check_method == "file_magic".
60881 file_magic_cmd=$lt_file_magic_cmd
60883 # The archiver.
60884 AR=$lt_AR
60885 AR_FLAGS=$lt_AR_FLAGS
60887 # A symbol stripping program.
60888 STRIP=$lt_STRIP
60890 # Commands used to install an old-style archive.
60891 RANLIB=$lt_RANLIB
60892 old_postinstall_cmds=$lt_old_postinstall_cmds
60893 old_postuninstall_cmds=$lt_old_postuninstall_cmds
60895 # Whether to use a lock for old archive extraction.
60896 lock_old_archive_extraction=$lock_old_archive_extraction
60898 # A C compiler.
60899 LTCC=$lt_CC
60901 # LTCC compiler flags.
60902 LTCFLAGS=$lt_CFLAGS
60904 # Take the output of nm and produce a listing of raw symbols and C names.
60905 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
60907 # Transform the output of nm in a proper C declaration.
60908 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
60910 # Transform the output of nm in a C name address pair.
60911 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
60913 # Transform the output of nm in a C name address pair when lib prefix is needed.
60914 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
60916 # The name of the directory that contains temporary libtool files.
60917 objdir=$objdir
60919 # Used to examine libraries when file_magic_cmd begins with "file".
60920 MAGIC_CMD=$MAGIC_CMD
60922 # Must we lock files when doing compilation?
60923 need_locks=$lt_need_locks
60925 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
60926 DSYMUTIL=$lt_DSYMUTIL
60928 # Tool to change global to local symbols on Mac OS X.
60929 NMEDIT=$lt_NMEDIT
60931 # Tool to manipulate fat objects and archives on Mac OS X.
60932 LIPO=$lt_LIPO
60934 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
60935 OTOOL=$lt_OTOOL
60937 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
60938 OTOOL64=$lt_OTOOL64
60940 # Old archive suffix (normally "a").
60941 libext=$libext
60943 # Shared library suffix (normally ".so").
60944 shrext_cmds=$lt_shrext_cmds
60946 # The commands to extract the exported symbol list from a shared archive.
60947 extract_expsyms_cmds=$lt_extract_expsyms_cmds
60949 # Variables whose values should be saved in libtool wrapper scripts and
60950 # restored at link time.
60951 variables_saved_for_relink=$lt_variables_saved_for_relink
60953 # Do we need the "lib" prefix for modules?
60954 need_lib_prefix=$need_lib_prefix
60956 # Do we need a version for libraries?
60957 need_version=$need_version
60959 # Library versioning type.
60960 version_type=$version_type
60962 # Shared library runtime path variable.
60963 runpath_var=$runpath_var
60965 # Shared library path variable.
60966 shlibpath_var=$shlibpath_var
60968 # Is shlibpath searched before the hard-coded library search path?
60969 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
60971 # Format of library name prefix.
60972 libname_spec=$lt_libname_spec
60974 # List of archive names. First name is the real one, the rest are links.
60975 # The last name is the one that the linker finds with -lNAME
60976 library_names_spec=$lt_library_names_spec
60978 # The coded name of the library, if different from the real name.
60979 soname_spec=$lt_soname_spec
60981 # Permission mode override for installation of shared libraries.
60982 install_override_mode=$lt_install_override_mode
60984 # Command to use after installation of a shared archive.
60985 postinstall_cmds=$lt_postinstall_cmds
60987 # Command to use after uninstallation of a shared archive.
60988 postuninstall_cmds=$lt_postuninstall_cmds
60990 # Commands used to finish a libtool library installation in a directory.
60991 finish_cmds=$lt_finish_cmds
60993 # As "finish_cmds", except a single script fragment to be evaled but
60994 # not shown.
60995 finish_eval=$lt_finish_eval
60997 # Whether we should hardcode library paths into libraries.
60998 hardcode_into_libs=$hardcode_into_libs
61000 # Compile-time system search path for libraries.
61001 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
61003 # Run-time system search path for libraries.
61004 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
61006 # Whether dlopen is supported.
61007 dlopen_support=$enable_dlopen
61009 # Whether dlopen of programs is supported.
61010 dlopen_self=$enable_dlopen_self
61012 # Whether dlopen of statically linked programs is supported.
61013 dlopen_self_static=$enable_dlopen_self_static
61015 # Commands to strip libraries.
61016 old_striplib=$lt_old_striplib
61017 striplib=$lt_striplib
61020 # The linker used to build libraries.
61021 LD=$lt_LD
61023 # How to create reloadable object files.
61024 reload_flag=$lt_reload_flag
61025 reload_cmds=$lt_reload_cmds
61027 # Commands used to build an old-style archive.
61028 old_archive_cmds=$lt_old_archive_cmds
61030 # A language specific compiler.
61031 CC=$lt_compiler
61033 # Is the compiler the GNU compiler?
61034 with_gcc=$GCC
61036 # Compiler flag to turn off builtin functions.
61037 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
61039 # How to pass a linker flag through the compiler.
61040 wl=$lt_lt_prog_compiler_wl
61042 # Additional compiler flags for building library objects.
61043 pic_flag=$lt_lt_prog_compiler_pic
61045 # Compiler flag to prevent dynamic linking.
61046 link_static_flag=$lt_lt_prog_compiler_static
61048 # Does compiler simultaneously support -c and -o options?
61049 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
61051 # Whether or not to add -lc for building shared libraries.
61052 build_libtool_need_lc=$archive_cmds_need_lc
61054 # Whether or not to disallow shared libs when runtime libs are static.
61055 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
61057 # Compiler flag to allow reflexive dlopens.
61058 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
61060 # Compiler flag to generate shared objects directly from archives.
61061 whole_archive_flag_spec=$lt_whole_archive_flag_spec
61063 # Whether the compiler copes with passing no objects directly.
61064 compiler_needs_object=$lt_compiler_needs_object
61066 # Create an old-style archive from a shared archive.
61067 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
61069 # Create a temporary old-style archive to link instead of a shared archive.
61070 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
61072 # Commands used to build a shared archive.
61073 archive_cmds=$lt_archive_cmds
61074 archive_expsym_cmds=$lt_archive_expsym_cmds
61076 # Commands used to build a loadable module if different from building
61077 # a shared archive.
61078 module_cmds=$lt_module_cmds
61079 module_expsym_cmds=$lt_module_expsym_cmds
61081 # Whether we are building with GNU ld or not.
61082 with_gnu_ld=$lt_with_gnu_ld
61084 # Flag that allows shared libraries with undefined symbols to be built.
61085 allow_undefined_flag=$lt_allow_undefined_flag
61087 # Flag that enforces no undefined symbols.
61088 no_undefined_flag=$lt_no_undefined_flag
61090 # Flag to hardcode \$libdir into a binary during linking.
61091 # This must work even if \$libdir does not exist
61092 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
61094 # If ld is used when linking, flag to hardcode \$libdir into a binary
61095 # during linking. This must work even if \$libdir does not exist.
61096 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
61098 # Whether we need a single "-rpath" flag with a separated argument.
61099 hardcode_libdir_separator=$lt_hardcode_libdir_separator
61101 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61102 # DIR into the resulting binary.
61103 hardcode_direct=$hardcode_direct
61105 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61106 # DIR into the resulting binary and the resulting library dependency is
61107 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61108 # library is relocated.
61109 hardcode_direct_absolute=$hardcode_direct_absolute
61111 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61112 # into the resulting binary.
61113 hardcode_minus_L=$hardcode_minus_L
61115 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61116 # into the resulting binary.
61117 hardcode_shlibpath_var=$hardcode_shlibpath_var
61119 # Set to "yes" if building a shared library automatically hardcodes DIR
61120 # into the library and all subsequent libraries and executables linked
61121 # against it.
61122 hardcode_automatic=$hardcode_automatic
61124 # Set to yes if linker adds runtime paths of dependent libraries
61125 # to runtime path list.
61126 inherit_rpath=$inherit_rpath
61128 # Whether libtool must link a program against all its dependency libraries.
61129 link_all_deplibs=$link_all_deplibs
61131 # Fix the shell variable \$srcfile for the compiler.
61132 fix_srcfile_path=$lt_fix_srcfile_path
61134 # Set to "yes" if exported symbols are required.
61135 always_export_symbols=$always_export_symbols
61137 # The commands to list exported symbols.
61138 export_symbols_cmds=$lt_export_symbols_cmds
61140 # Symbols that should not be listed in the preloaded symbols.
61141 exclude_expsyms=$lt_exclude_expsyms
61143 # Symbols that must always be exported.
61144 include_expsyms=$lt_include_expsyms
61146 # Commands necessary for linking programs (against libraries) with templates.
61147 prelink_cmds=$lt_prelink_cmds
61149 # Specify filename containing input files.
61150 file_list_spec=$lt_file_list_spec
61152 # How to hardcode a shared library path into an executable.
61153 hardcode_action=$hardcode_action
61155 # The directories searched by this compiler when creating a shared library.
61156 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
61158 # Dependencies to place before and after the objects being linked to
61159 # create a shared library.
61160 predep_objects=$lt_predep_objects
61161 postdep_objects=$lt_postdep_objects
61162 predeps=$lt_predeps
61163 postdeps=$lt_postdeps
61165 # The library search path used internally by the compiler when linking
61166 # a shared library.
61167 compiler_lib_search_path=$lt_compiler_lib_search_path
61169 # ### END LIBTOOL CONFIG
61171 _LT_EOF
61173 case $host_os in
61174 aix3*)
61175 cat <<\_LT_EOF >> "$cfgfile"
61176 # AIX sometimes has problems with the GCC collect2 program. For some
61177 # reason, if we set the COLLECT_NAMES environment variable, the problems
61178 # vanish in a puff of smoke.
61179 if test "X${COLLECT_NAMES+set}" != Xset; then
61180 COLLECT_NAMES=
61181 export COLLECT_NAMES
61183 _LT_EOF
61185 esac
61188 ltmain="$ac_aux_dir/ltmain.sh"
61191 # We use sed instead of cat because bash on DJGPP gets confused if
61192 # if finds mixed CR/LF and LF-only lines. Since sed operates in
61193 # text mode, it properly converts lines to CR/LF. This bash problem
61194 # is reportedly fixed, but why not run on old versions too?
61195 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
61196 || (rm -f "$cfgfile"; exit 1)
61198 case $xsi_shell in
61199 yes)
61200 cat << \_LT_EOF >> "$cfgfile"
61202 # func_dirname file append nondir_replacement
61203 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61204 # otherwise set result to NONDIR_REPLACEMENT.
61205 func_dirname ()
61207 case ${1} in
61208 */*) func_dirname_result="${1%/*}${2}" ;;
61209 * ) func_dirname_result="${3}" ;;
61210 esac
61213 # func_basename file
61214 func_basename ()
61216 func_basename_result="${1##*/}"
61219 # func_dirname_and_basename file append nondir_replacement
61220 # perform func_basename and func_dirname in a single function
61221 # call:
61222 # dirname: Compute the dirname of FILE. If nonempty,
61223 # add APPEND to the result, otherwise set result
61224 # to NONDIR_REPLACEMENT.
61225 # value returned in "$func_dirname_result"
61226 # basename: Compute filename of FILE.
61227 # value retuned in "$func_basename_result"
61228 # Implementation must be kept synchronized with func_dirname
61229 # and func_basename. For efficiency, we do not delegate to
61230 # those functions but instead duplicate the functionality here.
61231 func_dirname_and_basename ()
61233 case ${1} in
61234 */*) func_dirname_result="${1%/*}${2}" ;;
61235 * ) func_dirname_result="${3}" ;;
61236 esac
61237 func_basename_result="${1##*/}"
61240 # func_stripname prefix suffix name
61241 # strip PREFIX and SUFFIX off of NAME.
61242 # PREFIX and SUFFIX must not contain globbing or regex special
61243 # characters, hashes, percent signs, but SUFFIX may contain a leading
61244 # dot (in which case that matches only a dot).
61245 func_stripname ()
61247 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
61248 # positional parameters, so assign one to ordinary parameter first.
61249 func_stripname_result=${3}
61250 func_stripname_result=${func_stripname_result#"${1}"}
61251 func_stripname_result=${func_stripname_result%"${2}"}
61254 # func_opt_split
61255 func_opt_split ()
61257 func_opt_split_opt=${1%%=*}
61258 func_opt_split_arg=${1#*=}
61261 # func_lo2o object
61262 func_lo2o ()
61264 case ${1} in
61265 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
61266 *) func_lo2o_result=${1} ;;
61267 esac
61270 # func_xform libobj-or-source
61271 func_xform ()
61273 func_xform_result=${1%.*}.lo
61276 # func_arith arithmetic-term...
61277 func_arith ()
61279 func_arith_result=$(( $* ))
61282 # func_len string
61283 # STRING may not start with a hyphen.
61284 func_len ()
61286 func_len_result=${#1}
61289 _LT_EOF
61291 *) # Bourne compatible functions.
61292 cat << \_LT_EOF >> "$cfgfile"
61294 # func_dirname file append nondir_replacement
61295 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
61296 # otherwise set result to NONDIR_REPLACEMENT.
61297 func_dirname ()
61299 # Extract subdirectory from the argument.
61300 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
61301 if test "X$func_dirname_result" = "X${1}"; then
61302 func_dirname_result="${3}"
61303 else
61304 func_dirname_result="$func_dirname_result${2}"
61308 # func_basename file
61309 func_basename ()
61311 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
61315 # func_stripname prefix suffix name
61316 # strip PREFIX and SUFFIX off of NAME.
61317 # PREFIX and SUFFIX must not contain globbing or regex special
61318 # characters, hashes, percent signs, but SUFFIX may contain a leading
61319 # dot (in which case that matches only a dot).
61320 # func_strip_suffix prefix name
61321 func_stripname ()
61323 case ${2} in
61324 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
61325 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
61326 esac
61329 # sed scripts:
61330 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
61331 my_sed_long_arg='1s/^-[^=]*=//'
61333 # func_opt_split
61334 func_opt_split ()
61336 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
61337 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
61340 # func_lo2o object
61341 func_lo2o ()
61343 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
61346 # func_xform libobj-or-source
61347 func_xform ()
61349 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
61352 # func_arith arithmetic-term...
61353 func_arith ()
61355 func_arith_result=`expr "$@"`
61358 # func_len string
61359 # STRING may not start with a hyphen.
61360 func_len ()
61362 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
61365 _LT_EOF
61366 esac
61368 case $lt_shell_append in
61369 yes)
61370 cat << \_LT_EOF >> "$cfgfile"
61372 # func_append var value
61373 # Append VALUE to the end of shell variable VAR.
61374 func_append ()
61376 eval "$1+=\$2"
61378 _LT_EOF
61381 cat << \_LT_EOF >> "$cfgfile"
61383 # func_append var value
61384 # Append VALUE to the end of shell variable VAR.
61385 func_append ()
61387 eval "$1=\$$1\$2"
61390 _LT_EOF
61392 esac
61395 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
61396 || (rm -f "$cfgfile"; exit 1)
61398 mv -f "$cfgfile" "$ofile" ||
61399 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
61400 chmod +x "$ofile"
61403 cat <<_LT_EOF >> "$ofile"
61405 # ### BEGIN LIBTOOL TAG CONFIG: CXX
61407 # The linker used to build libraries.
61408 LD=$lt_LD_CXX
61410 # How to create reloadable object files.
61411 reload_flag=$lt_reload_flag_CXX
61412 reload_cmds=$lt_reload_cmds_CXX
61414 # Commands used to build an old-style archive.
61415 old_archive_cmds=$lt_old_archive_cmds_CXX
61417 # A language specific compiler.
61418 CC=$lt_compiler_CXX
61420 # Is the compiler the GNU compiler?
61421 with_gcc=$GCC_CXX
61423 # Compiler flag to turn off builtin functions.
61424 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
61426 # How to pass a linker flag through the compiler.
61427 wl=$lt_lt_prog_compiler_wl_CXX
61429 # Additional compiler flags for building library objects.
61430 pic_flag=$lt_lt_prog_compiler_pic_CXX
61432 # Compiler flag to prevent dynamic linking.
61433 link_static_flag=$lt_lt_prog_compiler_static_CXX
61435 # Does compiler simultaneously support -c and -o options?
61436 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
61438 # Whether or not to add -lc for building shared libraries.
61439 build_libtool_need_lc=$archive_cmds_need_lc_CXX
61441 # Whether or not to disallow shared libs when runtime libs are static.
61442 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
61444 # Compiler flag to allow reflexive dlopens.
61445 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
61447 # Compiler flag to generate shared objects directly from archives.
61448 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
61450 # Whether the compiler copes with passing no objects directly.
61451 compiler_needs_object=$lt_compiler_needs_object_CXX
61453 # Create an old-style archive from a shared archive.
61454 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
61456 # Create a temporary old-style archive to link instead of a shared archive.
61457 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
61459 # Commands used to build a shared archive.
61460 archive_cmds=$lt_archive_cmds_CXX
61461 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
61463 # Commands used to build a loadable module if different from building
61464 # a shared archive.
61465 module_cmds=$lt_module_cmds_CXX
61466 module_expsym_cmds=$lt_module_expsym_cmds_CXX
61468 # Whether we are building with GNU ld or not.
61469 with_gnu_ld=$lt_with_gnu_ld_CXX
61471 # Flag that allows shared libraries with undefined symbols to be built.
61472 allow_undefined_flag=$lt_allow_undefined_flag_CXX
61474 # Flag that enforces no undefined symbols.
61475 no_undefined_flag=$lt_no_undefined_flag_CXX
61477 # Flag to hardcode \$libdir into a binary during linking.
61478 # This must work even if \$libdir does not exist
61479 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
61481 # If ld is used when linking, flag to hardcode \$libdir into a binary
61482 # during linking. This must work even if \$libdir does not exist.
61483 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
61485 # Whether we need a single "-rpath" flag with a separated argument.
61486 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
61488 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61489 # DIR into the resulting binary.
61490 hardcode_direct=$hardcode_direct_CXX
61492 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
61493 # DIR into the resulting binary and the resulting library dependency is
61494 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
61495 # library is relocated.
61496 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
61498 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
61499 # into the resulting binary.
61500 hardcode_minus_L=$hardcode_minus_L_CXX
61502 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
61503 # into the resulting binary.
61504 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
61506 # Set to "yes" if building a shared library automatically hardcodes DIR
61507 # into the library and all subsequent libraries and executables linked
61508 # against it.
61509 hardcode_automatic=$hardcode_automatic_CXX
61511 # Set to yes if linker adds runtime paths of dependent libraries
61512 # to runtime path list.
61513 inherit_rpath=$inherit_rpath_CXX
61515 # Whether libtool must link a program against all its dependency libraries.
61516 link_all_deplibs=$link_all_deplibs_CXX
61518 # Fix the shell variable \$srcfile for the compiler.
61519 fix_srcfile_path=$lt_fix_srcfile_path_CXX
61521 # Set to "yes" if exported symbols are required.
61522 always_export_symbols=$always_export_symbols_CXX
61524 # The commands to list exported symbols.
61525 export_symbols_cmds=$lt_export_symbols_cmds_CXX
61527 # Symbols that should not be listed in the preloaded symbols.
61528 exclude_expsyms=$lt_exclude_expsyms_CXX
61530 # Symbols that must always be exported.
61531 include_expsyms=$lt_include_expsyms_CXX
61533 # Commands necessary for linking programs (against libraries) with templates.
61534 prelink_cmds=$lt_prelink_cmds_CXX
61536 # Specify filename containing input files.
61537 file_list_spec=$lt_file_list_spec_CXX
61539 # How to hardcode a shared library path into an executable.
61540 hardcode_action=$hardcode_action_CXX
61542 # The directories searched by this compiler when creating a shared library.
61543 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
61545 # Dependencies to place before and after the objects being linked to
61546 # create a shared library.
61547 predep_objects=$lt_predep_objects_CXX
61548 postdep_objects=$lt_postdep_objects_CXX
61549 predeps=$lt_predeps_CXX
61550 postdeps=$lt_postdeps_CXX
61552 # The library search path used internally by the compiler when linking
61553 # a shared library.
61554 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
61556 # ### END LIBTOOL TAG CONFIG: CXX
61557 _LT_EOF
61560 "include/gstdint.h":C)
61561 if test "$GCC" = yes; then
61562 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
61563 else
61564 echo "/* generated for $CC */" > tmp-stdint.h
61567 sed 's/^ *//' >> tmp-stdint.h <<EOF
61569 #ifndef GCC_GENERATED_STDINT_H
61570 #define GCC_GENERATED_STDINT_H 1
61572 #include <sys/types.h>
61575 if test "$acx_cv_header_stdint" != stdint.h; then
61576 echo "#include <stddef.h>" >> tmp-stdint.h
61578 if test "$acx_cv_header_stdint" != stddef.h; then
61579 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
61582 sed 's/^ *//' >> tmp-stdint.h <<EOF
61583 /* glibc uses these symbols as guards to prevent redefinitions. */
61584 #ifdef __int8_t_defined
61585 #define _INT8_T
61586 #define _INT16_T
61587 #define _INT32_T
61588 #endif
61589 #ifdef __uint32_t_defined
61590 #define _UINT32_T
61591 #endif
61595 # ----------------- done header, emit basic int types -------------
61596 if test "$acx_cv_header_stdint" = stddef.h; then
61597 sed 's/^ *//' >> tmp-stdint.h <<EOF
61599 #ifndef _UINT8_T
61600 #define _UINT8_T
61601 #ifndef __uint8_t_defined
61602 #define __uint8_t_defined
61603 typedef unsigned $acx_cv_type_int8_t uint8_t;
61604 #endif
61605 #endif
61607 #ifndef _UINT16_T
61608 #define _UINT16_T
61609 #ifndef __uint16_t_defined
61610 #define __uint16_t_defined
61611 typedef unsigned $acx_cv_type_int16_t uint16_t;
61612 #endif
61613 #endif
61615 #ifndef _UINT32_T
61616 #define _UINT32_T
61617 #ifndef __uint32_t_defined
61618 #define __uint32_t_defined
61619 typedef unsigned $acx_cv_type_int32_t uint32_t;
61620 #endif
61621 #endif
61623 #ifndef _INT8_T
61624 #define _INT8_T
61625 #ifndef __int8_t_defined
61626 #define __int8_t_defined
61627 typedef $acx_cv_type_int8_t int8_t;
61628 #endif
61629 #endif
61631 #ifndef _INT16_T
61632 #define _INT16_T
61633 #ifndef __int16_t_defined
61634 #define __int16_t_defined
61635 typedef $acx_cv_type_int16_t int16_t;
61636 #endif
61637 #endif
61639 #ifndef _INT32_T
61640 #define _INT32_T
61641 #ifndef __int32_t_defined
61642 #define __int32_t_defined
61643 typedef $acx_cv_type_int32_t int32_t;
61644 #endif
61645 #endif
61647 elif test "$ac_cv_type_u_int32_t" = yes; then
61648 sed 's/^ *//' >> tmp-stdint.h <<EOF
61650 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
61651 #ifndef _INT8_T
61652 #define _INT8_T
61653 #endif
61654 #ifndef _INT16_T
61655 #define _INT16_T
61656 #endif
61657 #ifndef _INT32_T
61658 #define _INT32_T
61659 #endif
61661 #ifndef _UINT8_T
61662 #define _UINT8_T
61663 #ifndef __uint8_t_defined
61664 #define __uint8_t_defined
61665 typedef u_int8_t uint8_t;
61666 #endif
61667 #endif
61669 #ifndef _UINT16_T
61670 #define _UINT16_T
61671 #ifndef __uint16_t_defined
61672 #define __uint16_t_defined
61673 typedef u_int16_t uint16_t;
61674 #endif
61675 #endif
61677 #ifndef _UINT32_T
61678 #define _UINT32_T
61679 #ifndef __uint32_t_defined
61680 #define __uint32_t_defined
61681 typedef u_int32_t uint32_t;
61682 #endif
61683 #endif
61685 else
61686 sed 's/^ *//' >> tmp-stdint.h <<EOF
61688 /* Some systems have guard macros to prevent redefinitions, define them. */
61689 #ifndef _INT8_T
61690 #define _INT8_T
61691 #endif
61692 #ifndef _INT16_T
61693 #define _INT16_T
61694 #endif
61695 #ifndef _INT32_T
61696 #define _INT32_T
61697 #endif
61698 #ifndef _UINT8_T
61699 #define _UINT8_T
61700 #endif
61701 #ifndef _UINT16_T
61702 #define _UINT16_T
61703 #endif
61704 #ifndef _UINT32_T
61705 #define _UINT32_T
61706 #endif
61710 # ------------- done basic int types, emit int64_t types ------------
61711 if test "$ac_cv_type_uint64_t" = yes; then
61712 sed 's/^ *//' >> tmp-stdint.h <<EOF
61714 /* system headers have good uint64_t and int64_t */
61715 #ifndef _INT64_T
61716 #define _INT64_T
61717 #endif
61718 #ifndef _UINT64_T
61719 #define _UINT64_T
61720 #endif
61722 elif test "$ac_cv_type_u_int64_t" = yes; then
61723 sed 's/^ *//' >> tmp-stdint.h <<EOF
61725 /* system headers have an u_int64_t (and int64_t) */
61726 #ifndef _INT64_T
61727 #define _INT64_T
61728 #endif
61729 #ifndef _UINT64_T
61730 #define _UINT64_T
61731 #ifndef __uint64_t_defined
61732 #define __uint64_t_defined
61733 typedef u_int64_t uint64_t;
61734 #endif
61735 #endif
61737 elif test -n "$acx_cv_type_int64_t"; then
61738 sed 's/^ *//' >> tmp-stdint.h <<EOF
61740 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
61741 #ifndef _INT64_T
61742 #define _INT64_T
61743 typedef $acx_cv_type_int64_t int64_t;
61744 #endif
61745 #ifndef _UINT64_T
61746 #define _UINT64_T
61747 #ifndef __uint64_t_defined
61748 #define __uint64_t_defined
61749 typedef unsigned $acx_cv_type_int64_t uint64_t;
61750 #endif
61751 #endif
61753 else
61754 sed 's/^ *//' >> tmp-stdint.h <<EOF
61756 /* some common heuristics for int64_t, using compiler-specific tests */
61757 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
61758 #ifndef _INT64_T
61759 #define _INT64_T
61760 #ifndef __int64_t_defined
61761 typedef long long int64_t;
61762 #endif
61763 #endif
61764 #ifndef _UINT64_T
61765 #define _UINT64_T
61766 typedef unsigned long long uint64_t;
61767 #endif
61769 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
61770 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
61771 does not implement __extension__. But that compiler doesn't define
61772 __GNUC_MINOR__. */
61773 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
61774 # define __extension__
61775 # endif
61777 # ifndef _INT64_T
61778 # define _INT64_T
61779 __extension__ typedef long long int64_t;
61780 # endif
61781 # ifndef _UINT64_T
61782 # define _UINT64_T
61783 __extension__ typedef unsigned long long uint64_t;
61784 # endif
61786 #elif !defined __STRICT_ANSI__
61787 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
61789 # ifndef _INT64_T
61790 # define _INT64_T
61791 typedef __int64 int64_t;
61792 # endif
61793 # ifndef _UINT64_T
61794 # define _UINT64_T
61795 typedef unsigned __int64 uint64_t;
61796 # endif
61797 # endif /* compiler */
61799 #endif /* ANSI version */
61803 # ------------- done int64_t types, emit intptr types ------------
61804 if test "$ac_cv_type_uintptr_t" != yes; then
61805 sed 's/^ *//' >> tmp-stdint.h <<EOF
61807 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
61808 #ifndef __uintptr_t_defined
61809 typedef u$acx_cv_type_intptr_t uintptr_t;
61810 #endif
61811 #ifndef __intptr_t_defined
61812 typedef $acx_cv_type_intptr_t intptr_t;
61813 #endif
61817 # ------------- done intptr types, emit int_least types ------------
61818 if test "$ac_cv_type_int_least32_t" != yes; then
61819 sed 's/^ *//' >> tmp-stdint.h <<EOF
61821 /* Define int_least types */
61822 typedef int8_t int_least8_t;
61823 typedef int16_t int_least16_t;
61824 typedef int32_t int_least32_t;
61825 #ifdef _INT64_T
61826 typedef int64_t int_least64_t;
61827 #endif
61829 typedef uint8_t uint_least8_t;
61830 typedef uint16_t uint_least16_t;
61831 typedef uint32_t uint_least32_t;
61832 #ifdef _UINT64_T
61833 typedef uint64_t uint_least64_t;
61834 #endif
61838 # ------------- done intptr types, emit int_fast types ------------
61839 if test "$ac_cv_type_int_fast32_t" != yes; then
61840 sed 's/^ *//' >> tmp-stdint.h <<EOF
61842 /* Define int_fast types. short is often slow */
61843 typedef int8_t int_fast8_t;
61844 typedef int int_fast16_t;
61845 typedef int32_t int_fast32_t;
61846 #ifdef _INT64_T
61847 typedef int64_t int_fast64_t;
61848 #endif
61850 typedef uint8_t uint_fast8_t;
61851 typedef unsigned int uint_fast16_t;
61852 typedef uint32_t uint_fast32_t;
61853 #ifdef _UINT64_T
61854 typedef uint64_t uint_fast64_t;
61855 #endif
61859 if test "$ac_cv_type_uintmax_t" != yes; then
61860 sed 's/^ *//' >> tmp-stdint.h <<EOF
61862 /* Define intmax based on what we found */
61863 #ifdef _INT64_T
61864 typedef int64_t intmax_t;
61865 #else
61866 typedef long intmax_t;
61867 #endif
61868 #ifdef _UINT64_T
61869 typedef uint64_t uintmax_t;
61870 #else
61871 typedef unsigned long uintmax_t;
61872 #endif
61876 sed 's/^ *//' >> tmp-stdint.h <<EOF
61878 #endif /* GCC_GENERATED_STDINT_H */
61881 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
61882 rm -f tmp-stdint.h
61883 else
61884 mv -f tmp-stdint.h include/gstdint.h
61888 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
61889 "include/Makefile":F) cat > vpsed$$ << \_EOF
61890 s!`test -f '$<' || echo '$(srcdir)/'`!!
61891 _EOF
61892 sed -f vpsed$$ $ac_file > tmp$$
61893 mv tmp$$ $ac_file
61894 rm vpsed$$
61895 echo 'MULTISUBDIR =' >> $ac_file
61896 ml_norecursion=yes
61897 . ${multi_basedir}/config-ml.in
61898 { ml_norecursion=; unset ml_norecursion;}
61900 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
61901 s!`test -f '$<' || echo '$(srcdir)/'`!!
61902 _EOF
61903 sed -f vpsed$$ $ac_file > tmp$$
61904 mv tmp$$ $ac_file
61905 rm vpsed$$
61906 echo 'MULTISUBDIR =' >> $ac_file
61907 ml_norecursion=yes
61908 . ${multi_basedir}/config-ml.in
61909 { ml_norecursion=; unset ml_norecursion;}
61911 "python/Makefile":F) cat > vpsed$$ << \_EOF
61912 s!`test -f '$<' || echo '$(srcdir)/'`!!
61913 _EOF
61914 sed -f vpsed$$ $ac_file > tmp$$
61915 mv tmp$$ $ac_file
61916 rm vpsed$$
61917 echo 'MULTISUBDIR =' >> $ac_file
61918 ml_norecursion=yes
61919 . ${multi_basedir}/config-ml.in
61920 { ml_norecursion=; unset ml_norecursion;}
61922 "src/Makefile":F) cat > vpsed$$ << \_EOF
61923 s!`test -f '$<' || echo '$(srcdir)/'`!!
61924 _EOF
61925 sed -f vpsed$$ $ac_file > tmp$$
61926 mv tmp$$ $ac_file
61927 rm vpsed$$
61928 echo 'MULTISUBDIR =' >> $ac_file
61929 ml_norecursion=yes
61930 . ${multi_basedir}/config-ml.in
61931 { ml_norecursion=; unset ml_norecursion;}
61933 "doc/Makefile":F) cat > vpsed$$ << \_EOF
61934 s!`test -f '$<' || echo '$(srcdir)/'`!!
61935 _EOF
61936 sed -f vpsed$$ $ac_file > tmp$$
61937 mv tmp$$ $ac_file
61938 rm vpsed$$
61939 echo 'MULTISUBDIR =' >> $ac_file
61940 ml_norecursion=yes
61941 . ${multi_basedir}/config-ml.in
61942 { ml_norecursion=; unset ml_norecursion;}
61944 "po/Makefile":F) cat > vpsed$$ << \_EOF
61945 s!`test -f '$<' || echo '$(srcdir)/'`!!
61946 _EOF
61947 sed -f vpsed$$ $ac_file > tmp$$
61948 mv tmp$$ $ac_file
61949 rm vpsed$$
61950 echo 'MULTISUBDIR =' >> $ac_file
61951 ml_norecursion=yes
61952 . ${multi_basedir}/config-ml.in
61953 { ml_norecursion=; unset ml_norecursion;}
61955 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
61956 s!`test -f '$<' || echo '$(srcdir)/'`!!
61957 _EOF
61958 sed -f vpsed$$ $ac_file > tmp$$
61959 mv tmp$$ $ac_file
61960 rm vpsed$$
61961 echo 'MULTISUBDIR =' >> $ac_file
61962 ml_norecursion=yes
61963 . ${multi_basedir}/config-ml.in
61964 { ml_norecursion=; unset ml_norecursion;}
61966 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
61968 esac
61969 done # for ac_tag
61972 as_fn_exit 0
61973 _ACEOF
61974 ac_clean_files=$ac_clean_files_save
61976 test $ac_write_fail = 0 ||
61977 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
61980 # configure is writing to config.log, and then calls config.status.
61981 # config.status does its own redirection, appending to config.log.
61982 # Unfortunately, on DOS this fails, as config.log is still kept open
61983 # by configure, so config.status won't be able to write to it; its
61984 # output is simply discarded. So we exec the FD to /dev/null,
61985 # effectively closing config.log, so it can be properly (re)opened and
61986 # appended to by config.status. When coming back to configure, we
61987 # need to make the FD available again.
61988 if test "$no_create" != yes; then
61989 ac_cs_success=:
61990 ac_config_status_args=
61991 test "$silent" = yes &&
61992 ac_config_status_args="$ac_config_status_args --quiet"
61993 exec 5>/dev/null
61994 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
61995 exec 5>>config.log
61996 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
61997 # would make configure fail if this is the last instruction.
61998 $ac_cs_success || as_fn_exit $?
62000 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
62001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
62002 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}