ada: Implement new aspect Always_Terminates for SPARK
[official-gcc.git] / libstdc++-v3 / configure
blob354c566b0055c914f486f12ac3caca517c66ca82
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software 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 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
174 esac
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
190 else
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
280 exit 1
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
307 return $1
308 } # as_fn_set_status
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
351 /^X\(\/\/\)$/{
352 s//\1/
355 /^X\(\/\).*/{
356 s//\1/
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366 } # as_fn_mkdir_p
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
384 eval $1+=\$2
386 else
387 as_fn_append ()
389 eval $1=\$$1\$2
391 fi # as_fn_append
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
401 as_val=$(( $* ))
403 else
404 as_fn_arith ()
406 as_val=`expr "$@" || test $? -eq 1`
408 fi # as_fn_arith
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
455 /^X\/\(\/\/\)$/{
456 s//\1/
459 /^X\/\(\/\).*/{
460 s//\1/
463 s/.*/./; q'`
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
486 :lineno
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
518 ECHO_N='-n';;
519 esac
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
542 else
543 as_ln_s='cp -pR'
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 SHELL=${CONFIG_SHELL-/bin/sh}
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
576 # Initializations.
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 USE_STATIC_TZDATA_FALSE
679 USE_STATIC_TZDATA_TRUE
680 EH_POOL_FLAGS
681 ENABLE_BACKTRACE_FALSE
682 ENABLE_BACKTRACE_TRUE
683 BACKTRACE_SUPPORTS_THREADS
684 BACKTRACE_USES_MALLOC
685 BACKTRACE_SUPPORTED
686 BACKTRACE_CPPFLAGS
687 ALLOC_FILE
688 VIEW_FILE
689 FORMAT_FILE
690 ENABLE_FILESYSTEM_TS_FALSE
691 ENABLE_FILESYSTEM_TS_TRUE
692 baseline_subdir_switch
693 baseline_dir
694 HWCAP_CFLAGS
695 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
696 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
697 GLIBCXX_LDBL_COMPAT_FALSE
698 GLIBCXX_LDBL_COMPAT_TRUE
699 LONG_DOUBLE_ALT128_COMPAT_FLAGS
700 LONG_DOUBLE_128_FLAGS
701 LONG_DOUBLE_COMPAT_FLAGS
702 ENABLE_CXX11_ABI_FALSE
703 ENABLE_CXX11_ABI_TRUE
704 glibcxx_cxx98_abi
705 ENABLE_DUAL_ABI_FALSE
706 ENABLE_DUAL_ABI_TRUE
707 ENABLE_VISIBILITY_FALSE
708 ENABLE_VISIBILITY_TRUE
709 libtool_VERSION
710 ENABLE_SYMVERS_SUN_FALSE
711 ENABLE_SYMVERS_SUN_TRUE
712 ENABLE_SYMVERS_DARWIN_FALSE
713 ENABLE_SYMVERS_DARWIN_TRUE
714 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
715 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
716 ENABLE_SYMVERS_GNU_FALSE
717 ENABLE_SYMVERS_GNU_TRUE
718 ENABLE_SYMVERS_FALSE
719 ENABLE_SYMVERS_TRUE
720 port_specific_symbol_files
721 SYMVER_FILE
722 CXXFILT
723 LTLIBICONV
724 LIBICONV
725 OPT_LDFLAGS
726 SECTION_LDFLAGS
727 GLIBCXX_LIBS
728 ENABLE_VTABLE_VERIFY_FALSE
729 ENABLE_VTABLE_VERIFY_TRUE
730 VTV_CYGMIN_FALSE
731 VTV_CYGMIN_TRUE
732 VTV_CXXLINKFLAGS
733 VTV_PCH_CXXFLAGS
734 VTV_CXXFLAGS
735 ENABLE_WERROR_FALSE
736 ENABLE_WERROR_TRUE
737 ENABLE_PYTHONDIR_FALSE
738 ENABLE_PYTHONDIR_TRUE
739 python_mod_dir
740 ENABLE_EXTERN_TEMPLATE_FALSE
741 ENABLE_EXTERN_TEMPLATE_TRUE
742 EXTRA_CXX_FLAGS
743 GLIBCXX_BUILD_DEBUG_FALSE
744 GLIBCXX_BUILD_DEBUG_TRUE
745 DEBUG_FLAGS
746 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
747 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
748 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
749 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
750 GLIBCXX_C_HEADERS_C_STD_FALSE
751 GLIBCXX_C_HEADERS_C_STD_TRUE
752 GLIBCXX_C_HEADERS_C_FALSE
753 GLIBCXX_C_HEADERS_C_TRUE
754 C_INCLUDE_DIR
755 ALLOCATOR_NAME
756 ALLOCATOR_H
757 ENABLE_ALLOCATOR_NEW_FALSE
758 ENABLE_ALLOCATOR_NEW_TRUE
759 CLOCALE_INTERNAL_H
760 CLOCALE_CC
761 CTIME_CC
762 CTIME_H
763 CNUMERIC_CC
764 CMONEY_CC
765 CMESSAGES_CC
766 CCTYPE_CC
767 CCOLLATE_CC
768 CCODECVT_CC
769 CMESSAGES_H
770 CLOCALE_H
771 USE_NLS
772 glibcxx_localedir
773 glibcxx_POFILES
774 glibcxx_MOFILES
775 check_msgfmt
776 BASIC_FILE_CC
777 BASIC_FILE_H
778 CSTDIO_H
779 SECTION_FLAGS
780 ENABLE_FLOAT128_FALSE
781 ENABLE_FLOAT128_TRUE
782 thread_header
783 glibcxx_PCHFLAGS
784 GLIBCXX_BUILD_PCH_FALSE
785 GLIBCXX_BUILD_PCH_TRUE
786 FREESTANDING_FLAGS
787 GLIBCXX_HOSTED_FALSE
788 GLIBCXX_HOSTED_TRUE
789 glibcxx_compiler_shared_flag
790 glibcxx_compiler_pic_flag
791 glibcxx_lt_pic_flag
792 enable_static
793 enable_shared
794 lt_host_flags
795 CXXCPP
796 OTOOL64
797 OTOOL
798 LIPO
799 NMEDIT
800 DSYMUTIL
801 OBJDUMP
803 ac_ct_DUMPBIN
804 DUMPBIN
806 FGREP
808 LIBTOOL
809 EGREP
810 GREP
812 MAINT
813 MAINTAINER_MODE_FALSE
814 MAINTAINER_MODE_TRUE
815 RANLIB
818 LN_S
819 toplevel_srcdir
820 toplevel_builddir
821 glibcxx_srcdir
822 glibcxx_builddir
823 ac_ct_CXX
824 CXXFLAGS
826 OBJEXT
827 EXEEXT
828 ac_ct_CC
829 CPPFLAGS
830 LDFLAGS
831 CFLAGS
833 AM_BACKSLASH
834 AM_DEFAULT_VERBOSITY
835 AM_DEFAULT_V
836 AM_V
837 am__untar
838 am__tar
839 AMTAR
840 am__leading_dot
841 SET_MAKE
843 mkdir_p
844 MKDIR_P
845 INSTALL_STRIP_PROGRAM
846 STRIP
847 install_sh
848 MAKEINFO
849 AUTOHEADER
850 AUTOMAKE
851 AUTOCONF
852 ACLOCAL
853 VERSION
854 PACKAGE
855 CYGPATH_W
856 am__isrc
857 INSTALL_DATA
858 INSTALL_SCRIPT
859 INSTALL_PROGRAM
860 target_os
861 target_vendor
862 target_cpu
863 target
864 host_os
865 host_vendor
866 host_cpu
867 host
868 build_os
869 build_vendor
870 build_cpu
871 build
872 multi_basedir
873 target_alias
874 host_alias
875 build_alias
876 LIBS
877 ECHO_T
878 ECHO_N
879 ECHO_C
880 DEFS
881 mandir
882 localedir
883 libdir
884 psdir
885 pdfdir
886 dvidir
887 htmldir
888 infodir
889 docdir
890 oldincludedir
891 includedir
892 localstatedir
893 sharedstatedir
894 sysconfdir
895 datadir
896 datarootdir
897 libexecdir
898 sbindir
899 bindir
900 program_transform_name
901 prefix
902 exec_prefix
903 PACKAGE_URL
904 PACKAGE_BUGREPORT
905 PACKAGE_STRING
906 PACKAGE_VERSION
907 PACKAGE_TARNAME
908 PACKAGE_NAME
909 PATH_SEPARATOR
910 SHELL'
911 ac_subst_files=''
912 ac_user_opts='
913 enable_option_checking
914 enable_multilib
915 enable_silent_rules
916 enable_largefile
917 with_target_subdir
918 with_cross_host
919 with_newlib
920 enable_maintainer_mode
921 enable_shared
922 enable_static
923 with_pic
924 enable_fast_install
925 with_gnu_ld
926 enable_libtool_lock
927 enable_hosted_libstdcxx
928 enable_libstdcxx_hosted
929 enable_libstdcxx_verbose
930 enable_libstdcxx_pch
931 with_libstdcxx_lock_policy
932 enable_cstdio
933 enable_clocale
934 enable_nls
935 enable_libstdcxx_allocator
936 enable_cheaders_obsolete
937 enable_cheaders
938 enable_long_long
939 enable_wchar_t
940 enable_c99
941 enable_concept_checks
942 enable_libstdcxx_debug_flags
943 enable_libstdcxx_debug
944 enable_cxx_flags
945 enable_fully_dynamic_string
946 enable_extern_template
947 with_python_dir
948 enable_werror
949 enable_vtable_verify
950 enable_libstdcxx_time
951 enable_tls
952 enable_rpath
953 with_libiconv_prefix
954 with_libiconv_type
955 with_system_libunwind
956 enable_linux_futex
957 enable_symvers
958 enable_libstdcxx_visibility
959 enable_libstdcxx_dual_abi
960 with_default_libstdcxx_abi
961 enable_libstdcxx_threads
962 enable_libstdcxx_filesystem_ts
963 enable_libstdcxx_backtrace
964 enable_libstdcxx_static_eh_pool
965 with_libstdcxx_eh_pool_obj_count
966 with_libstdcxx_zoneinfo
967 enable_cet
968 with_gxx_include_dir
969 enable_version_specific_runtime_libs
970 with_toolexeclibdir
971 with_gcc_major_version_only
973 ac_precious_vars='build_alias
974 host_alias
975 target_alias
977 CFLAGS
978 LDFLAGS
979 LIBS
980 CPPFLAGS
982 CXXFLAGS
985 CXXCPP
986 CXXFILT'
989 # Initialize some variables set by options.
990 ac_init_help=
991 ac_init_version=false
992 ac_unrecognized_opts=
993 ac_unrecognized_sep=
994 # The variables have the same names as the options, with
995 # dashes changed to underlines.
996 cache_file=/dev/null
997 exec_prefix=NONE
998 no_create=
999 no_recursion=
1000 prefix=NONE
1001 program_prefix=NONE
1002 program_suffix=NONE
1003 program_transform_name=s,x,x,
1004 silent=
1005 site=
1006 srcdir=
1007 verbose=
1008 x_includes=NONE
1009 x_libraries=NONE
1011 # Installation directory options.
1012 # These are left unexpanded so users can "make install exec_prefix=/foo"
1013 # and all the variables that are supposed to be based on exec_prefix
1014 # by default will actually change.
1015 # Use braces instead of parens because sh, perl, etc. also accept them.
1016 # (The list follows the same order as the GNU Coding Standards.)
1017 bindir='${exec_prefix}/bin'
1018 sbindir='${exec_prefix}/sbin'
1019 libexecdir='${exec_prefix}/libexec'
1020 datarootdir='${prefix}/share'
1021 datadir='${datarootdir}'
1022 sysconfdir='${prefix}/etc'
1023 sharedstatedir='${prefix}/com'
1024 localstatedir='${prefix}/var'
1025 includedir='${prefix}/include'
1026 oldincludedir='/usr/include'
1027 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1028 infodir='${datarootdir}/info'
1029 htmldir='${docdir}'
1030 dvidir='${docdir}'
1031 pdfdir='${docdir}'
1032 psdir='${docdir}'
1033 libdir='${exec_prefix}/lib'
1034 localedir='${datarootdir}/locale'
1035 mandir='${datarootdir}/man'
1037 ac_prev=
1038 ac_dashdash=
1039 for ac_option
1041 # If the previous option needs an argument, assign it.
1042 if test -n "$ac_prev"; then
1043 eval $ac_prev=\$ac_option
1044 ac_prev=
1045 continue
1048 case $ac_option in
1049 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1050 *=) ac_optarg= ;;
1051 *) ac_optarg=yes ;;
1052 esac
1054 # Accept the important Cygnus configure options, so we can diagnose typos.
1056 case $ac_dashdash$ac_option in
1058 ac_dashdash=yes ;;
1060 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1061 ac_prev=bindir ;;
1062 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1063 bindir=$ac_optarg ;;
1065 -build | --build | --buil | --bui | --bu)
1066 ac_prev=build_alias ;;
1067 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1068 build_alias=$ac_optarg ;;
1070 -cache-file | --cache-file | --cache-fil | --cache-fi \
1071 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1072 ac_prev=cache_file ;;
1073 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1074 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1075 cache_file=$ac_optarg ;;
1077 --config-cache | -C)
1078 cache_file=config.cache ;;
1080 -datadir | --datadir | --datadi | --datad)
1081 ac_prev=datadir ;;
1082 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1083 datadir=$ac_optarg ;;
1085 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1086 | --dataroo | --dataro | --datar)
1087 ac_prev=datarootdir ;;
1088 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1089 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1090 datarootdir=$ac_optarg ;;
1092 -disable-* | --disable-*)
1093 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1094 # Reject names that are not valid shell variable names.
1095 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1096 as_fn_error $? "invalid feature name: $ac_useropt"
1097 ac_useropt_orig=$ac_useropt
1098 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1099 case $ac_user_opts in
1101 "enable_$ac_useropt"
1102 "*) ;;
1103 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1104 ac_unrecognized_sep=', ';;
1105 esac
1106 eval enable_$ac_useropt=no ;;
1108 -docdir | --docdir | --docdi | --doc | --do)
1109 ac_prev=docdir ;;
1110 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1111 docdir=$ac_optarg ;;
1113 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1114 ac_prev=dvidir ;;
1115 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1116 dvidir=$ac_optarg ;;
1118 -enable-* | --enable-*)
1119 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1120 # Reject names that are not valid shell variable names.
1121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1122 as_fn_error $? "invalid feature name: $ac_useropt"
1123 ac_useropt_orig=$ac_useropt
1124 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1125 case $ac_user_opts in
1127 "enable_$ac_useropt"
1128 "*) ;;
1129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1130 ac_unrecognized_sep=', ';;
1131 esac
1132 eval enable_$ac_useropt=\$ac_optarg ;;
1134 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1135 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1136 | --exec | --exe | --ex)
1137 ac_prev=exec_prefix ;;
1138 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1139 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1140 | --exec=* | --exe=* | --ex=*)
1141 exec_prefix=$ac_optarg ;;
1143 -gas | --gas | --ga | --g)
1144 # Obsolete; use --with-gas.
1145 with_gas=yes ;;
1147 -help | --help | --hel | --he | -h)
1148 ac_init_help=long ;;
1149 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1150 ac_init_help=recursive ;;
1151 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1152 ac_init_help=short ;;
1154 -host | --host | --hos | --ho)
1155 ac_prev=host_alias ;;
1156 -host=* | --host=* | --hos=* | --ho=*)
1157 host_alias=$ac_optarg ;;
1159 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1160 ac_prev=htmldir ;;
1161 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1162 | --ht=*)
1163 htmldir=$ac_optarg ;;
1165 -includedir | --includedir | --includedi | --included | --include \
1166 | --includ | --inclu | --incl | --inc)
1167 ac_prev=includedir ;;
1168 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1169 | --includ=* | --inclu=* | --incl=* | --inc=*)
1170 includedir=$ac_optarg ;;
1172 -infodir | --infodir | --infodi | --infod | --info | --inf)
1173 ac_prev=infodir ;;
1174 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1175 infodir=$ac_optarg ;;
1177 -libdir | --libdir | --libdi | --libd)
1178 ac_prev=libdir ;;
1179 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1180 libdir=$ac_optarg ;;
1182 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1183 | --libexe | --libex | --libe)
1184 ac_prev=libexecdir ;;
1185 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1186 | --libexe=* | --libex=* | --libe=*)
1187 libexecdir=$ac_optarg ;;
1189 -localedir | --localedir | --localedi | --localed | --locale)
1190 ac_prev=localedir ;;
1191 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1192 localedir=$ac_optarg ;;
1194 -localstatedir | --localstatedir | --localstatedi | --localstated \
1195 | --localstate | --localstat | --localsta | --localst | --locals)
1196 ac_prev=localstatedir ;;
1197 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1198 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1199 localstatedir=$ac_optarg ;;
1201 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1202 ac_prev=mandir ;;
1203 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1204 mandir=$ac_optarg ;;
1206 -nfp | --nfp | --nf)
1207 # Obsolete; use --without-fp.
1208 with_fp=no ;;
1210 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1211 | --no-cr | --no-c | -n)
1212 no_create=yes ;;
1214 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1215 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1216 no_recursion=yes ;;
1218 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1219 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1220 | --oldin | --oldi | --old | --ol | --o)
1221 ac_prev=oldincludedir ;;
1222 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1223 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1224 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1225 oldincludedir=$ac_optarg ;;
1227 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1228 ac_prev=prefix ;;
1229 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1230 prefix=$ac_optarg ;;
1232 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1233 | --program-pre | --program-pr | --program-p)
1234 ac_prev=program_prefix ;;
1235 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1236 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1237 program_prefix=$ac_optarg ;;
1239 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1240 | --program-suf | --program-su | --program-s)
1241 ac_prev=program_suffix ;;
1242 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1243 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1244 program_suffix=$ac_optarg ;;
1246 -program-transform-name | --program-transform-name \
1247 | --program-transform-nam | --program-transform-na \
1248 | --program-transform-n | --program-transform- \
1249 | --program-transform | --program-transfor \
1250 | --program-transfo | --program-transf \
1251 | --program-trans | --program-tran \
1252 | --progr-tra | --program-tr | --program-t)
1253 ac_prev=program_transform_name ;;
1254 -program-transform-name=* | --program-transform-name=* \
1255 | --program-transform-nam=* | --program-transform-na=* \
1256 | --program-transform-n=* | --program-transform-=* \
1257 | --program-transform=* | --program-transfor=* \
1258 | --program-transfo=* | --program-transf=* \
1259 | --program-trans=* | --program-tran=* \
1260 | --progr-tra=* | --program-tr=* | --program-t=*)
1261 program_transform_name=$ac_optarg ;;
1263 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1264 ac_prev=pdfdir ;;
1265 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1266 pdfdir=$ac_optarg ;;
1268 -psdir | --psdir | --psdi | --psd | --ps)
1269 ac_prev=psdir ;;
1270 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1271 psdir=$ac_optarg ;;
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1275 silent=yes ;;
1277 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1278 ac_prev=sbindir ;;
1279 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1280 | --sbi=* | --sb=*)
1281 sbindir=$ac_optarg ;;
1283 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1284 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1285 | --sharedst | --shareds | --shared | --share | --shar \
1286 | --sha | --sh)
1287 ac_prev=sharedstatedir ;;
1288 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1289 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1290 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1291 | --sha=* | --sh=*)
1292 sharedstatedir=$ac_optarg ;;
1294 -site | --site | --sit)
1295 ac_prev=site ;;
1296 -site=* | --site=* | --sit=*)
1297 site=$ac_optarg ;;
1299 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1300 ac_prev=srcdir ;;
1301 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1302 srcdir=$ac_optarg ;;
1304 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1305 | --syscon | --sysco | --sysc | --sys | --sy)
1306 ac_prev=sysconfdir ;;
1307 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1308 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1309 sysconfdir=$ac_optarg ;;
1311 -target | --target | --targe | --targ | --tar | --ta | --t)
1312 ac_prev=target_alias ;;
1313 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1314 target_alias=$ac_optarg ;;
1316 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1317 verbose=yes ;;
1319 -version | --version | --versio | --versi | --vers | -V)
1320 ac_init_version=: ;;
1322 -with-* | --with-*)
1323 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1324 # Reject names that are not valid shell variable names.
1325 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1326 as_fn_error $? "invalid package name: $ac_useropt"
1327 ac_useropt_orig=$ac_useropt
1328 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1329 case $ac_user_opts in
1331 "with_$ac_useropt"
1332 "*) ;;
1333 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1334 ac_unrecognized_sep=', ';;
1335 esac
1336 eval with_$ac_useropt=\$ac_optarg ;;
1338 -without-* | --without-*)
1339 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1340 # Reject names that are not valid shell variable names.
1341 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1342 as_fn_error $? "invalid package name: $ac_useropt"
1343 ac_useropt_orig=$ac_useropt
1344 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1345 case $ac_user_opts in
1347 "with_$ac_useropt"
1348 "*) ;;
1349 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1350 ac_unrecognized_sep=', ';;
1351 esac
1352 eval with_$ac_useropt=no ;;
1354 --x)
1355 # Obsolete; use --with-x.
1356 with_x=yes ;;
1358 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1359 | --x-incl | --x-inc | --x-in | --x-i)
1360 ac_prev=x_includes ;;
1361 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1362 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1363 x_includes=$ac_optarg ;;
1365 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1366 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1367 ac_prev=x_libraries ;;
1368 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1369 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1370 x_libraries=$ac_optarg ;;
1372 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1373 Try \`$0 --help' for more information"
1376 *=*)
1377 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1378 # Reject names that are not valid shell variable names.
1379 case $ac_envvar in #(
1380 '' | [0-9]* | *[!_$as_cr_alnum]* )
1381 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1382 esac
1383 eval $ac_envvar=\$ac_optarg
1384 export $ac_envvar ;;
1387 # FIXME: should be removed in autoconf 3.0.
1388 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1389 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1390 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1391 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1394 esac
1395 done
1397 if test -n "$ac_prev"; then
1398 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1399 as_fn_error $? "missing argument to $ac_option"
1402 if test -n "$ac_unrecognized_opts"; then
1403 case $enable_option_checking in
1404 no) ;;
1405 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1406 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1407 esac
1410 # Check all directory arguments for consistency.
1411 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1412 datadir sysconfdir sharedstatedir localstatedir includedir \
1413 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1414 libdir localedir mandir
1416 eval ac_val=\$$ac_var
1417 # Remove trailing slashes.
1418 case $ac_val in
1419 */ )
1420 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1421 eval $ac_var=\$ac_val;;
1422 esac
1423 # Be sure to have absolute directory names.
1424 case $ac_val in
1425 [\\/$]* | ?:[\\/]* ) continue;;
1426 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1427 esac
1428 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1429 done
1431 # There might be people who depend on the old broken behavior: `$host'
1432 # used to hold the argument of --host etc.
1433 # FIXME: To remove some day.
1434 build=$build_alias
1435 host=$host_alias
1436 target=$target_alias
1438 # FIXME: To remove some day.
1439 if test "x$host_alias" != x; then
1440 if test "x$build_alias" = x; then
1441 cross_compiling=maybe
1442 elif test "x$build_alias" != "x$host_alias"; then
1443 cross_compiling=yes
1447 ac_tool_prefix=
1448 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1450 test "$silent" = yes && exec 6>/dev/null
1453 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1454 ac_ls_di=`ls -di .` &&
1455 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1456 as_fn_error $? "working directory cannot be determined"
1457 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1458 as_fn_error $? "pwd does not report name of working directory"
1461 # Find the source files, if location was not specified.
1462 if test -z "$srcdir"; then
1463 ac_srcdir_defaulted=yes
1464 # Try the directory containing this script, then the parent directory.
1465 ac_confdir=`$as_dirname -- "$as_myself" ||
1466 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1467 X"$as_myself" : 'X\(//\)[^/]' \| \
1468 X"$as_myself" : 'X\(//\)$' \| \
1469 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1470 $as_echo X"$as_myself" |
1471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1472 s//\1/
1475 /^X\(\/\/\)[^/].*/{
1476 s//\1/
1479 /^X\(\/\/\)$/{
1480 s//\1/
1483 /^X\(\/\).*/{
1484 s//\1/
1487 s/.*/./; q'`
1488 srcdir=$ac_confdir
1489 if test ! -r "$srcdir/$ac_unique_file"; then
1490 srcdir=..
1492 else
1493 ac_srcdir_defaulted=no
1495 if test ! -r "$srcdir/$ac_unique_file"; then
1496 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1497 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1499 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1500 ac_abs_confdir=`(
1501 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1502 pwd)`
1503 # When building in place, set srcdir=.
1504 if test "$ac_abs_confdir" = "$ac_pwd"; then
1505 srcdir=.
1507 # Remove unnecessary trailing slashes from srcdir.
1508 # Double slashes in file names in object file debugging info
1509 # mess up M-x gdb in Emacs.
1510 case $srcdir in
1511 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1512 esac
1513 for ac_var in $ac_precious_vars; do
1514 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1515 eval ac_env_${ac_var}_value=\$${ac_var}
1516 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1517 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1518 done
1521 # Report the --help message.
1523 if test "$ac_init_help" = "long"; then
1524 # Omit some internal or obsolete options to make the list less imposing.
1525 # This message is too long to be a string in the A/UX 3.1 sh.
1526 cat <<_ACEOF
1527 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1529 Usage: $0 [OPTION]... [VAR=VALUE]...
1531 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1532 VAR=VALUE. See below for descriptions of some of the useful variables.
1534 Defaults for the options are specified in brackets.
1536 Configuration:
1537 -h, --help display this help and exit
1538 --help=short display options specific to this package
1539 --help=recursive display the short help of all the included packages
1540 -V, --version display version information and exit
1541 -q, --quiet, --silent do not print \`checking ...' messages
1542 --cache-file=FILE cache test results in FILE [disabled]
1543 -C, --config-cache alias for \`--cache-file=config.cache'
1544 -n, --no-create do not create output files
1545 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1547 Installation directories:
1548 --prefix=PREFIX install architecture-independent files in PREFIX
1549 [$ac_default_prefix]
1550 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1551 [PREFIX]
1553 By default, \`make install' will install all the files in
1554 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1555 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1556 for instance \`--prefix=\$HOME'.
1558 For better control, use the options below.
1560 Fine tuning of the installation directories:
1561 --bindir=DIR user executables [EPREFIX/bin]
1562 --sbindir=DIR system admin executables [EPREFIX/sbin]
1563 --libexecdir=DIR program executables [EPREFIX/libexec]
1564 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1565 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1566 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1567 --libdir=DIR object code libraries [EPREFIX/lib]
1568 --includedir=DIR C header files [PREFIX/include]
1569 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1570 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1571 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1572 --infodir=DIR info documentation [DATAROOTDIR/info]
1573 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1574 --mandir=DIR man documentation [DATAROOTDIR/man]
1575 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1576 --htmldir=DIR html documentation [DOCDIR]
1577 --dvidir=DIR dvi documentation [DOCDIR]
1578 --pdfdir=DIR pdf documentation [DOCDIR]
1579 --psdir=DIR ps documentation [DOCDIR]
1580 _ACEOF
1582 cat <<\_ACEOF
1584 Program names:
1585 --program-prefix=PREFIX prepend PREFIX to installed program names
1586 --program-suffix=SUFFIX append SUFFIX to installed program names
1587 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1589 System types:
1590 --build=BUILD configure for building on BUILD [guessed]
1591 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1592 --target=TARGET configure for building compilers for TARGET [HOST]
1593 _ACEOF
1596 if test -n "$ac_init_help"; then
1597 case $ac_init_help in
1598 short | recursive ) echo "Configuration of package-unused version-unused:";;
1599 esac
1600 cat <<\_ACEOF
1602 Optional Features:
1603 --disable-option-checking ignore unrecognized --enable/--with options
1604 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1605 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1606 --enable-multilib build many library versions (default)
1607 --enable-silent-rules less verbose build output (undo: "make V=1")
1608 --disable-silent-rules verbose build output (undo: "make V=0")
1609 --disable-largefile omit support for large files
1610 --enable-maintainer-mode
1611 enable make rules and dependencies not useful (and
1612 sometimes confusing) to the casual installer
1613 --enable-shared[=PKGS] build shared libraries [default=yes]
1614 --enable-static[=PKGS] build static libraries [default=yes]
1615 --enable-fast-install[=PKGS]
1616 optimize for fast installation [default=yes]
1617 --disable-libtool-lock avoid locking (might break parallel builds)
1618 --disable-hosted-libstdcxx
1619 only build freestanding C++ runtime support
1620 --disable-libstdcxx-hosted
1621 alias for --disable-hosted-libstdcxx
1622 --disable-libstdcxx-verbose
1623 disable termination messages to standard error
1624 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1625 [default=$is_hosted]
1626 --enable-cstdio[=PACKAGE]
1627 use target-specific I/O package [default=stdio]
1628 --enable-clocale[=MODEL]
1629 use MODEL for target locale package [default=auto]
1630 --enable-nls use Native Language Support (default)
1631 --enable-libstdcxx-allocator[=KIND]
1632 use KIND for target std::allocator base
1633 [default=auto]
1634 --enable-cheaders-obsolete
1635 allow use of obsolete "C" headers for g++
1636 [default=no]
1637 --enable-cheaders[=KIND]
1638 construct "C" headers for g++ [default=$c_model]
1639 --enable-long-long enable template specializations for 'long long'
1640 [default=yes]
1641 --enable-wchar_t enable template specializations for 'wchar_t'
1642 [default=yes]
1643 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1644 --enable-concept-checks use Boost-derived template checks [default=no]
1645 --enable-libstdcxx-debug-flags=FLAGS
1646 pass compiler FLAGS when building debug library
1647 [default="-g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1648 --enable-libstdcxx-debug
1649 build extra debug library [default=no]
1650 --enable-cxx-flags=FLAGS
1651 pass compiler FLAGS when building library [default=]
1652 --enable-fully-dynamic-string
1653 do not put empty strings in per-process static
1654 memory [default=no]
1655 --enable-extern-template
1656 enable extern template [default=yes]
1657 --enable-werror turns on -Werror [default=no]
1658 --enable-vtable-verify enable vtable verify [default=no]
1659 --enable-libstdcxx-time[=KIND]
1660 use KIND for check type [default=auto]
1661 --enable-tls Use thread-local storage [default=yes]
1662 --disable-rpath do not hardcode runtime library paths
1663 --enable-linux-futex use the Linux futex system call [default=default]
1664 --enable-symvers[=STYLE]
1665 enables symbol versioning of the shared library
1666 [default=yes]
1667 --enable-libstdcxx-visibility
1668 enables visibility safe usage [default=yes]
1669 --enable-libstdcxx-dual-abi
1670 support two versions of std::string [default=yes]
1671 --enable-libstdcxx-threads
1672 enable C++11 threads support [default=auto]
1673 --enable-libstdcxx-filesystem-ts
1674 turns on ISO/IEC TS 18822 support [default=auto]
1675 --enable-libstdcxx-backtrace
1676 turns on libbacktrace support [default=auto]
1677 --enable-libstdcxx-static-eh-pool
1678 use a fixed-size static buffer for allocating
1679 exceptions if malloc fails
1680 --enable-cet enable Intel CET in target libraries [default=auto]
1681 --enable-version-specific-runtime-libs
1682 Specify that runtime libraries should be installed
1683 in a compiler-specific directory
1685 Optional Packages:
1686 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1687 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1688 --with-target-subdir=SUBDIR
1689 configuring in a subdirectory
1690 --with-cross-host=HOST configuring with a cross compiler
1691 --with-newlib assume newlib as a system C library
1692 --with-pic try to use only PIC/non-PIC objects [default=use
1693 both]
1694 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1695 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1696 synchronization policy for shared_ptr reference
1697 counting [default=auto]
1698 --with-python-dir the location to install Python modules. This path is
1699 relative starting from the prefix.
1700 --with-gnu-ld assume the C compiler uses GNU ld default=no
1701 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1702 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1703 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1704 --with-system-libunwind use installed libunwind
1705 --with-default-libstdcxx-abi
1706 set the std::string ABI to use by default
1707 --with-libstdcxx-eh-pool-obj-count
1708 the number of exceptions that can be allocated from
1709 the pool if malloc fails
1710 --with-libstdcxx-zoneinfo
1711 the location to use for tzdata
1712 --with-gxx-include-dir=DIR
1713 installation directory for include files
1714 --with-toolexeclibdir=DIR
1715 install libraries built with a cross compiler within
1717 --with-gcc-major-version-only
1718 use only GCC major number in filesystem paths
1720 Some influential environment variables:
1721 CC C compiler command
1722 CFLAGS C compiler flags
1723 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1724 nonstandard directory <lib dir>
1725 LIBS libraries to pass to the linker, e.g. -l<library>
1726 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1727 you have headers in a nonstandard directory <include dir>
1728 CXX C++ compiler command
1729 CXXFLAGS C++ compiler flags
1730 CPP C preprocessor
1731 CXXCPP C++ preprocessor
1732 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1733 `c++filt', `gc++filt' on PATH.
1735 Use these variables to override the choices made by `configure' or to help
1736 it to find libraries and programs with nonstandard names/locations.
1738 Report bugs to the package provider.
1739 _ACEOF
1740 ac_status=$?
1743 if test "$ac_init_help" = "recursive"; then
1744 # If there are subdirs, report their specific --help.
1745 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1746 test -d "$ac_dir" ||
1747 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1748 continue
1749 ac_builddir=.
1751 case "$ac_dir" in
1752 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1754 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1755 # A ".." for each directory in $ac_dir_suffix.
1756 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1757 case $ac_top_builddir_sub in
1758 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1759 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1760 esac ;;
1761 esac
1762 ac_abs_top_builddir=$ac_pwd
1763 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1764 # for backward compatibility:
1765 ac_top_builddir=$ac_top_build_prefix
1767 case $srcdir in
1768 .) # We are building in place.
1769 ac_srcdir=.
1770 ac_top_srcdir=$ac_top_builddir_sub
1771 ac_abs_top_srcdir=$ac_pwd ;;
1772 [\\/]* | ?:[\\/]* ) # Absolute name.
1773 ac_srcdir=$srcdir$ac_dir_suffix;
1774 ac_top_srcdir=$srcdir
1775 ac_abs_top_srcdir=$srcdir ;;
1776 *) # Relative name.
1777 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1778 ac_top_srcdir=$ac_top_build_prefix$srcdir
1779 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1780 esac
1781 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1783 cd "$ac_dir" || { ac_status=$?; continue; }
1784 # Check for guested configure.
1785 if test -f "$ac_srcdir/configure.gnu"; then
1786 echo &&
1787 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1788 elif test -f "$ac_srcdir/configure"; then
1789 echo &&
1790 $SHELL "$ac_srcdir/configure" --help=recursive
1791 else
1792 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1793 fi || ac_status=$?
1794 cd "$ac_pwd" || { ac_status=$?; break; }
1795 done
1798 test -n "$ac_init_help" && exit $ac_status
1799 if $ac_init_version; then
1800 cat <<\_ACEOF
1801 package-unused configure version-unused
1802 generated by GNU Autoconf 2.69
1804 Copyright (C) 2012 Free Software Foundation, Inc.
1805 This configure script is free software; the Free Software Foundation
1806 gives unlimited permission to copy, distribute and modify it.
1807 _ACEOF
1808 exit
1811 ## ------------------------ ##
1812 ## Autoconf initialization. ##
1813 ## ------------------------ ##
1815 # ac_fn_c_try_compile LINENO
1816 # --------------------------
1817 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1818 ac_fn_c_try_compile ()
1820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1821 rm -f conftest.$ac_objext
1822 if { { ac_try="$ac_compile"
1823 case "(($ac_try" in
1824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1825 *) ac_try_echo=$ac_try;;
1826 esac
1827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1828 $as_echo "$ac_try_echo"; } >&5
1829 (eval "$ac_compile") 2>conftest.err
1830 ac_status=$?
1831 if test -s conftest.err; then
1832 grep -v '^ *+' conftest.err >conftest.er1
1833 cat conftest.er1 >&5
1834 mv -f conftest.er1 conftest.err
1836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1837 test $ac_status = 0; } && {
1838 test -z "$ac_c_werror_flag" ||
1839 test ! -s conftest.err
1840 } && test -s conftest.$ac_objext; then :
1841 ac_retval=0
1842 else
1843 $as_echo "$as_me: failed program was:" >&5
1844 sed 's/^/| /' conftest.$ac_ext >&5
1846 ac_retval=1
1848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1849 as_fn_set_status $ac_retval
1851 } # ac_fn_c_try_compile
1853 # ac_fn_cxx_try_compile LINENO
1854 # ----------------------------
1855 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1856 ac_fn_cxx_try_compile ()
1858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1859 rm -f conftest.$ac_objext
1860 if { { ac_try="$ac_compile"
1861 case "(($ac_try" in
1862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1863 *) ac_try_echo=$ac_try;;
1864 esac
1865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1866 $as_echo "$ac_try_echo"; } >&5
1867 (eval "$ac_compile") 2>conftest.err
1868 ac_status=$?
1869 if test -s conftest.err; then
1870 grep -v '^ *+' conftest.err >conftest.er1
1871 cat conftest.er1 >&5
1872 mv -f conftest.er1 conftest.err
1874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1875 test $ac_status = 0; } && {
1876 test -z "$ac_cxx_werror_flag" ||
1877 test ! -s conftest.err
1878 } && test -s conftest.$ac_objext; then :
1879 ac_retval=0
1880 else
1881 $as_echo "$as_me: failed program was:" >&5
1882 sed 's/^/| /' conftest.$ac_ext >&5
1884 ac_retval=1
1886 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1887 as_fn_set_status $ac_retval
1889 } # ac_fn_cxx_try_compile
1891 # ac_fn_c_try_cpp LINENO
1892 # ----------------------
1893 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1894 ac_fn_c_try_cpp ()
1896 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1897 if { { ac_try="$ac_cpp conftest.$ac_ext"
1898 case "(($ac_try" in
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1901 esac
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1905 ac_status=$?
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } > conftest.i && {
1913 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1914 test ! -s conftest.err
1915 }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1921 ac_retval=1
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status $ac_retval
1926 } # ac_fn_c_try_cpp
1928 # ac_fn_c_try_link LINENO
1929 # -----------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded.
1931 ac_fn_c_try_link ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 rm -f conftest.$ac_objext conftest$ac_exeext
1935 if { { ac_try="$ac_link"
1936 case "(($ac_try" in
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1939 esac
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_link") 2>conftest.err
1943 ac_status=$?
1944 if test -s conftest.err; then
1945 grep -v '^ *+' conftest.err >conftest.er1
1946 cat conftest.er1 >&5
1947 mv -f conftest.er1 conftest.err
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && {
1951 test -z "$ac_c_werror_flag" ||
1952 test ! -s conftest.err
1953 } && test -s conftest$ac_exeext && {
1954 test "$cross_compiling" = yes ||
1955 test -x conftest$ac_exeext
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 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1965 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1966 # interfere with the next link command; also delete a directory that is
1967 # left behind by Apple's compiler. We do this before executing the actions.
1968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 as_fn_set_status $ac_retval
1972 } # ac_fn_c_try_link
1974 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1975 # -------------------------------------------------------
1976 # Tests whether HEADER exists and can be compiled using the include files in
1977 # INCLUDES, setting the cache variable VAR accordingly.
1978 ac_fn_c_check_header_compile ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1982 $as_echo_n "checking for $2... " >&6; }
1983 if eval \${$3+:} false; then :
1984 $as_echo_n "(cached) " >&6
1985 else
1986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1987 /* end confdefs.h. */
1989 #include <$2>
1990 _ACEOF
1991 if ac_fn_c_try_compile "$LINENO"; then :
1992 eval "$3=yes"
1993 else
1994 eval "$3=no"
1996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1998 eval ac_res=\$$3
1999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2000 $as_echo "$ac_res" >&6; }
2001 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2003 } # ac_fn_c_check_header_compile
2005 # ac_fn_c_try_run LINENO
2006 # ----------------------
2007 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2008 # that executables *can* be run.
2009 ac_fn_c_try_run ()
2011 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2012 if { { ac_try="$ac_link"
2013 case "(($ac_try" in
2014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2015 *) ac_try_echo=$ac_try;;
2016 esac
2017 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2018 $as_echo "$ac_try_echo"; } >&5
2019 (eval "$ac_link") 2>&5
2020 ac_status=$?
2021 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2022 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2023 { { case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_try") 2>&5
2030 ac_status=$?
2031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032 test $ac_status = 0; }; }; then :
2033 ac_retval=0
2034 else
2035 $as_echo "$as_me: program exited with status $ac_status" >&5
2036 $as_echo "$as_me: failed program was:" >&5
2037 sed 's/^/| /' conftest.$ac_ext >&5
2039 ac_retval=$ac_status
2041 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2042 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2043 as_fn_set_status $ac_retval
2045 } # ac_fn_c_try_run
2047 # ac_fn_c_check_func LINENO FUNC VAR
2048 # ----------------------------------
2049 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2050 ac_fn_c_check_func ()
2052 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2054 $as_echo_n "checking for $2... " >&6; }
2055 if eval \${$3+:} false; then :
2056 $as_echo_n "(cached) " >&6
2057 else
2058 if test x$gcc_no_link = xyes; then
2059 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2062 /* end confdefs.h. */
2063 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2065 #define $2 innocuous_$2
2067 /* System header to define __stub macros and hopefully few prototypes,
2068 which can conflict with char $2 (); below.
2069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2070 <limits.h> exists even on freestanding compilers. */
2072 #ifdef __STDC__
2073 # include <limits.h>
2074 #else
2075 # include <assert.h>
2076 #endif
2078 #undef $2
2080 /* Override any GCC internal prototype to avoid an error.
2081 Use char because int might match the return type of a GCC
2082 builtin and then its argument prototype would still apply. */
2083 #ifdef __cplusplus
2084 extern "C"
2085 #endif
2086 char $2 ();
2087 /* The GNU C library defines this for functions which it implements
2088 to always fail with ENOSYS. Some functions are actually named
2089 something starting with __ and the normal name is an alias. */
2090 #if defined __stub_$2 || defined __stub___$2
2091 choke me
2092 #endif
2095 main ()
2097 return $2 ();
2099 return 0;
2101 _ACEOF
2102 if ac_fn_c_try_link "$LINENO"; then :
2103 eval "$3=yes"
2104 else
2105 eval "$3=no"
2107 rm -f core conftest.err conftest.$ac_objext \
2108 conftest$ac_exeext conftest.$ac_ext
2110 eval ac_res=\$$3
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2112 $as_echo "$ac_res" >&6; }
2113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2115 } # ac_fn_c_check_func
2117 # ac_fn_cxx_try_cpp LINENO
2118 # ------------------------
2119 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2120 ac_fn_cxx_try_cpp ()
2122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2123 if { { ac_try="$ac_cpp conftest.$ac_ext"
2124 case "(($ac_try" in
2125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2126 *) ac_try_echo=$ac_try;;
2127 esac
2128 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2129 $as_echo "$ac_try_echo"; } >&5
2130 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2131 ac_status=$?
2132 if test -s conftest.err; then
2133 grep -v '^ *+' conftest.err >conftest.er1
2134 cat conftest.er1 >&5
2135 mv -f conftest.er1 conftest.err
2137 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2138 test $ac_status = 0; } > conftest.i && {
2139 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2140 test ! -s conftest.err
2141 }; then :
2142 ac_retval=0
2143 else
2144 $as_echo "$as_me: failed program was:" >&5
2145 sed 's/^/| /' conftest.$ac_ext >&5
2147 ac_retval=1
2149 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2150 as_fn_set_status $ac_retval
2152 } # ac_fn_cxx_try_cpp
2154 # ac_fn_cxx_try_link LINENO
2155 # -------------------------
2156 # Try to link conftest.$ac_ext, and return whether this succeeded.
2157 ac_fn_cxx_try_link ()
2159 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2160 rm -f conftest.$ac_objext conftest$ac_exeext
2161 if { { ac_try="$ac_link"
2162 case "(($ac_try" in
2163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2164 *) ac_try_echo=$ac_try;;
2165 esac
2166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2167 $as_echo "$ac_try_echo"; } >&5
2168 (eval "$ac_link") 2>conftest.err
2169 ac_status=$?
2170 if test -s conftest.err; then
2171 grep -v '^ *+' conftest.err >conftest.er1
2172 cat conftest.er1 >&5
2173 mv -f conftest.er1 conftest.err
2175 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2176 test $ac_status = 0; } && {
2177 test -z "$ac_cxx_werror_flag" ||
2178 test ! -s conftest.err
2179 } && test -s conftest$ac_exeext && {
2180 test "$cross_compiling" = yes ||
2181 test -x conftest$ac_exeext
2182 }; then :
2183 ac_retval=0
2184 else
2185 $as_echo "$as_me: failed program was:" >&5
2186 sed 's/^/| /' conftest.$ac_ext >&5
2188 ac_retval=1
2190 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2191 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2192 # interfere with the next link command; also delete a directory that is
2193 # left behind by Apple's compiler. We do this before executing the actions.
2194 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2195 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2196 as_fn_set_status $ac_retval
2198 } # ac_fn_cxx_try_link
2200 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2201 # -------------------------------------------------------
2202 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2203 # the include files in INCLUDES and setting the cache variable VAR
2204 # accordingly.
2205 ac_fn_c_check_header_mongrel ()
2207 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2208 if eval \${$3+:} false; then :
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2210 $as_echo_n "checking for $2... " >&6; }
2211 if eval \${$3+:} false; then :
2212 $as_echo_n "(cached) " >&6
2214 eval ac_res=\$$3
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2216 $as_echo "$ac_res" >&6; }
2217 else
2218 # Is the header compilable?
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2220 $as_echo_n "checking $2 usability... " >&6; }
2221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2222 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_c_try_compile "$LINENO"; then :
2227 ac_header_compiler=yes
2228 else
2229 ac_header_compiler=no
2231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2233 $as_echo "$ac_header_compiler" >&6; }
2235 # Is the header present?
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2237 $as_echo_n "checking $2 presence... " >&6; }
2238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2239 /* end confdefs.h. */
2240 #include <$2>
2241 _ACEOF
2242 if ac_fn_c_try_cpp "$LINENO"; then :
2243 ac_header_preproc=yes
2244 else
2245 ac_header_preproc=no
2247 rm -f conftest.err conftest.i conftest.$ac_ext
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2249 $as_echo "$ac_header_preproc" >&6; }
2251 # So? What about this header?
2252 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2253 yes:no: )
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2255 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2257 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2259 no:yes:* )
2260 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2261 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2263 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2265 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2267 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2269 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2271 esac
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2273 $as_echo_n "checking for $2... " >&6; }
2274 if eval \${$3+:} false; then :
2275 $as_echo_n "(cached) " >&6
2276 else
2277 eval "$3=\$ac_header_compiler"
2279 eval ac_res=\$$3
2280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2281 $as_echo "$ac_res" >&6; }
2283 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2285 } # ac_fn_c_check_header_mongrel
2287 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2288 # ---------------------------------------------------------
2289 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2290 # the include files in INCLUDES and setting the cache variable VAR
2291 # accordingly.
2292 ac_fn_cxx_check_header_mongrel ()
2294 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2295 if eval \${$3+:} false; then :
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2297 $as_echo_n "checking for $2... " >&6; }
2298 if eval \${$3+:} false; then :
2299 $as_echo_n "(cached) " >&6
2301 eval ac_res=\$$3
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2303 $as_echo "$ac_res" >&6; }
2304 else
2305 # Is the header compilable?
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2307 $as_echo_n "checking $2 usability... " >&6; }
2308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2309 /* end confdefs.h. */
2311 #include <$2>
2312 _ACEOF
2313 if ac_fn_cxx_try_compile "$LINENO"; then :
2314 ac_header_compiler=yes
2315 else
2316 ac_header_compiler=no
2318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2320 $as_echo "$ac_header_compiler" >&6; }
2322 # Is the header present?
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2324 $as_echo_n "checking $2 presence... " >&6; }
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2327 #include <$2>
2328 _ACEOF
2329 if ac_fn_cxx_try_cpp "$LINENO"; then :
2330 ac_header_preproc=yes
2331 else
2332 ac_header_preproc=no
2334 rm -f conftest.err conftest.i conftest.$ac_ext
2335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2336 $as_echo "$ac_header_preproc" >&6; }
2338 # So? What about this header?
2339 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2340 yes:no: )
2341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2342 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2344 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2346 no:yes:* )
2347 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2348 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2350 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2352 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2354 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2356 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2358 esac
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2360 $as_echo_n "checking for $2... " >&6; }
2361 if eval \${$3+:} false; then :
2362 $as_echo_n "(cached) " >&6
2363 else
2364 eval "$3=\$ac_header_compiler"
2366 eval ac_res=\$$3
2367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2368 $as_echo "$ac_res" >&6; }
2370 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2372 } # ac_fn_cxx_check_header_mongrel
2374 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2375 # --------------------------------------------
2376 # Tries to find the compile-time value of EXPR in a program that includes
2377 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2378 # computed
2379 ac_fn_c_compute_int ()
2381 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2382 if test "$cross_compiling" = yes; then
2383 # Depending upon the size, compute the lo and hi bounds.
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2388 main ()
2390 static int test_array [1 - 2 * !(($2) >= 0)];
2391 test_array [0] = 0;
2392 return test_array [0];
2395 return 0;
2397 _ACEOF
2398 if ac_fn_c_try_compile "$LINENO"; then :
2399 ac_lo=0 ac_mid=0
2400 while :; do
2401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2402 /* end confdefs.h. */
2405 main ()
2407 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2408 test_array [0] = 0;
2409 return test_array [0];
2412 return 0;
2414 _ACEOF
2415 if ac_fn_c_try_compile "$LINENO"; then :
2416 ac_hi=$ac_mid; break
2417 else
2418 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2419 if test $ac_lo -le $ac_mid; then
2420 ac_lo= ac_hi=
2421 break
2423 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 done
2427 else
2428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2429 /* end confdefs.h. */
2432 main ()
2434 static int test_array [1 - 2 * !(($2) < 0)];
2435 test_array [0] = 0;
2436 return test_array [0];
2439 return 0;
2441 _ACEOF
2442 if ac_fn_c_try_compile "$LINENO"; then :
2443 ac_hi=-1 ac_mid=-1
2444 while :; do
2445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2446 /* end confdefs.h. */
2449 main ()
2451 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2452 test_array [0] = 0;
2453 return test_array [0];
2456 return 0;
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460 ac_lo=$ac_mid; break
2461 else
2462 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2463 if test $ac_mid -le $ac_hi; then
2464 ac_lo= ac_hi=
2465 break
2467 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 done
2471 else
2472 ac_lo= ac_hi=
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2477 # Binary search between lo and hi bounds.
2478 while test "x$ac_lo" != "x$ac_hi"; do
2479 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2481 /* end confdefs.h. */
2484 main ()
2486 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2487 test_array [0] = 0;
2488 return test_array [0];
2491 return 0;
2493 _ACEOF
2494 if ac_fn_c_try_compile "$LINENO"; then :
2495 ac_hi=$ac_mid
2496 else
2497 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2500 done
2501 case $ac_lo in #((
2502 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2503 '') ac_retval=1 ;;
2504 esac
2505 else
2506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2507 /* end confdefs.h. */
2509 static long int longval () { return $2; }
2510 static unsigned long int ulongval () { return $2; }
2511 #include <stdio.h>
2512 #include <stdlib.h>
2514 main ()
2517 FILE *f = fopen ("conftest.val", "w");
2518 if (! f)
2519 return 1;
2520 if (($2) < 0)
2522 long int i = longval ();
2523 if (i != ($2))
2524 return 1;
2525 fprintf (f, "%ld", i);
2527 else
2529 unsigned long int i = ulongval ();
2530 if (i != ($2))
2531 return 1;
2532 fprintf (f, "%lu", i);
2534 /* Do not output a trailing newline, as this causes \r\n confusion
2535 on some platforms. */
2536 return ferror (f) || fclose (f) != 0;
2539 return 0;
2541 _ACEOF
2542 if ac_fn_c_try_run "$LINENO"; then :
2543 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2544 else
2545 ac_retval=1
2547 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2548 conftest.$ac_objext conftest.beam conftest.$ac_ext
2549 rm -f conftest.val
2552 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2553 as_fn_set_status $ac_retval
2555 } # ac_fn_c_compute_int
2557 # ac_fn_cxx_check_func LINENO FUNC VAR
2558 # ------------------------------------
2559 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2560 ac_fn_cxx_check_func ()
2562 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2564 $as_echo_n "checking for $2... " >&6; }
2565 if eval \${$3+:} false; then :
2566 $as_echo_n "(cached) " >&6
2567 else
2568 if test x$gcc_no_link = xyes; then
2569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2572 /* end confdefs.h. */
2573 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2575 #define $2 innocuous_$2
2577 /* System header to define __stub macros and hopefully few prototypes,
2578 which can conflict with char $2 (); below.
2579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2580 <limits.h> exists even on freestanding compilers. */
2582 #ifdef __STDC__
2583 # include <limits.h>
2584 #else
2585 # include <assert.h>
2586 #endif
2588 #undef $2
2590 /* Override any GCC internal prototype to avoid an error.
2591 Use char because int might match the return type of a GCC
2592 builtin and then its argument prototype would still apply. */
2593 #ifdef __cplusplus
2594 extern "C"
2595 #endif
2596 char $2 ();
2597 /* The GNU C library defines this for functions which it implements
2598 to always fail with ENOSYS. Some functions are actually named
2599 something starting with __ and the normal name is an alias. */
2600 #if defined __stub_$2 || defined __stub___$2
2601 choke me
2602 #endif
2605 main ()
2607 return $2 ();
2609 return 0;
2611 _ACEOF
2612 if ac_fn_cxx_try_link "$LINENO"; then :
2613 eval "$3=yes"
2614 else
2615 eval "$3=no"
2617 rm -f core conftest.err conftest.$ac_objext \
2618 conftest$ac_exeext conftest.$ac_ext
2620 eval ac_res=\$$3
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2622 $as_echo "$ac_res" >&6; }
2623 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2625 } # ac_fn_cxx_check_func
2627 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2628 # ---------------------------------------------
2629 # Tests whether TYPE exists after having included INCLUDES, setting cache
2630 # variable VAR accordingly.
2631 ac_fn_cxx_check_type ()
2633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2635 $as_echo_n "checking for $2... " >&6; }
2636 if eval \${$3+:} false; then :
2637 $as_echo_n "(cached) " >&6
2638 else
2639 eval "$3=no"
2640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2641 /* end confdefs.h. */
2644 main ()
2646 if (sizeof ($2))
2647 return 0;
2649 return 0;
2651 _ACEOF
2652 if ac_fn_cxx_try_compile "$LINENO"; then :
2653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2654 /* end confdefs.h. */
2657 main ()
2659 if (sizeof (($2)))
2660 return 0;
2662 return 0;
2664 _ACEOF
2665 if ac_fn_cxx_try_compile "$LINENO"; then :
2667 else
2668 eval "$3=yes"
2670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2674 eval ac_res=\$$3
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2676 $as_echo "$ac_res" >&6; }
2677 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2679 } # ac_fn_cxx_check_type
2681 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2682 # ---------------------------------------------
2683 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2684 # accordingly.
2685 ac_fn_c_check_decl ()
2687 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2688 as_decl_name=`echo $2|sed 's/ *(.*//'`
2689 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2691 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2692 if eval \${$3+:} false; then :
2693 $as_echo_n "(cached) " >&6
2694 else
2695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2696 /* end confdefs.h. */
2699 main ()
2701 #ifndef $as_decl_name
2702 #ifdef __cplusplus
2703 (void) $as_decl_use;
2704 #else
2705 (void) $as_decl_name;
2706 #endif
2707 #endif
2710 return 0;
2712 _ACEOF
2713 if ac_fn_c_try_compile "$LINENO"; then :
2714 eval "$3=yes"
2715 else
2716 eval "$3=no"
2718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2720 eval ac_res=\$$3
2721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2722 $as_echo "$ac_res" >&6; }
2723 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2725 } # ac_fn_c_check_decl
2726 cat >config.log <<_ACEOF
2727 This file contains any messages produced by compilers while
2728 running configure, to aid debugging if configure makes a mistake.
2730 It was created by package-unused $as_me version-unused, which was
2731 generated by GNU Autoconf 2.69. Invocation command line was
2733 $ $0 $@
2735 _ACEOF
2736 exec 5>>config.log
2738 cat <<_ASUNAME
2739 ## --------- ##
2740 ## Platform. ##
2741 ## --------- ##
2743 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2744 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2745 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2746 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2747 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2749 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2750 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2752 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2753 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2754 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2755 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2756 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2757 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2758 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2760 _ASUNAME
2762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2763 for as_dir in $PATH
2765 IFS=$as_save_IFS
2766 test -z "$as_dir" && as_dir=.
2767 $as_echo "PATH: $as_dir"
2768 done
2769 IFS=$as_save_IFS
2771 } >&5
2773 cat >&5 <<_ACEOF
2776 ## ----------- ##
2777 ## Core tests. ##
2778 ## ----------- ##
2780 _ACEOF
2783 # Keep a trace of the command line.
2784 # Strip out --no-create and --no-recursion so they do not pile up.
2785 # Strip out --silent because we don't want to record it for future runs.
2786 # Also quote any args containing shell meta-characters.
2787 # Make two passes to allow for proper duplicate-argument suppression.
2788 ac_configure_args=
2789 ac_configure_args0=
2790 ac_configure_args1=
2791 ac_must_keep_next=false
2792 for ac_pass in 1 2
2794 for ac_arg
2796 case $ac_arg in
2797 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2799 | -silent | --silent | --silen | --sile | --sil)
2800 continue ;;
2801 *\'*)
2802 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2803 esac
2804 case $ac_pass in
2805 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2807 as_fn_append ac_configure_args1 " '$ac_arg'"
2808 if test $ac_must_keep_next = true; then
2809 ac_must_keep_next=false # Got value, back to normal.
2810 else
2811 case $ac_arg in
2812 *=* | --config-cache | -C | -disable-* | --disable-* \
2813 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2814 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2815 | -with-* | --with-* | -without-* | --without-* | --x)
2816 case "$ac_configure_args0 " in
2817 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2818 esac
2820 -* ) ac_must_keep_next=true ;;
2821 esac
2823 as_fn_append ac_configure_args " '$ac_arg'"
2825 esac
2826 done
2827 done
2828 { ac_configure_args0=; unset ac_configure_args0;}
2829 { ac_configure_args1=; unset ac_configure_args1;}
2831 # When interrupted or exit'd, cleanup temporary files, and complete
2832 # config.log. We remove comments because anyway the quotes in there
2833 # would cause problems or look ugly.
2834 # WARNING: Use '\'' to represent an apostrophe within the trap.
2835 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2836 trap 'exit_status=$?
2837 # Save into config.log some information that might help in debugging.
2839 echo
2841 $as_echo "## ---------------- ##
2842 ## Cache variables. ##
2843 ## ---------------- ##"
2844 echo
2845 # The following way of writing the cache mishandles newlines in values,
2847 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2848 eval ac_val=\$$ac_var
2849 case $ac_val in #(
2850 *${as_nl}*)
2851 case $ac_var in #(
2852 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2853 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2854 esac
2855 case $ac_var in #(
2856 _ | IFS | as_nl) ;; #(
2857 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2858 *) { eval $ac_var=; unset $ac_var;} ;;
2859 esac ;;
2860 esac
2861 done
2862 (set) 2>&1 |
2863 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2864 *${as_nl}ac_space=\ *)
2865 sed -n \
2866 "s/'\''/'\''\\\\'\'''\''/g;
2867 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2868 ;; #(
2870 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2872 esac |
2873 sort
2875 echo
2877 $as_echo "## ----------------- ##
2878 ## Output variables. ##
2879 ## ----------------- ##"
2880 echo
2881 for ac_var in $ac_subst_vars
2883 eval ac_val=\$$ac_var
2884 case $ac_val in
2885 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2886 esac
2887 $as_echo "$ac_var='\''$ac_val'\''"
2888 done | sort
2889 echo
2891 if test -n "$ac_subst_files"; then
2892 $as_echo "## ------------------- ##
2893 ## File substitutions. ##
2894 ## ------------------- ##"
2895 echo
2896 for ac_var in $ac_subst_files
2898 eval ac_val=\$$ac_var
2899 case $ac_val in
2900 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2901 esac
2902 $as_echo "$ac_var='\''$ac_val'\''"
2903 done | sort
2904 echo
2907 if test -s confdefs.h; then
2908 $as_echo "## ----------- ##
2909 ## confdefs.h. ##
2910 ## ----------- ##"
2911 echo
2912 cat confdefs.h
2913 echo
2915 test "$ac_signal" != 0 &&
2916 $as_echo "$as_me: caught signal $ac_signal"
2917 $as_echo "$as_me: exit $exit_status"
2918 } >&5
2919 rm -f core *.core core.conftest.* &&
2920 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2921 exit $exit_status
2923 for ac_signal in 1 2 13 15; do
2924 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2925 done
2926 ac_signal=0
2928 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2929 rm -f -r conftest* confdefs.h
2931 $as_echo "/* confdefs.h */" > confdefs.h
2933 # Predefined preprocessor variables.
2935 cat >>confdefs.h <<_ACEOF
2936 #define PACKAGE_NAME "$PACKAGE_NAME"
2937 _ACEOF
2939 cat >>confdefs.h <<_ACEOF
2940 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2941 _ACEOF
2943 cat >>confdefs.h <<_ACEOF
2944 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2945 _ACEOF
2947 cat >>confdefs.h <<_ACEOF
2948 #define PACKAGE_STRING "$PACKAGE_STRING"
2949 _ACEOF
2951 cat >>confdefs.h <<_ACEOF
2952 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2953 _ACEOF
2955 cat >>confdefs.h <<_ACEOF
2956 #define PACKAGE_URL "$PACKAGE_URL"
2957 _ACEOF
2960 # Let the site file select an alternate cache file if it wants to.
2961 # Prefer an explicitly selected file to automatically selected ones.
2962 ac_site_file1=NONE
2963 ac_site_file2=NONE
2964 if test -n "$CONFIG_SITE"; then
2965 # We do not want a PATH search for config.site.
2966 case $CONFIG_SITE in #((
2967 -*) ac_site_file1=./$CONFIG_SITE;;
2968 */*) ac_site_file1=$CONFIG_SITE;;
2969 *) ac_site_file1=./$CONFIG_SITE;;
2970 esac
2971 elif test "x$prefix" != xNONE; then
2972 ac_site_file1=$prefix/share/config.site
2973 ac_site_file2=$prefix/etc/config.site
2974 else
2975 ac_site_file1=$ac_default_prefix/share/config.site
2976 ac_site_file2=$ac_default_prefix/etc/config.site
2978 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2980 test "x$ac_site_file" = xNONE && continue
2981 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2983 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2984 sed 's/^/| /' "$ac_site_file" >&5
2985 . "$ac_site_file" \
2986 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2987 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2988 as_fn_error $? "failed to load site script $ac_site_file
2989 See \`config.log' for more details" "$LINENO" 5; }
2991 done
2993 if test -r "$cache_file"; then
2994 # Some versions of bash will fail to source /dev/null (special files
2995 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2996 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2998 $as_echo "$as_me: loading cache $cache_file" >&6;}
2999 case $cache_file in
3000 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3001 *) . "./$cache_file";;
3002 esac
3004 else
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3006 $as_echo "$as_me: creating cache $cache_file" >&6;}
3007 >$cache_file
3010 # Check that the precious variables saved in the cache have kept the same
3011 # value.
3012 ac_cache_corrupted=false
3013 for ac_var in $ac_precious_vars; do
3014 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3015 eval ac_new_set=\$ac_env_${ac_var}_set
3016 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3017 eval ac_new_val=\$ac_env_${ac_var}_value
3018 case $ac_old_set,$ac_new_set in
3019 set,)
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3021 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3022 ac_cache_corrupted=: ;;
3023 ,set)
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3025 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3026 ac_cache_corrupted=: ;;
3027 ,);;
3029 if test "x$ac_old_val" != "x$ac_new_val"; then
3030 # differences in whitespace do not lead to failure.
3031 ac_old_val_w=`echo x $ac_old_val`
3032 ac_new_val_w=`echo x $ac_new_val`
3033 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3035 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3036 ac_cache_corrupted=:
3037 else
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3039 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3040 eval $ac_var=\$ac_old_val
3042 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3043 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3044 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3045 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3046 fi;;
3047 esac
3048 # Pass precious variables to config.status.
3049 if test "$ac_new_set" = set; then
3050 case $ac_new_val in
3051 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3052 *) ac_arg=$ac_var=$ac_new_val ;;
3053 esac
3054 case " $ac_configure_args " in
3055 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3056 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3057 esac
3059 done
3060 if $ac_cache_corrupted; then
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3062 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3063 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3064 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3065 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3067 ## -------------------- ##
3068 ## Main body of script. ##
3069 ## -------------------- ##
3071 ac_ext=c
3072 ac_cpp='$CPP $CPPFLAGS'
3073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3082 ac_config_headers="$ac_config_headers config.h"
3085 # This works around the fact that libtool configuration may change LD
3086 # for this particular configuration, but some shells, instead of
3087 # keeping the changes in LD private, export them just because LD is
3088 # exported. Only used at the end of this file.
3089 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3091 # Find the rest of the source tree framework.
3092 # Default to --enable-multilib
3093 # Check whether --enable-multilib was given.
3094 if test "${enable_multilib+set}" = set; then :
3095 enableval=$enable_multilib; case "$enableval" in
3096 yes) multilib=yes ;;
3097 no) multilib=no ;;
3098 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3099 esac
3100 else
3101 multilib=yes
3105 # We may get other options which we leave undocumented:
3106 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3107 # See config-ml.in if you want the gory details.
3109 if test "$srcdir" = "."; then
3110 if test "$with_target_subdir" != "."; then
3111 multi_basedir="$srcdir/$with_multisrctop../.."
3112 else
3113 multi_basedir="$srcdir/$with_multisrctop.."
3115 else
3116 multi_basedir="$srcdir/.."
3120 # Even if the default multilib is not a cross compilation,
3121 # it may be that some of the other multilibs are.
3122 if test $cross_compiling = no && test $multilib = yes \
3123 && test "x${with_multisubdir}" != x ; then
3124 cross_compiling=maybe
3127 ac_config_commands="$ac_config_commands default-1"
3130 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3132 # You will slowly go insane if you do not grok the following fact: when
3133 # building v3 as part of the compiler, the top-level /target/ becomes the
3134 # library's /host/. configure then causes --target to default to --host,
3135 # exactly like any other package using autoconf. Therefore, 'target' and
3136 # 'host' will always be the same. This makes sense both for native and
3137 # cross compilers, just think about it for a little while. :-)
3139 # Also, if v3 is being configured as part of a cross compiler, the top-level
3140 # configure script will pass the "real" host as $with_cross_host.
3142 # Do not delete or change the following two lines. For why, see
3143 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3144 ac_aux_dir=
3145 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3146 if test -f "$ac_dir/install-sh"; then
3147 ac_aux_dir=$ac_dir
3148 ac_install_sh="$ac_aux_dir/install-sh -c"
3149 break
3150 elif test -f "$ac_dir/install.sh"; then
3151 ac_aux_dir=$ac_dir
3152 ac_install_sh="$ac_aux_dir/install.sh -c"
3153 break
3154 elif test -f "$ac_dir/shtool"; then
3155 ac_aux_dir=$ac_dir
3156 ac_install_sh="$ac_aux_dir/shtool install -c"
3157 break
3159 done
3160 if test -z "$ac_aux_dir"; then
3161 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3164 # These three variables are undocumented and unsupported,
3165 # and are intended to be withdrawn in a future Autoconf release.
3166 # They can cause serious problems if a builder's source tree is in a directory
3167 # whose full name contains unusual characters.
3168 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3169 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3170 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3173 # Make sure we can run config.sub.
3174 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3175 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3178 $as_echo_n "checking build system type... " >&6; }
3179 if ${ac_cv_build+:} false; then :
3180 $as_echo_n "(cached) " >&6
3181 else
3182 ac_build_alias=$build_alias
3183 test "x$ac_build_alias" = x &&
3184 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3185 test "x$ac_build_alias" = x &&
3186 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3187 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3188 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3192 $as_echo "$ac_cv_build" >&6; }
3193 case $ac_cv_build in
3194 *-*-*) ;;
3195 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3196 esac
3197 build=$ac_cv_build
3198 ac_save_IFS=$IFS; IFS='-'
3199 set x $ac_cv_build
3200 shift
3201 build_cpu=$1
3202 build_vendor=$2
3203 shift; shift
3204 # Remember, the first character of IFS is used to create $*,
3205 # except with old shells:
3206 build_os=$*
3207 IFS=$ac_save_IFS
3208 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3212 $as_echo_n "checking host system type... " >&6; }
3213 if ${ac_cv_host+:} false; then :
3214 $as_echo_n "(cached) " >&6
3215 else
3216 if test "x$host_alias" = x; then
3217 ac_cv_host=$ac_cv_build
3218 else
3219 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3220 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3225 $as_echo "$ac_cv_host" >&6; }
3226 case $ac_cv_host in
3227 *-*-*) ;;
3228 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3229 esac
3230 host=$ac_cv_host
3231 ac_save_IFS=$IFS; IFS='-'
3232 set x $ac_cv_host
3233 shift
3234 host_cpu=$1
3235 host_vendor=$2
3236 shift; shift
3237 # Remember, the first character of IFS is used to create $*,
3238 # except with old shells:
3239 host_os=$*
3240 IFS=$ac_save_IFS
3241 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3245 $as_echo_n "checking target system type... " >&6; }
3246 if ${ac_cv_target+:} false; then :
3247 $as_echo_n "(cached) " >&6
3248 else
3249 if test "x$target_alias" = x; then
3250 ac_cv_target=$ac_cv_host
3251 else
3252 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3253 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3258 $as_echo "$ac_cv_target" >&6; }
3259 case $ac_cv_target in
3260 *-*-*) ;;
3261 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3262 esac
3263 target=$ac_cv_target
3264 ac_save_IFS=$IFS; IFS='-'
3265 set x $ac_cv_target
3266 shift
3267 target_cpu=$1
3268 target_vendor=$2
3269 shift; shift
3270 # Remember, the first character of IFS is used to create $*,
3271 # except with old shells:
3272 target_os=$*
3273 IFS=$ac_save_IFS
3274 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3277 # The aliases save the names the user supplied, while $host etc.
3278 # will get canonicalized.
3279 test -n "$target_alias" &&
3280 test "$program_prefix$program_suffix$program_transform_name" = \
3281 NONENONEs,x,x, &&
3282 program_prefix=${target_alias}-
3284 target_alias=${target_alias-$host_alias}
3286 # Handy for debugging:
3287 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3289 if test "$build" != "$host"; then
3290 # We are being configured with some form of cross compiler.
3291 GLIBCXX_IS_NATIVE=false
3292 case "$host","$target" in
3293 # Darwin crosses can use the host system's libraries and headers,
3294 # because of the fat library support. Of course, it must be the
3295 # same version of Darwin on both sides. Allow the user to
3296 # just say --target=foo-darwin without a version number to mean
3297 # "the version on this system".
3298 *-*-darwin*,*-*-darwin*)
3299 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3300 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3301 if test $hostos = $targetos || test $targetos = darwin ; then
3302 GLIBCXX_IS_NATIVE=true
3309 esac
3310 else
3311 GLIBCXX_IS_NATIVE=true
3314 # In the case that we're building without headers, we won't have <stdio.h>
3315 # available. In these cases, we have to instruct autotools to never include
3316 # <stdio.h> as a part of default headers.
3318 if test "x$with_headers" = "xno"; then
3319 ac_includes_default=`echo "$ac_includes_default" | sed '/^#include <stdio.h>$/d'`
3323 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3324 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3325 # 1.x: minimum required version
3326 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3327 # of other PACKAGE_* variables will, however, and there's nothing
3328 # we can do about that; they come from AC_INIT).
3329 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3330 # file in the top srcdir, etc, etc), so stop complaining.
3331 # no-dependencies: turns off auto dependency generation (just for now)
3332 # no-dist: we don't want 'dist' and related rules.
3333 # -Wall: turns on all automake warnings...
3334 # -Wno-portability: ...except this one, since GNU make is now required.
3335 am__api_version='1.15'
3337 # Find a good install program. We prefer a C program (faster),
3338 # so one script is as good as another. But avoid the broken or
3339 # incompatible versions:
3340 # SysV /etc/install, /usr/sbin/install
3341 # SunOS /usr/etc/install
3342 # IRIX /sbin/install
3343 # AIX /bin/install
3344 # AmigaOS /C/install, which installs bootblocks on floppy discs
3345 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3346 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3347 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3348 # OS/2's system install, which has a completely different semantic
3349 # ./install, which can be erroneously created by make from ./install.sh.
3350 # Reject install programs that cannot install multiple files.
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3352 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3353 if test -z "$INSTALL"; then
3354 if ${ac_cv_path_install+:} false; then :
3355 $as_echo_n "(cached) " >&6
3356 else
3357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3358 for as_dir in $PATH
3360 IFS=$as_save_IFS
3361 test -z "$as_dir" && as_dir=.
3362 # Account for people who put trailing slashes in PATH elements.
3363 case $as_dir/ in #((
3364 ./ | .// | /[cC]/* | \
3365 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3366 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3367 /usr/ucb/* ) ;;
3369 # OSF1 and SCO ODT 3.0 have their own names for install.
3370 # Don't use installbsd from OSF since it installs stuff as root
3371 # by default.
3372 for ac_prog in ginstall scoinst install; do
3373 for ac_exec_ext in '' $ac_executable_extensions; do
3374 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3375 if test $ac_prog = install &&
3376 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3377 # AIX install. It has an incompatible calling convention.
3379 elif test $ac_prog = install &&
3380 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3381 # program-specific install script used by HP pwplus--don't use.
3383 else
3384 rm -rf conftest.one conftest.two conftest.dir
3385 echo one > conftest.one
3386 echo two > conftest.two
3387 mkdir conftest.dir
3388 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3389 test -s conftest.one && test -s conftest.two &&
3390 test -s conftest.dir/conftest.one &&
3391 test -s conftest.dir/conftest.two
3392 then
3393 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3394 break 3
3398 done
3399 done
3401 esac
3403 done
3404 IFS=$as_save_IFS
3406 rm -rf conftest.one conftest.two conftest.dir
3409 if test "${ac_cv_path_install+set}" = set; then
3410 INSTALL=$ac_cv_path_install
3411 else
3412 # As a last resort, use the slow shell script. Don't cache a
3413 # value for INSTALL within a source directory, because that will
3414 # break other packages using the cache if that directory is
3415 # removed, or if the value is a relative name.
3416 INSTALL=$ac_install_sh
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3420 $as_echo "$INSTALL" >&6; }
3422 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3423 # It thinks the first close brace ends the variable substitution.
3424 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3426 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3428 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3431 $as_echo_n "checking whether build environment is sane... " >&6; }
3432 # Reject unsafe characters in $srcdir or the absolute working directory
3433 # name. Accept space and tab only in the latter.
3434 am_lf='
3436 case `pwd` in
3437 *[\\\"\#\$\&\'\`$am_lf]*)
3438 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3439 esac
3440 case $srcdir in
3441 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3442 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3443 esac
3445 # Do 'set' in a subshell so we don't clobber the current shell's
3446 # arguments. Must try -L first in case configure is actually a
3447 # symlink; some systems play weird games with the mod time of symlinks
3448 # (eg FreeBSD returns the mod time of the symlink's containing
3449 # directory).
3450 if (
3451 am_has_slept=no
3452 for am_try in 1 2; do
3453 echo "timestamp, slept: $am_has_slept" > conftest.file
3454 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3455 if test "$*" = "X"; then
3456 # -L didn't work.
3457 set X `ls -t "$srcdir/configure" conftest.file`
3459 if test "$*" != "X $srcdir/configure conftest.file" \
3460 && test "$*" != "X conftest.file $srcdir/configure"; then
3462 # If neither matched, then we have a broken ls. This can happen
3463 # if, for instance, CONFIG_SHELL is bash and it inherits a
3464 # broken ls alias from the environment. This has actually
3465 # happened. Such a system could not be considered "sane".
3466 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3467 alias in your environment" "$LINENO" 5
3469 if test "$2" = conftest.file || test $am_try -eq 2; then
3470 break
3472 # Just in case.
3473 sleep 1
3474 am_has_slept=yes
3475 done
3476 test "$2" = conftest.file
3478 then
3479 # Ok.
3481 else
3482 as_fn_error $? "newly created file is older than distributed files!
3483 Check your system clock" "$LINENO" 5
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3486 $as_echo "yes" >&6; }
3487 # If we didn't sleep, we still need to ensure time stamps of config.status and
3488 # generated files are strictly newer.
3489 am_sleep_pid=
3490 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3491 ( sleep 1 ) &
3492 am_sleep_pid=$!
3495 rm -f conftest.file
3497 test "$program_prefix" != NONE &&
3498 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3499 # Use a double $ so make ignores it.
3500 test "$program_suffix" != NONE &&
3501 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3502 # Double any \ or $.
3503 # By default was `s,x,x', remove it if useless.
3504 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3505 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3507 # Expand $ac_aux_dir to an absolute path.
3508 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3510 if test x"${MISSING+set}" != xset; then
3511 case $am_aux_dir in
3512 *\ * | *\ *)
3513 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3515 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3516 esac
3518 # Use eval to expand $SHELL
3519 if eval "$MISSING --is-lightweight"; then
3520 am_missing_run="$MISSING "
3521 else
3522 am_missing_run=
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3524 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3527 if test x"${install_sh+set}" != xset; then
3528 case $am_aux_dir in
3529 *\ * | *\ *)
3530 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3532 install_sh="\${SHELL} $am_aux_dir/install-sh"
3533 esac
3536 # Installed binaries are usually stripped using 'strip' when the user
3537 # run "make install-strip". However 'strip' might not be the right
3538 # tool to use in cross-compilation environments, therefore Automake
3539 # will honor the 'STRIP' environment variable to overrule this program.
3540 if test "$cross_compiling" != no; then
3541 if test -n "$ac_tool_prefix"; then
3542 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3543 set dummy ${ac_tool_prefix}strip; ac_word=$2
3544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3545 $as_echo_n "checking for $ac_word... " >&6; }
3546 if ${ac_cv_prog_STRIP+:} false; then :
3547 $as_echo_n "(cached) " >&6
3548 else
3549 if test -n "$STRIP"; then
3550 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3551 else
3552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3553 for as_dir in $PATH
3555 IFS=$as_save_IFS
3556 test -z "$as_dir" && as_dir=.
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3561 break 2
3563 done
3564 done
3565 IFS=$as_save_IFS
3569 STRIP=$ac_cv_prog_STRIP
3570 if test -n "$STRIP"; then
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3572 $as_echo "$STRIP" >&6; }
3573 else
3574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3575 $as_echo "no" >&6; }
3580 if test -z "$ac_cv_prog_STRIP"; then
3581 ac_ct_STRIP=$STRIP
3582 # Extract the first word of "strip", so it can be a program name with args.
3583 set dummy strip; ac_word=$2
3584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585 $as_echo_n "checking for $ac_word... " >&6; }
3586 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3587 $as_echo_n "(cached) " >&6
3588 else
3589 if test -n "$ac_ct_STRIP"; then
3590 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3591 else
3592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3593 for as_dir in $PATH
3595 IFS=$as_save_IFS
3596 test -z "$as_dir" && as_dir=.
3597 for ac_exec_ext in '' $ac_executable_extensions; do
3598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3599 ac_cv_prog_ac_ct_STRIP="strip"
3600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3601 break 2
3603 done
3604 done
3605 IFS=$as_save_IFS
3609 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3610 if test -n "$ac_ct_STRIP"; then
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3612 $as_echo "$ac_ct_STRIP" >&6; }
3613 else
3614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3615 $as_echo "no" >&6; }
3618 if test "x$ac_ct_STRIP" = x; then
3619 STRIP=":"
3620 else
3621 case $cross_compiling:$ac_tool_warned in
3622 yes:)
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3624 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3625 ac_tool_warned=yes ;;
3626 esac
3627 STRIP=$ac_ct_STRIP
3629 else
3630 STRIP="$ac_cv_prog_STRIP"
3634 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3637 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3638 if test -z "$MKDIR_P"; then
3639 if ${ac_cv_path_mkdir+:} false; then :
3640 $as_echo_n "(cached) " >&6
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_prog in mkdir gmkdir; do
3648 for ac_exec_ext in '' $ac_executable_extensions; do
3649 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3650 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3651 'mkdir (GNU coreutils) '* | \
3652 'mkdir (coreutils) '* | \
3653 'mkdir (fileutils) '4.1*)
3654 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3655 break 3;;
3656 esac
3657 done
3658 done
3659 done
3660 IFS=$as_save_IFS
3664 test -d ./--version && rmdir ./--version
3665 if test "${ac_cv_path_mkdir+set}" = set; then
3666 MKDIR_P="$ac_cv_path_mkdir -p"
3667 else
3668 # As a last resort, use the slow shell script. Don't cache a
3669 # value for MKDIR_P within a source directory, because that will
3670 # break other packages using the cache if that directory is
3671 # removed, or if the value is a relative name.
3672 MKDIR_P="$ac_install_sh -d"
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3676 $as_echo "$MKDIR_P" >&6; }
3678 for ac_prog in gawk mawk nawk awk
3680 # Extract the first word of "$ac_prog", so it can be a program name with args.
3681 set dummy $ac_prog; ac_word=$2
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3683 $as_echo_n "checking for $ac_word... " >&6; }
3684 if ${ac_cv_prog_AWK+:} false; then :
3685 $as_echo_n "(cached) " >&6
3686 else
3687 if test -n "$AWK"; then
3688 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3689 else
3690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3691 for as_dir in $PATH
3693 IFS=$as_save_IFS
3694 test -z "$as_dir" && as_dir=.
3695 for ac_exec_ext in '' $ac_executable_extensions; do
3696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3697 ac_cv_prog_AWK="$ac_prog"
3698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3699 break 2
3701 done
3702 done
3703 IFS=$as_save_IFS
3707 AWK=$ac_cv_prog_AWK
3708 if test -n "$AWK"; then
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3710 $as_echo "$AWK" >&6; }
3711 else
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3713 $as_echo "no" >&6; }
3717 test -n "$AWK" && break
3718 done
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3721 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3722 set x ${MAKE-make}
3723 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3724 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3725 $as_echo_n "(cached) " >&6
3726 else
3727 cat >conftest.make <<\_ACEOF
3728 SHELL = /bin/sh
3729 all:
3730 @echo '@@@%%%=$(MAKE)=@@@%%%'
3731 _ACEOF
3732 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3733 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3734 *@@@%%%=?*=@@@%%%*)
3735 eval ac_cv_prog_make_${ac_make}_set=yes;;
3737 eval ac_cv_prog_make_${ac_make}_set=no;;
3738 esac
3739 rm -f conftest.make
3741 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3743 $as_echo "yes" >&6; }
3744 SET_MAKE=
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 SET_MAKE="MAKE=${MAKE-make}"
3751 rm -rf .tst 2>/dev/null
3752 mkdir .tst 2>/dev/null
3753 if test -d .tst; then
3754 am__leading_dot=.
3755 else
3756 am__leading_dot=_
3758 rmdir .tst 2>/dev/null
3760 # Check whether --enable-silent-rules was given.
3761 if test "${enable_silent_rules+set}" = set; then :
3762 enableval=$enable_silent_rules;
3765 case $enable_silent_rules in # (((
3766 yes) AM_DEFAULT_VERBOSITY=0;;
3767 no) AM_DEFAULT_VERBOSITY=1;;
3768 *) AM_DEFAULT_VERBOSITY=1;;
3769 esac
3770 am_make=${MAKE-make}
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3772 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3773 if ${am_cv_make_support_nested_variables+:} false; then :
3774 $as_echo_n "(cached) " >&6
3775 else
3776 if $as_echo 'TRUE=$(BAR$(V))
3777 BAR0=false
3778 BAR1=true
3780 am__doit:
3781 @$(TRUE)
3782 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3783 am_cv_make_support_nested_variables=yes
3784 else
3785 am_cv_make_support_nested_variables=no
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3789 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3790 if test $am_cv_make_support_nested_variables = yes; then
3791 AM_V='$(V)'
3792 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3793 else
3794 AM_V=$AM_DEFAULT_VERBOSITY
3795 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3797 AM_BACKSLASH='\'
3799 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3800 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3801 # is not polluted with repeated "-I."
3802 am__isrc=' -I$(srcdir)'
3803 # test to see if srcdir already configured
3804 if test -f $srcdir/config.status; then
3805 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3809 # test whether we have cygpath
3810 if test -z "$CYGPATH_W"; then
3811 if (cygpath --version) >/dev/null 2>/dev/null; then
3812 CYGPATH_W='cygpath -w'
3813 else
3814 CYGPATH_W=echo
3819 # Define the identity of the package.
3820 PACKAGE='libstdc++'
3821 VERSION='version-unused'
3824 # Some tools Automake needs.
3826 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3829 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3832 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3835 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3838 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3840 # For better backward compatibility. To be removed once Automake 1.9.x
3841 # dies out for good. For more background, see:
3842 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3843 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3844 mkdir_p='$(MKDIR_P)'
3846 # We need awk for the "check" target (and possibly the TAP driver). The
3847 # system "awk" is bad on some platforms.
3848 # Always define AMTAR for backward compatibility. Yes, it's still used
3849 # in the wild :-( We should find a proper way to deprecate it ...
3850 AMTAR='$${TAR-tar}'
3853 # We'll loop over all known methods to create a tar archive until one works.
3854 _am_tools='gnutar pax cpio none'
3856 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3863 # POSIX will say in a future version that running "rm -f" with no argument
3864 # is OK; and we want to be able to make that assumption in our Makefile
3865 # recipes. So use an aggressive probe to check that the usage we want is
3866 # actually supported "in the wild" to an acceptable degree.
3867 # See automake bug#10828.
3868 # To make any issue more visible, cause the running configure to be aborted
3869 # by default if the 'rm' program in use doesn't match our expectations; the
3870 # user can still override this though.
3871 if rm -f && rm -fr && rm -rf; then : OK; else
3872 cat >&2 <<'END'
3873 Oops!
3875 Your 'rm' program seems unable to run without file operands specified
3876 on the command line, even when the '-f' option is present. This is contrary
3877 to the behaviour of most rm programs out there, and not conforming with
3878 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3880 Please tell bug-automake@gnu.org about your system, including the value
3881 of your $PATH and any error possibly output before this message. This
3882 can help us improve future automake versions.
3885 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3886 echo 'Configuration will proceed anyway, since you have set the' >&2
3887 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3888 echo >&2
3889 else
3890 cat >&2 <<'END'
3891 Aborting the configuration process, to ensure you take notice of the issue.
3893 You can download and install GNU coreutils to get an 'rm' implementation
3894 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3896 If you want to complete the configuration process using your problematic
3897 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3898 to "yes", and re-run configure.
3901 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3908 # -fno-builtin must be present here so that a non-conflicting form of
3909 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3911 save_CXXFLAGS="$CXXFLAGS"
3912 CXXFLAGS="$CXXFLAGS -fno-builtin"
3913 ac_ext=c
3914 ac_cpp='$CPP $CPPFLAGS'
3915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3918 if test -n "$ac_tool_prefix"; then
3919 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3920 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3922 $as_echo_n "checking for $ac_word... " >&6; }
3923 if ${ac_cv_prog_CC+:} false; then :
3924 $as_echo_n "(cached) " >&6
3925 else
3926 if test -n "$CC"; then
3927 ac_cv_prog_CC="$CC" # Let the user override the test.
3928 else
3929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3930 for as_dir in $PATH
3932 IFS=$as_save_IFS
3933 test -z "$as_dir" && as_dir=.
3934 for ac_exec_ext in '' $ac_executable_extensions; do
3935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3936 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3938 break 2
3940 done
3941 done
3942 IFS=$as_save_IFS
3946 CC=$ac_cv_prog_CC
3947 if test -n "$CC"; then
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3949 $as_echo "$CC" >&6; }
3950 else
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3957 if test -z "$ac_cv_prog_CC"; then
3958 ac_ct_CC=$CC
3959 # Extract the first word of "gcc", so it can be a program name with args.
3960 set dummy gcc; ac_word=$2
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3962 $as_echo_n "checking for $ac_word... " >&6; }
3963 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3964 $as_echo_n "(cached) " >&6
3965 else
3966 if test -n "$ac_ct_CC"; then
3967 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3968 else
3969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3970 for as_dir in $PATH
3972 IFS=$as_save_IFS
3973 test -z "$as_dir" && as_dir=.
3974 for ac_exec_ext in '' $ac_executable_extensions; do
3975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3976 ac_cv_prog_ac_ct_CC="gcc"
3977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3978 break 2
3980 done
3981 done
3982 IFS=$as_save_IFS
3986 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3987 if test -n "$ac_ct_CC"; then
3988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3989 $as_echo "$ac_ct_CC" >&6; }
3990 else
3991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3992 $as_echo "no" >&6; }
3995 if test "x$ac_ct_CC" = x; then
3996 CC=""
3997 else
3998 case $cross_compiling:$ac_tool_warned in
3999 yes:)
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4001 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4002 ac_tool_warned=yes ;;
4003 esac
4004 CC=$ac_ct_CC
4006 else
4007 CC="$ac_cv_prog_CC"
4010 if test -z "$CC"; then
4011 if test -n "$ac_tool_prefix"; then
4012 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4013 set dummy ${ac_tool_prefix}cc; ac_word=$2
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4015 $as_echo_n "checking for $ac_word... " >&6; }
4016 if ${ac_cv_prog_CC+:} false; then :
4017 $as_echo_n "(cached) " >&6
4018 else
4019 if test -n "$CC"; then
4020 ac_cv_prog_CC="$CC" # Let the user override the test.
4021 else
4022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4023 for as_dir in $PATH
4025 IFS=$as_save_IFS
4026 test -z "$as_dir" && as_dir=.
4027 for ac_exec_ext in '' $ac_executable_extensions; do
4028 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4029 ac_cv_prog_CC="${ac_tool_prefix}cc"
4030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4031 break 2
4033 done
4034 done
4035 IFS=$as_save_IFS
4039 CC=$ac_cv_prog_CC
4040 if test -n "$CC"; then
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4042 $as_echo "$CC" >&6; }
4043 else
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4045 $as_echo "no" >&6; }
4051 if test -z "$CC"; then
4052 # Extract the first word of "cc", so it can be a program name with args.
4053 set dummy cc; ac_word=$2
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4055 $as_echo_n "checking for $ac_word... " >&6; }
4056 if ${ac_cv_prog_CC+:} false; then :
4057 $as_echo_n "(cached) " >&6
4058 else
4059 if test -n "$CC"; then
4060 ac_cv_prog_CC="$CC" # Let the user override the test.
4061 else
4062 ac_prog_rejected=no
4063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4064 for as_dir in $PATH
4066 IFS=$as_save_IFS
4067 test -z "$as_dir" && as_dir=.
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4070 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4071 ac_prog_rejected=yes
4072 continue
4074 ac_cv_prog_CC="cc"
4075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4076 break 2
4078 done
4079 done
4080 IFS=$as_save_IFS
4082 if test $ac_prog_rejected = yes; then
4083 # We found a bogon in the path, so make sure we never use it.
4084 set dummy $ac_cv_prog_CC
4085 shift
4086 if test $# != 0; then
4087 # We chose a different compiler from the bogus one.
4088 # However, it has the same basename, so the bogon will be chosen
4089 # first if we set CC to just the basename; use the full file name.
4090 shift
4091 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4096 CC=$ac_cv_prog_CC
4097 if test -n "$CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4099 $as_echo "$CC" >&6; }
4100 else
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4107 if test -z "$CC"; then
4108 if test -n "$ac_tool_prefix"; then
4109 for ac_prog in cl.exe
4111 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4112 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4114 $as_echo_n "checking for $ac_word... " >&6; }
4115 if ${ac_cv_prog_CC+:} false; then :
4116 $as_echo_n "(cached) " >&6
4117 else
4118 if test -n "$CC"; then
4119 ac_cv_prog_CC="$CC" # Let the user override the test.
4120 else
4121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4122 for as_dir in $PATH
4124 IFS=$as_save_IFS
4125 test -z "$as_dir" && as_dir=.
4126 for ac_exec_ext in '' $ac_executable_extensions; do
4127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4128 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4130 break 2
4132 done
4133 done
4134 IFS=$as_save_IFS
4138 CC=$ac_cv_prog_CC
4139 if test -n "$CC"; then
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4141 $as_echo "$CC" >&6; }
4142 else
4143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4144 $as_echo "no" >&6; }
4148 test -n "$CC" && break
4149 done
4151 if test -z "$CC"; then
4152 ac_ct_CC=$CC
4153 for ac_prog in cl.exe
4155 # Extract the first word of "$ac_prog", so it can be a program name with args.
4156 set dummy $ac_prog; ac_word=$2
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4158 $as_echo_n "checking for $ac_word... " >&6; }
4159 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 if test -n "$ac_ct_CC"; then
4163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4164 else
4165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4166 for as_dir in $PATH
4168 IFS=$as_save_IFS
4169 test -z "$as_dir" && as_dir=.
4170 for ac_exec_ext in '' $ac_executable_extensions; do
4171 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4172 ac_cv_prog_ac_ct_CC="$ac_prog"
4173 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4174 break 2
4176 done
4177 done
4178 IFS=$as_save_IFS
4182 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4183 if test -n "$ac_ct_CC"; then
4184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4185 $as_echo "$ac_ct_CC" >&6; }
4186 else
4187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4188 $as_echo "no" >&6; }
4192 test -n "$ac_ct_CC" && break
4193 done
4195 if test "x$ac_ct_CC" = x; then
4196 CC=""
4197 else
4198 case $cross_compiling:$ac_tool_warned in
4199 yes:)
4200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4202 ac_tool_warned=yes ;;
4203 esac
4204 CC=$ac_ct_CC
4211 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4212 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4213 as_fn_error $? "no acceptable C compiler found in \$PATH
4214 See \`config.log' for more details" "$LINENO" 5; }
4216 # Provide some information about the compiler.
4217 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4218 set X $ac_compile
4219 ac_compiler=$2
4220 for ac_option in --version -v -V -qversion; do
4221 { { ac_try="$ac_compiler $ac_option >&5"
4222 case "(($ac_try" in
4223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4224 *) ac_try_echo=$ac_try;;
4225 esac
4226 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4227 $as_echo "$ac_try_echo"; } >&5
4228 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4229 ac_status=$?
4230 if test -s conftest.err; then
4231 sed '10a\
4232 ... rest of stderr output deleted ...
4233 10q' conftest.err >conftest.er1
4234 cat conftest.er1 >&5
4236 rm -f conftest.er1 conftest.err
4237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4238 test $ac_status = 0; }
4239 done
4241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4242 /* end confdefs.h. */
4243 #include <stdio.h>
4245 main ()
4247 printf ("hello world\n");
4249 return 0;
4251 _ACEOF
4252 # FIXME: Cleanup?
4253 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4254 (eval $ac_link) 2>&5
4255 ac_status=$?
4256 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4257 test $ac_status = 0; }; then :
4258 gcc_no_link=no
4259 else
4260 gcc_no_link=yes
4262 if test x$gcc_no_link = xyes; then
4263 # Setting cross_compile will disable run tests; it will
4264 # also disable AC_CHECK_FILE but that's generally
4265 # correct if we can't link.
4266 cross_compiling=yes
4267 EXEEXT=
4268 else
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 ac_clean_files_save=$ac_clean_files
4281 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4282 # Try to create an executable without -o first, disregard a.out.
4283 # It will help us diagnose broken compilers, and finding out an intuition
4284 # of exeext.
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4286 $as_echo_n "checking whether the C compiler works... " >&6; }
4287 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4289 # The possible output files:
4290 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4292 ac_rmfiles=
4293 for ac_file in $ac_files
4295 case $ac_file in
4296 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4297 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4298 esac
4299 done
4300 rm -f $ac_rmfiles
4302 if { { ac_try="$ac_link_default"
4303 case "(($ac_try" in
4304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4305 *) ac_try_echo=$ac_try;;
4306 esac
4307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4308 $as_echo "$ac_try_echo"; } >&5
4309 (eval "$ac_link_default") 2>&5
4310 ac_status=$?
4311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4312 test $ac_status = 0; }; then :
4313 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4314 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4315 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4316 # so that the user can short-circuit this test for compilers unknown to
4317 # Autoconf.
4318 for ac_file in $ac_files ''
4320 test -f "$ac_file" || continue
4321 case $ac_file in
4322 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4324 [ab].out )
4325 # We found the default executable, but exeext='' is most
4326 # certainly right.
4327 break;;
4328 *.* )
4329 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4330 then :; else
4331 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4333 # We set ac_cv_exeext here because the later test for it is not
4334 # safe: cross compilers may not add the suffix if given an `-o'
4335 # argument, so we may need to know it at that point already.
4336 # Even if this section looks crufty: it has the advantage of
4337 # actually working.
4338 break;;
4340 break;;
4341 esac
4342 done
4343 test "$ac_cv_exeext" = no && ac_cv_exeext=
4345 else
4346 ac_file=''
4348 if test -z "$ac_file"; then :
4349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4350 $as_echo "no" >&6; }
4351 $as_echo "$as_me: failed program was:" >&5
4352 sed 's/^/| /' conftest.$ac_ext >&5
4354 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4355 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4356 as_fn_error 77 "C compiler cannot create executables
4357 See \`config.log' for more details" "$LINENO" 5; }
4358 else
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4360 $as_echo "yes" >&6; }
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4363 $as_echo_n "checking for C compiler default output file name... " >&6; }
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4365 $as_echo "$ac_file" >&6; }
4366 ac_exeext=$ac_cv_exeext
4368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4369 ac_clean_files=$ac_clean_files_save
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4371 $as_echo_n "checking for suffix of executables... " >&6; }
4372 if { { ac_try="$ac_link"
4373 case "(($ac_try" in
4374 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4375 *) ac_try_echo=$ac_try;;
4376 esac
4377 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4378 $as_echo "$ac_try_echo"; } >&5
4379 (eval "$ac_link") 2>&5
4380 ac_status=$?
4381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4382 test $ac_status = 0; }; then :
4383 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4384 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4385 # work properly (i.e., refer to `conftest.exe'), while it won't with
4386 # `rm'.
4387 for ac_file in conftest.exe conftest conftest.*; do
4388 test -f "$ac_file" || continue
4389 case $ac_file in
4390 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4391 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4392 break;;
4393 * ) break;;
4394 esac
4395 done
4396 else
4397 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4398 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4399 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4400 See \`config.log' for more details" "$LINENO" 5; }
4402 rm -f conftest conftest$ac_cv_exeext
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4404 $as_echo "$ac_cv_exeext" >&6; }
4406 rm -f conftest.$ac_ext
4407 EXEEXT=$ac_cv_exeext
4408 ac_exeext=$EXEEXT
4409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4410 /* end confdefs.h. */
4411 #include <stdio.h>
4413 main ()
4415 FILE *f = fopen ("conftest.out", "w");
4416 return ferror (f) || fclose (f) != 0;
4419 return 0;
4421 _ACEOF
4422 ac_clean_files="$ac_clean_files conftest.out"
4423 # Check that the compiler produces executables we can run. If not, either
4424 # the compiler is broken, or we cross compile.
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4426 $as_echo_n "checking whether we are cross compiling... " >&6; }
4427 if test "$cross_compiling" != yes; then
4428 { { ac_try="$ac_link"
4429 case "(($ac_try" in
4430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4431 *) ac_try_echo=$ac_try;;
4432 esac
4433 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4434 $as_echo "$ac_try_echo"; } >&5
4435 (eval "$ac_link") 2>&5
4436 ac_status=$?
4437 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4438 test $ac_status = 0; }
4439 if { ac_try='./conftest$ac_cv_exeext'
4440 { { case "(($ac_try" in
4441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4442 *) ac_try_echo=$ac_try;;
4443 esac
4444 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4445 $as_echo "$ac_try_echo"; } >&5
4446 (eval "$ac_try") 2>&5
4447 ac_status=$?
4448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4449 test $ac_status = 0; }; }; then
4450 cross_compiling=no
4451 else
4452 if test "$cross_compiling" = maybe; then
4453 cross_compiling=yes
4454 else
4455 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4456 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4457 as_fn_error $? "cannot run C compiled programs.
4458 If you meant to cross compile, use \`--host'.
4459 See \`config.log' for more details" "$LINENO" 5; }
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4464 $as_echo "$cross_compiling" >&6; }
4466 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4467 ac_clean_files=$ac_clean_files_save
4469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4470 $as_echo_n "checking for suffix of object files... " >&6; }
4471 if ${ac_cv_objext+:} false; then :
4472 $as_echo_n "(cached) " >&6
4473 else
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4478 main ()
4482 return 0;
4484 _ACEOF
4485 rm -f conftest.o conftest.obj
4486 if { { ac_try="$ac_compile"
4487 case "(($ac_try" in
4488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4489 *) ac_try_echo=$ac_try;;
4490 esac
4491 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4492 $as_echo "$ac_try_echo"; } >&5
4493 (eval "$ac_compile") 2>&5
4494 ac_status=$?
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }; then :
4497 for ac_file in conftest.o conftest.obj conftest.*; do
4498 test -f "$ac_file" || continue;
4499 case $ac_file in
4500 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4501 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4502 break;;
4503 esac
4504 done
4505 else
4506 $as_echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4509 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4511 as_fn_error $? "cannot compute suffix of object files: cannot compile
4512 See \`config.log' for more details" "$LINENO" 5; }
4514 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4517 $as_echo "$ac_cv_objext" >&6; }
4518 OBJEXT=$ac_cv_objext
4519 ac_objext=$OBJEXT
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4521 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4522 if ${ac_cv_c_compiler_gnu+:} false; then :
4523 $as_echo_n "(cached) " >&6
4524 else
4525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4526 /* end confdefs.h. */
4529 main ()
4531 #ifndef __GNUC__
4532 choke me
4533 #endif
4536 return 0;
4538 _ACEOF
4539 if ac_fn_c_try_compile "$LINENO"; then :
4540 ac_compiler_gnu=yes
4541 else
4542 ac_compiler_gnu=no
4544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4545 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4549 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4550 if test $ac_compiler_gnu = yes; then
4551 GCC=yes
4552 else
4553 GCC=
4555 ac_test_CFLAGS=${CFLAGS+set}
4556 ac_save_CFLAGS=$CFLAGS
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4558 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4559 if ${ac_cv_prog_cc_g+:} false; then :
4560 $as_echo_n "(cached) " >&6
4561 else
4562 ac_save_c_werror_flag=$ac_c_werror_flag
4563 ac_c_werror_flag=yes
4564 ac_cv_prog_cc_g=no
4565 CFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4570 main ()
4574 return 0;
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_cv_prog_cc_g=yes
4579 else
4580 CFLAGS=""
4581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4582 /* end confdefs.h. */
4585 main ()
4589 return 0;
4591 _ACEOF
4592 if ac_fn_c_try_compile "$LINENO"; then :
4594 else
4595 ac_c_werror_flag=$ac_save_c_werror_flag
4596 CFLAGS="-g"
4597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4598 /* end confdefs.h. */
4601 main ()
4605 return 0;
4607 _ACEOF
4608 if ac_fn_c_try_compile "$LINENO"; then :
4609 ac_cv_prog_cc_g=yes
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4616 ac_c_werror_flag=$ac_save_c_werror_flag
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4619 $as_echo "$ac_cv_prog_cc_g" >&6; }
4620 if test "$ac_test_CFLAGS" = set; then
4621 CFLAGS=$ac_save_CFLAGS
4622 elif test $ac_cv_prog_cc_g = yes; then
4623 if test "$GCC" = yes; then
4624 CFLAGS="-g -O2"
4625 else
4626 CFLAGS="-g"
4628 else
4629 if test "$GCC" = yes; then
4630 CFLAGS="-O2"
4631 else
4632 CFLAGS=
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4636 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4637 if ${ac_cv_prog_cc_c89+:} false; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 ac_cv_prog_cc_c89=no
4641 ac_save_CC=$CC
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4644 #include <stdarg.h>
4645 #include <stdio.h>
4646 struct stat;
4647 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4648 struct buf { int x; };
4649 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4650 static char *e (p, i)
4651 char **p;
4652 int i;
4654 return p[i];
4656 static char *f (char * (*g) (char **, int), char **p, ...)
4658 char *s;
4659 va_list v;
4660 va_start (v,p);
4661 s = g (p, va_arg (v,int));
4662 va_end (v);
4663 return s;
4666 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4667 function prototypes and stuff, but not '\xHH' hex character constants.
4668 These don't provoke an error unfortunately, instead are silently treated
4669 as 'x'. The following induces an error, until -std is added to get
4670 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4671 array size at least. It's necessary to write '\x00'==0 to get something
4672 that's true only with -std. */
4673 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4675 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4676 inside strings and character constants. */
4677 #define FOO(x) 'x'
4678 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4680 int test (int i, double x);
4681 struct s1 {int (*f) (int a);};
4682 struct s2 {int (*f) (double a);};
4683 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4684 int argc;
4685 char **argv;
4687 main ()
4689 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4691 return 0;
4693 _ACEOF
4694 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4695 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4697 CC="$ac_save_CC $ac_arg"
4698 if ac_fn_c_try_compile "$LINENO"; then :
4699 ac_cv_prog_cc_c89=$ac_arg
4701 rm -f core conftest.err conftest.$ac_objext
4702 test "x$ac_cv_prog_cc_c89" != "xno" && break
4703 done
4704 rm -f conftest.$ac_ext
4705 CC=$ac_save_CC
4708 # AC_CACHE_VAL
4709 case "x$ac_cv_prog_cc_c89" in
4711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4712 $as_echo "none needed" >&6; } ;;
4713 xno)
4714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4715 $as_echo "unsupported" >&6; } ;;
4717 CC="$CC $ac_cv_prog_cc_c89"
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4719 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4720 esac
4721 if test "x$ac_cv_prog_cc_c89" != xno; then :
4725 ac_ext=c
4726 ac_cpp='$CPP $CPPFLAGS'
4727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4731 ac_ext=c
4732 ac_cpp='$CPP $CPPFLAGS'
4733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4737 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4738 if ${am_cv_prog_cc_c_o+:} false; then :
4739 $as_echo_n "(cached) " >&6
4740 else
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4745 main ()
4749 return 0;
4751 _ACEOF
4752 # Make sure it works both with $CC and with simple cc.
4753 # Following AC_PROG_CC_C_O, we do the test twice because some
4754 # compilers refuse to overwrite an existing .o file with -o,
4755 # though they will create one.
4756 am_cv_prog_cc_c_o=yes
4757 for am_i in 1 2; do
4758 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4759 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4760 ac_status=$?
4761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4762 (exit $ac_status); } \
4763 && test -f conftest2.$ac_objext; then
4764 : OK
4765 else
4766 am_cv_prog_cc_c_o=no
4767 break
4769 done
4770 rm -f core conftest*
4771 unset am_i
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4774 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4775 if test "$am_cv_prog_cc_c_o" != yes; then
4776 # Losing compiler, so override with the script.
4777 # FIXME: It is wrong to rewrite CC.
4778 # But if we don't then we get into trouble of one sort or another.
4779 # A longer-term fix would be to have automake use am__CC in this case,
4780 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4781 CC="$am_aux_dir/compile $CC"
4783 ac_ext=c
4784 ac_cpp='$CPP $CPPFLAGS'
4785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4790 ac_ext=cpp
4791 ac_cpp='$CXXCPP $CPPFLAGS'
4792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4795 if test -z "$CXX"; then
4796 if test -n "$CCC"; then
4797 CXX=$CCC
4798 else
4799 if test -n "$ac_tool_prefix"; then
4800 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4802 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4803 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4805 $as_echo_n "checking for $ac_word... " >&6; }
4806 if ${ac_cv_prog_CXX+:} false; then :
4807 $as_echo_n "(cached) " >&6
4808 else
4809 if test -n "$CXX"; then
4810 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4811 else
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_exec_ext in '' $ac_executable_extensions; do
4818 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4819 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4821 break 2
4823 done
4824 done
4825 IFS=$as_save_IFS
4829 CXX=$ac_cv_prog_CXX
4830 if test -n "$CXX"; then
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4832 $as_echo "$CXX" >&6; }
4833 else
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4835 $as_echo "no" >&6; }
4839 test -n "$CXX" && break
4840 done
4842 if test -z "$CXX"; then
4843 ac_ct_CXX=$CXX
4844 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4846 # Extract the first word of "$ac_prog", so it can be a program name with args.
4847 set dummy $ac_prog; ac_word=$2
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4849 $as_echo_n "checking for $ac_word... " >&6; }
4850 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4851 $as_echo_n "(cached) " >&6
4852 else
4853 if test -n "$ac_ct_CXX"; then
4854 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4855 else
4856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4857 for as_dir in $PATH
4859 IFS=$as_save_IFS
4860 test -z "$as_dir" && as_dir=.
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_ac_ct_CXX="$ac_prog"
4864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4865 break 2
4867 done
4868 done
4869 IFS=$as_save_IFS
4873 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4874 if test -n "$ac_ct_CXX"; then
4875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4876 $as_echo "$ac_ct_CXX" >&6; }
4877 else
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 $as_echo "no" >&6; }
4883 test -n "$ac_ct_CXX" && break
4884 done
4886 if test "x$ac_ct_CXX" = x; then
4887 CXX="g++"
4888 else
4889 case $cross_compiling:$ac_tool_warned in
4890 yes:)
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4892 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4893 ac_tool_warned=yes ;;
4894 esac
4895 CXX=$ac_ct_CXX
4901 # Provide some information about the compiler.
4902 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4903 set X $ac_compile
4904 ac_compiler=$2
4905 for ac_option in --version -v -V -qversion; do
4906 { { ac_try="$ac_compiler $ac_option >&5"
4907 case "(($ac_try" in
4908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4909 *) ac_try_echo=$ac_try;;
4910 esac
4911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4912 $as_echo "$ac_try_echo"; } >&5
4913 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4914 ac_status=$?
4915 if test -s conftest.err; then
4916 sed '10a\
4917 ... rest of stderr output deleted ...
4918 10q' conftest.err >conftest.er1
4919 cat conftest.er1 >&5
4921 rm -f conftest.er1 conftest.err
4922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4923 test $ac_status = 0; }
4924 done
4926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4927 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4928 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4929 $as_echo_n "(cached) " >&6
4930 else
4931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4932 /* end confdefs.h. */
4935 main ()
4937 #ifndef __GNUC__
4938 choke me
4939 #endif
4942 return 0;
4944 _ACEOF
4945 if ac_fn_cxx_try_compile "$LINENO"; then :
4946 ac_compiler_gnu=yes
4947 else
4948 ac_compiler_gnu=no
4950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4951 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4955 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4956 if test $ac_compiler_gnu = yes; then
4957 GXX=yes
4958 else
4959 GXX=
4961 ac_test_CXXFLAGS=${CXXFLAGS+set}
4962 ac_save_CXXFLAGS=$CXXFLAGS
4963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4964 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4965 if ${ac_cv_prog_cxx_g+:} false; then :
4966 $as_echo_n "(cached) " >&6
4967 else
4968 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4969 ac_cxx_werror_flag=yes
4970 ac_cv_prog_cxx_g=no
4971 CXXFLAGS="-g"
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4976 main ()
4980 return 0;
4982 _ACEOF
4983 if ac_fn_cxx_try_compile "$LINENO"; then :
4984 ac_cv_prog_cxx_g=yes
4985 else
4986 CXXFLAGS=""
4987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4988 /* end confdefs.h. */
4991 main ()
4995 return 0;
4997 _ACEOF
4998 if ac_fn_cxx_try_compile "$LINENO"; then :
5000 else
5001 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5002 CXXFLAGS="-g"
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5011 return 0;
5013 _ACEOF
5014 if ac_fn_cxx_try_compile "$LINENO"; then :
5015 ac_cv_prog_cxx_g=yes
5017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5022 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5025 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5026 if test "$ac_test_CXXFLAGS" = set; then
5027 CXXFLAGS=$ac_save_CXXFLAGS
5028 elif test $ac_cv_prog_cxx_g = yes; then
5029 if test "$GXX" = yes; then
5030 CXXFLAGS="-g -O2"
5031 else
5032 CXXFLAGS="-g"
5034 else
5035 if test "$GXX" = yes; then
5036 CXXFLAGS="-O2"
5037 else
5038 CXXFLAGS=
5041 ac_ext=c
5042 ac_cpp='$CPP $CPPFLAGS'
5043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5047 CXXFLAGS="$save_CXXFLAGS"
5050 # Check whether --enable-largefile was given.
5051 if test "${enable_largefile+set}" = set; then :
5052 enableval=$enable_largefile;
5055 if test "$enable_largefile" != no; then
5057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5058 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5059 if ${ac_cv_sys_largefile_CC+:} false; then :
5060 $as_echo_n "(cached) " >&6
5061 else
5062 ac_cv_sys_largefile_CC=no
5063 if test "$GCC" != yes; then
5064 ac_save_CC=$CC
5065 while :; do
5066 # IRIX 6.2 and later do not support large files by default,
5067 # so use the C compiler's -n32 option if that helps.
5068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5069 /* end confdefs.h. */
5070 #include <sys/types.h>
5071 /* Check that off_t can represent 2**63 - 1 correctly.
5072 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5073 since some C++ compilers masquerading as C compilers
5074 incorrectly reject 9223372036854775807. */
5075 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5076 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5077 && LARGE_OFF_T % 2147483647 == 1)
5078 ? 1 : -1];
5080 main ()
5084 return 0;
5086 _ACEOF
5087 if ac_fn_c_try_compile "$LINENO"; then :
5088 break
5090 rm -f core conftest.err conftest.$ac_objext
5091 CC="$CC -n32"
5092 if ac_fn_c_try_compile "$LINENO"; then :
5093 ac_cv_sys_largefile_CC=' -n32'; break
5095 rm -f core conftest.err conftest.$ac_objext
5096 break
5097 done
5098 CC=$ac_save_CC
5099 rm -f conftest.$ac_ext
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5103 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5104 if test "$ac_cv_sys_largefile_CC" != no; then
5105 CC=$CC$ac_cv_sys_largefile_CC
5108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5109 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5110 if ${ac_cv_sys_file_offset_bits+:} false; then :
5111 $as_echo_n "(cached) " >&6
5112 else
5113 while :; do
5114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5115 /* end confdefs.h. */
5116 #include <sys/types.h>
5117 /* Check that off_t can represent 2**63 - 1 correctly.
5118 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5119 since some C++ compilers masquerading as C compilers
5120 incorrectly reject 9223372036854775807. */
5121 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5122 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5123 && LARGE_OFF_T % 2147483647 == 1)
5124 ? 1 : -1];
5126 main ()
5130 return 0;
5132 _ACEOF
5133 if ac_fn_c_try_compile "$LINENO"; then :
5134 ac_cv_sys_file_offset_bits=no; break
5136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5138 /* end confdefs.h. */
5139 #define _FILE_OFFSET_BITS 64
5140 #include <sys/types.h>
5141 /* Check that off_t can represent 2**63 - 1 correctly.
5142 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5143 since some C++ compilers masquerading as C compilers
5144 incorrectly reject 9223372036854775807. */
5145 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5146 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5147 && LARGE_OFF_T % 2147483647 == 1)
5148 ? 1 : -1];
5150 main ()
5154 return 0;
5156 _ACEOF
5157 if ac_fn_c_try_compile "$LINENO"; then :
5158 ac_cv_sys_file_offset_bits=64; break
5160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5161 ac_cv_sys_file_offset_bits=unknown
5162 break
5163 done
5165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5166 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5167 case $ac_cv_sys_file_offset_bits in #(
5168 no | unknown) ;;
5170 cat >>confdefs.h <<_ACEOF
5171 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5172 _ACEOF
5174 esac
5175 rm -rf conftest*
5176 if test $ac_cv_sys_file_offset_bits = unknown; then
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5178 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5179 if ${ac_cv_sys_large_files+:} false; then :
5180 $as_echo_n "(cached) " >&6
5181 else
5182 while :; do
5183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5184 /* end confdefs.h. */
5185 #include <sys/types.h>
5186 /* Check that off_t can represent 2**63 - 1 correctly.
5187 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5188 since some C++ compilers masquerading as C compilers
5189 incorrectly reject 9223372036854775807. */
5190 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5191 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5192 && LARGE_OFF_T % 2147483647 == 1)
5193 ? 1 : -1];
5195 main ()
5199 return 0;
5201 _ACEOF
5202 if ac_fn_c_try_compile "$LINENO"; then :
5203 ac_cv_sys_large_files=no; break
5205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5207 /* end confdefs.h. */
5208 #define _LARGE_FILES 1
5209 #include <sys/types.h>
5210 /* Check that off_t can represent 2**63 - 1 correctly.
5211 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5212 since some C++ compilers masquerading as C compilers
5213 incorrectly reject 9223372036854775807. */
5214 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5215 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5216 && LARGE_OFF_T % 2147483647 == 1)
5217 ? 1 : -1];
5219 main ()
5223 return 0;
5225 _ACEOF
5226 if ac_fn_c_try_compile "$LINENO"; then :
5227 ac_cv_sys_large_files=1; break
5229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5230 ac_cv_sys_large_files=unknown
5231 break
5232 done
5234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5235 $as_echo "$ac_cv_sys_large_files" >&6; }
5236 case $ac_cv_sys_large_files in #(
5237 no | unknown) ;;
5239 cat >>confdefs.h <<_ACEOF
5240 #define _LARGE_FILES $ac_cv_sys_large_files
5241 _ACEOF
5243 esac
5244 rm -rf conftest*
5251 # Runs configure.host, and assorted other critical bits. Sets
5252 # up critical shell variables.
5253 ac_ext=c
5254 ac_cpp='$CPP $CPPFLAGS'
5255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5259 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5260 # On Suns, sometimes $CPP names a directory.
5261 if test -n "$CPP" && test -d "$CPP"; then
5262 CPP=
5264 if test -z "$CPP"; then
5265 if ${ac_cv_prog_CPP+:} false; then :
5266 $as_echo_n "(cached) " >&6
5267 else
5268 # Double quotes because CPP needs to be expanded
5269 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5271 ac_preproc_ok=false
5272 for ac_c_preproc_warn_flag in '' yes
5274 # Use a header file that comes with gcc, so configuring glibc
5275 # with a fresh cross-compiler works.
5276 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5277 # <limits.h> exists even on freestanding compilers.
5278 # On the NeXT, cc -E runs the code through the compiler's parser,
5279 # not just through cpp. "Syntax error" is here to catch this case.
5280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5281 /* end confdefs.h. */
5282 #ifdef __STDC__
5283 # include <limits.h>
5284 #else
5285 # include <assert.h>
5286 #endif
5287 Syntax error
5288 _ACEOF
5289 if ac_fn_c_try_cpp "$LINENO"; then :
5291 else
5292 # Broken: fails on valid input.
5293 continue
5295 rm -f conftest.err conftest.i conftest.$ac_ext
5297 # OK, works on sane cases. Now check whether nonexistent headers
5298 # can be detected and how.
5299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300 /* end confdefs.h. */
5301 #include <ac_nonexistent.h>
5302 _ACEOF
5303 if ac_fn_c_try_cpp "$LINENO"; then :
5304 # Broken: success on invalid input.
5305 continue
5306 else
5307 # Passes both tests.
5308 ac_preproc_ok=:
5309 break
5311 rm -f conftest.err conftest.i conftest.$ac_ext
5313 done
5314 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5315 rm -f conftest.i conftest.err conftest.$ac_ext
5316 if $ac_preproc_ok; then :
5317 break
5320 done
5321 ac_cv_prog_CPP=$CPP
5324 CPP=$ac_cv_prog_CPP
5325 else
5326 ac_cv_prog_CPP=$CPP
5328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5329 $as_echo "$CPP" >&6; }
5330 ac_preproc_ok=false
5331 for ac_c_preproc_warn_flag in '' yes
5333 # Use a header file that comes with gcc, so configuring glibc
5334 # with a fresh cross-compiler works.
5335 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5336 # <limits.h> exists even on freestanding compilers.
5337 # On the NeXT, cc -E runs the code through the compiler's parser,
5338 # not just through cpp. "Syntax error" is here to catch this case.
5339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5340 /* end confdefs.h. */
5341 #ifdef __STDC__
5342 # include <limits.h>
5343 #else
5344 # include <assert.h>
5345 #endif
5346 Syntax error
5347 _ACEOF
5348 if ac_fn_c_try_cpp "$LINENO"; then :
5350 else
5351 # Broken: fails on valid input.
5352 continue
5354 rm -f conftest.err conftest.i conftest.$ac_ext
5356 # OK, works on sane cases. Now check whether nonexistent headers
5357 # can be detected and how.
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5360 #include <ac_nonexistent.h>
5361 _ACEOF
5362 if ac_fn_c_try_cpp "$LINENO"; then :
5363 # Broken: success on invalid input.
5364 continue
5365 else
5366 # Passes both tests.
5367 ac_preproc_ok=:
5368 break
5370 rm -f conftest.err conftest.i conftest.$ac_ext
5372 done
5373 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5374 rm -f conftest.i conftest.err conftest.$ac_ext
5375 if $ac_preproc_ok; then :
5377 else
5378 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5379 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5380 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5381 See \`config.log' for more details" "$LINENO" 5; }
5384 ac_ext=c
5385 ac_cpp='$CPP $CPPFLAGS'
5386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5392 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5393 if ${ac_cv_path_GREP+:} false; then :
5394 $as_echo_n "(cached) " >&6
5395 else
5396 if test -z "$GREP"; then
5397 ac_path_GREP_found=false
5398 # Loop through the user's path and test for each of PROGNAME-LIST
5399 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5400 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5402 IFS=$as_save_IFS
5403 test -z "$as_dir" && as_dir=.
5404 for ac_prog in grep ggrep; do
5405 for ac_exec_ext in '' $ac_executable_extensions; do
5406 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5407 as_fn_executable_p "$ac_path_GREP" || continue
5408 # Check for GNU ac_path_GREP and select it if it is found.
5409 # Check for GNU $ac_path_GREP
5410 case `"$ac_path_GREP" --version 2>&1` in
5411 *GNU*)
5412 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5414 ac_count=0
5415 $as_echo_n 0123456789 >"conftest.in"
5416 while :
5418 cat "conftest.in" "conftest.in" >"conftest.tmp"
5419 mv "conftest.tmp" "conftest.in"
5420 cp "conftest.in" "conftest.nl"
5421 $as_echo 'GREP' >> "conftest.nl"
5422 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5423 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5424 as_fn_arith $ac_count + 1 && ac_count=$as_val
5425 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5426 # Best one so far, save it but keep looking for a better one
5427 ac_cv_path_GREP="$ac_path_GREP"
5428 ac_path_GREP_max=$ac_count
5430 # 10*(2^10) chars as input seems more than enough
5431 test $ac_count -gt 10 && break
5432 done
5433 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5434 esac
5436 $ac_path_GREP_found && break 3
5437 done
5438 done
5439 done
5440 IFS=$as_save_IFS
5441 if test -z "$ac_cv_path_GREP"; then
5442 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5444 else
5445 ac_cv_path_GREP=$GREP
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5450 $as_echo "$ac_cv_path_GREP" >&6; }
5451 GREP="$ac_cv_path_GREP"
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5455 $as_echo_n "checking for egrep... " >&6; }
5456 if ${ac_cv_path_EGREP+:} false; then :
5457 $as_echo_n "(cached) " >&6
5458 else
5459 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5460 then ac_cv_path_EGREP="$GREP -E"
5461 else
5462 if test -z "$EGREP"; then
5463 ac_path_EGREP_found=false
5464 # Loop through the user's path and test for each of PROGNAME-LIST
5465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5468 IFS=$as_save_IFS
5469 test -z "$as_dir" && as_dir=.
5470 for ac_prog in egrep; do
5471 for ac_exec_ext in '' $ac_executable_extensions; do
5472 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5473 as_fn_executable_p "$ac_path_EGREP" || continue
5474 # Check for GNU ac_path_EGREP and select it if it is found.
5475 # Check for GNU $ac_path_EGREP
5476 case `"$ac_path_EGREP" --version 2>&1` in
5477 *GNU*)
5478 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5480 ac_count=0
5481 $as_echo_n 0123456789 >"conftest.in"
5482 while :
5484 cat "conftest.in" "conftest.in" >"conftest.tmp"
5485 mv "conftest.tmp" "conftest.in"
5486 cp "conftest.in" "conftest.nl"
5487 $as_echo 'EGREP' >> "conftest.nl"
5488 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5490 as_fn_arith $ac_count + 1 && ac_count=$as_val
5491 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5492 # Best one so far, save it but keep looking for a better one
5493 ac_cv_path_EGREP="$ac_path_EGREP"
5494 ac_path_EGREP_max=$ac_count
5496 # 10*(2^10) chars as input seems more than enough
5497 test $ac_count -gt 10 && break
5498 done
5499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5500 esac
5502 $ac_path_EGREP_found && break 3
5503 done
5504 done
5505 done
5506 IFS=$as_save_IFS
5507 if test -z "$ac_cv_path_EGREP"; then
5508 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5510 else
5511 ac_cv_path_EGREP=$EGREP
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5517 $as_echo "$ac_cv_path_EGREP" >&6; }
5518 EGREP="$ac_cv_path_EGREP"
5522 # Keep these sync'd with the list in Makefile.am. The first provides an
5523 # expandable list at autoconf time; the second provides an expandable list
5524 # (i.e., shell variable) at configure time.
5526 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem src/libbacktrace src/experimental doc po testsuite python'
5528 # These need to be absolute paths, yet at the same time need to
5529 # canonicalize only relative paths, because then amd will not unmount
5530 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5531 glibcxx_builddir=`${PWDCMD-pwd}`
5532 case $srcdir in
5533 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5534 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5535 esac
5536 toplevel_builddir=${glibcxx_builddir}/..
5537 toplevel_srcdir=${glibcxx_srcdir}/..
5543 # We use these options to decide which functions to include. They are
5544 # set from the top level.
5546 # Check whether --with-target-subdir was given.
5547 if test "${with_target_subdir+set}" = set; then :
5548 withval=$with_target_subdir;
5553 # Check whether --with-cross-host was given.
5554 if test "${with_cross_host+set}" = set; then :
5555 withval=$with_cross_host;
5560 # Check whether --with-newlib was given.
5561 if test "${with_newlib+set}" = set; then :
5562 withval=$with_newlib;
5566 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5567 # available). Uncomment the next line to force a particular method.
5568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5569 $as_echo_n "checking whether ln -s works... " >&6; }
5570 LN_S=$as_ln_s
5571 if test "$LN_S" = "ln -s"; then
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5573 $as_echo "yes" >&6; }
5574 else
5575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5576 $as_echo "no, using $LN_S" >&6; }
5579 #LN_S='cp -p'
5581 if test -n "$ac_tool_prefix"; then
5582 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5583 set dummy ${ac_tool_prefix}as; ac_word=$2
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5585 $as_echo_n "checking for $ac_word... " >&6; }
5586 if ${ac_cv_prog_AS+:} false; then :
5587 $as_echo_n "(cached) " >&6
5588 else
5589 if test -n "$AS"; then
5590 ac_cv_prog_AS="$AS" # Let the user override the test.
5591 else
5592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5593 for as_dir in $PATH
5595 IFS=$as_save_IFS
5596 test -z "$as_dir" && as_dir=.
5597 for ac_exec_ext in '' $ac_executable_extensions; do
5598 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5599 ac_cv_prog_AS="${ac_tool_prefix}as"
5600 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5601 break 2
5603 done
5604 done
5605 IFS=$as_save_IFS
5609 AS=$ac_cv_prog_AS
5610 if test -n "$AS"; then
5611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5612 $as_echo "$AS" >&6; }
5613 else
5614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5615 $as_echo "no" >&6; }
5620 if test -z "$ac_cv_prog_AS"; then
5621 ac_ct_AS=$AS
5622 # Extract the first word of "as", so it can be a program name with args.
5623 set dummy as; ac_word=$2
5624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5625 $as_echo_n "checking for $ac_word... " >&6; }
5626 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5627 $as_echo_n "(cached) " >&6
5628 else
5629 if test -n "$ac_ct_AS"; then
5630 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5631 else
5632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5633 for as_dir in $PATH
5635 IFS=$as_save_IFS
5636 test -z "$as_dir" && as_dir=.
5637 for ac_exec_ext in '' $ac_executable_extensions; do
5638 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5639 ac_cv_prog_ac_ct_AS="as"
5640 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5641 break 2
5643 done
5644 done
5645 IFS=$as_save_IFS
5649 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5650 if test -n "$ac_ct_AS"; then
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5652 $as_echo "$ac_ct_AS" >&6; }
5653 else
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5655 $as_echo "no" >&6; }
5658 if test "x$ac_ct_AS" = x; then
5659 AS=""
5660 else
5661 case $cross_compiling:$ac_tool_warned in
5662 yes:)
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5664 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5665 ac_tool_warned=yes ;;
5666 esac
5667 AS=$ac_ct_AS
5669 else
5670 AS="$ac_cv_prog_AS"
5673 if test -n "$ac_tool_prefix"; then
5674 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5675 set dummy ${ac_tool_prefix}ar; ac_word=$2
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5677 $as_echo_n "checking for $ac_word... " >&6; }
5678 if ${ac_cv_prog_AR+:} false; then :
5679 $as_echo_n "(cached) " >&6
5680 else
5681 if test -n "$AR"; then
5682 ac_cv_prog_AR="$AR" # Let the user override the test.
5683 else
5684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5685 for as_dir in $PATH
5687 IFS=$as_save_IFS
5688 test -z "$as_dir" && as_dir=.
5689 for ac_exec_ext in '' $ac_executable_extensions; do
5690 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5691 ac_cv_prog_AR="${ac_tool_prefix}ar"
5692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5693 break 2
5695 done
5696 done
5697 IFS=$as_save_IFS
5701 AR=$ac_cv_prog_AR
5702 if test -n "$AR"; then
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5704 $as_echo "$AR" >&6; }
5705 else
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5707 $as_echo "no" >&6; }
5712 if test -z "$ac_cv_prog_AR"; then
5713 ac_ct_AR=$AR
5714 # Extract the first word of "ar", so it can be a program name with args.
5715 set dummy ar; ac_word=$2
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5717 $as_echo_n "checking for $ac_word... " >&6; }
5718 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5719 $as_echo_n "(cached) " >&6
5720 else
5721 if test -n "$ac_ct_AR"; then
5722 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5723 else
5724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5725 for as_dir in $PATH
5727 IFS=$as_save_IFS
5728 test -z "$as_dir" && as_dir=.
5729 for ac_exec_ext in '' $ac_executable_extensions; do
5730 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5731 ac_cv_prog_ac_ct_AR="ar"
5732 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5733 break 2
5735 done
5736 done
5737 IFS=$as_save_IFS
5741 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5742 if test -n "$ac_ct_AR"; then
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5744 $as_echo "$ac_ct_AR" >&6; }
5745 else
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5747 $as_echo "no" >&6; }
5750 if test "x$ac_ct_AR" = x; then
5751 AR=""
5752 else
5753 case $cross_compiling:$ac_tool_warned in
5754 yes:)
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5756 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5757 ac_tool_warned=yes ;;
5758 esac
5759 AR=$ac_ct_AR
5761 else
5762 AR="$ac_cv_prog_AR"
5765 if test -n "$ac_tool_prefix"; then
5766 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5767 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5769 $as_echo_n "checking for $ac_word... " >&6; }
5770 if ${ac_cv_prog_RANLIB+:} false; then :
5771 $as_echo_n "(cached) " >&6
5772 else
5773 if test -n "$RANLIB"; then
5774 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5775 else
5776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5777 for as_dir in $PATH
5779 IFS=$as_save_IFS
5780 test -z "$as_dir" && as_dir=.
5781 for ac_exec_ext in '' $ac_executable_extensions; do
5782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5783 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5785 break 2
5787 done
5788 done
5789 IFS=$as_save_IFS
5793 RANLIB=$ac_cv_prog_RANLIB
5794 if test -n "$RANLIB"; then
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5796 $as_echo "$RANLIB" >&6; }
5797 else
5798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5799 $as_echo "no" >&6; }
5804 if test -z "$ac_cv_prog_RANLIB"; then
5805 ac_ct_RANLIB=$RANLIB
5806 # Extract the first word of "ranlib", so it can be a program name with args.
5807 set dummy ranlib; ac_word=$2
5808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5809 $as_echo_n "checking for $ac_word... " >&6; }
5810 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5811 $as_echo_n "(cached) " >&6
5812 else
5813 if test -n "$ac_ct_RANLIB"; then
5814 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5815 else
5816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5817 for as_dir in $PATH
5819 IFS=$as_save_IFS
5820 test -z "$as_dir" && as_dir=.
5821 for ac_exec_ext in '' $ac_executable_extensions; do
5822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5823 ac_cv_prog_ac_ct_RANLIB="ranlib"
5824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5825 break 2
5827 done
5828 done
5829 IFS=$as_save_IFS
5833 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5834 if test -n "$ac_ct_RANLIB"; then
5835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5836 $as_echo "$ac_ct_RANLIB" >&6; }
5837 else
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5839 $as_echo "no" >&6; }
5842 if test "x$ac_ct_RANLIB" = x; then
5843 RANLIB="ranlib-not-found-in-path-error"
5844 else
5845 case $cross_compiling:$ac_tool_warned in
5846 yes:)
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5848 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5849 ac_tool_warned=yes ;;
5850 esac
5851 RANLIB=$ac_ct_RANLIB
5853 else
5854 RANLIB="$ac_cv_prog_RANLIB"
5859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5860 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5861 # Check whether --enable-maintainer-mode was given.
5862 if test "${enable_maintainer_mode+set}" = set; then :
5863 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5864 else
5865 USE_MAINTAINER_MODE=no
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5869 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5870 if test $USE_MAINTAINER_MODE = yes; then
5871 MAINTAINER_MODE_TRUE=
5872 MAINTAINER_MODE_FALSE='#'
5873 else
5874 MAINTAINER_MODE_TRUE='#'
5875 MAINTAINER_MODE_FALSE=
5878 MAINT=$MAINTAINER_MODE_TRUE
5882 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5883 # which are themselves conditionally expanded.
5884 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5885 ## other macros from doing the same. This should be automated.) -pme
5887 # Check for C library flavor since GNU/Linux platforms use different
5888 # configuration directories depending on the C library in use.
5889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5890 /* end confdefs.h. */
5892 #include <stdio.h>
5893 #if __UCLIBC__
5894 _using_uclibc
5895 #endif
5897 _ACEOF
5898 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5899 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5900 uclibc=yes
5901 else
5902 uclibc=no
5904 rm -f conftest*
5907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5908 /* end confdefs.h. */
5910 #include <stdio.h>
5911 #if __BIONIC__
5912 _using_bionic
5913 #endif
5915 _ACEOF
5916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5917 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5918 bionic=yes
5919 else
5920 bionic=no
5922 rm -f conftest*
5925 # Find platform-specific directories containing configuration info.
5926 # Also possibly modify flags used elsewhere, as needed by the platform.
5928 . $glibcxx_srcdir/configure.host
5929 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5930 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5932 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5936 # Libtool setup.
5937 if test "x${with_newlib}" != "xyes" &&
5938 test "x${with_avrlibc}" != "xyes" &&
5939 test "x$with_headers" != "xno"; then
5940 enable_dlopen=yes
5945 case `pwd` in
5946 *\ * | *\ *)
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5948 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5949 esac
5953 macro_version='2.2.7a'
5954 macro_revision='1.3134'
5968 ltmain="$ac_aux_dir/ltmain.sh"
5970 # Backslashify metacharacters that are still active within
5971 # double-quoted strings.
5972 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5974 # Same as above, but do not quote variable references.
5975 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5977 # Sed substitution to delay expansion of an escaped shell variable in a
5978 # double_quote_subst'ed string.
5979 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5981 # Sed substitution to delay expansion of an escaped single quote.
5982 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5984 # Sed substitution to avoid accidental globbing in evaled expressions
5985 no_glob_subst='s/\*/\\\*/g'
5987 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5988 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5989 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5992 $as_echo_n "checking how to print strings... " >&6; }
5993 # Test print first, because it will be a builtin if present.
5994 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5995 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5996 ECHO='print -r --'
5997 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5998 ECHO='printf %s\n'
5999 else
6000 # Use this function as a fallback that always works.
6001 func_fallback_echo ()
6003 eval 'cat <<_LTECHO_EOF
6005 _LTECHO_EOF'
6007 ECHO='func_fallback_echo'
6010 # func_echo_all arg...
6011 # Invoke $ECHO with all args, space-separated.
6012 func_echo_all ()
6014 $ECHO ""
6017 case "$ECHO" in
6018 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6019 $as_echo "printf" >&6; } ;;
6020 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6021 $as_echo "print -r" >&6; } ;;
6022 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6023 $as_echo "cat" >&6; } ;;
6024 esac
6039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6040 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6041 if ${ac_cv_path_SED+:} false; then :
6042 $as_echo_n "(cached) " >&6
6043 else
6044 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6045 for ac_i in 1 2 3 4 5 6 7; do
6046 ac_script="$ac_script$as_nl$ac_script"
6047 done
6048 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6049 { ac_script=; unset ac_script;}
6050 if test -z "$SED"; then
6051 ac_path_SED_found=false
6052 # Loop through the user's path and test for each of PROGNAME-LIST
6053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6054 for as_dir in $PATH
6056 IFS=$as_save_IFS
6057 test -z "$as_dir" && as_dir=.
6058 for ac_prog in sed gsed; do
6059 for ac_exec_ext in '' $ac_executable_extensions; do
6060 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6061 as_fn_executable_p "$ac_path_SED" || continue
6062 # Check for GNU ac_path_SED and select it if it is found.
6063 # Check for GNU $ac_path_SED
6064 case `"$ac_path_SED" --version 2>&1` in
6065 *GNU*)
6066 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6068 ac_count=0
6069 $as_echo_n 0123456789 >"conftest.in"
6070 while :
6072 cat "conftest.in" "conftest.in" >"conftest.tmp"
6073 mv "conftest.tmp" "conftest.in"
6074 cp "conftest.in" "conftest.nl"
6075 $as_echo '' >> "conftest.nl"
6076 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6077 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6078 as_fn_arith $ac_count + 1 && ac_count=$as_val
6079 if test $ac_count -gt ${ac_path_SED_max-0}; then
6080 # Best one so far, save it but keep looking for a better one
6081 ac_cv_path_SED="$ac_path_SED"
6082 ac_path_SED_max=$ac_count
6084 # 10*(2^10) chars as input seems more than enough
6085 test $ac_count -gt 10 && break
6086 done
6087 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6088 esac
6090 $ac_path_SED_found && break 3
6091 done
6092 done
6093 done
6094 IFS=$as_save_IFS
6095 if test -z "$ac_cv_path_SED"; then
6096 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6098 else
6099 ac_cv_path_SED=$SED
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6104 $as_echo "$ac_cv_path_SED" >&6; }
6105 SED="$ac_cv_path_SED"
6106 rm -f conftest.sed
6108 test -z "$SED" && SED=sed
6109 Xsed="$SED -e 1s/^X//"
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6122 $as_echo_n "checking for fgrep... " >&6; }
6123 if ${ac_cv_path_FGREP+:} false; then :
6124 $as_echo_n "(cached) " >&6
6125 else
6126 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6127 then ac_cv_path_FGREP="$GREP -F"
6128 else
6129 if test -z "$FGREP"; then
6130 ac_path_FGREP_found=false
6131 # Loop through the user's path and test for each of PROGNAME-LIST
6132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6133 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6135 IFS=$as_save_IFS
6136 test -z "$as_dir" && as_dir=.
6137 for ac_prog in fgrep; do
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6140 as_fn_executable_p "$ac_path_FGREP" || continue
6141 # Check for GNU ac_path_FGREP and select it if it is found.
6142 # Check for GNU $ac_path_FGREP
6143 case `"$ac_path_FGREP" --version 2>&1` in
6144 *GNU*)
6145 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6147 ac_count=0
6148 $as_echo_n 0123456789 >"conftest.in"
6149 while :
6151 cat "conftest.in" "conftest.in" >"conftest.tmp"
6152 mv "conftest.tmp" "conftest.in"
6153 cp "conftest.in" "conftest.nl"
6154 $as_echo 'FGREP' >> "conftest.nl"
6155 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6156 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6157 as_fn_arith $ac_count + 1 && ac_count=$as_val
6158 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6159 # Best one so far, save it but keep looking for a better one
6160 ac_cv_path_FGREP="$ac_path_FGREP"
6161 ac_path_FGREP_max=$ac_count
6163 # 10*(2^10) chars as input seems more than enough
6164 test $ac_count -gt 10 && break
6165 done
6166 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6167 esac
6169 $ac_path_FGREP_found && break 3
6170 done
6171 done
6172 done
6173 IFS=$as_save_IFS
6174 if test -z "$ac_cv_path_FGREP"; then
6175 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6177 else
6178 ac_cv_path_FGREP=$FGREP
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6184 $as_echo "$ac_cv_path_FGREP" >&6; }
6185 FGREP="$ac_cv_path_FGREP"
6188 test -z "$GREP" && GREP=grep
6208 # Check whether --with-gnu-ld was given.
6209 if test "${with_gnu_ld+set}" = set; then :
6210 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6211 else
6212 with_gnu_ld=no
6215 ac_prog=ld
6216 if test "$GCC" = yes; then
6217 # Check if gcc -print-prog-name=ld gives a path.
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6219 $as_echo_n "checking for ld used by $CC... " >&6; }
6220 case $host in
6221 *-*-mingw*)
6222 # gcc leaves a trailing carriage return which upsets mingw
6223 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6225 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6226 esac
6227 case $ac_prog in
6228 # Accept absolute paths.
6229 [\\/]* | ?:[\\/]*)
6230 re_direlt='/[^/][^/]*/\.\./'
6231 # Canonicalize the pathname of ld
6232 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6233 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6234 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6235 done
6236 test -z "$LD" && LD="$ac_prog"
6239 # If it fails, then pretend we aren't using GCC.
6240 ac_prog=ld
6243 # If it is relative, then search for the first ld in PATH.
6244 with_gnu_ld=unknown
6246 esac
6247 elif test "$with_gnu_ld" = yes; then
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6249 $as_echo_n "checking for GNU ld... " >&6; }
6250 else
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6252 $as_echo_n "checking for non-GNU ld... " >&6; }
6254 if ${lt_cv_path_LD+:} false; then :
6255 $as_echo_n "(cached) " >&6
6256 else
6257 if test -z "$LD"; then
6258 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6259 for ac_dir in $PATH; do
6260 IFS="$lt_save_ifs"
6261 test -z "$ac_dir" && ac_dir=.
6262 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6263 lt_cv_path_LD="$ac_dir/$ac_prog"
6264 # Check to see if the program is GNU ld. I'd rather use --version,
6265 # but apparently some variants of GNU ld only accept -v.
6266 # Break only if it was the GNU/non-GNU ld that we prefer.
6267 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6268 *GNU* | *'with BFD'*)
6269 test "$with_gnu_ld" != no && break
6272 test "$with_gnu_ld" != yes && break
6274 esac
6276 done
6277 IFS="$lt_save_ifs"
6278 else
6279 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6283 LD="$lt_cv_path_LD"
6284 if test -n "$LD"; then
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6286 $as_echo "$LD" >&6; }
6287 else
6288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6289 $as_echo "no" >&6; }
6291 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6293 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6294 if ${lt_cv_prog_gnu_ld+:} false; then :
6295 $as_echo_n "(cached) " >&6
6296 else
6297 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6298 case `$LD -v 2>&1 </dev/null` in
6299 *GNU* | *'with BFD'*)
6300 lt_cv_prog_gnu_ld=yes
6303 lt_cv_prog_gnu_ld=no
6305 esac
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6308 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6309 with_gnu_ld=$lt_cv_prog_gnu_ld
6319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6320 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6321 if ${lt_cv_path_NM+:} false; then :
6322 $as_echo_n "(cached) " >&6
6323 else
6324 if test -n "$NM"; then
6325 # Let the user override the test.
6326 lt_cv_path_NM="$NM"
6327 else
6328 lt_nm_to_check="${ac_tool_prefix}nm"
6329 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6330 lt_nm_to_check="$lt_nm_to_check nm"
6332 for lt_tmp_nm in $lt_nm_to_check; do
6333 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6334 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6335 IFS="$lt_save_ifs"
6336 test -z "$ac_dir" && ac_dir=.
6337 tmp_nm="$ac_dir/$lt_tmp_nm"
6338 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6339 # Check to see if the nm accepts a BSD-compat flag.
6340 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6341 # nm: unknown option "B" ignored
6342 # Tru64's nm complains that /dev/null is an invalid object file
6343 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6344 */dev/null* | *'Invalid file or object type'*)
6345 lt_cv_path_NM="$tmp_nm -B"
6346 break
6349 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6350 */dev/null*)
6351 lt_cv_path_NM="$tmp_nm -p"
6352 break
6355 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6356 continue # so that we can try to find one that supports BSD flags
6358 esac
6360 esac
6362 done
6363 IFS="$lt_save_ifs"
6364 done
6365 : ${lt_cv_path_NM=no}
6368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6369 $as_echo "$lt_cv_path_NM" >&6; }
6370 if test "$lt_cv_path_NM" != "no"; then
6371 NM="$lt_cv_path_NM"
6372 else
6373 # Didn't find any BSD compatible name lister, look for dumpbin.
6374 if test -n "$DUMPBIN"; then :
6375 # Let the user override the test.
6376 else
6377 if test -n "$ac_tool_prefix"; then
6378 for ac_prog in dumpbin "link -dump"
6380 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6381 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6383 $as_echo_n "checking for $ac_word... " >&6; }
6384 if ${ac_cv_prog_DUMPBIN+:} false; then :
6385 $as_echo_n "(cached) " >&6
6386 else
6387 if test -n "$DUMPBIN"; then
6388 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6389 else
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in $PATH
6393 IFS=$as_save_IFS
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6397 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6407 DUMPBIN=$ac_cv_prog_DUMPBIN
6408 if test -n "$DUMPBIN"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6410 $as_echo "$DUMPBIN" >&6; }
6411 else
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6417 test -n "$DUMPBIN" && break
6418 done
6420 if test -z "$DUMPBIN"; then
6421 ac_ct_DUMPBIN=$DUMPBIN
6422 for ac_prog in dumpbin "link -dump"
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy $ac_prog; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 if test -n "$ac_ct_DUMPBIN"; then
6432 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6451 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6452 if test -n "$ac_ct_DUMPBIN"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6454 $as_echo "$ac_ct_DUMPBIN" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6461 test -n "$ac_ct_DUMPBIN" && break
6462 done
6464 if test "x$ac_ct_DUMPBIN" = x; then
6465 DUMPBIN=":"
6466 else
6467 case $cross_compiling:$ac_tool_warned in
6468 yes:)
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6470 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6471 ac_tool_warned=yes ;;
6472 esac
6473 DUMPBIN=$ac_ct_DUMPBIN
6477 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6478 *COFF*)
6479 DUMPBIN="$DUMPBIN -symbols"
6482 DUMPBIN=:
6484 esac
6487 if test "$DUMPBIN" != ":"; then
6488 NM="$DUMPBIN"
6491 test -z "$NM" && NM=nm
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6499 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6500 if ${lt_cv_nm_interface+:} false; then :
6501 $as_echo_n "(cached) " >&6
6502 else
6503 lt_cv_nm_interface="BSD nm"
6504 echo "int some_variable = 0;" > conftest.$ac_ext
6505 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6506 (eval "$ac_compile" 2>conftest.err)
6507 cat conftest.err >&5
6508 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6509 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6510 cat conftest.err >&5
6511 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6512 cat conftest.out >&5
6513 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6514 lt_cv_nm_interface="MS dumpbin"
6516 rm -f conftest*
6518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6519 $as_echo "$lt_cv_nm_interface" >&6; }
6521 # find the maximum length of command line arguments
6522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6523 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6524 if ${lt_cv_sys_max_cmd_len+:} false; then :
6525 $as_echo_n "(cached) " >&6
6526 else
6528 teststring="ABCD"
6530 case $build_os in
6531 msdosdjgpp*)
6532 # On DJGPP, this test can blow up pretty badly due to problems in libc
6533 # (any single argument exceeding 2000 bytes causes a buffer overrun
6534 # during glob expansion). Even if it were fixed, the result of this
6535 # check would be larger than it should be.
6536 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6539 gnu*)
6540 # Under GNU Hurd, this test is not required because there is
6541 # no limit to the length of command line arguments.
6542 # Libtool will interpret -1 as no limit whatsoever
6543 lt_cv_sys_max_cmd_len=-1;
6546 cygwin* | mingw* | cegcc*)
6547 # On Win9x/ME, this test blows up -- it succeeds, but takes
6548 # about 5 minutes as the teststring grows exponentially.
6549 # Worse, since 9x/ME are not pre-emptively multitasking,
6550 # you end up with a "frozen" computer, even though with patience
6551 # the test eventually succeeds (with a max line length of 256k).
6552 # Instead, let's just punt: use the minimum linelength reported by
6553 # all of the supported platforms: 8192 (on NT/2K/XP).
6554 lt_cv_sys_max_cmd_len=8192;
6557 mint*)
6558 # On MiNT this can take a long time and run out of memory.
6559 lt_cv_sys_max_cmd_len=8192;
6562 amigaos*)
6563 # On AmigaOS with pdksh, this test takes hours, literally.
6564 # So we just punt and use a minimum line length of 8192.
6565 lt_cv_sys_max_cmd_len=8192;
6568 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6569 # This has been around since 386BSD, at least. Likely further.
6570 if test -x /sbin/sysctl; then
6571 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6572 elif test -x /usr/sbin/sysctl; then
6573 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6574 else
6575 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6577 # And add a safety zone
6578 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6579 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6582 interix*)
6583 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6584 lt_cv_sys_max_cmd_len=196608
6587 osf*)
6588 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6589 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6590 # nice to cause kernel panics so lets avoid the loop below.
6591 # First set a reasonable default.
6592 lt_cv_sys_max_cmd_len=16384
6594 if test -x /sbin/sysconfig; then
6595 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6596 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6597 esac
6600 sco3.2v5*)
6601 lt_cv_sys_max_cmd_len=102400
6603 sysv5* | sco5v6* | sysv4.2uw2*)
6604 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6605 if test -n "$kargmax"; then
6606 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6607 else
6608 lt_cv_sys_max_cmd_len=32768
6612 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6613 if test -n "$lt_cv_sys_max_cmd_len"; then
6614 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6615 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6616 else
6617 # Make teststring a little bigger before we do anything with it.
6618 # a 1K string should be a reasonable start.
6619 for i in 1 2 3 4 5 6 7 8 ; do
6620 teststring=$teststring$teststring
6621 done
6622 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6623 # If test is not a shell built-in, we'll probably end up computing a
6624 # maximum length that is only half of the actual maximum length, but
6625 # we can't tell.
6626 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6627 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6628 test $i != 17 # 1/2 MB should be enough
6630 i=`expr $i + 1`
6631 teststring=$teststring$teststring
6632 done
6633 # Only check the string length outside the loop.
6634 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6635 teststring=
6636 # Add a significant safety factor because C++ compilers can tack on
6637 # massive amounts of additional arguments before passing them to the
6638 # linker. It appears as though 1/2 is a usable value.
6639 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6642 esac
6646 if test -n $lt_cv_sys_max_cmd_len ; then
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6648 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6649 else
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6651 $as_echo "none" >&6; }
6653 max_cmd_len=$lt_cv_sys_max_cmd_len
6660 : ${CP="cp -f"}
6661 : ${MV="mv -f"}
6662 : ${RM="rm -f"}
6664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6665 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6666 # Try some XSI features
6667 xsi_shell=no
6668 ( _lt_dummy="a/b/c"
6669 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6670 = c,a/b,, \
6671 && eval 'test $(( 1 + 1 )) -eq 2 \
6672 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6673 && xsi_shell=yes
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6675 $as_echo "$xsi_shell" >&6; }
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6679 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6680 lt_shell_append=no
6681 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6682 >/dev/null 2>&1 \
6683 && lt_shell_append=yes
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6685 $as_echo "$lt_shell_append" >&6; }
6688 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6689 lt_unset=unset
6690 else
6691 lt_unset=false
6698 # test EBCDIC or ASCII
6699 case `echo X|tr X '\101'` in
6700 A) # ASCII based system
6701 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6702 lt_SP2NL='tr \040 \012'
6703 lt_NL2SP='tr \015\012 \040\040'
6705 *) # EBCDIC based system
6706 lt_SP2NL='tr \100 \n'
6707 lt_NL2SP='tr \r\n \100\100'
6709 esac
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6720 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6721 if ${lt_cv_ld_reload_flag+:} false; then :
6722 $as_echo_n "(cached) " >&6
6723 else
6724 lt_cv_ld_reload_flag='-r'
6726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6727 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6728 reload_flag=$lt_cv_ld_reload_flag
6729 case $reload_flag in
6730 "" | " "*) ;;
6731 *) reload_flag=" $reload_flag" ;;
6732 esac
6733 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6734 case $host_os in
6735 darwin*)
6736 if test "$GCC" = yes; then
6737 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6738 else
6739 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6742 esac
6752 if test -n "$ac_tool_prefix"; then
6753 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6754 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6756 $as_echo_n "checking for $ac_word... " >&6; }
6757 if ${ac_cv_prog_OBJDUMP+:} false; then :
6758 $as_echo_n "(cached) " >&6
6759 else
6760 if test -n "$OBJDUMP"; then
6761 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 test -z "$as_dir" && as_dir=.
6768 for ac_exec_ext in '' $ac_executable_extensions; do
6769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6770 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6772 break 2
6774 done
6775 done
6776 IFS=$as_save_IFS
6780 OBJDUMP=$ac_cv_prog_OBJDUMP
6781 if test -n "$OBJDUMP"; then
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6783 $as_echo "$OBJDUMP" >&6; }
6784 else
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6786 $as_echo "no" >&6; }
6791 if test -z "$ac_cv_prog_OBJDUMP"; then
6792 ac_ct_OBJDUMP=$OBJDUMP
6793 # Extract the first word of "objdump", so it can be a program name with args.
6794 set dummy objdump; ac_word=$2
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6796 $as_echo_n "checking for $ac_word... " >&6; }
6797 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6798 $as_echo_n "(cached) " >&6
6799 else
6800 if test -n "$ac_ct_OBJDUMP"; then
6801 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6802 else
6803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6804 for as_dir in $PATH
6806 IFS=$as_save_IFS
6807 test -z "$as_dir" && as_dir=.
6808 for ac_exec_ext in '' $ac_executable_extensions; do
6809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6810 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6812 break 2
6814 done
6815 done
6816 IFS=$as_save_IFS
6820 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6821 if test -n "$ac_ct_OBJDUMP"; then
6822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6823 $as_echo "$ac_ct_OBJDUMP" >&6; }
6824 else
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6826 $as_echo "no" >&6; }
6829 if test "x$ac_ct_OBJDUMP" = x; then
6830 OBJDUMP="false"
6831 else
6832 case $cross_compiling:$ac_tool_warned in
6833 yes:)
6834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6835 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6836 ac_tool_warned=yes ;;
6837 esac
6838 OBJDUMP=$ac_ct_OBJDUMP
6840 else
6841 OBJDUMP="$ac_cv_prog_OBJDUMP"
6844 test -z "$OBJDUMP" && OBJDUMP=objdump
6854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6855 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6856 if ${lt_cv_deplibs_check_method+:} false; then :
6857 $as_echo_n "(cached) " >&6
6858 else
6859 lt_cv_file_magic_cmd='$MAGIC_CMD'
6860 lt_cv_file_magic_test_file=
6861 lt_cv_deplibs_check_method='unknown'
6862 # Need to set the preceding variable on all platforms that support
6863 # interlibrary dependencies.
6864 # 'none' -- dependencies not supported.
6865 # `unknown' -- same as none, but documents that we really don't know.
6866 # 'pass_all' -- all dependencies passed with no checks.
6867 # 'test_compile' -- check by making test program.
6868 # 'file_magic [[regex]]' -- check by looking for files in library path
6869 # which responds to the $file_magic_cmd with a given extended regex.
6870 # If you have `file' or equivalent on your system and you're not sure
6871 # whether `pass_all' will *always* work, you probably want this one.
6873 case $host_os in
6874 aix[4-9]*)
6875 lt_cv_deplibs_check_method=pass_all
6878 beos*)
6879 lt_cv_deplibs_check_method=pass_all
6882 bsdi[45]*)
6883 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6884 lt_cv_file_magic_cmd='/usr/bin/file -L'
6885 lt_cv_file_magic_test_file=/shlib/libc.so
6888 cygwin*)
6889 # func_win32_libid is a shell function defined in ltmain.sh
6890 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6891 lt_cv_file_magic_cmd='func_win32_libid'
6894 mingw* | pw32*)
6895 # Base MSYS/MinGW do not provide the 'file' command needed by
6896 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6897 # unless we find 'file', for example because we are cross-compiling.
6898 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6899 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6900 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6901 lt_cv_file_magic_cmd='func_win32_libid'
6902 else
6903 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6904 lt_cv_file_magic_cmd='$OBJDUMP -f'
6908 cegcc*)
6909 # use the weaker test based on 'objdump'. See mingw*.
6910 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6911 lt_cv_file_magic_cmd='$OBJDUMP -f'
6914 darwin* | rhapsody*)
6915 lt_cv_deplibs_check_method=pass_all
6918 freebsd* | dragonfly*)
6919 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6920 case $host_cpu in
6921 i*86 )
6922 # Not sure whether the presence of OpenBSD here was a mistake.
6923 # Let's accept both of them until this is cleared up.
6924 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6925 lt_cv_file_magic_cmd=/usr/bin/file
6926 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6928 esac
6929 else
6930 lt_cv_deplibs_check_method=pass_all
6934 gnu*)
6935 lt_cv_deplibs_check_method=pass_all
6938 haiku*)
6939 lt_cv_deplibs_check_method=pass_all
6942 hpux10.20* | hpux11*)
6943 lt_cv_file_magic_cmd=/usr/bin/file
6944 case $host_cpu in
6945 ia64*)
6946 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6947 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6949 hppa*64*)
6950 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]'
6951 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6954 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6955 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6957 esac
6960 interix[3-9]*)
6961 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6962 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6965 irix5* | irix6* | nonstopux*)
6966 case $LD in
6967 *-32|*"-32 ") libmagic=32-bit;;
6968 *-n32|*"-n32 ") libmagic=N32;;
6969 *-64|*"-64 ") libmagic=64-bit;;
6970 *) libmagic=never-match;;
6971 esac
6972 lt_cv_deplibs_check_method=pass_all
6975 # This must be Linux ELF.
6976 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6977 lt_cv_deplibs_check_method=pass_all
6980 netbsd*)
6981 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6982 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6983 else
6984 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6988 newos6*)
6989 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6990 lt_cv_file_magic_cmd=/usr/bin/file
6991 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6994 *nto* | *qnx*)
6995 lt_cv_deplibs_check_method=pass_all
6998 openbsd*)
6999 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7000 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7001 else
7002 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7006 osf3* | osf4* | osf5*)
7007 lt_cv_deplibs_check_method=pass_all
7010 rdos*)
7011 lt_cv_deplibs_check_method=pass_all
7014 solaris*)
7015 lt_cv_deplibs_check_method=pass_all
7018 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7019 lt_cv_deplibs_check_method=pass_all
7022 sysv4 | sysv4.3*)
7023 case $host_vendor in
7024 motorola)
7025 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]'
7026 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7028 ncr)
7029 lt_cv_deplibs_check_method=pass_all
7031 sequent)
7032 lt_cv_file_magic_cmd='/bin/file'
7033 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7035 sni)
7036 lt_cv_file_magic_cmd='/bin/file'
7037 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7038 lt_cv_file_magic_test_file=/lib/libc.so
7040 siemens)
7041 lt_cv_deplibs_check_method=pass_all
7044 lt_cv_deplibs_check_method=pass_all
7046 esac
7049 tpf*)
7050 lt_cv_deplibs_check_method=pass_all
7052 vxworks*)
7053 # Assume VxWorks cross toolchains are built on Linux, possibly
7054 # as canadian for Windows hosts.
7055 lt_cv_deplibs_check_method=pass_all
7057 esac
7060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7061 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7062 file_magic_cmd=$lt_cv_file_magic_cmd
7063 deplibs_check_method=$lt_cv_deplibs_check_method
7064 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7077 if test -n "$ac_tool_prefix"; then
7078 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7079 set dummy ${ac_tool_prefix}ar; ac_word=$2
7080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7081 $as_echo_n "checking for $ac_word... " >&6; }
7082 if ${ac_cv_prog_AR+:} false; then :
7083 $as_echo_n "(cached) " >&6
7084 else
7085 if test -n "$AR"; then
7086 ac_cv_prog_AR="$AR" # Let the user override the test.
7087 else
7088 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7089 for as_dir in $PATH
7091 IFS=$as_save_IFS
7092 test -z "$as_dir" && as_dir=.
7093 for ac_exec_ext in '' $ac_executable_extensions; do
7094 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7095 ac_cv_prog_AR="${ac_tool_prefix}ar"
7096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7097 break 2
7099 done
7100 done
7101 IFS=$as_save_IFS
7105 AR=$ac_cv_prog_AR
7106 if test -n "$AR"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7108 $as_echo "$AR" >&6; }
7109 else
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7116 if test -z "$ac_cv_prog_AR"; then
7117 ac_ct_AR=$AR
7118 # Extract the first word of "ar", so it can be a program name with args.
7119 set dummy ar; ac_word=$2
7120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7121 $as_echo_n "checking for $ac_word... " >&6; }
7122 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7123 $as_echo_n "(cached) " >&6
7124 else
7125 if test -n "$ac_ct_AR"; then
7126 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7127 else
7128 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7129 for as_dir in $PATH
7131 IFS=$as_save_IFS
7132 test -z "$as_dir" && as_dir=.
7133 for ac_exec_ext in '' $ac_executable_extensions; do
7134 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7135 ac_cv_prog_ac_ct_AR="ar"
7136 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7137 break 2
7139 done
7140 done
7141 IFS=$as_save_IFS
7145 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7146 if test -n "$ac_ct_AR"; then
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7148 $as_echo "$ac_ct_AR" >&6; }
7149 else
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7151 $as_echo "no" >&6; }
7154 if test "x$ac_ct_AR" = x; then
7155 AR="false"
7156 else
7157 case $cross_compiling:$ac_tool_warned in
7158 yes:)
7159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7160 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7161 ac_tool_warned=yes ;;
7162 esac
7163 AR=$ac_ct_AR
7165 else
7166 AR="$ac_cv_prog_AR"
7169 test -z "$AR" && AR=ar
7170 test -z "$AR_FLAGS" && AR_FLAGS=cru
7182 if test -n "$ac_tool_prefix"; then
7183 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7184 set dummy ${ac_tool_prefix}strip; ac_word=$2
7185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7186 $as_echo_n "checking for $ac_word... " >&6; }
7187 if ${ac_cv_prog_STRIP+:} false; then :
7188 $as_echo_n "(cached) " >&6
7189 else
7190 if test -n "$STRIP"; then
7191 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7192 else
7193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7194 for as_dir in $PATH
7196 IFS=$as_save_IFS
7197 test -z "$as_dir" && as_dir=.
7198 for ac_exec_ext in '' $ac_executable_extensions; do
7199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7200 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7202 break 2
7204 done
7205 done
7206 IFS=$as_save_IFS
7210 STRIP=$ac_cv_prog_STRIP
7211 if test -n "$STRIP"; then
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7213 $as_echo "$STRIP" >&6; }
7214 else
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7216 $as_echo "no" >&6; }
7221 if test -z "$ac_cv_prog_STRIP"; then
7222 ac_ct_STRIP=$STRIP
7223 # Extract the first word of "strip", so it can be a program name with args.
7224 set dummy strip; ac_word=$2
7225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7226 $as_echo_n "checking for $ac_word... " >&6; }
7227 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7228 $as_echo_n "(cached) " >&6
7229 else
7230 if test -n "$ac_ct_STRIP"; then
7231 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7232 else
7233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7234 for as_dir in $PATH
7236 IFS=$as_save_IFS
7237 test -z "$as_dir" && as_dir=.
7238 for ac_exec_ext in '' $ac_executable_extensions; do
7239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7240 ac_cv_prog_ac_ct_STRIP="strip"
7241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7242 break 2
7244 done
7245 done
7246 IFS=$as_save_IFS
7250 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7251 if test -n "$ac_ct_STRIP"; then
7252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7253 $as_echo "$ac_ct_STRIP" >&6; }
7254 else
7255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7256 $as_echo "no" >&6; }
7259 if test "x$ac_ct_STRIP" = x; then
7260 STRIP=":"
7261 else
7262 case $cross_compiling:$ac_tool_warned in
7263 yes:)
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7266 ac_tool_warned=yes ;;
7267 esac
7268 STRIP=$ac_ct_STRIP
7270 else
7271 STRIP="$ac_cv_prog_STRIP"
7274 test -z "$STRIP" && STRIP=:
7281 if test -n "$ac_tool_prefix"; then
7282 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7283 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7285 $as_echo_n "checking for $ac_word... " >&6; }
7286 if ${ac_cv_prog_RANLIB+:} false; then :
7287 $as_echo_n "(cached) " >&6
7288 else
7289 if test -n "$RANLIB"; then
7290 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7291 else
7292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7293 for as_dir in $PATH
7295 IFS=$as_save_IFS
7296 test -z "$as_dir" && as_dir=.
7297 for ac_exec_ext in '' $ac_executable_extensions; do
7298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7299 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7301 break 2
7303 done
7304 done
7305 IFS=$as_save_IFS
7309 RANLIB=$ac_cv_prog_RANLIB
7310 if test -n "$RANLIB"; then
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7312 $as_echo "$RANLIB" >&6; }
7313 else
7314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7315 $as_echo "no" >&6; }
7320 if test -z "$ac_cv_prog_RANLIB"; then
7321 ac_ct_RANLIB=$RANLIB
7322 # Extract the first word of "ranlib", so it can be a program name with args.
7323 set dummy ranlib; ac_word=$2
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7325 $as_echo_n "checking for $ac_word... " >&6; }
7326 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7327 $as_echo_n "(cached) " >&6
7328 else
7329 if test -n "$ac_ct_RANLIB"; then
7330 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7331 else
7332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7333 for as_dir in $PATH
7335 IFS=$as_save_IFS
7336 test -z "$as_dir" && as_dir=.
7337 for ac_exec_ext in '' $ac_executable_extensions; do
7338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7339 ac_cv_prog_ac_ct_RANLIB="ranlib"
7340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7341 break 2
7343 done
7344 done
7345 IFS=$as_save_IFS
7349 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7350 if test -n "$ac_ct_RANLIB"; then
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7352 $as_echo "$ac_ct_RANLIB" >&6; }
7353 else
7354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7355 $as_echo "no" >&6; }
7358 if test "x$ac_ct_RANLIB" = x; then
7359 RANLIB=":"
7360 else
7361 case $cross_compiling:$ac_tool_warned in
7362 yes:)
7363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7365 ac_tool_warned=yes ;;
7366 esac
7367 RANLIB=$ac_ct_RANLIB
7369 else
7370 RANLIB="$ac_cv_prog_RANLIB"
7373 test -z "$RANLIB" && RANLIB=:
7380 # Determine commands to create old-style static archives.
7381 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7382 old_postinstall_cmds='chmod 644 $oldlib'
7383 old_postuninstall_cmds=
7385 if test -n "$RANLIB"; then
7386 case $host_os in
7387 openbsd*)
7388 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7391 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7393 esac
7394 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7397 case $host_os in
7398 darwin*)
7399 lock_old_archive_extraction=yes ;;
7401 lock_old_archive_extraction=no ;;
7402 esac
7442 # If no C compiler was specified, use CC.
7443 LTCC=${LTCC-"$CC"}
7445 # If no C compiler flags were specified, use CFLAGS.
7446 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7448 # Allow CC to be a program name with arguments.
7449 compiler=$CC
7452 # Check for command to grab the raw symbol name followed by C symbol from nm.
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7454 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7455 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7456 $as_echo_n "(cached) " >&6
7457 else
7459 # These are sane defaults that work on at least a few old systems.
7460 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7462 # Character class describing NM global symbol codes.
7463 symcode='[BCDEGRST]'
7465 # Regexp to match symbols that can be accessed directly from C.
7466 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7468 # Define system-specific variables.
7469 case $host_os in
7470 aix*)
7471 symcode='[BCDT]'
7473 cygwin* | mingw* | pw32* | cegcc*)
7474 symcode='[ABCDGISTW]'
7476 hpux*)
7477 if test "$host_cpu" = ia64; then
7478 symcode='[ABCDEGRST]'
7481 irix* | nonstopux*)
7482 symcode='[BCDEGRST]'
7484 osf*)
7485 symcode='[BCDEGQRST]'
7487 solaris*)
7488 symcode='[BDRT]'
7490 sco3.2v5*)
7491 symcode='[DT]'
7493 sysv4.2uw2*)
7494 symcode='[DT]'
7496 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7497 symcode='[ABDT]'
7499 sysv4)
7500 symcode='[DFNSTU]'
7502 esac
7504 # If we're using GNU nm, then use its standard symbol codes.
7505 case `$NM -V 2>&1` in
7506 *GNU* | *'with BFD'*)
7507 symcode='[ABCDGIRSTW]' ;;
7508 esac
7510 # Transform an extracted symbol line into a proper C declaration.
7511 # Some systems (esp. on ia64) link data and code symbols differently,
7512 # so use this general approach.
7513 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7515 # Transform an extracted symbol line into symbol name and symbol address
7516 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7517 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'"
7519 # Handle CRLF in mingw tool chain
7520 opt_cr=
7521 case $build_os in
7522 mingw*)
7523 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7525 esac
7527 # Try without a prefix underscore, then with it.
7528 for ac_symprfx in "" "_"; do
7530 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7531 symxfrm="\\1 $ac_symprfx\\2 \\2"
7533 # Write the raw and C identifiers.
7534 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7535 # Fake it for dumpbin and say T for any non-static function
7536 # and D for any global variable.
7537 # Also find C++ and __fastcall symbols from MSVC++,
7538 # which start with @ or ?.
7539 lt_cv_sys_global_symbol_pipe="$AWK '"\
7540 " {last_section=section; section=\$ 3};"\
7541 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7542 " \$ 0!~/External *\|/{next};"\
7543 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7544 " {if(hide[section]) next};"\
7545 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7546 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7547 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7548 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7549 " ' prfx=^$ac_symprfx"
7550 else
7551 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7554 # Check to see that the pipe works correctly.
7555 pipe_works=no
7557 rm -f conftest*
7558 cat > conftest.$ac_ext <<_LT_EOF
7559 #ifdef __cplusplus
7560 extern "C" {
7561 #endif
7562 char nm_test_var;
7563 void nm_test_func(void);
7564 void nm_test_func(void){}
7565 #ifdef __cplusplus
7567 #endif
7568 int main(){nm_test_var='a';nm_test_func();return(0);}
7569 _LT_EOF
7571 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7572 (eval $ac_compile) 2>&5
7573 ac_status=$?
7574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7575 test $ac_status = 0; }; then
7576 # Now try to grab the symbols.
7577 nlist=conftest.nm
7578 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7579 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7580 ac_status=$?
7581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7582 test $ac_status = 0; } && test -s "$nlist"; then
7583 # Try sorting and uniquifying the output.
7584 if sort "$nlist" | uniq > "$nlist"T; then
7585 mv -f "$nlist"T "$nlist"
7586 else
7587 rm -f "$nlist"T
7590 # Make sure that we snagged all the symbols we need.
7591 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7592 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7593 cat <<_LT_EOF > conftest.$ac_ext
7594 #ifdef __cplusplus
7595 extern "C" {
7596 #endif
7598 _LT_EOF
7599 # Now generate the symbol file.
7600 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7602 cat <<_LT_EOF >> conftest.$ac_ext
7604 /* The mapping between symbol names and symbols. */
7605 const struct {
7606 const char *name;
7607 void *address;
7609 lt__PROGRAM__LTX_preloaded_symbols[] =
7611 { "@PROGRAM@", (void *) 0 },
7612 _LT_EOF
7613 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7614 cat <<\_LT_EOF >> conftest.$ac_ext
7615 {0, (void *) 0}
7618 /* This works around a problem in FreeBSD linker */
7619 #ifdef FREEBSD_WORKAROUND
7620 static const void *lt_preloaded_setup() {
7621 return lt__PROGRAM__LTX_preloaded_symbols;
7623 #endif
7625 #ifdef __cplusplus
7627 #endif
7628 _LT_EOF
7629 # Now try linking the two files.
7630 mv conftest.$ac_objext conftstm.$ac_objext
7631 lt_save_LIBS="$LIBS"
7632 lt_save_CFLAGS="$CFLAGS"
7633 LIBS="conftstm.$ac_objext"
7634 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7635 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7636 (eval $ac_link) 2>&5
7637 ac_status=$?
7638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7639 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7640 pipe_works=yes
7642 LIBS="$lt_save_LIBS"
7643 CFLAGS="$lt_save_CFLAGS"
7644 else
7645 echo "cannot find nm_test_func in $nlist" >&5
7647 else
7648 echo "cannot find nm_test_var in $nlist" >&5
7650 else
7651 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7653 else
7654 echo "$progname: failed program was:" >&5
7655 cat conftest.$ac_ext >&5
7657 rm -rf conftest* conftst*
7659 # Do not use the global_symbol_pipe unless it works.
7660 if test "$pipe_works" = yes; then
7661 break
7662 else
7663 lt_cv_sys_global_symbol_pipe=
7665 done
7669 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7670 lt_cv_sys_global_symbol_to_cdecl=
7672 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7674 $as_echo "failed" >&6; }
7675 else
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7677 $as_echo "ok" >&6; }
7701 # Check whether --enable-libtool-lock was given.
7702 if test "${enable_libtool_lock+set}" = set; then :
7703 enableval=$enable_libtool_lock;
7706 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7708 # Some flags need to be propagated to the compiler or linker for good
7709 # libtool support.
7710 case $host in
7711 ia64-*-hpux*)
7712 # Find out which ABI we are using.
7713 echo 'int i;' > conftest.$ac_ext
7714 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7715 (eval $ac_compile) 2>&5
7716 ac_status=$?
7717 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7718 test $ac_status = 0; }; then
7719 case `/usr/bin/file conftest.$ac_objext` in
7720 *ELF-32*)
7721 HPUX_IA64_MODE="32"
7723 *ELF-64*)
7724 HPUX_IA64_MODE="64"
7726 esac
7728 rm -rf conftest*
7730 *-*-irix6*)
7731 # Find out which ABI we are using.
7732 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7734 (eval $ac_compile) 2>&5
7735 ac_status=$?
7736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7737 test $ac_status = 0; }; then
7738 if test "$lt_cv_prog_gnu_ld" = yes; then
7739 case `/usr/bin/file conftest.$ac_objext` in
7740 *32-bit*)
7741 LD="${LD-ld} -melf32bsmip"
7743 *N32*)
7744 LD="${LD-ld} -melf32bmipn32"
7746 *64-bit*)
7747 LD="${LD-ld} -melf64bmip"
7749 esac
7750 else
7751 case `/usr/bin/file conftest.$ac_objext` in
7752 *32-bit*)
7753 LD="${LD-ld} -32"
7755 *N32*)
7756 LD="${LD-ld} -n32"
7758 *64-bit*)
7759 LD="${LD-ld} -64"
7761 esac
7764 rm -rf conftest*
7767 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7768 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7769 # Find out which ABI we are using.
7770 echo 'int i;' > conftest.$ac_ext
7771 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7772 (eval $ac_compile) 2>&5
7773 ac_status=$?
7774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7775 test $ac_status = 0; }; then
7776 case `/usr/bin/file conftest.o` in
7777 *32-bit*)
7778 case $host in
7779 x86_64-*kfreebsd*-gnu)
7780 LD="${LD-ld} -m elf_i386_fbsd"
7782 x86_64-*linux*)
7783 case `/usr/bin/file conftest.o` in
7784 *x86-64*)
7785 LD="${LD-ld} -m elf32_x86_64"
7788 LD="${LD-ld} -m elf_i386"
7790 esac
7792 powerpc64le-*linux*)
7793 LD="${LD-ld} -m elf32lppclinux"
7795 powerpc64-*linux*)
7796 LD="${LD-ld} -m elf32ppclinux"
7798 s390x-*linux*)
7799 LD="${LD-ld} -m elf_s390"
7801 sparc64-*linux*)
7802 LD="${LD-ld} -m elf32_sparc"
7804 esac
7806 *64-bit*)
7807 case $host in
7808 x86_64-*kfreebsd*-gnu)
7809 LD="${LD-ld} -m elf_x86_64_fbsd"
7811 x86_64-*linux*)
7812 LD="${LD-ld} -m elf_x86_64"
7814 powerpcle-*linux*)
7815 LD="${LD-ld} -m elf64lppc"
7817 powerpc-*linux*)
7818 LD="${LD-ld} -m elf64ppc"
7820 s390*-*linux*|s390*-*tpf*)
7821 LD="${LD-ld} -m elf64_s390"
7823 sparc*-*linux*)
7824 LD="${LD-ld} -m elf64_sparc"
7826 esac
7828 esac
7830 rm -rf conftest*
7833 *-*-sco3.2v5*)
7834 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7835 SAVE_CFLAGS="$CFLAGS"
7836 CFLAGS="$CFLAGS -belf"
7837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7838 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7839 if ${lt_cv_cc_needs_belf+:} false; then :
7840 $as_echo_n "(cached) " >&6
7841 else
7842 ac_ext=c
7843 ac_cpp='$CPP $CPPFLAGS'
7844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7848 if test x$gcc_no_link = xyes; then
7849 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7852 /* end confdefs.h. */
7855 main ()
7859 return 0;
7861 _ACEOF
7862 if ac_fn_c_try_link "$LINENO"; then :
7863 lt_cv_cc_needs_belf=yes
7864 else
7865 lt_cv_cc_needs_belf=no
7867 rm -f core conftest.err conftest.$ac_objext \
7868 conftest$ac_exeext conftest.$ac_ext
7869 ac_ext=c
7870 ac_cpp='$CPP $CPPFLAGS'
7871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7877 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7878 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7879 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7880 CFLAGS="$SAVE_CFLAGS"
7883 sparc*-*solaris*)
7884 # Find out which ABI we are using.
7885 echo 'int i;' > conftest.$ac_ext
7886 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7887 (eval $ac_compile) 2>&5
7888 ac_status=$?
7889 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7890 test $ac_status = 0; }; then
7891 case `/usr/bin/file conftest.o` in
7892 *64-bit*)
7893 case $lt_cv_prog_gnu_ld in
7894 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7896 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7897 LD="${LD-ld} -64"
7900 esac
7902 esac
7904 rm -rf conftest*
7906 esac
7908 need_locks="$enable_libtool_lock"
7911 case $host_os in
7912 rhapsody* | darwin*)
7913 if test -n "$ac_tool_prefix"; then
7914 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7915 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7917 $as_echo_n "checking for $ac_word... " >&6; }
7918 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7919 $as_echo_n "(cached) " >&6
7920 else
7921 if test -n "$DSYMUTIL"; then
7922 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7923 else
7924 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7925 for as_dir in $PATH
7927 IFS=$as_save_IFS
7928 test -z "$as_dir" && as_dir=.
7929 for ac_exec_ext in '' $ac_executable_extensions; do
7930 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7931 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7932 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7933 break 2
7935 done
7936 done
7937 IFS=$as_save_IFS
7941 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7942 if test -n "$DSYMUTIL"; then
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7944 $as_echo "$DSYMUTIL" >&6; }
7945 else
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7947 $as_echo "no" >&6; }
7952 if test -z "$ac_cv_prog_DSYMUTIL"; then
7953 ac_ct_DSYMUTIL=$DSYMUTIL
7954 # Extract the first word of "dsymutil", so it can be a program name with args.
7955 set dummy dsymutil; ac_word=$2
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7957 $as_echo_n "checking for $ac_word... " >&6; }
7958 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 if test -n "$ac_ct_DSYMUTIL"; then
7962 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7963 else
7964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 for as_dir in $PATH
7967 IFS=$as_save_IFS
7968 test -z "$as_dir" && as_dir=.
7969 for ac_exec_ext in '' $ac_executable_extensions; do
7970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7971 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7973 break 2
7975 done
7976 done
7977 IFS=$as_save_IFS
7981 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7982 if test -n "$ac_ct_DSYMUTIL"; then
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7984 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7985 else
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7987 $as_echo "no" >&6; }
7990 if test "x$ac_ct_DSYMUTIL" = x; then
7991 DSYMUTIL=":"
7992 else
7993 case $cross_compiling:$ac_tool_warned in
7994 yes:)
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7996 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7997 ac_tool_warned=yes ;;
7998 esac
7999 DSYMUTIL=$ac_ct_DSYMUTIL
8001 else
8002 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
8005 if test -n "$ac_tool_prefix"; then
8006 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
8007 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
8008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8009 $as_echo_n "checking for $ac_word... " >&6; }
8010 if ${ac_cv_prog_NMEDIT+:} false; then :
8011 $as_echo_n "(cached) " >&6
8012 else
8013 if test -n "$NMEDIT"; then
8014 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
8015 else
8016 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8017 for as_dir in $PATH
8019 IFS=$as_save_IFS
8020 test -z "$as_dir" && as_dir=.
8021 for ac_exec_ext in '' $ac_executable_extensions; do
8022 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8023 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
8024 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8025 break 2
8027 done
8028 done
8029 IFS=$as_save_IFS
8033 NMEDIT=$ac_cv_prog_NMEDIT
8034 if test -n "$NMEDIT"; then
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
8036 $as_echo "$NMEDIT" >&6; }
8037 else
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8039 $as_echo "no" >&6; }
8044 if test -z "$ac_cv_prog_NMEDIT"; then
8045 ac_ct_NMEDIT=$NMEDIT
8046 # Extract the first word of "nmedit", so it can be a program name with args.
8047 set dummy nmedit; ac_word=$2
8048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8049 $as_echo_n "checking for $ac_word... " >&6; }
8050 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8051 $as_echo_n "(cached) " >&6
8052 else
8053 if test -n "$ac_ct_NMEDIT"; then
8054 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8055 else
8056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8057 for as_dir in $PATH
8059 IFS=$as_save_IFS
8060 test -z "$as_dir" && as_dir=.
8061 for ac_exec_ext in '' $ac_executable_extensions; do
8062 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8063 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8065 break 2
8067 done
8068 done
8069 IFS=$as_save_IFS
8073 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8074 if test -n "$ac_ct_NMEDIT"; then
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8076 $as_echo "$ac_ct_NMEDIT" >&6; }
8077 else
8078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8079 $as_echo "no" >&6; }
8082 if test "x$ac_ct_NMEDIT" = x; then
8083 NMEDIT=":"
8084 else
8085 case $cross_compiling:$ac_tool_warned in
8086 yes:)
8087 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8088 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8089 ac_tool_warned=yes ;;
8090 esac
8091 NMEDIT=$ac_ct_NMEDIT
8093 else
8094 NMEDIT="$ac_cv_prog_NMEDIT"
8097 if test -n "$ac_tool_prefix"; then
8098 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8099 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8101 $as_echo_n "checking for $ac_word... " >&6; }
8102 if ${ac_cv_prog_LIPO+:} false; then :
8103 $as_echo_n "(cached) " >&6
8104 else
8105 if test -n "$LIPO"; then
8106 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8107 else
8108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8109 for as_dir in $PATH
8111 IFS=$as_save_IFS
8112 test -z "$as_dir" && as_dir=.
8113 for ac_exec_ext in '' $ac_executable_extensions; do
8114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8115 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8117 break 2
8119 done
8120 done
8121 IFS=$as_save_IFS
8125 LIPO=$ac_cv_prog_LIPO
8126 if test -n "$LIPO"; then
8127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8128 $as_echo "$LIPO" >&6; }
8129 else
8130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8131 $as_echo "no" >&6; }
8136 if test -z "$ac_cv_prog_LIPO"; then
8137 ac_ct_LIPO=$LIPO
8138 # Extract the first word of "lipo", so it can be a program name with args.
8139 set dummy lipo; ac_word=$2
8140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8141 $as_echo_n "checking for $ac_word... " >&6; }
8142 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8143 $as_echo_n "(cached) " >&6
8144 else
8145 if test -n "$ac_ct_LIPO"; then
8146 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8147 else
8148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8149 for as_dir in $PATH
8151 IFS=$as_save_IFS
8152 test -z "$as_dir" && as_dir=.
8153 for ac_exec_ext in '' $ac_executable_extensions; do
8154 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8155 ac_cv_prog_ac_ct_LIPO="lipo"
8156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8157 break 2
8159 done
8160 done
8161 IFS=$as_save_IFS
8165 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8166 if test -n "$ac_ct_LIPO"; then
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8168 $as_echo "$ac_ct_LIPO" >&6; }
8169 else
8170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8171 $as_echo "no" >&6; }
8174 if test "x$ac_ct_LIPO" = x; then
8175 LIPO=":"
8176 else
8177 case $cross_compiling:$ac_tool_warned in
8178 yes:)
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8180 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8181 ac_tool_warned=yes ;;
8182 esac
8183 LIPO=$ac_ct_LIPO
8185 else
8186 LIPO="$ac_cv_prog_LIPO"
8189 if test -n "$ac_tool_prefix"; then
8190 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8191 set dummy ${ac_tool_prefix}otool; ac_word=$2
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8193 $as_echo_n "checking for $ac_word... " >&6; }
8194 if ${ac_cv_prog_OTOOL+:} false; then :
8195 $as_echo_n "(cached) " >&6
8196 else
8197 if test -n "$OTOOL"; then
8198 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8199 else
8200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8201 for as_dir in $PATH
8203 IFS=$as_save_IFS
8204 test -z "$as_dir" && as_dir=.
8205 for ac_exec_ext in '' $ac_executable_extensions; do
8206 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8207 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8208 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8209 break 2
8211 done
8212 done
8213 IFS=$as_save_IFS
8217 OTOOL=$ac_cv_prog_OTOOL
8218 if test -n "$OTOOL"; then
8219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8220 $as_echo "$OTOOL" >&6; }
8221 else
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8223 $as_echo "no" >&6; }
8228 if test -z "$ac_cv_prog_OTOOL"; then
8229 ac_ct_OTOOL=$OTOOL
8230 # Extract the first word of "otool", so it can be a program name with args.
8231 set dummy otool; ac_word=$2
8232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8233 $as_echo_n "checking for $ac_word... " >&6; }
8234 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8235 $as_echo_n "(cached) " >&6
8236 else
8237 if test -n "$ac_ct_OTOOL"; then
8238 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8239 else
8240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8241 for as_dir in $PATH
8243 IFS=$as_save_IFS
8244 test -z "$as_dir" && as_dir=.
8245 for ac_exec_ext in '' $ac_executable_extensions; do
8246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8247 ac_cv_prog_ac_ct_OTOOL="otool"
8248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8249 break 2
8251 done
8252 done
8253 IFS=$as_save_IFS
8257 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8258 if test -n "$ac_ct_OTOOL"; then
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8260 $as_echo "$ac_ct_OTOOL" >&6; }
8261 else
8262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8263 $as_echo "no" >&6; }
8266 if test "x$ac_ct_OTOOL" = x; then
8267 OTOOL=":"
8268 else
8269 case $cross_compiling:$ac_tool_warned in
8270 yes:)
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8272 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8273 ac_tool_warned=yes ;;
8274 esac
8275 OTOOL=$ac_ct_OTOOL
8277 else
8278 OTOOL="$ac_cv_prog_OTOOL"
8281 if test -n "$ac_tool_prefix"; then
8282 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8283 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8285 $as_echo_n "checking for $ac_word... " >&6; }
8286 if ${ac_cv_prog_OTOOL64+:} false; then :
8287 $as_echo_n "(cached) " >&6
8288 else
8289 if test -n "$OTOOL64"; then
8290 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8291 else
8292 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8293 for as_dir in $PATH
8295 IFS=$as_save_IFS
8296 test -z "$as_dir" && as_dir=.
8297 for ac_exec_ext in '' $ac_executable_extensions; do
8298 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8299 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8300 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8301 break 2
8303 done
8304 done
8305 IFS=$as_save_IFS
8309 OTOOL64=$ac_cv_prog_OTOOL64
8310 if test -n "$OTOOL64"; then
8311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8312 $as_echo "$OTOOL64" >&6; }
8313 else
8314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8315 $as_echo "no" >&6; }
8320 if test -z "$ac_cv_prog_OTOOL64"; then
8321 ac_ct_OTOOL64=$OTOOL64
8322 # Extract the first word of "otool64", so it can be a program name with args.
8323 set dummy otool64; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325 $as_echo_n "checking for $ac_word... " >&6; }
8326 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8327 $as_echo_n "(cached) " >&6
8328 else
8329 if test -n "$ac_ct_OTOOL64"; then
8330 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8331 else
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8333 for as_dir in $PATH
8335 IFS=$as_save_IFS
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8339 ac_cv_prog_ac_ct_OTOOL64="otool64"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8341 break 2
8343 done
8344 done
8345 IFS=$as_save_IFS
8349 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8350 if test -n "$ac_ct_OTOOL64"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8352 $as_echo "$ac_ct_OTOOL64" >&6; }
8353 else
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355 $as_echo "no" >&6; }
8358 if test "x$ac_ct_OTOOL64" = x; then
8359 OTOOL64=":"
8360 else
8361 case $cross_compiling:$ac_tool_warned in
8362 yes:)
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8364 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8365 ac_tool_warned=yes ;;
8366 esac
8367 OTOOL64=$ac_ct_OTOOL64
8369 else
8370 OTOOL64="$ac_cv_prog_OTOOL64"
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8400 $as_echo_n "checking for -single_module linker flag... " >&6; }
8401 if ${lt_cv_apple_cc_single_mod+:} false; then :
8402 $as_echo_n "(cached) " >&6
8403 else
8404 lt_cv_apple_cc_single_mod=no
8405 if test -z "${LT_MULTI_MODULE}"; then
8406 # By default we will add the -single_module flag. You can override
8407 # by either setting the environment variable LT_MULTI_MODULE
8408 # non-empty at configure time, or by adding -multi_module to the
8409 # link flags.
8410 rm -rf libconftest.dylib*
8411 echo "int foo(void){return 1;}" > conftest.c
8412 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8413 -dynamiclib -Wl,-single_module conftest.c" >&5
8414 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8415 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8416 _lt_result=$?
8417 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8418 lt_cv_apple_cc_single_mod=yes
8419 else
8420 cat conftest.err >&5
8422 rm -rf libconftest.dylib*
8423 rm -f conftest.*
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8427 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8429 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8430 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8431 $as_echo_n "(cached) " >&6
8432 else
8433 lt_cv_ld_exported_symbols_list=no
8434 save_LDFLAGS=$LDFLAGS
8435 echo "_main" > conftest.sym
8436 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8437 if test x$gcc_no_link = xyes; then
8438 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8441 /* end confdefs.h. */
8444 main ()
8448 return 0;
8450 _ACEOF
8451 if ac_fn_c_try_link "$LINENO"; then :
8452 lt_cv_ld_exported_symbols_list=yes
8453 else
8454 lt_cv_ld_exported_symbols_list=no
8456 rm -f core conftest.err conftest.$ac_objext \
8457 conftest$ac_exeext conftest.$ac_ext
8458 LDFLAGS="$save_LDFLAGS"
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8462 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8464 $as_echo_n "checking for -force_load linker flag... " >&6; }
8465 if ${lt_cv_ld_force_load+:} false; then :
8466 $as_echo_n "(cached) " >&6
8467 else
8468 lt_cv_ld_force_load=no
8469 cat > conftest.c << _LT_EOF
8470 int forced_loaded() { return 2;}
8471 _LT_EOF
8472 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8473 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8474 echo "$AR cru libconftest.a conftest.o" >&5
8475 $AR cru libconftest.a conftest.o 2>&5
8476 cat > conftest.c << _LT_EOF
8477 int main() { return 0;}
8478 _LT_EOF
8479 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8480 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8481 _lt_result=$?
8482 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8483 lt_cv_ld_force_load=yes
8484 else
8485 cat conftest.err >&5
8487 rm -f conftest.err libconftest.a conftest conftest.c
8488 rm -rf conftest.dSYM
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8492 $as_echo "$lt_cv_ld_force_load" >&6; }
8493 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8494 # build without first building modern cctools / linker.
8495 case $host_cpu-$host_os in
8496 *-rhapsody* | *-darwin1.[012])
8497 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8498 *-darwin1.*)
8499 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8500 *-darwin*)
8501 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8502 # deployment target is forced to an earlier version.
8503 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8504 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8506 10.[012][,.]*)
8507 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8511 esac
8513 esac
8514 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8515 _lt_dar_single_mod='$single_module'
8517 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8518 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8519 else
8520 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8522 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8523 _lt_dsymutil='~$DSYMUTIL $lib || :'
8524 else
8525 _lt_dsymutil=
8528 esac
8530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8531 $as_echo_n "checking for ANSI C header files... " >&6; }
8532 if ${ac_cv_header_stdc+:} false; then :
8533 $as_echo_n "(cached) " >&6
8534 else
8535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8536 /* end confdefs.h. */
8537 #include <stdlib.h>
8538 #include <stdarg.h>
8539 #include <string.h>
8540 #include <float.h>
8543 main ()
8547 return 0;
8549 _ACEOF
8550 if ac_fn_c_try_compile "$LINENO"; then :
8551 ac_cv_header_stdc=yes
8552 else
8553 ac_cv_header_stdc=no
8555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8557 if test $ac_cv_header_stdc = yes; then
8558 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8560 /* end confdefs.h. */
8561 #include <string.h>
8563 _ACEOF
8564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8565 $EGREP "memchr" >/dev/null 2>&1; then :
8567 else
8568 ac_cv_header_stdc=no
8570 rm -f conftest*
8574 if test $ac_cv_header_stdc = yes; then
8575 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8578 #include <stdlib.h>
8580 _ACEOF
8581 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8582 $EGREP "free" >/dev/null 2>&1; then :
8584 else
8585 ac_cv_header_stdc=no
8587 rm -f conftest*
8591 if test $ac_cv_header_stdc = yes; then
8592 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8593 if test "$cross_compiling" = yes; then :
8595 else
8596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8597 /* end confdefs.h. */
8598 #include <ctype.h>
8599 #include <stdlib.h>
8600 #if ((' ' & 0x0FF) == 0x020)
8601 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8602 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8603 #else
8604 # define ISLOWER(c) \
8605 (('a' <= (c) && (c) <= 'i') \
8606 || ('j' <= (c) && (c) <= 'r') \
8607 || ('s' <= (c) && (c) <= 'z'))
8608 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8609 #endif
8611 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8613 main ()
8615 int i;
8616 for (i = 0; i < 256; i++)
8617 if (XOR (islower (i), ISLOWER (i))
8618 || toupper (i) != TOUPPER (i))
8619 return 2;
8620 return 0;
8622 _ACEOF
8623 if ac_fn_c_try_run "$LINENO"; then :
8625 else
8626 ac_cv_header_stdc=no
8628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8629 conftest.$ac_objext conftest.beam conftest.$ac_ext
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8635 $as_echo "$ac_cv_header_stdc" >&6; }
8636 if test $ac_cv_header_stdc = yes; then
8638 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8642 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8643 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8644 inttypes.h stdint.h unistd.h
8645 do :
8646 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8647 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8649 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8650 cat >>confdefs.h <<_ACEOF
8651 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8652 _ACEOF
8656 done
8659 for ac_header in dlfcn.h
8660 do :
8661 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8663 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8664 cat >>confdefs.h <<_ACEOF
8665 #define HAVE_DLFCN_H 1
8666 _ACEOF
8670 done
8677 # Set options
8682 enable_win32_dll=no
8685 # Check whether --enable-shared was given.
8686 if test "${enable_shared+set}" = set; then :
8687 enableval=$enable_shared; p=${PACKAGE-default}
8688 case $enableval in
8689 yes) enable_shared=yes ;;
8690 no) enable_shared=no ;;
8692 enable_shared=no
8693 # Look at the argument we got. We use all the common list separators.
8694 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8695 for pkg in $enableval; do
8696 IFS="$lt_save_ifs"
8697 if test "X$pkg" = "X$p"; then
8698 enable_shared=yes
8700 done
8701 IFS="$lt_save_ifs"
8703 esac
8704 else
8705 enable_shared=yes
8716 # Check whether --enable-static was given.
8717 if test "${enable_static+set}" = set; then :
8718 enableval=$enable_static; p=${PACKAGE-default}
8719 case $enableval in
8720 yes) enable_static=yes ;;
8721 no) enable_static=no ;;
8723 enable_static=no
8724 # Look at the argument we got. We use all the common list separators.
8725 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8726 for pkg in $enableval; do
8727 IFS="$lt_save_ifs"
8728 if test "X$pkg" = "X$p"; then
8729 enable_static=yes
8731 done
8732 IFS="$lt_save_ifs"
8734 esac
8735 else
8736 enable_static=yes
8748 # Check whether --with-pic was given.
8749 if test "${with_pic+set}" = set; then :
8750 withval=$with_pic; pic_mode="$withval"
8751 else
8752 pic_mode=default
8756 test -z "$pic_mode" && pic_mode=default
8764 # Check whether --enable-fast-install was given.
8765 if test "${enable_fast_install+set}" = set; then :
8766 enableval=$enable_fast_install; p=${PACKAGE-default}
8767 case $enableval in
8768 yes) enable_fast_install=yes ;;
8769 no) enable_fast_install=no ;;
8771 enable_fast_install=no
8772 # Look at the argument we got. We use all the common list separators.
8773 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8774 for pkg in $enableval; do
8775 IFS="$lt_save_ifs"
8776 if test "X$pkg" = "X$p"; then
8777 enable_fast_install=yes
8779 done
8780 IFS="$lt_save_ifs"
8782 esac
8783 else
8784 enable_fast_install=yes
8797 # This can be used to rebuild libtool when needed
8798 LIBTOOL_DEPS="$ltmain"
8800 # Always use our own libtool.
8801 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8828 test -z "$LN_S" && LN_S="ln -s"
8843 if test -n "${ZSH_VERSION+set}" ; then
8844 setopt NO_GLOB_SUBST
8847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8848 $as_echo_n "checking for objdir... " >&6; }
8849 if ${lt_cv_objdir+:} false; then :
8850 $as_echo_n "(cached) " >&6
8851 else
8852 rm -f .libs 2>/dev/null
8853 mkdir .libs 2>/dev/null
8854 if test -d .libs; then
8855 lt_cv_objdir=.libs
8856 else
8857 # MS-DOS does not allow filenames that begin with a dot.
8858 lt_cv_objdir=_libs
8860 rmdir .libs 2>/dev/null
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8863 $as_echo "$lt_cv_objdir" >&6; }
8864 objdir=$lt_cv_objdir
8870 cat >>confdefs.h <<_ACEOF
8871 #define LT_OBJDIR "$lt_cv_objdir/"
8872 _ACEOF
8877 case $host_os in
8878 aix3*)
8879 # AIX sometimes has problems with the GCC collect2 program. For some
8880 # reason, if we set the COLLECT_NAMES environment variable, the problems
8881 # vanish in a puff of smoke.
8882 if test "X${COLLECT_NAMES+set}" != Xset; then
8883 COLLECT_NAMES=
8884 export COLLECT_NAMES
8887 esac
8889 # Global variables:
8890 ofile=libtool
8891 can_build_shared=yes
8893 # All known linkers require a `.a' archive for static linking (except MSVC,
8894 # which needs '.lib').
8895 libext=a
8897 with_gnu_ld="$lt_cv_prog_gnu_ld"
8899 old_CC="$CC"
8900 old_CFLAGS="$CFLAGS"
8902 # Set sane defaults for various variables
8903 test -z "$CC" && CC=cc
8904 test -z "$LTCC" && LTCC=$CC
8905 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8906 test -z "$LD" && LD=ld
8907 test -z "$ac_objext" && ac_objext=o
8909 for cc_temp in $compiler""; do
8910 case $cc_temp in
8911 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8912 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8913 \-*) ;;
8914 *) break;;
8915 esac
8916 done
8917 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8920 # Only perform the check for file, if the check method requires it
8921 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8922 case $deplibs_check_method in
8923 file_magic*)
8924 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8926 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8927 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8928 $as_echo_n "(cached) " >&6
8929 else
8930 case $MAGIC_CMD in
8931 [\\/*] | ?:[\\/]*)
8932 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8935 lt_save_MAGIC_CMD="$MAGIC_CMD"
8936 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8937 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8938 for ac_dir in $ac_dummy; do
8939 IFS="$lt_save_ifs"
8940 test -z "$ac_dir" && ac_dir=.
8941 if test -f $ac_dir/${ac_tool_prefix}file; then
8942 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8943 if test -n "$file_magic_test_file"; then
8944 case $deplibs_check_method in
8945 "file_magic "*)
8946 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8947 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8948 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8949 $EGREP "$file_magic_regex" > /dev/null; then
8951 else
8952 cat <<_LT_EOF 1>&2
8954 *** Warning: the command libtool uses to detect shared libraries,
8955 *** $file_magic_cmd, produces output that libtool cannot recognize.
8956 *** The result is that libtool may fail to recognize shared libraries
8957 *** as such. This will affect the creation of libtool libraries that
8958 *** depend on shared libraries, but programs linked with such libtool
8959 *** libraries will work regardless of this problem. Nevertheless, you
8960 *** may want to report the problem to your system manager and/or to
8961 *** bug-libtool@gnu.org
8963 _LT_EOF
8964 fi ;;
8965 esac
8967 break
8969 done
8970 IFS="$lt_save_ifs"
8971 MAGIC_CMD="$lt_save_MAGIC_CMD"
8973 esac
8976 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8977 if test -n "$MAGIC_CMD"; then
8978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8979 $as_echo "$MAGIC_CMD" >&6; }
8980 else
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8982 $as_echo "no" >&6; }
8989 if test -z "$lt_cv_path_MAGIC_CMD"; then
8990 if test -n "$ac_tool_prefix"; then
8991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8992 $as_echo_n "checking for file... " >&6; }
8993 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8994 $as_echo_n "(cached) " >&6
8995 else
8996 case $MAGIC_CMD in
8997 [\\/*] | ?:[\\/]*)
8998 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
9001 lt_save_MAGIC_CMD="$MAGIC_CMD"
9002 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
9003 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
9004 for ac_dir in $ac_dummy; do
9005 IFS="$lt_save_ifs"
9006 test -z "$ac_dir" && ac_dir=.
9007 if test -f $ac_dir/file; then
9008 lt_cv_path_MAGIC_CMD="$ac_dir/file"
9009 if test -n "$file_magic_test_file"; then
9010 case $deplibs_check_method in
9011 "file_magic "*)
9012 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
9013 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9014 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
9015 $EGREP "$file_magic_regex" > /dev/null; then
9017 else
9018 cat <<_LT_EOF 1>&2
9020 *** Warning: the command libtool uses to detect shared libraries,
9021 *** $file_magic_cmd, produces output that libtool cannot recognize.
9022 *** The result is that libtool may fail to recognize shared libraries
9023 *** as such. This will affect the creation of libtool libraries that
9024 *** depend on shared libraries, but programs linked with such libtool
9025 *** libraries will work regardless of this problem. Nevertheless, you
9026 *** may want to report the problem to your system manager and/or to
9027 *** bug-libtool@gnu.org
9029 _LT_EOF
9030 fi ;;
9031 esac
9033 break
9035 done
9036 IFS="$lt_save_ifs"
9037 MAGIC_CMD="$lt_save_MAGIC_CMD"
9039 esac
9042 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9043 if test -n "$MAGIC_CMD"; then
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9045 $as_echo "$MAGIC_CMD" >&6; }
9046 else
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9048 $as_echo "no" >&6; }
9052 else
9053 MAGIC_CMD=:
9059 esac
9061 # Use C for the default configuration in the libtool script
9063 lt_save_CC="$CC"
9064 ac_ext=c
9065 ac_cpp='$CPP $CPPFLAGS'
9066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9071 # Source file extension for C test sources.
9072 ac_ext=c
9074 # Object file extension for compiled C test sources.
9075 objext=o
9076 objext=$objext
9078 # Code to be used in simple compile tests
9079 lt_simple_compile_test_code="int some_variable = 0;"
9081 # Code to be used in simple link tests
9082 lt_simple_link_test_code='int main(){return(0);}'
9090 # If no C compiler was specified, use CC.
9091 LTCC=${LTCC-"$CC"}
9093 # If no C compiler flags were specified, use CFLAGS.
9094 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9096 # Allow CC to be a program name with arguments.
9097 compiler=$CC
9099 # Save the default compiler, since it gets overwritten when the other
9100 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9101 compiler_DEFAULT=$CC
9103 # save warnings/boilerplate of simple test code
9104 ac_outfile=conftest.$ac_objext
9105 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9106 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9107 _lt_compiler_boilerplate=`cat conftest.err`
9108 $RM conftest*
9110 ac_outfile=conftest.$ac_objext
9111 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9112 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9113 _lt_linker_boilerplate=`cat conftest.err`
9114 $RM -r conftest*
9117 ## CAVEAT EMPTOR:
9118 ## There is no encapsulation within the following macros, do not change
9119 ## the running order or otherwise move them around unless you know exactly
9120 ## what you are doing...
9121 if test -n "$compiler"; then
9123 lt_prog_compiler_no_builtin_flag=
9125 if test "$GCC" = yes; then
9126 case $cc_basename in
9127 nvcc*)
9128 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9130 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9131 esac
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9134 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9135 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 lt_cv_prog_compiler_rtti_exceptions=no
9139 ac_outfile=conftest.$ac_objext
9140 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9141 lt_compiler_flag="-fno-rtti -fno-exceptions"
9142 # Insert the option either (1) after the last *FLAGS variable, or
9143 # (2) before a word containing "conftest.", or (3) at the end.
9144 # Note that $ac_compile itself does not contain backslashes and begins
9145 # with a dollar sign (not a hyphen), so the echo should work correctly.
9146 # The option is referenced via a variable to avoid confusing sed.
9147 lt_compile=`echo "$ac_compile" | $SED \
9148 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9149 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9150 -e 's:$: $lt_compiler_flag:'`
9151 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9152 (eval "$lt_compile" 2>conftest.err)
9153 ac_status=$?
9154 cat conftest.err >&5
9155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9156 if (exit $ac_status) && test -s "$ac_outfile"; then
9157 # The compiler can only warn and ignore the option if not recognized
9158 # So say no if there are warnings other than the usual output.
9159 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9160 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9161 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9162 lt_cv_prog_compiler_rtti_exceptions=yes
9165 $RM conftest*
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9169 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9171 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9172 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9173 else
9184 lt_prog_compiler_wl=
9185 lt_prog_compiler_pic=
9186 lt_prog_compiler_static=
9188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9189 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9191 if test "$GCC" = yes; then
9192 lt_prog_compiler_wl='-Wl,'
9193 lt_prog_compiler_static='-static'
9195 case $host_os in
9196 aix*)
9197 # All AIX code is PIC.
9198 if test "$host_cpu" = ia64; then
9199 # AIX 5 now supports IA64 processor
9200 lt_prog_compiler_static='-Bstatic'
9202 lt_prog_compiler_pic='-fPIC'
9205 amigaos*)
9206 case $host_cpu in
9207 powerpc)
9208 # see comment about AmigaOS4 .so support
9209 lt_prog_compiler_pic='-fPIC'
9211 m68k)
9212 # FIXME: we need at least 68020 code to build shared libraries, but
9213 # adding the `-m68020' flag to GCC prevents building anything better,
9214 # like `-m68040'.
9215 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9217 esac
9220 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9221 # PIC is the default for these OSes.
9224 mingw* | cygwin* | pw32* | os2* | cegcc*)
9225 # This hack is so that the source file can tell whether it is being
9226 # built for inclusion in a dll (and should export symbols for example).
9227 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9228 # (--disable-auto-import) libraries
9229 lt_prog_compiler_pic='-DDLL_EXPORT'
9232 darwin* | rhapsody*)
9233 # PIC is the default on this platform
9234 # Common symbols not allowed in MH_DYLIB files
9235 lt_prog_compiler_pic='-fno-common'
9238 haiku*)
9239 # PIC is the default for Haiku.
9240 # The "-static" flag exists, but is broken.
9241 lt_prog_compiler_static=
9244 hpux*)
9245 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9246 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9247 # sets the default TLS model and affects inlining.
9248 case $host_cpu in
9249 hppa*64*)
9250 # +Z the default
9253 lt_prog_compiler_pic='-fPIC'
9255 esac
9258 interix[3-9]*)
9259 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9260 # Instead, we relocate shared libraries at runtime.
9263 msdosdjgpp*)
9264 # Just because we use GCC doesn't mean we suddenly get shared libraries
9265 # on systems that don't support them.
9266 lt_prog_compiler_can_build_shared=no
9267 enable_shared=no
9270 *nto* | *qnx*)
9271 # QNX uses GNU C++, but need to define -shared option too, otherwise
9272 # it will coredump.
9273 lt_prog_compiler_pic='-fPIC -shared'
9276 sysv4*MP*)
9277 if test -d /usr/nec; then
9278 lt_prog_compiler_pic=-Kconform_pic
9283 lt_prog_compiler_pic='-fPIC'
9285 esac
9287 case $cc_basename in
9288 nvcc*) # Cuda Compiler Driver 2.2
9289 lt_prog_compiler_wl='-Xlinker '
9290 lt_prog_compiler_pic='-Xcompiler -fPIC'
9292 esac
9293 else
9294 # PORTME Check for flag to pass linker flags through the system compiler.
9295 case $host_os in
9296 aix*)
9297 lt_prog_compiler_wl='-Wl,'
9298 if test "$host_cpu" = ia64; then
9299 # AIX 5 now supports IA64 processor
9300 lt_prog_compiler_static='-Bstatic'
9301 else
9302 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9306 mingw* | cygwin* | pw32* | os2* | cegcc*)
9307 # This hack is so that the source file can tell whether it is being
9308 # built for inclusion in a dll (and should export symbols for example).
9309 lt_prog_compiler_pic='-DDLL_EXPORT'
9312 hpux9* | hpux10* | hpux11*)
9313 lt_prog_compiler_wl='-Wl,'
9314 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9315 # not for PA HP-UX.
9316 case $host_cpu in
9317 hppa*64*|ia64*)
9318 # +Z the default
9321 lt_prog_compiler_pic='+Z'
9323 esac
9324 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9325 lt_prog_compiler_static='${wl}-a ${wl}archive'
9328 irix5* | irix6* | nonstopux*)
9329 lt_prog_compiler_wl='-Wl,'
9330 # PIC (with -KPIC) is the default.
9331 lt_prog_compiler_static='-non_shared'
9334 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9335 case $cc_basename in
9336 # old Intel for x86_64 which still supported -KPIC.
9337 ecc*)
9338 lt_prog_compiler_wl='-Wl,'
9339 lt_prog_compiler_pic='-KPIC'
9340 lt_prog_compiler_static='-static'
9342 # icc used to be incompatible with GCC.
9343 # ICC 10 doesn't accept -KPIC any more.
9344 icc* | ifort*)
9345 lt_prog_compiler_wl='-Wl,'
9346 lt_prog_compiler_pic='-fPIC'
9347 lt_prog_compiler_static='-static'
9349 # Lahey Fortran 8.1.
9350 lf95*)
9351 lt_prog_compiler_wl='-Wl,'
9352 lt_prog_compiler_pic='--shared'
9353 lt_prog_compiler_static='--static'
9355 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9356 # Portland Group compilers (*not* the Pentium gcc compiler,
9357 # which looks to be a dead project)
9358 lt_prog_compiler_wl='-Wl,'
9359 lt_prog_compiler_pic='-fpic'
9360 lt_prog_compiler_static='-Bstatic'
9362 ccc*)
9363 lt_prog_compiler_wl='-Wl,'
9364 # All Alpha code is PIC.
9365 lt_prog_compiler_static='-non_shared'
9367 xl* | bgxl* | bgf* | mpixl*)
9368 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9369 lt_prog_compiler_wl='-Wl,'
9370 lt_prog_compiler_pic='-qpic'
9371 lt_prog_compiler_static='-qstaticlink'
9374 case `$CC -V 2>&1 | sed 5q` in
9375 *Sun\ F* | *Sun*Fortran*)
9376 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9377 lt_prog_compiler_pic='-KPIC'
9378 lt_prog_compiler_static='-Bstatic'
9379 lt_prog_compiler_wl=''
9381 *Sun\ C*)
9382 # Sun C 5.9
9383 lt_prog_compiler_pic='-KPIC'
9384 lt_prog_compiler_static='-Bstatic'
9385 lt_prog_compiler_wl='-Wl,'
9387 esac
9389 esac
9392 newsos6)
9393 lt_prog_compiler_pic='-KPIC'
9394 lt_prog_compiler_static='-Bstatic'
9397 *nto* | *qnx*)
9398 # QNX uses GNU C++, but need to define -shared option too, otherwise
9399 # it will coredump.
9400 lt_prog_compiler_pic='-fPIC -shared'
9403 osf3* | osf4* | osf5*)
9404 lt_prog_compiler_wl='-Wl,'
9405 # All OSF/1 code is PIC.
9406 lt_prog_compiler_static='-non_shared'
9409 rdos*)
9410 lt_prog_compiler_static='-non_shared'
9413 solaris*)
9414 lt_prog_compiler_pic='-KPIC'
9415 lt_prog_compiler_static='-Bstatic'
9416 case $cc_basename in
9417 f77* | f90* | f95*)
9418 lt_prog_compiler_wl='-Qoption ld ';;
9420 lt_prog_compiler_wl='-Wl,';;
9421 esac
9424 sunos4*)
9425 lt_prog_compiler_wl='-Qoption ld '
9426 lt_prog_compiler_pic='-PIC'
9427 lt_prog_compiler_static='-Bstatic'
9430 sysv4 | sysv4.2uw2* | sysv4.3*)
9431 lt_prog_compiler_wl='-Wl,'
9432 lt_prog_compiler_pic='-KPIC'
9433 lt_prog_compiler_static='-Bstatic'
9436 sysv4*MP*)
9437 if test -d /usr/nec ;then
9438 lt_prog_compiler_pic='-Kconform_pic'
9439 lt_prog_compiler_static='-Bstatic'
9443 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9444 lt_prog_compiler_wl='-Wl,'
9445 lt_prog_compiler_pic='-KPIC'
9446 lt_prog_compiler_static='-Bstatic'
9449 unicos*)
9450 lt_prog_compiler_wl='-Wl,'
9451 lt_prog_compiler_can_build_shared=no
9454 uts4*)
9455 lt_prog_compiler_pic='-pic'
9456 lt_prog_compiler_static='-Bstatic'
9460 lt_prog_compiler_can_build_shared=no
9462 esac
9465 case $host_os in
9466 # For platforms which do not support PIC, -DPIC is meaningless:
9467 *djgpp*)
9468 lt_prog_compiler_pic=
9471 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9473 esac
9474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9475 $as_echo "$lt_prog_compiler_pic" >&6; }
9483 # Check to make sure the PIC flag actually works.
9485 if test -n "$lt_prog_compiler_pic"; then
9486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9487 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9488 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9489 $as_echo_n "(cached) " >&6
9490 else
9491 lt_cv_prog_compiler_pic_works=no
9492 ac_outfile=conftest.$ac_objext
9493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9494 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9495 # Insert the option either (1) after the last *FLAGS variable, or
9496 # (2) before a word containing "conftest.", or (3) at the end.
9497 # Note that $ac_compile itself does not contain backslashes and begins
9498 # with a dollar sign (not a hyphen), so the echo should work correctly.
9499 # The option is referenced via a variable to avoid confusing sed.
9500 lt_compile=`echo "$ac_compile" | $SED \
9501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9503 -e 's:$: $lt_compiler_flag:'`
9504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9505 (eval "$lt_compile" 2>conftest.err)
9506 ac_status=$?
9507 cat conftest.err >&5
9508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9509 if (exit $ac_status) && test -s "$ac_outfile"; then
9510 # The compiler can only warn and ignore the option if not recognized
9511 # So say no if there are warnings other than the usual output.
9512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9515 lt_cv_prog_compiler_pic_works=yes
9518 $RM conftest*
9521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9522 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9524 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9525 case $lt_prog_compiler_pic in
9526 "" | " "*) ;;
9527 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9528 esac
9529 else
9530 lt_prog_compiler_pic=
9531 lt_prog_compiler_can_build_shared=no
9542 # Check to make sure the static flag actually works.
9544 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9546 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9547 if ${lt_cv_prog_compiler_static_works+:} false; then :
9548 $as_echo_n "(cached) " >&6
9549 else
9550 lt_cv_prog_compiler_static_works=no
9551 save_LDFLAGS="$LDFLAGS"
9552 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9553 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9554 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9555 # The linker can only warn and ignore the option if not recognized
9556 # So say no if there are warnings
9557 if test -s conftest.err; then
9558 # Append any errors to the config.log.
9559 cat conftest.err 1>&5
9560 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9561 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9562 if diff conftest.exp conftest.er2 >/dev/null; then
9563 lt_cv_prog_compiler_static_works=yes
9565 else
9566 lt_cv_prog_compiler_static_works=yes
9569 $RM -r conftest*
9570 LDFLAGS="$save_LDFLAGS"
9573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9574 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9576 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9578 else
9579 lt_prog_compiler_static=
9588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9589 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9590 if ${lt_cv_prog_compiler_c_o+:} false; then :
9591 $as_echo_n "(cached) " >&6
9592 else
9593 lt_cv_prog_compiler_c_o=no
9594 $RM -r conftest 2>/dev/null
9595 mkdir conftest
9596 cd conftest
9597 mkdir out
9598 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9600 lt_compiler_flag="-o out/conftest2.$ac_objext"
9601 # Insert the option either (1) after the last *FLAGS variable, or
9602 # (2) before a word containing "conftest.", or (3) at the end.
9603 # Note that $ac_compile itself does not contain backslashes and begins
9604 # with a dollar sign (not a hyphen), so the echo should work correctly.
9605 lt_compile=`echo "$ac_compile" | $SED \
9606 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9607 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9608 -e 's:$: $lt_compiler_flag:'`
9609 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9610 (eval "$lt_compile" 2>out/conftest.err)
9611 ac_status=$?
9612 cat out/conftest.err >&5
9613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9614 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9615 then
9616 # The compiler can only warn and ignore the option if not recognized
9617 # So say no if there are warnings
9618 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9619 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9620 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9621 lt_cv_prog_compiler_c_o=yes
9624 chmod u+w . 2>&5
9625 $RM conftest*
9626 # SGI C++ compiler will create directory out/ii_files/ for
9627 # template instantiation
9628 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9629 $RM out/* && rmdir out
9630 cd ..
9631 $RM -r conftest
9632 $RM conftest*
9635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9636 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9644 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9645 if ${lt_cv_prog_compiler_c_o+:} false; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 lt_cv_prog_compiler_c_o=no
9649 $RM -r conftest 2>/dev/null
9650 mkdir conftest
9651 cd conftest
9652 mkdir out
9653 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9655 lt_compiler_flag="-o out/conftest2.$ac_objext"
9656 # Insert the option either (1) after the last *FLAGS variable, or
9657 # (2) before a word containing "conftest.", or (3) at the end.
9658 # Note that $ac_compile itself does not contain backslashes and begins
9659 # with a dollar sign (not a hyphen), so the echo should work correctly.
9660 lt_compile=`echo "$ac_compile" | $SED \
9661 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9662 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9663 -e 's:$: $lt_compiler_flag:'`
9664 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9665 (eval "$lt_compile" 2>out/conftest.err)
9666 ac_status=$?
9667 cat out/conftest.err >&5
9668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9670 then
9671 # The compiler can only warn and ignore the option if not recognized
9672 # So say no if there are warnings
9673 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9674 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9675 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9676 lt_cv_prog_compiler_c_o=yes
9679 chmod u+w . 2>&5
9680 $RM conftest*
9681 # SGI C++ compiler will create directory out/ii_files/ for
9682 # template instantiation
9683 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9684 $RM out/* && rmdir out
9685 cd ..
9686 $RM -r conftest
9687 $RM conftest*
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9691 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9696 hard_links="nottested"
9697 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9698 # do not overwrite the value of need_locks provided by the user
9699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9700 $as_echo_n "checking if we can lock with hard links... " >&6; }
9701 hard_links=yes
9702 $RM conftest*
9703 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9704 touch conftest.a
9705 ln conftest.a conftest.b 2>&5 || hard_links=no
9706 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9708 $as_echo "$hard_links" >&6; }
9709 if test "$hard_links" = no; then
9710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9711 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9712 need_locks=warn
9714 else
9715 need_locks=no
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9724 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9726 runpath_var=
9727 allow_undefined_flag=
9728 always_export_symbols=no
9729 archive_cmds=
9730 archive_expsym_cmds=
9731 compiler_needs_object=no
9732 enable_shared_with_static_runtimes=no
9733 export_dynamic_flag_spec=
9734 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9735 hardcode_automatic=no
9736 hardcode_direct=no
9737 hardcode_direct_absolute=no
9738 hardcode_libdir_flag_spec=
9739 hardcode_libdir_flag_spec_ld=
9740 hardcode_libdir_separator=
9741 hardcode_minus_L=no
9742 hardcode_shlibpath_var=unsupported
9743 inherit_rpath=no
9744 link_all_deplibs=unknown
9745 module_cmds=
9746 module_expsym_cmds=
9747 old_archive_from_new_cmds=
9748 old_archive_from_expsyms_cmds=
9749 thread_safe_flag_spec=
9750 whole_archive_flag_spec=
9751 # include_expsyms should be a list of space-separated symbols to be *always*
9752 # included in the symbol list
9753 include_expsyms=
9754 # exclude_expsyms can be an extended regexp of symbols to exclude
9755 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9756 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9757 # as well as any symbol that contains `d'.
9758 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9759 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9760 # platforms (ab)use it in PIC code, but their linkers get confused if
9761 # the symbol is explicitly referenced. Since portable code cannot
9762 # rely on this symbol name, it's probably fine to never include it in
9763 # preloaded symbol tables.
9764 # Exclude shared library initialization/finalization symbols.
9765 extract_expsyms_cmds=
9767 case $host_os in
9768 cygwin* | mingw* | pw32* | cegcc*)
9769 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9770 # When not using gcc, we currently assume that we are using
9771 # Microsoft Visual C++.
9772 if test "$GCC" != yes; then
9773 with_gnu_ld=no
9776 interix*)
9777 # we just hope/assume this is gcc and not c89 (= MSVC++)
9778 with_gnu_ld=yes
9780 openbsd*)
9781 with_gnu_ld=no
9783 esac
9785 ld_shlibs=yes
9787 # On some targets, GNU ld is compatible enough with the native linker
9788 # that we're better off using the native interface for both.
9789 lt_use_gnu_ld_interface=no
9790 if test "$with_gnu_ld" = yes; then
9791 case $host_os in
9792 aix*)
9793 # The AIX port of GNU ld has always aspired to compatibility
9794 # with the native linker. However, as the warning in the GNU ld
9795 # block says, versions before 2.19.5* couldn't really create working
9796 # shared libraries, regardless of the interface used.
9797 case `$LD -v 2>&1` in
9798 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9799 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9800 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9802 lt_use_gnu_ld_interface=yes
9804 esac
9807 lt_use_gnu_ld_interface=yes
9809 esac
9812 if test "$lt_use_gnu_ld_interface" = yes; then
9813 # If archive_cmds runs LD, not CC, wlarc should be empty
9814 wlarc='${wl}'
9816 # Set some defaults for GNU ld with shared library support. These
9817 # are reset later if shared libraries are not supported. Putting them
9818 # here allows them to be overridden if necessary.
9819 runpath_var=LD_RUN_PATH
9820 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9821 export_dynamic_flag_spec='${wl}--export-dynamic'
9822 # ancient GNU ld didn't support --whole-archive et. al.
9823 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9824 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9825 else
9826 whole_archive_flag_spec=
9828 supports_anon_versioning=no
9829 case `$LD -v 2>&1` in
9830 *GNU\ gold*) supports_anon_versioning=yes ;;
9831 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9832 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9833 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9834 *\ 2.11.*) ;; # other 2.11 versions
9835 *) supports_anon_versioning=yes ;;
9836 esac
9838 # See if GNU ld supports shared libraries.
9839 case $host_os in
9840 aix[3-9]*)
9841 # On AIX/PPC, the GNU linker is very broken
9842 if test "$host_cpu" != ia64; then
9843 ld_shlibs=no
9844 cat <<_LT_EOF 1>&2
9846 *** Warning: the GNU linker, at least up to release 2.19, is reported
9847 *** to be unable to reliably create shared libraries on AIX.
9848 *** Therefore, libtool is disabling shared libraries support. If you
9849 *** really care for shared libraries, you may want to install binutils
9850 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9851 *** You will then need to restart the configuration process.
9853 _LT_EOF
9857 amigaos*)
9858 case $host_cpu in
9859 powerpc)
9860 # see comment about AmigaOS4 .so support
9861 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9862 archive_expsym_cmds=''
9864 m68k)
9865 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)'
9866 hardcode_libdir_flag_spec='-L$libdir'
9867 hardcode_minus_L=yes
9869 esac
9872 beos*)
9873 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9874 allow_undefined_flag=unsupported
9875 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9876 # support --undefined. This deserves some investigation. FIXME
9877 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9878 else
9879 ld_shlibs=no
9883 cygwin* | mingw* | pw32* | cegcc*)
9884 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9885 # as there is no search path for DLLs.
9886 hardcode_libdir_flag_spec='-L$libdir'
9887 export_dynamic_flag_spec='${wl}--export-all-symbols'
9888 allow_undefined_flag=unsupported
9889 always_export_symbols=no
9890 enable_shared_with_static_runtimes=yes
9891 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9893 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9894 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9895 # If the export-symbols file already is a .def file (1st line
9896 # is EXPORTS), use it as is; otherwise, prepend...
9897 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9898 cp $export_symbols $output_objdir/$soname.def;
9899 else
9900 echo EXPORTS > $output_objdir/$soname.def;
9901 cat $export_symbols >> $output_objdir/$soname.def;
9903 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9904 else
9905 ld_shlibs=no
9909 haiku*)
9910 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9911 link_all_deplibs=yes
9914 interix[3-9]*)
9915 hardcode_direct=no
9916 hardcode_shlibpath_var=no
9917 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9918 export_dynamic_flag_spec='${wl}-E'
9919 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9920 # Instead, shared libraries are loaded at an image base (0x10000000 by
9921 # default) and relocated if they conflict, which is a slow very memory
9922 # consuming and fragmenting process. To avoid this, we pick a random,
9923 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9924 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9925 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9926 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'
9929 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9930 tmp_diet=no
9931 if test "$host_os" = linux-dietlibc; then
9932 case $cc_basename in
9933 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9934 esac
9936 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9937 && test "$tmp_diet" = no
9938 then
9939 tmp_addflag=' $pic_flag'
9940 tmp_sharedflag='-shared'
9941 case $cc_basename,$host_cpu in
9942 pgcc*) # Portland Group C compiler
9943 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'
9944 tmp_addflag=' $pic_flag'
9946 pgf77* | pgf90* | pgf95* | pgfortran*)
9947 # Portland Group f77 and f90 compilers
9948 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'
9949 tmp_addflag=' $pic_flag -Mnomain' ;;
9950 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9951 tmp_addflag=' -i_dynamic' ;;
9952 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9953 tmp_addflag=' -i_dynamic -nofor_main' ;;
9954 ifc* | ifort*) # Intel Fortran compiler
9955 tmp_addflag=' -nofor_main' ;;
9956 lf95*) # Lahey Fortran 8.1
9957 whole_archive_flag_spec=
9958 tmp_sharedflag='--shared' ;;
9959 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9960 tmp_sharedflag='-qmkshrobj'
9961 tmp_addflag= ;;
9962 nvcc*) # Cuda Compiler Driver 2.2
9963 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'
9964 compiler_needs_object=yes
9966 esac
9967 case `$CC -V 2>&1 | sed 5q` in
9968 *Sun\ C*) # Sun C 5.9
9969 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'
9970 compiler_needs_object=yes
9971 tmp_sharedflag='-G' ;;
9972 *Sun\ F*) # Sun Fortran 8.3
9973 tmp_sharedflag='-G' ;;
9974 esac
9975 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9977 if test "x$supports_anon_versioning" = xyes; then
9978 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9979 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9980 echo "local: *; };" >> $output_objdir/$libname.ver~
9981 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9984 case $cc_basename in
9985 xlf* | bgf* | bgxlf* | mpixlf*)
9986 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9987 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9988 hardcode_libdir_flag_spec=
9989 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9990 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9991 if test "x$supports_anon_versioning" = xyes; then
9992 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9993 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9994 echo "local: *; };" >> $output_objdir/$libname.ver~
9995 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9998 esac
9999 else
10000 ld_shlibs=no
10004 netbsd*)
10005 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10006 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
10007 wlarc=
10008 else
10009 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10010 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10014 solaris*)
10015 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
10016 ld_shlibs=no
10017 cat <<_LT_EOF 1>&2
10019 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
10020 *** create shared libraries on Solaris systems. Therefore, libtool
10021 *** is disabling shared libraries support. We urge you to upgrade GNU
10022 *** binutils to release 2.9.1 or newer. Another option is to modify
10023 *** your PATH or compiler configuration so that the native linker is
10024 *** used, and then restart.
10026 _LT_EOF
10027 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10028 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10029 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10030 else
10031 ld_shlibs=no
10035 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
10036 case `$LD -v 2>&1` in
10037 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10038 ld_shlibs=no
10039 cat <<_LT_EOF 1>&2
10041 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10042 *** reliably create shared libraries on SCO systems. Therefore, libtool
10043 *** is disabling shared libraries support. We urge you to upgrade GNU
10044 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10045 *** your PATH or compiler configuration so that the native linker is
10046 *** used, and then restart.
10048 _LT_EOF
10051 # For security reasons, it is highly recommended that you always
10052 # use absolute paths for naming shared libraries, and exclude the
10053 # DT_RUNPATH tag from executables and libraries. But doing so
10054 # requires that you compile everything twice, which is a pain.
10055 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10056 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10057 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10058 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10059 else
10060 ld_shlibs=no
10063 esac
10066 sunos4*)
10067 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10068 wlarc=
10069 hardcode_direct=yes
10070 hardcode_shlibpath_var=no
10074 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10075 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10076 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10077 else
10078 ld_shlibs=no
10081 esac
10083 if test "$ld_shlibs" = no; then
10084 runpath_var=
10085 hardcode_libdir_flag_spec=
10086 export_dynamic_flag_spec=
10087 whole_archive_flag_spec=
10089 else
10090 # PORTME fill in a description of your system's linker (not GNU ld)
10091 case $host_os in
10092 aix3*)
10093 allow_undefined_flag=unsupported
10094 always_export_symbols=yes
10095 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'
10096 # Note: this linker hardcodes the directories in LIBPATH if there
10097 # are no directories specified by -L.
10098 hardcode_minus_L=yes
10099 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10100 # Neither direct hardcoding nor static linking is supported with a
10101 # broken collect2.
10102 hardcode_direct=unsupported
10106 aix[4-9]*)
10107 if test "$host_cpu" = ia64; then
10108 # On IA64, the linker does run time linking by default, so we don't
10109 # have to do anything special.
10110 aix_use_runtimelinking=no
10111 exp_sym_flag='-Bexport'
10112 no_entry_flag=""
10113 else
10114 # If we're using GNU nm, then we don't want the "-C" option.
10115 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10116 # Also, AIX nm treats weak defined symbols like other global
10117 # defined symbols, whereas GNU nm marks them as "W".
10118 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10119 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'
10120 else
10121 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
10123 aix_use_runtimelinking=no
10125 # Test if we are trying to use run time linking or normal
10126 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10127 # need to do runtime linking.
10128 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10129 for ld_flag in $LDFLAGS; do
10130 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10131 aix_use_runtimelinking=yes
10132 break
10134 done
10136 esac
10138 exp_sym_flag='-bexport'
10139 no_entry_flag='-bnoentry'
10142 # When large executables or shared objects are built, AIX ld can
10143 # have problems creating the table of contents. If linking a library
10144 # or program results in "error TOC overflow" add -mminimal-toc to
10145 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10146 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10148 archive_cmds=''
10149 hardcode_direct=yes
10150 hardcode_direct_absolute=yes
10151 hardcode_libdir_separator=':'
10152 link_all_deplibs=yes
10153 file_list_spec='${wl}-f,'
10155 if test "$GCC" = yes; then
10156 case $host_os in aix4.[012]|aix4.[012].*)
10157 # We only want to do this on AIX 4.2 and lower, the check
10158 # below for broken collect2 doesn't work under 4.3+
10159 collect2name=`${CC} -print-prog-name=collect2`
10160 if test -f "$collect2name" &&
10161 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10162 then
10163 # We have reworked collect2
10165 else
10166 # We have old collect2
10167 hardcode_direct=unsupported
10168 # It fails to find uninstalled libraries when the uninstalled
10169 # path is not listed in the libpath. Setting hardcode_minus_L
10170 # to unsupported forces relinking
10171 hardcode_minus_L=yes
10172 hardcode_libdir_flag_spec='-L$libdir'
10173 hardcode_libdir_separator=
10176 esac
10177 shared_flag='-shared'
10178 if test "$aix_use_runtimelinking" = yes; then
10179 shared_flag="$shared_flag "'${wl}-G'
10181 else
10182 # not using gcc
10183 if test "$host_cpu" = ia64; then
10184 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10185 # chokes on -Wl,-G. The following line is correct:
10186 shared_flag='-G'
10187 else
10188 if test "$aix_use_runtimelinking" = yes; then
10189 shared_flag='${wl}-G'
10190 else
10191 shared_flag='${wl}-bM:SRE'
10196 export_dynamic_flag_spec='${wl}-bexpall'
10197 # It seems that -bexpall does not export symbols beginning with
10198 # underscore (_), so it is better to generate a list of symbols to export.
10199 always_export_symbols=yes
10200 if test "$aix_use_runtimelinking" = yes; then
10201 # Warning - without using the other runtime loading flags (-brtl),
10202 # -berok will link without error, but may produce a broken library.
10203 allow_undefined_flag='-berok'
10204 # Determine the default libpath from the value encoded in an
10205 # empty executable.
10206 if test x$gcc_no_link = xyes; then
10207 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10213 main ()
10217 return 0;
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10222 lt_aix_libpath_sed='
10223 /Import File Strings/,/^$/ {
10224 /^0/ {
10225 s/^0 *\(.*\)$/\1/
10229 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10230 # Check for a 64-bit object if we didn't find anything.
10231 if test -z "$aix_libpath"; then
10232 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10239 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10240 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"
10241 else
10242 if test "$host_cpu" = ia64; then
10243 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10244 allow_undefined_flag="-z nodefs"
10245 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"
10246 else
10247 # Determine the default libpath from the value encoded in an
10248 # empty executable.
10249 if test x$gcc_no_link = xyes; then
10250 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10253 /* end confdefs.h. */
10256 main ()
10260 return 0;
10262 _ACEOF
10263 if ac_fn_c_try_link "$LINENO"; then :
10265 lt_aix_libpath_sed='
10266 /Import File Strings/,/^$/ {
10267 /^0/ {
10268 s/^0 *\(.*\)$/\1/
10272 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10273 # Check for a 64-bit object if we didn't find anything.
10274 if test -z "$aix_libpath"; then
10275 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10278 rm -f core conftest.err conftest.$ac_objext \
10279 conftest$ac_exeext conftest.$ac_ext
10280 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10282 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10283 # Warning - without using the other run time loading flags,
10284 # -berok will link without error, but may produce a broken library.
10285 no_undefined_flag=' ${wl}-bernotok'
10286 allow_undefined_flag=' ${wl}-berok'
10287 if test "$with_gnu_ld" = yes; then
10288 # We only use this code for GNU lds that support --whole-archive.
10289 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10290 else
10291 # Exported symbols can be pulled into shared objects from archives
10292 whole_archive_flag_spec='$convenience'
10294 archive_cmds_need_lc=yes
10295 # This is similar to how AIX traditionally builds its shared libraries.
10296 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'
10301 amigaos*)
10302 case $host_cpu in
10303 powerpc)
10304 # see comment about AmigaOS4 .so support
10305 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10306 archive_expsym_cmds=''
10308 m68k)
10309 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)'
10310 hardcode_libdir_flag_spec='-L$libdir'
10311 hardcode_minus_L=yes
10313 esac
10316 bsdi[45]*)
10317 export_dynamic_flag_spec=-rdynamic
10320 cygwin* | mingw* | pw32* | cegcc*)
10321 # When not using gcc, we currently assume that we are using
10322 # Microsoft Visual C++.
10323 # hardcode_libdir_flag_spec is actually meaningless, as there is
10324 # no search path for DLLs.
10325 hardcode_libdir_flag_spec=' '
10326 allow_undefined_flag=unsupported
10327 # Tell ltmain to make .lib files, not .a files.
10328 libext=lib
10329 # Tell ltmain to make .dll files, not .so files.
10330 shrext_cmds=".dll"
10331 # FIXME: Setting linknames here is a bad hack.
10332 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10333 # The linker will automatically build a .lib file if we build a DLL.
10334 old_archive_from_new_cmds='true'
10335 # FIXME: Should let the user specify the lib program.
10336 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10337 fix_srcfile_path='`cygpath -w "$srcfile"`'
10338 enable_shared_with_static_runtimes=yes
10341 darwin* | rhapsody*)
10344 archive_cmds_need_lc=no
10345 hardcode_direct=no
10346 hardcode_automatic=yes
10347 hardcode_shlibpath_var=unsupported
10348 if test "$lt_cv_ld_force_load" = "yes"; then
10349 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\"`'
10350 else
10351 whole_archive_flag_spec=''
10353 link_all_deplibs=yes
10354 allow_undefined_flag="$_lt_dar_allow_undefined"
10355 case $cc_basename in
10356 ifort*) _lt_dar_can_shared=yes ;;
10357 *) _lt_dar_can_shared=$GCC ;;
10358 esac
10359 if test "$_lt_dar_can_shared" = "yes"; then
10360 output_verbose_link_cmd=func_echo_all
10361 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10362 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10363 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}"
10364 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}"
10366 else
10367 ld_shlibs=no
10372 dgux*)
10373 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10374 hardcode_libdir_flag_spec='-L$libdir'
10375 hardcode_shlibpath_var=no
10378 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10379 # support. Future versions do this automatically, but an explicit c++rt0.o
10380 # does not break anything, and helps significantly (at the cost of a little
10381 # extra space).
10382 freebsd2.2*)
10383 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10384 hardcode_libdir_flag_spec='-R$libdir'
10385 hardcode_direct=yes
10386 hardcode_shlibpath_var=no
10389 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10390 freebsd2.*)
10391 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10392 hardcode_direct=yes
10393 hardcode_minus_L=yes
10394 hardcode_shlibpath_var=no
10397 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10398 freebsd* | dragonfly*)
10399 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10400 hardcode_libdir_flag_spec='-R$libdir'
10401 hardcode_direct=yes
10402 hardcode_shlibpath_var=no
10405 hpux9*)
10406 if test "$GCC" = yes; then
10407 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'
10408 else
10409 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'
10411 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10412 hardcode_libdir_separator=:
10413 hardcode_direct=yes
10415 # hardcode_minus_L: Not really in the search PATH,
10416 # but as the default location of the library.
10417 hardcode_minus_L=yes
10418 export_dynamic_flag_spec='${wl}-E'
10421 hpux10*)
10422 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10423 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10424 else
10425 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10427 if test "$with_gnu_ld" = no; then
10428 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10429 hardcode_libdir_flag_spec_ld='+b $libdir'
10430 hardcode_libdir_separator=:
10431 hardcode_direct=yes
10432 hardcode_direct_absolute=yes
10433 export_dynamic_flag_spec='${wl}-E'
10434 # hardcode_minus_L: Not really in the search PATH,
10435 # but as the default location of the library.
10436 hardcode_minus_L=yes
10440 hpux11*)
10441 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10442 case $host_cpu in
10443 hppa*64*)
10444 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10446 ia64*)
10447 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10450 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10452 esac
10453 else
10454 case $host_cpu in
10455 hppa*64*)
10456 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10458 ia64*)
10459 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10463 # Older versions of the 11.00 compiler do not understand -b yet
10464 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10466 $as_echo_n "checking if $CC understands -b... " >&6; }
10467 if ${lt_cv_prog_compiler__b+:} false; then :
10468 $as_echo_n "(cached) " >&6
10469 else
10470 lt_cv_prog_compiler__b=no
10471 save_LDFLAGS="$LDFLAGS"
10472 LDFLAGS="$LDFLAGS -b"
10473 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10474 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10475 # The linker can only warn and ignore the option if not recognized
10476 # So say no if there are warnings
10477 if test -s conftest.err; then
10478 # Append any errors to the config.log.
10479 cat conftest.err 1>&5
10480 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10481 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10482 if diff conftest.exp conftest.er2 >/dev/null; then
10483 lt_cv_prog_compiler__b=yes
10485 else
10486 lt_cv_prog_compiler__b=yes
10489 $RM -r conftest*
10490 LDFLAGS="$save_LDFLAGS"
10493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10494 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10496 if test x"$lt_cv_prog_compiler__b" = xyes; then
10497 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10498 else
10499 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10503 esac
10505 if test "$with_gnu_ld" = no; then
10506 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10507 hardcode_libdir_separator=:
10509 case $host_cpu in
10510 hppa*64*|ia64*)
10511 hardcode_direct=no
10512 hardcode_shlibpath_var=no
10515 hardcode_direct=yes
10516 hardcode_direct_absolute=yes
10517 export_dynamic_flag_spec='${wl}-E'
10519 # hardcode_minus_L: Not really in the search PATH,
10520 # but as the default location of the library.
10521 hardcode_minus_L=yes
10523 esac
10527 irix5* | irix6* | nonstopux*)
10528 if test "$GCC" = yes; then
10529 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'
10530 # Try to use the -exported_symbol ld option, if it does not
10531 # work, assume that -exports_file does not work either and
10532 # implicitly export all symbols.
10533 save_LDFLAGS="$LDFLAGS"
10534 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10535 if test x$gcc_no_link = xyes; then
10536 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10539 /* end confdefs.h. */
10540 int foo(void) {}
10541 _ACEOF
10542 if ac_fn_c_try_link "$LINENO"; then :
10543 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'
10546 rm -f core conftest.err conftest.$ac_objext \
10547 conftest$ac_exeext conftest.$ac_ext
10548 LDFLAGS="$save_LDFLAGS"
10549 else
10550 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'
10551 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'
10553 archive_cmds_need_lc='no'
10554 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10555 hardcode_libdir_separator=:
10556 inherit_rpath=yes
10557 link_all_deplibs=yes
10560 netbsd*)
10561 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10562 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10563 else
10564 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10566 hardcode_libdir_flag_spec='-R$libdir'
10567 hardcode_direct=yes
10568 hardcode_shlibpath_var=no
10571 newsos6)
10572 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10573 hardcode_direct=yes
10574 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10575 hardcode_libdir_separator=:
10576 hardcode_shlibpath_var=no
10579 *nto* | *qnx*)
10582 openbsd*)
10583 if test -f /usr/libexec/ld.so; then
10584 hardcode_direct=yes
10585 hardcode_shlibpath_var=no
10586 hardcode_direct_absolute=yes
10587 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10588 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10589 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10590 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10591 export_dynamic_flag_spec='${wl}-E'
10592 else
10593 case $host_os in
10594 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10595 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10596 hardcode_libdir_flag_spec='-R$libdir'
10599 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10600 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10602 esac
10604 else
10605 ld_shlibs=no
10609 os2*)
10610 hardcode_libdir_flag_spec='-L$libdir'
10611 hardcode_minus_L=yes
10612 allow_undefined_flag=unsupported
10613 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'
10614 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10617 osf3*)
10618 if test "$GCC" = yes; then
10619 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10620 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'
10621 else
10622 allow_undefined_flag=' -expect_unresolved \*'
10623 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'
10625 archive_cmds_need_lc='no'
10626 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10627 hardcode_libdir_separator=:
10630 osf4* | osf5*) # as osf3* with the addition of -msym flag
10631 if test "$GCC" = yes; then
10632 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10633 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'
10634 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10635 else
10636 allow_undefined_flag=' -expect_unresolved \*'
10637 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'
10638 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~
10639 $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'
10641 # Both c and cxx compiler support -rpath directly
10642 hardcode_libdir_flag_spec='-rpath $libdir'
10644 archive_cmds_need_lc='no'
10645 hardcode_libdir_separator=:
10648 solaris*)
10649 no_undefined_flag=' -z defs'
10650 if test "$GCC" = yes; then
10651 wlarc='${wl}'
10652 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10653 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10654 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10655 else
10656 case `$CC -V 2>&1` in
10657 *"Compilers 5.0"*)
10658 wlarc=''
10659 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10660 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10661 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10664 wlarc='${wl}'
10665 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10666 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10667 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10669 esac
10671 hardcode_libdir_flag_spec='-R$libdir'
10672 hardcode_shlibpath_var=no
10673 case $host_os in
10674 solaris2.[0-5] | solaris2.[0-5].*) ;;
10676 # The compiler driver will combine and reorder linker options,
10677 # but understands `-z linker_flag'. GCC discards it without `$wl',
10678 # but is careful enough not to reorder.
10679 # Supported since Solaris 2.6 (maybe 2.5.1?)
10680 if test "$GCC" = yes; then
10681 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10682 else
10683 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10686 esac
10687 link_all_deplibs=yes
10690 sunos4*)
10691 if test "x$host_vendor" = xsequent; then
10692 # Use $CC to link under sequent, because it throws in some extra .o
10693 # files that make .init and .fini sections work.
10694 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10695 else
10696 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10698 hardcode_libdir_flag_spec='-L$libdir'
10699 hardcode_direct=yes
10700 hardcode_minus_L=yes
10701 hardcode_shlibpath_var=no
10704 sysv4)
10705 case $host_vendor in
10706 sni)
10707 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10708 hardcode_direct=yes # is this really true???
10710 siemens)
10711 ## LD is ld it makes a PLAMLIB
10712 ## CC just makes a GrossModule.
10713 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10714 reload_cmds='$CC -r -o $output$reload_objs'
10715 hardcode_direct=no
10717 motorola)
10718 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10719 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10721 esac
10722 runpath_var='LD_RUN_PATH'
10723 hardcode_shlibpath_var=no
10726 sysv4.3*)
10727 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10728 hardcode_shlibpath_var=no
10729 export_dynamic_flag_spec='-Bexport'
10732 sysv4*MP*)
10733 if test -d /usr/nec; then
10734 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10735 hardcode_shlibpath_var=no
10736 runpath_var=LD_RUN_PATH
10737 hardcode_runpath_var=yes
10738 ld_shlibs=yes
10742 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10743 no_undefined_flag='${wl}-z,text'
10744 archive_cmds_need_lc=no
10745 hardcode_shlibpath_var=no
10746 runpath_var='LD_RUN_PATH'
10748 if test "$GCC" = yes; then
10749 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10750 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10751 else
10752 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10753 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10757 sysv5* | sco3.2v5* | sco5v6*)
10758 # Note: We can NOT use -z defs as we might desire, because we do not
10759 # link with -lc, and that would cause any symbols used from libc to
10760 # always be unresolved, which means just about no library would
10761 # ever link correctly. If we're not using GNU ld we use -z text
10762 # though, which does catch some bad symbols but isn't as heavy-handed
10763 # as -z defs.
10764 no_undefined_flag='${wl}-z,text'
10765 allow_undefined_flag='${wl}-z,nodefs'
10766 archive_cmds_need_lc=no
10767 hardcode_shlibpath_var=no
10768 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10769 hardcode_libdir_separator=':'
10770 link_all_deplibs=yes
10771 export_dynamic_flag_spec='${wl}-Bexport'
10772 runpath_var='LD_RUN_PATH'
10774 if test "$GCC" = yes; then
10775 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10776 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10777 else
10778 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10779 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10783 uts4*)
10784 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10785 hardcode_libdir_flag_spec='-L$libdir'
10786 hardcode_shlibpath_var=no
10790 ld_shlibs=no
10792 esac
10794 if test x$host_vendor = xsni; then
10795 case $host in
10796 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10797 export_dynamic_flag_spec='${wl}-Blargedynsym'
10799 esac
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10804 $as_echo "$ld_shlibs" >&6; }
10805 test "$ld_shlibs" = no && can_build_shared=no
10807 with_gnu_ld=$with_gnu_ld
10824 # Do we need to explicitly link libc?
10826 case "x$archive_cmds_need_lc" in
10827 x|xyes)
10828 # Assume -lc should be added
10829 archive_cmds_need_lc=yes
10831 if test "$enable_shared" = yes && test "$GCC" = yes; then
10832 case $archive_cmds in
10833 *'~'*)
10834 # FIXME: we may have to deal with multi-command sequences.
10836 '$CC '*)
10837 # Test whether the compiler implicitly links with -lc since on some
10838 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10839 # to ld, don't add -lc before -lgcc.
10840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10841 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10842 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10843 $as_echo_n "(cached) " >&6
10844 else
10845 $RM conftest*
10846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10849 (eval $ac_compile) 2>&5
10850 ac_status=$?
10851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10852 test $ac_status = 0; } 2>conftest.err; then
10853 soname=conftest
10854 lib=conftest
10855 libobjs=conftest.$ac_objext
10856 deplibs=
10857 wl=$lt_prog_compiler_wl
10858 pic_flag=$lt_prog_compiler_pic
10859 compiler_flags=-v
10860 linker_flags=-v
10861 verstring=
10862 output_objdir=.
10863 libname=conftest
10864 lt_save_allow_undefined_flag=$allow_undefined_flag
10865 allow_undefined_flag=
10866 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10867 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10868 ac_status=$?
10869 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10870 test $ac_status = 0; }
10871 then
10872 lt_cv_archive_cmds_need_lc=no
10873 else
10874 lt_cv_archive_cmds_need_lc=yes
10876 allow_undefined_flag=$lt_save_allow_undefined_flag
10877 else
10878 cat conftest.err 1>&5
10880 $RM conftest*
10883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10884 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10885 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10887 esac
10890 esac
11048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11049 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11051 if test "$GCC" = yes; then
11052 case $host_os in
11053 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11054 *) lt_awk_arg="/^libraries:/" ;;
11055 esac
11056 case $host_os in
11057 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11058 *) lt_sed_strip_eq="s,=/,/,g" ;;
11059 esac
11060 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11061 case $lt_search_path_spec in
11062 *\;*)
11063 # if the path contains ";" then we assume it to be the separator
11064 # otherwise default to the standard path separator (i.e. ":") - it is
11065 # assumed that no part of a normal pathname contains ";" but that should
11066 # okay in the real world where ";" in dirpaths is itself problematic.
11067 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11070 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11072 esac
11073 # Ok, now we have the path, separated by spaces, we can step through it
11074 # and add multilib dir if necessary.
11075 lt_tmp_lt_search_path_spec=
11076 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11077 for lt_sys_path in $lt_search_path_spec; do
11078 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11079 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11080 else
11081 test -d "$lt_sys_path" && \
11082 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11084 done
11085 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11086 BEGIN {RS=" "; FS="/|\n";} {
11087 lt_foo="";
11088 lt_count=0;
11089 for (lt_i = NF; lt_i > 0; lt_i--) {
11090 if ($lt_i != "" && $lt_i != ".") {
11091 if ($lt_i == "..") {
11092 lt_count++;
11093 } else {
11094 if (lt_count == 0) {
11095 lt_foo="/" $lt_i lt_foo;
11096 } else {
11097 lt_count--;
11102 if (lt_foo != "") { lt_freq[lt_foo]++; }
11103 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11105 # AWK program above erroneously prepends '/' to C:/dos/paths
11106 # for these hosts.
11107 case $host_os in
11108 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11109 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11110 esac
11111 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11112 else
11113 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11115 library_names_spec=
11116 libname_spec='lib$name'
11117 soname_spec=
11118 shrext_cmds=".so"
11119 postinstall_cmds=
11120 postuninstall_cmds=
11121 finish_cmds=
11122 finish_eval=
11123 shlibpath_var=
11124 shlibpath_overrides_runpath=unknown
11125 version_type=none
11126 dynamic_linker="$host_os ld.so"
11127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11128 need_lib_prefix=unknown
11129 hardcode_into_libs=no
11131 # when you set need_version to no, make sure it does not cause -set_version
11132 # flags to be left without arguments
11133 need_version=unknown
11135 case $host_os in
11136 aix3*)
11137 version_type=linux
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11139 shlibpath_var=LIBPATH
11141 # AIX 3 has no versioning support, so we append a major version to the name.
11142 soname_spec='${libname}${release}${shared_ext}$major'
11145 aix[4-9]*)
11146 version_type=linux
11147 need_lib_prefix=no
11148 need_version=no
11149 hardcode_into_libs=yes
11150 if test "$host_cpu" = ia64; then
11151 # AIX 5 supports IA64
11152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11153 shlibpath_var=LD_LIBRARY_PATH
11154 else
11155 # With GCC up to 2.95.x, collect2 would create an import file
11156 # for dependence libraries. The import file would start with
11157 # the line `#! .'. This would cause the generated library to
11158 # depend on `.', always an invalid library. This was fixed in
11159 # development snapshots of GCC prior to 3.0.
11160 case $host_os in
11161 aix4 | aix4.[01] | aix4.[01].*)
11162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11163 echo ' yes '
11164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11166 else
11167 can_build_shared=no
11170 esac
11171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11172 # soname into executable. Probably we can add versioning support to
11173 # collect2, so additional links can be useful in future.
11174 if test "$aix_use_runtimelinking" = yes; then
11175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11176 # instead of lib<name>.a to let people know that these are not
11177 # typical AIX shared libraries.
11178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11179 else
11180 # We preserve .a as extension for shared libraries through AIX4.2
11181 # and later when we are not doing run time linking.
11182 library_names_spec='${libname}${release}.a $libname.a'
11183 soname_spec='${libname}${release}${shared_ext}$major'
11185 shlibpath_var=LIBPATH
11189 amigaos*)
11190 case $host_cpu in
11191 powerpc)
11192 # Since July 2007 AmigaOS4 officially supports .so libraries.
11193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11196 m68k)
11197 library_names_spec='$libname.ixlibrary $libname.a'
11198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11199 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'
11201 esac
11204 beos*)
11205 library_names_spec='${libname}${shared_ext}'
11206 dynamic_linker="$host_os ld.so"
11207 shlibpath_var=LIBRARY_PATH
11210 bsdi[45]*)
11211 version_type=linux
11212 need_version=no
11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 soname_spec='${libname}${release}${shared_ext}$major'
11215 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11216 shlibpath_var=LD_LIBRARY_PATH
11217 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11218 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11219 # the default ld.so.conf also contains /usr/contrib/lib and
11220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11221 # libtool to hard-code these into programs
11224 cygwin* | mingw* | pw32* | cegcc*)
11225 version_type=windows
11226 shrext_cmds=".dll"
11227 need_version=no
11228 need_lib_prefix=no
11230 case $GCC,$host_os in
11231 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11232 library_names_spec='$libname.dll.a'
11233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11234 postinstall_cmds='base_file=`basename \${file}`~
11235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11236 dldir=$destdir/`dirname \$dlpath`~
11237 test -d \$dldir || mkdir -p \$dldir~
11238 $install_prog $dir/$dlname \$dldir/$dlname~
11239 chmod a+x \$dldir/$dlname~
11240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11243 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11244 dlpath=$dir/\$dldll~
11245 $RM \$dlpath'
11246 shlibpath_overrides_runpath=yes
11248 case $host_os in
11249 cygwin*)
11250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11251 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11253 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11255 mingw* | cegcc*)
11256 # MinGW DLLs use traditional 'lib' prefix
11257 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11259 pw32*)
11260 # pw32 DLLs use 'pw' prefix rather than 'lib'
11261 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11263 esac
11267 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11269 esac
11270 dynamic_linker='Win32 ld.exe'
11271 # FIXME: first we should search . and the directory the executable is in
11272 shlibpath_var=PATH
11275 darwin* | rhapsody*)
11276 dynamic_linker="$host_os dyld"
11277 version_type=darwin
11278 need_lib_prefix=no
11279 need_version=no
11280 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11281 soname_spec='${libname}${release}${major}$shared_ext'
11282 shlibpath_overrides_runpath=yes
11283 shlibpath_var=DYLD_LIBRARY_PATH
11284 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11286 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11287 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11290 dgux*)
11291 version_type=linux
11292 need_lib_prefix=no
11293 need_version=no
11294 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11295 soname_spec='${libname}${release}${shared_ext}$major'
11296 shlibpath_var=LD_LIBRARY_PATH
11299 freebsd* | dragonfly*)
11300 # DragonFly does not have aout. When/if they implement a new
11301 # versioning mechanism, adjust this.
11302 if test -x /usr/bin/objformat; then
11303 objformat=`/usr/bin/objformat`
11304 else
11305 case $host_os in
11306 freebsd[23].*) objformat=aout ;;
11307 *) objformat=elf ;;
11308 esac
11310 version_type=freebsd-$objformat
11311 case $version_type in
11312 freebsd-elf*)
11313 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11314 need_version=no
11315 need_lib_prefix=no
11317 freebsd-*)
11318 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11319 need_version=yes
11321 esac
11322 shlibpath_var=LD_LIBRARY_PATH
11323 case $host_os in
11324 freebsd2.*)
11325 shlibpath_overrides_runpath=yes
11327 freebsd3.[01]* | freebsdelf3.[01]*)
11328 shlibpath_overrides_runpath=yes
11329 hardcode_into_libs=yes
11331 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11332 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11333 shlibpath_overrides_runpath=no
11334 hardcode_into_libs=yes
11336 *) # from 4.6 on, and DragonFly
11337 shlibpath_overrides_runpath=yes
11338 hardcode_into_libs=yes
11340 esac
11343 haiku*)
11344 version_type=linux
11345 need_lib_prefix=no
11346 need_version=no
11347 dynamic_linker="$host_os runtime_loader"
11348 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11349 soname_spec='${libname}${release}${shared_ext}$major'
11350 shlibpath_var=LIBRARY_PATH
11351 shlibpath_overrides_runpath=yes
11352 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11353 hardcode_into_libs=yes
11356 hpux9* | hpux10* | hpux11*)
11357 # Give a soname corresponding to the major version so that dld.sl refuses to
11358 # link against other versions.
11359 version_type=sunos
11360 need_lib_prefix=no
11361 need_version=no
11362 case $host_cpu in
11363 ia64*)
11364 shrext_cmds='.so'
11365 hardcode_into_libs=yes
11366 dynamic_linker="$host_os dld.so"
11367 shlibpath_var=LD_LIBRARY_PATH
11368 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11370 soname_spec='${libname}${release}${shared_ext}$major'
11371 if test "X$HPUX_IA64_MODE" = X32; then
11372 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11373 else
11374 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11376 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11378 hppa*64*)
11379 shrext_cmds='.sl'
11380 hardcode_into_libs=yes
11381 dynamic_linker="$host_os dld.sl"
11382 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11383 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11385 soname_spec='${libname}${release}${shared_ext}$major'
11386 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11387 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11390 shrext_cmds='.sl'
11391 dynamic_linker="$host_os dld.sl"
11392 shlibpath_var=SHLIB_PATH
11393 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11394 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11395 soname_spec='${libname}${release}${shared_ext}$major'
11397 esac
11398 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11399 postinstall_cmds='chmod 555 $lib'
11400 # or fails outright, so override atomically:
11401 install_override_mode=555
11404 interix[3-9]*)
11405 version_type=linux
11406 need_lib_prefix=no
11407 need_version=no
11408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11409 soname_spec='${libname}${release}${shared_ext}$major'
11410 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11411 shlibpath_var=LD_LIBRARY_PATH
11412 shlibpath_overrides_runpath=no
11413 hardcode_into_libs=yes
11416 irix5* | irix6* | nonstopux*)
11417 case $host_os in
11418 nonstopux*) version_type=nonstopux ;;
11420 if test "$lt_cv_prog_gnu_ld" = yes; then
11421 version_type=linux
11422 else
11423 version_type=irix
11424 fi ;;
11425 esac
11426 need_lib_prefix=no
11427 need_version=no
11428 soname_spec='${libname}${release}${shared_ext}$major'
11429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11430 case $host_os in
11431 irix5* | nonstopux*)
11432 libsuff= shlibsuff=
11435 case $LD in # libtool.m4 will add one of these switches to LD
11436 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11437 libsuff= shlibsuff= libmagic=32-bit;;
11438 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11439 libsuff=32 shlibsuff=N32 libmagic=N32;;
11440 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11441 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11442 *) libsuff= shlibsuff= libmagic=never-match;;
11443 esac
11445 esac
11446 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11447 shlibpath_overrides_runpath=no
11448 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11449 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11450 hardcode_into_libs=yes
11453 # No shared lib support for Linux oldld, aout, or coff.
11454 linux*oldld* | linux*aout* | linux*coff*)
11455 dynamic_linker=no
11458 # This must be Linux ELF.
11460 # uclinux* changes (here and below) have been submitted to the libtool
11461 # project, but have not yet been accepted: they are GCC-local changes
11462 # for the time being. (See
11463 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11464 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11465 version_type=linux
11466 need_lib_prefix=no
11467 need_version=no
11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11469 soname_spec='${libname}${release}${shared_ext}$major'
11470 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11471 shlibpath_var=LD_LIBRARY_PATH
11472 shlibpath_overrides_runpath=no
11474 # Some binutils ld are patched to set DT_RUNPATH
11475 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11476 $as_echo_n "(cached) " >&6
11477 else
11478 lt_cv_shlibpath_overrides_runpath=no
11479 save_LDFLAGS=$LDFLAGS
11480 save_libdir=$libdir
11481 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11482 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11483 if test x$gcc_no_link = xyes; then
11484 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11487 /* end confdefs.h. */
11490 main ()
11494 return 0;
11496 _ACEOF
11497 if ac_fn_c_try_link "$LINENO"; then :
11498 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11499 lt_cv_shlibpath_overrides_runpath=yes
11502 rm -f core conftest.err conftest.$ac_objext \
11503 conftest$ac_exeext conftest.$ac_ext
11504 LDFLAGS=$save_LDFLAGS
11505 libdir=$save_libdir
11509 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11511 # This implies no fast_install, which is unacceptable.
11512 # Some rework will be needed to allow for fast_install
11513 # before this can be enabled.
11514 hardcode_into_libs=yes
11516 # Append ld.so.conf contents to the search path
11517 if test -f /etc/ld.so.conf; then
11518 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' ' '`
11519 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11522 # We used to test for /lib/ld.so.1 and disable shared libraries on
11523 # powerpc, because MkLinux only supported shared libraries with the
11524 # GNU dynamic linker. Since this was broken with cross compilers,
11525 # most powerpc-linux boxes support dynamic linking these days and
11526 # people can always --disable-shared, the test was removed, and we
11527 # assume the GNU/Linux dynamic linker is in use.
11528 dynamic_linker='GNU/Linux ld.so'
11531 netbsd*)
11532 version_type=sunos
11533 need_lib_prefix=no
11534 need_version=no
11535 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11537 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11538 dynamic_linker='NetBSD (a.out) ld.so'
11539 else
11540 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11541 soname_spec='${libname}${release}${shared_ext}$major'
11542 dynamic_linker='NetBSD ld.elf_so'
11544 shlibpath_var=LD_LIBRARY_PATH
11545 shlibpath_overrides_runpath=yes
11546 hardcode_into_libs=yes
11549 newsos6)
11550 version_type=linux
11551 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11552 shlibpath_var=LD_LIBRARY_PATH
11553 shlibpath_overrides_runpath=yes
11556 *nto* | *qnx*)
11557 version_type=qnx
11558 need_lib_prefix=no
11559 need_version=no
11560 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11561 soname_spec='${libname}${release}${shared_ext}$major'
11562 shlibpath_var=LD_LIBRARY_PATH
11563 shlibpath_overrides_runpath=no
11564 hardcode_into_libs=yes
11565 dynamic_linker='ldqnx.so'
11568 openbsd*)
11569 version_type=sunos
11570 sys_lib_dlsearch_path_spec="/usr/lib"
11571 need_lib_prefix=no
11572 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11573 case $host_os in
11574 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11575 *) need_version=no ;;
11576 esac
11577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11578 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11579 shlibpath_var=LD_LIBRARY_PATH
11580 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11581 case $host_os in
11582 openbsd2.[89] | openbsd2.[89].*)
11583 shlibpath_overrides_runpath=no
11586 shlibpath_overrides_runpath=yes
11588 esac
11589 else
11590 shlibpath_overrides_runpath=yes
11594 os2*)
11595 libname_spec='$name'
11596 shrext_cmds=".dll"
11597 need_lib_prefix=no
11598 library_names_spec='$libname${shared_ext} $libname.a'
11599 dynamic_linker='OS/2 ld.exe'
11600 shlibpath_var=LIBPATH
11603 osf3* | osf4* | osf5*)
11604 version_type=osf
11605 need_lib_prefix=no
11606 need_version=no
11607 soname_spec='${libname}${release}${shared_ext}$major'
11608 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11609 shlibpath_var=LD_LIBRARY_PATH
11610 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11611 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11614 rdos*)
11615 dynamic_linker=no
11618 solaris*)
11619 version_type=linux
11620 need_lib_prefix=no
11621 need_version=no
11622 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11623 soname_spec='${libname}${release}${shared_ext}$major'
11624 shlibpath_var=LD_LIBRARY_PATH
11625 shlibpath_overrides_runpath=yes
11626 hardcode_into_libs=yes
11627 # ldd complains unless libraries are executable
11628 postinstall_cmds='chmod +x $lib'
11631 sunos4*)
11632 version_type=sunos
11633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11634 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11635 shlibpath_var=LD_LIBRARY_PATH
11636 shlibpath_overrides_runpath=yes
11637 if test "$with_gnu_ld" = yes; then
11638 need_lib_prefix=no
11640 need_version=yes
11643 sysv4 | sysv4.3*)
11644 version_type=linux
11645 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11646 soname_spec='${libname}${release}${shared_ext}$major'
11647 shlibpath_var=LD_LIBRARY_PATH
11648 case $host_vendor in
11649 sni)
11650 shlibpath_overrides_runpath=no
11651 need_lib_prefix=no
11652 runpath_var=LD_RUN_PATH
11654 siemens)
11655 need_lib_prefix=no
11657 motorola)
11658 need_lib_prefix=no
11659 need_version=no
11660 shlibpath_overrides_runpath=no
11661 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11663 esac
11666 sysv4*MP*)
11667 if test -d /usr/nec ;then
11668 version_type=linux
11669 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11670 soname_spec='$libname${shared_ext}.$major'
11671 shlibpath_var=LD_LIBRARY_PATH
11675 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11676 version_type=freebsd-elf
11677 need_lib_prefix=no
11678 need_version=no
11679 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11680 soname_spec='${libname}${release}${shared_ext}$major'
11681 shlibpath_var=LD_LIBRARY_PATH
11682 shlibpath_overrides_runpath=yes
11683 hardcode_into_libs=yes
11684 if test "$with_gnu_ld" = yes; then
11685 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11686 else
11687 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11688 case $host_os in
11689 sco3.2v5*)
11690 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11692 esac
11694 sys_lib_dlsearch_path_spec='/usr/lib'
11697 tpf*)
11698 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11699 version_type=linux
11700 need_lib_prefix=no
11701 need_version=no
11702 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11703 shlibpath_var=LD_LIBRARY_PATH
11704 shlibpath_overrides_runpath=no
11705 hardcode_into_libs=yes
11708 uts4*)
11709 version_type=linux
11710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11711 soname_spec='${libname}${release}${shared_ext}$major'
11712 shlibpath_var=LD_LIBRARY_PATH
11715 # Shared libraries for VwWorks, >= 7 only at this stage
11716 # and (fpic) still incompatible with "large" code models
11717 # in a few configurations. Only for RTP mode in any case,
11718 # and upon explicit request at configure time.
11719 vxworks7*)
11720 dynamic_linker=no
11721 case ${with_multisubdir}-${enable_shared} in
11722 *large*)
11724 *mrtp*-yes)
11725 version_type=linux
11726 need_lib_prefix=no
11727 need_version=no
11728 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11729 soname_spec='${libname}${release}${shared_ext}$major'
11730 dynamic_linker="$host_os module_loader"
11732 esac
11735 dynamic_linker=no
11737 esac
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11739 $as_echo "$dynamic_linker" >&6; }
11740 test "$dynamic_linker" = no && can_build_shared=no
11742 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11743 if test "$GCC" = yes; then
11744 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11747 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11748 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11750 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11751 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11846 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11847 hardcode_action=
11848 if test -n "$hardcode_libdir_flag_spec" ||
11849 test -n "$runpath_var" ||
11850 test "X$hardcode_automatic" = "Xyes" ; then
11852 # We can hardcode non-existent directories.
11853 if test "$hardcode_direct" != no &&
11854 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11855 # have to relink, otherwise we might link with an installed library
11856 # when we should be linking with a yet-to-be-installed one
11857 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11858 test "$hardcode_minus_L" != no; then
11859 # Linking always hardcodes the temporary library directory.
11860 hardcode_action=relink
11861 else
11862 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11863 hardcode_action=immediate
11865 else
11866 # We cannot hardcode anything, or else we can only hardcode existing
11867 # directories.
11868 hardcode_action=unsupported
11870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11871 $as_echo "$hardcode_action" >&6; }
11873 if test "$hardcode_action" = relink ||
11874 test "$inherit_rpath" = yes; then
11875 # Fast installation is not supported
11876 enable_fast_install=no
11877 elif test "$shlibpath_overrides_runpath" = yes ||
11878 test "$enable_shared" = no; then
11879 # Fast installation is not necessary
11880 enable_fast_install=needless
11888 if test "x$enable_dlopen" != xyes; then
11889 enable_dlopen=unknown
11890 enable_dlopen_self=unknown
11891 enable_dlopen_self_static=unknown
11892 else
11893 lt_cv_dlopen=no
11894 lt_cv_dlopen_libs=
11896 case $host_os in
11897 beos*)
11898 lt_cv_dlopen="load_add_on"
11899 lt_cv_dlopen_libs=
11900 lt_cv_dlopen_self=yes
11903 mingw* | pw32* | cegcc*)
11904 lt_cv_dlopen="LoadLibrary"
11905 lt_cv_dlopen_libs=
11908 cygwin*)
11909 lt_cv_dlopen="dlopen"
11910 lt_cv_dlopen_libs=
11913 darwin*)
11914 # if libdl is installed we need to link against it
11915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11916 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11917 if ${ac_cv_lib_dl_dlopen+:} false; then :
11918 $as_echo_n "(cached) " >&6
11919 else
11920 ac_check_lib_save_LIBS=$LIBS
11921 LIBS="-ldl $LIBS"
11922 if test x$gcc_no_link = xyes; then
11923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11928 /* Override any GCC internal prototype to avoid an error.
11929 Use char because int might match the return type of a GCC
11930 builtin and then its argument prototype would still apply. */
11931 #ifdef __cplusplus
11932 extern "C"
11933 #endif
11934 char dlopen ();
11936 main ()
11938 return dlopen ();
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_link "$LINENO"; then :
11944 ac_cv_lib_dl_dlopen=yes
11945 else
11946 ac_cv_lib_dl_dlopen=no
11948 rm -f core conftest.err conftest.$ac_objext \
11949 conftest$ac_exeext conftest.$ac_ext
11950 LIBS=$ac_check_lib_save_LIBS
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11953 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11954 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11955 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11956 else
11958 lt_cv_dlopen="dyld"
11959 lt_cv_dlopen_libs=
11960 lt_cv_dlopen_self=yes
11967 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11968 if test "x$ac_cv_func_shl_load" = xyes; then :
11969 lt_cv_dlopen="shl_load"
11970 else
11971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11972 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11973 if ${ac_cv_lib_dld_shl_load+:} false; then :
11974 $as_echo_n "(cached) " >&6
11975 else
11976 ac_check_lib_save_LIBS=$LIBS
11977 LIBS="-ldld $LIBS"
11978 if test x$gcc_no_link = xyes; then
11979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11982 /* end confdefs.h. */
11984 /* Override any GCC internal prototype to avoid an error.
11985 Use char because int might match the return type of a GCC
11986 builtin and then its argument prototype would still apply. */
11987 #ifdef __cplusplus
11988 extern "C"
11989 #endif
11990 char shl_load ();
11992 main ()
11994 return shl_load ();
11996 return 0;
11998 _ACEOF
11999 if ac_fn_c_try_link "$LINENO"; then :
12000 ac_cv_lib_dld_shl_load=yes
12001 else
12002 ac_cv_lib_dld_shl_load=no
12004 rm -f core conftest.err conftest.$ac_objext \
12005 conftest$ac_exeext conftest.$ac_ext
12006 LIBS=$ac_check_lib_save_LIBS
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
12009 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12010 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
12011 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
12012 else
12013 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
12014 if test "x$ac_cv_func_dlopen" = xyes; then :
12015 lt_cv_dlopen="dlopen"
12016 else
12017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
12018 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12019 if ${ac_cv_lib_dl_dlopen+:} false; then :
12020 $as_echo_n "(cached) " >&6
12021 else
12022 ac_check_lib_save_LIBS=$LIBS
12023 LIBS="-ldl $LIBS"
12024 if test x$gcc_no_link = xyes; then
12025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12028 /* end confdefs.h. */
12030 /* Override any GCC internal prototype to avoid an error.
12031 Use char because int might match the return type of a GCC
12032 builtin and then its argument prototype would still apply. */
12033 #ifdef __cplusplus
12034 extern "C"
12035 #endif
12036 char dlopen ();
12038 main ()
12040 return dlopen ();
12042 return 0;
12044 _ACEOF
12045 if ac_fn_c_try_link "$LINENO"; then :
12046 ac_cv_lib_dl_dlopen=yes
12047 else
12048 ac_cv_lib_dl_dlopen=no
12050 rm -f core conftest.err conftest.$ac_objext \
12051 conftest$ac_exeext conftest.$ac_ext
12052 LIBS=$ac_check_lib_save_LIBS
12054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
12055 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12056 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12057 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12058 else
12059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12060 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12061 if ${ac_cv_lib_svld_dlopen+:} false; then :
12062 $as_echo_n "(cached) " >&6
12063 else
12064 ac_check_lib_save_LIBS=$LIBS
12065 LIBS="-lsvld $LIBS"
12066 if test x$gcc_no_link = xyes; then
12067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char dlopen ();
12080 main ()
12082 return dlopen ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 ac_cv_lib_svld_dlopen=yes
12089 else
12090 ac_cv_lib_svld_dlopen=no
12092 rm -f core conftest.err conftest.$ac_objext \
12093 conftest$ac_exeext conftest.$ac_ext
12094 LIBS=$ac_check_lib_save_LIBS
12096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12097 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12098 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12099 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12100 else
12101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12102 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12103 if ${ac_cv_lib_dld_dld_link+:} false; then :
12104 $as_echo_n "(cached) " >&6
12105 else
12106 ac_check_lib_save_LIBS=$LIBS
12107 LIBS="-ldld $LIBS"
12108 if test x$gcc_no_link = xyes; then
12109 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12112 /* end confdefs.h. */
12114 /* Override any GCC internal prototype to avoid an error.
12115 Use char because int might match the return type of a GCC
12116 builtin and then its argument prototype would still apply. */
12117 #ifdef __cplusplus
12118 extern "C"
12119 #endif
12120 char dld_link ();
12122 main ()
12124 return dld_link ();
12126 return 0;
12128 _ACEOF
12129 if ac_fn_c_try_link "$LINENO"; then :
12130 ac_cv_lib_dld_dld_link=yes
12131 else
12132 ac_cv_lib_dld_dld_link=no
12134 rm -f core conftest.err conftest.$ac_objext \
12135 conftest$ac_exeext conftest.$ac_ext
12136 LIBS=$ac_check_lib_save_LIBS
12138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12139 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12140 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12141 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12160 esac
12162 if test "x$lt_cv_dlopen" != xno; then
12163 enable_dlopen=yes
12164 else
12165 enable_dlopen=no
12168 case $lt_cv_dlopen in
12169 dlopen)
12170 save_CPPFLAGS="$CPPFLAGS"
12171 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12173 save_LDFLAGS="$LDFLAGS"
12174 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12176 save_LIBS="$LIBS"
12177 LIBS="$lt_cv_dlopen_libs $LIBS"
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12180 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12181 if ${lt_cv_dlopen_self+:} false; then :
12182 $as_echo_n "(cached) " >&6
12183 else
12184 if test "$cross_compiling" = yes; then :
12185 lt_cv_dlopen_self=cross
12186 else
12187 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12188 lt_status=$lt_dlunknown
12189 cat > conftest.$ac_ext <<_LT_EOF
12190 #line 12190 "configure"
12191 #include "confdefs.h"
12193 #if HAVE_DLFCN_H
12194 #include <dlfcn.h>
12195 #endif
12197 #include <stdio.h>
12199 #ifdef RTLD_GLOBAL
12200 # define LT_DLGLOBAL RTLD_GLOBAL
12201 #else
12202 # ifdef DL_GLOBAL
12203 # define LT_DLGLOBAL DL_GLOBAL
12204 # else
12205 # define LT_DLGLOBAL 0
12206 # endif
12207 #endif
12209 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12210 find out it does not work in some platform. */
12211 #ifndef LT_DLLAZY_OR_NOW
12212 # ifdef RTLD_LAZY
12213 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12214 # else
12215 # ifdef DL_LAZY
12216 # define LT_DLLAZY_OR_NOW DL_LAZY
12217 # else
12218 # ifdef RTLD_NOW
12219 # define LT_DLLAZY_OR_NOW RTLD_NOW
12220 # else
12221 # ifdef DL_NOW
12222 # define LT_DLLAZY_OR_NOW DL_NOW
12223 # else
12224 # define LT_DLLAZY_OR_NOW 0
12225 # endif
12226 # endif
12227 # endif
12228 # endif
12229 #endif
12231 /* When -fvisbility=hidden is used, assume the code has been annotated
12232 correspondingly for the symbols needed. */
12233 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12234 void fnord () __attribute__((visibility("default")));
12235 #endif
12237 void fnord () { int i=42; }
12238 int main ()
12240 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12241 int status = $lt_dlunknown;
12243 if (self)
12245 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12246 else
12248 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12249 else puts (dlerror ());
12251 /* dlclose (self); */
12253 else
12254 puts (dlerror ());
12256 return status;
12258 _LT_EOF
12259 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12260 (eval $ac_link) 2>&5
12261 ac_status=$?
12262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12263 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12264 (./conftest; exit; ) >&5 2>/dev/null
12265 lt_status=$?
12266 case x$lt_status in
12267 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12268 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12269 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12270 esac
12271 else :
12272 # compilation failed
12273 lt_cv_dlopen_self=no
12276 rm -fr conftest*
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12281 $as_echo "$lt_cv_dlopen_self" >&6; }
12283 if test "x$lt_cv_dlopen_self" = xyes; then
12284 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12286 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12287 if ${lt_cv_dlopen_self_static+:} false; then :
12288 $as_echo_n "(cached) " >&6
12289 else
12290 if test "$cross_compiling" = yes; then :
12291 lt_cv_dlopen_self_static=cross
12292 else
12293 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12294 lt_status=$lt_dlunknown
12295 cat > conftest.$ac_ext <<_LT_EOF
12296 #line 12296 "configure"
12297 #include "confdefs.h"
12299 #if HAVE_DLFCN_H
12300 #include <dlfcn.h>
12301 #endif
12303 #include <stdio.h>
12305 #ifdef RTLD_GLOBAL
12306 # define LT_DLGLOBAL RTLD_GLOBAL
12307 #else
12308 # ifdef DL_GLOBAL
12309 # define LT_DLGLOBAL DL_GLOBAL
12310 # else
12311 # define LT_DLGLOBAL 0
12312 # endif
12313 #endif
12315 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12316 find out it does not work in some platform. */
12317 #ifndef LT_DLLAZY_OR_NOW
12318 # ifdef RTLD_LAZY
12319 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12320 # else
12321 # ifdef DL_LAZY
12322 # define LT_DLLAZY_OR_NOW DL_LAZY
12323 # else
12324 # ifdef RTLD_NOW
12325 # define LT_DLLAZY_OR_NOW RTLD_NOW
12326 # else
12327 # ifdef DL_NOW
12328 # define LT_DLLAZY_OR_NOW DL_NOW
12329 # else
12330 # define LT_DLLAZY_OR_NOW 0
12331 # endif
12332 # endif
12333 # endif
12334 # endif
12335 #endif
12337 /* When -fvisbility=hidden is used, assume the code has been annotated
12338 correspondingly for the symbols needed. */
12339 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12340 void fnord () __attribute__((visibility("default")));
12341 #endif
12343 void fnord () { int i=42; }
12344 int main ()
12346 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12347 int status = $lt_dlunknown;
12349 if (self)
12351 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12352 else
12354 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12355 else puts (dlerror ());
12357 /* dlclose (self); */
12359 else
12360 puts (dlerror ());
12362 return status;
12364 _LT_EOF
12365 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12366 (eval $ac_link) 2>&5
12367 ac_status=$?
12368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12369 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12370 (./conftest; exit; ) >&5 2>/dev/null
12371 lt_status=$?
12372 case x$lt_status in
12373 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12374 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12375 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12376 esac
12377 else :
12378 # compilation failed
12379 lt_cv_dlopen_self_static=no
12382 rm -fr conftest*
12386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12387 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12390 CPPFLAGS="$save_CPPFLAGS"
12391 LDFLAGS="$save_LDFLAGS"
12392 LIBS="$save_LIBS"
12394 esac
12396 case $lt_cv_dlopen_self in
12397 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12398 *) enable_dlopen_self=unknown ;;
12399 esac
12401 case $lt_cv_dlopen_self_static in
12402 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12403 *) enable_dlopen_self_static=unknown ;;
12404 esac
12423 striplib=
12424 old_striplib=
12425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12426 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12427 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12428 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12429 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12431 $as_echo "yes" >&6; }
12432 else
12433 # FIXME - insert some real tests, host_os isn't really good enough
12434 case $host_os in
12435 darwin*)
12436 if test -n "$STRIP" ; then
12437 striplib="$STRIP -x"
12438 old_striplib="$STRIP -S"
12439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12440 $as_echo "yes" >&6; }
12441 else
12442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12443 $as_echo "no" >&6; }
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12448 $as_echo "no" >&6; }
12450 esac
12464 # Report which library types will actually be built
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12466 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12468 $as_echo "$can_build_shared" >&6; }
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12471 $as_echo_n "checking whether to build shared libraries... " >&6; }
12472 test "$can_build_shared" = "no" && enable_shared=no
12474 # On AIX, shared libraries and static libraries use the same namespace, and
12475 # are all built from PIC.
12476 case $host_os in
12477 aix3*)
12478 test "$enable_shared" = yes && enable_static=no
12479 if test -n "$RANLIB"; then
12480 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12481 postinstall_cmds='$RANLIB $lib'
12485 aix[4-9]*)
12486 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12487 test "$enable_shared" = yes && enable_static=no
12490 esac
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12492 $as_echo "$enable_shared" >&6; }
12494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12495 $as_echo_n "checking whether to build static libraries... " >&6; }
12496 # Make sure either enable_shared or enable_static is yes.
12497 test "$enable_shared" = yes || enable_static=yes
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12499 $as_echo "$enable_static" >&6; }
12505 ac_ext=c
12506 ac_cpp='$CPP $CPPFLAGS'
12507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12511 CC="$lt_save_CC"
12513 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12514 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12515 (test "X$CXX" != "Xg++"))) ; then
12516 ac_ext=cpp
12517 ac_cpp='$CXXCPP $CPPFLAGS'
12518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12522 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12523 if test -z "$CXXCPP"; then
12524 if ${ac_cv_prog_CXXCPP+:} false; then :
12525 $as_echo_n "(cached) " >&6
12526 else
12527 # Double quotes because CXXCPP needs to be expanded
12528 for CXXCPP in "$CXX -E" "/lib/cpp"
12530 ac_preproc_ok=false
12531 for ac_cxx_preproc_warn_flag in '' yes
12533 # Use a header file that comes with gcc, so configuring glibc
12534 # with a fresh cross-compiler works.
12535 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12536 # <limits.h> exists even on freestanding compilers.
12537 # On the NeXT, cc -E runs the code through the compiler's parser,
12538 # not just through cpp. "Syntax error" is here to catch this case.
12539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12540 /* end confdefs.h. */
12541 #ifdef __STDC__
12542 # include <limits.h>
12543 #else
12544 # include <assert.h>
12545 #endif
12546 Syntax error
12547 _ACEOF
12548 if ac_fn_cxx_try_cpp "$LINENO"; then :
12550 else
12551 # Broken: fails on valid input.
12552 continue
12554 rm -f conftest.err conftest.i conftest.$ac_ext
12556 # OK, works on sane cases. Now check whether nonexistent headers
12557 # can be detected and how.
12558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12559 /* end confdefs.h. */
12560 #include <ac_nonexistent.h>
12561 _ACEOF
12562 if ac_fn_cxx_try_cpp "$LINENO"; then :
12563 # Broken: success on invalid input.
12564 continue
12565 else
12566 # Passes both tests.
12567 ac_preproc_ok=:
12568 break
12570 rm -f conftest.err conftest.i conftest.$ac_ext
12572 done
12573 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12574 rm -f conftest.i conftest.err conftest.$ac_ext
12575 if $ac_preproc_ok; then :
12576 break
12579 done
12580 ac_cv_prog_CXXCPP=$CXXCPP
12583 CXXCPP=$ac_cv_prog_CXXCPP
12584 else
12585 ac_cv_prog_CXXCPP=$CXXCPP
12587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12588 $as_echo "$CXXCPP" >&6; }
12589 ac_preproc_ok=false
12590 for ac_cxx_preproc_warn_flag in '' yes
12592 # Use a header file that comes with gcc, so configuring glibc
12593 # with a fresh cross-compiler works.
12594 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12595 # <limits.h> exists even on freestanding compilers.
12596 # On the NeXT, cc -E runs the code through the compiler's parser,
12597 # not just through cpp. "Syntax error" is here to catch this case.
12598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12599 /* end confdefs.h. */
12600 #ifdef __STDC__
12601 # include <limits.h>
12602 #else
12603 # include <assert.h>
12604 #endif
12605 Syntax error
12606 _ACEOF
12607 if ac_fn_cxx_try_cpp "$LINENO"; then :
12609 else
12610 # Broken: fails on valid input.
12611 continue
12613 rm -f conftest.err conftest.i conftest.$ac_ext
12615 # OK, works on sane cases. Now check whether nonexistent headers
12616 # can be detected and how.
12617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12618 /* end confdefs.h. */
12619 #include <ac_nonexistent.h>
12620 _ACEOF
12621 if ac_fn_cxx_try_cpp "$LINENO"; then :
12622 # Broken: success on invalid input.
12623 continue
12624 else
12625 # Passes both tests.
12626 ac_preproc_ok=:
12627 break
12629 rm -f conftest.err conftest.i conftest.$ac_ext
12631 done
12632 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12633 rm -f conftest.i conftest.err conftest.$ac_ext
12634 if $ac_preproc_ok; then :
12636 else
12637 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12638 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12639 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12640 See \`config.log' for more details" "$LINENO" 5; }
12643 ac_ext=c
12644 ac_cpp='$CPP $CPPFLAGS'
12645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12649 else
12650 _lt_caught_CXX_error=yes
12653 ac_ext=cpp
12654 ac_cpp='$CXXCPP $CPPFLAGS'
12655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12659 archive_cmds_need_lc_CXX=no
12660 allow_undefined_flag_CXX=
12661 always_export_symbols_CXX=no
12662 archive_expsym_cmds_CXX=
12663 compiler_needs_object_CXX=no
12664 export_dynamic_flag_spec_CXX=
12665 hardcode_direct_CXX=no
12666 hardcode_direct_absolute_CXX=no
12667 hardcode_libdir_flag_spec_CXX=
12668 hardcode_libdir_flag_spec_ld_CXX=
12669 hardcode_libdir_separator_CXX=
12670 hardcode_minus_L_CXX=no
12671 hardcode_shlibpath_var_CXX=unsupported
12672 hardcode_automatic_CXX=no
12673 inherit_rpath_CXX=no
12674 module_cmds_CXX=
12675 module_expsym_cmds_CXX=
12676 link_all_deplibs_CXX=unknown
12677 old_archive_cmds_CXX=$old_archive_cmds
12678 reload_flag_CXX=$reload_flag
12679 reload_cmds_CXX=$reload_cmds
12680 no_undefined_flag_CXX=
12681 whole_archive_flag_spec_CXX=
12682 enable_shared_with_static_runtimes_CXX=no
12684 # Source file extension for C++ test sources.
12685 ac_ext=cpp
12687 # Object file extension for compiled C++ test sources.
12688 objext=o
12689 objext_CXX=$objext
12691 # No sense in running all these tests if we already determined that
12692 # the CXX compiler isn't working. Some variables (like enable_shared)
12693 # are currently assumed to apply to all compilers on this platform,
12694 # and will be corrupted by setting them based on a non-working compiler.
12695 if test "$_lt_caught_CXX_error" != yes; then
12696 # Code to be used in simple compile tests
12697 lt_simple_compile_test_code="int some_variable = 0;"
12699 # Code to be used in simple link tests
12700 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12702 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12709 # If no C compiler was specified, use CC.
12710 LTCC=${LTCC-"$CC"}
12712 # If no C compiler flags were specified, use CFLAGS.
12713 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12715 # Allow CC to be a program name with arguments.
12716 compiler=$CC
12719 # save warnings/boilerplate of simple test code
12720 ac_outfile=conftest.$ac_objext
12721 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12722 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12723 _lt_compiler_boilerplate=`cat conftest.err`
12724 $RM conftest*
12726 ac_outfile=conftest.$ac_objext
12727 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12728 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12729 _lt_linker_boilerplate=`cat conftest.err`
12730 $RM -r conftest*
12733 # Allow CC to be a program name with arguments.
12734 lt_save_CC=$CC
12735 lt_save_LD=$LD
12736 lt_save_GCC=$GCC
12737 GCC=$GXX
12738 lt_save_with_gnu_ld=$with_gnu_ld
12739 lt_save_path_LD=$lt_cv_path_LD
12740 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12741 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12742 else
12743 $as_unset lt_cv_prog_gnu_ld
12745 if test -n "${lt_cv_path_LDCXX+set}"; then
12746 lt_cv_path_LD=$lt_cv_path_LDCXX
12747 else
12748 $as_unset lt_cv_path_LD
12750 test -z "${LDCXX+set}" || LD=$LDCXX
12751 CC=${CXX-"c++"}
12752 compiler=$CC
12753 compiler_CXX=$CC
12754 for cc_temp in $compiler""; do
12755 case $cc_temp in
12756 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12757 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12758 \-*) ;;
12759 *) break;;
12760 esac
12761 done
12762 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12765 if test -n "$compiler"; then
12766 # We don't want -fno-exception when compiling C++ code, so set the
12767 # no_builtin_flag separately
12768 if test "$GXX" = yes; then
12769 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12770 else
12771 lt_prog_compiler_no_builtin_flag_CXX=
12774 if test "$GXX" = yes; then
12775 # Set up default GNU C++ configuration
12779 # Check whether --with-gnu-ld was given.
12780 if test "${with_gnu_ld+set}" = set; then :
12781 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12782 else
12783 with_gnu_ld=no
12786 ac_prog=ld
12787 if test "$GCC" = yes; then
12788 # Check if gcc -print-prog-name=ld gives a path.
12789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12790 $as_echo_n "checking for ld used by $CC... " >&6; }
12791 case $host in
12792 *-*-mingw*)
12793 # gcc leaves a trailing carriage return which upsets mingw
12794 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12796 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12797 esac
12798 case $ac_prog in
12799 # Accept absolute paths.
12800 [\\/]* | ?:[\\/]*)
12801 re_direlt='/[^/][^/]*/\.\./'
12802 # Canonicalize the pathname of ld
12803 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12804 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12805 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12806 done
12807 test -z "$LD" && LD="$ac_prog"
12810 # If it fails, then pretend we aren't using GCC.
12811 ac_prog=ld
12814 # If it is relative, then search for the first ld in PATH.
12815 with_gnu_ld=unknown
12817 esac
12818 elif test "$with_gnu_ld" = yes; then
12819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12820 $as_echo_n "checking for GNU ld... " >&6; }
12821 else
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12823 $as_echo_n "checking for non-GNU ld... " >&6; }
12825 if ${lt_cv_path_LD+:} false; then :
12826 $as_echo_n "(cached) " >&6
12827 else
12828 if test -z "$LD"; then
12829 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12830 for ac_dir in $PATH; do
12831 IFS="$lt_save_ifs"
12832 test -z "$ac_dir" && ac_dir=.
12833 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12834 lt_cv_path_LD="$ac_dir/$ac_prog"
12835 # Check to see if the program is GNU ld. I'd rather use --version,
12836 # but apparently some variants of GNU ld only accept -v.
12837 # Break only if it was the GNU/non-GNU ld that we prefer.
12838 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12839 *GNU* | *'with BFD'*)
12840 test "$with_gnu_ld" != no && break
12843 test "$with_gnu_ld" != yes && break
12845 esac
12847 done
12848 IFS="$lt_save_ifs"
12849 else
12850 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12854 LD="$lt_cv_path_LD"
12855 if test -n "$LD"; then
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12857 $as_echo "$LD" >&6; }
12858 else
12859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12860 $as_echo "no" >&6; }
12862 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12864 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12865 if ${lt_cv_prog_gnu_ld+:} false; then :
12866 $as_echo_n "(cached) " >&6
12867 else
12868 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12869 case `$LD -v 2>&1 </dev/null` in
12870 *GNU* | *'with BFD'*)
12871 lt_cv_prog_gnu_ld=yes
12874 lt_cv_prog_gnu_ld=no
12876 esac
12878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12879 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12880 with_gnu_ld=$lt_cv_prog_gnu_ld
12888 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12889 # archiving commands below assume that GNU ld is being used.
12890 if test "$with_gnu_ld" = yes; then
12891 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12892 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12894 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12895 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 # If archive_cmds runs LD, not CC, wlarc should be empty
12898 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12899 # investigate it a little bit more. (MM)
12900 wlarc='${wl}'
12902 # ancient GNU ld didn't support --whole-archive et. al.
12903 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12904 $GREP 'no-whole-archive' > /dev/null; then
12905 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12906 else
12907 whole_archive_flag_spec_CXX=
12909 else
12910 with_gnu_ld=no
12911 wlarc=
12913 # A generic and very simple default shared library creation
12914 # command for GNU C++ for the case where it uses the native
12915 # linker, instead of GNU ld. If possible, this setting should
12916 # overridden to take advantage of the native linker features on
12917 # the platform it is being used on.
12918 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12921 # Commands to make compiler produce verbose output that lists
12922 # what "hidden" libraries, object files and flags are used when
12923 # linking a shared library.
12924 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12926 else
12927 GXX=no
12928 with_gnu_ld=no
12929 wlarc=
12932 # PORTME: fill in a description of your system's C++ link characteristics
12933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12934 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12935 ld_shlibs_CXX=yes
12936 case $host_os in
12937 aix3*)
12938 # FIXME: insert proper C++ library support
12939 ld_shlibs_CXX=no
12941 aix[4-9]*)
12942 if test "$host_cpu" = ia64; then
12943 # On IA64, the linker does run time linking by default, so we don't
12944 # have to do anything special.
12945 aix_use_runtimelinking=no
12946 exp_sym_flag='-Bexport'
12947 no_entry_flag=""
12948 else
12949 aix_use_runtimelinking=no
12951 # Test if we are trying to use run time linking or normal
12952 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12953 # need to do runtime linking.
12954 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12955 for ld_flag in $LDFLAGS; do
12956 case $ld_flag in
12957 *-brtl*)
12958 aix_use_runtimelinking=yes
12959 break
12961 esac
12962 done
12964 esac
12966 exp_sym_flag='-bexport'
12967 no_entry_flag='-bnoentry'
12970 # When large executables or shared objects are built, AIX ld can
12971 # have problems creating the table of contents. If linking a library
12972 # or program results in "error TOC overflow" add -mminimal-toc to
12973 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12974 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12976 archive_cmds_CXX=''
12977 hardcode_direct_CXX=yes
12978 hardcode_direct_absolute_CXX=yes
12979 hardcode_libdir_separator_CXX=':'
12980 link_all_deplibs_CXX=yes
12981 file_list_spec_CXX='${wl}-f,'
12983 if test "$GXX" = yes; then
12984 case $host_os in aix4.[012]|aix4.[012].*)
12985 # We only want to do this on AIX 4.2 and lower, the check
12986 # below for broken collect2 doesn't work under 4.3+
12987 collect2name=`${CC} -print-prog-name=collect2`
12988 if test -f "$collect2name" &&
12989 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12990 then
12991 # We have reworked collect2
12993 else
12994 # We have old collect2
12995 hardcode_direct_CXX=unsupported
12996 # It fails to find uninstalled libraries when the uninstalled
12997 # path is not listed in the libpath. Setting hardcode_minus_L
12998 # to unsupported forces relinking
12999 hardcode_minus_L_CXX=yes
13000 hardcode_libdir_flag_spec_CXX='-L$libdir'
13001 hardcode_libdir_separator_CXX=
13003 esac
13004 shared_flag='-shared'
13005 if test "$aix_use_runtimelinking" = yes; then
13006 shared_flag="$shared_flag "'${wl}-G'
13008 else
13009 # not using gcc
13010 if test "$host_cpu" = ia64; then
13011 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
13012 # chokes on -Wl,-G. The following line is correct:
13013 shared_flag='-G'
13014 else
13015 if test "$aix_use_runtimelinking" = yes; then
13016 shared_flag='${wl}-G'
13017 else
13018 shared_flag='${wl}-bM:SRE'
13023 export_dynamic_flag_spec_CXX='${wl}-bexpall'
13024 # It seems that -bexpall does not export symbols beginning with
13025 # underscore (_), so it is better to generate a list of symbols to
13026 # export.
13027 always_export_symbols_CXX=yes
13028 if test "$aix_use_runtimelinking" = yes; then
13029 # Warning - without using the other runtime loading flags (-brtl),
13030 # -berok will link without error, but may produce a broken library.
13031 allow_undefined_flag_CXX='-berok'
13032 # Determine the default libpath from the value encoded in an empty
13033 # executable.
13034 if test x$gcc_no_link = xyes; then
13035 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13038 /* end confdefs.h. */
13041 main ()
13045 return 0;
13047 _ACEOF
13048 if ac_fn_cxx_try_link "$LINENO"; then :
13050 lt_aix_libpath_sed='
13051 /Import File Strings/,/^$/ {
13052 /^0/ {
13053 s/^0 *\(.*\)$/\1/
13057 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13058 # Check for a 64-bit object if we didn't find anything.
13059 if test -z "$aix_libpath"; then
13060 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13063 rm -f core conftest.err conftest.$ac_objext \
13064 conftest$ac_exeext conftest.$ac_ext
13065 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13067 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13069 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"
13070 else
13071 if test "$host_cpu" = ia64; then
13072 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13073 allow_undefined_flag_CXX="-z nodefs"
13074 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"
13075 else
13076 # Determine the default libpath from the value encoded in an
13077 # empty executable.
13078 if test x$gcc_no_link = xyes; then
13079 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13085 main ()
13089 return 0;
13091 _ACEOF
13092 if ac_fn_cxx_try_link "$LINENO"; then :
13094 lt_aix_libpath_sed='
13095 /Import File Strings/,/^$/ {
13096 /^0/ {
13097 s/^0 *\(.*\)$/\1/
13101 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13102 # Check for a 64-bit object if we didn't find anything.
13103 if test -z "$aix_libpath"; then
13104 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13107 rm -f core conftest.err conftest.$ac_objext \
13108 conftest$ac_exeext conftest.$ac_ext
13109 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13111 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13112 # Warning - without using the other run time loading flags,
13113 # -berok will link without error, but may produce a broken library.
13114 no_undefined_flag_CXX=' ${wl}-bernotok'
13115 allow_undefined_flag_CXX=' ${wl}-berok'
13116 if test "$with_gnu_ld" = yes; then
13117 # We only use this code for GNU lds that support --whole-archive.
13118 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13119 else
13120 # Exported symbols can be pulled into shared objects from archives
13121 whole_archive_flag_spec_CXX='$convenience'
13123 archive_cmds_need_lc_CXX=yes
13124 # This is similar to how AIX traditionally builds its shared
13125 # libraries.
13126 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'
13131 beos*)
13132 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13133 allow_undefined_flag_CXX=unsupported
13134 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13135 # support --undefined. This deserves some investigation. FIXME
13136 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13137 else
13138 ld_shlibs_CXX=no
13142 chorus*)
13143 case $cc_basename in
13145 # FIXME: insert proper C++ library support
13146 ld_shlibs_CXX=no
13148 esac
13151 cygwin* | mingw* | pw32* | cegcc*)
13152 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13153 # as there is no search path for DLLs.
13154 hardcode_libdir_flag_spec_CXX='-L$libdir'
13155 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13156 allow_undefined_flag_CXX=unsupported
13157 always_export_symbols_CXX=no
13158 enable_shared_with_static_runtimes_CXX=yes
13160 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13161 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'
13162 # If the export-symbols file already is a .def file (1st line
13163 # is EXPORTS), use it as is; otherwise, prepend...
13164 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13165 cp $export_symbols $output_objdir/$soname.def;
13166 else
13167 echo EXPORTS > $output_objdir/$soname.def;
13168 cat $export_symbols >> $output_objdir/$soname.def;
13170 $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'
13171 else
13172 ld_shlibs_CXX=no
13175 darwin* | rhapsody*)
13178 archive_cmds_need_lc_CXX=no
13179 hardcode_direct_CXX=no
13180 hardcode_automatic_CXX=yes
13181 hardcode_shlibpath_var_CXX=unsupported
13182 if test "$lt_cv_ld_force_load" = "yes"; then
13183 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\"`'
13184 else
13185 whole_archive_flag_spec_CXX=''
13187 link_all_deplibs_CXX=yes
13188 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13189 case $cc_basename in
13190 ifort*) _lt_dar_can_shared=yes ;;
13191 *) _lt_dar_can_shared=$GCC ;;
13192 esac
13193 if test "$_lt_dar_can_shared" = "yes"; then
13194 output_verbose_link_cmd=func_echo_all
13195 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}"
13196 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13197 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}"
13198 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}"
13199 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13200 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}"
13201 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}"
13204 else
13205 ld_shlibs_CXX=no
13210 dgux*)
13211 case $cc_basename in
13212 ec++*)
13213 # FIXME: insert proper C++ library support
13214 ld_shlibs_CXX=no
13216 ghcx*)
13217 # Green Hills C++ Compiler
13218 # FIXME: insert proper C++ library support
13219 ld_shlibs_CXX=no
13222 # FIXME: insert proper C++ library support
13223 ld_shlibs_CXX=no
13225 esac
13228 freebsd2.*)
13229 # C++ shared libraries reported to be fairly broken before
13230 # switch to ELF
13231 ld_shlibs_CXX=no
13234 freebsd-elf*)
13235 archive_cmds_need_lc_CXX=no
13238 freebsd* | dragonfly*)
13239 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13240 # conventions
13241 ld_shlibs_CXX=yes
13244 gnu*)
13247 haiku*)
13248 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13249 link_all_deplibs_CXX=yes
13252 hpux9*)
13253 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13254 hardcode_libdir_separator_CXX=:
13255 export_dynamic_flag_spec_CXX='${wl}-E'
13256 hardcode_direct_CXX=yes
13257 hardcode_minus_L_CXX=yes # Not in the search PATH,
13258 # but as the default
13259 # location of the library.
13261 case $cc_basename in
13262 CC*)
13263 # FIXME: insert proper C++ library support
13264 ld_shlibs_CXX=no
13266 aCC*)
13267 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'
13268 # Commands to make compiler produce verbose output that lists
13269 # what "hidden" libraries, object files and flags are used when
13270 # linking a shared library.
13272 # There doesn't appear to be a way to prevent this compiler from
13273 # explicitly linking system object files so we need to strip them
13274 # from the output so that they don't get included in the library
13275 # dependencies.
13276 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"'
13279 if test "$GXX" = yes; then
13280 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'
13281 else
13282 # FIXME: insert proper C++ library support
13283 ld_shlibs_CXX=no
13286 esac
13289 hpux10*|hpux11*)
13290 if test $with_gnu_ld = no; then
13291 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13292 hardcode_libdir_separator_CXX=:
13294 case $host_cpu in
13295 hppa*64*|ia64*)
13298 export_dynamic_flag_spec_CXX='${wl}-E'
13300 esac
13302 case $host_cpu in
13303 hppa*64*|ia64*)
13304 hardcode_direct_CXX=no
13305 hardcode_shlibpath_var_CXX=no
13308 hardcode_direct_CXX=yes
13309 hardcode_direct_absolute_CXX=yes
13310 hardcode_minus_L_CXX=yes # Not in the search PATH,
13311 # but as the default
13312 # location of the library.
13314 esac
13316 case $cc_basename in
13317 CC*)
13318 # FIXME: insert proper C++ library support
13319 ld_shlibs_CXX=no
13321 aCC*)
13322 case $host_cpu in
13323 hppa*64*)
13324 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13326 ia64*)
13327 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13330 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13332 esac
13333 # Commands to make compiler produce verbose output that lists
13334 # what "hidden" libraries, object files and flags are used when
13335 # linking a shared library.
13337 # There doesn't appear to be a way to prevent this compiler from
13338 # explicitly linking system object files so we need to strip them
13339 # from the output so that they don't get included in the library
13340 # dependencies.
13341 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"'
13344 if test "$GXX" = yes; then
13345 if test $with_gnu_ld = no; then
13346 case $host_cpu in
13347 hppa*64*)
13348 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13350 ia64*)
13351 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13354 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'
13356 esac
13358 else
13359 # FIXME: insert proper C++ library support
13360 ld_shlibs_CXX=no
13363 esac
13366 interix[3-9]*)
13367 hardcode_direct_CXX=no
13368 hardcode_shlibpath_var_CXX=no
13369 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13370 export_dynamic_flag_spec_CXX='${wl}-E'
13371 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13372 # Instead, shared libraries are loaded at an image base (0x10000000 by
13373 # default) and relocated if they conflict, which is a slow very memory
13374 # consuming and fragmenting process. To avoid this, we pick a random,
13375 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13376 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13377 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'
13378 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'
13380 irix5* | irix6*)
13381 case $cc_basename in
13382 CC*)
13383 # SGI C++
13384 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'
13386 # Archives containing C++ object files must be created using
13387 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13388 # necessary to make sure instantiated templates are included
13389 # in the archive.
13390 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13393 if test "$GXX" = yes; then
13394 if test "$with_gnu_ld" = no; then
13395 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'
13396 else
13397 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'
13400 link_all_deplibs_CXX=yes
13402 esac
13403 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13404 hardcode_libdir_separator_CXX=:
13405 inherit_rpath_CXX=yes
13408 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13409 case $cc_basename in
13410 KCC*)
13411 # Kuck and Associates, Inc. (KAI) C++ Compiler
13413 # KCC will only create a shared library if the output file
13414 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13415 # to its proper name (with version) after linking.
13416 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'
13417 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'
13418 # Commands to make compiler produce verbose output that lists
13419 # what "hidden" libraries, object files and flags are used when
13420 # linking a shared library.
13422 # There doesn't appear to be a way to prevent this compiler from
13423 # explicitly linking system object files so we need to strip them
13424 # from the output so that they don't get included in the library
13425 # dependencies.
13426 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"'
13428 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13429 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13431 # Archives containing C++ object files must be created using
13432 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13433 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13435 icpc* | ecpc* )
13436 # Intel C++
13437 with_gnu_ld=yes
13438 # version 8.0 and above of icpc choke on multiply defined symbols
13439 # if we add $predep_objects and $postdep_objects, however 7.1 and
13440 # earlier do not add the objects themselves.
13441 case `$CC -V 2>&1` in
13442 *"Version 7."*)
13443 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13444 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'
13446 *) # Version 8.0 or newer
13447 tmp_idyn=
13448 case $host_cpu in
13449 ia64*) tmp_idyn=' -i_dynamic';;
13450 esac
13451 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13452 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'
13454 esac
13455 archive_cmds_need_lc_CXX=no
13456 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13458 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13460 pgCC* | pgcpp*)
13461 # Portland Group C++ compiler
13462 case `$CC -V` in
13463 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13464 prelink_cmds_CXX='tpldir=Template.dir~
13465 rm -rf $tpldir~
13466 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13467 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13468 old_archive_cmds_CXX='tpldir=Template.dir~
13469 rm -rf $tpldir~
13470 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13471 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13472 $RANLIB $oldlib'
13473 archive_cmds_CXX='tpldir=Template.dir~
13474 rm -rf $tpldir~
13475 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13476 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13477 archive_expsym_cmds_CXX='tpldir=Template.dir~
13478 rm -rf $tpldir~
13479 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13480 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13482 *) # Version 6 and above use weak symbols
13483 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13484 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'
13486 esac
13488 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13489 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13490 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'
13492 cxx*)
13493 # Compaq C++
13494 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13495 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'
13497 runpath_var=LD_RUN_PATH
13498 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13499 hardcode_libdir_separator_CXX=:
13501 # Commands to make compiler produce verbose output that lists
13502 # what "hidden" libraries, object files and flags are used when
13503 # linking a shared library.
13505 # There doesn't appear to be a way to prevent this compiler from
13506 # explicitly linking system object files so we need to strip them
13507 # from the output so that they don't get included in the library
13508 # dependencies.
13509 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'
13511 xl* | mpixl* | bgxl*)
13512 # IBM XL 8.0 on PPC, with GNU ld
13513 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13514 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13515 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13516 if test "x$supports_anon_versioning" = xyes; then
13517 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13518 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13519 echo "local: *; };" >> $output_objdir/$libname.ver~
13520 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13524 case `$CC -V 2>&1 | sed 5q` in
13525 *Sun\ C*)
13526 # Sun C++ 5.9
13527 no_undefined_flag_CXX=' -zdefs'
13528 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13529 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'
13530 hardcode_libdir_flag_spec_CXX='-R$libdir'
13531 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'
13532 compiler_needs_object_CXX=yes
13534 # Not sure whether something based on
13535 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13536 # would be better.
13537 output_verbose_link_cmd='func_echo_all'
13539 # Archives containing C++ object files must be created using
13540 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13541 # necessary to make sure instantiated templates are included
13542 # in the archive.
13543 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13545 esac
13547 esac
13550 lynxos*)
13551 # FIXME: insert proper C++ library support
13552 ld_shlibs_CXX=no
13555 m88k*)
13556 # FIXME: insert proper C++ library support
13557 ld_shlibs_CXX=no
13560 mvs*)
13561 case $cc_basename in
13562 cxx*)
13563 # FIXME: insert proper C++ library support
13564 ld_shlibs_CXX=no
13567 # FIXME: insert proper C++ library support
13568 ld_shlibs_CXX=no
13570 esac
13573 netbsd*)
13574 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13575 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13576 wlarc=
13577 hardcode_libdir_flag_spec_CXX='-R$libdir'
13578 hardcode_direct_CXX=yes
13579 hardcode_shlibpath_var_CXX=no
13581 # Workaround some broken pre-1.5 toolchains
13582 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13585 *nto* | *qnx*)
13586 ld_shlibs_CXX=yes
13589 openbsd2*)
13590 # C++ shared libraries are fairly broken
13591 ld_shlibs_CXX=no
13594 openbsd*)
13595 if test -f /usr/libexec/ld.so; then
13596 hardcode_direct_CXX=yes
13597 hardcode_shlibpath_var_CXX=no
13598 hardcode_direct_absolute_CXX=yes
13599 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13600 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13601 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13602 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13603 export_dynamic_flag_spec_CXX='${wl}-E'
13604 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13606 output_verbose_link_cmd=func_echo_all
13607 else
13608 ld_shlibs_CXX=no
13612 osf3* | osf4* | osf5*)
13613 case $cc_basename in
13614 KCC*)
13615 # Kuck and Associates, Inc. (KAI) C++ Compiler
13617 # KCC will only create a shared library if the output file
13618 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13619 # to its proper name (with version) after linking.
13620 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'
13622 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13623 hardcode_libdir_separator_CXX=:
13625 # Archives containing C++ object files must be created using
13626 # the KAI C++ compiler.
13627 case $host in
13628 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13629 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13630 esac
13632 RCC*)
13633 # Rational C++ 2.4.1
13634 # FIXME: insert proper C++ library support
13635 ld_shlibs_CXX=no
13637 cxx*)
13638 case $host in
13639 osf3*)
13640 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13641 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'
13642 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13645 allow_undefined_flag_CXX=' -expect_unresolved \*'
13646 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'
13647 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13648 echo "-hidden">> $lib.exp~
13649 $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~
13650 $RM $lib.exp'
13651 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13653 esac
13655 hardcode_libdir_separator_CXX=:
13657 # Commands to make compiler produce verbose output that lists
13658 # what "hidden" libraries, object files and flags are used when
13659 # linking a shared library.
13661 # There doesn't appear to be a way to prevent this compiler from
13662 # explicitly linking system object files so we need to strip them
13663 # from the output so that they don't get included in the library
13664 # dependencies.
13665 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"'
13668 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13669 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13670 case $host in
13671 osf3*)
13672 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'
13675 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'
13677 esac
13679 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13680 hardcode_libdir_separator_CXX=:
13682 # Commands to make compiler produce verbose output that lists
13683 # what "hidden" libraries, object files and flags are used when
13684 # linking a shared library.
13685 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13687 else
13688 # FIXME: insert proper C++ library support
13689 ld_shlibs_CXX=no
13692 esac
13695 psos*)
13696 # FIXME: insert proper C++ library support
13697 ld_shlibs_CXX=no
13700 sunos4*)
13701 case $cc_basename in
13702 CC*)
13703 # Sun C++ 4.x
13704 # FIXME: insert proper C++ library support
13705 ld_shlibs_CXX=no
13707 lcc*)
13708 # Lucid
13709 # FIXME: insert proper C++ library support
13710 ld_shlibs_CXX=no
13713 # FIXME: insert proper C++ library support
13714 ld_shlibs_CXX=no
13716 esac
13719 solaris*)
13720 case $cc_basename in
13721 CC*)
13722 # Sun C++ 4.2, 5.x and Centerline C++
13723 archive_cmds_need_lc_CXX=yes
13724 no_undefined_flag_CXX=' -zdefs'
13725 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13726 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13727 $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'
13729 hardcode_libdir_flag_spec_CXX='-R$libdir'
13730 hardcode_shlibpath_var_CXX=no
13731 case $host_os in
13732 solaris2.[0-5] | solaris2.[0-5].*) ;;
13734 # The compiler driver will combine and reorder linker options,
13735 # but understands `-z linker_flag'.
13736 # Supported since Solaris 2.6 (maybe 2.5.1?)
13737 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13739 esac
13740 link_all_deplibs_CXX=yes
13742 output_verbose_link_cmd='func_echo_all'
13744 # Archives containing C++ object files must be created using
13745 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13746 # necessary to make sure instantiated templates are included
13747 # in the archive.
13748 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13750 gcx*)
13751 # Green Hills C++ Compiler
13752 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13754 # The C++ compiler must be used to create the archive.
13755 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13758 # GNU C++ compiler with Solaris linker
13759 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13760 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13761 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13762 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13763 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13764 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13766 # Commands to make compiler produce verbose output that lists
13767 # what "hidden" libraries, object files and flags are used when
13768 # linking a shared library.
13769 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13770 else
13771 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13772 # platform.
13773 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13774 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13775 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13777 # Commands to make compiler produce verbose output that lists
13778 # what "hidden" libraries, object files and flags are used when
13779 # linking a shared library.
13780 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13783 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13784 case $host_os in
13785 solaris2.[0-5] | solaris2.[0-5].*) ;;
13787 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13789 esac
13792 esac
13795 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13796 no_undefined_flag_CXX='${wl}-z,text'
13797 archive_cmds_need_lc_CXX=no
13798 hardcode_shlibpath_var_CXX=no
13799 runpath_var='LD_RUN_PATH'
13801 case $cc_basename in
13802 CC*)
13803 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13804 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13807 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13808 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13810 esac
13813 sysv5* | sco3.2v5* | sco5v6*)
13814 # Note: We can NOT use -z defs as we might desire, because we do not
13815 # link with -lc, and that would cause any symbols used from libc to
13816 # always be unresolved, which means just about no library would
13817 # ever link correctly. If we're not using GNU ld we use -z text
13818 # though, which does catch some bad symbols but isn't as heavy-handed
13819 # as -z defs.
13820 no_undefined_flag_CXX='${wl}-z,text'
13821 allow_undefined_flag_CXX='${wl}-z,nodefs'
13822 archive_cmds_need_lc_CXX=no
13823 hardcode_shlibpath_var_CXX=no
13824 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13825 hardcode_libdir_separator_CXX=':'
13826 link_all_deplibs_CXX=yes
13827 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13828 runpath_var='LD_RUN_PATH'
13830 case $cc_basename in
13831 CC*)
13832 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13833 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13834 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13835 '"$old_archive_cmds_CXX"
13836 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13837 '"$reload_cmds_CXX"
13840 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13841 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13843 esac
13846 tandem*)
13847 case $cc_basename in
13848 NCC*)
13849 # NonStop-UX NCC 3.20
13850 # FIXME: insert proper C++ library support
13851 ld_shlibs_CXX=no
13854 # FIXME: insert proper C++ library support
13855 ld_shlibs_CXX=no
13857 esac
13860 vxworks*)
13861 # For VxWorks ports, we assume the use of a GNU linker with
13862 # standard elf conventions.
13863 ld_shlibs_CXX=yes
13867 # FIXME: insert proper C++ library support
13868 ld_shlibs_CXX=no
13870 esac
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13873 $as_echo "$ld_shlibs_CXX" >&6; }
13874 test "$ld_shlibs_CXX" = no && can_build_shared=no
13876 GCC_CXX="$GXX"
13877 LD_CXX="$LD"
13879 ## CAVEAT EMPTOR:
13880 ## There is no encapsulation within the following macros, do not change
13881 ## the running order or otherwise move them around unless you know exactly
13882 ## what you are doing...
13883 # Dependencies to place before and after the object being linked:
13884 predep_objects_CXX=
13885 postdep_objects_CXX=
13886 predeps_CXX=
13887 postdeps_CXX=
13888 compiler_lib_search_path_CXX=
13890 cat > conftest.$ac_ext <<_LT_EOF
13891 class Foo
13893 public:
13894 Foo (void) { a = 0; }
13895 private:
13896 int a;
13898 _LT_EOF
13900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13901 (eval $ac_compile) 2>&5
13902 ac_status=$?
13903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13904 test $ac_status = 0; }; then
13905 # Parse the compiler output and extract the necessary
13906 # objects, libraries and library flags.
13908 # Sentinel used to keep track of whether or not we are before
13909 # the conftest object file.
13910 pre_test_object_deps_done=no
13912 for p in `eval "$output_verbose_link_cmd"`; do
13913 case $p in
13915 -L* | -R* | -l*)
13916 # Some compilers place space between "-{L,R}" and the path.
13917 # Remove the space.
13918 if test $p = "-L" ||
13919 test $p = "-R"; then
13920 prev=$p
13921 continue
13922 else
13923 prev=
13926 if test "$pre_test_object_deps_done" = no; then
13927 case $p in
13928 -L* | -R*)
13929 # Internal compiler library paths should come after those
13930 # provided the user. The postdeps already come after the
13931 # user supplied libs so there is no need to process them.
13932 if test -z "$compiler_lib_search_path_CXX"; then
13933 compiler_lib_search_path_CXX="${prev}${p}"
13934 else
13935 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13938 # The "-l" case would never come before the object being
13939 # linked, so don't bother handling this case.
13940 esac
13941 else
13942 if test -z "$postdeps_CXX"; then
13943 postdeps_CXX="${prev}${p}"
13944 else
13945 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13950 *.$objext)
13951 # This assumes that the test object file only shows up
13952 # once in the compiler output.
13953 if test "$p" = "conftest.$objext"; then
13954 pre_test_object_deps_done=yes
13955 continue
13958 if test "$pre_test_object_deps_done" = no; then
13959 if test -z "$predep_objects_CXX"; then
13960 predep_objects_CXX="$p"
13961 else
13962 predep_objects_CXX="$predep_objects_CXX $p"
13964 else
13965 if test -z "$postdep_objects_CXX"; then
13966 postdep_objects_CXX="$p"
13967 else
13968 postdep_objects_CXX="$postdep_objects_CXX $p"
13973 *) ;; # Ignore the rest.
13975 esac
13976 done
13978 # Clean up.
13979 rm -f a.out a.exe
13980 else
13981 echo "libtool.m4: error: problem compiling CXX test program"
13984 $RM -f confest.$objext
13986 # PORTME: override above test on systems where it is broken
13987 case $host_os in
13988 interix[3-9]*)
13989 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13990 # hack all around it, let's just trust "g++" to DTRT.
13991 predep_objects_CXX=
13992 postdep_objects_CXX=
13993 postdeps_CXX=
13996 linux*)
13997 case `$CC -V 2>&1 | sed 5q` in
13998 *Sun\ C*)
13999 # Sun C++ 5.9
14001 # The more standards-conforming stlport4 library is
14002 # incompatible with the Cstd library. Avoid specifying
14003 # it if it's in CXXFLAGS. Ignore libCrun as
14004 # -library=stlport4 depends on it.
14005 case " $CXX $CXXFLAGS " in
14006 *" -library=stlport4 "*)
14007 solaris_use_stlport4=yes
14009 esac
14011 if test "$solaris_use_stlport4" != yes; then
14012 postdeps_CXX='-library=Cstd -library=Crun'
14015 esac
14018 solaris*)
14019 case $cc_basename in
14020 CC*)
14021 # The more standards-conforming stlport4 library is
14022 # incompatible with the Cstd library. Avoid specifying
14023 # it if it's in CXXFLAGS. Ignore libCrun as
14024 # -library=stlport4 depends on it.
14025 case " $CXX $CXXFLAGS " in
14026 *" -library=stlport4 "*)
14027 solaris_use_stlport4=yes
14029 esac
14031 # Adding this requires a known-good setup of shared libraries for
14032 # Sun compiler versions before 5.6, else PIC objects from an old
14033 # archive will be linked into the output, leading to subtle bugs.
14034 if test "$solaris_use_stlport4" != yes; then
14035 postdeps_CXX='-library=Cstd -library=Crun'
14038 esac
14040 esac
14043 case " $postdeps_CXX " in
14044 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
14045 esac
14046 compiler_lib_search_dirs_CXX=
14047 if test -n "${compiler_lib_search_path_CXX}"; then
14048 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
14081 lt_prog_compiler_wl_CXX=
14082 lt_prog_compiler_pic_CXX=
14083 lt_prog_compiler_static_CXX=
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14086 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14088 # C++ specific cases for pic, static, wl, etc.
14089 if test "$GXX" = yes; then
14090 lt_prog_compiler_wl_CXX='-Wl,'
14091 lt_prog_compiler_static_CXX='-static'
14093 case $host_os in
14094 aix*)
14095 # All AIX code is PIC.
14096 if test "$host_cpu" = ia64; then
14097 # AIX 5 now supports IA64 processor
14098 lt_prog_compiler_static_CXX='-Bstatic'
14100 lt_prog_compiler_pic_CXX='-fPIC'
14103 amigaos*)
14104 case $host_cpu in
14105 powerpc)
14106 # see comment about AmigaOS4 .so support
14107 lt_prog_compiler_pic_CXX='-fPIC'
14109 m68k)
14110 # FIXME: we need at least 68020 code to build shared libraries, but
14111 # adding the `-m68020' flag to GCC prevents building anything better,
14112 # like `-m68040'.
14113 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14115 esac
14118 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14119 # PIC is the default for these OSes.
14121 mingw* | cygwin* | os2* | pw32* | cegcc*)
14122 # This hack is so that the source file can tell whether it is being
14123 # built for inclusion in a dll (and should export symbols for example).
14124 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14125 # (--disable-auto-import) libraries
14126 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14128 darwin* | rhapsody*)
14129 # PIC is the default on this platform
14130 # Common symbols not allowed in MH_DYLIB files
14131 lt_prog_compiler_pic_CXX='-fno-common'
14133 *djgpp*)
14134 # DJGPP does not support shared libraries at all
14135 lt_prog_compiler_pic_CXX=
14137 haiku*)
14138 # PIC is the default for Haiku.
14139 # The "-static" flag exists, but is broken.
14140 lt_prog_compiler_static_CXX=
14142 interix[3-9]*)
14143 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14144 # Instead, we relocate shared libraries at runtime.
14146 sysv4*MP*)
14147 if test -d /usr/nec; then
14148 lt_prog_compiler_pic_CXX=-Kconform_pic
14151 hpux*)
14152 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14153 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14154 # sets the default TLS model and affects inlining.
14155 case $host_cpu in
14156 hppa*64*)
14159 lt_prog_compiler_pic_CXX='-fPIC'
14161 esac
14163 *qnx* | *nto*)
14164 # QNX uses GNU C++, but need to define -shared option too, otherwise
14165 # it will coredump.
14166 lt_prog_compiler_pic_CXX='-fPIC -shared'
14169 lt_prog_compiler_pic_CXX='-fPIC'
14171 esac
14172 else
14173 case $host_os in
14174 aix[4-9]*)
14175 # All AIX code is PIC.
14176 if test "$host_cpu" = ia64; then
14177 # AIX 5 now supports IA64 processor
14178 lt_prog_compiler_static_CXX='-Bstatic'
14179 else
14180 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14183 chorus*)
14184 case $cc_basename in
14185 cxch68*)
14186 # Green Hills C++ Compiler
14187 # _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"
14189 esac
14191 dgux*)
14192 case $cc_basename in
14193 ec++*)
14194 lt_prog_compiler_pic_CXX='-KPIC'
14196 ghcx*)
14197 # Green Hills C++ Compiler
14198 lt_prog_compiler_pic_CXX='-pic'
14202 esac
14204 freebsd* | dragonfly*)
14205 # FreeBSD uses GNU C++
14207 hpux9* | hpux10* | hpux11*)
14208 case $cc_basename in
14209 CC*)
14210 lt_prog_compiler_wl_CXX='-Wl,'
14211 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14212 if test "$host_cpu" != ia64; then
14213 lt_prog_compiler_pic_CXX='+Z'
14216 aCC*)
14217 lt_prog_compiler_wl_CXX='-Wl,'
14218 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14219 case $host_cpu in
14220 hppa*64*|ia64*)
14221 # +Z the default
14224 lt_prog_compiler_pic_CXX='+Z'
14226 esac
14230 esac
14232 interix*)
14233 # This is c89, which is MS Visual C++ (no shared libs)
14234 # Anyone wants to do a port?
14236 irix5* | irix6* | nonstopux*)
14237 case $cc_basename in
14238 CC*)
14239 lt_prog_compiler_wl_CXX='-Wl,'
14240 lt_prog_compiler_static_CXX='-non_shared'
14241 # CC pic flag -KPIC is the default.
14245 esac
14247 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14248 case $cc_basename in
14249 KCC*)
14250 # KAI C++ Compiler
14251 lt_prog_compiler_wl_CXX='--backend -Wl,'
14252 lt_prog_compiler_pic_CXX='-fPIC'
14254 ecpc* )
14255 # old Intel C++ for x86_64 which still supported -KPIC.
14256 lt_prog_compiler_wl_CXX='-Wl,'
14257 lt_prog_compiler_pic_CXX='-KPIC'
14258 lt_prog_compiler_static_CXX='-static'
14260 icpc* )
14261 # Intel C++, used to be incompatible with GCC.
14262 # ICC 10 doesn't accept -KPIC any more.
14263 lt_prog_compiler_wl_CXX='-Wl,'
14264 lt_prog_compiler_pic_CXX='-fPIC'
14265 lt_prog_compiler_static_CXX='-static'
14267 pgCC* | pgcpp*)
14268 # Portland Group C++ compiler
14269 lt_prog_compiler_wl_CXX='-Wl,'
14270 lt_prog_compiler_pic_CXX='-fpic'
14271 lt_prog_compiler_static_CXX='-Bstatic'
14273 cxx*)
14274 # Compaq C++
14275 # Make sure the PIC flag is empty. It appears that all Alpha
14276 # Linux and Compaq Tru64 Unix objects are PIC.
14277 lt_prog_compiler_pic_CXX=
14278 lt_prog_compiler_static_CXX='-non_shared'
14280 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14281 # IBM XL 8.0, 9.0 on PPC and BlueGene
14282 lt_prog_compiler_wl_CXX='-Wl,'
14283 lt_prog_compiler_pic_CXX='-qpic'
14284 lt_prog_compiler_static_CXX='-qstaticlink'
14287 case `$CC -V 2>&1 | sed 5q` in
14288 *Sun\ C*)
14289 # Sun C++ 5.9
14290 lt_prog_compiler_pic_CXX='-KPIC'
14291 lt_prog_compiler_static_CXX='-Bstatic'
14292 lt_prog_compiler_wl_CXX='-Qoption ld '
14294 esac
14296 esac
14298 lynxos*)
14300 m88k*)
14302 mvs*)
14303 case $cc_basename in
14304 cxx*)
14305 lt_prog_compiler_pic_CXX='-W c,exportall'
14309 esac
14311 netbsd*)
14313 *qnx* | *nto*)
14314 # QNX uses GNU C++, but need to define -shared option too, otherwise
14315 # it will coredump.
14316 lt_prog_compiler_pic_CXX='-fPIC -shared'
14318 osf3* | osf4* | osf5*)
14319 case $cc_basename in
14320 KCC*)
14321 lt_prog_compiler_wl_CXX='--backend -Wl,'
14323 RCC*)
14324 # Rational C++ 2.4.1
14325 lt_prog_compiler_pic_CXX='-pic'
14327 cxx*)
14328 # Digital/Compaq C++
14329 lt_prog_compiler_wl_CXX='-Wl,'
14330 # Make sure the PIC flag is empty. It appears that all Alpha
14331 # Linux and Compaq Tru64 Unix objects are PIC.
14332 lt_prog_compiler_pic_CXX=
14333 lt_prog_compiler_static_CXX='-non_shared'
14337 esac
14339 psos*)
14341 solaris*)
14342 case $cc_basename in
14343 CC*)
14344 # Sun C++ 4.2, 5.x and Centerline C++
14345 lt_prog_compiler_pic_CXX='-KPIC'
14346 lt_prog_compiler_static_CXX='-Bstatic'
14347 lt_prog_compiler_wl_CXX='-Qoption ld '
14349 gcx*)
14350 # Green Hills C++ Compiler
14351 lt_prog_compiler_pic_CXX='-PIC'
14355 esac
14357 sunos4*)
14358 case $cc_basename in
14359 CC*)
14360 # Sun C++ 4.x
14361 lt_prog_compiler_pic_CXX='-pic'
14362 lt_prog_compiler_static_CXX='-Bstatic'
14364 lcc*)
14365 # Lucid
14366 lt_prog_compiler_pic_CXX='-pic'
14370 esac
14372 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14373 case $cc_basename in
14374 CC*)
14375 lt_prog_compiler_wl_CXX='-Wl,'
14376 lt_prog_compiler_pic_CXX='-KPIC'
14377 lt_prog_compiler_static_CXX='-Bstatic'
14379 esac
14381 tandem*)
14382 case $cc_basename in
14383 NCC*)
14384 # NonStop-UX NCC 3.20
14385 lt_prog_compiler_pic_CXX='-KPIC'
14389 esac
14391 vxworks*)
14394 lt_prog_compiler_can_build_shared_CXX=no
14396 esac
14399 case $host_os in
14400 # For platforms which do not support PIC, -DPIC is meaningless:
14401 *djgpp*)
14402 lt_prog_compiler_pic_CXX=
14405 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14407 esac
14408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14409 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14414 # Check to make sure the PIC flag actually works.
14416 if test -n "$lt_prog_compiler_pic_CXX"; then
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14418 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14419 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14420 $as_echo_n "(cached) " >&6
14421 else
14422 lt_cv_prog_compiler_pic_works_CXX=no
14423 ac_outfile=conftest.$ac_objext
14424 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14425 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14426 # Insert the option either (1) after the last *FLAGS variable, or
14427 # (2) before a word containing "conftest.", or (3) at the end.
14428 # Note that $ac_compile itself does not contain backslashes and begins
14429 # with a dollar sign (not a hyphen), so the echo should work correctly.
14430 # The option is referenced via a variable to avoid confusing sed.
14431 lt_compile=`echo "$ac_compile" | $SED \
14432 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14433 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14434 -e 's:$: $lt_compiler_flag:'`
14435 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14436 (eval "$lt_compile" 2>conftest.err)
14437 ac_status=$?
14438 cat conftest.err >&5
14439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14440 if (exit $ac_status) && test -s "$ac_outfile"; then
14441 # The compiler can only warn and ignore the option if not recognized
14442 # So say no if there are warnings other than the usual output.
14443 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14444 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14445 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14446 lt_cv_prog_compiler_pic_works_CXX=yes
14449 $RM conftest*
14452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14453 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14455 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14456 case $lt_prog_compiler_pic_CXX in
14457 "" | " "*) ;;
14458 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14459 esac
14460 else
14461 lt_prog_compiler_pic_CXX=
14462 lt_prog_compiler_can_build_shared_CXX=no
14470 # Check to make sure the static flag actually works.
14472 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14474 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14475 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14476 $as_echo_n "(cached) " >&6
14477 else
14478 lt_cv_prog_compiler_static_works_CXX=no
14479 save_LDFLAGS="$LDFLAGS"
14480 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14481 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14482 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14483 # The linker can only warn and ignore the option if not recognized
14484 # So say no if there are warnings
14485 if test -s conftest.err; then
14486 # Append any errors to the config.log.
14487 cat conftest.err 1>&5
14488 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14489 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14490 if diff conftest.exp conftest.er2 >/dev/null; then
14491 lt_cv_prog_compiler_static_works_CXX=yes
14493 else
14494 lt_cv_prog_compiler_static_works_CXX=yes
14497 $RM -r conftest*
14498 LDFLAGS="$save_LDFLAGS"
14501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14502 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14504 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14506 else
14507 lt_prog_compiler_static_CXX=
14513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14514 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14515 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14516 $as_echo_n "(cached) " >&6
14517 else
14518 lt_cv_prog_compiler_c_o_CXX=no
14519 $RM -r conftest 2>/dev/null
14520 mkdir conftest
14521 cd conftest
14522 mkdir out
14523 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14525 lt_compiler_flag="-o out/conftest2.$ac_objext"
14526 # Insert the option either (1) after the last *FLAGS variable, or
14527 # (2) before a word containing "conftest.", or (3) at the end.
14528 # Note that $ac_compile itself does not contain backslashes and begins
14529 # with a dollar sign (not a hyphen), so the echo should work correctly.
14530 lt_compile=`echo "$ac_compile" | $SED \
14531 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14532 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14533 -e 's:$: $lt_compiler_flag:'`
14534 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14535 (eval "$lt_compile" 2>out/conftest.err)
14536 ac_status=$?
14537 cat out/conftest.err >&5
14538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14539 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14540 then
14541 # The compiler can only warn and ignore the option if not recognized
14542 # So say no if there are warnings
14543 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14544 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14545 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14546 lt_cv_prog_compiler_c_o_CXX=yes
14549 chmod u+w . 2>&5
14550 $RM conftest*
14551 # SGI C++ compiler will create directory out/ii_files/ for
14552 # template instantiation
14553 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14554 $RM out/* && rmdir out
14555 cd ..
14556 $RM -r conftest
14557 $RM conftest*
14560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14561 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14566 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14567 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14568 $as_echo_n "(cached) " >&6
14569 else
14570 lt_cv_prog_compiler_c_o_CXX=no
14571 $RM -r conftest 2>/dev/null
14572 mkdir conftest
14573 cd conftest
14574 mkdir out
14575 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14577 lt_compiler_flag="-o out/conftest2.$ac_objext"
14578 # Insert the option either (1) after the last *FLAGS variable, or
14579 # (2) before a word containing "conftest.", or (3) at the end.
14580 # Note that $ac_compile itself does not contain backslashes and begins
14581 # with a dollar sign (not a hyphen), so the echo should work correctly.
14582 lt_compile=`echo "$ac_compile" | $SED \
14583 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14584 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14585 -e 's:$: $lt_compiler_flag:'`
14586 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14587 (eval "$lt_compile" 2>out/conftest.err)
14588 ac_status=$?
14589 cat out/conftest.err >&5
14590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14591 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14592 then
14593 # The compiler can only warn and ignore the option if not recognized
14594 # So say no if there are warnings
14595 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14596 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14597 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14598 lt_cv_prog_compiler_c_o_CXX=yes
14601 chmod u+w . 2>&5
14602 $RM conftest*
14603 # SGI C++ compiler will create directory out/ii_files/ for
14604 # template instantiation
14605 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14606 $RM out/* && rmdir out
14607 cd ..
14608 $RM -r conftest
14609 $RM conftest*
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14613 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14618 hard_links="nottested"
14619 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14620 # do not overwrite the value of need_locks provided by the user
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14622 $as_echo_n "checking if we can lock with hard links... " >&6; }
14623 hard_links=yes
14624 $RM conftest*
14625 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14626 touch conftest.a
14627 ln conftest.a conftest.b 2>&5 || hard_links=no
14628 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14630 $as_echo "$hard_links" >&6; }
14631 if test "$hard_links" = no; then
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14633 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14634 need_locks=warn
14636 else
14637 need_locks=no
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14643 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14645 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14646 case $host_os in
14647 aix[4-9]*)
14648 # If we're using GNU nm, then we don't want the "-C" option.
14649 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14650 # Also, AIX nm treats weak defined symbols like other global defined
14651 # symbols, whereas GNU nm marks them as "W".
14652 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14653 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'
14654 else
14655 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14658 pw32*)
14659 export_symbols_cmds_CXX="$ltdll_cmds"
14661 cygwin* | mingw* | cegcc*)
14662 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'
14665 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14667 esac
14668 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14671 $as_echo "$ld_shlibs_CXX" >&6; }
14672 test "$ld_shlibs_CXX" = no && can_build_shared=no
14674 with_gnu_ld_CXX=$with_gnu_ld
14682 # Do we need to explicitly link libc?
14684 case "x$archive_cmds_need_lc_CXX" in
14685 x|xyes)
14686 # Assume -lc should be added
14687 archive_cmds_need_lc_CXX=yes
14689 if test "$enable_shared" = yes && test "$GCC" = yes; then
14690 case $archive_cmds_CXX in
14691 *'~'*)
14692 # FIXME: we may have to deal with multi-command sequences.
14694 '$CC '*)
14695 # Test whether the compiler implicitly links with -lc since on some
14696 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14697 # to ld, don't add -lc before -lgcc.
14698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14699 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14700 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14701 $as_echo_n "(cached) " >&6
14702 else
14703 $RM conftest*
14704 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14706 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14707 (eval $ac_compile) 2>&5
14708 ac_status=$?
14709 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14710 test $ac_status = 0; } 2>conftest.err; then
14711 soname=conftest
14712 lib=conftest
14713 libobjs=conftest.$ac_objext
14714 deplibs=
14715 wl=$lt_prog_compiler_wl_CXX
14716 pic_flag=$lt_prog_compiler_pic_CXX
14717 compiler_flags=-v
14718 linker_flags=-v
14719 verstring=
14720 output_objdir=.
14721 libname=conftest
14722 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14723 allow_undefined_flag_CXX=
14724 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14725 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14726 ac_status=$?
14727 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14728 test $ac_status = 0; }
14729 then
14730 lt_cv_archive_cmds_need_lc_CXX=no
14731 else
14732 lt_cv_archive_cmds_need_lc_CXX=yes
14734 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14735 else
14736 cat conftest.err 1>&5
14738 $RM conftest*
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14742 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14743 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14745 esac
14748 esac
14813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14814 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14816 library_names_spec=
14817 libname_spec='lib$name'
14818 soname_spec=
14819 shrext_cmds=".so"
14820 postinstall_cmds=
14821 postuninstall_cmds=
14822 finish_cmds=
14823 finish_eval=
14824 shlibpath_var=
14825 shlibpath_overrides_runpath=unknown
14826 version_type=none
14827 dynamic_linker="$host_os ld.so"
14828 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14829 need_lib_prefix=unknown
14830 hardcode_into_libs=no
14832 # when you set need_version to no, make sure it does not cause -set_version
14833 # flags to be left without arguments
14834 need_version=unknown
14836 case $host_os in
14837 aix3*)
14838 version_type=linux
14839 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14840 shlibpath_var=LIBPATH
14842 # AIX 3 has no versioning support, so we append a major version to the name.
14843 soname_spec='${libname}${release}${shared_ext}$major'
14846 aix[4-9]*)
14847 version_type=linux
14848 need_lib_prefix=no
14849 need_version=no
14850 hardcode_into_libs=yes
14851 if test "$host_cpu" = ia64; then
14852 # AIX 5 supports IA64
14853 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14854 shlibpath_var=LD_LIBRARY_PATH
14855 else
14856 # With GCC up to 2.95.x, collect2 would create an import file
14857 # for dependence libraries. The import file would start with
14858 # the line `#! .'. This would cause the generated library to
14859 # depend on `.', always an invalid library. This was fixed in
14860 # development snapshots of GCC prior to 3.0.
14861 case $host_os in
14862 aix4 | aix4.[01] | aix4.[01].*)
14863 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14864 echo ' yes '
14865 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14867 else
14868 can_build_shared=no
14871 esac
14872 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14873 # soname into executable. Probably we can add versioning support to
14874 # collect2, so additional links can be useful in future.
14875 if test "$aix_use_runtimelinking" = yes; then
14876 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14877 # instead of lib<name>.a to let people know that these are not
14878 # typical AIX shared libraries.
14879 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14880 else
14881 # We preserve .a as extension for shared libraries through AIX4.2
14882 # and later when we are not doing run time linking.
14883 library_names_spec='${libname}${release}.a $libname.a'
14884 soname_spec='${libname}${release}${shared_ext}$major'
14886 shlibpath_var=LIBPATH
14890 amigaos*)
14891 case $host_cpu in
14892 powerpc)
14893 # Since July 2007 AmigaOS4 officially supports .so libraries.
14894 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14895 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14897 m68k)
14898 library_names_spec='$libname.ixlibrary $libname.a'
14899 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14900 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'
14902 esac
14905 beos*)
14906 library_names_spec='${libname}${shared_ext}'
14907 dynamic_linker="$host_os ld.so"
14908 shlibpath_var=LIBRARY_PATH
14911 bsdi[45]*)
14912 version_type=linux
14913 need_version=no
14914 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14915 soname_spec='${libname}${release}${shared_ext}$major'
14916 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14917 shlibpath_var=LD_LIBRARY_PATH
14918 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14919 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14920 # the default ld.so.conf also contains /usr/contrib/lib and
14921 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14922 # libtool to hard-code these into programs
14925 cygwin* | mingw* | pw32* | cegcc*)
14926 version_type=windows
14927 shrext_cmds=".dll"
14928 need_version=no
14929 need_lib_prefix=no
14931 case $GCC,$host_os in
14932 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14933 library_names_spec='$libname.dll.a'
14934 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14935 postinstall_cmds='base_file=`basename \${file}`~
14936 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14937 dldir=$destdir/`dirname \$dlpath`~
14938 test -d \$dldir || mkdir -p \$dldir~
14939 $install_prog $dir/$dlname \$dldir/$dlname~
14940 chmod a+x \$dldir/$dlname~
14941 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14942 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14944 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14945 dlpath=$dir/\$dldll~
14946 $RM \$dlpath'
14947 shlibpath_overrides_runpath=yes
14949 case $host_os in
14950 cygwin*)
14951 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14952 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14955 mingw* | cegcc*)
14956 # MinGW DLLs use traditional 'lib' prefix
14957 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14959 pw32*)
14960 # pw32 DLLs use 'pw' prefix rather than 'lib'
14961 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14963 esac
14967 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14969 esac
14970 dynamic_linker='Win32 ld.exe'
14971 # FIXME: first we should search . and the directory the executable is in
14972 shlibpath_var=PATH
14975 darwin* | rhapsody*)
14976 dynamic_linker="$host_os dyld"
14977 version_type=darwin
14978 need_lib_prefix=no
14979 need_version=no
14980 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14981 soname_spec='${libname}${release}${major}$shared_ext'
14982 shlibpath_overrides_runpath=yes
14983 shlibpath_var=DYLD_LIBRARY_PATH
14984 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14986 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14989 dgux*)
14990 version_type=linux
14991 need_lib_prefix=no
14992 need_version=no
14993 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14994 soname_spec='${libname}${release}${shared_ext}$major'
14995 shlibpath_var=LD_LIBRARY_PATH
14998 freebsd* | dragonfly*)
14999 # DragonFly does not have aout. When/if they implement a new
15000 # versioning mechanism, adjust this.
15001 if test -x /usr/bin/objformat; then
15002 objformat=`/usr/bin/objformat`
15003 else
15004 case $host_os in
15005 freebsd[23].*) objformat=aout ;;
15006 *) objformat=elf ;;
15007 esac
15009 version_type=freebsd-$objformat
15010 case $version_type in
15011 freebsd-elf*)
15012 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15013 need_version=no
15014 need_lib_prefix=no
15016 freebsd-*)
15017 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
15018 need_version=yes
15020 esac
15021 shlibpath_var=LD_LIBRARY_PATH
15022 case $host_os in
15023 freebsd2.*)
15024 shlibpath_overrides_runpath=yes
15026 freebsd3.[01]* | freebsdelf3.[01]*)
15027 shlibpath_overrides_runpath=yes
15028 hardcode_into_libs=yes
15030 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
15031 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
15032 shlibpath_overrides_runpath=no
15033 hardcode_into_libs=yes
15035 *) # from 4.6 on, and DragonFly
15036 shlibpath_overrides_runpath=yes
15037 hardcode_into_libs=yes
15039 esac
15042 haiku*)
15043 version_type=linux
15044 need_lib_prefix=no
15045 need_version=no
15046 dynamic_linker="$host_os runtime_loader"
15047 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15048 soname_spec='${libname}${release}${shared_ext}$major'
15049 shlibpath_var=LIBRARY_PATH
15050 shlibpath_overrides_runpath=yes
15051 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
15052 hardcode_into_libs=yes
15055 hpux9* | hpux10* | hpux11*)
15056 # Give a soname corresponding to the major version so that dld.sl refuses to
15057 # link against other versions.
15058 version_type=sunos
15059 need_lib_prefix=no
15060 need_version=no
15061 case $host_cpu in
15062 ia64*)
15063 shrext_cmds='.so'
15064 hardcode_into_libs=yes
15065 dynamic_linker="$host_os dld.so"
15066 shlibpath_var=LD_LIBRARY_PATH
15067 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15069 soname_spec='${libname}${release}${shared_ext}$major'
15070 if test "X$HPUX_IA64_MODE" = X32; then
15071 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15072 else
15073 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15075 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15077 hppa*64*)
15078 shrext_cmds='.sl'
15079 hardcode_into_libs=yes
15080 dynamic_linker="$host_os dld.sl"
15081 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15082 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15083 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15084 soname_spec='${libname}${release}${shared_ext}$major'
15085 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15086 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15089 shrext_cmds='.sl'
15090 dynamic_linker="$host_os dld.sl"
15091 shlibpath_var=SHLIB_PATH
15092 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15093 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15094 soname_spec='${libname}${release}${shared_ext}$major'
15096 esac
15097 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15098 postinstall_cmds='chmod 555 $lib'
15099 # or fails outright, so override atomically:
15100 install_override_mode=555
15103 interix[3-9]*)
15104 version_type=linux
15105 need_lib_prefix=no
15106 need_version=no
15107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15108 soname_spec='${libname}${release}${shared_ext}$major'
15109 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15110 shlibpath_var=LD_LIBRARY_PATH
15111 shlibpath_overrides_runpath=no
15112 hardcode_into_libs=yes
15115 irix5* | irix6* | nonstopux*)
15116 case $host_os in
15117 nonstopux*) version_type=nonstopux ;;
15119 if test "$lt_cv_prog_gnu_ld" = yes; then
15120 version_type=linux
15121 else
15122 version_type=irix
15123 fi ;;
15124 esac
15125 need_lib_prefix=no
15126 need_version=no
15127 soname_spec='${libname}${release}${shared_ext}$major'
15128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15129 case $host_os in
15130 irix5* | nonstopux*)
15131 libsuff= shlibsuff=
15134 case $LD in # libtool.m4 will add one of these switches to LD
15135 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15136 libsuff= shlibsuff= libmagic=32-bit;;
15137 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15138 libsuff=32 shlibsuff=N32 libmagic=N32;;
15139 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15140 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15141 *) libsuff= shlibsuff= libmagic=never-match;;
15142 esac
15144 esac
15145 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15146 shlibpath_overrides_runpath=no
15147 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15148 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15149 hardcode_into_libs=yes
15152 # No shared lib support for Linux oldld, aout, or coff.
15153 linux*oldld* | linux*aout* | linux*coff*)
15154 dynamic_linker=no
15157 # This must be Linux ELF.
15159 # uclinux* changes (here and below) have been submitted to the libtool
15160 # project, but have not yet been accepted: they are GCC-local changes
15161 # for the time being. (See
15162 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15163 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15164 version_type=linux
15165 need_lib_prefix=no
15166 need_version=no
15167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15168 soname_spec='${libname}${release}${shared_ext}$major'
15169 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15170 shlibpath_var=LD_LIBRARY_PATH
15171 shlibpath_overrides_runpath=no
15173 # Some binutils ld are patched to set DT_RUNPATH
15174 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15175 $as_echo_n "(cached) " >&6
15176 else
15177 lt_cv_shlibpath_overrides_runpath=no
15178 save_LDFLAGS=$LDFLAGS
15179 save_libdir=$libdir
15180 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15181 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15182 if test x$gcc_no_link = xyes; then
15183 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15186 /* end confdefs.h. */
15189 main ()
15193 return 0;
15195 _ACEOF
15196 if ac_fn_cxx_try_link "$LINENO"; then :
15197 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15198 lt_cv_shlibpath_overrides_runpath=yes
15201 rm -f core conftest.err conftest.$ac_objext \
15202 conftest$ac_exeext conftest.$ac_ext
15203 LDFLAGS=$save_LDFLAGS
15204 libdir=$save_libdir
15208 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15210 # This implies no fast_install, which is unacceptable.
15211 # Some rework will be needed to allow for fast_install
15212 # before this can be enabled.
15213 hardcode_into_libs=yes
15215 # Append ld.so.conf contents to the search path
15216 if test -f /etc/ld.so.conf; then
15217 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' ' '`
15218 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15221 # We used to test for /lib/ld.so.1 and disable shared libraries on
15222 # powerpc, because MkLinux only supported shared libraries with the
15223 # GNU dynamic linker. Since this was broken with cross compilers,
15224 # most powerpc-linux boxes support dynamic linking these days and
15225 # people can always --disable-shared, the test was removed, and we
15226 # assume the GNU/Linux dynamic linker is in use.
15227 dynamic_linker='GNU/Linux ld.so'
15230 netbsd*)
15231 version_type=sunos
15232 need_lib_prefix=no
15233 need_version=no
15234 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15235 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15236 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15237 dynamic_linker='NetBSD (a.out) ld.so'
15238 else
15239 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15240 soname_spec='${libname}${release}${shared_ext}$major'
15241 dynamic_linker='NetBSD ld.elf_so'
15243 shlibpath_var=LD_LIBRARY_PATH
15244 shlibpath_overrides_runpath=yes
15245 hardcode_into_libs=yes
15248 newsos6)
15249 version_type=linux
15250 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15251 shlibpath_var=LD_LIBRARY_PATH
15252 shlibpath_overrides_runpath=yes
15255 *nto* | *qnx*)
15256 version_type=qnx
15257 need_lib_prefix=no
15258 need_version=no
15259 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15260 soname_spec='${libname}${release}${shared_ext}$major'
15261 shlibpath_var=LD_LIBRARY_PATH
15262 shlibpath_overrides_runpath=no
15263 hardcode_into_libs=yes
15264 dynamic_linker='ldqnx.so'
15267 openbsd*)
15268 version_type=sunos
15269 sys_lib_dlsearch_path_spec="/usr/lib"
15270 need_lib_prefix=no
15271 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15272 case $host_os in
15273 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15274 *) need_version=no ;;
15275 esac
15276 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15277 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15278 shlibpath_var=LD_LIBRARY_PATH
15279 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15280 case $host_os in
15281 openbsd2.[89] | openbsd2.[89].*)
15282 shlibpath_overrides_runpath=no
15285 shlibpath_overrides_runpath=yes
15287 esac
15288 else
15289 shlibpath_overrides_runpath=yes
15293 os2*)
15294 libname_spec='$name'
15295 shrext_cmds=".dll"
15296 need_lib_prefix=no
15297 library_names_spec='$libname${shared_ext} $libname.a'
15298 dynamic_linker='OS/2 ld.exe'
15299 shlibpath_var=LIBPATH
15302 osf3* | osf4* | osf5*)
15303 version_type=osf
15304 need_lib_prefix=no
15305 need_version=no
15306 soname_spec='${libname}${release}${shared_ext}$major'
15307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15308 shlibpath_var=LD_LIBRARY_PATH
15309 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15310 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15313 rdos*)
15314 dynamic_linker=no
15317 solaris*)
15318 version_type=linux
15319 need_lib_prefix=no
15320 need_version=no
15321 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15322 soname_spec='${libname}${release}${shared_ext}$major'
15323 shlibpath_var=LD_LIBRARY_PATH
15324 shlibpath_overrides_runpath=yes
15325 hardcode_into_libs=yes
15326 # ldd complains unless libraries are executable
15327 postinstall_cmds='chmod +x $lib'
15330 sunos4*)
15331 version_type=sunos
15332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15333 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15334 shlibpath_var=LD_LIBRARY_PATH
15335 shlibpath_overrides_runpath=yes
15336 if test "$with_gnu_ld" = yes; then
15337 need_lib_prefix=no
15339 need_version=yes
15342 sysv4 | sysv4.3*)
15343 version_type=linux
15344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15345 soname_spec='${libname}${release}${shared_ext}$major'
15346 shlibpath_var=LD_LIBRARY_PATH
15347 case $host_vendor in
15348 sni)
15349 shlibpath_overrides_runpath=no
15350 need_lib_prefix=no
15351 runpath_var=LD_RUN_PATH
15353 siemens)
15354 need_lib_prefix=no
15356 motorola)
15357 need_lib_prefix=no
15358 need_version=no
15359 shlibpath_overrides_runpath=no
15360 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15362 esac
15365 sysv4*MP*)
15366 if test -d /usr/nec ;then
15367 version_type=linux
15368 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15369 soname_spec='$libname${shared_ext}.$major'
15370 shlibpath_var=LD_LIBRARY_PATH
15374 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15375 version_type=freebsd-elf
15376 need_lib_prefix=no
15377 need_version=no
15378 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15379 soname_spec='${libname}${release}${shared_ext}$major'
15380 shlibpath_var=LD_LIBRARY_PATH
15381 shlibpath_overrides_runpath=yes
15382 hardcode_into_libs=yes
15383 if test "$with_gnu_ld" = yes; then
15384 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15385 else
15386 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15387 case $host_os in
15388 sco3.2v5*)
15389 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15391 esac
15393 sys_lib_dlsearch_path_spec='/usr/lib'
15396 tpf*)
15397 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15398 version_type=linux
15399 need_lib_prefix=no
15400 need_version=no
15401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15402 shlibpath_var=LD_LIBRARY_PATH
15403 shlibpath_overrides_runpath=no
15404 hardcode_into_libs=yes
15407 uts4*)
15408 version_type=linux
15409 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15410 soname_spec='${libname}${release}${shared_ext}$major'
15411 shlibpath_var=LD_LIBRARY_PATH
15414 # Shared libraries for VwWorks, >= 7 only at this stage
15415 # and (fpic) still incompatible with "large" code models
15416 # in a few configurations. Only for RTP mode in any case,
15417 # and upon explicit request at configure time.
15418 vxworks7*)
15419 dynamic_linker=no
15420 case ${with_multisubdir}-${enable_shared} in
15421 *large*)
15423 *mrtp*-yes)
15424 version_type=linux
15425 need_lib_prefix=no
15426 need_version=no
15427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15428 soname_spec='${libname}${release}${shared_ext}$major'
15429 dynamic_linker="$host_os module_loader"
15431 esac
15434 dynamic_linker=no
15436 esac
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15438 $as_echo "$dynamic_linker" >&6; }
15439 test "$dynamic_linker" = no && can_build_shared=no
15441 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15442 if test "$GCC" = yes; then
15443 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15446 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15447 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15449 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15450 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15491 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15492 hardcode_action_CXX=
15493 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15494 test -n "$runpath_var_CXX" ||
15495 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15497 # We can hardcode non-existent directories.
15498 if test "$hardcode_direct_CXX" != no &&
15499 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15500 # have to relink, otherwise we might link with an installed library
15501 # when we should be linking with a yet-to-be-installed one
15502 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15503 test "$hardcode_minus_L_CXX" != no; then
15504 # Linking always hardcodes the temporary library directory.
15505 hardcode_action_CXX=relink
15506 else
15507 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15508 hardcode_action_CXX=immediate
15510 else
15511 # We cannot hardcode anything, or else we can only hardcode existing
15512 # directories.
15513 hardcode_action_CXX=unsupported
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15516 $as_echo "$hardcode_action_CXX" >&6; }
15518 if test "$hardcode_action_CXX" = relink ||
15519 test "$inherit_rpath_CXX" = yes; then
15520 # Fast installation is not supported
15521 enable_fast_install=no
15522 elif test "$shlibpath_overrides_runpath" = yes ||
15523 test "$enable_shared" = no; then
15524 # Fast installation is not necessary
15525 enable_fast_install=needless
15534 fi # test -n "$compiler"
15536 CC=$lt_save_CC
15537 LDCXX=$LD
15538 LD=$lt_save_LD
15539 GCC=$lt_save_GCC
15540 with_gnu_ld=$lt_save_with_gnu_ld
15541 lt_cv_path_LDCXX=$lt_cv_path_LD
15542 lt_cv_path_LD=$lt_save_path_LD
15543 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15544 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15545 fi # test "$_lt_caught_CXX_error" != yes
15547 ac_ext=c
15548 ac_cpp='$CPP $CPPFLAGS'
15549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15565 ac_config_commands="$ac_config_commands libtool"
15570 # Only expand once:
15576 case $host in
15577 *-cygwin* | *-mingw*)
15578 # 'host' will be top-level target in the case of a target lib,
15579 # we must compare to with_cross_host to decide if this is a native
15580 # or cross-compiler and select where to install dlls appropriately.
15581 if test -n "$with_cross_host" &&
15582 test x"$with_cross_host" != x"no"; then
15583 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15584 else
15585 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15589 lt_host_flags=
15591 esac
15598 if test "$enable_vtable_verify" = yes; then
15599 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15600 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15604 # libtool variables for C++ shared and position-independent compiles.
15606 # Use glibcxx_lt_pic_flag to designate the automake variable
15607 # used to encapsulate the default libtool approach to creating objects
15608 # with position-independent code. Default: -prefer-pic.
15610 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15611 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15613 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15614 # creating position-independent objects. This varies with the target
15615 # hardware and operating system, but is often: -DPIC -fPIC.
15616 if test "$enable_shared" = yes; then
15617 glibcxx_lt_pic_flag="-prefer-pic"
15618 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15619 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15621 else
15622 glibcxx_lt_pic_flag=
15623 glibcxx_compiler_pic_flag=
15624 glibcxx_compiler_shared_flag=
15630 # Override the libtool's pic_flag and pic_mode.
15631 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15632 # NB: this impacts --with-pic and --without-pic.
15633 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15634 pic_mode='default'
15636 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15637 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15639 # Possibly disable most of the library.
15640 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15641 ## than just ignoring the results. Faster /and/ more correct, win win.
15643 # Check whether --enable-hosted-libstdcxx was given.
15644 if test "${enable_hosted_libstdcxx+set}" = set; then :
15645 enableval=$enable_hosted_libstdcxx; enable_hosted_libstdcxx_was_given=yes
15646 else
15647 case "$host" in
15648 arm*-*-symbianelf*)
15649 enable_hosted_libstdcxx=no
15652 case "${with_newlib}-${with_headers}" in
15653 no-no) enable_hosted_libstdcxx=no ;;
15654 *) enable_hosted_libstdcxx=yes ;;
15655 esac
15657 esac
15661 # Because most configure args are --enable-libstdcxx-foo add an alias
15662 # of that form for --enable-hosted-libstdcxx.
15663 # Check whether --enable-libstdcxx-hosted was given.
15664 if test "${enable_libstdcxx_hosted+set}" = set; then :
15665 enableval=$enable_libstdcxx_hosted; if test "$enable_hosted_libstdcxx_was_given" = yes; then
15666 if test "$enable_hosted_libstdcxx" != "$enableval"; then
15667 as_fn_error $? "--enable-libstdcxx-hosted=$enableval conflicts with --enable-hosted-libstdcxx=$enable_hosted_libstdcxx" "$LINENO" 5
15669 else
15670 enable_hosted_libstdcxx=${enableval}
15676 freestanding_flags=
15677 if test "$enable_hosted_libstdcxx" = no; then
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15679 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15680 is_hosted=no
15681 hosted_define=0
15682 enable_abi_check=no
15683 enable_libstdcxx_pch=no
15684 if test "x$with_headers" = xno; then
15685 freestanding_flags="-ffreestanding"
15687 else
15688 is_hosted=yes
15689 hosted_define=__STDC_HOSTED__
15693 cat >>confdefs.h <<_ACEOF
15694 #define _GLIBCXX_HOSTED $hosted_define
15695 _ACEOF
15697 FREESTANDING_FLAGS="$freestanding_flags"
15701 # Enable descriptive messages to standard output on termination.
15703 # Check whether --enable-libstdcxx-verbose was given.
15704 if test "${enable_libstdcxx_verbose+set}" = set; then :
15705 enableval=$enable_libstdcxx_verbose;
15706 else
15707 enable_libstdcxx_verbose=yes
15710 if test x"$enable_libstdcxx_verbose" = xyes; then
15711 verbose_define=1
15712 else
15713 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15714 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15715 verbose_define=0
15718 cat >>confdefs.h <<_ACEOF
15719 #define _GLIBCXX_VERBOSE $verbose_define
15720 _ACEOF
15724 # Enable compiler support that doesn't require linking.
15726 # Check whether --enable-libstdcxx-pch was given.
15727 if test "${enable_libstdcxx_pch+set}" = set; then :
15728 enableval=$enable_libstdcxx_pch;
15729 case "$enableval" in
15730 yes|no) ;;
15731 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15732 esac
15734 else
15735 enable_libstdcxx_pch=$is_hosted
15739 if test $enable_libstdcxx_pch = yes; then
15740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15741 $as_echo_n "checking for compiler with PCH support... " >&6; }
15742 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15743 $as_echo_n "(cached) " >&6
15744 else
15745 ac_save_CXXFLAGS="$CXXFLAGS"
15746 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15748 ac_ext=cpp
15749 ac_cpp='$CXXCPP $CPPFLAGS'
15750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15754 echo '#include <math.h>' > conftest.h
15755 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15756 -o conftest.h.gch 1>&5 2>&1 &&
15757 echo '#error "pch failed"' > conftest.h &&
15758 echo '#include "conftest.h"' > conftest.cc &&
15759 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15760 then
15761 glibcxx_cv_prog_CXX_pch=yes
15762 else
15763 glibcxx_cv_prog_CXX_pch=no
15765 rm -f conftest*
15766 CXXFLAGS=$ac_save_CXXFLAGS
15767 ac_ext=c
15768 ac_cpp='$CPP $CPPFLAGS'
15769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15776 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15777 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15781 $as_echo_n "checking for enabled PCH... " >&6; }
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15783 $as_echo "$enable_libstdcxx_pch" >&6; }
15786 if test $enable_libstdcxx_pch = yes; then
15787 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15788 else
15789 glibcxx_PCHFLAGS=""
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15795 $as_echo_n "checking for thread model used by GCC... " >&6; }
15796 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15798 $as_echo "$target_thread_file" >&6; }
15800 case $target_thread_file in
15801 aix) thread_header=config/rs6000/gthr-aix.h ;;
15802 dce) thread_header=config/pa/gthr-dce.h ;;
15803 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15804 lynx) thread_header=config/gthr-lynx.h ;;
15805 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15806 posix) thread_header=gthr-posix.h ;;
15807 rtems) thread_header=config/gthr-rtems.h ;;
15808 single) thread_header=gthr-single.h ;;
15809 tpf) thread_header=config/s390/gthr-tpf.h ;;
15810 vxworks) thread_header=config/gthr-vxworks.h ;;
15811 win32) thread_header=config/i386/gthr-win32.h ;;
15812 mcf) thread_header=config/i386/gthr-mcf.h ;;
15813 esac
15819 ac_ext=cpp
15820 ac_cpp='$CXXCPP $CPPFLAGS'
15821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15825 old_CXXFLAGS="$CXXFLAGS"
15827 # Do link tests if possible, instead asm tests, limited to some platforms
15828 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15829 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15830 atomic_builtins_link_tests=no
15831 if test x$gcc_no_link != xyes; then
15832 # Can do link tests. Limit to some tested platforms
15833 case "$host" in
15834 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15835 atomic_builtins_link_tests=yes
15837 esac
15840 if test x$atomic_builtins_link_tests = xyes; then
15842 # Do link tests.
15844 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15847 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15848 if ${glibcxx_cv_atomic_bool+:} false; then :
15849 $as_echo_n "(cached) " >&6
15850 else
15852 if test x$gcc_no_link = xyes; then
15853 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15859 main ()
15861 typedef bool atomic_type;
15862 atomic_type c1;
15863 atomic_type c2;
15864 atomic_type c3(0);
15865 // N.B. __atomic_fetch_add is not supported for bool.
15866 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15867 __ATOMIC_RELAXED);
15868 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15869 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15872 return 0;
15874 _ACEOF
15875 if ac_fn_cxx_try_link "$LINENO"; then :
15876 glibcxx_cv_atomic_bool=yes
15877 else
15878 glibcxx_cv_atomic_bool=no
15880 rm -f core conftest.err conftest.$ac_objext \
15881 conftest$ac_exeext conftest.$ac_ext
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15885 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15888 $as_echo_n "checking for atomic builtins for short... " >&6; }
15889 if ${glibcxx_cv_atomic_short+:} false; then :
15890 $as_echo_n "(cached) " >&6
15891 else
15893 if test x$gcc_no_link = xyes; then
15894 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15897 /* end confdefs.h. */
15900 main ()
15902 typedef short atomic_type;
15903 atomic_type c1;
15904 atomic_type c2;
15905 atomic_type c3(0);
15906 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15907 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15908 __ATOMIC_RELAXED);
15909 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15910 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15913 return 0;
15915 _ACEOF
15916 if ac_fn_cxx_try_link "$LINENO"; then :
15917 glibcxx_cv_atomic_short=yes
15918 else
15919 glibcxx_cv_atomic_short=no
15921 rm -f core conftest.err conftest.$ac_objext \
15922 conftest$ac_exeext conftest.$ac_ext
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15926 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15929 $as_echo_n "checking for atomic builtins for int... " >&6; }
15930 if ${glibcxx_cv_atomic_int+:} false; then :
15931 $as_echo_n "(cached) " >&6
15932 else
15934 if test x$gcc_no_link = xyes; then
15935 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15938 /* end confdefs.h. */
15941 main ()
15943 typedef int atomic_type;
15944 atomic_type c1;
15945 atomic_type c2;
15946 atomic_type c3(0);
15947 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15948 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15949 __ATOMIC_RELAXED);
15950 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15951 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15954 return 0;
15956 _ACEOF
15957 if ac_fn_cxx_try_link "$LINENO"; then :
15958 glibcxx_cv_atomic_int=yes
15959 else
15960 glibcxx_cv_atomic_int=no
15962 rm -f core conftest.err conftest.$ac_objext \
15963 conftest$ac_exeext conftest.$ac_ext
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15967 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15970 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15971 if ${glibcxx_cv_atomic_long_long+:} false; then :
15972 $as_echo_n "(cached) " >&6
15973 else
15975 if test x$gcc_no_link = xyes; then
15976 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15979 /* end confdefs.h. */
15982 main ()
15984 typedef long long atomic_type;
15985 atomic_type c1;
15986 atomic_type c2;
15987 atomic_type c3(0);
15988 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15989 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15990 __ATOMIC_RELAXED);
15991 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15992 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15995 return 0;
15997 _ACEOF
15998 if ac_fn_cxx_try_link "$LINENO"; then :
15999 glibcxx_cv_atomic_long_long=yes
16000 else
16001 glibcxx_cv_atomic_long_long=no
16003 rm -f core conftest.err conftest.$ac_objext \
16004 conftest$ac_exeext conftest.$ac_ext
16007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16008 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16010 else
16012 # Do asm tests.
16014 # Compile unoptimized.
16015 CXXFLAGS='-O0 -S'
16017 # Fake what AC_TRY_COMPILE does.
16019 cat > conftest.$ac_ext << EOF
16020 #line 16020 "configure"
16021 int main()
16023 typedef bool atomic_type;
16024 atomic_type c1;
16025 atomic_type c2;
16026 atomic_type c3(0);
16027 // N.B. __atomic_fetch_add is not supported for bool.
16028 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16029 __ATOMIC_RELAXED);
16030 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16031 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16033 return 0;
16037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
16038 $as_echo_n "checking for atomic builtins for bool... " >&6; }
16039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16040 (eval $ac_compile) 2>&5
16041 ac_status=$?
16042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16043 test $ac_status = 0; }; then
16044 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16045 glibcxx_cv_atomic_bool=no
16046 else
16047 glibcxx_cv_atomic_bool=yes
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
16051 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
16052 rm -f conftest*
16054 cat > conftest.$ac_ext << EOF
16055 #line 16055 "configure"
16056 int main()
16058 typedef short atomic_type;
16059 atomic_type c1;
16060 atomic_type c2;
16061 atomic_type c3(0);
16062 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16063 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16064 __ATOMIC_RELAXED);
16065 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16066 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16068 return 0;
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
16073 $as_echo_n "checking for atomic builtins for short... " >&6; }
16074 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16075 (eval $ac_compile) 2>&5
16076 ac_status=$?
16077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16078 test $ac_status = 0; }; then
16079 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16080 glibcxx_cv_atomic_short=no
16081 else
16082 glibcxx_cv_atomic_short=yes
16085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
16086 $as_echo "$glibcxx_cv_atomic_short" >&6; }
16087 rm -f conftest*
16089 cat > conftest.$ac_ext << EOF
16090 #line 16090 "configure"
16091 int main()
16093 // NB: _Atomic_word not necessarily int.
16094 typedef int atomic_type;
16095 atomic_type c1;
16096 atomic_type c2;
16097 atomic_type c3(0);
16098 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16099 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16100 __ATOMIC_RELAXED);
16101 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16102 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16104 return 0;
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16109 $as_echo_n "checking for atomic builtins for int... " >&6; }
16110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16111 (eval $ac_compile) 2>&5
16112 ac_status=$?
16113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16114 test $ac_status = 0; }; then
16115 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16116 glibcxx_cv_atomic_int=no
16117 else
16118 glibcxx_cv_atomic_int=yes
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16122 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16123 rm -f conftest*
16125 cat > conftest.$ac_ext << EOF
16126 #line 16126 "configure"
16127 int main()
16129 typedef long long atomic_type;
16130 atomic_type c1;
16131 atomic_type c2;
16132 atomic_type c3(0);
16133 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16134 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16135 __ATOMIC_RELAXED);
16136 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16137 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16139 return 0;
16143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16144 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16145 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16146 (eval $ac_compile) 2>&5
16147 ac_status=$?
16148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16149 test $ac_status = 0; }; then
16150 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16151 glibcxx_cv_atomic_long_long=no
16152 else
16153 glibcxx_cv_atomic_long_long=yes
16156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16157 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16158 rm -f conftest*
16162 CXXFLAGS="$old_CXXFLAGS"
16163 ac_ext=c
16164 ac_cpp='$CPP $CPPFLAGS'
16165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16170 # Set atomicity_dir to builtins if all but the long long test above passes,
16171 # or if the builtins were already chosen (e.g. by configure.host).
16172 if { test "$glibcxx_cv_atomic_bool" = yes \
16173 && test "$glibcxx_cv_atomic_short" = yes \
16174 && test "$glibcxx_cv_atomic_int" = yes; } \
16175 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16177 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16179 atomicity_dir=cpu/generic/atomicity_builtins
16182 # If still generic, set to mutex.
16183 if test $atomicity_dir = "cpu/generic" ; then
16184 atomicity_dir=cpu/generic/atomicity_mutex
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16186 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16187 if test "x$target_thread_file" = xsingle; then
16188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16189 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16191 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16192 else
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16194 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16196 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16204 # Check whether --with-libstdcxx-lock-policy was given.
16205 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16206 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16207 else
16208 libstdcxx_atomic_lock_policy=auto
16212 case "$libstdcxx_atomic_lock_policy" in
16213 atomic|mutex|auto) ;;
16214 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16215 esac
16216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16217 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16219 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16221 ac_ext=cpp
16222 ac_cpp='$CXXCPP $CPPFLAGS'
16223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16227 ac_save_CXXFLAGS="$CXXFLAGS"
16229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16230 /* end confdefs.h. */
16232 #if defined __riscv
16233 # error "Defaulting to mutex-based locks for ABI compatibility"
16234 #endif
16235 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16236 # error "No 2-byte compare-and-swap"
16237 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16238 # error "No 4-byte compare-and-swap"
16239 #endif
16242 main ()
16246 return 0;
16248 _ACEOF
16249 if ac_fn_cxx_try_compile "$LINENO"; then :
16250 libstdcxx_atomic_lock_policy=atomic
16251 else
16252 libstdcxx_atomic_lock_policy=mutex
16254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16255 ac_ext=c
16256 ac_cpp='$CPP $CPPFLAGS'
16257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16261 CXXFLAGS="$ac_save_CXXFLAGS"
16264 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16266 $as_echo "atomic" >&6; }
16268 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16270 else
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16272 $as_echo "mutex" >&6; }
16278 # Fake what AC_TRY_COMPILE does, without linking as this is
16279 # unnecessary for this test.
16281 cat > conftest.$ac_ext << EOF
16282 #line 16282 "configure"
16283 int main()
16285 _Decimal32 d1;
16286 _Decimal64 d2;
16287 _Decimal128 d3;
16288 return 0;
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16293 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16294 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16295 (eval $ac_compile) 2>&5
16296 ac_status=$?
16297 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16298 test $ac_status = 0; }; then
16300 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16302 enable_dfp=yes
16303 else
16304 enable_dfp=no
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16307 $as_echo "$enable_dfp" >&6; }
16308 rm -f conftest*
16313 ac_ext=cpp
16314 ac_cpp='$CXXCPP $CPPFLAGS'
16315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16320 # Fake what AC_TRY_COMPILE does, without linking as this is
16321 # unnecessary for this test.
16323 cat > conftest.$ac_ext << EOF
16324 #line 16324 "configure"
16325 template<typename T1, typename T2>
16326 struct same
16327 { typedef T2 type; };
16329 template<typename T>
16330 struct same<T, T>;
16332 int main()
16334 typename same<double, __float128>::type f1;
16335 typename same<long double, __float128>::type f2;
16339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16340 $as_echo_n "checking for __float128... " >&6; }
16341 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16342 (eval $ac_compile) 2>&5
16343 ac_status=$?
16344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16345 test $ac_status = 0; }; then
16346 enable_float128=yes
16347 else
16348 enable_float128=no
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16351 $as_echo "$enable_float128" >&6; }
16353 rm -f conftest*
16355 ac_ext=c
16356 ac_cpp='$CPP $CPPFLAGS'
16357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16362 if test "$enable_float128" = yes; then
16363 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16366 # Checks for compiler support that doesn't require linking.
16368 # All these tests are for C++; save the language and the compiler flags.
16369 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16370 # found in GLIBCXX_CONFIGURE.
16372 ac_ext=cpp
16373 ac_cpp='$CXXCPP $CPPFLAGS'
16374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16378 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16379 ac_save_CXXFLAGS="$CXXFLAGS"
16381 # Check for -ffunction-sections -fdata-sections
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16383 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16384 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16386 /* end confdefs.h. */
16387 int foo; void bar() { };
16389 main ()
16393 return 0;
16395 _ACEOF
16396 if ac_fn_cxx_try_compile "$LINENO"; then :
16397 ac_fdsections=yes
16398 else
16399 ac_fdsections=no
16401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16402 if test "$ac_test_CXXFLAGS" = set; then
16403 CXXFLAGS="$ac_save_CXXFLAGS"
16404 else
16405 # this is the suspicious part
16406 CXXFLAGS=''
16408 if test x"$ac_fdsections" = x"yes"; then
16409 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16412 $as_echo "$ac_fdsections" >&6; }
16414 ac_ext=c
16415 ac_cpp='$CPP $CPPFLAGS'
16416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16423 # Enable all the variable C++ runtime options that don't require linking.
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16426 $as_echo_n "checking for underlying I/O to use... " >&6; }
16427 # Check whether --enable-cstdio was given.
16428 if test "${enable_cstdio+set}" = set; then :
16429 enableval=$enable_cstdio;
16430 case "$enableval" in
16431 stdio|stdio_posix|stdio_pure) ;;
16432 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16433 esac
16435 else
16436 enable_cstdio=stdio
16441 # The only available I/O model is based on stdio, via basic_file_stdio.
16442 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16443 # to get a file descriptor and then uses read(3) and write(3) with it.
16444 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16445 case ${enable_cstdio} in
16446 stdio*)
16447 CSTDIO_H=config/io/c_io_stdio.h
16448 BASIC_FILE_H=config/io/basic_file_stdio.h
16449 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16451 if test "x$enable_cstdio" = "xstdio_pure" ; then
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (without POSIX read/write)" >&5
16453 $as_echo "stdio (without POSIX read/write)" >&6; }
16455 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16457 else
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio (with POSIX read/write)" >&5
16459 $as_echo "stdio (with POSIX read/write)" >&6; }
16462 esac
16469 # Check whether --enable-clocale was given.
16470 if test "${enable_clocale+set}" = set; then :
16471 enableval=$enable_clocale;
16472 case "$enableval" in
16473 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16474 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16475 esac
16477 else
16478 enable_clocale=auto
16483 # Deal with gettext issues. Default to not using it (=no) until we detect
16484 # support for it later. Let the user turn it off via --e/d, but let that
16485 # default to on for easier handling.
16486 USE_NLS=no
16487 # Check whether --enable-nls was given.
16488 if test "${enable_nls+set}" = set; then :
16489 enableval=$enable_nls;
16490 else
16491 enable_nls=yes
16495 # Either a known package, or "auto"
16496 if test $enable_clocale = no || test $enable_clocale = yes; then
16497 enable_clocale=auto
16499 enable_clocale_flag=$enable_clocale
16501 # Probe for locale model to use if none specified.
16502 # Default to "generic".
16503 if test $enable_clocale_flag = auto; then
16504 case ${target_os} in
16505 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16506 enable_clocale_flag=gnu
16508 darwin*)
16509 enable_clocale_flag=darwin
16511 vxworks*)
16512 enable_clocale_flag=vxworks
16514 dragonfly* | freebsd*)
16515 enable_clocale_flag=dragonfly
16517 openbsd*)
16518 enable_clocale_flag=newlib
16521 if test x"$with_newlib" = x"yes"; then
16522 enable_clocale_flag=newlib
16523 else
16524 enable_clocale_flag=generic
16527 esac
16530 # Sanity check model, and test for special functionality.
16531 if test $enable_clocale_flag = gnu; then
16532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16533 /* end confdefs.h. */
16535 #include <features.h>
16536 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16537 _GLIBCXX_ok
16538 #endif
16540 _ACEOF
16541 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16542 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16543 enable_clocale_flag=gnu
16544 else
16545 enable_clocale_flag=generic
16547 rm -f conftest*
16550 # Set it to scream when it hurts.
16551 ac_save_CFLAGS="$CFLAGS"
16552 CFLAGS="-Wimplicit-function-declaration -Werror"
16554 # Use strxfrm_l if available.
16555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16557 #define _GNU_SOURCE 1
16558 #include <string.h>
16559 #include <locale.h>
16561 main ()
16563 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16565 return 0;
16567 _ACEOF
16568 if ac_fn_c_try_compile "$LINENO"; then :
16570 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 # Use strerror_l if available.
16576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16577 /* end confdefs.h. */
16578 #define _GNU_SOURCE 1
16579 #include <string.h>
16580 #include <locale.h>
16582 main ()
16584 __locale_t loc; strerror_l(5, loc);
16586 return 0;
16588 _ACEOF
16589 if ac_fn_c_try_compile "$LINENO"; then :
16591 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16596 CFLAGS="$ac_save_CFLAGS"
16599 # Perhaps use strerror_r if available, and strerror_l isn't.
16600 ac_save_CFLAGS="$CFLAGS"
16601 CFLAGS="-Wimplicit-function-declaration -Werror"
16602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16603 /* end confdefs.h. */
16604 #define _GNU_SOURCE 1
16605 #include <string.h>
16606 #include <locale.h>
16608 main ()
16610 char s[128]; strerror_r(5, s, 128);
16612 return 0;
16614 _ACEOF
16615 if ac_fn_c_try_compile "$LINENO"; then :
16617 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16621 CFLAGS="$ac_save_CFLAGS"
16623 # Set configure bits for specified locale package
16624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16625 $as_echo_n "checking for C locale to use... " >&6; }
16626 case ${enable_clocale_flag} in
16627 generic)
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16629 $as_echo "generic" >&6; }
16631 CLOCALE_H=config/locale/generic/c_locale.h
16632 CLOCALE_CC=config/locale/generic/c_locale.cc
16633 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16634 CCOLLATE_CC=config/locale/generic/collate_members.cc
16635 CCTYPE_CC=config/locale/generic/ctype_members.cc
16636 CMESSAGES_H=config/locale/generic/messages_members.h
16637 CMESSAGES_CC=config/locale/generic/messages_members.cc
16638 CMONEY_CC=config/locale/generic/monetary_members.cc
16639 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16640 CTIME_H=config/locale/generic/time_members.h
16641 CTIME_CC=config/locale/generic/time_members.cc
16642 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16644 darwin)
16645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16646 $as_echo "darwin" >&6; }
16648 CLOCALE_H=config/locale/generic/c_locale.h
16649 CLOCALE_CC=config/locale/generic/c_locale.cc
16650 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16651 CCOLLATE_CC=config/locale/generic/collate_members.cc
16652 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16653 CMESSAGES_H=config/locale/generic/messages_members.h
16654 CMESSAGES_CC=config/locale/generic/messages_members.cc
16655 CMONEY_CC=config/locale/generic/monetary_members.cc
16656 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16657 CTIME_H=config/locale/generic/time_members.h
16658 CTIME_CC=config/locale/generic/time_members.cc
16659 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16661 vxworks)
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: vxworks" >&5
16663 $as_echo "vxworks" >&6; }
16665 CLOCALE_H=config/locale/generic/c_locale.h
16666 CLOCALE_CC=config/locale/generic/c_locale.cc
16667 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16668 CCOLLATE_CC=config/locale/generic/collate_members.cc
16669 CCTYPE_CC=config/locale/vxworks/ctype_members.cc
16670 CMESSAGES_H=config/locale/generic/messages_members.h
16671 CMESSAGES_CC=config/locale/generic/messages_members.cc
16672 CMONEY_CC=config/locale/generic/monetary_members.cc
16673 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16674 CTIME_H=config/locale/generic/time_members.h
16675 CTIME_CC=config/locale/generic/time_members.cc
16676 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16678 dragonfly)
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16680 $as_echo "dragonfly or freebsd" >&6; }
16682 CLOCALE_H=config/locale/dragonfly/c_locale.h
16683 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16684 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16685 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16686 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16687 CMESSAGES_H=config/locale/generic/messages_members.h
16688 CMESSAGES_CC=config/locale/generic/messages_members.cc
16689 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16690 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16691 CTIME_H=config/locale/dragonfly/time_members.h
16692 CTIME_CC=config/locale/dragonfly/time_members.cc
16693 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16696 gnu)
16697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16698 $as_echo "gnu" >&6; }
16700 # Declare intention to use gettext, and add support for specific
16701 # languages.
16702 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16703 ALL_LINGUAS="de fr"
16705 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16706 # Extract the first word of "msgfmt", so it can be a program name with args.
16707 set dummy msgfmt; ac_word=$2
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16709 $as_echo_n "checking for $ac_word... " >&6; }
16710 if ${ac_cv_prog_check_msgfmt+:} false; then :
16711 $as_echo_n "(cached) " >&6
16712 else
16713 if test -n "$check_msgfmt"; then
16714 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16715 else
16716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16717 for as_dir in $PATH
16719 IFS=$as_save_IFS
16720 test -z "$as_dir" && as_dir=.
16721 for ac_exec_ext in '' $ac_executable_extensions; do
16722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16723 ac_cv_prog_check_msgfmt="yes"
16724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16725 break 2
16727 done
16728 done
16729 IFS=$as_save_IFS
16731 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16734 check_msgfmt=$ac_cv_prog_check_msgfmt
16735 if test -n "$check_msgfmt"; then
16736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16737 $as_echo "$check_msgfmt" >&6; }
16738 else
16739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16740 $as_echo "no" >&6; }
16744 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16745 USE_NLS=yes
16747 # Export the build objects.
16748 for ling in $ALL_LINGUAS; do \
16749 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16750 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16751 done
16755 CLOCALE_H=config/locale/gnu/c_locale.h
16756 CLOCALE_CC=config/locale/gnu/c_locale.cc
16757 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16758 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16759 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16760 CMESSAGES_H=config/locale/gnu/messages_members.h
16761 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16762 CMONEY_CC=config/locale/gnu/monetary_members.cc
16763 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16764 CTIME_H=config/locale/gnu/time_members.h
16765 CTIME_CC=config/locale/gnu/time_members.cc
16766 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16768 ieee_1003.1-2001)
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16770 $as_echo "IEEE 1003.1" >&6; }
16772 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16773 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16774 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16775 CCOLLATE_CC=config/locale/generic/collate_members.cc
16776 CCTYPE_CC=config/locale/generic/ctype_members.cc
16777 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16778 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16779 CMONEY_CC=config/locale/generic/monetary_members.cc
16780 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16781 CTIME_H=config/locale/generic/time_members.h
16782 CTIME_CC=config/locale/generic/time_members.cc
16783 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16785 newlib)
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16787 $as_echo "newlib" >&6; }
16789 CLOCALE_H=config/locale/generic/c_locale.h
16790 CLOCALE_CC=config/locale/generic/c_locale.cc
16791 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16792 CCOLLATE_CC=config/locale/generic/collate_members.cc
16793 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16794 CMESSAGES_H=config/locale/generic/messages_members.h
16795 CMESSAGES_CC=config/locale/generic/messages_members.cc
16796 CMONEY_CC=config/locale/generic/monetary_members.cc
16797 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16798 CTIME_H=config/locale/generic/time_members.h
16799 CTIME_CC=config/locale/generic/time_members.cc
16800 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16802 esac
16804 # This is where the testsuite looks for locale catalogs, using the
16805 # -DLOCALEDIR define during testsuite compilation.
16806 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16809 # A standalone libintl (e.g., GNU libintl) may be in use.
16810 if test $USE_NLS = yes; then
16811 for ac_header in libintl.h
16812 do :
16813 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16814 if test "x$ac_cv_header_libintl_h" = xyes; then :
16815 cat >>confdefs.h <<_ACEOF
16816 #define HAVE_LIBINTL_H 1
16817 _ACEOF
16819 else
16820 USE_NLS=no
16823 done
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16826 $as_echo_n "checking for library containing gettext... " >&6; }
16827 if ${ac_cv_search_gettext+:} false; then :
16828 $as_echo_n "(cached) " >&6
16829 else
16830 ac_func_search_save_LIBS=$LIBS
16831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16832 /* end confdefs.h. */
16834 /* Override any GCC internal prototype to avoid an error.
16835 Use char because int might match the return type of a GCC
16836 builtin and then its argument prototype would still apply. */
16837 #ifdef __cplusplus
16838 extern "C"
16839 #endif
16840 char gettext ();
16842 main ()
16844 return gettext ();
16846 return 0;
16848 _ACEOF
16849 for ac_lib in '' intl; do
16850 if test -z "$ac_lib"; then
16851 ac_res="none required"
16852 else
16853 ac_res=-l$ac_lib
16854 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16856 if test x$gcc_no_link = xyes; then
16857 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16859 if ac_fn_c_try_link "$LINENO"; then :
16860 ac_cv_search_gettext=$ac_res
16862 rm -f core conftest.err conftest.$ac_objext \
16863 conftest$ac_exeext
16864 if ${ac_cv_search_gettext+:} false; then :
16865 break
16867 done
16868 if ${ac_cv_search_gettext+:} false; then :
16870 else
16871 ac_cv_search_gettext=no
16873 rm conftest.$ac_ext
16874 LIBS=$ac_func_search_save_LIBS
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16877 $as_echo "$ac_cv_search_gettext" >&6; }
16878 ac_res=$ac_cv_search_gettext
16879 if test "$ac_res" != no; then :
16880 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16882 else
16883 USE_NLS=no
16887 if test $USE_NLS = yes; then
16889 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16909 $as_echo_n "checking for std::allocator base class... " >&6; }
16910 # Check whether --enable-libstdcxx-allocator was given.
16911 if test "${enable_libstdcxx_allocator+set}" = set; then :
16912 enableval=$enable_libstdcxx_allocator;
16913 case "$enableval" in
16914 new|malloc|yes|no|auto) ;;
16915 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16916 esac
16918 else
16919 enable_libstdcxx_allocator=auto
16924 # If they didn't use this option switch, or if they specified --enable
16925 # with no specific model, we'll have to look for one. If they
16926 # specified --disable (???), do likewise.
16927 if test $enable_libstdcxx_allocator = no ||
16928 test $enable_libstdcxx_allocator = yes;
16929 then
16930 enable_libstdcxx_allocator=auto
16933 # Either a known package, or "auto". Auto implies the default choice
16934 # for a particular platform.
16935 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16937 # Probe for host-specific support if no specific model is specified.
16938 # Default to "new".
16939 if test $enable_libstdcxx_allocator_flag = auto; then
16940 case ${target_os} in
16941 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16942 enable_libstdcxx_allocator_flag=new
16945 enable_libstdcxx_allocator_flag=new
16947 esac
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16950 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16953 # Set configure bits for specified locale package
16954 case ${enable_libstdcxx_allocator_flag} in
16955 malloc)
16956 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16957 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16959 new)
16960 ALLOCATOR_H=config/allocator/new_allocator_base.h
16961 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16963 esac
16970 # Check whether --enable-cheaders-obsolete was given.
16971 if test "${enable_cheaders_obsolete+set}" = set; then :
16972 enableval=$enable_cheaders_obsolete;
16973 case "$enableval" in
16974 yes|no) ;;
16975 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16976 esac
16978 else
16979 enable_cheaders_obsolete=no
16983 # Check whether --enable-cheaders was given.
16984 if test "${enable_cheaders+set}" = set; then :
16985 enableval=$enable_cheaders;
16986 case "$enableval" in
16987 c|c_global|c_std) ;;
16988 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16989 esac
16991 else
16992 enable_cheaders=$c_model
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16997 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16998 if test $enable_cheaders = c_std ; then
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
17000 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
17001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
17002 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
17003 if test $enable_cheaders_obsolete != yes ; then
17004 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
17008 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
17010 # Allow overrides to configure.host here.
17011 if test $enable_cheaders = c_global; then
17012 c_compatibility=yes
17021 # Check whether --enable-long-long was given.
17022 if test "${enable_long_long+set}" = set; then :
17023 enableval=$enable_long_long;
17024 case "$enableval" in
17025 yes|no) ;;
17026 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
17027 esac
17029 else
17030 enable_long_long=yes
17034 if test $enable_long_long = yes; then
17036 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
17040 $as_echo_n "checking for enabled long long specializations... " >&6; }
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
17042 $as_echo "$enable_long_long" >&6; }
17045 # Check whether --enable-wchar_t was given.
17046 if test "${enable_wchar_t+set}" = set; then :
17047 enableval=$enable_wchar_t;
17048 case "$enableval" in
17049 yes|no) ;;
17050 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
17051 esac
17053 else
17054 enable_wchar_t=yes
17059 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
17060 for ac_header in wchar.h
17061 do :
17062 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
17063 if test "x$ac_cv_header_wchar_h" = xyes; then :
17064 cat >>confdefs.h <<_ACEOF
17065 #define HAVE_WCHAR_H 1
17066 _ACEOF
17067 ac_has_wchar_h=yes
17068 else
17069 ac_has_wchar_h=no
17072 done
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
17075 $as_echo_n "checking for mbstate_t... " >&6; }
17076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17077 /* end confdefs.h. */
17078 #include <wchar.h>
17080 main ()
17082 mbstate_t teststate;
17084 return 0;
17086 _ACEOF
17087 if ac_fn_c_try_compile "$LINENO"; then :
17088 have_mbstate_t=yes
17089 else
17090 have_mbstate_t=no
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17094 $as_echo "$have_mbstate_t" >&6; }
17095 if test x"$have_mbstate_t" = xyes; then
17097 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17101 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17102 # ac_has_wchar_h.
17103 for ac_header in wctype.h
17104 do :
17105 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17106 if test "x$ac_cv_header_wctype_h" = xyes; then :
17107 cat >>confdefs.h <<_ACEOF
17108 #define HAVE_WCTYPE_H 1
17109 _ACEOF
17110 ac_has_wctype_h=yes
17111 else
17112 ac_has_wctype_h=no
17115 done
17118 if test x"$enable_wchar_t" = x"yes"; then
17121 ac_ext=cpp
17122 ac_cpp='$CXXCPP $CPPFLAGS'
17123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17128 if test x"$ac_has_wchar_h" = xyes &&
17129 test x"$ac_has_wctype_h" = xyes; then
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 #include <wchar.h>
17133 #include <stddef.h>
17134 wint_t i;
17135 long l = WEOF;
17136 long j = WCHAR_MIN;
17137 long k = WCHAR_MAX;
17138 namespace test
17140 using ::btowc;
17141 using ::fgetwc;
17142 using ::fgetws;
17143 using ::fputwc;
17144 using ::fputws;
17145 using ::fwide;
17146 using ::fwprintf;
17147 using ::fwscanf;
17148 using ::getwc;
17149 using ::getwchar;
17150 using ::mbrlen;
17151 using ::mbrtowc;
17152 using ::mbsinit;
17153 using ::mbsrtowcs;
17154 using ::putwc;
17155 using ::putwchar;
17156 using ::swprintf;
17157 using ::swscanf;
17158 using ::ungetwc;
17159 using ::vfwprintf;
17160 using ::vswprintf;
17161 using ::vwprintf;
17162 using ::wcrtomb;
17163 using ::wcscat;
17164 using ::wcschr;
17165 using ::wcscmp;
17166 using ::wcscoll;
17167 using ::wcscpy;
17168 using ::wcscspn;
17169 using ::wcsftime;
17170 using ::wcslen;
17171 using ::wcsncat;
17172 using ::wcsncmp;
17173 using ::wcsncpy;
17174 using ::wcspbrk;
17175 using ::wcsrchr;
17176 using ::wcsrtombs;
17177 using ::wcsspn;
17178 using ::wcsstr;
17179 using ::wcstod;
17180 using ::wcstok;
17181 using ::wcstol;
17182 using ::wcstoul;
17183 using ::wcsxfrm;
17184 using ::wctob;
17185 using ::wmemchr;
17186 using ::wmemcmp;
17187 using ::wmemcpy;
17188 using ::wmemmove;
17189 using ::wmemset;
17190 using ::wprintf;
17191 using ::wscanf;
17195 main ()
17199 return 0;
17201 _ACEOF
17202 if ac_fn_cxx_try_compile "$LINENO"; then :
17204 else
17205 enable_wchar_t=no
17207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17208 else
17209 enable_wchar_t=no
17212 ac_ext=c
17213 ac_cpp='$CPP $CPPFLAGS'
17214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17220 if test x"$enable_wchar_t" = x"yes"; then
17222 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17227 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17229 $as_echo "$enable_wchar_t" >&6; }
17233 # Check whether --enable-c99 was given.
17234 if test "${enable_c99+set}" = set; then :
17235 enableval=$enable_c99;
17236 case "$enableval" in
17237 yes|no) ;;
17238 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17239 esac
17241 else
17242 enable_c99=yes
17247 if test x"$enable_c99" = x"yes"; then
17249 ac_ext=cpp
17250 ac_cpp='$CXXCPP $CPPFLAGS'
17251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17256 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17257 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17258 # to be spuriously enabled.
17259 ac_save_CXXFLAGS="$CXXFLAGS"
17260 CXXFLAGS="$CXXFLAGS -std=c++98"
17261 ac_save_LIBS="$LIBS"
17262 ac_save_gcc_no_link="$gcc_no_link"
17264 if test x$gcc_no_link != xyes; then
17265 # Use -fno-exceptions to that the C driver can link these tests without
17266 # hitting undefined references to personality routines.
17267 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17269 $as_echo_n "checking for sin in -lm... " >&6; }
17270 if ${ac_cv_lib_m_sin+:} false; then :
17271 $as_echo_n "(cached) " >&6
17272 else
17273 ac_check_lib_save_LIBS=$LIBS
17274 LIBS="-lm $LIBS"
17275 if test x$gcc_no_link = xyes; then
17276 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17279 /* end confdefs.h. */
17281 /* Override any GCC internal prototype to avoid an error.
17282 Use char because int might match the return type of a GCC
17283 builtin and then its argument prototype would still apply. */
17284 #ifdef __cplusplus
17285 extern "C"
17286 #endif
17287 char sin ();
17289 main ()
17291 return sin ();
17293 return 0;
17295 _ACEOF
17296 if ac_fn_cxx_try_link "$LINENO"; then :
17297 ac_cv_lib_m_sin=yes
17298 else
17299 ac_cv_lib_m_sin=no
17301 rm -f core conftest.err conftest.$ac_objext \
17302 conftest$ac_exeext conftest.$ac_ext
17303 LIBS=$ac_check_lib_save_LIBS
17305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17306 $as_echo "$ac_cv_lib_m_sin" >&6; }
17307 if test "x$ac_cv_lib_m_sin" = xyes; then :
17308 LIBS="$LIBS -lm"
17309 else
17311 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17312 gcc_no_link=yes
17318 # Check for the existence of <math.h> functions used if C99 is enabled.
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17320 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17321 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17322 $as_echo_n "(cached) " >&6
17323 else
17325 if test x$gcc_no_link = xyes; then
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 #include <math.h>
17329 volatile double d1, d2;
17330 volatile int i;
17332 main ()
17334 i = fpclassify(d1);
17335 i = isfinite(d1);
17336 i = isinf(d1);
17337 i = isnan(d1);
17338 i = isnormal(d1);
17339 i = signbit(d1);
17340 i = isgreater(d1, d2);
17341 i = isgreaterequal(d1, d2);
17342 i = isless(d1, d2);
17343 i = islessequal(d1, d2);
17344 i = islessgreater(d1, d2);
17345 i = islessgreater(d1, d2);
17346 i = isunordered(d1, d2);
17349 return 0;
17351 _ACEOF
17352 if ac_fn_cxx_try_compile "$LINENO"; then :
17353 glibcxx_cv_c99_math_cxx98=yes
17354 else
17355 glibcxx_cv_c99_math_cxx98=no
17357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 else
17359 if test x$gcc_no_link = xyes; then
17360 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17363 /* end confdefs.h. */
17364 #include <math.h>
17365 volatile double d1, d2;
17366 volatile int i;
17368 main ()
17370 i = fpclassify(d1);
17371 i = isfinite(d1);
17372 i = isinf(d1);
17373 i = isnan(d1);
17374 i = isnormal(d1);
17375 i = signbit(d1);
17376 i = isgreater(d1, d2);
17377 i = isgreaterequal(d1, d2);
17378 i = isless(d1, d2);
17379 i = islessequal(d1, d2);
17380 i = islessgreater(d1, d2);
17381 i = islessgreater(d1, d2);
17382 i = isunordered(d1, d2);
17385 return 0;
17387 _ACEOF
17388 if ac_fn_cxx_try_link "$LINENO"; then :
17389 glibcxx_cv_c99_math_cxx98=yes
17390 else
17391 glibcxx_cv_c99_math_cxx98=no
17393 rm -f core conftest.err conftest.$ac_objext \
17394 conftest$ac_exeext conftest.$ac_ext
17398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17399 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17400 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17402 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17406 # Check for the existence of <complex.h> complex math functions.
17407 # This is necessary even though libstdc++ uses the builtin versions
17408 # of these functions, because if the builtin cannot be used, a reference
17409 # to the library function is emitted.
17410 for ac_header in tgmath.h
17411 do :
17412 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17413 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17414 cat >>confdefs.h <<_ACEOF
17415 #define HAVE_TGMATH_H 1
17416 _ACEOF
17417 ac_has_tgmath_h=yes
17418 else
17419 ac_has_tgmath_h=no
17422 done
17424 for ac_header in complex.h
17425 do :
17426 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17427 if test "x$ac_cv_header_complex_h" = xyes; then :
17428 cat >>confdefs.h <<_ACEOF
17429 #define HAVE_COMPLEX_H 1
17430 _ACEOF
17431 ac_has_complex_h=yes
17432 else
17433 ac_has_complex_h=no
17436 done
17438 if test x"$ac_has_complex_h" = x"yes"; then
17439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17440 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17441 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17442 $as_echo_n "(cached) " >&6
17443 else
17445 if test x$gcc_no_link = xyes; then
17446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17447 /* end confdefs.h. */
17448 #include <complex.h>
17449 typedef __complex__ float float_type;
17450 typedef __complex__ double double_type;
17451 typedef __complex__ long double ld_type;
17452 volatile float_type tmpf;
17453 volatile double_type tmpd;
17454 volatile ld_type tmpld;
17455 volatile float f;
17456 volatile double d;
17457 volatile long double ld;
17459 main ()
17461 f = cabsf(tmpf);
17462 f = cargf(tmpf);
17463 tmpf = ccosf(tmpf);
17464 tmpf = ccoshf(tmpf);
17465 tmpf = cexpf(tmpf);
17466 tmpf = clogf(tmpf);
17467 tmpf = csinf(tmpf);
17468 tmpf = csinhf(tmpf);
17469 tmpf = csqrtf(tmpf);
17470 tmpf = ctanf(tmpf);
17471 tmpf = ctanhf(tmpf);
17472 tmpf = cpowf(tmpf, tmpf);
17473 tmpf = cprojf(tmpf);
17474 d = cabs(tmpd);
17475 d = carg(tmpd);
17476 tmpd = ccos(tmpd);
17477 tmpd = ccosh(tmpd);
17478 tmpd = cexp(tmpd);
17479 tmpd = clog(tmpd);
17480 tmpd = csin(tmpd);
17481 tmpd = csinh(tmpd);
17482 tmpd = csqrt(tmpd);
17483 tmpd = ctan(tmpd);
17484 tmpd = ctanh(tmpd);
17485 tmpd = cpow(tmpd, tmpd);
17486 tmpd = cproj(tmpd);
17487 ld = cabsl(tmpld);
17488 ld = cargl(tmpld);
17489 tmpld = ccosl(tmpld);
17490 tmpld = ccoshl(tmpld);
17491 tmpld = cexpl(tmpld);
17492 tmpld = clogl(tmpld);
17493 tmpld = csinl(tmpld);
17494 tmpld = csinhl(tmpld);
17495 tmpld = csqrtl(tmpld);
17496 tmpld = ctanl(tmpld);
17497 tmpld = ctanhl(tmpld);
17498 tmpld = cpowl(tmpld, tmpld);
17499 tmpld = cprojl(tmpld);
17502 return 0;
17504 _ACEOF
17505 if ac_fn_cxx_try_compile "$LINENO"; then :
17506 glibcxx_cv_c99_complex_cxx98=yes
17507 else
17508 glibcxx_cv_c99_complex_cxx98=no
17510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17511 else
17512 if test x$gcc_no_link = xyes; then
17513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17517 #include <complex.h>
17518 typedef __complex__ float float_type;
17519 typedef __complex__ double double_type;
17520 typedef __complex__ long double ld_type;
17521 volatile float_type tmpf;
17522 volatile double_type tmpd;
17523 volatile ld_type tmpld;
17524 volatile float f;
17525 volatile double d;
17526 volatile long double ld;
17528 main ()
17530 f = cabsf(tmpf);
17531 f = cargf(tmpf);
17532 tmpf = ccosf(tmpf);
17533 tmpf = ccoshf(tmpf);
17534 tmpf = cexpf(tmpf);
17535 tmpf = clogf(tmpf);
17536 tmpf = csinf(tmpf);
17537 tmpf = csinhf(tmpf);
17538 tmpf = csqrtf(tmpf);
17539 tmpf = ctanf(tmpf);
17540 tmpf = ctanhf(tmpf);
17541 tmpf = cpowf(tmpf, tmpf);
17542 tmpf = cprojf(tmpf);
17543 d = cabs(tmpd);
17544 d = carg(tmpd);
17545 tmpd = ccos(tmpd);
17546 tmpd = ccosh(tmpd);
17547 tmpd = cexp(tmpd);
17548 tmpd = clog(tmpd);
17549 tmpd = csin(tmpd);
17550 tmpd = csinh(tmpd);
17551 tmpd = csqrt(tmpd);
17552 tmpd = ctan(tmpd);
17553 tmpd = ctanh(tmpd);
17554 tmpd = cpow(tmpd, tmpd);
17555 tmpd = cproj(tmpd);
17556 ld = cabsl(tmpld);
17557 ld = cargl(tmpld);
17558 tmpld = ccosl(tmpld);
17559 tmpld = ccoshl(tmpld);
17560 tmpld = cexpl(tmpld);
17561 tmpld = clogl(tmpld);
17562 tmpld = csinl(tmpld);
17563 tmpld = csinhl(tmpld);
17564 tmpld = csqrtl(tmpld);
17565 tmpld = ctanl(tmpld);
17566 tmpld = ctanhl(tmpld);
17567 tmpld = cpowl(tmpld, tmpld);
17568 tmpld = cprojl(tmpld);
17571 return 0;
17573 _ACEOF
17574 if ac_fn_cxx_try_link "$LINENO"; then :
17575 glibcxx_cv_c99_complex_cxx98=yes
17576 else
17577 glibcxx_cv_c99_complex_cxx98=no
17579 rm -f core conftest.err conftest.$ac_objext \
17580 conftest$ac_exeext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17585 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17587 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17589 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17593 # Check for the existence in <stdio.h> of vscanf, et. al.
17594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17595 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17596 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17597 $as_echo_n "(cached) " >&6
17598 else
17600 if test x$gcc_no_link = xyes; then
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17603 #include <stdio.h>
17604 #include <stdarg.h>
17605 void foo(char* fmt, ...)
17607 va_list args; va_start(args, fmt);
17608 vfscanf(stderr, "%i", args);
17609 vscanf("%i", args);
17610 vsnprintf(fmt, 0, "%i", args);
17611 vsscanf(fmt, "%i", args);
17612 snprintf(fmt, 0, "%i");
17615 main ()
17619 return 0;
17621 _ACEOF
17622 if ac_fn_cxx_try_compile "$LINENO"; then :
17623 glibcxx_cv_c99_stdio_cxx98=yes
17624 else
17625 glibcxx_cv_c99_stdio_cxx98=no
17627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17628 else
17629 if test x$gcc_no_link = xyes; then
17630 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17634 #include <stdio.h>
17635 #include <stdarg.h>
17636 void foo(char* fmt, ...)
17638 va_list args; va_start(args, fmt);
17639 vfscanf(stderr, "%i", args);
17640 vscanf("%i", args);
17641 vsnprintf(fmt, 0, "%i", args);
17642 vsscanf(fmt, "%i", args);
17643 snprintf(fmt, 0, "%i");
17646 main ()
17650 return 0;
17652 _ACEOF
17653 if ac_fn_cxx_try_link "$LINENO"; then :
17654 glibcxx_cv_c99_stdio_cxx98=yes
17655 else
17656 glibcxx_cv_c99_stdio_cxx98=no
17658 rm -f core conftest.err conftest.$ac_objext \
17659 conftest$ac_exeext conftest.$ac_ext
17663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17664 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17665 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17667 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17671 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17673 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17674 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17675 $as_echo_n "(cached) " >&6
17676 else
17678 if test x$gcc_no_link = xyes; then
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17681 #include <stdlib.h>
17682 volatile float f;
17683 volatile long double ld;
17684 volatile unsigned long long ll;
17685 lldiv_t mydivt;
17687 main ()
17689 char* tmp;
17690 f = strtof("gnu", &tmp);
17691 ld = strtold("gnu", &tmp);
17692 ll = strtoll("gnu", &tmp, 10);
17693 ll = strtoull("gnu", &tmp, 10);
17694 ll = llabs(10);
17695 mydivt = lldiv(10,1);
17696 ll = mydivt.quot;
17697 ll = mydivt.rem;
17698 ll = atoll("10");
17699 _Exit(0);
17702 return 0;
17704 _ACEOF
17705 if ac_fn_cxx_try_compile "$LINENO"; then :
17706 glibcxx_cv_c99_stdlib_cxx98=yes
17707 else
17708 glibcxx_cv_c99_stdlib_cxx98=no
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17711 else
17712 if test x$gcc_no_link = xyes; then
17713 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17716 /* end confdefs.h. */
17717 #include <stdlib.h>
17718 volatile float f;
17719 volatile long double ld;
17720 volatile unsigned long long ll;
17721 lldiv_t mydivt;
17723 main ()
17725 char* tmp;
17726 f = strtof("gnu", &tmp);
17727 ld = strtold("gnu", &tmp);
17728 ll = strtoll("gnu", &tmp, 10);
17729 ll = strtoull("gnu", &tmp, 10);
17730 ll = llabs(10);
17731 mydivt = lldiv(10,1);
17732 ll = mydivt.quot;
17733 ll = mydivt.rem;
17734 ll = atoll("10");
17735 _Exit(0);
17738 return 0;
17740 _ACEOF
17741 if ac_fn_cxx_try_link "$LINENO"; then :
17742 glibcxx_cv_c99_stdlib_cxx98=yes
17743 else
17744 glibcxx_cv_c99_stdlib_cxx98=no
17746 rm -f core conftest.err conftest.$ac_objext \
17747 conftest$ac_exeext conftest.$ac_ext
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17752 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17753 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17755 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17759 # Check for the existence in <wchar.h> of wcstold, etc.
17760 if test x"$ac_has_wchar_h" = xyes &&
17761 test x"$ac_has_wctype_h" = xyes; then
17762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17763 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17764 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17765 $as_echo_n "(cached) " >&6
17766 else
17768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17769 /* end confdefs.h. */
17770 #include <wchar.h>
17771 namespace test
17773 using ::wcstold;
17774 using ::wcstoll;
17775 using ::wcstoull;
17779 main ()
17783 return 0;
17785 _ACEOF
17786 if ac_fn_cxx_try_compile "$LINENO"; then :
17787 glibcxx_cv_c99_wchar_cxx98=yes
17788 else
17789 glibcxx_cv_c99_wchar_cxx98=no
17791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17795 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17797 # Checks for wide character functions that may not be present.
17798 # Injection of these is wrapped with guard macros.
17799 # NB: only put functions here, instead of immediately above, if
17800 # absolutely necessary.
17801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17802 /* end confdefs.h. */
17803 #include <wchar.h>
17804 namespace test { using ::vfwscanf; }
17806 main ()
17810 return 0;
17812 _ACEOF
17813 if ac_fn_cxx_try_compile "$LINENO"; then :
17815 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #include <wchar.h>
17823 namespace test { using ::vswscanf; }
17825 main ()
17829 return 0;
17831 _ACEOF
17832 if ac_fn_cxx_try_compile "$LINENO"; then :
17834 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17840 /* end confdefs.h. */
17841 #include <wchar.h>
17842 namespace test { using ::vwscanf; }
17844 main ()
17848 return 0;
17850 _ACEOF
17851 if ac_fn_cxx_try_compile "$LINENO"; then :
17853 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17859 /* end confdefs.h. */
17860 #include <wchar.h>
17861 namespace test { using ::wcstof; }
17863 main ()
17867 return 0;
17869 _ACEOF
17870 if ac_fn_cxx_try_compile "$LINENO"; then :
17872 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17878 /* end confdefs.h. */
17879 #include <wctype.h>
17881 main ()
17883 wint_t t; int i = iswblank(t);
17885 return 0;
17887 _ACEOF
17888 if ac_fn_cxx_try_compile "$LINENO"; then :
17890 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17895 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17897 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17902 # Option parsed, now set things appropriately.
17903 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17904 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17905 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17906 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17907 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17908 enable_c99=no;
17909 else
17911 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17915 gcc_no_link="$ac_save_gcc_no_link"
17916 LIBS="$ac_save_LIBS"
17917 CXXFLAGS="$ac_save_CXXFLAGS"
17918 ac_ext=c
17919 ac_cpp='$CPP $CPPFLAGS'
17920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17926 ac_ext=cpp
17927 ac_cpp='$CXXCPP $CPPFLAGS'
17928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17933 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17934 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17935 ac_save_CXXFLAGS="$CXXFLAGS"
17936 CXXFLAGS="$CXXFLAGS -std=c++11"
17937 ac_save_LIBS="$LIBS"
17938 ac_save_gcc_no_link="$gcc_no_link"
17940 if test x$gcc_no_link != xyes; then
17941 # Use -fno-exceptions to that the C driver can link these tests without
17942 # hitting undefined references to personality routines.
17943 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17945 $as_echo_n "checking for sin in -lm... " >&6; }
17946 if ${ac_cv_lib_m_sin+:} false; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949 ac_check_lib_save_LIBS=$LIBS
17950 LIBS="-lm $LIBS"
17951 if test x$gcc_no_link = xyes; then
17952 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17955 /* end confdefs.h. */
17957 /* Override any GCC internal prototype to avoid an error.
17958 Use char because int might match the return type of a GCC
17959 builtin and then its argument prototype would still apply. */
17960 #ifdef __cplusplus
17961 extern "C"
17962 #endif
17963 char sin ();
17965 main ()
17967 return sin ();
17969 return 0;
17971 _ACEOF
17972 if ac_fn_cxx_try_link "$LINENO"; then :
17973 ac_cv_lib_m_sin=yes
17974 else
17975 ac_cv_lib_m_sin=no
17977 rm -f core conftest.err conftest.$ac_objext \
17978 conftest$ac_exeext conftest.$ac_ext
17979 LIBS=$ac_check_lib_save_LIBS
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17982 $as_echo "$ac_cv_lib_m_sin" >&6; }
17983 if test "x$ac_cv_lib_m_sin" = xyes; then :
17984 LIBS="$LIBS -lm"
17985 else
17987 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17988 gcc_no_link=yes
17994 # Check for the existence of <stdint.h> types.
17995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdint.h> for C++11" >&5
17996 $as_echo_n "checking for ISO C99 support in <stdint.h> for C++11... " >&6; }
17997 if ${glibcxx_cv_c99_stdint+:} false; then :
17998 $as_echo_n "(cached) " >&6
17999 else
18001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18002 /* end confdefs.h. */
18003 #define __STDC_LIMIT_MACROS
18004 #define __STDC_CONSTANT_MACROS
18005 #include <stdint.h>
18007 main ()
18009 typedef int8_t my_int8_t;
18010 my_int8_t i8 = INT8_MIN;
18011 i8 = INT8_MAX;
18012 typedef int16_t my_int16_t;
18013 my_int16_t i16 = INT16_MIN;
18014 i16 = INT16_MAX;
18015 typedef int32_t my_int32_t;
18016 my_int32_t i32 = INT32_MIN;
18017 i32 = INT32_MAX;
18018 typedef int64_t my_int64_t;
18019 my_int64_t i64 = INT64_MIN;
18020 i64 = INT64_MAX;
18021 typedef int_fast8_t my_int_fast8_t;
18022 my_int_fast8_t if8 = INT_FAST8_MIN;
18023 if8 = INT_FAST8_MAX;
18024 typedef int_fast16_t my_int_fast16_t;
18025 my_int_fast16_t if16 = INT_FAST16_MIN;
18026 if16 = INT_FAST16_MAX;
18027 typedef int_fast32_t my_int_fast32_t;
18028 my_int_fast32_t if32 = INT_FAST32_MIN;
18029 if32 = INT_FAST32_MAX;
18030 typedef int_fast64_t my_int_fast64_t;
18031 my_int_fast64_t if64 = INT_FAST64_MIN;
18032 if64 = INT_FAST64_MAX;
18033 typedef int_least8_t my_int_least8_t;
18034 my_int_least8_t il8 = INT_LEAST8_MIN;
18035 il8 = INT_LEAST8_MAX;
18036 typedef int_least16_t my_int_least16_t;
18037 my_int_least16_t il16 = INT_LEAST16_MIN;
18038 il16 = INT_LEAST16_MAX;
18039 typedef int_least32_t my_int_least32_t;
18040 my_int_least32_t il32 = INT_LEAST32_MIN;
18041 il32 = INT_LEAST32_MAX;
18042 typedef int_least64_t my_int_least64_t;
18043 my_int_least64_t il64 = INT_LEAST64_MIN;
18044 il64 = INT_LEAST64_MAX;
18045 typedef intmax_t my_intmax_t;
18046 my_intmax_t im = INTMAX_MAX;
18047 im = INTMAX_MIN;
18048 typedef intptr_t my_intptr_t;
18049 my_intptr_t ip = INTPTR_MAX;
18050 ip = INTPTR_MIN;
18051 typedef uint8_t my_uint8_t;
18052 my_uint8_t ui8 = UINT8_MAX;
18053 ui8 = UINT8_MAX;
18054 typedef uint16_t my_uint16_t;
18055 my_uint16_t ui16 = UINT16_MAX;
18056 ui16 = UINT16_MAX;
18057 typedef uint32_t my_uint32_t;
18058 my_uint32_t ui32 = UINT32_MAX;
18059 ui32 = UINT32_MAX;
18060 typedef uint64_t my_uint64_t;
18061 my_uint64_t ui64 = UINT64_MAX;
18062 ui64 = UINT64_MAX;
18063 typedef uint_fast8_t my_uint_fast8_t;
18064 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18065 uif8 = UINT_FAST8_MAX;
18066 typedef uint_fast16_t my_uint_fast16_t;
18067 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18068 uif16 = UINT_FAST16_MAX;
18069 typedef uint_fast32_t my_uint_fast32_t;
18070 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18071 uif32 = UINT_FAST32_MAX;
18072 typedef uint_fast64_t my_uint_fast64_t;
18073 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18074 uif64 = UINT_FAST64_MAX;
18075 typedef uint_least8_t my_uint_least8_t;
18076 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18077 uil8 = UINT_LEAST8_MAX;
18078 typedef uint_least16_t my_uint_least16_t;
18079 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18080 uil16 = UINT_LEAST16_MAX;
18081 typedef uint_least32_t my_uint_least32_t;
18082 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18083 uil32 = UINT_LEAST32_MAX;
18084 typedef uint_least64_t my_uint_least64_t;
18085 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18086 uil64 = UINT_LEAST64_MAX;
18087 typedef uintmax_t my_uintmax_t;
18088 my_uintmax_t uim = UINTMAX_MAX;
18089 uim = UINTMAX_MAX;
18090 typedef uintptr_t my_uintptr_t;
18091 my_uintptr_t uip = UINTPTR_MAX;
18092 uip = UINTPTR_MAX;
18095 return 0;
18097 _ACEOF
18098 if ac_fn_cxx_try_compile "$LINENO"; then :
18099 glibcxx_cv_c99_stdint=yes
18100 else
18101 glibcxx_cv_c99_stdint=no
18103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint" >&5
18107 $as_echo "$glibcxx_cv_c99_stdint" >&6; }
18108 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18110 $as_echo "#define _GLIBCXX_USE_C99_STDINT 1" >>confdefs.h
18114 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18115 # sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18116 ac_c99_inttypes=no;
18117 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <inttypes.h>" >&5
18119 $as_echo_n "checking for ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18121 /* end confdefs.h. */
18122 #include <inttypes.h>
18124 main ()
18126 intmax_t i, numer, denom, base;
18127 const char* s;
18128 char** endptr;
18129 intmax_t ret = imaxabs(i);
18130 imaxdiv_t dret = imaxdiv(numer, denom);
18131 ret = strtoimax(s, endptr, base);
18132 uintmax_t uret = strtoumax(s, endptr, base);
18135 return 0;
18137 _ACEOF
18138 if ac_fn_cxx_try_compile "$LINENO"; then :
18139 ac_c99_inttypes=yes
18140 else
18141 ac_c99_inttypes=no
18143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes" >&5
18145 $as_echo "$ac_c99_inttypes" >&6; }
18147 if test x"$ac_c99_inttypes" = x"yes"; then
18149 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES 1" >>confdefs.h
18153 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
18154 # make sense if the glibcxx_cv_c99_stdint check fails, per C99, 7.8/1).
18155 ac_c99_inttypes_wchar_t=no;
18156 if test x"$glibcxx_cv_c99_stdint" = x"yes"; then
18157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support for C++11 in <inttypes.h>" >&5
18158 $as_echo_n "checking for wchar_t ISO C99 support for C++11 in <inttypes.h>... " >&6; }
18159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18160 /* end confdefs.h. */
18161 #include <inttypes.h>
18163 main ()
18165 intmax_t base;
18166 const wchar_t* s;
18167 wchar_t** endptr;
18168 intmax_t ret = wcstoimax(s, endptr, base);
18169 uintmax_t uret = wcstoumax(s, endptr, base);
18172 return 0;
18174 _ACEOF
18175 if ac_fn_cxx_try_compile "$LINENO"; then :
18176 ac_c99_inttypes_wchar_t=yes
18177 else
18178 ac_c99_inttypes_wchar_t=no
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t" >&5
18182 $as_echo "$ac_c99_inttypes_wchar_t" >&6; }
18184 if test x"$ac_c99_inttypes_wchar_t" = x"yes"; then
18186 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T 1" >>confdefs.h
18190 # Check for the existence of <math.h> generic macros used if C99 is enabled.
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 generic macro support in <math.h> for C++11" >&5
18192 $as_echo_n "checking for ISO C99 generic macro support in <math.h> for C++11... " >&6; }
18193 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
18194 $as_echo_n "(cached) " >&6
18195 else
18197 if test x$gcc_no_link = xyes; then
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18200 #include <math.h>
18201 volatile double d1, d2;
18202 volatile int i;
18204 main ()
18206 i = fpclassify(d1);
18207 i = isfinite(d1);
18208 i = isinf(d1);
18209 i = isnan(d1);
18210 i = isnormal(d1);
18211 i = signbit(d1);
18212 i = isgreater(d1, d2);
18213 i = isgreaterequal(d1, d2);
18214 i = isless(d1, d2);
18215 i = islessequal(d1, d2);
18216 i = islessgreater(d1, d2);
18217 i = islessgreater(d1, d2);
18218 i = isunordered(d1, d2);
18221 return 0;
18223 _ACEOF
18224 if ac_fn_cxx_try_compile "$LINENO"; then :
18225 glibcxx_cv_c99_math_cxx11=yes
18226 else
18227 glibcxx_cv_c99_math_cxx11=no
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18230 else
18231 if test x$gcc_no_link = xyes; then
18232 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18235 /* end confdefs.h. */
18236 #include <math.h>
18237 volatile double d1, d2;
18238 volatile int i;
18240 main ()
18242 i = fpclassify(d1);
18243 i = isfinite(d1);
18244 i = isinf(d1);
18245 i = isnan(d1);
18246 i = isnormal(d1);
18247 i = signbit(d1);
18248 i = isgreater(d1, d2);
18249 i = isgreaterequal(d1, d2);
18250 i = isless(d1, d2);
18251 i = islessequal(d1, d2);
18252 i = islessgreater(d1, d2);
18253 i = islessgreater(d1, d2);
18254 i = isunordered(d1, d2);
18257 return 0;
18259 _ACEOF
18260 if ac_fn_cxx_try_link "$LINENO"; then :
18261 glibcxx_cv_c99_math_cxx11=yes
18262 else
18263 glibcxx_cv_c99_math_cxx11=no
18265 rm -f core conftest.err conftest.$ac_objext \
18266 conftest$ac_exeext conftest.$ac_ext
18270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18271 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18272 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18274 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18278 # Check for the existence of <math.h> typedefs.
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 float types for C++11 in <math.h>" >&5
18280 $as_echo_n "checking for ISO C99 float types for C++11 in <math.h>... " >&6; }
18281 if ${glibcxx_cv_c99_flt_eval_types+:} false; then :
18282 $as_echo_n "(cached) " >&6
18283 else
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #include <math.h>
18289 main ()
18291 // Types
18292 typedef double_t my_double_t;
18293 typedef float_t my_float_t;
18296 return 0;
18298 _ACEOF
18299 if ac_fn_cxx_try_compile "$LINENO"; then :
18300 glibcxx_cv_c99_flt_eval_types=yes
18301 else
18302 glibcxx_cv_c99_flt_eval_types=no
18304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_flt_eval_types" >&5
18308 $as_echo "$glibcxx_cv_c99_flt_eval_types" >&6; }
18309 if test x"$glibcxx_cv_c99_flt_eval_types" = x"yes"; then
18311 $as_echo "#define HAVE_C99_FLT_EVAL_TYPES 1" >>confdefs.h
18315 # Check for the existence of <math.h> functions.
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 function support for C++11 in <math.h>" >&5
18317 $as_echo_n "checking for ISO C99 function support for C++11 in <math.h>... " >&6; }
18318 if ${glibcxx_cv_c99_math_funcs+:} false; then :
18319 $as_echo_n "(cached) " >&6
18320 else
18322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18323 /* end confdefs.h. */
18324 #include <math.h>
18326 main ()
18329 // Hyperbolic
18330 acosh(0.0);
18331 acoshf(0.0f);
18332 acoshl(0.0l);
18333 asinh(0.0);
18334 asinhf(0.0f);
18335 asinhl(0.0l);
18336 atanh(0.0);
18337 atanhf(0.0f);
18338 atanhl(0.0l);
18339 // Exponential and logarithmic
18340 exp2(0.0);
18341 exp2f(0.0f);
18342 exp2l(0.0l);
18343 expm1(0.0);
18344 expm1f(0.0f);
18345 expm1l(0.0l);
18346 ilogb(0.0);
18347 ilogbf(0.0f);
18348 ilogbl(0.0l);
18349 log1p(0.0);
18350 log1pf(0.0f);
18351 log1pl(0.0l);
18352 log2(0.0);
18353 log2f(0.0f);
18354 log2l(0.0l);
18355 logb(0.0);
18356 logbf(0.0f);
18357 logbl(0.0l);
18358 scalbln(0.0, 0l);
18359 scalblnf(0.0f, 0l);
18360 scalblnl(0.0l, 0l);
18361 scalbn(0.0, 0);
18362 scalbnf(0.0f, 0);
18363 scalbnl(0.0l, 0);
18364 // Power and absolute-value
18365 cbrt(0.0);
18366 cbrtf(0.0f);
18367 cbrtl(0.0l);
18368 hypot(0.0, 0.0);
18369 hypotf(0.0f, 0.0f);
18370 hypotl(0.0l, 0.0l);
18371 // Error and gamma
18372 erf(0.0);
18373 erff(0.0f);
18374 erfl(0.0l);
18375 erfc(0.0);
18376 erfcf(0.0f);
18377 erfcl(0.0l);
18378 lgamma(0.0);
18379 lgammaf(0.0f);
18380 lgammal(0.0l);
18381 tgamma(0.0);
18382 tgammaf(0.0f);
18383 tgammal(0.0l);
18384 // Nearest integer
18385 nearbyint(0.0);
18386 nearbyintf(0.0f);
18387 nearbyintl(0.0l);
18388 rint(0.0);
18389 rintf(0.0f);
18390 rintl(0.0l);
18391 round(0.0);
18392 roundf(0.0f);
18393 roundl(0.0l);
18394 lrint(0.0);
18395 lrintf(0.0f);
18396 lrintl(0.0l);
18397 lround(0.0);
18398 lroundf(0.0f);
18399 lroundl(0.0l);
18400 #ifndef __APPLE__ /* see below */
18401 llrint(0.0);
18402 llrintf(0.0f);
18403 llrintl(0.0l);
18404 llround(0.0);
18405 llroundf(0.0f);
18406 llroundl(0.0l);
18407 #endif
18408 trunc(0.0);
18409 truncf(0.0f);
18410 truncl(0.0l);
18411 // Remainder
18412 remainder(0.0, 0.0);
18413 remainderf(0.0f, 0.0f);
18414 remainderl(0.0l, 0.0l);
18415 remquo(0.0, 0.0, 0);
18416 remquof(0.0f, 0.0f, 0);
18417 remquol(0.0l, 0.0l, 0);
18418 // Manipulation
18419 copysign(0.0, 0.0);
18420 copysignf(0.0f, 0.0f);
18421 copysignl(0.0l, 0.0l);
18422 nan("");
18423 nanf("");
18424 nanl("");
18425 nextafter(0.0, 0.0);
18426 nextafterf(0.0f, 0.0f);
18427 nextafterl(0.0l, 0.0l);
18428 nexttoward(0.0, 0.0);
18429 nexttowardf(0.0f, 0.0f);
18430 nexttowardl(0.0l, 0.0l);
18431 // Max, min, positive difference
18432 fdim(0.0, 0.0);
18433 fdimf(0.0f, 0.0f);
18434 fdiml(0.0l, 0.0l);
18435 fmax(0.0, 0.0);
18436 fmaxf(0.0f, 0.0f);
18437 fmaxl(0.0l, 0.0l);
18438 fmin(0.0, 0.0);
18439 fminf(0.0f, 0.0f);
18440 fminl(0.0l, 0.0l);
18441 // FP Multiply-add
18442 fma(0.0, 0.0, 0.0);
18443 fmaf(0.0f, 0.0f, 0.0f);
18444 fmal(0.0l, 0.0l, 0.0l);
18447 return 0;
18449 _ACEOF
18450 if ac_fn_cxx_try_compile "$LINENO"; then :
18451 glibcxx_cv_c99_math_funcs=yes
18452 else
18453 glibcxx_cv_c99_math_funcs=no
18455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_funcs" >&5
18459 $as_echo "$glibcxx_cv_c99_math_funcs" >&6; }
18460 if test x"$glibcxx_cv_c99_math_funcs" = x"yes"; then
18462 $as_echo "#define _GLIBCXX_USE_C99_MATH_FUNCS 1" >>confdefs.h
18465 case "${target_os}" in
18466 darwin*)
18467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
18468 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
18469 if ${glibcxx_cv_c99_math_llround+:} false; then :
18470 $as_echo_n "(cached) " >&6
18471 else
18473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18474 /* end confdefs.h. */
18475 #include <math.h>
18477 main ()
18479 llrint(0.0);
18480 llrintf(0.0f);
18481 llrintl(0.0l);
18482 llround(0.0);
18483 llroundf(0.0f);
18484 llroundl(0.0l);
18487 return 0;
18489 _ACEOF
18490 if ac_fn_cxx_try_compile "$LINENO"; then :
18491 glibcxx_cv_c99_math_llround=yes
18492 else
18493 glibcxx_cv_c99_math_llround=no
18495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
18499 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
18501 esac
18502 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
18504 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
18509 # Check for the existence of <complex.h> complex math functions.
18510 # This is necessary even though libstdc++ uses the builtin versions
18511 # of these functions, because if the builtin cannot be used, a reference
18512 # to the library function is emitted.
18513 for ac_header in tgmath.h
18514 do :
18515 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18516 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18517 cat >>confdefs.h <<_ACEOF
18518 #define HAVE_TGMATH_H 1
18519 _ACEOF
18520 ac_has_tgmath_h=yes
18521 else
18522 ac_has_tgmath_h=no
18525 done
18527 for ac_header in complex.h
18528 do :
18529 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18530 if test "x$ac_cv_header_complex_h" = xyes; then :
18531 cat >>confdefs.h <<_ACEOF
18532 #define HAVE_COMPLEX_H 1
18533 _ACEOF
18534 ac_has_complex_h=yes
18535 else
18536 ac_has_complex_h=no
18539 done
18541 if test x"$ac_has_complex_h" = x"yes"; then
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18543 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18544 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18545 $as_echo_n "(cached) " >&6
18546 else
18548 if test x$gcc_no_link = xyes; then
18549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18550 /* end confdefs.h. */
18551 #include <complex.h>
18552 typedef __complex__ float float_type;
18553 typedef __complex__ double double_type;
18554 typedef __complex__ long double ld_type;
18555 volatile float_type tmpf;
18556 volatile double_type tmpd;
18557 volatile ld_type tmpld;
18558 volatile float f;
18559 volatile double d;
18560 volatile long double ld;
18562 main ()
18564 f = cabsf(tmpf);
18565 f = cargf(tmpf);
18566 tmpf = ccosf(tmpf);
18567 tmpf = ccoshf(tmpf);
18568 tmpf = cexpf(tmpf);
18569 tmpf = clogf(tmpf);
18570 tmpf = csinf(tmpf);
18571 tmpf = csinhf(tmpf);
18572 tmpf = csqrtf(tmpf);
18573 tmpf = ctanf(tmpf);
18574 tmpf = ctanhf(tmpf);
18575 tmpf = cpowf(tmpf, tmpf);
18576 tmpf = cprojf(tmpf);
18577 d = cabs(tmpd);
18578 d = carg(tmpd);
18579 tmpd = ccos(tmpd);
18580 tmpd = ccosh(tmpd);
18581 tmpd = cexp(tmpd);
18582 tmpd = clog(tmpd);
18583 tmpd = csin(tmpd);
18584 tmpd = csinh(tmpd);
18585 tmpd = csqrt(tmpd);
18586 tmpd = ctan(tmpd);
18587 tmpd = ctanh(tmpd);
18588 tmpd = cpow(tmpd, tmpd);
18589 tmpd = cproj(tmpd);
18590 ld = cabsl(tmpld);
18591 ld = cargl(tmpld);
18592 tmpld = ccosl(tmpld);
18593 tmpld = ccoshl(tmpld);
18594 tmpld = cexpl(tmpld);
18595 tmpld = clogl(tmpld);
18596 tmpld = csinl(tmpld);
18597 tmpld = csinhl(tmpld);
18598 tmpld = csqrtl(tmpld);
18599 tmpld = ctanl(tmpld);
18600 tmpld = ctanhl(tmpld);
18601 tmpld = cpowl(tmpld, tmpld);
18602 tmpld = cprojl(tmpld);
18605 return 0;
18607 _ACEOF
18608 if ac_fn_cxx_try_compile "$LINENO"; then :
18609 glibcxx_cv_c99_complex_cxx11=yes
18610 else
18611 glibcxx_cv_c99_complex_cxx11=no
18613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18614 else
18615 if test x$gcc_no_link = xyes; then
18616 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18619 /* end confdefs.h. */
18620 #include <complex.h>
18621 typedef __complex__ float float_type;
18622 typedef __complex__ double double_type;
18623 typedef __complex__ long double ld_type;
18624 volatile float_type tmpf;
18625 volatile double_type tmpd;
18626 volatile ld_type tmpld;
18627 volatile float f;
18628 volatile double d;
18629 volatile long double ld;
18631 main ()
18633 f = cabsf(tmpf);
18634 f = cargf(tmpf);
18635 tmpf = ccosf(tmpf);
18636 tmpf = ccoshf(tmpf);
18637 tmpf = cexpf(tmpf);
18638 tmpf = clogf(tmpf);
18639 tmpf = csinf(tmpf);
18640 tmpf = csinhf(tmpf);
18641 tmpf = csqrtf(tmpf);
18642 tmpf = ctanf(tmpf);
18643 tmpf = ctanhf(tmpf);
18644 tmpf = cpowf(tmpf, tmpf);
18645 tmpf = cprojf(tmpf);
18646 d = cabs(tmpd);
18647 d = carg(tmpd);
18648 tmpd = ccos(tmpd);
18649 tmpd = ccosh(tmpd);
18650 tmpd = cexp(tmpd);
18651 tmpd = clog(tmpd);
18652 tmpd = csin(tmpd);
18653 tmpd = csinh(tmpd);
18654 tmpd = csqrt(tmpd);
18655 tmpd = ctan(tmpd);
18656 tmpd = ctanh(tmpd);
18657 tmpd = cpow(tmpd, tmpd);
18658 tmpd = cproj(tmpd);
18659 ld = cabsl(tmpld);
18660 ld = cargl(tmpld);
18661 tmpld = ccosl(tmpld);
18662 tmpld = ccoshl(tmpld);
18663 tmpld = cexpl(tmpld);
18664 tmpld = clogl(tmpld);
18665 tmpld = csinl(tmpld);
18666 tmpld = csinhl(tmpld);
18667 tmpld = csqrtl(tmpld);
18668 tmpld = ctanl(tmpld);
18669 tmpld = ctanhl(tmpld);
18670 tmpld = cpowl(tmpld, tmpld);
18671 tmpld = cprojl(tmpld);
18674 return 0;
18676 _ACEOF
18677 if ac_fn_cxx_try_link "$LINENO"; then :
18678 glibcxx_cv_c99_complex_cxx11=yes
18679 else
18680 glibcxx_cv_c99_complex_cxx11=no
18682 rm -f core conftest.err conftest.$ac_objext \
18683 conftest$ac_exeext conftest.$ac_ext
18687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18688 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18690 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18692 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18696 # Check for the existence of <complex.h> complex inverse trigonometric
18697 # math functions used by <complex> for C++11 and later.
18698 ac_c99_complex_arc=no;
18699 if test x"$ac_has_complex_h" = x"yes"; then
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for inverse trig functions in <complex.h>" >&5
18701 $as_echo_n "checking for ISO C99 support for inverse trig functions in <complex.h>... " >&6; }
18702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18703 /* end confdefs.h. */
18704 #include <complex.h>
18706 main ()
18708 typedef __complex__ float float_type; float_type tmpf;
18709 cacosf(tmpf);
18710 casinf(tmpf);
18711 catanf(tmpf);
18712 cacoshf(tmpf);
18713 casinhf(tmpf);
18714 catanhf(tmpf);
18715 typedef __complex__ double double_type; double_type tmpd;
18716 cacos(tmpd);
18717 casin(tmpd);
18718 catan(tmpd);
18719 cacosh(tmpd);
18720 casinh(tmpd);
18721 catanh(tmpd);
18722 typedef __complex__ long double ld_type; ld_type tmpld;
18723 cacosl(tmpld);
18724 casinl(tmpld);
18725 catanl(tmpld);
18726 cacoshl(tmpld);
18727 casinhl(tmpld);
18728 catanhl(tmpld);
18731 return 0;
18733 _ACEOF
18734 if ac_fn_cxx_try_compile "$LINENO"; then :
18735 ac_c99_complex_arc=yes
18736 else
18737 ac_c99_complex_arc=no
18739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_arc" >&5
18742 $as_echo "$ac_c99_complex_arc" >&6; }
18743 if test x"$ac_c99_complex_arc" = x"yes"; then
18745 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_ARC 1" >>confdefs.h
18749 # Check for the existence in <stdio.h> of vscanf, et. al.
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18751 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18752 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18753 $as_echo_n "(cached) " >&6
18754 else
18756 if test x$gcc_no_link = xyes; then
18757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18758 /* end confdefs.h. */
18759 #include <stdio.h>
18760 #include <stdarg.h>
18761 void foo(char* fmt, ...)
18763 va_list args; va_start(args, fmt);
18764 vfscanf(stderr, "%i", args);
18765 vscanf("%i", args);
18766 vsnprintf(fmt, 0, "%i", args);
18767 vsscanf(fmt, "%i", args);
18768 snprintf(fmt, 0, "%i");
18771 main ()
18775 return 0;
18777 _ACEOF
18778 if ac_fn_cxx_try_compile "$LINENO"; then :
18779 glibcxx_cv_c99_stdio_cxx11=yes
18780 else
18781 glibcxx_cv_c99_stdio_cxx11=no
18783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18784 else
18785 if test x$gcc_no_link = xyes; then
18786 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18789 /* end confdefs.h. */
18790 #include <stdio.h>
18791 #include <stdarg.h>
18792 void foo(char* fmt, ...)
18794 va_list args; va_start(args, fmt);
18795 vfscanf(stderr, "%i", args);
18796 vscanf("%i", args);
18797 vsnprintf(fmt, 0, "%i", args);
18798 vsscanf(fmt, "%i", args);
18799 snprintf(fmt, 0, "%i");
18802 main ()
18806 return 0;
18808 _ACEOF
18809 if ac_fn_cxx_try_link "$LINENO"; then :
18810 glibcxx_cv_c99_stdio_cxx11=yes
18811 else
18812 glibcxx_cv_c99_stdio_cxx11=no
18814 rm -f core conftest.err conftest.$ac_objext \
18815 conftest$ac_exeext conftest.$ac_ext
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18820 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18821 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18823 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18827 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18829 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18830 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18831 $as_echo_n "(cached) " >&6
18832 else
18834 if test x$gcc_no_link = xyes; then
18835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18836 /* end confdefs.h. */
18837 #include <stdlib.h>
18838 volatile float f;
18839 volatile long double ld;
18840 volatile unsigned long long ll;
18841 lldiv_t mydivt;
18843 main ()
18845 char* tmp;
18846 f = strtof("gnu", &tmp);
18847 ld = strtold("gnu", &tmp);
18848 ll = strtoll("gnu", &tmp, 10);
18849 ll = strtoull("gnu", &tmp, 10);
18850 ll = llabs(10);
18851 mydivt = lldiv(10,1);
18852 ll = mydivt.quot;
18853 ll = mydivt.rem;
18854 ll = atoll("10");
18855 _Exit(0);
18858 return 0;
18860 _ACEOF
18861 if ac_fn_cxx_try_compile "$LINENO"; then :
18862 glibcxx_cv_c99_stdlib_cxx11=yes
18863 else
18864 glibcxx_cv_c99_stdlib_cxx11=no
18866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18867 else
18868 if test x$gcc_no_link = xyes; then
18869 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18872 /* end confdefs.h. */
18873 #include <stdlib.h>
18874 volatile float f;
18875 volatile long double ld;
18876 volatile unsigned long long ll;
18877 lldiv_t mydivt;
18879 main ()
18881 char* tmp;
18882 f = strtof("gnu", &tmp);
18883 ld = strtold("gnu", &tmp);
18884 ll = strtoll("gnu", &tmp, 10);
18885 ll = strtoull("gnu", &tmp, 10);
18886 ll = llabs(10);
18887 mydivt = lldiv(10,1);
18888 ll = mydivt.quot;
18889 ll = mydivt.rem;
18890 ll = atoll("10");
18891 _Exit(0);
18894 return 0;
18896 _ACEOF
18897 if ac_fn_cxx_try_link "$LINENO"; then :
18898 glibcxx_cv_c99_stdlib_cxx11=yes
18899 else
18900 glibcxx_cv_c99_stdlib_cxx11=no
18902 rm -f core conftest.err conftest.$ac_objext \
18903 conftest$ac_exeext conftest.$ac_ext
18907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18908 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18909 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18911 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18915 # Check for the existence in <wchar.h> of wcstold, etc.
18916 if test x"$ac_has_wchar_h" = xyes &&
18917 test x"$ac_has_wctype_h" = xyes; then
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18919 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18920 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18921 $as_echo_n "(cached) " >&6
18922 else
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 #include <wchar.h>
18927 namespace test
18929 using ::wcstold;
18930 using ::wcstoll;
18931 using ::wcstoull;
18935 main ()
18939 return 0;
18941 _ACEOF
18942 if ac_fn_cxx_try_compile "$LINENO"; then :
18943 glibcxx_cv_c99_wchar_cxx11=yes
18944 else
18945 glibcxx_cv_c99_wchar_cxx11=no
18947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18951 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18953 # Checks for wide character functions that may not be present.
18954 # Injection of these is wrapped with guard macros.
18955 # NB: only put functions here, instead of immediately above, if
18956 # absolutely necessary.
18957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18958 /* end confdefs.h. */
18959 #include <wchar.h>
18960 namespace test { using ::vfwscanf; }
18962 main ()
18966 return 0;
18968 _ACEOF
18969 if ac_fn_cxx_try_compile "$LINENO"; then :
18971 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18977 /* end confdefs.h. */
18978 #include <wchar.h>
18979 namespace test { using ::vswscanf; }
18981 main ()
18985 return 0;
18987 _ACEOF
18988 if ac_fn_cxx_try_compile "$LINENO"; then :
18990 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18996 /* end confdefs.h. */
18997 #include <wchar.h>
18998 namespace test { using ::vwscanf; }
19000 main ()
19004 return 0;
19006 _ACEOF
19007 if ac_fn_cxx_try_compile "$LINENO"; then :
19009 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
19012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19015 /* end confdefs.h. */
19016 #include <wchar.h>
19017 namespace test { using ::wcstof; }
19019 main ()
19023 return 0;
19025 _ACEOF
19026 if ac_fn_cxx_try_compile "$LINENO"; then :
19028 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
19031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #include <wctype.h>
19037 main ()
19039 wint_t t; int i = iswblank(t);
19041 return 0;
19043 _ACEOF
19044 if ac_fn_cxx_try_compile "$LINENO"; then :
19046 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
19049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19051 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
19053 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
19058 # Check for the existence of <ctype.h> functions.
19059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <ctype.h>" >&5
19060 $as_echo_n "checking for ISO C99 support for C++11 in <ctype.h>... " >&6; }
19061 if ${glibcxx_cv_c99_ctype+:} false; then :
19062 $as_echo_n "(cached) " >&6
19063 else
19065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19066 /* end confdefs.h. */
19067 #include <ctype.h>
19069 main ()
19071 int ch;
19072 int ret;
19073 ret = isblank(ch);
19076 return 0;
19078 _ACEOF
19079 if ac_fn_cxx_try_compile "$LINENO"; then :
19080 glibcxx_cv_c99_ctype=yes
19081 else
19082 glibcxx_cv_c99_ctype=no
19084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype" >&5
19088 $as_echo "$glibcxx_cv_c99_ctype" >&6; }
19089 if test x"$glibcxx_cv_c99_ctype" = x"yes"; then
19091 $as_echo "#define _GLIBCXX_USE_C99_CTYPE 1" >>confdefs.h
19095 # Check for the existence of <fenv.h> functions.
19096 for ac_header in fenv.h
19097 do :
19098 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19099 if test "x$ac_cv_header_fenv_h" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_FENV_H 1
19102 _ACEOF
19103 ac_has_fenv_h=yes
19104 else
19105 ac_has_fenv_h=no
19108 done
19110 ac_c99_fenv=no;
19111 if test x"$ac_has_fenv_h" = x"yes"; then
19112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support for C++11 in <fenv.h>" >&5
19113 $as_echo_n "checking for ISO C99 support for C++11 in <fenv.h>... " >&6; }
19114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19115 /* end confdefs.h. */
19116 #include <fenv.h>
19118 main ()
19120 int except, mode;
19121 fexcept_t* pflag;
19122 fenv_t* penv;
19123 int ret;
19124 ret = feclearexcept(except);
19125 ret = fegetexceptflag(pflag, except);
19126 ret = feraiseexcept(except);
19127 ret = fesetexceptflag(pflag, except);
19128 ret = fetestexcept(except);
19129 ret = fegetround();
19130 ret = fesetround(mode);
19131 ret = fegetenv(penv);
19132 ret = feholdexcept(penv);
19133 ret = fesetenv(penv);
19134 ret = feupdateenv(penv);
19137 return 0;
19139 _ACEOF
19140 if ac_fn_cxx_try_compile "$LINENO"; then :
19141 ac_c99_fenv=yes
19142 else
19143 ac_c99_fenv=no
19145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv" >&5
19147 $as_echo "$ac_c99_fenv" >&6; }
19149 if test x"$ac_c99_fenv" = x"yes"; then
19151 $as_echo "#define _GLIBCXX_USE_C99_FENV 1" >>confdefs.h
19155 gcc_no_link="$ac_save_gcc_no_link"
19156 LIBS="$ac_save_LIBS"
19157 CXXFLAGS="$ac_save_CXXFLAGS"
19158 ac_ext=c
19159 ac_cpp='$CPP $CPPFLAGS'
19160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
19167 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
19168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
19169 $as_echo "$enable_c99" >&6; }
19172 # Check whether --enable-concept-checks was given.
19173 if test "${enable_concept_checks+set}" = set; then :
19174 enableval=$enable_concept_checks;
19175 case "$enableval" in
19176 yes|no) ;;
19177 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
19178 esac
19180 else
19181 enable_concept_checks=no
19185 if test $enable_concept_checks = yes; then
19187 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
19192 # Check whether --enable-libstdcxx-debug-flags was given.
19193 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
19194 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
19195 xno | x) enable_libstdcxx_debug_flags= ;;
19196 x-*) ;;
19197 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19198 esac
19199 else
19200 enable_libstdcxx_debug_flags="-g3 -O0 -D_GLIBCXX_ASSERTIONS"
19205 # Option parsed, now set things appropriately
19206 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
19210 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
19214 $as_echo_n "checking for additional debug build... " >&6; }
19215 skip_debug_build=
19216 # Check whether --enable-libstdcxx-debug was given.
19217 if test "${enable_libstdcxx_debug+set}" = set; then :
19218 enableval=$enable_libstdcxx_debug;
19219 case "$enableval" in
19220 yes|no) ;;
19221 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
19222 esac
19224 else
19225 enable_libstdcxx_debug=no
19229 if test x$enable_libstdcxx_debug = xyes; then
19230 if test -f $toplevel_builddir/../stage_final \
19231 && test -f $toplevel_builddir/../stage_current; then
19232 stage_final=`cat $toplevel_builddir/../stage_final`
19233 stage_current=`cat $toplevel_builddir/../stage_current`
19234 if test x$stage_current != x$stage_final ; then
19235 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
19236 enable_libstdcxx_debug=no
19240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
19241 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
19246 enable_parallel=no;
19248 # See if configured libgomp/omp.h exists. (libgomp may be in
19249 # noconfigdirs but not explicitly disabled.)
19250 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
19251 enable_parallel=yes;
19252 else
19253 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
19254 $as_echo "$as_me: target-libgomp not built" >&6;}
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
19258 $as_echo_n "checking for parallel mode support... " >&6; }
19259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
19260 $as_echo "$enable_parallel" >&6; }
19262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
19263 $as_echo_n "checking for extra compiler flags for building... " >&6; }
19264 # Check whether --enable-cxx-flags was given.
19265 if test "${enable_cxx_flags+set}" = set; then :
19266 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
19267 xno | x) enable_cxx_flags= ;;
19268 x-*) ;;
19269 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
19270 esac
19271 else
19272 enable_cxx_flags=
19277 # Run through flags (either default or command-line) and set anything
19278 # extra (e.g., #defines) that must accompany particular g++ options.
19279 if test -n "$enable_cxx_flags"; then
19280 for f in $enable_cxx_flags; do
19281 case "$f" in
19282 -fhonor-std) ;;
19283 -*) ;;
19284 *) # and we're trying to pass /what/ exactly?
19285 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
19286 esac
19287 done
19290 EXTRA_CXX_FLAGS="$enable_cxx_flags"
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
19292 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
19296 # Check whether --enable-fully-dynamic-string was given.
19297 if test "${enable_fully_dynamic_string+set}" = set; then :
19298 enableval=$enable_fully_dynamic_string;
19299 case "$enableval" in
19300 yes|no) ;;
19301 *) as_fn_error $? "Unknown argument to enable/disable fully-dynamic-string" "$LINENO" 5 ;;
19302 esac
19304 else
19305 enable_fully_dynamic_string=no
19309 if test $enable_fully_dynamic_string = yes; then
19310 enable_fully_dynamic_string_def=1
19311 else
19312 enable_fully_dynamic_string_def=0
19315 cat >>confdefs.h <<_ACEOF
19316 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
19317 _ACEOF
19322 # Check whether --enable-extern-template was given.
19323 if test "${enable_extern_template+set}" = set; then :
19324 enableval=$enable_extern_template;
19325 case "$enableval" in
19326 yes|no) ;;
19327 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
19328 esac
19330 else
19331 enable_extern_template=yes
19336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
19337 $as_echo_n "checking for extern template support... " >&6; }
19338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
19339 $as_echo "$enable_extern_template" >&6; }
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
19346 $as_echo_n "checking for custom python install directory... " >&6; }
19348 # Check whether --with-python-dir was given.
19349 if test "${with_python_dir+set}" = set; then :
19350 withval=$with_python_dir; with_python_dir=$withval
19351 else
19352 with_python_dir="no"
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
19356 $as_echo "${with_python_dir}" >&6; }
19358 # Needed for installing Python modules during make install.
19359 python_mod_dir="${with_python_dir}"
19364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
19365 $as_echo_n "checking for -Werror... " >&6; }
19366 # Check whether --enable-werror was given.
19367 if test "${enable_werror+set}" = set; then :
19368 enableval=$enable_werror;
19369 case "$enableval" in
19370 yes|no) ;;
19371 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
19372 esac
19374 else
19375 enable_werror=no
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
19380 $as_echo "$enable_werror" >&6; }
19385 # Check whether --enable-vtable-verify was given.
19386 if test "${enable_vtable_verify+set}" = set; then :
19387 enableval=$enable_vtable_verify;
19388 case "$enableval" in
19389 yes|no) ;;
19390 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
19391 esac
19393 else
19394 enable_vtable_verify=no
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
19400 $as_echo_n "checking for vtable verify support... " >&6; }
19401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
19402 $as_echo "$enable_vtable_verify" >&6; }
19404 vtv_cygmin=no
19405 if test $enable_vtable_verify = yes; then
19406 case ${target_os} in
19407 cygwin*|mingw32*)
19408 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19409 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19410 vtv_cygmin=yes
19412 darwin*)
19413 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
19414 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
19416 solaris2*)
19417 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19418 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
19421 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
19422 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
19424 esac
19425 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
19426 else
19427 VTV_CXXFLAGS=
19428 VTV_PCH_CXXFLAGS=
19429 VTV_CXXLINKFLAGS=
19435 if test x$vtv_cygmin = xyes; then
19436 VTV_CYGMIN_TRUE=
19437 VTV_CYGMIN_FALSE='#'
19438 else
19439 VTV_CYGMIN_TRUE='#'
19440 VTV_CYGMIN_FALSE=
19446 # Checks for operating systems support that doesn't require linking.
19450 ac_ext=cpp
19451 ac_cpp='$CXXCPP $CPPFLAGS'
19452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19456 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
19457 # and we don't need a declaration for C++14 anyway.
19458 ac_save_CXXFLAGS="$CXXFLAGS"
19459 CXXFLAGS="$CXXFLAGS -std=gnu++11"
19461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
19462 $as_echo_n "checking for gets declaration... " >&6; }
19463 if ${glibcxx_cv_gets+:} false; then :
19464 $as_echo_n "(cached) " >&6
19465 else
19467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19468 /* end confdefs.h. */
19469 #include <stdio.h>
19470 namespace test
19472 using ::gets;
19475 _ACEOF
19476 if ac_fn_cxx_try_compile "$LINENO"; then :
19477 glibcxx_cv_gets=yes
19478 else
19479 glibcxx_cv_gets=no
19482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
19485 $as_echo "$glibcxx_cv_gets" >&6; }
19487 if test $glibcxx_cv_gets = yes; then
19489 $as_echo "#define HAVE_GETS 1" >>confdefs.h
19493 CXXFLAGS="$ac_save_CXXFLAGS"
19494 ac_ext=c
19495 ac_cpp='$CPP $CPPFLAGS'
19496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19504 ac_ext=cpp
19505 ac_cpp='$CXXCPP $CPPFLAGS'
19506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19510 ac_save_CXXFLAGS="$CXXFLAGS"
19511 CXXFLAGS="$CXXFLAGS -std=c++11"
19513 case "$host" in
19514 *-*-solaris2.*)
19515 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
19516 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
19517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
19518 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
19519 if ${glibcxx_cv_math11_fp_overload+:} false; then :
19520 $as_echo_n "(cached) " >&6
19521 else
19523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19524 /* end confdefs.h. */
19525 #include <math.h>
19526 #undef isfinite
19527 namespace std {
19528 inline bool isfinite(float __x)
19529 { return __builtin_isfinite(__x); }
19532 _ACEOF
19533 if ac_fn_cxx_try_compile "$LINENO"; then :
19534 glibcxx_cv_math11_fp_overload=no
19535 else
19536 glibcxx_cv_math11_fp_overload=yes
19539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
19542 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
19544 # autoheader cannot handle indented templates.
19547 if test $glibcxx_cv_math11_fp_overload = yes; then
19548 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
19552 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
19553 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
19555 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
19556 if ${glibcxx_cv_math11_int_overload+:} false; then :
19557 $as_echo_n "(cached) " >&6
19558 else
19560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19561 /* end confdefs.h. */
19562 #include <math.h>
19563 namespace std {
19564 template<typename _Tp>
19565 struct __is_integer;
19566 template<>
19567 struct __is_integer<int>
19569 enum { __value = 1 };
19572 namespace __gnu_cxx {
19573 template<bool, typename>
19574 struct __enable_if;
19575 template<typename _Tp>
19576 struct __enable_if<true, _Tp>
19577 { typedef _Tp __type; };
19579 namespace std {
19580 template<typename _Tp>
19581 constexpr typename __gnu_cxx::__enable_if
19582 <__is_integer<_Tp>::__value, double>::__type
19583 log2(_Tp __x)
19584 { return __builtin_log2(__x); }
19587 main (void)
19589 int i = 1000;
19590 return std::log2(i);
19593 _ACEOF
19594 if ac_fn_cxx_try_compile "$LINENO"; then :
19595 glibcxx_cv_math11_int_overload=no
19596 else
19597 glibcxx_cv_math11_int_overload=yes
19600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
19603 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
19605 # autoheader cannot handle indented templates.
19608 if test $glibcxx_cv_math11_int_overload = yes; then
19609 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
19614 # If <math.h> defines the obsolete isinf(double) and isnan(double)
19615 # functions (instead of or as well as the C99 generic macros) then we
19616 # can't define std::isinf(double) and std::isnan(double) in <cmath>
19617 # and must use the ones from <math.h> instead.
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
19619 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
19620 if ${glibcxx_cv_obsolete_isinf+:} false; then :
19621 $as_echo_n "(cached) " >&6
19622 else
19624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19625 /* end confdefs.h. */
19626 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19627 #include <math.h>
19628 #undef isinf
19629 namespace std {
19630 using ::isinf;
19631 bool isinf(float);
19632 bool isinf(long double);
19634 using std::isinf;
19635 bool b = isinf(0.0);
19637 _ACEOF
19638 if ac_fn_cxx_try_compile "$LINENO"; then :
19639 glibcxx_cv_obsolete_isinf=yes
19640 else
19641 glibcxx_cv_obsolete_isinf=no
19644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19647 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19648 if test $glibcxx_cv_obsolete_isinf = yes; then
19650 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19655 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19656 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19657 $as_echo_n "(cached) " >&6
19658 else
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19662 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19663 #include <math.h>
19664 #undef isnan
19665 namespace std {
19666 using ::isnan;
19667 bool isnan(float);
19668 bool isnan(long double);
19670 using std::isnan;
19671 bool b = isnan(0.0);
19673 _ACEOF
19674 if ac_fn_cxx_try_compile "$LINENO"; then :
19675 glibcxx_cv_obsolete_isnan=yes
19676 else
19677 glibcxx_cv_obsolete_isnan=no
19680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19683 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19684 if test $glibcxx_cv_obsolete_isnan = yes; then
19686 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19690 esac
19692 CXXFLAGS="$ac_save_CXXFLAGS"
19693 ac_ext=c
19694 ac_cpp='$CPP $CPPFLAGS'
19695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19702 # Test uchar.h.
19703 for ac_header in uchar.h
19704 do :
19705 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19706 if test "x$ac_cv_header_uchar_h" = xyes; then :
19707 cat >>confdefs.h <<_ACEOF
19708 #define HAVE_UCHAR_H 1
19709 _ACEOF
19710 ac_has_uchar_h=yes
19711 else
19712 ac_has_uchar_h=no
19715 done
19719 ac_ext=cpp
19720 ac_cpp='$CXXCPP $CPPFLAGS'
19721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19725 ac_save_CXXFLAGS="$CXXFLAGS"
19726 CXXFLAGS="$CXXFLAGS -std=c++11"
19728 if test x"$ac_has_uchar_h" = x"yes"; then
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19730 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19732 /* end confdefs.h. */
19733 #include <uchar.h>
19734 #ifdef __STDC_UTF_16__
19735 long i = __STDC_UTF_16__;
19736 #endif
19737 #ifdef __STDC_UTF_32__
19738 long j = __STDC_UTF_32__;
19739 #endif
19740 namespace test
19742 using ::c16rtomb;
19743 using ::c32rtomb;
19744 using ::mbrtoc16;
19745 using ::mbrtoc32;
19749 main ()
19753 return 0;
19755 _ACEOF
19756 if ac_fn_cxx_try_compile "$LINENO"; then :
19757 ac_c11_uchar_cxx11=yes
19758 else
19759 ac_c11_uchar_cxx11=no
19761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19763 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19764 else
19765 ac_c11_uchar_cxx11=no
19767 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19769 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19773 CXXFLAGS="$CXXFLAGS -fchar8_t"
19774 if test x"$ac_has_uchar_h" = x"yes"; then
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t" >&5
19776 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -fchar8_t... " >&6; }
19777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19778 /* end confdefs.h. */
19779 #include <uchar.h>
19780 namespace test
19782 using ::c8rtomb;
19783 using ::mbrtoc8;
19787 main ()
19791 return 0;
19793 _ACEOF
19794 if ac_fn_cxx_try_compile "$LINENO"; then :
19795 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=yes
19796 else
19797 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&5
19801 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" >&6; }
19802 else
19803 ac_uchar_c8rtomb_mbrtoc8_fchar8_t=no
19805 if test x"$ac_uchar_c8rtomb_mbrtoc8_fchar8_t" = x"yes"; then
19807 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_FCHAR8_T 1" >>confdefs.h
19811 CXXFLAGS="$CXXFLAGS -std=c++20"
19812 if test x"$ac_has_uchar_h" = x"yes"; then
19813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20" >&5
19814 $as_echo_n "checking for c8rtomb and mbrtoc8 in <uchar.h> with -std=c++20... " >&6; }
19815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19816 /* end confdefs.h. */
19817 #include <uchar.h>
19818 namespace test
19820 using ::c8rtomb;
19821 using ::mbrtoc8;
19825 main ()
19829 return 0;
19831 _ACEOF
19832 if ac_fn_cxx_try_compile "$LINENO"; then :
19833 ac_uchar_c8rtomb_mbrtoc8_cxx20=yes
19834 else
19835 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_uchar_c8rtomb_mbrtoc8_cxx20" >&5
19839 $as_echo "$ac_uchar_c8rtomb_mbrtoc8_cxx20" >&6; }
19840 else
19841 ac_uchar_c8rtomb_mbrtoc8_cxx20=no
19843 if test x"$ac_uchar_c8rtomb_mbrtoc8_cxx20" = x"yes"; then
19845 $as_echo "#define _GLIBCXX_USE_UCHAR_C8RTOMB_MBRTOC8_CXX20 1" >>confdefs.h
19849 CXXFLAGS="$ac_save_CXXFLAGS"
19850 ac_ext=c
19851 ac_cpp='$CPP $CPPFLAGS'
19852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19858 # For LFS support.
19861 ac_ext=cpp
19862 ac_cpp='$CXXCPP $CPPFLAGS'
19863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19867 ac_save_CXXFLAGS="$CXXFLAGS"
19868 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19870 $as_echo_n "checking for LFS support... " >&6; }
19871 if ${glibcxx_cv_LFS+:} false; then :
19872 $as_echo_n "(cached) " >&6
19873 else
19875 if test x$gcc_no_link = xyes; then
19876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19877 /* end confdefs.h. */
19878 #include <unistd.h>
19879 #include <stdio.h>
19880 #include <sys/stat.h>
19883 main ()
19885 FILE* fp;
19886 fopen64("t", "w");
19887 fseeko64(fp, 0, SEEK_CUR);
19888 ftello64(fp);
19889 lseek64(1, 0, SEEK_CUR);
19890 struct stat64 buf;
19891 fstat64(1, &buf);
19893 return 0;
19895 _ACEOF
19896 if ac_fn_cxx_try_compile "$LINENO"; then :
19897 glibcxx_cv_LFS=yes
19898 else
19899 glibcxx_cv_LFS=no
19901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 else
19903 if test x$gcc_no_link = xyes; then
19904 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19907 /* end confdefs.h. */
19908 #include <unistd.h>
19909 #include <stdio.h>
19910 #include <sys/stat.h>
19913 main ()
19915 FILE* fp;
19916 fopen64("t", "w");
19917 fseeko64(fp, 0, SEEK_CUR);
19918 ftello64(fp);
19919 lseek64(1, 0, SEEK_CUR);
19920 struct stat64 buf;
19921 fstat64(1, &buf);
19923 return 0;
19925 _ACEOF
19926 if ac_fn_cxx_try_link "$LINENO"; then :
19927 glibcxx_cv_LFS=yes
19928 else
19929 glibcxx_cv_LFS=no
19931 rm -f core conftest.err conftest.$ac_objext \
19932 conftest$ac_exeext conftest.$ac_ext
19936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19937 $as_echo "$glibcxx_cv_LFS" >&6; }
19938 if test $glibcxx_cv_LFS = yes; then
19940 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19943 CXXFLAGS="$ac_save_CXXFLAGS"
19944 ac_ext=c
19945 ac_cpp='$CPP $CPPFLAGS'
19946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19952 # For showmanyc_helper().
19953 for ac_header in sys/ioctl.h sys/filio.h
19954 do :
19955 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19956 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19957 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19958 cat >>confdefs.h <<_ACEOF
19959 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19960 _ACEOF
19964 done
19969 ac_ext=cpp
19970 ac_cpp='$CXXCPP $CPPFLAGS'
19971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19975 ac_save_CXXFLAGS="$CXXFLAGS"
19976 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19979 $as_echo_n "checking for poll... " >&6; }
19980 if ${glibcxx_cv_POLL+:} false; then :
19981 $as_echo_n "(cached) " >&6
19982 else
19984 if test x$gcc_no_link = xyes; then
19985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19986 /* end confdefs.h. */
19987 #include <poll.h>
19989 main ()
19991 struct pollfd pfd[1];
19992 pfd[0].events = POLLIN;
19993 poll(pfd, 1, 0);
19995 return 0;
19997 _ACEOF
19998 if ac_fn_cxx_try_compile "$LINENO"; then :
19999 glibcxx_cv_POLL=yes
20000 else
20001 glibcxx_cv_POLL=no
20003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20004 else
20005 if test x$gcc_no_link = xyes; then
20006 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20009 /* end confdefs.h. */
20010 #include <poll.h>
20012 main ()
20014 struct pollfd pfd[1];
20015 pfd[0].events = POLLIN;
20016 poll(pfd, 1, 0);
20018 return 0;
20020 _ACEOF
20021 if ac_fn_cxx_try_link "$LINENO"; then :
20022 glibcxx_cv_POLL=yes
20023 else
20024 glibcxx_cv_POLL=no
20026 rm -f core conftest.err conftest.$ac_objext \
20027 conftest$ac_exeext conftest.$ac_ext
20031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
20032 $as_echo "$glibcxx_cv_POLL" >&6; }
20033 if test $glibcxx_cv_POLL = yes; then
20035 $as_echo "#define HAVE_POLL 1" >>confdefs.h
20039 CXXFLAGS="$ac_save_CXXFLAGS"
20040 ac_ext=c
20041 ac_cpp='$CPP $CPPFLAGS'
20042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20050 ac_ext=cpp
20051 ac_cpp='$CXXCPP $CPPFLAGS'
20052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20056 ac_save_CXXFLAGS="$CXXFLAGS"
20057 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
20060 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
20061 if ${glibcxx_cv_S_ISREG+:} false; then :
20062 $as_echo_n "(cached) " >&6
20063 else
20065 if test x$gcc_no_link = xyes; then
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20068 #include <sys/stat.h>
20070 main ()
20072 struct stat buffer;
20073 fstat(0, &buffer);
20074 S_ISREG(buffer.st_mode);
20076 return 0;
20078 _ACEOF
20079 if ac_fn_cxx_try_compile "$LINENO"; then :
20080 glibcxx_cv_S_ISREG=yes
20081 else
20082 glibcxx_cv_S_ISREG=no
20084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20085 else
20086 if test x$gcc_no_link = xyes; then
20087 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20090 /* end confdefs.h. */
20091 #include <sys/stat.h>
20093 main ()
20095 struct stat buffer;
20096 fstat(0, &buffer);
20097 S_ISREG(buffer.st_mode);
20099 return 0;
20101 _ACEOF
20102 if ac_fn_cxx_try_link "$LINENO"; then :
20103 glibcxx_cv_S_ISREG=yes
20104 else
20105 glibcxx_cv_S_ISREG=no
20107 rm -f core conftest.err conftest.$ac_objext \
20108 conftest$ac_exeext conftest.$ac_ext
20113 if ${glibcxx_cv_S_IFREG+:} false; then :
20114 $as_echo_n "(cached) " >&6
20115 else
20117 if test x$gcc_no_link = xyes; then
20118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20119 /* end confdefs.h. */
20120 #include <sys/stat.h>
20122 main ()
20124 struct stat buffer;
20125 fstat(0, &buffer);
20126 S_IFREG & buffer.st_mode;
20128 return 0;
20130 _ACEOF
20131 if ac_fn_cxx_try_compile "$LINENO"; then :
20132 glibcxx_cv_S_IFREG=yes
20133 else
20134 glibcxx_cv_S_IFREG=no
20136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20137 else
20138 if test x$gcc_no_link = xyes; then
20139 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20142 /* end confdefs.h. */
20143 #include <sys/stat.h>
20145 main ()
20147 struct stat buffer;
20148 fstat(0, &buffer);
20149 S_IFREG & buffer.st_mode;
20151 return 0;
20153 _ACEOF
20154 if ac_fn_cxx_try_link "$LINENO"; then :
20155 glibcxx_cv_S_IFREG=yes
20156 else
20157 glibcxx_cv_S_IFREG=no
20159 rm -f core conftest.err conftest.$ac_objext \
20160 conftest$ac_exeext conftest.$ac_ext
20165 res=no
20166 if test $glibcxx_cv_S_ISREG = yes; then
20168 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
20170 res=S_ISREG
20171 elif test $glibcxx_cv_S_IFREG = yes; then
20173 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
20175 res=S_IFREG
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
20178 $as_echo "$res" >&6; }
20180 CXXFLAGS="$ac_save_CXXFLAGS"
20181 ac_ext=c
20182 ac_cpp='$CPP $CPPFLAGS'
20183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20189 # For xsputn_2().
20190 for ac_header in sys/uio.h
20191 do :
20192 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
20193 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
20194 cat >>confdefs.h <<_ACEOF
20195 #define HAVE_SYS_UIO_H 1
20196 _ACEOF
20200 done
20205 ac_ext=cpp
20206 ac_cpp='$CXXCPP $CPPFLAGS'
20207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20211 ac_save_CXXFLAGS="$CXXFLAGS"
20212 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
20215 $as_echo_n "checking for writev... " >&6; }
20216 if ${glibcxx_cv_WRITEV+:} false; then :
20217 $as_echo_n "(cached) " >&6
20218 else
20220 if test x$gcc_no_link = xyes; then
20221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20222 /* end confdefs.h. */
20223 #include <sys/uio.h>
20225 main ()
20227 struct iovec iov[2];
20228 writev(0, iov, 0);
20230 return 0;
20232 _ACEOF
20233 if ac_fn_cxx_try_compile "$LINENO"; then :
20234 glibcxx_cv_WRITEV=yes
20235 else
20236 glibcxx_cv_WRITEV=no
20238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20239 else
20240 if test x$gcc_no_link = xyes; then
20241 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20244 /* end confdefs.h. */
20245 #include <sys/uio.h>
20247 main ()
20249 struct iovec iov[2];
20250 writev(0, iov, 0);
20252 return 0;
20254 _ACEOF
20255 if ac_fn_cxx_try_link "$LINENO"; then :
20256 glibcxx_cv_WRITEV=yes
20257 else
20258 glibcxx_cv_WRITEV=no
20260 rm -f core conftest.err conftest.$ac_objext \
20261 conftest$ac_exeext conftest.$ac_ext
20265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20266 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20267 if test $glibcxx_cv_WRITEV = yes; then
20269 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20273 CXXFLAGS="$ac_save_CXXFLAGS"
20274 ac_ext=c
20275 ac_cpp='$CPP $CPPFLAGS'
20276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20282 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20283 # so that the check is done with the C compiler (not C++).
20284 # Checking with C++ can break a canadian cross build if either
20285 # file does not exist in C but does in C++.
20286 for ac_header in fenv.h complex.h
20287 do :
20288 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20289 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20290 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20291 cat >>confdefs.h <<_ACEOF
20292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20293 _ACEOF
20297 done
20300 # For C99 support to TR1.
20304 ac_ext=cpp
20305 ac_cpp='$CXXCPP $CPPFLAGS'
20306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20311 # Use -std=c++98 because -std=gnu++98 leaves __STRICT_ANSI__
20312 # undefined and fake C99 facilities may be spuriously enabled.
20313 ac_save_CXXFLAGS="$CXXFLAGS"
20314 CXXFLAGS="$CXXFLAGS -std=c++98"
20316 # Check for the existence of <complex.h> complex math functions used
20317 # by tr1/complex.
20318 for ac_header in complex.h
20319 do :
20320 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20321 if test "x$ac_cv_header_complex_h" = xyes; then :
20322 cat >>confdefs.h <<_ACEOF
20323 #define HAVE_COMPLEX_H 1
20324 _ACEOF
20325 ac_has_complex_h=yes
20326 else
20327 ac_has_complex_h=no
20330 done
20332 ac_c99_complex_tr1=no;
20333 if test x"$ac_has_complex_h" = x"yes"; then
20334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20335 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20337 /* end confdefs.h. */
20338 #include <complex.h>
20340 main ()
20342 typedef __complex__ float float_type; float_type tmpf;
20343 cacosf(tmpf);
20344 casinf(tmpf);
20345 catanf(tmpf);
20346 cacoshf(tmpf);
20347 casinhf(tmpf);
20348 catanhf(tmpf);
20349 typedef __complex__ double double_type; double_type tmpd;
20350 cacos(tmpd);
20351 casin(tmpd);
20352 catan(tmpd);
20353 cacosh(tmpd);
20354 casinh(tmpd);
20355 catanh(tmpd);
20356 typedef __complex__ long double ld_type; ld_type tmpld;
20357 cacosl(tmpld);
20358 casinl(tmpld);
20359 catanl(tmpld);
20360 cacoshl(tmpld);
20361 casinhl(tmpld);
20362 catanhl(tmpld);
20365 return 0;
20367 _ACEOF
20368 if ac_fn_cxx_try_compile "$LINENO"; then :
20369 ac_c99_complex_tr1=yes
20370 else
20371 ac_c99_complex_tr1=no
20373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20376 $as_echo "$ac_c99_complex_tr1" >&6; }
20377 if test x"$ac_c99_complex_tr1" = x"yes"; then
20379 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20383 # Check for the existence of <ctype.h> functions.
20384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20385 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20386 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20387 $as_echo_n "(cached) " >&6
20388 else
20390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20391 /* end confdefs.h. */
20392 #include <ctype.h>
20394 main ()
20396 int ch;
20397 int ret;
20398 ret = isblank(ch);
20401 return 0;
20403 _ACEOF
20404 if ac_fn_cxx_try_compile "$LINENO"; then :
20405 glibcxx_cv_c99_ctype_tr1=yes
20406 else
20407 glibcxx_cv_c99_ctype_tr1=no
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20413 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20414 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20416 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20420 # Check for the existence of <fenv.h> functions.
20421 for ac_header in fenv.h
20422 do :
20423 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20424 if test "x$ac_cv_header_fenv_h" = xyes; then :
20425 cat >>confdefs.h <<_ACEOF
20426 #define HAVE_FENV_H 1
20427 _ACEOF
20428 ac_has_fenv_h=yes
20429 else
20430 ac_has_fenv_h=no
20433 done
20435 ac_c99_fenv_tr1=no;
20436 if test x"$ac_has_fenv_h" = x"yes"; then
20437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20438 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20440 /* end confdefs.h. */
20441 #include <fenv.h>
20443 main ()
20445 int except, mode;
20446 fexcept_t* pflag;
20447 fenv_t* penv;
20448 int ret;
20449 ret = feclearexcept(except);
20450 ret = fegetexceptflag(pflag, except);
20451 ret = feraiseexcept(except);
20452 ret = fesetexceptflag(pflag, except);
20453 ret = fetestexcept(except);
20454 ret = fegetround();
20455 ret = fesetround(mode);
20456 ret = fegetenv(penv);
20457 ret = feholdexcept(penv);
20458 ret = fesetenv(penv);
20459 ret = feupdateenv(penv);
20462 return 0;
20464 _ACEOF
20465 if ac_fn_cxx_try_compile "$LINENO"; then :
20466 ac_c99_fenv_tr1=yes
20467 else
20468 ac_c99_fenv_tr1=no
20470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20472 $as_echo "$ac_c99_fenv_tr1" >&6; }
20474 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20476 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20480 # Check for the existence of <stdint.h> types.
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20482 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20483 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20484 $as_echo_n "(cached) " >&6
20485 else
20487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20488 /* end confdefs.h. */
20489 #define __STDC_LIMIT_MACROS
20490 #define __STDC_CONSTANT_MACROS
20491 #include <stdint.h>
20493 main ()
20495 typedef int8_t my_int8_t;
20496 my_int8_t i8 = INT8_MIN;
20497 i8 = INT8_MAX;
20498 typedef int16_t my_int16_t;
20499 my_int16_t i16 = INT16_MIN;
20500 i16 = INT16_MAX;
20501 typedef int32_t my_int32_t;
20502 my_int32_t i32 = INT32_MIN;
20503 i32 = INT32_MAX;
20504 typedef int64_t my_int64_t;
20505 my_int64_t i64 = INT64_MIN;
20506 i64 = INT64_MAX;
20507 typedef int_fast8_t my_int_fast8_t;
20508 my_int_fast8_t if8 = INT_FAST8_MIN;
20509 if8 = INT_FAST8_MAX;
20510 typedef int_fast16_t my_int_fast16_t;
20511 my_int_fast16_t if16 = INT_FAST16_MIN;
20512 if16 = INT_FAST16_MAX;
20513 typedef int_fast32_t my_int_fast32_t;
20514 my_int_fast32_t if32 = INT_FAST32_MIN;
20515 if32 = INT_FAST32_MAX;
20516 typedef int_fast64_t my_int_fast64_t;
20517 my_int_fast64_t if64 = INT_FAST64_MIN;
20518 if64 = INT_FAST64_MAX;
20519 typedef int_least8_t my_int_least8_t;
20520 my_int_least8_t il8 = INT_LEAST8_MIN;
20521 il8 = INT_LEAST8_MAX;
20522 typedef int_least16_t my_int_least16_t;
20523 my_int_least16_t il16 = INT_LEAST16_MIN;
20524 il16 = INT_LEAST16_MAX;
20525 typedef int_least32_t my_int_least32_t;
20526 my_int_least32_t il32 = INT_LEAST32_MIN;
20527 il32 = INT_LEAST32_MAX;
20528 typedef int_least64_t my_int_least64_t;
20529 my_int_least64_t il64 = INT_LEAST64_MIN;
20530 il64 = INT_LEAST64_MAX;
20531 typedef intmax_t my_intmax_t;
20532 my_intmax_t im = INTMAX_MAX;
20533 im = INTMAX_MIN;
20534 typedef intptr_t my_intptr_t;
20535 my_intptr_t ip = INTPTR_MAX;
20536 ip = INTPTR_MIN;
20537 typedef uint8_t my_uint8_t;
20538 my_uint8_t ui8 = UINT8_MAX;
20539 ui8 = UINT8_MAX;
20540 typedef uint16_t my_uint16_t;
20541 my_uint16_t ui16 = UINT16_MAX;
20542 ui16 = UINT16_MAX;
20543 typedef uint32_t my_uint32_t;
20544 my_uint32_t ui32 = UINT32_MAX;
20545 ui32 = UINT32_MAX;
20546 typedef uint64_t my_uint64_t;
20547 my_uint64_t ui64 = UINT64_MAX;
20548 ui64 = UINT64_MAX;
20549 typedef uint_fast8_t my_uint_fast8_t;
20550 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20551 uif8 = UINT_FAST8_MAX;
20552 typedef uint_fast16_t my_uint_fast16_t;
20553 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20554 uif16 = UINT_FAST16_MAX;
20555 typedef uint_fast32_t my_uint_fast32_t;
20556 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20557 uif32 = UINT_FAST32_MAX;
20558 typedef uint_fast64_t my_uint_fast64_t;
20559 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20560 uif64 = UINT_FAST64_MAX;
20561 typedef uint_least8_t my_uint_least8_t;
20562 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20563 uil8 = UINT_LEAST8_MAX;
20564 typedef uint_least16_t my_uint_least16_t;
20565 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20566 uil16 = UINT_LEAST16_MAX;
20567 typedef uint_least32_t my_uint_least32_t;
20568 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20569 uil32 = UINT_LEAST32_MAX;
20570 typedef uint_least64_t my_uint_least64_t;
20571 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20572 uil64 = UINT_LEAST64_MAX;
20573 typedef uintmax_t my_uintmax_t;
20574 my_uintmax_t uim = UINTMAX_MAX;
20575 uim = UINTMAX_MAX;
20576 typedef uintptr_t my_uintptr_t;
20577 my_uintptr_t uip = UINTPTR_MAX;
20578 uip = UINTPTR_MAX;
20581 return 0;
20583 _ACEOF
20584 if ac_fn_cxx_try_compile "$LINENO"; then :
20585 glibcxx_cv_c99_stdint_tr1=yes
20586 else
20587 glibcxx_cv_c99_stdint_tr1=no
20589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20593 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20594 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20596 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20600 # Check for the existence of <math.h> functions.
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20602 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20603 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20604 $as_echo_n "(cached) " >&6
20605 else
20607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20608 /* end confdefs.h. */
20609 #include <math.h>
20611 main ()
20613 typedef double_t my_double_t;
20614 typedef float_t my_float_t;
20615 acosh(0.0);
20616 acoshf(0.0f);
20617 acoshl(0.0l);
20618 asinh(0.0);
20619 asinhf(0.0f);
20620 asinhl(0.0l);
20621 atanh(0.0);
20622 atanhf(0.0f);
20623 atanhl(0.0l);
20624 cbrt(0.0);
20625 cbrtf(0.0f);
20626 cbrtl(0.0l);
20627 copysign(0.0, 0.0);
20628 copysignf(0.0f, 0.0f);
20629 copysignl(0.0l, 0.0l);
20630 erf(0.0);
20631 erff(0.0f);
20632 erfl(0.0l);
20633 erfc(0.0);
20634 erfcf(0.0f);
20635 erfcl(0.0l);
20636 exp2(0.0);
20637 exp2f(0.0f);
20638 exp2l(0.0l);
20639 expm1(0.0);
20640 expm1f(0.0f);
20641 expm1l(0.0l);
20642 fdim(0.0, 0.0);
20643 fdimf(0.0f, 0.0f);
20644 fdiml(0.0l, 0.0l);
20645 fma(0.0, 0.0, 0.0);
20646 fmaf(0.0f, 0.0f, 0.0f);
20647 fmal(0.0l, 0.0l, 0.0l);
20648 fmax(0.0, 0.0);
20649 fmaxf(0.0f, 0.0f);
20650 fmaxl(0.0l, 0.0l);
20651 fmin(0.0, 0.0);
20652 fminf(0.0f, 0.0f);
20653 fminl(0.0l, 0.0l);
20654 hypot(0.0, 0.0);
20655 hypotf(0.0f, 0.0f);
20656 hypotl(0.0l, 0.0l);
20657 ilogb(0.0);
20658 ilogbf(0.0f);
20659 ilogbl(0.0l);
20660 lgamma(0.0);
20661 lgammaf(0.0f);
20662 lgammal(0.0l);
20663 #ifndef __APPLE__ /* see below */
20664 llrint(0.0);
20665 llrintf(0.0f);
20666 llrintl(0.0l);
20667 llround(0.0);
20668 llroundf(0.0f);
20669 llroundl(0.0l);
20670 #endif
20671 log1p(0.0);
20672 log1pf(0.0f);
20673 log1pl(0.0l);
20674 log2(0.0);
20675 log2f(0.0f);
20676 log2l(0.0l);
20677 logb(0.0);
20678 logbf(0.0f);
20679 logbl(0.0l);
20680 lrint(0.0);
20681 lrintf(0.0f);
20682 lrintl(0.0l);
20683 lround(0.0);
20684 lroundf(0.0f);
20685 lroundl(0.0l);
20686 nan("");
20687 nanf("");
20688 nanl("");
20689 nearbyint(0.0);
20690 nearbyintf(0.0f);
20691 nearbyintl(0.0l);
20692 nextafter(0.0, 0.0);
20693 nextafterf(0.0f, 0.0f);
20694 nextafterl(0.0l, 0.0l);
20695 nexttoward(0.0, 0.0);
20696 nexttowardf(0.0f, 0.0f);
20697 nexttowardl(0.0l, 0.0l);
20698 remainder(0.0, 0.0);
20699 remainderf(0.0f, 0.0f);
20700 remainderl(0.0l, 0.0l);
20701 remquo(0.0, 0.0, 0);
20702 remquof(0.0f, 0.0f, 0);
20703 remquol(0.0l, 0.0l, 0);
20704 rint(0.0);
20705 rintf(0.0f);
20706 rintl(0.0l);
20707 round(0.0);
20708 roundf(0.0f);
20709 roundl(0.0l);
20710 scalbln(0.0, 0l);
20711 scalblnf(0.0f, 0l);
20712 scalblnl(0.0l, 0l);
20713 scalbn(0.0, 0);
20714 scalbnf(0.0f, 0);
20715 scalbnl(0.0l, 0);
20716 tgamma(0.0);
20717 tgammaf(0.0f);
20718 tgammal(0.0l);
20719 trunc(0.0);
20720 truncf(0.0f);
20721 truncl(0.0l);
20724 return 0;
20726 _ACEOF
20727 if ac_fn_cxx_try_compile "$LINENO"; then :
20728 glibcxx_cv_c99_math_tr1=yes
20729 else
20730 glibcxx_cv_c99_math_tr1=no
20732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20736 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20737 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20739 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20743 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20744 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20745 ac_c99_inttypes_tr1=no;
20746 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20748 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20750 /* end confdefs.h. */
20751 #include <inttypes.h>
20753 main ()
20755 intmax_t i, numer, denom, base;
20756 const char* s;
20757 char** endptr;
20758 intmax_t ret = imaxabs(i);
20759 imaxdiv_t dret = imaxdiv(numer, denom);
20760 ret = strtoimax(s, endptr, base);
20761 uintmax_t uret = strtoumax(s, endptr, base);
20764 return 0;
20766 _ACEOF
20767 if ac_fn_cxx_try_compile "$LINENO"; then :
20768 ac_c99_inttypes_tr1=yes
20769 else
20770 ac_c99_inttypes_tr1=no
20772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20774 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20776 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20778 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20782 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20783 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20784 ac_c99_inttypes_wchar_t_tr1=no;
20785 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20787 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20789 /* end confdefs.h. */
20790 #include <inttypes.h>
20792 main ()
20794 intmax_t base;
20795 const wchar_t* s;
20796 wchar_t** endptr;
20797 intmax_t ret = wcstoimax(s, endptr, base);
20798 uintmax_t uret = wcstoumax(s, endptr, base);
20801 return 0;
20803 _ACEOF
20804 if ac_fn_cxx_try_compile "$LINENO"; then :
20805 ac_c99_inttypes_wchar_t_tr1=yes
20806 else
20807 ac_c99_inttypes_wchar_t_tr1=no
20809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20811 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20813 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20815 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20819 # Check for the existence of the <stdbool.h> header.
20820 for ac_header in stdbool.h
20821 do :
20822 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20823 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20824 cat >>confdefs.h <<_ACEOF
20825 #define HAVE_STDBOOL_H 1
20826 _ACEOF
20830 done
20833 # Check for the existence of the <stdalign.h> header.
20834 for ac_header in stdalign.h
20835 do :
20836 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20837 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20838 cat >>confdefs.h <<_ACEOF
20839 #define HAVE_STDALIGN_H 1
20840 _ACEOF
20844 done
20847 CXXFLAGS="$ac_save_CXXFLAGS"
20848 ac_ext=c
20849 ac_cpp='$CPP $CPPFLAGS'
20850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20856 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20859 if test "$is_hosted" = yes; then
20860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20861 $as_echo_n "checking for the value of EOF... " >&6; }
20862 if ${glibcxx_cv_stdio_eof+:} false; then :
20863 $as_echo_n "(cached) " >&6
20864 else
20866 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20868 else
20869 as_fn_error $? "computing EOF failed" "$LINENO" 5
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20875 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20877 cat >>confdefs.h <<_ACEOF
20878 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20879 _ACEOF
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20883 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20884 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20885 $as_echo_n "(cached) " >&6
20886 else
20888 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20890 else
20891 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20897 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20899 cat >>confdefs.h <<_ACEOF
20900 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20901 _ACEOF
20904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20905 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20906 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20907 $as_echo_n "(cached) " >&6
20908 else
20910 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20912 else
20913 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20919 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20921 cat >>confdefs.h <<_ACEOF
20922 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20923 _ACEOF
20928 # For gettimeofday support.
20931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20932 $as_echo_n "checking for gettimeofday... " >&6; }
20935 ac_ext=cpp
20936 ac_cpp='$CXXCPP $CPPFLAGS'
20937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20941 ac_save_CXXFLAGS="$CXXFLAGS"
20942 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20944 ac_has_gettimeofday=no;
20945 for ac_header in sys/time.h
20946 do :
20947 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20948 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20949 cat >>confdefs.h <<_ACEOF
20950 #define HAVE_SYS_TIME_H 1
20951 _ACEOF
20952 ac_has_sys_time_h=yes
20953 else
20954 ac_has_sys_time_h=no
20957 done
20959 if test x"$ac_has_sys_time_h" = x"yes"; then
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20961 $as_echo_n "checking for gettimeofday... " >&6; }
20962 if test x$gcc_no_link = xyes; then
20963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20964 /* end confdefs.h. */
20965 #include <sys/time.h>
20967 main ()
20969 timeval tv; gettimeofday(&tv, 0);
20971 return 0;
20973 _ACEOF
20974 if ac_fn_cxx_try_compile "$LINENO"; then :
20975 ac_has_gettimeofday=yes
20976 else
20977 ac_has_gettimeofday=no
20979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20980 else
20981 if test x$gcc_no_link = xyes; then
20982 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20985 /* end confdefs.h. */
20986 #include <sys/time.h>
20988 main ()
20990 timeval tv; gettimeofday(&tv, 0);
20992 return 0;
20994 _ACEOF
20995 if ac_fn_cxx_try_link "$LINENO"; then :
20996 ac_has_gettimeofday=yes
20997 else
20998 ac_has_gettimeofday=no
21000 rm -f core conftest.err conftest.$ac_objext \
21001 conftest$ac_exeext conftest.$ac_ext
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
21005 $as_echo "$ac_has_gettimeofday" >&6; }
21008 if test x"$ac_has_gettimeofday" = x"yes"; then
21010 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
21014 CXXFLAGS="$ac_save_CXXFLAGS"
21015 ac_ext=c
21016 ac_cpp='$CPP $CPPFLAGS'
21017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21023 # For clock_gettime, nanosleep and sched_yield support.
21026 # Check whether --enable-libstdcxx-time was given.
21027 if test "${enable_libstdcxx_time+set}" = set; then :
21028 enableval=$enable_libstdcxx_time;
21029 case "$enableval" in
21030 yes|no|rt) ;;
21031 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
21032 esac
21034 else
21035 enable_libstdcxx_time=auto
21041 ac_ext=cpp
21042 ac_cpp='$CXXCPP $CPPFLAGS'
21043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21047 ac_save_CXXFLAGS="$CXXFLAGS"
21048 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21049 ac_save_LIBS="$LIBS"
21051 ac_has_clock_monotonic=no
21052 ac_has_clock_realtime=no
21053 ac_has_nanosleep=no
21054 ac_has_sched_yield=no
21056 if test x"$enable_libstdcxx_time" = x"auto"; then
21058 case "${target_os}" in
21059 cygwin*)
21060 ac_has_nanosleep=yes
21062 mingw*)
21063 ac_has_win32_sleep=yes
21064 ac_has_sched_yield=yes
21066 darwin*)
21067 ac_has_nanosleep=yes
21068 ac_has_sched_yield=yes
21070 # VxWorks has nanosleep as soon as the kernel is configured with
21071 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
21072 vxworks*)
21073 ac_has_nanosleep=yes
21075 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
21076 # Don't use link test for freestanding library, in case gcc_no_link=yes
21077 if test x"$is_hosted" = xyes; then
21078 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
21079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21080 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21081 if ${ac_cv_search_clock_gettime+:} false; then :
21082 $as_echo_n "(cached) " >&6
21083 else
21084 ac_func_search_save_LIBS=$LIBS
21085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21086 /* end confdefs.h. */
21088 /* Override any GCC internal prototype to avoid an error.
21089 Use char because int might match the return type of a GCC
21090 builtin and then its argument prototype would still apply. */
21091 #ifdef __cplusplus
21092 extern "C"
21093 #endif
21094 char clock_gettime ();
21096 main ()
21098 return clock_gettime ();
21100 return 0;
21102 _ACEOF
21103 for ac_lib in '' rt; do
21104 if test -z "$ac_lib"; then
21105 ac_res="none required"
21106 else
21107 ac_res=-l$ac_lib
21108 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21110 if test x$gcc_no_link = xyes; then
21111 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21113 if ac_fn_cxx_try_link "$LINENO"; then :
21114 ac_cv_search_clock_gettime=$ac_res
21116 rm -f core conftest.err conftest.$ac_objext \
21117 conftest$ac_exeext
21118 if ${ac_cv_search_clock_gettime+:} false; then :
21119 break
21121 done
21122 if ${ac_cv_search_clock_gettime+:} false; then :
21124 else
21125 ac_cv_search_clock_gettime=no
21127 rm conftest.$ac_ext
21128 LIBS=$ac_func_search_save_LIBS
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21131 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21132 ac_res=$ac_cv_search_clock_gettime
21133 if test "$ac_res" != no; then :
21134 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21138 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
21139 ac_has_clock_monotonic=yes
21140 ac_has_clock_realtime=yes
21143 ac_has_nanosleep=yes
21144 ac_has_sched_yield=yes
21146 freebsd*|netbsd*|dragonfly*|rtems*)
21147 ac_has_clock_monotonic=yes
21148 ac_has_clock_realtime=yes
21149 ac_has_nanosleep=yes
21150 ac_has_sched_yield=yes
21152 openbsd*)
21153 ac_has_clock_monotonic=yes
21154 ac_has_clock_realtime=yes
21155 ac_has_nanosleep=yes
21157 solaris*)
21158 ac_has_clock_monotonic=yes
21159 ac_has_clock_realtime=yes
21160 ac_has_nanosleep=yes
21161 ac_has_sched_yield=yes
21163 uclinux*)
21164 ac_has_nanosleep=yes
21165 ac_has_sched_yield=yes
21166 esac
21168 elif test x"$enable_libstdcxx_time" != x"no"; then
21170 if test x"$enable_libstdcxx_time" = x"rt"; then
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21172 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21173 if ${ac_cv_search_clock_gettime+:} false; then :
21174 $as_echo_n "(cached) " >&6
21175 else
21176 ac_func_search_save_LIBS=$LIBS
21177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21178 /* end confdefs.h. */
21180 /* Override any GCC internal prototype to avoid an error.
21181 Use char because int might match the return type of a GCC
21182 builtin and then its argument prototype would still apply. */
21183 #ifdef __cplusplus
21184 extern "C"
21185 #endif
21186 char clock_gettime ();
21188 main ()
21190 return clock_gettime ();
21192 return 0;
21194 _ACEOF
21195 for ac_lib in '' rt; do
21196 if test -z "$ac_lib"; then
21197 ac_res="none required"
21198 else
21199 ac_res=-l$ac_lib
21200 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21202 if test x$gcc_no_link = xyes; then
21203 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21205 if ac_fn_cxx_try_link "$LINENO"; then :
21206 ac_cv_search_clock_gettime=$ac_res
21208 rm -f core conftest.err conftest.$ac_objext \
21209 conftest$ac_exeext
21210 if ${ac_cv_search_clock_gettime+:} false; then :
21211 break
21213 done
21214 if ${ac_cv_search_clock_gettime+:} false; then :
21216 else
21217 ac_cv_search_clock_gettime=no
21219 rm conftest.$ac_ext
21220 LIBS=$ac_func_search_save_LIBS
21222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21223 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21224 ac_res=$ac_cv_search_clock_gettime
21225 if test "$ac_res" != no; then :
21226 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21231 $as_echo_n "checking for library containing nanosleep... " >&6; }
21232 if ${ac_cv_search_nanosleep+:} false; then :
21233 $as_echo_n "(cached) " >&6
21234 else
21235 ac_func_search_save_LIBS=$LIBS
21236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21237 /* end confdefs.h. */
21239 /* Override any GCC internal prototype to avoid an error.
21240 Use char because int might match the return type of a GCC
21241 builtin and then its argument prototype would still apply. */
21242 #ifdef __cplusplus
21243 extern "C"
21244 #endif
21245 char nanosleep ();
21247 main ()
21249 return nanosleep ();
21251 return 0;
21253 _ACEOF
21254 for ac_lib in '' rt; do
21255 if test -z "$ac_lib"; then
21256 ac_res="none required"
21257 else
21258 ac_res=-l$ac_lib
21259 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21261 if test x$gcc_no_link = xyes; then
21262 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21264 if ac_fn_cxx_try_link "$LINENO"; then :
21265 ac_cv_search_nanosleep=$ac_res
21267 rm -f core conftest.err conftest.$ac_objext \
21268 conftest$ac_exeext
21269 if ${ac_cv_search_nanosleep+:} false; then :
21270 break
21272 done
21273 if ${ac_cv_search_nanosleep+:} false; then :
21275 else
21276 ac_cv_search_nanosleep=no
21278 rm conftest.$ac_ext
21279 LIBS=$ac_func_search_save_LIBS
21281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21282 $as_echo "$ac_cv_search_nanosleep" >&6; }
21283 ac_res=$ac_cv_search_nanosleep
21284 if test "$ac_res" != no; then :
21285 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21289 else
21290 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
21291 if test "x$ac_cv_func_clock_gettime" = xyes; then :
21295 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
21296 if test "x$ac_cv_func_nanosleep" = xyes; then :
21302 case "$ac_cv_search_clock_gettime" in
21303 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21305 esac
21306 case "$ac_cv_search_nanosleep" in
21307 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21309 esac
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21312 $as_echo_n "checking for library containing sched_yield... " >&6; }
21313 if ${ac_cv_search_sched_yield+:} false; then :
21314 $as_echo_n "(cached) " >&6
21315 else
21316 ac_func_search_save_LIBS=$LIBS
21317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21318 /* end confdefs.h. */
21320 /* Override any GCC internal prototype to avoid an error.
21321 Use char because int might match the return type of a GCC
21322 builtin and then its argument prototype would still apply. */
21323 #ifdef __cplusplus
21324 extern "C"
21325 #endif
21326 char sched_yield ();
21328 main ()
21330 return sched_yield ();
21332 return 0;
21334 _ACEOF
21335 for ac_lib in '' rt; do
21336 if test -z "$ac_lib"; then
21337 ac_res="none required"
21338 else
21339 ac_res=-l$ac_lib
21340 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21342 if test x$gcc_no_link = xyes; then
21343 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21345 if ac_fn_cxx_try_link "$LINENO"; then :
21346 ac_cv_search_sched_yield=$ac_res
21348 rm -f core conftest.err conftest.$ac_objext \
21349 conftest$ac_exeext
21350 if ${ac_cv_search_sched_yield+:} false; then :
21351 break
21353 done
21354 if ${ac_cv_search_sched_yield+:} false; then :
21356 else
21357 ac_cv_search_sched_yield=no
21359 rm conftest.$ac_ext
21360 LIBS=$ac_func_search_save_LIBS
21362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21363 $as_echo "$ac_cv_search_sched_yield" >&6; }
21364 ac_res=$ac_cv_search_sched_yield
21365 if test "$ac_res" != no; then :
21366 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21371 case "$ac_cv_search_sched_yield" in
21372 -lrt*)
21373 if test x"$enable_libstdcxx_time" = x"rt"; then
21374 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21375 ac_has_sched_yield=yes
21379 ac_has_sched_yield=yes
21381 esac
21383 for ac_header in unistd.h
21384 do :
21385 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21386 if test "x$ac_cv_header_unistd_h" = xyes; then :
21387 cat >>confdefs.h <<_ACEOF
21388 #define HAVE_UNISTD_H 1
21389 _ACEOF
21390 ac_has_unistd_h=yes
21391 else
21392 ac_has_unistd_h=no
21395 done
21398 if test x"$ac_has_unistd_h" = x"yes"; then
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21400 $as_echo_n "checking for monotonic clock... " >&6; }
21401 if test x$gcc_no_link = xyes; then
21402 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21405 /* end confdefs.h. */
21406 #include <unistd.h>
21407 #include <time.h>
21410 main ()
21412 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21413 timespec tp;
21414 #endif
21415 clock_gettime(CLOCK_MONOTONIC, &tp);
21418 return 0;
21420 _ACEOF
21421 if ac_fn_cxx_try_link "$LINENO"; then :
21422 ac_has_clock_monotonic=yes
21423 else
21424 ac_has_clock_monotonic=no
21426 rm -f core conftest.err conftest.$ac_objext \
21427 conftest$ac_exeext conftest.$ac_ext
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21430 $as_echo "$ac_has_clock_monotonic" >&6; }
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21433 $as_echo_n "checking for realtime clock... " >&6; }
21434 if test x$gcc_no_link = xyes; then
21435 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21438 /* end confdefs.h. */
21439 #include <unistd.h>
21440 #include <time.h>
21443 main ()
21445 #if _POSIX_TIMERS > 0
21446 timespec tp;
21447 #endif
21448 clock_gettime(CLOCK_REALTIME, &tp);
21451 return 0;
21453 _ACEOF
21454 if ac_fn_cxx_try_link "$LINENO"; then :
21455 ac_has_clock_realtime=yes
21456 else
21457 ac_has_clock_realtime=no
21459 rm -f core conftest.err conftest.$ac_objext \
21460 conftest$ac_exeext conftest.$ac_ext
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21463 $as_echo "$ac_has_clock_realtime" >&6; }
21465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21466 $as_echo_n "checking for nanosleep... " >&6; }
21467 if test x$gcc_no_link = xyes; then
21468 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21471 /* end confdefs.h. */
21472 #include <unistd.h>
21473 #include <time.h>
21476 main ()
21478 #if _POSIX_TIMERS > 0
21479 timespec tp;
21480 #endif
21481 nanosleep(&tp, 0);
21484 return 0;
21486 _ACEOF
21487 if ac_fn_cxx_try_link "$LINENO"; then :
21488 ac_has_nanosleep=yes
21489 else
21490 ac_has_nanosleep=no
21492 rm -f core conftest.err conftest.$ac_objext \
21493 conftest$ac_exeext conftest.$ac_ext
21495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21496 $as_echo "$ac_has_nanosleep" >&6; }
21500 if test x"$ac_has_clock_monotonic" != x"yes"; then
21501 case ${target_os} in
21502 linux* | uclinux*)
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21504 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21506 /* end confdefs.h. */
21507 #include <unistd.h>
21508 #include <time.h>
21509 #include <sys/syscall.h>
21512 main ()
21514 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21515 timespec tp;
21516 #endif
21517 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21518 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21521 return 0;
21523 _ACEOF
21524 if ac_fn_cxx_try_compile "$LINENO"; then :
21525 ac_has_clock_gettime_syscall=yes
21526 else
21527 ac_has_clock_gettime_syscall=no
21529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
21531 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
21532 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
21534 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21536 ac_has_clock_monotonic=yes
21537 ac_has_clock_realtime=yes
21538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
21539 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
21540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21541 /* end confdefs.h. */
21542 #include <time.h>
21543 #include <sys/syscall.h>
21546 main ()
21548 #ifdef SYS_clock_gettime64
21549 #if SYS_clock_gettime64 != SYS_clock_gettime
21550 // We need to use SYS_clock_gettime and libc appears to
21551 // also know about the SYS_clock_gettime64 syscall.
21552 // Check that userspace doesn't use time64 version of timespec.
21553 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
21554 "struct timespec must be compatible with SYS_clock_gettime");
21555 #endif
21556 #endif
21559 return 0;
21561 _ACEOF
21562 if ac_fn_cxx_try_compile "$LINENO"; then :
21563 ac_timespec_matches_syscall=yes
21564 else
21565 ac_timespec_matches_syscall=no
21567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
21569 $as_echo "$ac_timespec_matches_syscall" >&6; }
21570 if test x"$ac_timespec_matches_syscall" = no; then
21571 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
21573 fi;;
21574 esac
21577 if test x"$ac_has_clock_monotonic" = x"yes"; then
21579 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21583 if test x"$ac_has_clock_realtime" = x"yes"; then
21585 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21589 if test x"$ac_has_sched_yield" = x"yes"; then
21591 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21595 if test x"$ac_has_nanosleep" = x"yes"; then
21597 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21599 elif test x"$ac_has_win32_sleep" = x"yes"; then
21601 $as_echo "#define _GLIBCXX_USE_WIN32_SLEEP 1" >>confdefs.h
21603 else
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21605 $as_echo_n "checking for sleep... " >&6; }
21606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21607 /* end confdefs.h. */
21608 #include <unistd.h>
21610 main ()
21612 sleep(1)
21614 return 0;
21616 _ACEOF
21617 if ac_fn_cxx_try_compile "$LINENO"; then :
21618 ac_has_sleep=yes
21619 else
21620 ac_has_sleep=no
21622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21623 if test x"$ac_has_sleep" = x"yes"; then
21625 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21629 $as_echo "$ac_has_sleep" >&6; }
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21631 $as_echo_n "checking for usleep... " >&6; }
21632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21633 /* end confdefs.h. */
21634 #include <unistd.h>
21636 main ()
21638 sleep(1);
21639 usleep(100);
21641 return 0;
21643 _ACEOF
21644 if ac_fn_cxx_try_compile "$LINENO"; then :
21645 ac_has_usleep=yes
21646 else
21647 ac_has_usleep=no
21649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21650 if test x"$ac_has_usleep" = x"yes"; then
21652 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21656 $as_echo "$ac_has_usleep" >&6; }
21659 if test x"$ac_has_nanosleep$ac_has_win32_sleep$ac_has_sleep" = x"nonono"; then
21661 $as_echo "#define _GLIBCXX_NO_SLEEP 1" >>confdefs.h
21667 CXXFLAGS="$ac_save_CXXFLAGS"
21668 LIBS="$ac_save_LIBS"
21669 ac_ext=c
21670 ac_cpp='$CPP $CPPFLAGS'
21671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21677 # Check for tmpnam which is obsolescent in POSIX.1-2008
21679 ac_ext=cpp
21680 ac_cpp='$CXXCPP $CPPFLAGS'
21681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21685 ac_save_CXXFLAGS="$CXXFLAGS"
21686 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21688 $as_echo_n "checking for tmpnam... " >&6; }
21689 if ${glibcxx_cv_TMPNAM+:} false; then :
21690 $as_echo_n "(cached) " >&6
21691 else
21692 if test x$gcc_no_link = xyes; then
21693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21694 /* end confdefs.h. */
21695 #include <stdio.h>
21697 main ()
21699 char *tmp = tmpnam(NULL);
21701 return 0;
21703 _ACEOF
21704 if ac_fn_cxx_try_compile "$LINENO"; then :
21705 glibcxx_cv_TMPNAM=yes
21706 else
21707 glibcxx_cv_TMPNAM=no
21709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21710 else
21711 if test x$gcc_no_link = xyes; then
21712 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21715 /* end confdefs.h. */
21716 #include <stdio.h>
21718 main ()
21720 char *tmp = tmpnam(NULL);
21722 return 0;
21724 _ACEOF
21725 if ac_fn_cxx_try_link "$LINENO"; then :
21726 glibcxx_cv_TMPNAM=yes
21727 else
21728 glibcxx_cv_TMPNAM=no
21730 rm -f core conftest.err conftest.$ac_objext \
21731 conftest$ac_exeext conftest.$ac_ext
21735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21736 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21737 if test $glibcxx_cv_TMPNAM = yes; then
21739 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21742 CXXFLAGS="$ac_save_CXXFLAGS"
21743 ac_ext=c
21744 ac_cpp='$CPP $CPPFLAGS'
21745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21751 # For pthread_cond_clockwait
21755 ac_ext=cpp
21756 ac_cpp='$CXXCPP $CPPFLAGS'
21757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21761 ac_save_CXXFLAGS="$CXXFLAGS"
21762 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21763 ac_save_LIBS="$LIBS"
21764 LIBS="$LIBS -lpthread"
21766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21767 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21768 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21769 $as_echo_n "(cached) " >&6
21770 else
21772 if test x$gcc_no_link = xyes; then
21773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21774 /* end confdefs.h. */
21775 #include <pthread.h>
21777 main ()
21779 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21781 return 0;
21783 _ACEOF
21784 if ac_fn_cxx_try_compile "$LINENO"; then :
21785 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21786 else
21787 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21790 else
21791 if test x$gcc_no_link = xyes; then
21792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21795 /* end confdefs.h. */
21796 #include <pthread.h>
21798 main ()
21800 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21802 return 0;
21804 _ACEOF
21805 if ac_fn_cxx_try_link "$LINENO"; then :
21806 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21807 else
21808 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21810 rm -f core conftest.err conftest.$ac_objext \
21811 conftest$ac_exeext conftest.$ac_ext
21815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21816 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21817 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21819 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21823 CXXFLAGS="$ac_save_CXXFLAGS"
21824 LIBS="$ac_save_LIBS"
21825 ac_ext=c
21826 ac_cpp='$CPP $CPPFLAGS'
21827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21833 # For pthread_mutex_clocklock
21837 ac_ext=cpp
21838 ac_cpp='$CXXCPP $CPPFLAGS'
21839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21843 ac_save_CXXFLAGS="$CXXFLAGS"
21844 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21845 ac_save_LIBS="$LIBS"
21846 LIBS="$LIBS -lpthread"
21848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21849 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21850 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21851 $as_echo_n "(cached) " >&6
21852 else
21854 if test x$gcc_no_link = xyes; then
21855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21857 #include <pthread.h>
21859 main ()
21861 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21863 return 0;
21865 _ACEOF
21866 if ac_fn_cxx_try_compile "$LINENO"; then :
21867 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21868 else
21869 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21872 else
21873 if test x$gcc_no_link = xyes; then
21874 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21877 /* end confdefs.h. */
21878 #include <pthread.h>
21880 main ()
21882 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21884 return 0;
21886 _ACEOF
21887 if ac_fn_cxx_try_link "$LINENO"; then :
21888 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21889 else
21890 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21892 rm -f core conftest.err conftest.$ac_objext \
21893 conftest$ac_exeext conftest.$ac_ext
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21898 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21899 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21901 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK (_GLIBCXX_TSAN==0)" >>confdefs.h
21905 CXXFLAGS="$ac_save_CXXFLAGS"
21906 LIBS="$ac_save_LIBS"
21907 ac_ext=c
21908 ac_cpp='$CPP $CPPFLAGS'
21909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21915 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21919 ac_ext=cpp
21920 ac_cpp='$CXXCPP $CPPFLAGS'
21921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21925 ac_save_CXXFLAGS="$CXXFLAGS"
21926 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21927 ac_save_LIBS="$LIBS"
21928 LIBS="$LIBS -lpthread"
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21931 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21932 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21933 $as_echo_n "(cached) " >&6
21934 else
21936 if test x$gcc_no_link = xyes; then
21937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21938 /* end confdefs.h. */
21939 #include <pthread.h>
21941 main ()
21943 pthread_rwlock_t rwl; struct timespec ts;
21944 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21945 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21947 return 0;
21949 _ACEOF
21950 if ac_fn_cxx_try_compile "$LINENO"; then :
21951 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21952 else
21953 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21956 else
21957 if test x$gcc_no_link = xyes; then
21958 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21961 /* end confdefs.h. */
21962 #include <pthread.h>
21964 main ()
21966 pthread_rwlock_t rwl; struct timespec ts;
21967 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21968 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21970 return 0;
21972 _ACEOF
21973 if ac_fn_cxx_try_link "$LINENO"; then :
21974 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21975 else
21976 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21978 rm -f core conftest.err conftest.$ac_objext \
21979 conftest$ac_exeext conftest.$ac_ext
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21984 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21985 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21987 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21991 CXXFLAGS="$ac_save_CXXFLAGS"
21992 LIBS="$ac_save_LIBS"
21993 ac_ext=c
21994 ac_cpp='$CPP $CPPFLAGS'
21995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22002 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
22003 if test "x$ac_cv_header_locale_h" = xyes; then :
22005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
22006 $as_echo_n "checking for LC_MESSAGES... " >&6; }
22007 if ${ac_cv_val_LC_MESSAGES+:} false; then :
22008 $as_echo_n "(cached) " >&6
22009 else
22010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h. */
22012 #include <locale.h>
22014 main ()
22016 return LC_MESSAGES
22018 return 0;
22020 _ACEOF
22021 if ac_fn_c_try_compile "$LINENO"; then :
22022 ac_cv_val_LC_MESSAGES=yes
22023 else
22024 ac_cv_val_LC_MESSAGES=no
22026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
22029 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
22030 if test $ac_cv_val_LC_MESSAGES = yes; then
22032 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
22041 # For hardware_concurrency
22042 for ac_header in sys/sysinfo.h
22043 do :
22044 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
22045 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
22046 cat >>confdefs.h <<_ACEOF
22047 #define HAVE_SYS_SYSINFO_H 1
22048 _ACEOF
22052 done
22057 ac_ext=cpp
22058 ac_cpp='$CXXCPP $CPPFLAGS'
22059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22063 ac_save_CXXFLAGS="$CXXFLAGS"
22064 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
22067 $as_echo_n "checking for get_nprocs... " >&6; }
22068 if ${glibcxx_cv_GET_NPROCS+:} false; then :
22069 $as_echo_n "(cached) " >&6
22070 else
22072 if test x$gcc_no_link = xyes; then
22073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22074 /* end confdefs.h. */
22075 #include <sys/sysinfo.h>
22077 main ()
22079 int n = get_nprocs();
22081 return 0;
22083 _ACEOF
22084 if ac_fn_cxx_try_compile "$LINENO"; then :
22085 glibcxx_cv_GET_NPROCS=yes
22086 else
22087 glibcxx_cv_GET_NPROCS=no
22089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22090 else
22091 if test x$gcc_no_link = xyes; then
22092 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22095 /* end confdefs.h. */
22096 #include <sys/sysinfo.h>
22098 main ()
22100 int n = get_nprocs();
22102 return 0;
22104 _ACEOF
22105 if ac_fn_cxx_try_link "$LINENO"; then :
22106 glibcxx_cv_GET_NPROCS=yes
22107 else
22108 glibcxx_cv_GET_NPROCS=no
22110 rm -f core conftest.err conftest.$ac_objext \
22111 conftest$ac_exeext conftest.$ac_ext
22115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
22116 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
22117 if test $glibcxx_cv_GET_NPROCS = yes; then
22119 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
22123 CXXFLAGS="$ac_save_CXXFLAGS"
22124 ac_ext=c
22125 ac_cpp='$CPP $CPPFLAGS'
22126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22131 for ac_header in unistd.h
22132 do :
22133 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
22134 if test "x$ac_cv_header_unistd_h" = xyes; then :
22135 cat >>confdefs.h <<_ACEOF
22136 #define HAVE_UNISTD_H 1
22137 _ACEOF
22141 done
22146 ac_ext=cpp
22147 ac_cpp='$CXXCPP $CPPFLAGS'
22148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22152 ac_save_CXXFLAGS="$CXXFLAGS"
22153 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
22156 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
22157 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
22158 $as_echo_n "(cached) " >&6
22159 else
22161 if test x$gcc_no_link = xyes; then
22162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22163 /* end confdefs.h. */
22164 #include <unistd.h>
22166 main ()
22168 int n = sysconf(_SC_NPROCESSORS_ONLN);
22170 return 0;
22172 _ACEOF
22173 if ac_fn_cxx_try_compile "$LINENO"; then :
22174 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22175 else
22176 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22179 else
22180 if test x$gcc_no_link = xyes; then
22181 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22184 /* end confdefs.h. */
22185 #include <unistd.h>
22187 main ()
22189 int n = sysconf(_SC_NPROCESSORS_ONLN);
22191 return 0;
22193 _ACEOF
22194 if ac_fn_cxx_try_link "$LINENO"; then :
22195 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
22196 else
22197 glibcxx_cv_SC_NPROCESSORS_ONLN=no
22199 rm -f core conftest.err conftest.$ac_objext \
22200 conftest$ac_exeext conftest.$ac_ext
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
22205 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
22206 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
22208 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
22212 CXXFLAGS="$ac_save_CXXFLAGS"
22213 ac_ext=c
22214 ac_cpp='$CPP $CPPFLAGS'
22215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22223 ac_ext=cpp
22224 ac_cpp='$CXXCPP $CPPFLAGS'
22225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22229 ac_save_CXXFLAGS="$CXXFLAGS"
22230 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
22233 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
22234 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
22235 $as_echo_n "(cached) " >&6
22236 else
22238 if test x$gcc_no_link = xyes; then
22239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22240 /* end confdefs.h. */
22241 #include <unistd.h>
22243 main ()
22245 int n = sysconf(_SC_NPROC_ONLN);
22247 return 0;
22249 _ACEOF
22250 if ac_fn_cxx_try_compile "$LINENO"; then :
22251 glibcxx_cv_SC_NPROC_ONLN=yes
22252 else
22253 glibcxx_cv_SC_NPROC_ONLN=no
22255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22256 else
22257 if test x$gcc_no_link = xyes; then
22258 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22261 /* end confdefs.h. */
22262 #include <unistd.h>
22264 main ()
22266 int n = sysconf(_SC_NPROC_ONLN);
22268 return 0;
22270 _ACEOF
22271 if ac_fn_cxx_try_link "$LINENO"; then :
22272 glibcxx_cv_SC_NPROC_ONLN=yes
22273 else
22274 glibcxx_cv_SC_NPROC_ONLN=no
22276 rm -f core conftest.err conftest.$ac_objext \
22277 conftest$ac_exeext conftest.$ac_ext
22281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
22282 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
22283 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
22285 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
22289 CXXFLAGS="$ac_save_CXXFLAGS"
22290 ac_ext=c
22291 ac_cpp='$CPP $CPPFLAGS'
22292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22300 ac_ext=cpp
22301 ac_cpp='$CXXCPP $CPPFLAGS'
22302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22306 ac_save_CXXFLAGS="$CXXFLAGS"
22307 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
22310 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
22311 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
22312 $as_echo_n "(cached) " >&6
22313 else
22315 if test x$gcc_no_link = xyes; then
22316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22317 /* end confdefs.h. */
22318 #include <pthread.h>
22320 main ()
22322 int n = pthread_num_processors_np();
22324 return 0;
22326 _ACEOF
22327 if ac_fn_cxx_try_compile "$LINENO"; then :
22328 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22329 else
22330 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22333 else
22334 if test x$gcc_no_link = xyes; then
22335 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22338 /* end confdefs.h. */
22339 #include <pthread.h>
22341 main ()
22343 int n = pthread_num_processors_np();
22345 return 0;
22347 _ACEOF
22348 if ac_fn_cxx_try_link "$LINENO"; then :
22349 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
22350 else
22351 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
22353 rm -f core conftest.err conftest.$ac_objext \
22354 conftest$ac_exeext conftest.$ac_ext
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
22359 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
22360 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
22362 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
22366 CXXFLAGS="$ac_save_CXXFLAGS"
22367 ac_ext=c
22368 ac_cpp='$CPP $CPPFLAGS'
22369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22377 ac_ext=cpp
22378 ac_cpp='$CXXCPP $CPPFLAGS'
22379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22383 ac_save_CXXFLAGS="$CXXFLAGS"
22384 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
22387 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
22388 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
22389 $as_echo_n "(cached) " >&6
22390 else
22392 if test x$gcc_no_link = xyes; then
22393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22394 /* end confdefs.h. */
22396 #include <stddef.h>
22397 #include <sys/sysctl.h>
22400 main ()
22403 int count;
22404 size_t size = sizeof(count);
22405 int mib[] = { CTL_HW, HW_NCPU };
22406 sysctl(mib, 2, &count, &size, NULL, 0);
22409 return 0;
22411 _ACEOF
22412 if ac_fn_cxx_try_compile "$LINENO"; then :
22413 glibcxx_cv_SYSCTL_HW_NCPU=yes
22414 else
22415 glibcxx_cv_SYSCTL_HW_NCPU=no
22417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22418 else
22419 if test x$gcc_no_link = xyes; then
22420 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22423 /* end confdefs.h. */
22425 #include <stddef.h>
22426 #include <sys/sysctl.h>
22429 main ()
22432 int count;
22433 size_t size = sizeof(count);
22434 int mib[] = { CTL_HW, HW_NCPU };
22435 sysctl(mib, 2, &count, &size, NULL, 0);
22438 return 0;
22440 _ACEOF
22441 if ac_fn_cxx_try_link "$LINENO"; then :
22442 glibcxx_cv_SYSCTL_HW_NCPU=yes
22443 else
22444 glibcxx_cv_SYSCTL_HW_NCPU=no
22446 rm -f core conftest.err conftest.$ac_objext \
22447 conftest$ac_exeext conftest.$ac_ext
22451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22452 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22453 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22455 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22459 CXXFLAGS="$ac_save_CXXFLAGS"
22460 ac_ext=c
22461 ac_cpp='$CPP $CPPFLAGS'
22462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22468 # Note that this test has to be run with the C language.
22469 # Otherwise, sdt.h will try to include some headers from
22470 # libstdc++ itself.
22472 ac_ext=c
22473 ac_cpp='$CPP $CPPFLAGS'
22474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22479 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22480 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22481 $as_echo_n "(cached) " >&6
22482 else
22484 # Because we have to run the test in C, we use grep rather
22485 # than the compiler to check for the bug. The bug is that
22486 # were strings without trailing whitespace, causing g++
22487 # to look for operator"". The pattern searches for the fixed
22488 # output.
22489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22490 /* end confdefs.h. */
22492 #include <sys/sdt.h>
22493 int f() { STAP_PROBE(hi, bob); }
22495 _ACEOF
22496 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22497 $EGREP " \",\" " >/dev/null 2>&1; then :
22498 glibcxx_cv_sys_sdt_h=yes
22499 else
22500 glibcxx_cv_sys_sdt_h=no
22502 rm -f conftest*
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22507 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22508 ac_ext=c
22509 ac_cpp='$CPP $CPPFLAGS'
22510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22514 if test $glibcxx_cv_sys_sdt_h = yes; then
22516 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22521 # Check for available headers.
22522 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22523 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22524 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22525 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22526 wchar.h wctype.h linux/types.h
22527 do :
22528 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22529 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22530 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22531 cat >>confdefs.h <<_ACEOF
22532 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22533 _ACEOF
22537 done
22540 for ac_header in linux/random.h
22541 do :
22542 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22543 # include <linux/types.h>
22544 #endif
22547 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22548 cat >>confdefs.h <<_ACEOF
22549 #define HAVE_LINUX_RANDOM_H 1
22550 _ACEOF
22554 done
22557 for ac_header in xlocale.h
22558 do :
22559 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
22560 if test "x$ac_cv_header_xlocale_h" = xyes; then :
22561 cat >>confdefs.h <<_ACEOF
22562 #define HAVE_XLOCALE_H 1
22563 _ACEOF
22567 done
22570 # Only do link tests if native. Else, hardcode.
22571 if $GLIBCXX_IS_NATIVE; then
22573 # We can do more elaborate tests that assume a working linker.
22574 CANADIAN=no
22578 # Check whether --with-gnu-ld was given.
22579 if test "${with_gnu_ld+set}" = set; then :
22580 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22581 else
22582 with_gnu_ld=no
22585 ac_prog=ld
22586 if test "$GCC" = yes; then
22587 # Check if gcc -print-prog-name=ld gives a path.
22588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22589 $as_echo_n "checking for ld used by $CC... " >&6; }
22590 case $host in
22591 *-*-mingw*)
22592 # gcc leaves a trailing carriage return which upsets mingw
22593 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22595 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22596 esac
22597 case $ac_prog in
22598 # Accept absolute paths.
22599 [\\/]* | ?:[\\/]*)
22600 re_direlt='/[^/][^/]*/\.\./'
22601 # Canonicalize the pathname of ld
22602 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22603 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22604 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22605 done
22606 test -z "$LD" && LD="$ac_prog"
22609 # If it fails, then pretend we aren't using GCC.
22610 ac_prog=ld
22613 # If it is relative, then search for the first ld in PATH.
22614 with_gnu_ld=unknown
22616 esac
22617 elif test "$with_gnu_ld" = yes; then
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22619 $as_echo_n "checking for GNU ld... " >&6; }
22620 else
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22622 $as_echo_n "checking for non-GNU ld... " >&6; }
22624 if ${lt_cv_path_LD+:} false; then :
22625 $as_echo_n "(cached) " >&6
22626 else
22627 if test -z "$LD"; then
22628 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22629 for ac_dir in $PATH; do
22630 IFS="$lt_save_ifs"
22631 test -z "$ac_dir" && ac_dir=.
22632 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22633 lt_cv_path_LD="$ac_dir/$ac_prog"
22634 # Check to see if the program is GNU ld. I'd rather use --version,
22635 # but apparently some variants of GNU ld only accept -v.
22636 # Break only if it was the GNU/non-GNU ld that we prefer.
22637 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22638 *GNU* | *'with BFD'*)
22639 test "$with_gnu_ld" != no && break
22642 test "$with_gnu_ld" != yes && break
22644 esac
22646 done
22647 IFS="$lt_save_ifs"
22648 else
22649 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22653 LD="$lt_cv_path_LD"
22654 if test -n "$LD"; then
22655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22656 $as_echo "$LD" >&6; }
22657 else
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22659 $as_echo "no" >&6; }
22661 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22663 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22664 if ${lt_cv_prog_gnu_ld+:} false; then :
22665 $as_echo_n "(cached) " >&6
22666 else
22667 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22668 case `$LD -v 2>&1 </dev/null` in
22669 *GNU* | *'with BFD'*)
22670 lt_cv_prog_gnu_ld=yes
22673 lt_cv_prog_gnu_ld=no
22675 esac
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22678 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22679 with_gnu_ld=$lt_cv_prog_gnu_ld
22687 # If we're not using GNU ld, then there's no point in even trying these
22688 # tests. Check for that first. We should have already tested for gld
22689 # by now (in libtool), but require it now just to be safe...
22690 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22691 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22695 # The name set by libtool depends on the version of libtool. Shame on us
22696 # for depending on an impl detail, but c'est la vie. Older versions used
22697 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22698 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22699 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22700 # set (hence we're using an older libtool), then set it.
22701 if test x${with_gnu_ld+set} != xset; then
22702 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22703 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22704 with_gnu_ld=no
22705 else
22706 with_gnu_ld=$ac_cv_prog_gnu_ld
22710 # Start by getting the version number. I think the libtool test already
22711 # does some of this, but throws away the result.
22712 glibcxx_ld_is_gold=no
22713 glibcxx_ld_is_mold=no
22714 if test x"$with_gnu_ld" = x"yes"; then
22715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22716 $as_echo_n "checking for ld version... " >&6; }
22718 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22719 glibcxx_ld_is_gold=yes
22720 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
22721 glibcxx_ld_is_mold=yes
22723 ldver=`$LD --version 2>/dev/null |
22724 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22726 glibcxx_gnu_ld_version=`echo $ldver | \
22727 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22729 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22732 # Set --gc-sections.
22733 glibcxx_have_gc_sections=no
22734 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
22735 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22736 glibcxx_have_gc_sections=yes
22738 else
22739 glibcxx_gcsections_min_ld=21602
22740 if test x"$with_gnu_ld" = x"yes" &&
22741 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22742 glibcxx_have_gc_sections=yes
22745 if test "$glibcxx_have_gc_sections" = "yes"; then
22746 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22747 # NB: This flag only works reliably after 2.16.1. Configure tests
22748 # for this are difficult, so hard wire a value that should work.
22750 ac_test_CFLAGS="${CFLAGS+set}"
22751 ac_save_CFLAGS="$CFLAGS"
22752 CFLAGS='-Wl,--gc-sections'
22754 # Check for -Wl,--gc-sections
22755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22756 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22757 if test x$gcc_no_link = xyes; then
22758 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22761 /* end confdefs.h. */
22762 int one(void) { return 1; }
22763 int two(void) { return 2; }
22766 main ()
22768 two();
22770 return 0;
22772 _ACEOF
22773 if ac_fn_c_try_link "$LINENO"; then :
22774 ac_gcsections=yes
22775 else
22776 ac_gcsections=no
22778 rm -f core conftest.err conftest.$ac_objext \
22779 conftest$ac_exeext conftest.$ac_ext
22780 if test "$ac_gcsections" = "yes"; then
22781 rm -f conftest.c
22782 touch conftest.c
22783 if $CC -c conftest.c; then
22784 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22785 grep "Warning: gc-sections option ignored" > /dev/null; then
22786 ac_gcsections=no
22789 rm -f conftest.c conftest.o conftest
22791 if test "$ac_gcsections" = "yes"; then
22792 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22795 $as_echo "$ac_gcsections" >&6; }
22797 if test "$ac_test_CFLAGS" = set; then
22798 CFLAGS="$ac_save_CFLAGS"
22799 else
22800 # this is the suspicious part
22801 CFLAGS=''
22805 # Set -z,relro.
22806 # Note this is only for shared objects.
22807 ac_ld_relro=no
22808 if test x"$with_gnu_ld" = x"yes"; then
22809 # cygwin and mingw uses PE, which has no ELF relro support,
22810 # multi target ld may confuse configure machinery
22811 case "$host" in
22812 *-*-cygwin*)
22814 *-*-mingw*)
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22818 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22819 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22820 if test -n "$cxx_z_relo"; then
22821 OPT_LDFLAGS="-Wl,-z,relro"
22822 ac_ld_relro=yes
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22825 $as_echo "$ac_ld_relro" >&6; }
22826 esac
22829 # Set linker optimization flags.
22830 if test x"$with_gnu_ld" = x"yes"; then
22831 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22838 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22839 ac_save_CXXFLAGS="$CXXFLAGS"
22840 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22843 $as_echo_n "checking for sin in -lm... " >&6; }
22844 if ${ac_cv_lib_m_sin+:} false; then :
22845 $as_echo_n "(cached) " >&6
22846 else
22847 ac_check_lib_save_LIBS=$LIBS
22848 LIBS="-lm $LIBS"
22849 if test x$gcc_no_link = xyes; then
22850 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22853 /* end confdefs.h. */
22855 /* Override any GCC internal prototype to avoid an error.
22856 Use char because int might match the return type of a GCC
22857 builtin and then its argument prototype would still apply. */
22858 #ifdef __cplusplus
22859 extern "C"
22860 #endif
22861 char sin ();
22863 main ()
22865 return sin ();
22867 return 0;
22869 _ACEOF
22870 if ac_fn_c_try_link "$LINENO"; then :
22871 ac_cv_lib_m_sin=yes
22872 else
22873 ac_cv_lib_m_sin=no
22875 rm -f core conftest.err conftest.$ac_objext \
22876 conftest$ac_exeext conftest.$ac_ext
22877 LIBS=$ac_check_lib_save_LIBS
22879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22880 $as_echo "$ac_cv_lib_m_sin" >&6; }
22881 if test "x$ac_cv_lib_m_sin" = xyes; then :
22882 libm="-lm"
22885 ac_save_LIBS="$LIBS"
22886 LIBS="$LIBS $libm"
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22891 $as_echo_n "checking for isinf declaration... " >&6; }
22892 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22893 if ${glibcxx_cv_func_isinf_use+:} false; then :
22894 $as_echo_n "(cached) " >&6
22895 else
22898 ac_ext=cpp
22899 ac_cpp='$CXXCPP $CPPFLAGS'
22900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22905 /* end confdefs.h. */
22906 #include <math.h>
22907 #ifdef HAVE_IEEEFP_H
22908 #include <ieeefp.h>
22909 #endif
22912 main ()
22914 isinf(0);
22916 return 0;
22918 _ACEOF
22919 if ac_fn_cxx_try_compile "$LINENO"; then :
22920 glibcxx_cv_func_isinf_use=yes
22921 else
22922 glibcxx_cv_func_isinf_use=no
22924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22925 ac_ext=c
22926 ac_cpp='$CPP $CPPFLAGS'
22927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22936 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22938 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22939 for ac_func in isinf
22940 do :
22941 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22942 if test "x$ac_cv_func_isinf" = xyes; then :
22943 cat >>confdefs.h <<_ACEOF
22944 #define HAVE_ISINF 1
22945 _ACEOF
22948 done
22950 else
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22953 $as_echo_n "checking for _isinf declaration... " >&6; }
22954 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22955 if ${glibcxx_cv_func__isinf_use+:} false; then :
22956 $as_echo_n "(cached) " >&6
22957 else
22960 ac_ext=cpp
22961 ac_cpp='$CXXCPP $CPPFLAGS'
22962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22967 /* end confdefs.h. */
22968 #include <math.h>
22969 #ifdef HAVE_IEEEFP_H
22970 #include <ieeefp.h>
22971 #endif
22974 main ()
22976 _isinf(0);
22978 return 0;
22980 _ACEOF
22981 if ac_fn_cxx_try_compile "$LINENO"; then :
22982 glibcxx_cv_func__isinf_use=yes
22983 else
22984 glibcxx_cv_func__isinf_use=no
22986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22987 ac_ext=c
22988 ac_cpp='$CPP $CPPFLAGS'
22989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22998 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
23000 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
23001 for ac_func in _isinf
23002 do :
23003 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
23004 if test "x$ac_cv_func__isinf" = xyes; then :
23005 cat >>confdefs.h <<_ACEOF
23006 #define HAVE__ISINF 1
23007 _ACEOF
23010 done
23019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
23020 $as_echo_n "checking for isnan declaration... " >&6; }
23021 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
23022 if ${glibcxx_cv_func_isnan_use+:} false; then :
23023 $as_echo_n "(cached) " >&6
23024 else
23027 ac_ext=cpp
23028 ac_cpp='$CXXCPP $CPPFLAGS'
23029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23034 /* end confdefs.h. */
23035 #include <math.h>
23036 #ifdef HAVE_IEEEFP_H
23037 #include <ieeefp.h>
23038 #endif
23041 main ()
23043 isnan(0);
23045 return 0;
23047 _ACEOF
23048 if ac_fn_cxx_try_compile "$LINENO"; then :
23049 glibcxx_cv_func_isnan_use=yes
23050 else
23051 glibcxx_cv_func_isnan_use=no
23053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23054 ac_ext=c
23055 ac_cpp='$CPP $CPPFLAGS'
23056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
23065 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
23067 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
23068 for ac_func in isnan
23069 do :
23070 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
23071 if test "x$ac_cv_func_isnan" = xyes; then :
23072 cat >>confdefs.h <<_ACEOF
23073 #define HAVE_ISNAN 1
23074 _ACEOF
23077 done
23079 else
23081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
23082 $as_echo_n "checking for _isnan declaration... " >&6; }
23083 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
23084 if ${glibcxx_cv_func__isnan_use+:} false; then :
23085 $as_echo_n "(cached) " >&6
23086 else
23089 ac_ext=cpp
23090 ac_cpp='$CXXCPP $CPPFLAGS'
23091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23096 /* end confdefs.h. */
23097 #include <math.h>
23098 #ifdef HAVE_IEEEFP_H
23099 #include <ieeefp.h>
23100 #endif
23103 main ()
23105 _isnan(0);
23107 return 0;
23109 _ACEOF
23110 if ac_fn_cxx_try_compile "$LINENO"; then :
23111 glibcxx_cv_func__isnan_use=yes
23112 else
23113 glibcxx_cv_func__isnan_use=no
23115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23116 ac_ext=c
23117 ac_cpp='$CPP $CPPFLAGS'
23118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
23127 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
23129 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
23130 for ac_func in _isnan
23131 do :
23132 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
23133 if test "x$ac_cv_func__isnan" = xyes; then :
23134 cat >>confdefs.h <<_ACEOF
23135 #define HAVE__ISNAN 1
23136 _ACEOF
23139 done
23148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
23149 $as_echo_n "checking for finite declaration... " >&6; }
23150 if test x${glibcxx_cv_func_finite_use+set} != xset; then
23151 if ${glibcxx_cv_func_finite_use+:} false; then :
23152 $as_echo_n "(cached) " >&6
23153 else
23156 ac_ext=cpp
23157 ac_cpp='$CXXCPP $CPPFLAGS'
23158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23163 /* end confdefs.h. */
23164 #include <math.h>
23165 #ifdef HAVE_IEEEFP_H
23166 #include <ieeefp.h>
23167 #endif
23170 main ()
23172 finite(0);
23174 return 0;
23176 _ACEOF
23177 if ac_fn_cxx_try_compile "$LINENO"; then :
23178 glibcxx_cv_func_finite_use=yes
23179 else
23180 glibcxx_cv_func_finite_use=no
23182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23183 ac_ext=c
23184 ac_cpp='$CPP $CPPFLAGS'
23185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
23194 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
23196 if test x$glibcxx_cv_func_finite_use = x"yes"; then
23197 for ac_func in finite
23198 do :
23199 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
23200 if test "x$ac_cv_func_finite" = xyes; then :
23201 cat >>confdefs.h <<_ACEOF
23202 #define HAVE_FINITE 1
23203 _ACEOF
23206 done
23208 else
23210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
23211 $as_echo_n "checking for _finite declaration... " >&6; }
23212 if test x${glibcxx_cv_func__finite_use+set} != xset; then
23213 if ${glibcxx_cv_func__finite_use+:} false; then :
23214 $as_echo_n "(cached) " >&6
23215 else
23218 ac_ext=cpp
23219 ac_cpp='$CXXCPP $CPPFLAGS'
23220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23225 /* end confdefs.h. */
23226 #include <math.h>
23227 #ifdef HAVE_IEEEFP_H
23228 #include <ieeefp.h>
23229 #endif
23232 main ()
23234 _finite(0);
23236 return 0;
23238 _ACEOF
23239 if ac_fn_cxx_try_compile "$LINENO"; then :
23240 glibcxx_cv_func__finite_use=yes
23241 else
23242 glibcxx_cv_func__finite_use=no
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245 ac_ext=c
23246 ac_cpp='$CPP $CPPFLAGS'
23247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
23256 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
23258 if test x$glibcxx_cv_func__finite_use = x"yes"; then
23259 for ac_func in _finite
23260 do :
23261 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
23262 if test "x$ac_cv_func__finite" = xyes; then :
23263 cat >>confdefs.h <<_ACEOF
23264 #define HAVE__FINITE 1
23265 _ACEOF
23268 done
23277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
23278 $as_echo_n "checking for sincos declaration... " >&6; }
23279 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
23280 if ${glibcxx_cv_func_sincos_use+:} false; then :
23281 $as_echo_n "(cached) " >&6
23282 else
23285 ac_ext=cpp
23286 ac_cpp='$CXXCPP $CPPFLAGS'
23287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23292 /* end confdefs.h. */
23293 #include <math.h>
23295 main ()
23297 sincos(0, 0, 0);
23299 return 0;
23301 _ACEOF
23302 if ac_fn_cxx_try_compile "$LINENO"; then :
23303 glibcxx_cv_func_sincos_use=yes
23304 else
23305 glibcxx_cv_func_sincos_use=no
23307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23308 ac_ext=c
23309 ac_cpp='$CPP $CPPFLAGS'
23310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
23319 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
23321 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
23322 for ac_func in sincos
23323 do :
23324 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
23325 if test "x$ac_cv_func_sincos" = xyes; then :
23326 cat >>confdefs.h <<_ACEOF
23327 #define HAVE_SINCOS 1
23328 _ACEOF
23331 done
23333 else
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
23336 $as_echo_n "checking for _sincos declaration... " >&6; }
23337 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
23338 if ${glibcxx_cv_func__sincos_use+:} false; then :
23339 $as_echo_n "(cached) " >&6
23340 else
23343 ac_ext=cpp
23344 ac_cpp='$CXXCPP $CPPFLAGS'
23345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23350 /* end confdefs.h. */
23351 #include <math.h>
23353 main ()
23355 _sincos(0, 0, 0);
23357 return 0;
23359 _ACEOF
23360 if ac_fn_cxx_try_compile "$LINENO"; then :
23361 glibcxx_cv_func__sincos_use=yes
23362 else
23363 glibcxx_cv_func__sincos_use=no
23365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23366 ac_ext=c
23367 ac_cpp='$CPP $CPPFLAGS'
23368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
23377 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
23379 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
23380 for ac_func in _sincos
23381 do :
23382 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
23383 if test "x$ac_cv_func__sincos" = xyes; then :
23384 cat >>confdefs.h <<_ACEOF
23385 #define HAVE__SINCOS 1
23386 _ACEOF
23389 done
23398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
23399 $as_echo_n "checking for fpclass declaration... " >&6; }
23400 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
23401 if ${glibcxx_cv_func_fpclass_use+:} false; then :
23402 $as_echo_n "(cached) " >&6
23403 else
23406 ac_ext=cpp
23407 ac_cpp='$CXXCPP $CPPFLAGS'
23408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23413 /* end confdefs.h. */
23414 #include <math.h>
23415 #ifdef HAVE_IEEEFP_H
23416 #include <ieeefp.h>
23417 #endif
23420 main ()
23422 fpclass(0);
23424 return 0;
23426 _ACEOF
23427 if ac_fn_cxx_try_compile "$LINENO"; then :
23428 glibcxx_cv_func_fpclass_use=yes
23429 else
23430 glibcxx_cv_func_fpclass_use=no
23432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23433 ac_ext=c
23434 ac_cpp='$CPP $CPPFLAGS'
23435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23444 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23446 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23447 for ac_func in fpclass
23448 do :
23449 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23450 if test "x$ac_cv_func_fpclass" = xyes; then :
23451 cat >>confdefs.h <<_ACEOF
23452 #define HAVE_FPCLASS 1
23453 _ACEOF
23456 done
23458 else
23460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23461 $as_echo_n "checking for _fpclass declaration... " >&6; }
23462 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23463 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23464 $as_echo_n "(cached) " >&6
23465 else
23468 ac_ext=cpp
23469 ac_cpp='$CXXCPP $CPPFLAGS'
23470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23475 /* end confdefs.h. */
23476 #include <math.h>
23477 #ifdef HAVE_IEEEFP_H
23478 #include <ieeefp.h>
23479 #endif
23482 main ()
23484 _fpclass(0);
23486 return 0;
23488 _ACEOF
23489 if ac_fn_cxx_try_compile "$LINENO"; then :
23490 glibcxx_cv_func__fpclass_use=yes
23491 else
23492 glibcxx_cv_func__fpclass_use=no
23494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23495 ac_ext=c
23496 ac_cpp='$CPP $CPPFLAGS'
23497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23506 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23508 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23509 for ac_func in _fpclass
23510 do :
23511 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23512 if test "x$ac_cv_func__fpclass" = xyes; then :
23513 cat >>confdefs.h <<_ACEOF
23514 #define HAVE__FPCLASS 1
23515 _ACEOF
23518 done
23527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23528 $as_echo_n "checking for qfpclass declaration... " >&6; }
23529 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23530 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23531 $as_echo_n "(cached) " >&6
23532 else
23535 ac_ext=cpp
23536 ac_cpp='$CXXCPP $CPPFLAGS'
23537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23542 /* end confdefs.h. */
23543 #include <math.h>
23544 #ifdef HAVE_IEEEFP_H
23545 #include <ieeefp.h>
23546 #endif
23549 main ()
23551 qfpclass(0);
23553 return 0;
23555 _ACEOF
23556 if ac_fn_cxx_try_compile "$LINENO"; then :
23557 glibcxx_cv_func_qfpclass_use=yes
23558 else
23559 glibcxx_cv_func_qfpclass_use=no
23561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23562 ac_ext=c
23563 ac_cpp='$CPP $CPPFLAGS'
23564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23573 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23575 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23576 for ac_func in qfpclass
23577 do :
23578 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23579 if test "x$ac_cv_func_qfpclass" = xyes; then :
23580 cat >>confdefs.h <<_ACEOF
23581 #define HAVE_QFPCLASS 1
23582 _ACEOF
23585 done
23587 else
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23590 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23591 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23592 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23593 $as_echo_n "(cached) " >&6
23594 else
23597 ac_ext=cpp
23598 ac_cpp='$CXXCPP $CPPFLAGS'
23599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23604 /* end confdefs.h. */
23605 #include <math.h>
23606 #ifdef HAVE_IEEEFP_H
23607 #include <ieeefp.h>
23608 #endif
23611 main ()
23613 _qfpclass(0);
23615 return 0;
23617 _ACEOF
23618 if ac_fn_cxx_try_compile "$LINENO"; then :
23619 glibcxx_cv_func__qfpclass_use=yes
23620 else
23621 glibcxx_cv_func__qfpclass_use=no
23623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23624 ac_ext=c
23625 ac_cpp='$CPP $CPPFLAGS'
23626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23635 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23637 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23638 for ac_func in _qfpclass
23639 do :
23640 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23641 if test "x$ac_cv_func__qfpclass" = xyes; then :
23642 cat >>confdefs.h <<_ACEOF
23643 #define HAVE__QFPCLASS 1
23644 _ACEOF
23647 done
23656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23657 $as_echo_n "checking for hypot declaration... " >&6; }
23658 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23659 if ${glibcxx_cv_func_hypot_use+:} false; then :
23660 $as_echo_n "(cached) " >&6
23661 else
23664 ac_ext=cpp
23665 ac_cpp='$CXXCPP $CPPFLAGS'
23666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23671 /* end confdefs.h. */
23672 #include <math.h>
23674 main ()
23676 hypot(0, 0);
23678 return 0;
23680 _ACEOF
23681 if ac_fn_cxx_try_compile "$LINENO"; then :
23682 glibcxx_cv_func_hypot_use=yes
23683 else
23684 glibcxx_cv_func_hypot_use=no
23686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23687 ac_ext=c
23688 ac_cpp='$CPP $CPPFLAGS'
23689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23698 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23700 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23701 for ac_func in hypot
23702 do :
23703 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23704 if test "x$ac_cv_func_hypot" = xyes; then :
23705 cat >>confdefs.h <<_ACEOF
23706 #define HAVE_HYPOT 1
23707 _ACEOF
23710 done
23712 else
23714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23715 $as_echo_n "checking for _hypot declaration... " >&6; }
23716 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23717 if ${glibcxx_cv_func__hypot_use+:} false; then :
23718 $as_echo_n "(cached) " >&6
23719 else
23722 ac_ext=cpp
23723 ac_cpp='$CXXCPP $CPPFLAGS'
23724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23729 /* end confdefs.h. */
23730 #include <math.h>
23732 main ()
23734 _hypot(0, 0);
23736 return 0;
23738 _ACEOF
23739 if ac_fn_cxx_try_compile "$LINENO"; then :
23740 glibcxx_cv_func__hypot_use=yes
23741 else
23742 glibcxx_cv_func__hypot_use=no
23744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23745 ac_ext=c
23746 ac_cpp='$CPP $CPPFLAGS'
23747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23756 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23758 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23759 for ac_func in _hypot
23760 do :
23761 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23762 if test "x$ac_cv_func__hypot" = xyes; then :
23763 cat >>confdefs.h <<_ACEOF
23764 #define HAVE__HYPOT 1
23765 _ACEOF
23768 done
23777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23778 $as_echo_n "checking for float trig functions... " >&6; }
23779 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23780 $as_echo_n "(cached) " >&6
23781 else
23784 ac_ext=cpp
23785 ac_cpp='$CXXCPP $CPPFLAGS'
23786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23791 /* end confdefs.h. */
23792 #include <math.h>
23794 main ()
23796 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23798 return 0;
23800 _ACEOF
23801 if ac_fn_cxx_try_compile "$LINENO"; then :
23802 glibcxx_cv_func_float_trig_use=yes
23803 else
23804 glibcxx_cv_func_float_trig_use=no
23806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23807 ac_ext=c
23808 ac_cpp='$CPP $CPPFLAGS'
23809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23816 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23817 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23818 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23819 do :
23820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23822 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23823 cat >>confdefs.h <<_ACEOF
23824 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23825 _ACEOF
23828 done
23830 else
23831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23832 $as_echo_n "checking for _float trig functions... " >&6; }
23833 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23834 $as_echo_n "(cached) " >&6
23835 else
23838 ac_ext=cpp
23839 ac_cpp='$CXXCPP $CPPFLAGS'
23840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23845 /* end confdefs.h. */
23846 #include <math.h>
23848 main ()
23850 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23852 return 0;
23854 _ACEOF
23855 if ac_fn_cxx_try_compile "$LINENO"; then :
23856 glibcxx_cv_func__float_trig_use=yes
23857 else
23858 glibcxx_cv_func__float_trig_use=no
23860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23861 ac_ext=c
23862 ac_cpp='$CPP $CPPFLAGS'
23863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23870 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23871 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23872 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23873 do :
23874 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23875 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23876 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23877 cat >>confdefs.h <<_ACEOF
23878 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23879 _ACEOF
23882 done
23891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23892 $as_echo_n "checking for float round functions... " >&6; }
23893 if ${glibcxx_cv_func_float_round_use+:} false; then :
23894 $as_echo_n "(cached) " >&6
23895 else
23898 ac_ext=cpp
23899 ac_cpp='$CXXCPP $CPPFLAGS'
23900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23905 /* end confdefs.h. */
23906 #include <math.h>
23908 main ()
23910 ceilf (0); floorf (0);
23912 return 0;
23914 _ACEOF
23915 if ac_fn_cxx_try_compile "$LINENO"; then :
23916 glibcxx_cv_func_float_round_use=yes
23917 else
23918 glibcxx_cv_func_float_round_use=no
23920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23921 ac_ext=c
23922 ac_cpp='$CPP $CPPFLAGS'
23923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23930 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23931 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23932 for ac_func in ceilf floorf
23933 do :
23934 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23935 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23936 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23937 cat >>confdefs.h <<_ACEOF
23938 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23939 _ACEOF
23942 done
23944 else
23945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23946 $as_echo_n "checking for _float round functions... " >&6; }
23947 if ${glibcxx_cv_func__float_round_use+:} false; then :
23948 $as_echo_n "(cached) " >&6
23949 else
23952 ac_ext=cpp
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23959 /* end confdefs.h. */
23960 #include <math.h>
23962 main ()
23964 _ceilf (0); _floorf (0);
23966 return 0;
23968 _ACEOF
23969 if ac_fn_cxx_try_compile "$LINENO"; then :
23970 glibcxx_cv_func__float_round_use=yes
23971 else
23972 glibcxx_cv_func__float_round_use=no
23974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23975 ac_ext=c
23976 ac_cpp='$CPP $CPPFLAGS'
23977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23984 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23985 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23986 for ac_func in _ceilf _floorf
23987 do :
23988 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23989 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23990 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23991 cat >>confdefs.h <<_ACEOF
23992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23993 _ACEOF
23996 done
24006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
24007 $as_echo_n "checking for expf declaration... " >&6; }
24008 if test x${glibcxx_cv_func_expf_use+set} != xset; then
24009 if ${glibcxx_cv_func_expf_use+:} false; then :
24010 $as_echo_n "(cached) " >&6
24011 else
24014 ac_ext=cpp
24015 ac_cpp='$CXXCPP $CPPFLAGS'
24016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24021 /* end confdefs.h. */
24022 #include <math.h>
24023 #ifdef HAVE_IEEEFP_H
24024 #include <ieeefp.h>
24025 #endif
24028 main ()
24030 expf(0);
24032 return 0;
24034 _ACEOF
24035 if ac_fn_cxx_try_compile "$LINENO"; then :
24036 glibcxx_cv_func_expf_use=yes
24037 else
24038 glibcxx_cv_func_expf_use=no
24040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24041 ac_ext=c
24042 ac_cpp='$CPP $CPPFLAGS'
24043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
24052 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
24054 if test x$glibcxx_cv_func_expf_use = x"yes"; then
24055 for ac_func in expf
24056 do :
24057 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
24058 if test "x$ac_cv_func_expf" = xyes; then :
24059 cat >>confdefs.h <<_ACEOF
24060 #define HAVE_EXPF 1
24061 _ACEOF
24064 done
24066 else
24068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
24069 $as_echo_n "checking for _expf declaration... " >&6; }
24070 if test x${glibcxx_cv_func__expf_use+set} != xset; then
24071 if ${glibcxx_cv_func__expf_use+:} false; then :
24072 $as_echo_n "(cached) " >&6
24073 else
24076 ac_ext=cpp
24077 ac_cpp='$CXXCPP $CPPFLAGS'
24078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24083 /* end confdefs.h. */
24084 #include <math.h>
24085 #ifdef HAVE_IEEEFP_H
24086 #include <ieeefp.h>
24087 #endif
24090 main ()
24092 _expf(0);
24094 return 0;
24096 _ACEOF
24097 if ac_fn_cxx_try_compile "$LINENO"; then :
24098 glibcxx_cv_func__expf_use=yes
24099 else
24100 glibcxx_cv_func__expf_use=no
24102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24103 ac_ext=c
24104 ac_cpp='$CPP $CPPFLAGS'
24105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
24114 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
24116 if test x$glibcxx_cv_func__expf_use = x"yes"; then
24117 for ac_func in _expf
24118 do :
24119 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
24120 if test "x$ac_cv_func__expf" = xyes; then :
24121 cat >>confdefs.h <<_ACEOF
24122 #define HAVE__EXPF 1
24123 _ACEOF
24126 done
24135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
24136 $as_echo_n "checking for isnanf declaration... " >&6; }
24137 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
24138 if ${glibcxx_cv_func_isnanf_use+:} false; then :
24139 $as_echo_n "(cached) " >&6
24140 else
24143 ac_ext=cpp
24144 ac_cpp='$CXXCPP $CPPFLAGS'
24145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150 /* end confdefs.h. */
24151 #include <math.h>
24152 #ifdef HAVE_IEEEFP_H
24153 #include <ieeefp.h>
24154 #endif
24157 main ()
24159 isnanf(0);
24161 return 0;
24163 _ACEOF
24164 if ac_fn_cxx_try_compile "$LINENO"; then :
24165 glibcxx_cv_func_isnanf_use=yes
24166 else
24167 glibcxx_cv_func_isnanf_use=no
24169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24170 ac_ext=c
24171 ac_cpp='$CPP $CPPFLAGS'
24172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
24181 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
24183 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
24184 for ac_func in isnanf
24185 do :
24186 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
24187 if test "x$ac_cv_func_isnanf" = xyes; then :
24188 cat >>confdefs.h <<_ACEOF
24189 #define HAVE_ISNANF 1
24190 _ACEOF
24193 done
24195 else
24197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
24198 $as_echo_n "checking for _isnanf declaration... " >&6; }
24199 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
24200 if ${glibcxx_cv_func__isnanf_use+:} false; then :
24201 $as_echo_n "(cached) " >&6
24202 else
24205 ac_ext=cpp
24206 ac_cpp='$CXXCPP $CPPFLAGS'
24207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24212 /* end confdefs.h. */
24213 #include <math.h>
24214 #ifdef HAVE_IEEEFP_H
24215 #include <ieeefp.h>
24216 #endif
24219 main ()
24221 _isnanf(0);
24223 return 0;
24225 _ACEOF
24226 if ac_fn_cxx_try_compile "$LINENO"; then :
24227 glibcxx_cv_func__isnanf_use=yes
24228 else
24229 glibcxx_cv_func__isnanf_use=no
24231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24232 ac_ext=c
24233 ac_cpp='$CPP $CPPFLAGS'
24234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
24243 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
24245 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
24246 for ac_func in _isnanf
24247 do :
24248 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
24249 if test "x$ac_cv_func__isnanf" = xyes; then :
24250 cat >>confdefs.h <<_ACEOF
24251 #define HAVE__ISNANF 1
24252 _ACEOF
24255 done
24264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
24265 $as_echo_n "checking for isinff declaration... " >&6; }
24266 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
24267 if ${glibcxx_cv_func_isinff_use+:} false; then :
24268 $as_echo_n "(cached) " >&6
24269 else
24272 ac_ext=cpp
24273 ac_cpp='$CXXCPP $CPPFLAGS'
24274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279 /* end confdefs.h. */
24280 #include <math.h>
24281 #ifdef HAVE_IEEEFP_H
24282 #include <ieeefp.h>
24283 #endif
24286 main ()
24288 isinff(0);
24290 return 0;
24292 _ACEOF
24293 if ac_fn_cxx_try_compile "$LINENO"; then :
24294 glibcxx_cv_func_isinff_use=yes
24295 else
24296 glibcxx_cv_func_isinff_use=no
24298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24299 ac_ext=c
24300 ac_cpp='$CPP $CPPFLAGS'
24301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
24310 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
24312 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
24313 for ac_func in isinff
24314 do :
24315 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
24316 if test "x$ac_cv_func_isinff" = xyes; then :
24317 cat >>confdefs.h <<_ACEOF
24318 #define HAVE_ISINFF 1
24319 _ACEOF
24322 done
24324 else
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
24327 $as_echo_n "checking for _isinff declaration... " >&6; }
24328 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
24329 if ${glibcxx_cv_func__isinff_use+:} false; then :
24330 $as_echo_n "(cached) " >&6
24331 else
24334 ac_ext=cpp
24335 ac_cpp='$CXXCPP $CPPFLAGS'
24336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24341 /* end confdefs.h. */
24342 #include <math.h>
24343 #ifdef HAVE_IEEEFP_H
24344 #include <ieeefp.h>
24345 #endif
24348 main ()
24350 _isinff(0);
24352 return 0;
24354 _ACEOF
24355 if ac_fn_cxx_try_compile "$LINENO"; then :
24356 glibcxx_cv_func__isinff_use=yes
24357 else
24358 glibcxx_cv_func__isinff_use=no
24360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24361 ac_ext=c
24362 ac_cpp='$CPP $CPPFLAGS'
24363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
24372 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
24374 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
24375 for ac_func in _isinff
24376 do :
24377 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
24378 if test "x$ac_cv_func__isinff" = xyes; then :
24379 cat >>confdefs.h <<_ACEOF
24380 #define HAVE__ISINFF 1
24381 _ACEOF
24384 done
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
24394 $as_echo_n "checking for atan2f declaration... " >&6; }
24395 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
24396 if ${glibcxx_cv_func_atan2f_use+:} false; then :
24397 $as_echo_n "(cached) " >&6
24398 else
24401 ac_ext=cpp
24402 ac_cpp='$CXXCPP $CPPFLAGS'
24403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h. */
24409 #include <math.h>
24411 main ()
24413 atan2f(0, 0);
24415 return 0;
24417 _ACEOF
24418 if ac_fn_cxx_try_compile "$LINENO"; then :
24419 glibcxx_cv_func_atan2f_use=yes
24420 else
24421 glibcxx_cv_func_atan2f_use=no
24423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24424 ac_ext=c
24425 ac_cpp='$CPP $CPPFLAGS'
24426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
24435 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24437 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24438 for ac_func in atan2f
24439 do :
24440 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24441 if test "x$ac_cv_func_atan2f" = xyes; then :
24442 cat >>confdefs.h <<_ACEOF
24443 #define HAVE_ATAN2F 1
24444 _ACEOF
24447 done
24449 else
24451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24452 $as_echo_n "checking for _atan2f declaration... " >&6; }
24453 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24454 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24455 $as_echo_n "(cached) " >&6
24456 else
24459 ac_ext=cpp
24460 ac_cpp='$CXXCPP $CPPFLAGS'
24461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24466 /* end confdefs.h. */
24467 #include <math.h>
24469 main ()
24471 _atan2f(0, 0);
24473 return 0;
24475 _ACEOF
24476 if ac_fn_cxx_try_compile "$LINENO"; then :
24477 glibcxx_cv_func__atan2f_use=yes
24478 else
24479 glibcxx_cv_func__atan2f_use=no
24481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24482 ac_ext=c
24483 ac_cpp='$CPP $CPPFLAGS'
24484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24493 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24495 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24496 for ac_func in _atan2f
24497 do :
24498 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24499 if test "x$ac_cv_func__atan2f" = xyes; then :
24500 cat >>confdefs.h <<_ACEOF
24501 #define HAVE__ATAN2F 1
24502 _ACEOF
24505 done
24514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24515 $as_echo_n "checking for fabsf declaration... " >&6; }
24516 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24517 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24518 $as_echo_n "(cached) " >&6
24519 else
24522 ac_ext=cpp
24523 ac_cpp='$CXXCPP $CPPFLAGS'
24524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24529 /* end confdefs.h. */
24530 #include <math.h>
24531 #ifdef HAVE_IEEEFP_H
24532 #include <ieeefp.h>
24533 #endif
24536 main ()
24538 fabsf(0);
24540 return 0;
24542 _ACEOF
24543 if ac_fn_cxx_try_compile "$LINENO"; then :
24544 glibcxx_cv_func_fabsf_use=yes
24545 else
24546 glibcxx_cv_func_fabsf_use=no
24548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24549 ac_ext=c
24550 ac_cpp='$CPP $CPPFLAGS'
24551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24560 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24562 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24563 for ac_func in fabsf
24564 do :
24565 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24566 if test "x$ac_cv_func_fabsf" = xyes; then :
24567 cat >>confdefs.h <<_ACEOF
24568 #define HAVE_FABSF 1
24569 _ACEOF
24572 done
24574 else
24576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24577 $as_echo_n "checking for _fabsf declaration... " >&6; }
24578 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24579 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24580 $as_echo_n "(cached) " >&6
24581 else
24584 ac_ext=cpp
24585 ac_cpp='$CXXCPP $CPPFLAGS'
24586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24591 /* end confdefs.h. */
24592 #include <math.h>
24593 #ifdef HAVE_IEEEFP_H
24594 #include <ieeefp.h>
24595 #endif
24598 main ()
24600 _fabsf(0);
24602 return 0;
24604 _ACEOF
24605 if ac_fn_cxx_try_compile "$LINENO"; then :
24606 glibcxx_cv_func__fabsf_use=yes
24607 else
24608 glibcxx_cv_func__fabsf_use=no
24610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24611 ac_ext=c
24612 ac_cpp='$CPP $CPPFLAGS'
24613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24622 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24624 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24625 for ac_func in _fabsf
24626 do :
24627 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24628 if test "x$ac_cv_func__fabsf" = xyes; then :
24629 cat >>confdefs.h <<_ACEOF
24630 #define HAVE__FABSF 1
24631 _ACEOF
24634 done
24643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24644 $as_echo_n "checking for fmodf declaration... " >&6; }
24645 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24646 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24647 $as_echo_n "(cached) " >&6
24648 else
24651 ac_ext=cpp
24652 ac_cpp='$CXXCPP $CPPFLAGS'
24653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24658 /* end confdefs.h. */
24659 #include <math.h>
24661 main ()
24663 fmodf(0, 0);
24665 return 0;
24667 _ACEOF
24668 if ac_fn_cxx_try_compile "$LINENO"; then :
24669 glibcxx_cv_func_fmodf_use=yes
24670 else
24671 glibcxx_cv_func_fmodf_use=no
24673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24674 ac_ext=c
24675 ac_cpp='$CPP $CPPFLAGS'
24676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24685 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24687 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24688 for ac_func in fmodf
24689 do :
24690 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24691 if test "x$ac_cv_func_fmodf" = xyes; then :
24692 cat >>confdefs.h <<_ACEOF
24693 #define HAVE_FMODF 1
24694 _ACEOF
24697 done
24699 else
24701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24702 $as_echo_n "checking for _fmodf declaration... " >&6; }
24703 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24704 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24705 $as_echo_n "(cached) " >&6
24706 else
24709 ac_ext=cpp
24710 ac_cpp='$CXXCPP $CPPFLAGS'
24711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24716 /* end confdefs.h. */
24717 #include <math.h>
24719 main ()
24721 _fmodf(0, 0);
24723 return 0;
24725 _ACEOF
24726 if ac_fn_cxx_try_compile "$LINENO"; then :
24727 glibcxx_cv_func__fmodf_use=yes
24728 else
24729 glibcxx_cv_func__fmodf_use=no
24731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24732 ac_ext=c
24733 ac_cpp='$CPP $CPPFLAGS'
24734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24743 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24745 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24746 for ac_func in _fmodf
24747 do :
24748 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24749 if test "x$ac_cv_func__fmodf" = xyes; then :
24750 cat >>confdefs.h <<_ACEOF
24751 #define HAVE__FMODF 1
24752 _ACEOF
24755 done
24764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24765 $as_echo_n "checking for frexpf declaration... " >&6; }
24766 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24767 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24768 $as_echo_n "(cached) " >&6
24769 else
24772 ac_ext=cpp
24773 ac_cpp='$CXXCPP $CPPFLAGS'
24774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24779 /* end confdefs.h. */
24780 #include <math.h>
24782 main ()
24784 frexpf(0, 0);
24786 return 0;
24788 _ACEOF
24789 if ac_fn_cxx_try_compile "$LINENO"; then :
24790 glibcxx_cv_func_frexpf_use=yes
24791 else
24792 glibcxx_cv_func_frexpf_use=no
24794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24795 ac_ext=c
24796 ac_cpp='$CPP $CPPFLAGS'
24797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24806 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24808 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24809 for ac_func in frexpf
24810 do :
24811 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24812 if test "x$ac_cv_func_frexpf" = xyes; then :
24813 cat >>confdefs.h <<_ACEOF
24814 #define HAVE_FREXPF 1
24815 _ACEOF
24818 done
24820 else
24822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24823 $as_echo_n "checking for _frexpf declaration... " >&6; }
24824 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24825 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24826 $as_echo_n "(cached) " >&6
24827 else
24830 ac_ext=cpp
24831 ac_cpp='$CXXCPP $CPPFLAGS'
24832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24837 /* end confdefs.h. */
24838 #include <math.h>
24840 main ()
24842 _frexpf(0, 0);
24844 return 0;
24846 _ACEOF
24847 if ac_fn_cxx_try_compile "$LINENO"; then :
24848 glibcxx_cv_func__frexpf_use=yes
24849 else
24850 glibcxx_cv_func__frexpf_use=no
24852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24853 ac_ext=c
24854 ac_cpp='$CPP $CPPFLAGS'
24855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24864 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24866 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24867 for ac_func in _frexpf
24868 do :
24869 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24870 if test "x$ac_cv_func__frexpf" = xyes; then :
24871 cat >>confdefs.h <<_ACEOF
24872 #define HAVE__FREXPF 1
24873 _ACEOF
24876 done
24885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24886 $as_echo_n "checking for hypotf declaration... " >&6; }
24887 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24888 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24889 $as_echo_n "(cached) " >&6
24890 else
24893 ac_ext=cpp
24894 ac_cpp='$CXXCPP $CPPFLAGS'
24895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24900 /* end confdefs.h. */
24901 #include <math.h>
24903 main ()
24905 hypotf(0, 0);
24907 return 0;
24909 _ACEOF
24910 if ac_fn_cxx_try_compile "$LINENO"; then :
24911 glibcxx_cv_func_hypotf_use=yes
24912 else
24913 glibcxx_cv_func_hypotf_use=no
24915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24916 ac_ext=c
24917 ac_cpp='$CPP $CPPFLAGS'
24918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24927 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24929 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24930 for ac_func in hypotf
24931 do :
24932 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24933 if test "x$ac_cv_func_hypotf" = xyes; then :
24934 cat >>confdefs.h <<_ACEOF
24935 #define HAVE_HYPOTF 1
24936 _ACEOF
24939 done
24941 else
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24944 $as_echo_n "checking for _hypotf declaration... " >&6; }
24945 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24946 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24947 $as_echo_n "(cached) " >&6
24948 else
24951 ac_ext=cpp
24952 ac_cpp='$CXXCPP $CPPFLAGS'
24953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24958 /* end confdefs.h. */
24959 #include <math.h>
24961 main ()
24963 _hypotf(0, 0);
24965 return 0;
24967 _ACEOF
24968 if ac_fn_cxx_try_compile "$LINENO"; then :
24969 glibcxx_cv_func__hypotf_use=yes
24970 else
24971 glibcxx_cv_func__hypotf_use=no
24973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24974 ac_ext=c
24975 ac_cpp='$CPP $CPPFLAGS'
24976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24985 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24987 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24988 for ac_func in _hypotf
24989 do :
24990 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24991 if test "x$ac_cv_func__hypotf" = xyes; then :
24992 cat >>confdefs.h <<_ACEOF
24993 #define HAVE__HYPOTF 1
24994 _ACEOF
24997 done
25006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
25007 $as_echo_n "checking for ldexpf declaration... " >&6; }
25008 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25009 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
25010 $as_echo_n "(cached) " >&6
25011 else
25014 ac_ext=cpp
25015 ac_cpp='$CXXCPP $CPPFLAGS'
25016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25021 /* end confdefs.h. */
25022 #include <math.h>
25024 main ()
25026 ldexpf(0, 0);
25028 return 0;
25030 _ACEOF
25031 if ac_fn_cxx_try_compile "$LINENO"; then :
25032 glibcxx_cv_func_ldexpf_use=yes
25033 else
25034 glibcxx_cv_func_ldexpf_use=no
25036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25037 ac_ext=c
25038 ac_cpp='$CPP $CPPFLAGS'
25039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
25048 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
25050 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25051 for ac_func in ldexpf
25052 do :
25053 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
25054 if test "x$ac_cv_func_ldexpf" = xyes; then :
25055 cat >>confdefs.h <<_ACEOF
25056 #define HAVE_LDEXPF 1
25057 _ACEOF
25060 done
25062 else
25064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
25065 $as_echo_n "checking for _ldexpf declaration... " >&6; }
25066 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25067 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
25068 $as_echo_n "(cached) " >&6
25069 else
25072 ac_ext=cpp
25073 ac_cpp='$CXXCPP $CPPFLAGS'
25074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25079 /* end confdefs.h. */
25080 #include <math.h>
25082 main ()
25084 _ldexpf(0, 0);
25086 return 0;
25088 _ACEOF
25089 if ac_fn_cxx_try_compile "$LINENO"; then :
25090 glibcxx_cv_func__ldexpf_use=yes
25091 else
25092 glibcxx_cv_func__ldexpf_use=no
25094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25095 ac_ext=c
25096 ac_cpp='$CPP $CPPFLAGS'
25097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
25106 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
25108 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25109 for ac_func in _ldexpf
25110 do :
25111 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
25112 if test "x$ac_cv_func__ldexpf" = xyes; then :
25113 cat >>confdefs.h <<_ACEOF
25114 #define HAVE__LDEXPF 1
25115 _ACEOF
25118 done
25127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
25128 $as_echo_n "checking for logf declaration... " >&6; }
25129 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25130 if ${glibcxx_cv_func_logf_use+:} false; 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 <math.h>
25144 #ifdef HAVE_IEEEFP_H
25145 #include <ieeefp.h>
25146 #endif
25149 main ()
25151 logf(0);
25153 return 0;
25155 _ACEOF
25156 if ac_fn_cxx_try_compile "$LINENO"; then :
25157 glibcxx_cv_func_logf_use=yes
25158 else
25159 glibcxx_cv_func_logf_use=no
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25162 ac_ext=c
25163 ac_cpp='$CPP $CPPFLAGS'
25164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
25173 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
25175 if test x$glibcxx_cv_func_logf_use = x"yes"; then
25176 for ac_func in logf
25177 do :
25178 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
25179 if test "x$ac_cv_func_logf" = xyes; then :
25180 cat >>confdefs.h <<_ACEOF
25181 #define HAVE_LOGF 1
25182 _ACEOF
25185 done
25187 else
25189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
25190 $as_echo_n "checking for _logf declaration... " >&6; }
25191 if test x${glibcxx_cv_func__logf_use+set} != xset; then
25192 if ${glibcxx_cv_func__logf_use+:} false; then :
25193 $as_echo_n "(cached) " >&6
25194 else
25197 ac_ext=cpp
25198 ac_cpp='$CXXCPP $CPPFLAGS'
25199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25204 /* end confdefs.h. */
25205 #include <math.h>
25206 #ifdef HAVE_IEEEFP_H
25207 #include <ieeefp.h>
25208 #endif
25211 main ()
25213 _logf(0);
25215 return 0;
25217 _ACEOF
25218 if ac_fn_cxx_try_compile "$LINENO"; then :
25219 glibcxx_cv_func__logf_use=yes
25220 else
25221 glibcxx_cv_func__logf_use=no
25223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25224 ac_ext=c
25225 ac_cpp='$CPP $CPPFLAGS'
25226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
25235 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
25237 if test x$glibcxx_cv_func__logf_use = x"yes"; then
25238 for ac_func in _logf
25239 do :
25240 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
25241 if test "x$ac_cv_func__logf" = xyes; then :
25242 cat >>confdefs.h <<_ACEOF
25243 #define HAVE__LOGF 1
25244 _ACEOF
25247 done
25256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
25257 $as_echo_n "checking for log10f declaration... " >&6; }
25258 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
25259 if ${glibcxx_cv_func_log10f_use+:} false; then :
25260 $as_echo_n "(cached) " >&6
25261 else
25264 ac_ext=cpp
25265 ac_cpp='$CXXCPP $CPPFLAGS'
25266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25271 /* end confdefs.h. */
25272 #include <math.h>
25273 #ifdef HAVE_IEEEFP_H
25274 #include <ieeefp.h>
25275 #endif
25278 main ()
25280 log10f(0);
25282 return 0;
25284 _ACEOF
25285 if ac_fn_cxx_try_compile "$LINENO"; then :
25286 glibcxx_cv_func_log10f_use=yes
25287 else
25288 glibcxx_cv_func_log10f_use=no
25290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25291 ac_ext=c
25292 ac_cpp='$CPP $CPPFLAGS'
25293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
25302 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
25304 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
25305 for ac_func in log10f
25306 do :
25307 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
25308 if test "x$ac_cv_func_log10f" = xyes; then :
25309 cat >>confdefs.h <<_ACEOF
25310 #define HAVE_LOG10F 1
25311 _ACEOF
25314 done
25316 else
25318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
25319 $as_echo_n "checking for _log10f declaration... " >&6; }
25320 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
25321 if ${glibcxx_cv_func__log10f_use+:} false; then :
25322 $as_echo_n "(cached) " >&6
25323 else
25326 ac_ext=cpp
25327 ac_cpp='$CXXCPP $CPPFLAGS'
25328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25333 /* end confdefs.h. */
25334 #include <math.h>
25335 #ifdef HAVE_IEEEFP_H
25336 #include <ieeefp.h>
25337 #endif
25340 main ()
25342 _log10f(0);
25344 return 0;
25346 _ACEOF
25347 if ac_fn_cxx_try_compile "$LINENO"; then :
25348 glibcxx_cv_func__log10f_use=yes
25349 else
25350 glibcxx_cv_func__log10f_use=no
25352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25353 ac_ext=c
25354 ac_cpp='$CPP $CPPFLAGS'
25355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
25364 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
25366 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
25367 for ac_func in _log10f
25368 do :
25369 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
25370 if test "x$ac_cv_func__log10f" = xyes; then :
25371 cat >>confdefs.h <<_ACEOF
25372 #define HAVE__LOG10F 1
25373 _ACEOF
25376 done
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
25386 $as_echo_n "checking for modff declaration... " >&6; }
25387 if test x${glibcxx_cv_func_modff_use+set} != xset; then
25388 if ${glibcxx_cv_func_modff_use+:} false; then :
25389 $as_echo_n "(cached) " >&6
25390 else
25393 ac_ext=cpp
25394 ac_cpp='$CXXCPP $CPPFLAGS'
25395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25400 /* end confdefs.h. */
25401 #include <math.h>
25403 main ()
25405 modff(0, 0);
25407 return 0;
25409 _ACEOF
25410 if ac_fn_cxx_try_compile "$LINENO"; then :
25411 glibcxx_cv_func_modff_use=yes
25412 else
25413 glibcxx_cv_func_modff_use=no
25415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25416 ac_ext=c
25417 ac_cpp='$CPP $CPPFLAGS'
25418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
25427 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
25429 if test x$glibcxx_cv_func_modff_use = x"yes"; then
25430 for ac_func in modff
25431 do :
25432 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
25433 if test "x$ac_cv_func_modff" = xyes; then :
25434 cat >>confdefs.h <<_ACEOF
25435 #define HAVE_MODFF 1
25436 _ACEOF
25439 done
25441 else
25443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25444 $as_echo_n "checking for _modff declaration... " >&6; }
25445 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25446 if ${glibcxx_cv_func__modff_use+:} false; then :
25447 $as_echo_n "(cached) " >&6
25448 else
25451 ac_ext=cpp
25452 ac_cpp='$CXXCPP $CPPFLAGS'
25453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25458 /* end confdefs.h. */
25459 #include <math.h>
25461 main ()
25463 _modff(0, 0);
25465 return 0;
25467 _ACEOF
25468 if ac_fn_cxx_try_compile "$LINENO"; then :
25469 glibcxx_cv_func__modff_use=yes
25470 else
25471 glibcxx_cv_func__modff_use=no
25473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25474 ac_ext=c
25475 ac_cpp='$CPP $CPPFLAGS'
25476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25485 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25487 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25488 for ac_func in _modff
25489 do :
25490 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25491 if test "x$ac_cv_func__modff" = xyes; then :
25492 cat >>confdefs.h <<_ACEOF
25493 #define HAVE__MODFF 1
25494 _ACEOF
25497 done
25506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25507 $as_echo_n "checking for modf declaration... " >&6; }
25508 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25509 if ${glibcxx_cv_func_modf_use+:} false; then :
25510 $as_echo_n "(cached) " >&6
25511 else
25514 ac_ext=cpp
25515 ac_cpp='$CXXCPP $CPPFLAGS'
25516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25521 /* end confdefs.h. */
25522 #include <math.h>
25524 main ()
25526 modf(0, 0);
25528 return 0;
25530 _ACEOF
25531 if ac_fn_cxx_try_compile "$LINENO"; then :
25532 glibcxx_cv_func_modf_use=yes
25533 else
25534 glibcxx_cv_func_modf_use=no
25536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25537 ac_ext=c
25538 ac_cpp='$CPP $CPPFLAGS'
25539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25548 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25550 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25551 for ac_func in modf
25552 do :
25553 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25554 if test "x$ac_cv_func_modf" = xyes; then :
25555 cat >>confdefs.h <<_ACEOF
25556 #define HAVE_MODF 1
25557 _ACEOF
25560 done
25562 else
25564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25565 $as_echo_n "checking for _modf declaration... " >&6; }
25566 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25567 if ${glibcxx_cv_func__modf_use+:} false; then :
25568 $as_echo_n "(cached) " >&6
25569 else
25572 ac_ext=cpp
25573 ac_cpp='$CXXCPP $CPPFLAGS'
25574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25579 /* end confdefs.h. */
25580 #include <math.h>
25582 main ()
25584 _modf(0, 0);
25586 return 0;
25588 _ACEOF
25589 if ac_fn_cxx_try_compile "$LINENO"; then :
25590 glibcxx_cv_func__modf_use=yes
25591 else
25592 glibcxx_cv_func__modf_use=no
25594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25595 ac_ext=c
25596 ac_cpp='$CPP $CPPFLAGS'
25597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25606 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25608 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25609 for ac_func in _modf
25610 do :
25611 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25612 if test "x$ac_cv_func__modf" = xyes; then :
25613 cat >>confdefs.h <<_ACEOF
25614 #define HAVE__MODF 1
25615 _ACEOF
25618 done
25627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25628 $as_echo_n "checking for powf declaration... " >&6; }
25629 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25630 if ${glibcxx_cv_func_powf_use+:} false; then :
25631 $as_echo_n "(cached) " >&6
25632 else
25635 ac_ext=cpp
25636 ac_cpp='$CXXCPP $CPPFLAGS'
25637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25642 /* end confdefs.h. */
25643 #include <math.h>
25645 main ()
25647 powf(0, 0);
25649 return 0;
25651 _ACEOF
25652 if ac_fn_cxx_try_compile "$LINENO"; then :
25653 glibcxx_cv_func_powf_use=yes
25654 else
25655 glibcxx_cv_func_powf_use=no
25657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25658 ac_ext=c
25659 ac_cpp='$CPP $CPPFLAGS'
25660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25669 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25671 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25672 for ac_func in powf
25673 do :
25674 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25675 if test "x$ac_cv_func_powf" = xyes; then :
25676 cat >>confdefs.h <<_ACEOF
25677 #define HAVE_POWF 1
25678 _ACEOF
25681 done
25683 else
25685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25686 $as_echo_n "checking for _powf declaration... " >&6; }
25687 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25688 if ${glibcxx_cv_func__powf_use+:} false; then :
25689 $as_echo_n "(cached) " >&6
25690 else
25693 ac_ext=cpp
25694 ac_cpp='$CXXCPP $CPPFLAGS'
25695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25700 /* end confdefs.h. */
25701 #include <math.h>
25703 main ()
25705 _powf(0, 0);
25707 return 0;
25709 _ACEOF
25710 if ac_fn_cxx_try_compile "$LINENO"; then :
25711 glibcxx_cv_func__powf_use=yes
25712 else
25713 glibcxx_cv_func__powf_use=no
25715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25716 ac_ext=c
25717 ac_cpp='$CPP $CPPFLAGS'
25718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25727 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25729 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25730 for ac_func in _powf
25731 do :
25732 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25733 if test "x$ac_cv_func__powf" = xyes; then :
25734 cat >>confdefs.h <<_ACEOF
25735 #define HAVE__POWF 1
25736 _ACEOF
25739 done
25748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25749 $as_echo_n "checking for sqrtf declaration... " >&6; }
25750 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25751 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25752 $as_echo_n "(cached) " >&6
25753 else
25756 ac_ext=cpp
25757 ac_cpp='$CXXCPP $CPPFLAGS'
25758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25763 /* end confdefs.h. */
25764 #include <math.h>
25765 #ifdef HAVE_IEEEFP_H
25766 #include <ieeefp.h>
25767 #endif
25770 main ()
25772 sqrtf(0);
25774 return 0;
25776 _ACEOF
25777 if ac_fn_cxx_try_compile "$LINENO"; then :
25778 glibcxx_cv_func_sqrtf_use=yes
25779 else
25780 glibcxx_cv_func_sqrtf_use=no
25782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25783 ac_ext=c
25784 ac_cpp='$CPP $CPPFLAGS'
25785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25794 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25796 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25797 for ac_func in sqrtf
25798 do :
25799 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25800 if test "x$ac_cv_func_sqrtf" = xyes; then :
25801 cat >>confdefs.h <<_ACEOF
25802 #define HAVE_SQRTF 1
25803 _ACEOF
25806 done
25808 else
25810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25811 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25812 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25813 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25814 $as_echo_n "(cached) " >&6
25815 else
25818 ac_ext=cpp
25819 ac_cpp='$CXXCPP $CPPFLAGS'
25820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25825 /* end confdefs.h. */
25826 #include <math.h>
25827 #ifdef HAVE_IEEEFP_H
25828 #include <ieeefp.h>
25829 #endif
25832 main ()
25834 _sqrtf(0);
25836 return 0;
25838 _ACEOF
25839 if ac_fn_cxx_try_compile "$LINENO"; then :
25840 glibcxx_cv_func__sqrtf_use=yes
25841 else
25842 glibcxx_cv_func__sqrtf_use=no
25844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25845 ac_ext=c
25846 ac_cpp='$CPP $CPPFLAGS'
25847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25856 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25858 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25859 for ac_func in _sqrtf
25860 do :
25861 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25862 if test "x$ac_cv_func__sqrtf" = xyes; then :
25863 cat >>confdefs.h <<_ACEOF
25864 #define HAVE__SQRTF 1
25865 _ACEOF
25868 done
25877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25878 $as_echo_n "checking for sincosf declaration... " >&6; }
25879 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25880 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25881 $as_echo_n "(cached) " >&6
25882 else
25885 ac_ext=cpp
25886 ac_cpp='$CXXCPP $CPPFLAGS'
25887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25892 /* end confdefs.h. */
25893 #include <math.h>
25895 main ()
25897 sincosf(0, 0, 0);
25899 return 0;
25901 _ACEOF
25902 if ac_fn_cxx_try_compile "$LINENO"; then :
25903 glibcxx_cv_func_sincosf_use=yes
25904 else
25905 glibcxx_cv_func_sincosf_use=no
25907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25908 ac_ext=c
25909 ac_cpp='$CPP $CPPFLAGS'
25910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25919 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25921 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25922 for ac_func in sincosf
25923 do :
25924 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25925 if test "x$ac_cv_func_sincosf" = xyes; then :
25926 cat >>confdefs.h <<_ACEOF
25927 #define HAVE_SINCOSF 1
25928 _ACEOF
25931 done
25933 else
25935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25936 $as_echo_n "checking for _sincosf declaration... " >&6; }
25937 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25938 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25939 $as_echo_n "(cached) " >&6
25940 else
25943 ac_ext=cpp
25944 ac_cpp='$CXXCPP $CPPFLAGS'
25945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25950 /* end confdefs.h. */
25951 #include <math.h>
25953 main ()
25955 _sincosf(0, 0, 0);
25957 return 0;
25959 _ACEOF
25960 if ac_fn_cxx_try_compile "$LINENO"; then :
25961 glibcxx_cv_func__sincosf_use=yes
25962 else
25963 glibcxx_cv_func__sincosf_use=no
25965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25966 ac_ext=c
25967 ac_cpp='$CPP $CPPFLAGS'
25968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25977 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25979 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25980 for ac_func in _sincosf
25981 do :
25982 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25983 if test "x$ac_cv_func__sincosf" = xyes; then :
25984 cat >>confdefs.h <<_ACEOF
25985 #define HAVE__SINCOSF 1
25986 _ACEOF
25989 done
25998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25999 $as_echo_n "checking for finitef declaration... " >&6; }
26000 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
26001 if ${glibcxx_cv_func_finitef_use+:} false; then :
26002 $as_echo_n "(cached) " >&6
26003 else
26006 ac_ext=cpp
26007 ac_cpp='$CXXCPP $CPPFLAGS'
26008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26013 /* end confdefs.h. */
26014 #include <math.h>
26015 #ifdef HAVE_IEEEFP_H
26016 #include <ieeefp.h>
26017 #endif
26020 main ()
26022 finitef(0);
26024 return 0;
26026 _ACEOF
26027 if ac_fn_cxx_try_compile "$LINENO"; then :
26028 glibcxx_cv_func_finitef_use=yes
26029 else
26030 glibcxx_cv_func_finitef_use=no
26032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26033 ac_ext=c
26034 ac_cpp='$CPP $CPPFLAGS'
26035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
26044 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
26046 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
26047 for ac_func in finitef
26048 do :
26049 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
26050 if test "x$ac_cv_func_finitef" = xyes; then :
26051 cat >>confdefs.h <<_ACEOF
26052 #define HAVE_FINITEF 1
26053 _ACEOF
26056 done
26058 else
26060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
26061 $as_echo_n "checking for _finitef declaration... " >&6; }
26062 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
26063 if ${glibcxx_cv_func__finitef_use+:} false; then :
26064 $as_echo_n "(cached) " >&6
26065 else
26068 ac_ext=cpp
26069 ac_cpp='$CXXCPP $CPPFLAGS'
26070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26075 /* end confdefs.h. */
26076 #include <math.h>
26077 #ifdef HAVE_IEEEFP_H
26078 #include <ieeefp.h>
26079 #endif
26082 main ()
26084 _finitef(0);
26086 return 0;
26088 _ACEOF
26089 if ac_fn_cxx_try_compile "$LINENO"; then :
26090 glibcxx_cv_func__finitef_use=yes
26091 else
26092 glibcxx_cv_func__finitef_use=no
26094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26095 ac_ext=c
26096 ac_cpp='$CPP $CPPFLAGS'
26097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
26106 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
26108 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
26109 for ac_func in _finitef
26110 do :
26111 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
26112 if test "x$ac_cv_func__finitef" = xyes; then :
26113 cat >>confdefs.h <<_ACEOF
26114 #define HAVE__FINITEF 1
26115 _ACEOF
26118 done
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
26128 $as_echo_n "checking for long double trig functions... " >&6; }
26129 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
26130 $as_echo_n "(cached) " >&6
26131 else
26134 ac_ext=cpp
26135 ac_cpp='$CXXCPP $CPPFLAGS'
26136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26141 /* end confdefs.h. */
26142 #include <math.h>
26144 main ()
26146 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
26148 return 0;
26150 _ACEOF
26151 if ac_fn_cxx_try_compile "$LINENO"; then :
26152 glibcxx_cv_func_long_double_trig_use=yes
26153 else
26154 glibcxx_cv_func_long_double_trig_use=no
26156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26157 ac_ext=c
26158 ac_cpp='$CPP $CPPFLAGS'
26159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
26166 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
26167 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
26168 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
26169 do :
26170 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26172 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26173 cat >>confdefs.h <<_ACEOF
26174 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26175 _ACEOF
26178 done
26180 else
26181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
26182 $as_echo_n "checking for _long double trig functions... " >&6; }
26183 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
26184 $as_echo_n "(cached) " >&6
26185 else
26188 ac_ext=cpp
26189 ac_cpp='$CXXCPP $CPPFLAGS'
26190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26195 /* end confdefs.h. */
26196 #include <math.h>
26198 main ()
26200 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
26202 return 0;
26204 _ACEOF
26205 if ac_fn_cxx_try_compile "$LINENO"; then :
26206 glibcxx_cv_func__long_double_trig_use=yes
26207 else
26208 glibcxx_cv_func__long_double_trig_use=no
26210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26211 ac_ext=c
26212 ac_cpp='$CPP $CPPFLAGS'
26213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
26220 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
26221 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
26222 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
26223 do :
26224 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26225 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26226 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26227 cat >>confdefs.h <<_ACEOF
26228 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26229 _ACEOF
26232 done
26241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
26242 $as_echo_n "checking for long double round functions... " >&6; }
26243 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
26244 $as_echo_n "(cached) " >&6
26245 else
26248 ac_ext=cpp
26249 ac_cpp='$CXXCPP $CPPFLAGS'
26250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26255 /* end confdefs.h. */
26256 #include <math.h>
26258 main ()
26260 ceill (0); floorl (0);
26262 return 0;
26264 _ACEOF
26265 if ac_fn_cxx_try_compile "$LINENO"; then :
26266 glibcxx_cv_func_long_double_round_use=yes
26267 else
26268 glibcxx_cv_func_long_double_round_use=no
26270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26271 ac_ext=c
26272 ac_cpp='$CPP $CPPFLAGS'
26273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
26280 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
26281 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
26282 for ac_func in ceill floorl
26283 do :
26284 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26285 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26286 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26287 cat >>confdefs.h <<_ACEOF
26288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26289 _ACEOF
26292 done
26294 else
26295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
26296 $as_echo_n "checking for _long double round functions... " >&6; }
26297 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
26298 $as_echo_n "(cached) " >&6
26299 else
26302 ac_ext=cpp
26303 ac_cpp='$CXXCPP $CPPFLAGS'
26304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26309 /* end confdefs.h. */
26310 #include <math.h>
26312 main ()
26314 _ceill (0); _floorl (0);
26316 return 0;
26318 _ACEOF
26319 if ac_fn_cxx_try_compile "$LINENO"; then :
26320 glibcxx_cv_func__long_double_round_use=yes
26321 else
26322 glibcxx_cv_func__long_double_round_use=no
26324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26325 ac_ext=c
26326 ac_cpp='$CPP $CPPFLAGS'
26327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
26334 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
26335 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
26336 for ac_func in _ceill _floorl
26337 do :
26338 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
26339 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
26340 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
26341 cat >>confdefs.h <<_ACEOF
26342 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
26343 _ACEOF
26346 done
26356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
26357 $as_echo_n "checking for isnanl declaration... " >&6; }
26358 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
26359 if ${glibcxx_cv_func_isnanl_use+:} false; then :
26360 $as_echo_n "(cached) " >&6
26361 else
26364 ac_ext=cpp
26365 ac_cpp='$CXXCPP $CPPFLAGS'
26366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26371 /* end confdefs.h. */
26372 #include <math.h>
26373 #ifdef HAVE_IEEEFP_H
26374 #include <ieeefp.h>
26375 #endif
26378 main ()
26380 isnanl(0);
26382 return 0;
26384 _ACEOF
26385 if ac_fn_cxx_try_compile "$LINENO"; then :
26386 glibcxx_cv_func_isnanl_use=yes
26387 else
26388 glibcxx_cv_func_isnanl_use=no
26390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26391 ac_ext=c
26392 ac_cpp='$CPP $CPPFLAGS'
26393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
26402 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
26404 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
26405 for ac_func in isnanl
26406 do :
26407 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
26408 if test "x$ac_cv_func_isnanl" = xyes; then :
26409 cat >>confdefs.h <<_ACEOF
26410 #define HAVE_ISNANL 1
26411 _ACEOF
26414 done
26416 else
26418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
26419 $as_echo_n "checking for _isnanl declaration... " >&6; }
26420 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
26421 if ${glibcxx_cv_func__isnanl_use+:} false; then :
26422 $as_echo_n "(cached) " >&6
26423 else
26426 ac_ext=cpp
26427 ac_cpp='$CXXCPP $CPPFLAGS'
26428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26433 /* end confdefs.h. */
26434 #include <math.h>
26435 #ifdef HAVE_IEEEFP_H
26436 #include <ieeefp.h>
26437 #endif
26440 main ()
26442 _isnanl(0);
26444 return 0;
26446 _ACEOF
26447 if ac_fn_cxx_try_compile "$LINENO"; then :
26448 glibcxx_cv_func__isnanl_use=yes
26449 else
26450 glibcxx_cv_func__isnanl_use=no
26452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26453 ac_ext=c
26454 ac_cpp='$CPP $CPPFLAGS'
26455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26464 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26466 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26467 for ac_func in _isnanl
26468 do :
26469 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26470 if test "x$ac_cv_func__isnanl" = xyes; then :
26471 cat >>confdefs.h <<_ACEOF
26472 #define HAVE__ISNANL 1
26473 _ACEOF
26476 done
26485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26486 $as_echo_n "checking for isinfl declaration... " >&6; }
26487 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26488 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26489 $as_echo_n "(cached) " >&6
26490 else
26493 ac_ext=cpp
26494 ac_cpp='$CXXCPP $CPPFLAGS'
26495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26500 /* end confdefs.h. */
26501 #include <math.h>
26502 #ifdef HAVE_IEEEFP_H
26503 #include <ieeefp.h>
26504 #endif
26507 main ()
26509 isinfl(0);
26511 return 0;
26513 _ACEOF
26514 if ac_fn_cxx_try_compile "$LINENO"; then :
26515 glibcxx_cv_func_isinfl_use=yes
26516 else
26517 glibcxx_cv_func_isinfl_use=no
26519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26520 ac_ext=c
26521 ac_cpp='$CPP $CPPFLAGS'
26522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26531 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26533 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26534 for ac_func in isinfl
26535 do :
26536 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26537 if test "x$ac_cv_func_isinfl" = xyes; then :
26538 cat >>confdefs.h <<_ACEOF
26539 #define HAVE_ISINFL 1
26540 _ACEOF
26543 done
26545 else
26547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26548 $as_echo_n "checking for _isinfl declaration... " >&6; }
26549 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26550 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26551 $as_echo_n "(cached) " >&6
26552 else
26555 ac_ext=cpp
26556 ac_cpp='$CXXCPP $CPPFLAGS'
26557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26562 /* end confdefs.h. */
26563 #include <math.h>
26564 #ifdef HAVE_IEEEFP_H
26565 #include <ieeefp.h>
26566 #endif
26569 main ()
26571 _isinfl(0);
26573 return 0;
26575 _ACEOF
26576 if ac_fn_cxx_try_compile "$LINENO"; then :
26577 glibcxx_cv_func__isinfl_use=yes
26578 else
26579 glibcxx_cv_func__isinfl_use=no
26581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26582 ac_ext=c
26583 ac_cpp='$CPP $CPPFLAGS'
26584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26593 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26595 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26596 for ac_func in _isinfl
26597 do :
26598 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26599 if test "x$ac_cv_func__isinfl" = xyes; then :
26600 cat >>confdefs.h <<_ACEOF
26601 #define HAVE__ISINFL 1
26602 _ACEOF
26605 done
26614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26615 $as_echo_n "checking for atan2l declaration... " >&6; }
26616 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26617 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26618 $as_echo_n "(cached) " >&6
26619 else
26622 ac_ext=cpp
26623 ac_cpp='$CXXCPP $CPPFLAGS'
26624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26629 /* end confdefs.h. */
26630 #include <math.h>
26632 main ()
26634 atan2l(0, 0);
26636 return 0;
26638 _ACEOF
26639 if ac_fn_cxx_try_compile "$LINENO"; then :
26640 glibcxx_cv_func_atan2l_use=yes
26641 else
26642 glibcxx_cv_func_atan2l_use=no
26644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26645 ac_ext=c
26646 ac_cpp='$CPP $CPPFLAGS'
26647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26656 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26658 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26659 for ac_func in atan2l
26660 do :
26661 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26662 if test "x$ac_cv_func_atan2l" = xyes; then :
26663 cat >>confdefs.h <<_ACEOF
26664 #define HAVE_ATAN2L 1
26665 _ACEOF
26668 done
26670 else
26672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26673 $as_echo_n "checking for _atan2l declaration... " >&6; }
26674 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26675 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26676 $as_echo_n "(cached) " >&6
26677 else
26680 ac_ext=cpp
26681 ac_cpp='$CXXCPP $CPPFLAGS'
26682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26687 /* end confdefs.h. */
26688 #include <math.h>
26690 main ()
26692 _atan2l(0, 0);
26694 return 0;
26696 _ACEOF
26697 if ac_fn_cxx_try_compile "$LINENO"; then :
26698 glibcxx_cv_func__atan2l_use=yes
26699 else
26700 glibcxx_cv_func__atan2l_use=no
26702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26703 ac_ext=c
26704 ac_cpp='$CPP $CPPFLAGS'
26705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26714 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26716 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26717 for ac_func in _atan2l
26718 do :
26719 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26720 if test "x$ac_cv_func__atan2l" = xyes; then :
26721 cat >>confdefs.h <<_ACEOF
26722 #define HAVE__ATAN2L 1
26723 _ACEOF
26726 done
26735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26736 $as_echo_n "checking for expl declaration... " >&6; }
26737 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26738 if ${glibcxx_cv_func_expl_use+:} false; then :
26739 $as_echo_n "(cached) " >&6
26740 else
26743 ac_ext=cpp
26744 ac_cpp='$CXXCPP $CPPFLAGS'
26745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26750 /* end confdefs.h. */
26751 #include <math.h>
26752 #ifdef HAVE_IEEEFP_H
26753 #include <ieeefp.h>
26754 #endif
26757 main ()
26759 expl(0);
26761 return 0;
26763 _ACEOF
26764 if ac_fn_cxx_try_compile "$LINENO"; then :
26765 glibcxx_cv_func_expl_use=yes
26766 else
26767 glibcxx_cv_func_expl_use=no
26769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26770 ac_ext=c
26771 ac_cpp='$CPP $CPPFLAGS'
26772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26781 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26783 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26784 for ac_func in expl
26785 do :
26786 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26787 if test "x$ac_cv_func_expl" = xyes; then :
26788 cat >>confdefs.h <<_ACEOF
26789 #define HAVE_EXPL 1
26790 _ACEOF
26793 done
26795 else
26797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26798 $as_echo_n "checking for _expl declaration... " >&6; }
26799 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26800 if ${glibcxx_cv_func__expl_use+:} false; then :
26801 $as_echo_n "(cached) " >&6
26802 else
26805 ac_ext=cpp
26806 ac_cpp='$CXXCPP $CPPFLAGS'
26807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26812 /* end confdefs.h. */
26813 #include <math.h>
26814 #ifdef HAVE_IEEEFP_H
26815 #include <ieeefp.h>
26816 #endif
26819 main ()
26821 _expl(0);
26823 return 0;
26825 _ACEOF
26826 if ac_fn_cxx_try_compile "$LINENO"; then :
26827 glibcxx_cv_func__expl_use=yes
26828 else
26829 glibcxx_cv_func__expl_use=no
26831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26832 ac_ext=c
26833 ac_cpp='$CPP $CPPFLAGS'
26834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26843 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26845 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26846 for ac_func in _expl
26847 do :
26848 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26849 if test "x$ac_cv_func__expl" = xyes; then :
26850 cat >>confdefs.h <<_ACEOF
26851 #define HAVE__EXPL 1
26852 _ACEOF
26855 done
26864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26865 $as_echo_n "checking for fabsl declaration... " >&6; }
26866 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26867 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26868 $as_echo_n "(cached) " >&6
26869 else
26872 ac_ext=cpp
26873 ac_cpp='$CXXCPP $CPPFLAGS'
26874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26879 /* end confdefs.h. */
26880 #include <math.h>
26881 #ifdef HAVE_IEEEFP_H
26882 #include <ieeefp.h>
26883 #endif
26886 main ()
26888 fabsl(0);
26890 return 0;
26892 _ACEOF
26893 if ac_fn_cxx_try_compile "$LINENO"; then :
26894 glibcxx_cv_func_fabsl_use=yes
26895 else
26896 glibcxx_cv_func_fabsl_use=no
26898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26899 ac_ext=c
26900 ac_cpp='$CPP $CPPFLAGS'
26901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26910 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26912 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26913 for ac_func in fabsl
26914 do :
26915 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26916 if test "x$ac_cv_func_fabsl" = xyes; then :
26917 cat >>confdefs.h <<_ACEOF
26918 #define HAVE_FABSL 1
26919 _ACEOF
26922 done
26924 else
26926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26927 $as_echo_n "checking for _fabsl declaration... " >&6; }
26928 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26929 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26930 $as_echo_n "(cached) " >&6
26931 else
26934 ac_ext=cpp
26935 ac_cpp='$CXXCPP $CPPFLAGS'
26936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26941 /* end confdefs.h. */
26942 #include <math.h>
26943 #ifdef HAVE_IEEEFP_H
26944 #include <ieeefp.h>
26945 #endif
26948 main ()
26950 _fabsl(0);
26952 return 0;
26954 _ACEOF
26955 if ac_fn_cxx_try_compile "$LINENO"; then :
26956 glibcxx_cv_func__fabsl_use=yes
26957 else
26958 glibcxx_cv_func__fabsl_use=no
26960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26961 ac_ext=c
26962 ac_cpp='$CPP $CPPFLAGS'
26963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26972 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26974 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26975 for ac_func in _fabsl
26976 do :
26977 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26978 if test "x$ac_cv_func__fabsl" = xyes; then :
26979 cat >>confdefs.h <<_ACEOF
26980 #define HAVE__FABSL 1
26981 _ACEOF
26984 done
26993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26994 $as_echo_n "checking for fmodl declaration... " >&6; }
26995 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26996 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26997 $as_echo_n "(cached) " >&6
26998 else
27001 ac_ext=cpp
27002 ac_cpp='$CXXCPP $CPPFLAGS'
27003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27008 /* end confdefs.h. */
27009 #include <math.h>
27011 main ()
27013 fmodl(0, 0);
27015 return 0;
27017 _ACEOF
27018 if ac_fn_cxx_try_compile "$LINENO"; then :
27019 glibcxx_cv_func_fmodl_use=yes
27020 else
27021 glibcxx_cv_func_fmodl_use=no
27023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27024 ac_ext=c
27025 ac_cpp='$CPP $CPPFLAGS'
27026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
27035 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
27037 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
27038 for ac_func in fmodl
27039 do :
27040 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
27041 if test "x$ac_cv_func_fmodl" = xyes; then :
27042 cat >>confdefs.h <<_ACEOF
27043 #define HAVE_FMODL 1
27044 _ACEOF
27047 done
27049 else
27051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
27052 $as_echo_n "checking for _fmodl declaration... " >&6; }
27053 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
27054 if ${glibcxx_cv_func__fmodl_use+:} false; then :
27055 $as_echo_n "(cached) " >&6
27056 else
27059 ac_ext=cpp
27060 ac_cpp='$CXXCPP $CPPFLAGS'
27061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27066 /* end confdefs.h. */
27067 #include <math.h>
27069 main ()
27071 _fmodl(0, 0);
27073 return 0;
27075 _ACEOF
27076 if ac_fn_cxx_try_compile "$LINENO"; then :
27077 glibcxx_cv_func__fmodl_use=yes
27078 else
27079 glibcxx_cv_func__fmodl_use=no
27081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27082 ac_ext=c
27083 ac_cpp='$CPP $CPPFLAGS'
27084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
27093 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
27095 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
27096 for ac_func in _fmodl
27097 do :
27098 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
27099 if test "x$ac_cv_func__fmodl" = xyes; then :
27100 cat >>confdefs.h <<_ACEOF
27101 #define HAVE__FMODL 1
27102 _ACEOF
27105 done
27114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
27115 $as_echo_n "checking for frexpl declaration... " >&6; }
27116 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
27117 if ${glibcxx_cv_func_frexpl_use+:} false; then :
27118 $as_echo_n "(cached) " >&6
27119 else
27122 ac_ext=cpp
27123 ac_cpp='$CXXCPP $CPPFLAGS'
27124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27129 /* end confdefs.h. */
27130 #include <math.h>
27132 main ()
27134 frexpl(0, 0);
27136 return 0;
27138 _ACEOF
27139 if ac_fn_cxx_try_compile "$LINENO"; then :
27140 glibcxx_cv_func_frexpl_use=yes
27141 else
27142 glibcxx_cv_func_frexpl_use=no
27144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27145 ac_ext=c
27146 ac_cpp='$CPP $CPPFLAGS'
27147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
27156 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
27158 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
27159 for ac_func in frexpl
27160 do :
27161 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
27162 if test "x$ac_cv_func_frexpl" = xyes; then :
27163 cat >>confdefs.h <<_ACEOF
27164 #define HAVE_FREXPL 1
27165 _ACEOF
27168 done
27170 else
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
27173 $as_echo_n "checking for _frexpl declaration... " >&6; }
27174 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
27175 if ${glibcxx_cv_func__frexpl_use+:} false; then :
27176 $as_echo_n "(cached) " >&6
27177 else
27180 ac_ext=cpp
27181 ac_cpp='$CXXCPP $CPPFLAGS'
27182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27187 /* end confdefs.h. */
27188 #include <math.h>
27190 main ()
27192 _frexpl(0, 0);
27194 return 0;
27196 _ACEOF
27197 if ac_fn_cxx_try_compile "$LINENO"; then :
27198 glibcxx_cv_func__frexpl_use=yes
27199 else
27200 glibcxx_cv_func__frexpl_use=no
27202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27203 ac_ext=c
27204 ac_cpp='$CPP $CPPFLAGS'
27205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
27214 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
27216 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
27217 for ac_func in _frexpl
27218 do :
27219 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
27220 if test "x$ac_cv_func__frexpl" = xyes; then :
27221 cat >>confdefs.h <<_ACEOF
27222 #define HAVE__FREXPL 1
27223 _ACEOF
27226 done
27235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
27236 $as_echo_n "checking for hypotl declaration... " >&6; }
27237 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
27238 if ${glibcxx_cv_func_hypotl_use+:} false; then :
27239 $as_echo_n "(cached) " >&6
27240 else
27243 ac_ext=cpp
27244 ac_cpp='$CXXCPP $CPPFLAGS'
27245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27250 /* end confdefs.h. */
27251 #include <math.h>
27253 main ()
27255 hypotl(0, 0);
27257 return 0;
27259 _ACEOF
27260 if ac_fn_cxx_try_compile "$LINENO"; then :
27261 glibcxx_cv_func_hypotl_use=yes
27262 else
27263 glibcxx_cv_func_hypotl_use=no
27265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27266 ac_ext=c
27267 ac_cpp='$CPP $CPPFLAGS'
27268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
27277 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
27279 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
27280 for ac_func in hypotl
27281 do :
27282 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
27283 if test "x$ac_cv_func_hypotl" = xyes; then :
27284 cat >>confdefs.h <<_ACEOF
27285 #define HAVE_HYPOTL 1
27286 _ACEOF
27289 done
27291 else
27293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
27294 $as_echo_n "checking for _hypotl declaration... " >&6; }
27295 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
27296 if ${glibcxx_cv_func__hypotl_use+:} false; then :
27297 $as_echo_n "(cached) " >&6
27298 else
27301 ac_ext=cpp
27302 ac_cpp='$CXXCPP $CPPFLAGS'
27303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27308 /* end confdefs.h. */
27309 #include <math.h>
27311 main ()
27313 _hypotl(0, 0);
27315 return 0;
27317 _ACEOF
27318 if ac_fn_cxx_try_compile "$LINENO"; then :
27319 glibcxx_cv_func__hypotl_use=yes
27320 else
27321 glibcxx_cv_func__hypotl_use=no
27323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27324 ac_ext=c
27325 ac_cpp='$CPP $CPPFLAGS'
27326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
27335 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
27337 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
27338 for ac_func in _hypotl
27339 do :
27340 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
27341 if test "x$ac_cv_func__hypotl" = xyes; then :
27342 cat >>confdefs.h <<_ACEOF
27343 #define HAVE__HYPOTL 1
27344 _ACEOF
27347 done
27356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
27357 $as_echo_n "checking for ldexpl declaration... " >&6; }
27358 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
27359 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
27360 $as_echo_n "(cached) " >&6
27361 else
27364 ac_ext=cpp
27365 ac_cpp='$CXXCPP $CPPFLAGS'
27366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27371 /* end confdefs.h. */
27372 #include <math.h>
27374 main ()
27376 ldexpl(0, 0);
27378 return 0;
27380 _ACEOF
27381 if ac_fn_cxx_try_compile "$LINENO"; then :
27382 glibcxx_cv_func_ldexpl_use=yes
27383 else
27384 glibcxx_cv_func_ldexpl_use=no
27386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27387 ac_ext=c
27388 ac_cpp='$CPP $CPPFLAGS'
27389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
27398 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
27400 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
27401 for ac_func in ldexpl
27402 do :
27403 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
27404 if test "x$ac_cv_func_ldexpl" = xyes; then :
27405 cat >>confdefs.h <<_ACEOF
27406 #define HAVE_LDEXPL 1
27407 _ACEOF
27410 done
27412 else
27414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
27415 $as_echo_n "checking for _ldexpl declaration... " >&6; }
27416 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
27417 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
27418 $as_echo_n "(cached) " >&6
27419 else
27422 ac_ext=cpp
27423 ac_cpp='$CXXCPP $CPPFLAGS'
27424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27429 /* end confdefs.h. */
27430 #include <math.h>
27432 main ()
27434 _ldexpl(0, 0);
27436 return 0;
27438 _ACEOF
27439 if ac_fn_cxx_try_compile "$LINENO"; then :
27440 glibcxx_cv_func__ldexpl_use=yes
27441 else
27442 glibcxx_cv_func__ldexpl_use=no
27444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27445 ac_ext=c
27446 ac_cpp='$CPP $CPPFLAGS'
27447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27456 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27458 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27459 for ac_func in _ldexpl
27460 do :
27461 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27462 if test "x$ac_cv_func__ldexpl" = xyes; then :
27463 cat >>confdefs.h <<_ACEOF
27464 #define HAVE__LDEXPL 1
27465 _ACEOF
27468 done
27477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27478 $as_echo_n "checking for logl declaration... " >&6; }
27479 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27480 if ${glibcxx_cv_func_logl_use+:} false; then :
27481 $as_echo_n "(cached) " >&6
27482 else
27485 ac_ext=cpp
27486 ac_cpp='$CXXCPP $CPPFLAGS'
27487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27492 /* end confdefs.h. */
27493 #include <math.h>
27494 #ifdef HAVE_IEEEFP_H
27495 #include <ieeefp.h>
27496 #endif
27499 main ()
27501 logl(0);
27503 return 0;
27505 _ACEOF
27506 if ac_fn_cxx_try_compile "$LINENO"; then :
27507 glibcxx_cv_func_logl_use=yes
27508 else
27509 glibcxx_cv_func_logl_use=no
27511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27512 ac_ext=c
27513 ac_cpp='$CPP $CPPFLAGS'
27514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27523 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27525 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27526 for ac_func in logl
27527 do :
27528 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27529 if test "x$ac_cv_func_logl" = xyes; then :
27530 cat >>confdefs.h <<_ACEOF
27531 #define HAVE_LOGL 1
27532 _ACEOF
27535 done
27537 else
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27540 $as_echo_n "checking for _logl declaration... " >&6; }
27541 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27542 if ${glibcxx_cv_func__logl_use+:} false; then :
27543 $as_echo_n "(cached) " >&6
27544 else
27547 ac_ext=cpp
27548 ac_cpp='$CXXCPP $CPPFLAGS'
27549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27554 /* end confdefs.h. */
27555 #include <math.h>
27556 #ifdef HAVE_IEEEFP_H
27557 #include <ieeefp.h>
27558 #endif
27561 main ()
27563 _logl(0);
27565 return 0;
27567 _ACEOF
27568 if ac_fn_cxx_try_compile "$LINENO"; then :
27569 glibcxx_cv_func__logl_use=yes
27570 else
27571 glibcxx_cv_func__logl_use=no
27573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27574 ac_ext=c
27575 ac_cpp='$CPP $CPPFLAGS'
27576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27585 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27587 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27588 for ac_func in _logl
27589 do :
27590 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27591 if test "x$ac_cv_func__logl" = xyes; then :
27592 cat >>confdefs.h <<_ACEOF
27593 #define HAVE__LOGL 1
27594 _ACEOF
27597 done
27606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27607 $as_echo_n "checking for log10l declaration... " >&6; }
27608 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27609 if ${glibcxx_cv_func_log10l_use+:} false; then :
27610 $as_echo_n "(cached) " >&6
27611 else
27614 ac_ext=cpp
27615 ac_cpp='$CXXCPP $CPPFLAGS'
27616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27621 /* end confdefs.h. */
27622 #include <math.h>
27623 #ifdef HAVE_IEEEFP_H
27624 #include <ieeefp.h>
27625 #endif
27628 main ()
27630 log10l(0);
27632 return 0;
27634 _ACEOF
27635 if ac_fn_cxx_try_compile "$LINENO"; then :
27636 glibcxx_cv_func_log10l_use=yes
27637 else
27638 glibcxx_cv_func_log10l_use=no
27640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27641 ac_ext=c
27642 ac_cpp='$CPP $CPPFLAGS'
27643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27652 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27654 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27655 for ac_func in log10l
27656 do :
27657 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27658 if test "x$ac_cv_func_log10l" = xyes; then :
27659 cat >>confdefs.h <<_ACEOF
27660 #define HAVE_LOG10L 1
27661 _ACEOF
27664 done
27666 else
27668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27669 $as_echo_n "checking for _log10l declaration... " >&6; }
27670 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27671 if ${glibcxx_cv_func__log10l_use+:} false; then :
27672 $as_echo_n "(cached) " >&6
27673 else
27676 ac_ext=cpp
27677 ac_cpp='$CXXCPP $CPPFLAGS'
27678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27683 /* end confdefs.h. */
27684 #include <math.h>
27685 #ifdef HAVE_IEEEFP_H
27686 #include <ieeefp.h>
27687 #endif
27690 main ()
27692 _log10l(0);
27694 return 0;
27696 _ACEOF
27697 if ac_fn_cxx_try_compile "$LINENO"; then :
27698 glibcxx_cv_func__log10l_use=yes
27699 else
27700 glibcxx_cv_func__log10l_use=no
27702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27703 ac_ext=c
27704 ac_cpp='$CPP $CPPFLAGS'
27705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27714 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27716 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27717 for ac_func in _log10l
27718 do :
27719 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27720 if test "x$ac_cv_func__log10l" = xyes; then :
27721 cat >>confdefs.h <<_ACEOF
27722 #define HAVE__LOG10L 1
27723 _ACEOF
27726 done
27735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27736 $as_echo_n "checking for modfl declaration... " >&6; }
27737 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27738 if ${glibcxx_cv_func_modfl_use+:} false; then :
27739 $as_echo_n "(cached) " >&6
27740 else
27743 ac_ext=cpp
27744 ac_cpp='$CXXCPP $CPPFLAGS'
27745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27750 /* end confdefs.h. */
27751 #include <math.h>
27753 main ()
27755 modfl(0, 0);
27757 return 0;
27759 _ACEOF
27760 if ac_fn_cxx_try_compile "$LINENO"; then :
27761 glibcxx_cv_func_modfl_use=yes
27762 else
27763 glibcxx_cv_func_modfl_use=no
27765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27766 ac_ext=c
27767 ac_cpp='$CPP $CPPFLAGS'
27768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27777 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27779 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27780 for ac_func in modfl
27781 do :
27782 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27783 if test "x$ac_cv_func_modfl" = xyes; then :
27784 cat >>confdefs.h <<_ACEOF
27785 #define HAVE_MODFL 1
27786 _ACEOF
27789 done
27791 else
27793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27794 $as_echo_n "checking for _modfl declaration... " >&6; }
27795 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27796 if ${glibcxx_cv_func__modfl_use+:} false; then :
27797 $as_echo_n "(cached) " >&6
27798 else
27801 ac_ext=cpp
27802 ac_cpp='$CXXCPP $CPPFLAGS'
27803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27808 /* end confdefs.h. */
27809 #include <math.h>
27811 main ()
27813 _modfl(0, 0);
27815 return 0;
27817 _ACEOF
27818 if ac_fn_cxx_try_compile "$LINENO"; then :
27819 glibcxx_cv_func__modfl_use=yes
27820 else
27821 glibcxx_cv_func__modfl_use=no
27823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27824 ac_ext=c
27825 ac_cpp='$CPP $CPPFLAGS'
27826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27835 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27837 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27838 for ac_func in _modfl
27839 do :
27840 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27841 if test "x$ac_cv_func__modfl" = xyes; then :
27842 cat >>confdefs.h <<_ACEOF
27843 #define HAVE__MODFL 1
27844 _ACEOF
27847 done
27856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27857 $as_echo_n "checking for powl declaration... " >&6; }
27858 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27859 if ${glibcxx_cv_func_powl_use+:} false; then :
27860 $as_echo_n "(cached) " >&6
27861 else
27864 ac_ext=cpp
27865 ac_cpp='$CXXCPP $CPPFLAGS'
27866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27871 /* end confdefs.h. */
27872 #include <math.h>
27874 main ()
27876 powl(0, 0);
27878 return 0;
27880 _ACEOF
27881 if ac_fn_cxx_try_compile "$LINENO"; then :
27882 glibcxx_cv_func_powl_use=yes
27883 else
27884 glibcxx_cv_func_powl_use=no
27886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27887 ac_ext=c
27888 ac_cpp='$CPP $CPPFLAGS'
27889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27898 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27900 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27901 for ac_func in powl
27902 do :
27903 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27904 if test "x$ac_cv_func_powl" = xyes; then :
27905 cat >>confdefs.h <<_ACEOF
27906 #define HAVE_POWL 1
27907 _ACEOF
27910 done
27912 else
27914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27915 $as_echo_n "checking for _powl declaration... " >&6; }
27916 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27917 if ${glibcxx_cv_func__powl_use+:} false; then :
27918 $as_echo_n "(cached) " >&6
27919 else
27922 ac_ext=cpp
27923 ac_cpp='$CXXCPP $CPPFLAGS'
27924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27929 /* end confdefs.h. */
27930 #include <math.h>
27932 main ()
27934 _powl(0, 0);
27936 return 0;
27938 _ACEOF
27939 if ac_fn_cxx_try_compile "$LINENO"; then :
27940 glibcxx_cv_func__powl_use=yes
27941 else
27942 glibcxx_cv_func__powl_use=no
27944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27945 ac_ext=c
27946 ac_cpp='$CPP $CPPFLAGS'
27947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27956 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27958 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27959 for ac_func in _powl
27960 do :
27961 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27962 if test "x$ac_cv_func__powl" = xyes; then :
27963 cat >>confdefs.h <<_ACEOF
27964 #define HAVE__POWL 1
27965 _ACEOF
27968 done
27977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27978 $as_echo_n "checking for sqrtl declaration... " >&6; }
27979 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27980 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27981 $as_echo_n "(cached) " >&6
27982 else
27985 ac_ext=cpp
27986 ac_cpp='$CXXCPP $CPPFLAGS'
27987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27992 /* end confdefs.h. */
27993 #include <math.h>
27994 #ifdef HAVE_IEEEFP_H
27995 #include <ieeefp.h>
27996 #endif
27999 main ()
28001 sqrtl(0);
28003 return 0;
28005 _ACEOF
28006 if ac_fn_cxx_try_compile "$LINENO"; then :
28007 glibcxx_cv_func_sqrtl_use=yes
28008 else
28009 glibcxx_cv_func_sqrtl_use=no
28011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28012 ac_ext=c
28013 ac_cpp='$CPP $CPPFLAGS'
28014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
28023 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
28025 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
28026 for ac_func in sqrtl
28027 do :
28028 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
28029 if test "x$ac_cv_func_sqrtl" = xyes; then :
28030 cat >>confdefs.h <<_ACEOF
28031 #define HAVE_SQRTL 1
28032 _ACEOF
28035 done
28037 else
28039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
28040 $as_echo_n "checking for _sqrtl declaration... " >&6; }
28041 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
28042 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
28043 $as_echo_n "(cached) " >&6
28044 else
28047 ac_ext=cpp
28048 ac_cpp='$CXXCPP $CPPFLAGS'
28049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28054 /* end confdefs.h. */
28055 #include <math.h>
28056 #ifdef HAVE_IEEEFP_H
28057 #include <ieeefp.h>
28058 #endif
28061 main ()
28063 _sqrtl(0);
28065 return 0;
28067 _ACEOF
28068 if ac_fn_cxx_try_compile "$LINENO"; then :
28069 glibcxx_cv_func__sqrtl_use=yes
28070 else
28071 glibcxx_cv_func__sqrtl_use=no
28073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28074 ac_ext=c
28075 ac_cpp='$CPP $CPPFLAGS'
28076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
28085 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
28087 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
28088 for ac_func in _sqrtl
28089 do :
28090 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
28091 if test "x$ac_cv_func__sqrtl" = xyes; then :
28092 cat >>confdefs.h <<_ACEOF
28093 #define HAVE__SQRTL 1
28094 _ACEOF
28097 done
28106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
28107 $as_echo_n "checking for sincosl declaration... " >&6; }
28108 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
28109 if ${glibcxx_cv_func_sincosl_use+:} false; then :
28110 $as_echo_n "(cached) " >&6
28111 else
28114 ac_ext=cpp
28115 ac_cpp='$CXXCPP $CPPFLAGS'
28116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28121 /* end confdefs.h. */
28122 #include <math.h>
28124 main ()
28126 sincosl(0, 0, 0);
28128 return 0;
28130 _ACEOF
28131 if ac_fn_cxx_try_compile "$LINENO"; then :
28132 glibcxx_cv_func_sincosl_use=yes
28133 else
28134 glibcxx_cv_func_sincosl_use=no
28136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28137 ac_ext=c
28138 ac_cpp='$CPP $CPPFLAGS'
28139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
28148 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
28150 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
28151 for ac_func in sincosl
28152 do :
28153 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
28154 if test "x$ac_cv_func_sincosl" = xyes; then :
28155 cat >>confdefs.h <<_ACEOF
28156 #define HAVE_SINCOSL 1
28157 _ACEOF
28160 done
28162 else
28164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
28165 $as_echo_n "checking for _sincosl declaration... " >&6; }
28166 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
28167 if ${glibcxx_cv_func__sincosl_use+:} false; then :
28168 $as_echo_n "(cached) " >&6
28169 else
28172 ac_ext=cpp
28173 ac_cpp='$CXXCPP $CPPFLAGS'
28174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28179 /* end confdefs.h. */
28180 #include <math.h>
28182 main ()
28184 _sincosl(0, 0, 0);
28186 return 0;
28188 _ACEOF
28189 if ac_fn_cxx_try_compile "$LINENO"; then :
28190 glibcxx_cv_func__sincosl_use=yes
28191 else
28192 glibcxx_cv_func__sincosl_use=no
28194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28195 ac_ext=c
28196 ac_cpp='$CPP $CPPFLAGS'
28197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
28206 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
28208 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
28209 for ac_func in _sincosl
28210 do :
28211 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
28212 if test "x$ac_cv_func__sincosl" = xyes; then :
28213 cat >>confdefs.h <<_ACEOF
28214 #define HAVE__SINCOSL 1
28215 _ACEOF
28218 done
28227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
28228 $as_echo_n "checking for finitel declaration... " >&6; }
28229 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
28230 if ${glibcxx_cv_func_finitel_use+:} false; then :
28231 $as_echo_n "(cached) " >&6
28232 else
28235 ac_ext=cpp
28236 ac_cpp='$CXXCPP $CPPFLAGS'
28237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28242 /* end confdefs.h. */
28243 #include <math.h>
28244 #ifdef HAVE_IEEEFP_H
28245 #include <ieeefp.h>
28246 #endif
28249 main ()
28251 finitel(0);
28253 return 0;
28255 _ACEOF
28256 if ac_fn_cxx_try_compile "$LINENO"; then :
28257 glibcxx_cv_func_finitel_use=yes
28258 else
28259 glibcxx_cv_func_finitel_use=no
28261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28262 ac_ext=c
28263 ac_cpp='$CPP $CPPFLAGS'
28264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
28273 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
28275 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
28276 for ac_func in finitel
28277 do :
28278 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
28279 if test "x$ac_cv_func_finitel" = xyes; then :
28280 cat >>confdefs.h <<_ACEOF
28281 #define HAVE_FINITEL 1
28282 _ACEOF
28285 done
28287 else
28289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
28290 $as_echo_n "checking for _finitel declaration... " >&6; }
28291 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
28292 if ${glibcxx_cv_func__finitel_use+:} false; then :
28293 $as_echo_n "(cached) " >&6
28294 else
28297 ac_ext=cpp
28298 ac_cpp='$CXXCPP $CPPFLAGS'
28299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28304 /* end confdefs.h. */
28305 #include <math.h>
28306 #ifdef HAVE_IEEEFP_H
28307 #include <ieeefp.h>
28308 #endif
28311 main ()
28313 _finitel(0);
28315 return 0;
28317 _ACEOF
28318 if ac_fn_cxx_try_compile "$LINENO"; then :
28319 glibcxx_cv_func__finitel_use=yes
28320 else
28321 glibcxx_cv_func__finitel_use=no
28323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28324 ac_ext=c
28325 ac_cpp='$CPP $CPPFLAGS'
28326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
28335 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
28337 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
28338 for ac_func in _finitel
28339 do :
28340 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
28341 if test "x$ac_cv_func__finitel" = xyes; then :
28342 cat >>confdefs.h <<_ACEOF
28343 #define HAVE__FINITEL 1
28344 _ACEOF
28347 done
28355 LIBS="$ac_save_LIBS"
28356 CXXFLAGS="$ac_save_CXXFLAGS"
28359 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28360 ac_save_CXXFLAGS="$CXXFLAGS"
28361 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
28365 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
28366 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
28367 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
28368 $as_echo_n "(cached) " >&6
28369 else
28372 ac_ext=cpp
28373 ac_cpp='$CXXCPP $CPPFLAGS'
28374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28379 /* end confdefs.h. */
28380 #include <stdlib.h>
28382 main ()
28384 at_quick_exit(0);
28386 return 0;
28388 _ACEOF
28389 if ac_fn_cxx_try_compile "$LINENO"; then :
28390 glibcxx_cv_func_at_quick_exit_use=yes
28391 else
28392 glibcxx_cv_func_at_quick_exit_use=no
28394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28395 ac_ext=c
28396 ac_cpp='$CPP $CPPFLAGS'
28397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
28406 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
28407 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
28408 for ac_func in at_quick_exit
28409 do :
28410 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
28411 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
28412 cat >>confdefs.h <<_ACEOF
28413 #define HAVE_AT_QUICK_EXIT 1
28414 _ACEOF
28417 done
28422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
28423 $as_echo_n "checking for quick_exit declaration... " >&6; }
28424 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
28425 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
28426 $as_echo_n "(cached) " >&6
28427 else
28430 ac_ext=cpp
28431 ac_cpp='$CXXCPP $CPPFLAGS'
28432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28437 /* end confdefs.h. */
28438 #include <stdlib.h>
28440 main ()
28442 quick_exit(0);
28444 return 0;
28446 _ACEOF
28447 if ac_fn_cxx_try_compile "$LINENO"; then :
28448 glibcxx_cv_func_quick_exit_use=yes
28449 else
28450 glibcxx_cv_func_quick_exit_use=no
28452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28453 ac_ext=c
28454 ac_cpp='$CPP $CPPFLAGS'
28455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28464 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28465 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28466 for ac_func in quick_exit
28467 do :
28468 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28469 if test "x$ac_cv_func_quick_exit" = xyes; then :
28470 cat >>confdefs.h <<_ACEOF
28471 #define HAVE_QUICK_EXIT 1
28472 _ACEOF
28475 done
28480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28481 $as_echo_n "checking for strtold declaration... " >&6; }
28482 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28483 if ${glibcxx_cv_func_strtold_use+:} false; then :
28484 $as_echo_n "(cached) " >&6
28485 else
28488 ac_ext=cpp
28489 ac_cpp='$CXXCPP $CPPFLAGS'
28490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28495 /* end confdefs.h. */
28496 #include <stdlib.h>
28498 main ()
28500 strtold(0, 0);
28502 return 0;
28504 _ACEOF
28505 if ac_fn_cxx_try_compile "$LINENO"; then :
28506 glibcxx_cv_func_strtold_use=yes
28507 else
28508 glibcxx_cv_func_strtold_use=no
28510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28511 ac_ext=c
28512 ac_cpp='$CPP $CPPFLAGS'
28513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28522 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28523 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28524 for ac_func in strtold
28525 do :
28526 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28527 if test "x$ac_cv_func_strtold" = xyes; then :
28528 cat >>confdefs.h <<_ACEOF
28529 #define HAVE_STRTOLD 1
28530 _ACEOF
28533 done
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28541 $as_echo_n "checking for strtof declaration... " >&6; }
28542 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28543 if ${glibcxx_cv_func_strtof_use+:} false; then :
28544 $as_echo_n "(cached) " >&6
28545 else
28548 ac_ext=cpp
28549 ac_cpp='$CXXCPP $CPPFLAGS'
28550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28555 /* end confdefs.h. */
28556 #include <stdlib.h>
28558 main ()
28560 strtof(0, 0);
28562 return 0;
28564 _ACEOF
28565 if ac_fn_cxx_try_compile "$LINENO"; then :
28566 glibcxx_cv_func_strtof_use=yes
28567 else
28568 glibcxx_cv_func_strtof_use=no
28570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28571 ac_ext=c
28572 ac_cpp='$CPP $CPPFLAGS'
28573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28582 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28583 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28584 for ac_func in strtof
28585 do :
28586 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28587 if test "x$ac_cv_func_strtof" = xyes; then :
28588 cat >>confdefs.h <<_ACEOF
28589 #define HAVE_STRTOF 1
28590 _ACEOF
28593 done
28600 CXXFLAGS="$ac_save_CXXFLAGS"
28603 # For /dev/random and /dev/urandom for std::random_device.
28606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28607 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28608 if ${glibcxx_cv_dev_random+:} false; then :
28609 $as_echo_n "(cached) " >&6
28610 else
28612 if test -r /dev/random && test -r /dev/urandom; then
28613 ## For MSys environment the test above is detected as false-positive
28614 ## on mingw-targets. So disable it explicitly for them.
28615 case ${target_os} in
28616 *mingw*) glibcxx_cv_dev_random=no ;;
28617 *) glibcxx_cv_dev_random=yes ;;
28618 esac
28619 else
28620 glibcxx_cv_dev_random=no;
28624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28625 $as_echo "$glibcxx_cv_dev_random" >&6; }
28627 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28629 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28632 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28638 # For TLS support.
28641 # Check whether --enable-tls was given.
28642 if test "${enable_tls+set}" = set; then :
28643 enableval=$enable_tls;
28644 case "$enableval" in
28645 yes|no) ;;
28646 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28647 esac
28649 else
28650 enable_tls=yes
28654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28655 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28656 if ${gcc_cv_have_tls+:} false; then :
28657 $as_echo_n "(cached) " >&6
28658 else
28660 if test "$cross_compiling" = yes; then :
28661 if test x$gcc_no_link = xyes; then
28662 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28665 /* end confdefs.h. */
28666 __thread int a; int b; int main() { return a = b; }
28667 _ACEOF
28668 if ac_fn_c_try_link "$LINENO"; then :
28669 chktls_save_LDFLAGS="$LDFLAGS"
28670 case $host in
28671 *-*-linux* | -*-uclinuxfdpic*)
28672 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28674 esac
28675 chktls_save_CFLAGS="$CFLAGS"
28676 CFLAGS="-fPIC $CFLAGS"
28677 if test x$gcc_no_link = xyes; then
28678 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28681 /* end confdefs.h. */
28682 int f() { return 0; }
28683 _ACEOF
28684 if ac_fn_c_try_link "$LINENO"; then :
28685 if test x$gcc_no_link = xyes; then
28686 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28689 /* end confdefs.h. */
28690 __thread int a; int b; int f() { return a = b; }
28691 _ACEOF
28692 if ac_fn_c_try_link "$LINENO"; then :
28693 gcc_cv_have_tls=yes
28694 else
28695 gcc_cv_have_tls=no
28697 rm -f core conftest.err conftest.$ac_objext \
28698 conftest$ac_exeext conftest.$ac_ext
28699 else
28700 gcc_cv_have_tls=yes
28702 rm -f core conftest.err conftest.$ac_objext \
28703 conftest$ac_exeext conftest.$ac_ext
28704 CFLAGS="$chktls_save_CFLAGS"
28705 LDFLAGS="$chktls_save_LDFLAGS"
28706 else
28707 gcc_cv_have_tls=no
28709 rm -f core conftest.err conftest.$ac_objext \
28710 conftest$ac_exeext conftest.$ac_ext
28713 else
28714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28715 /* end confdefs.h. */
28716 __thread int a; int b; int main() { return a = b; }
28717 _ACEOF
28718 if ac_fn_c_try_run "$LINENO"; then :
28719 chktls_save_LDFLAGS="$LDFLAGS"
28720 LDFLAGS="-static $LDFLAGS"
28721 if test x$gcc_no_link = xyes; then
28722 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28725 /* end confdefs.h. */
28726 int main() { return 0; }
28727 _ACEOF
28728 if ac_fn_c_try_link "$LINENO"; then :
28729 if test "$cross_compiling" = yes; then :
28730 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28731 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28732 as_fn_error $? "cannot run test program while cross compiling
28733 See \`config.log' for more details" "$LINENO" 5; }
28734 else
28735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28736 /* end confdefs.h. */
28737 __thread int a; int b; int main() { return a = b; }
28738 _ACEOF
28739 if ac_fn_c_try_run "$LINENO"; then :
28740 gcc_cv_have_tls=yes
28741 else
28742 gcc_cv_have_tls=no
28744 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28745 conftest.$ac_objext conftest.beam conftest.$ac_ext
28748 else
28749 gcc_cv_have_tls=yes
28751 rm -f core conftest.err conftest.$ac_objext \
28752 conftest$ac_exeext conftest.$ac_ext
28753 LDFLAGS="$chktls_save_LDFLAGS"
28754 if test $gcc_cv_have_tls = yes; then
28755 chktls_save_CFLAGS="$CFLAGS"
28756 thread_CFLAGS=failed
28757 for flag in '' '-pthread' '-lpthread'; do
28758 CFLAGS="$flag $chktls_save_CFLAGS"
28759 if test x$gcc_no_link = xyes; then
28760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28763 /* end confdefs.h. */
28764 #include <pthread.h>
28765 void *g(void *d) { return NULL; }
28767 main ()
28769 pthread_t t; pthread_create(&t,NULL,g,NULL);
28771 return 0;
28773 _ACEOF
28774 if ac_fn_c_try_link "$LINENO"; then :
28775 thread_CFLAGS="$flag"
28777 rm -f core conftest.err conftest.$ac_objext \
28778 conftest$ac_exeext conftest.$ac_ext
28779 if test "X$thread_CFLAGS" != Xfailed; then
28780 break
28782 done
28783 CFLAGS="$chktls_save_CFLAGS"
28784 if test "X$thread_CFLAGS" != Xfailed; then
28785 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28786 if test "$cross_compiling" = yes; then :
28787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28789 as_fn_error $? "cannot run test program while cross compiling
28790 See \`config.log' for more details" "$LINENO" 5; }
28791 else
28792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28793 /* end confdefs.h. */
28794 #include <pthread.h>
28795 __thread int a;
28796 static int *volatile a_in_other_thread;
28797 static void *
28798 thread_func (void *arg)
28800 a_in_other_thread = &a;
28801 return (void *)0;
28804 main ()
28806 pthread_t thread;
28807 void *thread_retval;
28808 int *volatile a_in_main_thread;
28809 a_in_main_thread = &a;
28810 if (pthread_create (&thread, (pthread_attr_t *)0,
28811 thread_func, (void *)0))
28812 return 0;
28813 if (pthread_join (thread, &thread_retval))
28814 return 0;
28815 return (a_in_other_thread == a_in_main_thread);
28817 return 0;
28819 _ACEOF
28820 if ac_fn_c_try_run "$LINENO"; then :
28821 gcc_cv_have_tls=yes
28822 else
28823 gcc_cv_have_tls=no
28825 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28826 conftest.$ac_objext conftest.beam conftest.$ac_ext
28829 CFLAGS="$chktls_save_CFLAGS"
28832 else
28833 gcc_cv_have_tls=no
28835 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28836 conftest.$ac_objext conftest.beam conftest.$ac_ext
28840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28841 $as_echo "$gcc_cv_have_tls" >&6; }
28842 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28844 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28848 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28849 do :
28850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28851 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28852 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28853 cat >>confdefs.h <<_ACEOF
28854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28855 _ACEOF
28858 done
28860 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28861 do :
28862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28865 cat >>confdefs.h <<_ACEOF
28866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28867 _ACEOF
28870 done
28872 for ac_func in _wfopen
28873 do :
28874 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28875 if test "x$ac_cv_func__wfopen" = xyes; then :
28876 cat >>confdefs.h <<_ACEOF
28877 #define HAVE__WFOPEN 1
28878 _ACEOF
28881 done
28883 for ac_func in secure_getenv
28884 do :
28885 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
28886 if test "x$ac_cv_func_secure_getenv" = xyes; then :
28887 cat >>confdefs.h <<_ACEOF
28888 #define HAVE_SECURE_GETENV 1
28889 _ACEOF
28892 done
28895 # C11 functions for C++17 library
28896 for ac_func in timespec_get
28897 do :
28898 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28899 if test "x$ac_cv_func_timespec_get" = xyes; then :
28900 cat >>confdefs.h <<_ACEOF
28901 #define HAVE_TIMESPEC_GET 1
28902 _ACEOF
28905 done
28908 # For Networking TS.
28909 for ac_func in sockatmark
28910 do :
28911 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28912 if test "x$ac_cv_func_sockatmark" = xyes; then :
28913 cat >>confdefs.h <<_ACEOF
28914 #define HAVE_SOCKATMARK 1
28915 _ACEOF
28918 done
28921 # Non-standard functions used by C++17 std::from_chars
28922 for ac_func in uselocale
28923 do :
28924 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28925 if test "x$ac_cv_func_uselocale" = xyes; then :
28926 cat >>confdefs.h <<_ACEOF
28927 #define HAVE_USELOCALE 1
28928 _ACEOF
28931 done
28934 # For iconv support.
28936 if test "X$prefix" = "XNONE"; then
28937 acl_final_prefix="$ac_default_prefix"
28938 else
28939 acl_final_prefix="$prefix"
28941 if test "X$exec_prefix" = "XNONE"; then
28942 acl_final_exec_prefix='${prefix}'
28943 else
28944 acl_final_exec_prefix="$exec_prefix"
28946 acl_save_prefix="$prefix"
28947 prefix="$acl_final_prefix"
28948 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28949 prefix="$acl_save_prefix"
28952 # Check whether --with-gnu-ld was given.
28953 if test "${with_gnu_ld+set}" = set; then :
28954 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28955 else
28956 with_gnu_ld=no
28959 # Prepare PATH_SEPARATOR.
28960 # The user is always right.
28961 if test "${PATH_SEPARATOR+set}" != set; then
28962 echo "#! /bin/sh" >conf$$.sh
28963 echo "exit 0" >>conf$$.sh
28964 chmod +x conf$$.sh
28965 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28966 PATH_SEPARATOR=';'
28967 else
28968 PATH_SEPARATOR=:
28970 rm -f conf$$.sh
28972 ac_prog=ld
28973 if test "$GCC" = yes; then
28974 # Check if gcc -print-prog-name=ld gives a path.
28975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28976 $as_echo_n "checking for ld used by GCC... " >&6; }
28977 case $host in
28978 *-*-mingw*)
28979 # gcc leaves a trailing carriage return which upsets mingw
28980 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28982 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28983 esac
28984 case $ac_prog in
28985 # Accept absolute paths.
28986 [\\/]* | [A-Za-z]:[\\/]*)
28987 re_direlt='/[^/][^/]*/\.\./'
28988 # Canonicalize the path of ld
28989 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28990 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28991 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28992 done
28993 test -z "$LD" && LD="$ac_prog"
28996 # If it fails, then pretend we aren't using GCC.
28997 ac_prog=ld
29000 # If it is relative, then search for the first ld in PATH.
29001 with_gnu_ld=unknown
29003 esac
29004 elif test "$with_gnu_ld" = yes; then
29005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
29006 $as_echo_n "checking for GNU ld... " >&6; }
29007 else
29008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
29009 $as_echo_n "checking for non-GNU ld... " >&6; }
29011 if ${acl_cv_path_LD+:} false; then :
29012 $as_echo_n "(cached) " >&6
29013 else
29014 if test -z "$LD"; then
29015 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
29016 for ac_dir in $PATH; do
29017 test -z "$ac_dir" && ac_dir=.
29018 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
29019 acl_cv_path_LD="$ac_dir/$ac_prog"
29020 # Check to see if the program is GNU ld. I'd rather use --version,
29021 # but apparently some GNU ld's only accept -v.
29022 # Break only if it was the GNU/non-GNU ld that we prefer.
29023 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
29024 test "$with_gnu_ld" != no && break
29025 else
29026 test "$with_gnu_ld" != yes && break
29029 done
29030 IFS="$ac_save_ifs"
29031 else
29032 acl_cv_path_LD="$LD" # Let the user override the test with a path.
29036 LD="$acl_cv_path_LD"
29037 if test -n "$LD"; then
29038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
29039 $as_echo "$LD" >&6; }
29040 else
29041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29042 $as_echo "no" >&6; }
29044 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
29045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
29046 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
29047 if ${acl_cv_prog_gnu_ld+:} false; then :
29048 $as_echo_n "(cached) " >&6
29049 else
29050 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
29051 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
29052 acl_cv_prog_gnu_ld=yes
29053 else
29054 acl_cv_prog_gnu_ld=no
29057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
29058 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
29059 with_gnu_ld=$acl_cv_prog_gnu_ld
29063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
29064 $as_echo_n "checking for shared library run path origin... " >&6; }
29065 if ${acl_cv_rpath+:} false; then :
29066 $as_echo_n "(cached) " >&6
29067 else
29069 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
29070 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
29071 . ./conftest.sh
29072 rm -f ./conftest.sh
29073 acl_cv_rpath=done
29076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
29077 $as_echo "$acl_cv_rpath" >&6; }
29078 wl="$acl_cv_wl"
29079 libext="$acl_cv_libext"
29080 shlibext="$acl_cv_shlibext"
29081 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
29082 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
29083 hardcode_direct="$acl_cv_hardcode_direct"
29084 hardcode_minus_L="$acl_cv_hardcode_minus_L"
29085 # Check whether --enable-rpath was given.
29086 if test "${enable_rpath+set}" = set; then :
29087 enableval=$enable_rpath; :
29088 else
29089 enable_rpath=yes
29099 use_additional=yes
29101 acl_save_prefix="$prefix"
29102 prefix="$acl_final_prefix"
29103 acl_save_exec_prefix="$exec_prefix"
29104 exec_prefix="$acl_final_exec_prefix"
29106 eval additional_includedir=\"$includedir\"
29107 eval additional_libdir=\"$libdir\"
29109 exec_prefix="$acl_save_exec_prefix"
29110 prefix="$acl_save_prefix"
29113 # Check whether --with-libiconv-prefix was given.
29114 if test "${with_libiconv_prefix+set}" = set; then :
29115 withval=$with_libiconv_prefix;
29116 if test "X$withval" = "Xno"; then
29117 use_additional=no
29118 else
29119 if test "X$withval" = "X"; then
29121 acl_save_prefix="$prefix"
29122 prefix="$acl_final_prefix"
29123 acl_save_exec_prefix="$exec_prefix"
29124 exec_prefix="$acl_final_exec_prefix"
29126 eval additional_includedir=\"$includedir\"
29127 eval additional_libdir=\"$libdir\"
29129 exec_prefix="$acl_save_exec_prefix"
29130 prefix="$acl_save_prefix"
29132 else
29133 additional_includedir="$withval/include"
29134 additional_libdir="$withval/lib"
29141 # Check whether --with-libiconv-type was given.
29142 if test "${with_libiconv_type+set}" = set; then :
29143 withval=$with_libiconv_type; with_libiconv_type=$withval
29144 else
29145 with_libiconv_type=auto
29148 lib_type=`eval echo \$with_libiconv_type`
29150 LIBICONV=
29151 LTLIBICONV=
29152 INCICONV=
29153 rpathdirs=
29154 ltrpathdirs=
29155 names_already_handled=
29156 names_next_round='iconv '
29157 while test -n "$names_next_round"; do
29158 names_this_round="$names_next_round"
29159 names_next_round=
29160 for name in $names_this_round; do
29161 already_handled=
29162 for n in $names_already_handled; do
29163 if test "$n" = "$name"; then
29164 already_handled=yes
29165 break
29167 done
29168 if test -z "$already_handled"; then
29169 names_already_handled="$names_already_handled $name"
29170 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
29171 eval value=\"\$HAVE_LIB$uppername\"
29172 if test -n "$value"; then
29173 if test "$value" = yes; then
29174 eval value=\"\$LIB$uppername\"
29175 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
29176 eval value=\"\$LTLIB$uppername\"
29177 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
29178 else
29181 else
29182 found_dir=
29183 found_la=
29184 found_so=
29185 found_a=
29186 if test $use_additional = yes; then
29187 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29188 found_dir="$additional_libdir"
29189 found_so="$additional_libdir/lib$name.$shlibext"
29190 if test -f "$additional_libdir/lib$name.la"; then
29191 found_la="$additional_libdir/lib$name.la"
29193 elif test x$lib_type != xshared; then
29194 if test -f "$additional_libdir/lib$name.$libext"; then
29195 found_dir="$additional_libdir"
29196 found_a="$additional_libdir/lib$name.$libext"
29197 if test -f "$additional_libdir/lib$name.la"; then
29198 found_la="$additional_libdir/lib$name.la"
29203 if test "X$found_dir" = "X"; then
29204 for x in $LDFLAGS $LTLIBICONV; do
29206 acl_save_prefix="$prefix"
29207 prefix="$acl_final_prefix"
29208 acl_save_exec_prefix="$exec_prefix"
29209 exec_prefix="$acl_final_exec_prefix"
29210 eval x=\"$x\"
29211 exec_prefix="$acl_save_exec_prefix"
29212 prefix="$acl_save_prefix"
29214 case "$x" in
29215 -L*)
29216 dir=`echo "X$x" | sed -e 's/^X-L//'`
29217 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
29218 found_dir="$dir"
29219 found_so="$dir/lib$name.$shlibext"
29220 if test -f "$dir/lib$name.la"; then
29221 found_la="$dir/lib$name.la"
29223 elif test x$lib_type != xshared; then
29224 if test -f "$dir/lib$name.$libext"; then
29225 found_dir="$dir"
29226 found_a="$dir/lib$name.$libext"
29227 if test -f "$dir/lib$name.la"; then
29228 found_la="$dir/lib$name.la"
29233 esac
29234 if test "X$found_dir" != "X"; then
29235 break
29237 done
29239 if test "X$found_dir" != "X"; then
29240 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
29241 if test "X$found_so" != "X"; then
29242 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
29243 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29244 else
29245 haveit=
29246 for x in $ltrpathdirs; do
29247 if test "X$x" = "X$found_dir"; then
29248 haveit=yes
29249 break
29251 done
29252 if test -z "$haveit"; then
29253 ltrpathdirs="$ltrpathdirs $found_dir"
29255 if test "$hardcode_direct" = yes; then
29256 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29257 else
29258 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
29259 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29260 haveit=
29261 for x in $rpathdirs; do
29262 if test "X$x" = "X$found_dir"; then
29263 haveit=yes
29264 break
29266 done
29267 if test -z "$haveit"; then
29268 rpathdirs="$rpathdirs $found_dir"
29270 else
29271 haveit=
29272 for x in $LDFLAGS $LIBICONV; do
29274 acl_save_prefix="$prefix"
29275 prefix="$acl_final_prefix"
29276 acl_save_exec_prefix="$exec_prefix"
29277 exec_prefix="$acl_final_exec_prefix"
29278 eval x=\"$x\"
29279 exec_prefix="$acl_save_exec_prefix"
29280 prefix="$acl_save_prefix"
29282 if test "X$x" = "X-L$found_dir"; then
29283 haveit=yes
29284 break
29286 done
29287 if test -z "$haveit"; then
29288 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
29290 if test "$hardcode_minus_L" != no; then
29291 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
29292 else
29293 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29298 else
29299 if test "X$found_a" != "X"; then
29300 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
29301 else
29302 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
29305 additional_includedir=
29306 case "$found_dir" in
29307 */lib | */lib/)
29308 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
29309 additional_includedir="$basedir/include"
29311 esac
29312 if test "X$additional_includedir" != "X"; then
29313 if test "X$additional_includedir" != "X/usr/include"; then
29314 haveit=
29315 if test "X$additional_includedir" = "X/usr/local/include"; then
29316 if test -n "$GCC"; then
29317 case $host_os in
29318 linux*) haveit=yes;;
29319 esac
29322 if test -z "$haveit"; then
29323 for x in $CPPFLAGS $INCICONV; do
29325 acl_save_prefix="$prefix"
29326 prefix="$acl_final_prefix"
29327 acl_save_exec_prefix="$exec_prefix"
29328 exec_prefix="$acl_final_exec_prefix"
29329 eval x=\"$x\"
29330 exec_prefix="$acl_save_exec_prefix"
29331 prefix="$acl_save_prefix"
29333 if test "X$x" = "X-I$additional_includedir"; then
29334 haveit=yes
29335 break
29337 done
29338 if test -z "$haveit"; then
29339 if test -d "$additional_includedir"; then
29340 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
29346 if test -n "$found_la"; then
29347 save_libdir="$libdir"
29348 case "$found_la" in
29349 */* | *\\*) . "$found_la" ;;
29350 *) . "./$found_la" ;;
29351 esac
29352 libdir="$save_libdir"
29353 for dep in $dependency_libs; do
29354 case "$dep" in
29355 -L*)
29356 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
29357 if test "X$additional_libdir" != "X/usr/lib"; then
29358 haveit=
29359 if test "X$additional_libdir" = "X/usr/local/lib"; then
29360 if test -n "$GCC"; then
29361 case $host_os in
29362 linux*) haveit=yes;;
29363 esac
29366 if test -z "$haveit"; then
29367 haveit=
29368 for x in $LDFLAGS $LIBICONV; do
29370 acl_save_prefix="$prefix"
29371 prefix="$acl_final_prefix"
29372 acl_save_exec_prefix="$exec_prefix"
29373 exec_prefix="$acl_final_exec_prefix"
29374 eval x=\"$x\"
29375 exec_prefix="$acl_save_exec_prefix"
29376 prefix="$acl_save_prefix"
29378 if test "X$x" = "X-L$additional_libdir"; then
29379 haveit=yes
29380 break
29382 done
29383 if test -z "$haveit"; then
29384 if test -d "$additional_libdir"; then
29385 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
29388 haveit=
29389 for x in $LDFLAGS $LTLIBICONV; do
29391 acl_save_prefix="$prefix"
29392 prefix="$acl_final_prefix"
29393 acl_save_exec_prefix="$exec_prefix"
29394 exec_prefix="$acl_final_exec_prefix"
29395 eval x=\"$x\"
29396 exec_prefix="$acl_save_exec_prefix"
29397 prefix="$acl_save_prefix"
29399 if test "X$x" = "X-L$additional_libdir"; then
29400 haveit=yes
29401 break
29403 done
29404 if test -z "$haveit"; then
29405 if test -d "$additional_libdir"; then
29406 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
29412 -R*)
29413 dir=`echo "X$dep" | sed -e 's/^X-R//'`
29414 if test "$enable_rpath" != no; then
29415 haveit=
29416 for x in $rpathdirs; do
29417 if test "X$x" = "X$dir"; then
29418 haveit=yes
29419 break
29421 done
29422 if test -z "$haveit"; then
29423 rpathdirs="$rpathdirs $dir"
29425 haveit=
29426 for x in $ltrpathdirs; do
29427 if test "X$x" = "X$dir"; then
29428 haveit=yes
29429 break
29431 done
29432 if test -z "$haveit"; then
29433 ltrpathdirs="$ltrpathdirs $dir"
29437 -l*)
29438 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
29440 *.la)
29441 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
29444 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
29445 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
29447 esac
29448 done
29450 else
29451 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
29452 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
29453 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
29454 else
29455 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
29456 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
29461 done
29462 done
29463 if test "X$rpathdirs" != "X"; then
29464 if test -n "$hardcode_libdir_separator"; then
29465 alldirs=
29466 for found_dir in $rpathdirs; do
29467 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
29468 done
29469 acl_save_libdir="$libdir"
29470 libdir="$alldirs"
29471 eval flag=\"$hardcode_libdir_flag_spec\"
29472 libdir="$acl_save_libdir"
29473 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29474 else
29475 for found_dir in $rpathdirs; do
29476 acl_save_libdir="$libdir"
29477 libdir="$found_dir"
29478 eval flag=\"$hardcode_libdir_flag_spec\"
29479 libdir="$acl_save_libdir"
29480 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29481 done
29484 if test "X$ltrpathdirs" != "X"; then
29485 for found_dir in $ltrpathdirs; do
29486 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29487 done
29496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29497 $as_echo_n "checking for iconv... " >&6; }
29498 if ${am_cv_func_iconv+:} false; then :
29499 $as_echo_n "(cached) " >&6
29500 else
29502 am_cv_func_iconv="no, consider installing GNU libiconv"
29503 am_cv_lib_iconv=no
29504 am_save_CPPFLAGS="$CPPFLAGS"
29505 CPPFLAGS="$CPPFLAGS $INCICONV"
29506 if test x$gcc_no_link = xyes; then
29507 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29510 /* end confdefs.h. */
29511 #include <stdlib.h>
29512 #include <iconv.h>
29514 main ()
29516 iconv_t cd = iconv_open("","");
29517 iconv(cd,NULL,NULL,NULL,NULL);
29518 iconv_close(cd);
29520 return 0;
29522 _ACEOF
29523 if ac_fn_c_try_link "$LINENO"; then :
29524 am_cv_func_iconv=yes
29526 rm -f core conftest.err conftest.$ac_objext \
29527 conftest$ac_exeext conftest.$ac_ext
29528 CPPFLAGS="$am_save_CPPFLAGS"
29530 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29531 for _libs in .libs _libs; do
29532 am_save_CPPFLAGS="$CPPFLAGS"
29533 am_save_LIBS="$LIBS"
29534 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29535 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29536 if test x$gcc_no_link = xyes; then
29537 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29540 /* end confdefs.h. */
29541 #include <stdlib.h>
29542 #include <iconv.h>
29544 main ()
29546 iconv_t cd = iconv_open("","");
29547 iconv(cd,NULL,NULL,NULL,NULL);
29548 iconv_close(cd);
29550 return 0;
29552 _ACEOF
29553 if ac_fn_c_try_link "$LINENO"; then :
29554 INCICONV="-I../libiconv/include"
29555 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29556 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29557 am_cv_lib_iconv=yes
29558 am_cv_func_iconv=yes
29560 rm -f core conftest.err conftest.$ac_objext \
29561 conftest$ac_exeext conftest.$ac_ext
29562 CPPFLAGS="$am_save_CPPFLAGS"
29563 LIBS="$am_save_LIBS"
29564 if test "$am_cv_func_iconv" = "yes"; then
29565 break
29567 done
29570 if test "$am_cv_func_iconv" != yes; then
29571 am_save_CPPFLAGS="$CPPFLAGS"
29572 am_save_LIBS="$LIBS"
29573 CPPFLAGS="$CPPFLAGS $INCICONV"
29574 LIBS="$LIBS $LIBICONV"
29575 if test x$gcc_no_link = xyes; then
29576 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29579 /* end confdefs.h. */
29580 #include <stdlib.h>
29581 #include <iconv.h>
29583 main ()
29585 iconv_t cd = iconv_open("","");
29586 iconv(cd,NULL,NULL,NULL,NULL);
29587 iconv_close(cd);
29589 return 0;
29591 _ACEOF
29592 if ac_fn_c_try_link "$LINENO"; then :
29593 am_cv_lib_iconv=yes
29594 am_cv_func_iconv=yes
29596 rm -f core conftest.err conftest.$ac_objext \
29597 conftest$ac_exeext conftest.$ac_ext
29598 CPPFLAGS="$am_save_CPPFLAGS"
29599 LIBS="$am_save_LIBS"
29603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29604 $as_echo "$am_cv_func_iconv" >&6; }
29605 if test "$am_cv_func_iconv" = yes; then
29607 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29610 if test "$am_cv_lib_iconv" = yes; then
29612 for element in $INCICONV; do
29613 haveit=
29614 for x in $CPPFLAGS; do
29616 acl_save_prefix="$prefix"
29617 prefix="$acl_final_prefix"
29618 acl_save_exec_prefix="$exec_prefix"
29619 exec_prefix="$acl_final_exec_prefix"
29620 eval x=\"$x\"
29621 exec_prefix="$acl_save_exec_prefix"
29622 prefix="$acl_save_prefix"
29624 if test "X$x" = "X$element"; then
29625 haveit=yes
29626 break
29628 done
29629 if test -z "$haveit"; then
29630 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29632 done
29634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29635 $as_echo_n "checking how to link with libiconv... " >&6; }
29636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29637 $as_echo "$LIBICONV" >&6; }
29638 else
29639 LIBICONV=
29640 LTLIBICONV=
29645 if test "$am_cv_func_iconv" = yes; then
29646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29647 $as_echo_n "checking for iconv declaration... " >&6; }
29648 if ${am_cv_proto_iconv+:} false; then :
29649 $as_echo_n "(cached) " >&6
29650 else
29652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29653 /* end confdefs.h. */
29655 #include <stdlib.h>
29656 #include <iconv.h>
29657 extern
29658 #ifdef __cplusplus
29660 #endif
29661 #if defined(__STDC__) || defined(__cplusplus)
29662 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29663 #else
29664 size_t iconv();
29665 #endif
29668 main ()
29672 return 0;
29674 _ACEOF
29675 if ac_fn_c_try_compile "$LINENO"; then :
29676 am_cv_proto_iconv_arg1=""
29677 else
29678 am_cv_proto_iconv_arg1="const"
29680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29681 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);"
29684 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29686 }$am_cv_proto_iconv" >&5
29687 $as_echo "${ac_t:-
29688 }$am_cv_proto_iconv" >&6; }
29690 cat >>confdefs.h <<_ACEOF
29691 #define ICONV_CONST $am_cv_proto_iconv_arg1
29692 _ACEOF
29697 else
29699 # This lets us hard-code the functionality we know we'll have in the cross
29700 # target environment. "Let" is a sugar-coated word placed on an especially
29701 # dull and tedious hack, actually.
29703 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29704 # that involve linking, can't be used:
29705 # "cannot open sim-crt0.o"
29706 # "cannot open crt0.o"
29707 # etc. All this is because there currently exists no unified, consistent
29708 # way for top level CC information to be passed down to target directories:
29709 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29710 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29711 # crosses can be removed.
29713 # If Canadian cross, then don't pick up tools from the build directory.
29714 # Used only in GLIBCXX_EXPORT_INCLUDES.
29715 if test -n "$with_cross_host" &&
29716 test x"$build_alias" != x"$with_cross_host" &&
29717 test x"$build" != x"$target";
29718 then
29719 CANADIAN=yes
29720 else
29721 CANADIAN=no
29724 # Construct crosses by hand, eliminating bits that need ld...
29725 # GLIBCXX_CHECK_MATH_SUPPORT
29727 # First, test for "known" system libraries. We may be using newlib even
29728 # on a hosted environment.
29729 if test "x${with_newlib}" = "xyes"; then
29730 os_include_dir="os/newlib"
29731 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29734 # GLIBCXX_CHECK_STDLIB_SUPPORT
29735 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29738 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29740 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29742 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29744 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29746 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29748 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29750 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29752 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29754 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29756 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29758 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29760 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29762 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29764 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29766 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29768 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29770 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29772 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29774 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29776 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29778 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29780 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29783 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29785 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29788 case "${target}" in
29789 *-rtems*)
29790 case "${target}" in
29791 bfin* | lm32* | mips* | moxie* | or1k* | v850*)
29794 $as_echo "#define HAVE_TLS 1" >>confdefs.h
29797 esac
29798 $as_echo "#define HAVE_ALIGNED_ALLOC 1" >>confdefs.h
29800 $as_echo "#define HAVE_AT_QUICK_EXIT 1" >>confdefs.h
29802 $as_echo "#define HAVE_LINK 1" >>confdefs.h
29804 $as_echo "#define HAVE_QUICK_EXIT 1" >>confdefs.h
29806 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
29808 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
29810 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
29812 $as_echo "#define HAVE_SOCKATMARK 1" >>confdefs.h
29814 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
29816 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
29818 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
29820 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
29823 esac
29824 elif test "x$with_headers" != "xno"; then
29826 # Base decisions on target environment.
29827 case "${host}" in
29828 arm*-*-symbianelf*)
29829 # This is a freestanding configuration; there is nothing to do here.
29832 avr*-*-*)
29833 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29835 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29837 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29839 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29841 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29843 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29845 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29847 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29849 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29851 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29853 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29855 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29857 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29859 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29861 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29863 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29865 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29867 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29869 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29871 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29873 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29875 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29877 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29881 mips*-sde-elf*)
29882 # These definitions are for the SDE C library rather than newlib.
29883 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29886 # All these tests are for C++; save the language and the compiler flags.
29887 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29888 # found in GLIBCXX_CONFIGURE.
29890 ac_ext=cpp
29891 ac_cpp='$CXXCPP $CPPFLAGS'
29892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29896 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29897 ac_save_CXXFLAGS="$CXXFLAGS"
29899 # Check for -ffunction-sections -fdata-sections
29900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29901 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29902 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29904 /* end confdefs.h. */
29905 int foo; void bar() { };
29907 main ()
29911 return 0;
29913 _ACEOF
29914 if ac_fn_cxx_try_compile "$LINENO"; then :
29915 ac_fdsections=yes
29916 else
29917 ac_fdsections=no
29919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29920 if test "$ac_test_CXXFLAGS" = set; then
29921 CXXFLAGS="$ac_save_CXXFLAGS"
29922 else
29923 # this is the suspicious part
29924 CXXFLAGS=''
29926 if test x"$ac_fdsections" = x"yes"; then
29927 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29930 $as_echo "$ac_fdsections" >&6; }
29932 ac_ext=c
29933 ac_cpp='$CPP $CPPFLAGS'
29934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29941 # If we're not using GNU ld, then there's no point in even trying these
29942 # tests. Check for that first. We should have already tested for gld
29943 # by now (in libtool), but require it now just to be safe...
29944 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29945 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29949 # The name set by libtool depends on the version of libtool. Shame on us
29950 # for depending on an impl detail, but c'est la vie. Older versions used
29951 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29952 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29953 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29954 # set (hence we're using an older libtool), then set it.
29955 if test x${with_gnu_ld+set} != xset; then
29956 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29957 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29958 with_gnu_ld=no
29959 else
29960 with_gnu_ld=$ac_cv_prog_gnu_ld
29964 # Start by getting the version number. I think the libtool test already
29965 # does some of this, but throws away the result.
29966 glibcxx_ld_is_gold=no
29967 glibcxx_ld_is_mold=no
29968 if test x"$with_gnu_ld" = x"yes"; then
29969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29970 $as_echo_n "checking for ld version... " >&6; }
29972 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29973 glibcxx_ld_is_gold=yes
29974 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
29975 glibcxx_ld_is_mold=yes
29977 ldver=`$LD --version 2>/dev/null |
29978 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29980 glibcxx_gnu_ld_version=`echo $ldver | \
29981 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29983 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29986 # Set --gc-sections.
29987 glibcxx_have_gc_sections=no
29988 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
29989 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29990 glibcxx_have_gc_sections=yes
29992 else
29993 glibcxx_gcsections_min_ld=21602
29994 if test x"$with_gnu_ld" = x"yes" &&
29995 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29996 glibcxx_have_gc_sections=yes
29999 if test "$glibcxx_have_gc_sections" = "yes"; then
30000 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
30001 # NB: This flag only works reliably after 2.16.1. Configure tests
30002 # for this are difficult, so hard wire a value that should work.
30004 ac_test_CFLAGS="${CFLAGS+set}"
30005 ac_save_CFLAGS="$CFLAGS"
30006 CFLAGS='-Wl,--gc-sections'
30008 # Check for -Wl,--gc-sections
30009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
30010 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
30011 if test x$gcc_no_link = xyes; then
30012 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30015 /* end confdefs.h. */
30016 int one(void) { return 1; }
30017 int two(void) { return 2; }
30020 main ()
30022 two();
30024 return 0;
30026 _ACEOF
30027 if ac_fn_c_try_link "$LINENO"; then :
30028 ac_gcsections=yes
30029 else
30030 ac_gcsections=no
30032 rm -f core conftest.err conftest.$ac_objext \
30033 conftest$ac_exeext conftest.$ac_ext
30034 if test "$ac_gcsections" = "yes"; then
30035 rm -f conftest.c
30036 touch conftest.c
30037 if $CC -c conftest.c; then
30038 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
30039 grep "Warning: gc-sections option ignored" > /dev/null; then
30040 ac_gcsections=no
30043 rm -f conftest.c conftest.o conftest
30045 if test "$ac_gcsections" = "yes"; then
30046 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
30049 $as_echo "$ac_gcsections" >&6; }
30051 if test "$ac_test_CFLAGS" = set; then
30052 CFLAGS="$ac_save_CFLAGS"
30053 else
30054 # this is the suspicious part
30055 CFLAGS=''
30059 # Set -z,relro.
30060 # Note this is only for shared objects.
30061 ac_ld_relro=no
30062 if test x"$with_gnu_ld" = x"yes"; then
30063 # cygwin and mingw uses PE, which has no ELF relro support,
30064 # multi target ld may confuse configure machinery
30065 case "$host" in
30066 *-*-cygwin*)
30068 *-*-mingw*)
30071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
30072 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
30073 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
30074 if test -n "$cxx_z_relo"; then
30075 OPT_LDFLAGS="-Wl,-z,relro"
30076 ac_ld_relro=yes
30078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
30079 $as_echo "$ac_ld_relro" >&6; }
30080 esac
30083 # Set linker optimization flags.
30084 if test x"$with_gnu_ld" = x"yes"; then
30085 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
30092 ac_test_CXXFLAGS="${CXXFLAGS+set}"
30093 ac_save_CXXFLAGS="$CXXFLAGS"
30094 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
30096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
30097 $as_echo_n "checking for sin in -lm... " >&6; }
30098 if ${ac_cv_lib_m_sin+:} false; then :
30099 $as_echo_n "(cached) " >&6
30100 else
30101 ac_check_lib_save_LIBS=$LIBS
30102 LIBS="-lm $LIBS"
30103 if test x$gcc_no_link = xyes; then
30104 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
30106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30107 /* end confdefs.h. */
30109 /* Override any GCC internal prototype to avoid an error.
30110 Use char because int might match the return type of a GCC
30111 builtin and then its argument prototype would still apply. */
30112 #ifdef __cplusplus
30113 extern "C"
30114 #endif
30115 char sin ();
30117 main ()
30119 return sin ();
30121 return 0;
30123 _ACEOF
30124 if ac_fn_c_try_link "$LINENO"; then :
30125 ac_cv_lib_m_sin=yes
30126 else
30127 ac_cv_lib_m_sin=no
30129 rm -f core conftest.err conftest.$ac_objext \
30130 conftest$ac_exeext conftest.$ac_ext
30131 LIBS=$ac_check_lib_save_LIBS
30133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
30134 $as_echo "$ac_cv_lib_m_sin" >&6; }
30135 if test "x$ac_cv_lib_m_sin" = xyes; then :
30136 libm="-lm"
30139 ac_save_LIBS="$LIBS"
30140 LIBS="$LIBS $libm"
30144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
30145 $as_echo_n "checking for isinf declaration... " >&6; }
30146 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
30147 if ${glibcxx_cv_func_isinf_use+:} false; then :
30148 $as_echo_n "(cached) " >&6
30149 else
30152 ac_ext=cpp
30153 ac_cpp='$CXXCPP $CPPFLAGS'
30154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30160 #include <math.h>
30161 #ifdef HAVE_IEEEFP_H
30162 #include <ieeefp.h>
30163 #endif
30166 main ()
30168 isinf(0);
30170 return 0;
30172 _ACEOF
30173 if ac_fn_cxx_try_compile "$LINENO"; then :
30174 glibcxx_cv_func_isinf_use=yes
30175 else
30176 glibcxx_cv_func_isinf_use=no
30178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30179 ac_ext=c
30180 ac_cpp='$CPP $CPPFLAGS'
30181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
30190 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
30192 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
30193 for ac_func in isinf
30194 do :
30195 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
30196 if test "x$ac_cv_func_isinf" = xyes; then :
30197 cat >>confdefs.h <<_ACEOF
30198 #define HAVE_ISINF 1
30199 _ACEOF
30202 done
30204 else
30206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
30207 $as_echo_n "checking for _isinf declaration... " >&6; }
30208 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
30209 if ${glibcxx_cv_func__isinf_use+:} false; then :
30210 $as_echo_n "(cached) " >&6
30211 else
30214 ac_ext=cpp
30215 ac_cpp='$CXXCPP $CPPFLAGS'
30216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30221 /* end confdefs.h. */
30222 #include <math.h>
30223 #ifdef HAVE_IEEEFP_H
30224 #include <ieeefp.h>
30225 #endif
30228 main ()
30230 _isinf(0);
30232 return 0;
30234 _ACEOF
30235 if ac_fn_cxx_try_compile "$LINENO"; then :
30236 glibcxx_cv_func__isinf_use=yes
30237 else
30238 glibcxx_cv_func__isinf_use=no
30240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30241 ac_ext=c
30242 ac_cpp='$CPP $CPPFLAGS'
30243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
30252 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
30254 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
30255 for ac_func in _isinf
30256 do :
30257 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
30258 if test "x$ac_cv_func__isinf" = xyes; then :
30259 cat >>confdefs.h <<_ACEOF
30260 #define HAVE__ISINF 1
30261 _ACEOF
30264 done
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
30274 $as_echo_n "checking for isnan declaration... " >&6; }
30275 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
30276 if ${glibcxx_cv_func_isnan_use+:} false; then :
30277 $as_echo_n "(cached) " >&6
30278 else
30281 ac_ext=cpp
30282 ac_cpp='$CXXCPP $CPPFLAGS'
30283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30288 /* end confdefs.h. */
30289 #include <math.h>
30290 #ifdef HAVE_IEEEFP_H
30291 #include <ieeefp.h>
30292 #endif
30295 main ()
30297 isnan(0);
30299 return 0;
30301 _ACEOF
30302 if ac_fn_cxx_try_compile "$LINENO"; then :
30303 glibcxx_cv_func_isnan_use=yes
30304 else
30305 glibcxx_cv_func_isnan_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_isnan_use" >&5
30319 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
30321 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
30322 for ac_func in isnan
30323 do :
30324 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
30325 if test "x$ac_cv_func_isnan" = xyes; then :
30326 cat >>confdefs.h <<_ACEOF
30327 #define HAVE_ISNAN 1
30328 _ACEOF
30331 done
30333 else
30335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
30336 $as_echo_n "checking for _isnan declaration... " >&6; }
30337 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
30338 if ${glibcxx_cv_func__isnan_use+:} false; then :
30339 $as_echo_n "(cached) " >&6
30340 else
30343 ac_ext=cpp
30344 ac_cpp='$CXXCPP $CPPFLAGS'
30345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30350 /* end confdefs.h. */
30351 #include <math.h>
30352 #ifdef HAVE_IEEEFP_H
30353 #include <ieeefp.h>
30354 #endif
30357 main ()
30359 _isnan(0);
30361 return 0;
30363 _ACEOF
30364 if ac_fn_cxx_try_compile "$LINENO"; then :
30365 glibcxx_cv_func__isnan_use=yes
30366 else
30367 glibcxx_cv_func__isnan_use=no
30369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30370 ac_ext=c
30371 ac_cpp='$CPP $CPPFLAGS'
30372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
30381 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
30383 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
30384 for ac_func in _isnan
30385 do :
30386 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
30387 if test "x$ac_cv_func__isnan" = xyes; then :
30388 cat >>confdefs.h <<_ACEOF
30389 #define HAVE__ISNAN 1
30390 _ACEOF
30393 done
30402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
30403 $as_echo_n "checking for finite declaration... " >&6; }
30404 if test x${glibcxx_cv_func_finite_use+set} != xset; then
30405 if ${glibcxx_cv_func_finite_use+:} false; 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 finite(0);
30428 return 0;
30430 _ACEOF
30431 if ac_fn_cxx_try_compile "$LINENO"; then :
30432 glibcxx_cv_func_finite_use=yes
30433 else
30434 glibcxx_cv_func_finite_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_finite_use" >&5
30448 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
30450 if test x$glibcxx_cv_func_finite_use = x"yes"; then
30451 for ac_func in finite
30452 do :
30453 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
30454 if test "x$ac_cv_func_finite" = xyes; then :
30455 cat >>confdefs.h <<_ACEOF
30456 #define HAVE_FINITE 1
30457 _ACEOF
30460 done
30462 else
30464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
30465 $as_echo_n "checking for _finite declaration... " >&6; }
30466 if test x${glibcxx_cv_func__finite_use+set} != xset; then
30467 if ${glibcxx_cv_func__finite_use+:} false; then :
30468 $as_echo_n "(cached) " >&6
30469 else
30472 ac_ext=cpp
30473 ac_cpp='$CXXCPP $CPPFLAGS'
30474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30479 /* end confdefs.h. */
30480 #include <math.h>
30481 #ifdef HAVE_IEEEFP_H
30482 #include <ieeefp.h>
30483 #endif
30486 main ()
30488 _finite(0);
30490 return 0;
30492 _ACEOF
30493 if ac_fn_cxx_try_compile "$LINENO"; then :
30494 glibcxx_cv_func__finite_use=yes
30495 else
30496 glibcxx_cv_func__finite_use=no
30498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30499 ac_ext=c
30500 ac_cpp='$CPP $CPPFLAGS'
30501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
30510 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
30512 if test x$glibcxx_cv_func__finite_use = x"yes"; then
30513 for ac_func in _finite
30514 do :
30515 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
30516 if test "x$ac_cv_func__finite" = xyes; then :
30517 cat >>confdefs.h <<_ACEOF
30518 #define HAVE__FINITE 1
30519 _ACEOF
30522 done
30531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30532 $as_echo_n "checking for sincos declaration... " >&6; }
30533 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30534 if ${glibcxx_cv_func_sincos_use+:} false; 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>
30549 main ()
30551 sincos(0, 0, 0);
30553 return 0;
30555 _ACEOF
30556 if ac_fn_cxx_try_compile "$LINENO"; then :
30557 glibcxx_cv_func_sincos_use=yes
30558 else
30559 glibcxx_cv_func_sincos_use=no
30561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30562 ac_ext=c
30563 ac_cpp='$CPP $CPPFLAGS'
30564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30573 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30575 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30576 for ac_func in sincos
30577 do :
30578 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30579 if test "x$ac_cv_func_sincos" = xyes; then :
30580 cat >>confdefs.h <<_ACEOF
30581 #define HAVE_SINCOS 1
30582 _ACEOF
30585 done
30587 else
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30590 $as_echo_n "checking for _sincos declaration... " >&6; }
30591 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30592 if ${glibcxx_cv_func__sincos_use+:} false; then :
30593 $as_echo_n "(cached) " >&6
30594 else
30597 ac_ext=cpp
30598 ac_cpp='$CXXCPP $CPPFLAGS'
30599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30604 /* end confdefs.h. */
30605 #include <math.h>
30607 main ()
30609 _sincos(0, 0, 0);
30611 return 0;
30613 _ACEOF
30614 if ac_fn_cxx_try_compile "$LINENO"; then :
30615 glibcxx_cv_func__sincos_use=yes
30616 else
30617 glibcxx_cv_func__sincos_use=no
30619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30620 ac_ext=c
30621 ac_cpp='$CPP $CPPFLAGS'
30622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30631 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30633 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30634 for ac_func in _sincos
30635 do :
30636 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30637 if test "x$ac_cv_func__sincos" = xyes; then :
30638 cat >>confdefs.h <<_ACEOF
30639 #define HAVE__SINCOS 1
30640 _ACEOF
30643 done
30652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30653 $as_echo_n "checking for fpclass declaration... " >&6; }
30654 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30655 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30656 $as_echo_n "(cached) " >&6
30657 else
30660 ac_ext=cpp
30661 ac_cpp='$CXXCPP $CPPFLAGS'
30662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30667 /* end confdefs.h. */
30668 #include <math.h>
30669 #ifdef HAVE_IEEEFP_H
30670 #include <ieeefp.h>
30671 #endif
30674 main ()
30676 fpclass(0);
30678 return 0;
30680 _ACEOF
30681 if ac_fn_cxx_try_compile "$LINENO"; then :
30682 glibcxx_cv_func_fpclass_use=yes
30683 else
30684 glibcxx_cv_func_fpclass_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_fpclass_use" >&5
30698 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30700 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30701 for ac_func in fpclass
30702 do :
30703 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30704 if test "x$ac_cv_func_fpclass" = xyes; then :
30705 cat >>confdefs.h <<_ACEOF
30706 #define HAVE_FPCLASS 1
30707 _ACEOF
30710 done
30712 else
30714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30715 $as_echo_n "checking for _fpclass declaration... " >&6; }
30716 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30717 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30718 $as_echo_n "(cached) " >&6
30719 else
30722 ac_ext=cpp
30723 ac_cpp='$CXXCPP $CPPFLAGS'
30724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30729 /* end confdefs.h. */
30730 #include <math.h>
30731 #ifdef HAVE_IEEEFP_H
30732 #include <ieeefp.h>
30733 #endif
30736 main ()
30738 _fpclass(0);
30740 return 0;
30742 _ACEOF
30743 if ac_fn_cxx_try_compile "$LINENO"; then :
30744 glibcxx_cv_func__fpclass_use=yes
30745 else
30746 glibcxx_cv_func__fpclass_use=no
30748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30749 ac_ext=c
30750 ac_cpp='$CPP $CPPFLAGS'
30751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30760 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30762 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30763 for ac_func in _fpclass
30764 do :
30765 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30766 if test "x$ac_cv_func__fpclass" = xyes; then :
30767 cat >>confdefs.h <<_ACEOF
30768 #define HAVE__FPCLASS 1
30769 _ACEOF
30772 done
30781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30782 $as_echo_n "checking for qfpclass declaration... " >&6; }
30783 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30784 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30785 $as_echo_n "(cached) " >&6
30786 else
30789 ac_ext=cpp
30790 ac_cpp='$CXXCPP $CPPFLAGS'
30791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30796 /* end confdefs.h. */
30797 #include <math.h>
30798 #ifdef HAVE_IEEEFP_H
30799 #include <ieeefp.h>
30800 #endif
30803 main ()
30805 qfpclass(0);
30807 return 0;
30809 _ACEOF
30810 if ac_fn_cxx_try_compile "$LINENO"; then :
30811 glibcxx_cv_func_qfpclass_use=yes
30812 else
30813 glibcxx_cv_func_qfpclass_use=no
30815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30816 ac_ext=c
30817 ac_cpp='$CPP $CPPFLAGS'
30818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30827 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30829 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30830 for ac_func in qfpclass
30831 do :
30832 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30833 if test "x$ac_cv_func_qfpclass" = xyes; then :
30834 cat >>confdefs.h <<_ACEOF
30835 #define HAVE_QFPCLASS 1
30836 _ACEOF
30839 done
30841 else
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30844 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30845 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30846 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30847 $as_echo_n "(cached) " >&6
30848 else
30851 ac_ext=cpp
30852 ac_cpp='$CXXCPP $CPPFLAGS'
30853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30858 /* end confdefs.h. */
30859 #include <math.h>
30860 #ifdef HAVE_IEEEFP_H
30861 #include <ieeefp.h>
30862 #endif
30865 main ()
30867 _qfpclass(0);
30869 return 0;
30871 _ACEOF
30872 if ac_fn_cxx_try_compile "$LINENO"; then :
30873 glibcxx_cv_func__qfpclass_use=yes
30874 else
30875 glibcxx_cv_func__qfpclass_use=no
30877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30878 ac_ext=c
30879 ac_cpp='$CPP $CPPFLAGS'
30880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30889 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30891 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30892 for ac_func in _qfpclass
30893 do :
30894 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30895 if test "x$ac_cv_func__qfpclass" = xyes; then :
30896 cat >>confdefs.h <<_ACEOF
30897 #define HAVE__QFPCLASS 1
30898 _ACEOF
30901 done
30910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30911 $as_echo_n "checking for hypot declaration... " >&6; }
30912 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30913 if ${glibcxx_cv_func_hypot_use+:} false; then :
30914 $as_echo_n "(cached) " >&6
30915 else
30918 ac_ext=cpp
30919 ac_cpp='$CXXCPP $CPPFLAGS'
30920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30925 /* end confdefs.h. */
30926 #include <math.h>
30928 main ()
30930 hypot(0, 0);
30932 return 0;
30934 _ACEOF
30935 if ac_fn_cxx_try_compile "$LINENO"; then :
30936 glibcxx_cv_func_hypot_use=yes
30937 else
30938 glibcxx_cv_func_hypot_use=no
30940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30941 ac_ext=c
30942 ac_cpp='$CPP $CPPFLAGS'
30943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30952 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30954 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30955 for ac_func in hypot
30956 do :
30957 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30958 if test "x$ac_cv_func_hypot" = xyes; then :
30959 cat >>confdefs.h <<_ACEOF
30960 #define HAVE_HYPOT 1
30961 _ACEOF
30964 done
30966 else
30968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30969 $as_echo_n "checking for _hypot declaration... " >&6; }
30970 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30971 if ${glibcxx_cv_func__hypot_use+:} false; then :
30972 $as_echo_n "(cached) " >&6
30973 else
30976 ac_ext=cpp
30977 ac_cpp='$CXXCPP $CPPFLAGS'
30978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30983 /* end confdefs.h. */
30984 #include <math.h>
30986 main ()
30988 _hypot(0, 0);
30990 return 0;
30992 _ACEOF
30993 if ac_fn_cxx_try_compile "$LINENO"; then :
30994 glibcxx_cv_func__hypot_use=yes
30995 else
30996 glibcxx_cv_func__hypot_use=no
30998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30999 ac_ext=c
31000 ac_cpp='$CPP $CPPFLAGS'
31001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
31010 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
31012 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
31013 for ac_func in _hypot
31014 do :
31015 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
31016 if test "x$ac_cv_func__hypot" = xyes; then :
31017 cat >>confdefs.h <<_ACEOF
31018 #define HAVE__HYPOT 1
31019 _ACEOF
31022 done
31031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
31032 $as_echo_n "checking for float trig functions... " >&6; }
31033 if ${glibcxx_cv_func_float_trig_use+:} false; then :
31034 $as_echo_n "(cached) " >&6
31035 else
31038 ac_ext=cpp
31039 ac_cpp='$CXXCPP $CPPFLAGS'
31040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31045 /* end confdefs.h. */
31046 #include <math.h>
31048 main ()
31050 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
31052 return 0;
31054 _ACEOF
31055 if ac_fn_cxx_try_compile "$LINENO"; then :
31056 glibcxx_cv_func_float_trig_use=yes
31057 else
31058 glibcxx_cv_func_float_trig_use=no
31060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31061 ac_ext=c
31062 ac_cpp='$CPP $CPPFLAGS'
31063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
31070 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
31071 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
31072 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
31073 do :
31074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31076 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31077 cat >>confdefs.h <<_ACEOF
31078 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31079 _ACEOF
31082 done
31084 else
31085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
31086 $as_echo_n "checking for _float trig functions... " >&6; }
31087 if ${glibcxx_cv_func__float_trig_use+:} false; then :
31088 $as_echo_n "(cached) " >&6
31089 else
31092 ac_ext=cpp
31093 ac_cpp='$CXXCPP $CPPFLAGS'
31094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31099 /* end confdefs.h. */
31100 #include <math.h>
31102 main ()
31104 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
31106 return 0;
31108 _ACEOF
31109 if ac_fn_cxx_try_compile "$LINENO"; then :
31110 glibcxx_cv_func__float_trig_use=yes
31111 else
31112 glibcxx_cv_func__float_trig_use=no
31114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31115 ac_ext=c
31116 ac_cpp='$CPP $CPPFLAGS'
31117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
31124 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
31125 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
31126 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
31127 do :
31128 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31129 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31130 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31131 cat >>confdefs.h <<_ACEOF
31132 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31133 _ACEOF
31136 done
31145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
31146 $as_echo_n "checking for float round functions... " >&6; }
31147 if ${glibcxx_cv_func_float_round_use+:} false; 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>
31162 main ()
31164 ceilf (0); floorf (0);
31166 return 0;
31168 _ACEOF
31169 if ac_fn_cxx_try_compile "$LINENO"; then :
31170 glibcxx_cv_func_float_round_use=yes
31171 else
31172 glibcxx_cv_func_float_round_use=no
31174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31175 ac_ext=c
31176 ac_cpp='$CPP $CPPFLAGS'
31177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
31184 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
31185 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
31186 for ac_func in ceilf floorf
31187 do :
31188 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31189 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31190 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31191 cat >>confdefs.h <<_ACEOF
31192 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31193 _ACEOF
31196 done
31198 else
31199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
31200 $as_echo_n "checking for _float round functions... " >&6; }
31201 if ${glibcxx_cv_func__float_round_use+:} false; then :
31202 $as_echo_n "(cached) " >&6
31203 else
31206 ac_ext=cpp
31207 ac_cpp='$CXXCPP $CPPFLAGS'
31208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31213 /* end confdefs.h. */
31214 #include <math.h>
31216 main ()
31218 _ceilf (0); _floorf (0);
31220 return 0;
31222 _ACEOF
31223 if ac_fn_cxx_try_compile "$LINENO"; then :
31224 glibcxx_cv_func__float_round_use=yes
31225 else
31226 glibcxx_cv_func__float_round_use=no
31228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31229 ac_ext=c
31230 ac_cpp='$CPP $CPPFLAGS'
31231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
31238 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
31239 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
31240 for ac_func in _ceilf _floorf
31241 do :
31242 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31243 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31244 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
31245 cat >>confdefs.h <<_ACEOF
31246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31247 _ACEOF
31250 done
31260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
31261 $as_echo_n "checking for expf declaration... " >&6; }
31262 if test x${glibcxx_cv_func_expf_use+set} != xset; then
31263 if ${glibcxx_cv_func_expf_use+:} false; then :
31264 $as_echo_n "(cached) " >&6
31265 else
31268 ac_ext=cpp
31269 ac_cpp='$CXXCPP $CPPFLAGS'
31270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31275 /* end confdefs.h. */
31276 #include <math.h>
31277 #ifdef HAVE_IEEEFP_H
31278 #include <ieeefp.h>
31279 #endif
31282 main ()
31284 expf(0);
31286 return 0;
31288 _ACEOF
31289 if ac_fn_cxx_try_compile "$LINENO"; then :
31290 glibcxx_cv_func_expf_use=yes
31291 else
31292 glibcxx_cv_func_expf_use=no
31294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31295 ac_ext=c
31296 ac_cpp='$CPP $CPPFLAGS'
31297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
31306 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
31308 if test x$glibcxx_cv_func_expf_use = x"yes"; then
31309 for ac_func in expf
31310 do :
31311 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
31312 if test "x$ac_cv_func_expf" = xyes; then :
31313 cat >>confdefs.h <<_ACEOF
31314 #define HAVE_EXPF 1
31315 _ACEOF
31318 done
31320 else
31322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
31323 $as_echo_n "checking for _expf declaration... " >&6; }
31324 if test x${glibcxx_cv_func__expf_use+set} != xset; then
31325 if ${glibcxx_cv_func__expf_use+:} false; then :
31326 $as_echo_n "(cached) " >&6
31327 else
31330 ac_ext=cpp
31331 ac_cpp='$CXXCPP $CPPFLAGS'
31332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31337 /* end confdefs.h. */
31338 #include <math.h>
31339 #ifdef HAVE_IEEEFP_H
31340 #include <ieeefp.h>
31341 #endif
31344 main ()
31346 _expf(0);
31348 return 0;
31350 _ACEOF
31351 if ac_fn_cxx_try_compile "$LINENO"; then :
31352 glibcxx_cv_func__expf_use=yes
31353 else
31354 glibcxx_cv_func__expf_use=no
31356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31357 ac_ext=c
31358 ac_cpp='$CPP $CPPFLAGS'
31359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
31368 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
31370 if test x$glibcxx_cv_func__expf_use = x"yes"; then
31371 for ac_func in _expf
31372 do :
31373 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
31374 if test "x$ac_cv_func__expf" = xyes; then :
31375 cat >>confdefs.h <<_ACEOF
31376 #define HAVE__EXPF 1
31377 _ACEOF
31380 done
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
31390 $as_echo_n "checking for isnanf declaration... " >&6; }
31391 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
31392 if ${glibcxx_cv_func_isnanf_use+:} false; then :
31393 $as_echo_n "(cached) " >&6
31394 else
31397 ac_ext=cpp
31398 ac_cpp='$CXXCPP $CPPFLAGS'
31399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31404 /* end confdefs.h. */
31405 #include <math.h>
31406 #ifdef HAVE_IEEEFP_H
31407 #include <ieeefp.h>
31408 #endif
31411 main ()
31413 isnanf(0);
31415 return 0;
31417 _ACEOF
31418 if ac_fn_cxx_try_compile "$LINENO"; then :
31419 glibcxx_cv_func_isnanf_use=yes
31420 else
31421 glibcxx_cv_func_isnanf_use=no
31423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31424 ac_ext=c
31425 ac_cpp='$CPP $CPPFLAGS'
31426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
31435 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
31437 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
31438 for ac_func in isnanf
31439 do :
31440 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
31441 if test "x$ac_cv_func_isnanf" = xyes; then :
31442 cat >>confdefs.h <<_ACEOF
31443 #define HAVE_ISNANF 1
31444 _ACEOF
31447 done
31449 else
31451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
31452 $as_echo_n "checking for _isnanf declaration... " >&6; }
31453 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
31454 if ${glibcxx_cv_func__isnanf_use+:} false; then :
31455 $as_echo_n "(cached) " >&6
31456 else
31459 ac_ext=cpp
31460 ac_cpp='$CXXCPP $CPPFLAGS'
31461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31466 /* end confdefs.h. */
31467 #include <math.h>
31468 #ifdef HAVE_IEEEFP_H
31469 #include <ieeefp.h>
31470 #endif
31473 main ()
31475 _isnanf(0);
31477 return 0;
31479 _ACEOF
31480 if ac_fn_cxx_try_compile "$LINENO"; then :
31481 glibcxx_cv_func__isnanf_use=yes
31482 else
31483 glibcxx_cv_func__isnanf_use=no
31485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31486 ac_ext=c
31487 ac_cpp='$CPP $CPPFLAGS'
31488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
31497 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
31499 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
31500 for ac_func in _isnanf
31501 do :
31502 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
31503 if test "x$ac_cv_func__isnanf" = xyes; then :
31504 cat >>confdefs.h <<_ACEOF
31505 #define HAVE__ISNANF 1
31506 _ACEOF
31509 done
31518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
31519 $as_echo_n "checking for isinff declaration... " >&6; }
31520 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
31521 if ${glibcxx_cv_func_isinff_use+:} false; then :
31522 $as_echo_n "(cached) " >&6
31523 else
31526 ac_ext=cpp
31527 ac_cpp='$CXXCPP $CPPFLAGS'
31528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31533 /* end confdefs.h. */
31534 #include <math.h>
31535 #ifdef HAVE_IEEEFP_H
31536 #include <ieeefp.h>
31537 #endif
31540 main ()
31542 isinff(0);
31544 return 0;
31546 _ACEOF
31547 if ac_fn_cxx_try_compile "$LINENO"; then :
31548 glibcxx_cv_func_isinff_use=yes
31549 else
31550 glibcxx_cv_func_isinff_use=no
31552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31553 ac_ext=c
31554 ac_cpp='$CPP $CPPFLAGS'
31555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31564 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31566 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31567 for ac_func in isinff
31568 do :
31569 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31570 if test "x$ac_cv_func_isinff" = xyes; then :
31571 cat >>confdefs.h <<_ACEOF
31572 #define HAVE_ISINFF 1
31573 _ACEOF
31576 done
31578 else
31580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31581 $as_echo_n "checking for _isinff declaration... " >&6; }
31582 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31583 if ${glibcxx_cv_func__isinff_use+:} false; then :
31584 $as_echo_n "(cached) " >&6
31585 else
31588 ac_ext=cpp
31589 ac_cpp='$CXXCPP $CPPFLAGS'
31590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31595 /* end confdefs.h. */
31596 #include <math.h>
31597 #ifdef HAVE_IEEEFP_H
31598 #include <ieeefp.h>
31599 #endif
31602 main ()
31604 _isinff(0);
31606 return 0;
31608 _ACEOF
31609 if ac_fn_cxx_try_compile "$LINENO"; then :
31610 glibcxx_cv_func__isinff_use=yes
31611 else
31612 glibcxx_cv_func__isinff_use=no
31614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31615 ac_ext=c
31616 ac_cpp='$CPP $CPPFLAGS'
31617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31626 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31628 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31629 for ac_func in _isinff
31630 do :
31631 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31632 if test "x$ac_cv_func__isinff" = xyes; then :
31633 cat >>confdefs.h <<_ACEOF
31634 #define HAVE__ISINFF 1
31635 _ACEOF
31638 done
31647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31648 $as_echo_n "checking for atan2f declaration... " >&6; }
31649 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31650 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31651 $as_echo_n "(cached) " >&6
31652 else
31655 ac_ext=cpp
31656 ac_cpp='$CXXCPP $CPPFLAGS'
31657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31662 /* end confdefs.h. */
31663 #include <math.h>
31665 main ()
31667 atan2f(0, 0);
31669 return 0;
31671 _ACEOF
31672 if ac_fn_cxx_try_compile "$LINENO"; then :
31673 glibcxx_cv_func_atan2f_use=yes
31674 else
31675 glibcxx_cv_func_atan2f_use=no
31677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31678 ac_ext=c
31679 ac_cpp='$CPP $CPPFLAGS'
31680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31689 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31691 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31692 for ac_func in atan2f
31693 do :
31694 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31695 if test "x$ac_cv_func_atan2f" = xyes; then :
31696 cat >>confdefs.h <<_ACEOF
31697 #define HAVE_ATAN2F 1
31698 _ACEOF
31701 done
31703 else
31705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31706 $as_echo_n "checking for _atan2f declaration... " >&6; }
31707 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31708 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31709 $as_echo_n "(cached) " >&6
31710 else
31713 ac_ext=cpp
31714 ac_cpp='$CXXCPP $CPPFLAGS'
31715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31720 /* end confdefs.h. */
31721 #include <math.h>
31723 main ()
31725 _atan2f(0, 0);
31727 return 0;
31729 _ACEOF
31730 if ac_fn_cxx_try_compile "$LINENO"; then :
31731 glibcxx_cv_func__atan2f_use=yes
31732 else
31733 glibcxx_cv_func__atan2f_use=no
31735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31736 ac_ext=c
31737 ac_cpp='$CPP $CPPFLAGS'
31738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31747 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31749 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31750 for ac_func in _atan2f
31751 do :
31752 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31753 if test "x$ac_cv_func__atan2f" = xyes; then :
31754 cat >>confdefs.h <<_ACEOF
31755 #define HAVE__ATAN2F 1
31756 _ACEOF
31759 done
31768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31769 $as_echo_n "checking for fabsf declaration... " >&6; }
31770 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31771 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31772 $as_echo_n "(cached) " >&6
31773 else
31776 ac_ext=cpp
31777 ac_cpp='$CXXCPP $CPPFLAGS'
31778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31783 /* end confdefs.h. */
31784 #include <math.h>
31785 #ifdef HAVE_IEEEFP_H
31786 #include <ieeefp.h>
31787 #endif
31790 main ()
31792 fabsf(0);
31794 return 0;
31796 _ACEOF
31797 if ac_fn_cxx_try_compile "$LINENO"; then :
31798 glibcxx_cv_func_fabsf_use=yes
31799 else
31800 glibcxx_cv_func_fabsf_use=no
31802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31803 ac_ext=c
31804 ac_cpp='$CPP $CPPFLAGS'
31805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31814 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31816 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31817 for ac_func in fabsf
31818 do :
31819 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31820 if test "x$ac_cv_func_fabsf" = xyes; then :
31821 cat >>confdefs.h <<_ACEOF
31822 #define HAVE_FABSF 1
31823 _ACEOF
31826 done
31828 else
31830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31831 $as_echo_n "checking for _fabsf declaration... " >&6; }
31832 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31833 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31834 $as_echo_n "(cached) " >&6
31835 else
31838 ac_ext=cpp
31839 ac_cpp='$CXXCPP $CPPFLAGS'
31840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31845 /* end confdefs.h. */
31846 #include <math.h>
31847 #ifdef HAVE_IEEEFP_H
31848 #include <ieeefp.h>
31849 #endif
31852 main ()
31854 _fabsf(0);
31856 return 0;
31858 _ACEOF
31859 if ac_fn_cxx_try_compile "$LINENO"; then :
31860 glibcxx_cv_func__fabsf_use=yes
31861 else
31862 glibcxx_cv_func__fabsf_use=no
31864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31865 ac_ext=c
31866 ac_cpp='$CPP $CPPFLAGS'
31867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31876 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31878 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31879 for ac_func in _fabsf
31880 do :
31881 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31882 if test "x$ac_cv_func__fabsf" = xyes; then :
31883 cat >>confdefs.h <<_ACEOF
31884 #define HAVE__FABSF 1
31885 _ACEOF
31888 done
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31898 $as_echo_n "checking for fmodf declaration... " >&6; }
31899 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31900 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31901 $as_echo_n "(cached) " >&6
31902 else
31905 ac_ext=cpp
31906 ac_cpp='$CXXCPP $CPPFLAGS'
31907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31912 /* end confdefs.h. */
31913 #include <math.h>
31915 main ()
31917 fmodf(0, 0);
31919 return 0;
31921 _ACEOF
31922 if ac_fn_cxx_try_compile "$LINENO"; then :
31923 glibcxx_cv_func_fmodf_use=yes
31924 else
31925 glibcxx_cv_func_fmodf_use=no
31927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31928 ac_ext=c
31929 ac_cpp='$CPP $CPPFLAGS'
31930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31939 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31941 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31942 for ac_func in fmodf
31943 do :
31944 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31945 if test "x$ac_cv_func_fmodf" = xyes; then :
31946 cat >>confdefs.h <<_ACEOF
31947 #define HAVE_FMODF 1
31948 _ACEOF
31951 done
31953 else
31955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31956 $as_echo_n "checking for _fmodf declaration... " >&6; }
31957 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31958 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31959 $as_echo_n "(cached) " >&6
31960 else
31963 ac_ext=cpp
31964 ac_cpp='$CXXCPP $CPPFLAGS'
31965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31970 /* end confdefs.h. */
31971 #include <math.h>
31973 main ()
31975 _fmodf(0, 0);
31977 return 0;
31979 _ACEOF
31980 if ac_fn_cxx_try_compile "$LINENO"; then :
31981 glibcxx_cv_func__fmodf_use=yes
31982 else
31983 glibcxx_cv_func__fmodf_use=no
31985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31986 ac_ext=c
31987 ac_cpp='$CPP $CPPFLAGS'
31988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31997 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31999 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
32000 for ac_func in _fmodf
32001 do :
32002 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
32003 if test "x$ac_cv_func__fmodf" = xyes; then :
32004 cat >>confdefs.h <<_ACEOF
32005 #define HAVE__FMODF 1
32006 _ACEOF
32009 done
32018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
32019 $as_echo_n "checking for frexpf declaration... " >&6; }
32020 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
32021 if ${glibcxx_cv_func_frexpf_use+:} false; then :
32022 $as_echo_n "(cached) " >&6
32023 else
32026 ac_ext=cpp
32027 ac_cpp='$CXXCPP $CPPFLAGS'
32028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32033 /* end confdefs.h. */
32034 #include <math.h>
32036 main ()
32038 frexpf(0, 0);
32040 return 0;
32042 _ACEOF
32043 if ac_fn_cxx_try_compile "$LINENO"; then :
32044 glibcxx_cv_func_frexpf_use=yes
32045 else
32046 glibcxx_cv_func_frexpf_use=no
32048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32049 ac_ext=c
32050 ac_cpp='$CPP $CPPFLAGS'
32051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
32060 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
32062 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
32063 for ac_func in frexpf
32064 do :
32065 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
32066 if test "x$ac_cv_func_frexpf" = xyes; then :
32067 cat >>confdefs.h <<_ACEOF
32068 #define HAVE_FREXPF 1
32069 _ACEOF
32072 done
32074 else
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
32077 $as_echo_n "checking for _frexpf declaration... " >&6; }
32078 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
32079 if ${glibcxx_cv_func__frexpf_use+:} false; then :
32080 $as_echo_n "(cached) " >&6
32081 else
32084 ac_ext=cpp
32085 ac_cpp='$CXXCPP $CPPFLAGS'
32086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32091 /* end confdefs.h. */
32092 #include <math.h>
32094 main ()
32096 _frexpf(0, 0);
32098 return 0;
32100 _ACEOF
32101 if ac_fn_cxx_try_compile "$LINENO"; then :
32102 glibcxx_cv_func__frexpf_use=yes
32103 else
32104 glibcxx_cv_func__frexpf_use=no
32106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32107 ac_ext=c
32108 ac_cpp='$CPP $CPPFLAGS'
32109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
32118 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
32120 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
32121 for ac_func in _frexpf
32122 do :
32123 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
32124 if test "x$ac_cv_func__frexpf" = xyes; then :
32125 cat >>confdefs.h <<_ACEOF
32126 #define HAVE__FREXPF 1
32127 _ACEOF
32130 done
32139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
32140 $as_echo_n "checking for hypotf declaration... " >&6; }
32141 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
32142 if ${glibcxx_cv_func_hypotf_use+:} false; then :
32143 $as_echo_n "(cached) " >&6
32144 else
32147 ac_ext=cpp
32148 ac_cpp='$CXXCPP $CPPFLAGS'
32149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32154 /* end confdefs.h. */
32155 #include <math.h>
32157 main ()
32159 hypotf(0, 0);
32161 return 0;
32163 _ACEOF
32164 if ac_fn_cxx_try_compile "$LINENO"; then :
32165 glibcxx_cv_func_hypotf_use=yes
32166 else
32167 glibcxx_cv_func_hypotf_use=no
32169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32170 ac_ext=c
32171 ac_cpp='$CPP $CPPFLAGS'
32172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
32181 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
32183 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
32184 for ac_func in hypotf
32185 do :
32186 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
32187 if test "x$ac_cv_func_hypotf" = xyes; then :
32188 cat >>confdefs.h <<_ACEOF
32189 #define HAVE_HYPOTF 1
32190 _ACEOF
32193 done
32195 else
32197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
32198 $as_echo_n "checking for _hypotf declaration... " >&6; }
32199 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
32200 if ${glibcxx_cv_func__hypotf_use+:} false; then :
32201 $as_echo_n "(cached) " >&6
32202 else
32205 ac_ext=cpp
32206 ac_cpp='$CXXCPP $CPPFLAGS'
32207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32212 /* end confdefs.h. */
32213 #include <math.h>
32215 main ()
32217 _hypotf(0, 0);
32219 return 0;
32221 _ACEOF
32222 if ac_fn_cxx_try_compile "$LINENO"; then :
32223 glibcxx_cv_func__hypotf_use=yes
32224 else
32225 glibcxx_cv_func__hypotf_use=no
32227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32228 ac_ext=c
32229 ac_cpp='$CPP $CPPFLAGS'
32230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
32239 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
32241 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
32242 for ac_func in _hypotf
32243 do :
32244 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
32245 if test "x$ac_cv_func__hypotf" = xyes; then :
32246 cat >>confdefs.h <<_ACEOF
32247 #define HAVE__HYPOTF 1
32248 _ACEOF
32251 done
32260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
32261 $as_echo_n "checking for ldexpf declaration... " >&6; }
32262 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
32263 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
32264 $as_echo_n "(cached) " >&6
32265 else
32268 ac_ext=cpp
32269 ac_cpp='$CXXCPP $CPPFLAGS'
32270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32275 /* end confdefs.h. */
32276 #include <math.h>
32278 main ()
32280 ldexpf(0, 0);
32282 return 0;
32284 _ACEOF
32285 if ac_fn_cxx_try_compile "$LINENO"; then :
32286 glibcxx_cv_func_ldexpf_use=yes
32287 else
32288 glibcxx_cv_func_ldexpf_use=no
32290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32291 ac_ext=c
32292 ac_cpp='$CPP $CPPFLAGS'
32293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
32302 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
32304 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
32305 for ac_func in ldexpf
32306 do :
32307 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
32308 if test "x$ac_cv_func_ldexpf" = xyes; then :
32309 cat >>confdefs.h <<_ACEOF
32310 #define HAVE_LDEXPF 1
32311 _ACEOF
32314 done
32316 else
32318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
32319 $as_echo_n "checking for _ldexpf declaration... " >&6; }
32320 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
32321 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
32322 $as_echo_n "(cached) " >&6
32323 else
32326 ac_ext=cpp
32327 ac_cpp='$CXXCPP $CPPFLAGS'
32328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32333 /* end confdefs.h. */
32334 #include <math.h>
32336 main ()
32338 _ldexpf(0, 0);
32340 return 0;
32342 _ACEOF
32343 if ac_fn_cxx_try_compile "$LINENO"; then :
32344 glibcxx_cv_func__ldexpf_use=yes
32345 else
32346 glibcxx_cv_func__ldexpf_use=no
32348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32349 ac_ext=c
32350 ac_cpp='$CPP $CPPFLAGS'
32351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
32360 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
32362 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
32363 for ac_func in _ldexpf
32364 do :
32365 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
32366 if test "x$ac_cv_func__ldexpf" = xyes; then :
32367 cat >>confdefs.h <<_ACEOF
32368 #define HAVE__LDEXPF 1
32369 _ACEOF
32372 done
32381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
32382 $as_echo_n "checking for logf declaration... " >&6; }
32383 if test x${glibcxx_cv_func_logf_use+set} != xset; then
32384 if ${glibcxx_cv_func_logf_use+:} false; then :
32385 $as_echo_n "(cached) " >&6
32386 else
32389 ac_ext=cpp
32390 ac_cpp='$CXXCPP $CPPFLAGS'
32391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32396 /* end confdefs.h. */
32397 #include <math.h>
32398 #ifdef HAVE_IEEEFP_H
32399 #include <ieeefp.h>
32400 #endif
32403 main ()
32405 logf(0);
32407 return 0;
32409 _ACEOF
32410 if ac_fn_cxx_try_compile "$LINENO"; then :
32411 glibcxx_cv_func_logf_use=yes
32412 else
32413 glibcxx_cv_func_logf_use=no
32415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32416 ac_ext=c
32417 ac_cpp='$CPP $CPPFLAGS'
32418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
32427 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
32429 if test x$glibcxx_cv_func_logf_use = x"yes"; then
32430 for ac_func in logf
32431 do :
32432 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
32433 if test "x$ac_cv_func_logf" = xyes; then :
32434 cat >>confdefs.h <<_ACEOF
32435 #define HAVE_LOGF 1
32436 _ACEOF
32439 done
32441 else
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
32444 $as_echo_n "checking for _logf declaration... " >&6; }
32445 if test x${glibcxx_cv_func__logf_use+set} != xset; then
32446 if ${glibcxx_cv_func__logf_use+:} false; then :
32447 $as_echo_n "(cached) " >&6
32448 else
32451 ac_ext=cpp
32452 ac_cpp='$CXXCPP $CPPFLAGS'
32453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32458 /* end confdefs.h. */
32459 #include <math.h>
32460 #ifdef HAVE_IEEEFP_H
32461 #include <ieeefp.h>
32462 #endif
32465 main ()
32467 _logf(0);
32469 return 0;
32471 _ACEOF
32472 if ac_fn_cxx_try_compile "$LINENO"; then :
32473 glibcxx_cv_func__logf_use=yes
32474 else
32475 glibcxx_cv_func__logf_use=no
32477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32478 ac_ext=c
32479 ac_cpp='$CPP $CPPFLAGS'
32480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
32489 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
32491 if test x$glibcxx_cv_func__logf_use = x"yes"; then
32492 for ac_func in _logf
32493 do :
32494 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
32495 if test "x$ac_cv_func__logf" = xyes; then :
32496 cat >>confdefs.h <<_ACEOF
32497 #define HAVE__LOGF 1
32498 _ACEOF
32501 done
32510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
32511 $as_echo_n "checking for log10f declaration... " >&6; }
32512 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
32513 if ${glibcxx_cv_func_log10f_use+:} false; then :
32514 $as_echo_n "(cached) " >&6
32515 else
32518 ac_ext=cpp
32519 ac_cpp='$CXXCPP $CPPFLAGS'
32520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32525 /* end confdefs.h. */
32526 #include <math.h>
32527 #ifdef HAVE_IEEEFP_H
32528 #include <ieeefp.h>
32529 #endif
32532 main ()
32534 log10f(0);
32536 return 0;
32538 _ACEOF
32539 if ac_fn_cxx_try_compile "$LINENO"; then :
32540 glibcxx_cv_func_log10f_use=yes
32541 else
32542 glibcxx_cv_func_log10f_use=no
32544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32545 ac_ext=c
32546 ac_cpp='$CPP $CPPFLAGS'
32547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32556 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32558 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32559 for ac_func in log10f
32560 do :
32561 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32562 if test "x$ac_cv_func_log10f" = xyes; then :
32563 cat >>confdefs.h <<_ACEOF
32564 #define HAVE_LOG10F 1
32565 _ACEOF
32568 done
32570 else
32572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32573 $as_echo_n "checking for _log10f declaration... " >&6; }
32574 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32575 if ${glibcxx_cv_func__log10f_use+:} false; then :
32576 $as_echo_n "(cached) " >&6
32577 else
32580 ac_ext=cpp
32581 ac_cpp='$CXXCPP $CPPFLAGS'
32582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32587 /* end confdefs.h. */
32588 #include <math.h>
32589 #ifdef HAVE_IEEEFP_H
32590 #include <ieeefp.h>
32591 #endif
32594 main ()
32596 _log10f(0);
32598 return 0;
32600 _ACEOF
32601 if ac_fn_cxx_try_compile "$LINENO"; then :
32602 glibcxx_cv_func__log10f_use=yes
32603 else
32604 glibcxx_cv_func__log10f_use=no
32606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32607 ac_ext=c
32608 ac_cpp='$CPP $CPPFLAGS'
32609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32618 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32620 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32621 for ac_func in _log10f
32622 do :
32623 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32624 if test "x$ac_cv_func__log10f" = xyes; then :
32625 cat >>confdefs.h <<_ACEOF
32626 #define HAVE__LOG10F 1
32627 _ACEOF
32630 done
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32640 $as_echo_n "checking for modff declaration... " >&6; }
32641 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32642 if ${glibcxx_cv_func_modff_use+:} false; then :
32643 $as_echo_n "(cached) " >&6
32644 else
32647 ac_ext=cpp
32648 ac_cpp='$CXXCPP $CPPFLAGS'
32649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32654 /* end confdefs.h. */
32655 #include <math.h>
32657 main ()
32659 modff(0, 0);
32661 return 0;
32663 _ACEOF
32664 if ac_fn_cxx_try_compile "$LINENO"; then :
32665 glibcxx_cv_func_modff_use=yes
32666 else
32667 glibcxx_cv_func_modff_use=no
32669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32670 ac_ext=c
32671 ac_cpp='$CPP $CPPFLAGS'
32672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32681 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32683 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32684 for ac_func in modff
32685 do :
32686 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32687 if test "x$ac_cv_func_modff" = xyes; then :
32688 cat >>confdefs.h <<_ACEOF
32689 #define HAVE_MODFF 1
32690 _ACEOF
32693 done
32695 else
32697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32698 $as_echo_n "checking for _modff declaration... " >&6; }
32699 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32700 if ${glibcxx_cv_func__modff_use+:} false; then :
32701 $as_echo_n "(cached) " >&6
32702 else
32705 ac_ext=cpp
32706 ac_cpp='$CXXCPP $CPPFLAGS'
32707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32712 /* end confdefs.h. */
32713 #include <math.h>
32715 main ()
32717 _modff(0, 0);
32719 return 0;
32721 _ACEOF
32722 if ac_fn_cxx_try_compile "$LINENO"; then :
32723 glibcxx_cv_func__modff_use=yes
32724 else
32725 glibcxx_cv_func__modff_use=no
32727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32728 ac_ext=c
32729 ac_cpp='$CPP $CPPFLAGS'
32730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32739 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32741 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32742 for ac_func in _modff
32743 do :
32744 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32745 if test "x$ac_cv_func__modff" = xyes; then :
32746 cat >>confdefs.h <<_ACEOF
32747 #define HAVE__MODFF 1
32748 _ACEOF
32751 done
32760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32761 $as_echo_n "checking for modf declaration... " >&6; }
32762 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32763 if ${glibcxx_cv_func_modf_use+:} false; then :
32764 $as_echo_n "(cached) " >&6
32765 else
32768 ac_ext=cpp
32769 ac_cpp='$CXXCPP $CPPFLAGS'
32770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32775 /* end confdefs.h. */
32776 #include <math.h>
32778 main ()
32780 modf(0, 0);
32782 return 0;
32784 _ACEOF
32785 if ac_fn_cxx_try_compile "$LINENO"; then :
32786 glibcxx_cv_func_modf_use=yes
32787 else
32788 glibcxx_cv_func_modf_use=no
32790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32791 ac_ext=c
32792 ac_cpp='$CPP $CPPFLAGS'
32793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32802 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32804 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32805 for ac_func in modf
32806 do :
32807 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32808 if test "x$ac_cv_func_modf" = xyes; then :
32809 cat >>confdefs.h <<_ACEOF
32810 #define HAVE_MODF 1
32811 _ACEOF
32814 done
32816 else
32818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32819 $as_echo_n "checking for _modf declaration... " >&6; }
32820 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32821 if ${glibcxx_cv_func__modf_use+:} false; then :
32822 $as_echo_n "(cached) " >&6
32823 else
32826 ac_ext=cpp
32827 ac_cpp='$CXXCPP $CPPFLAGS'
32828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32833 /* end confdefs.h. */
32834 #include <math.h>
32836 main ()
32838 _modf(0, 0);
32840 return 0;
32842 _ACEOF
32843 if ac_fn_cxx_try_compile "$LINENO"; then :
32844 glibcxx_cv_func__modf_use=yes
32845 else
32846 glibcxx_cv_func__modf_use=no
32848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32849 ac_ext=c
32850 ac_cpp='$CPP $CPPFLAGS'
32851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32860 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32862 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32863 for ac_func in _modf
32864 do :
32865 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32866 if test "x$ac_cv_func__modf" = xyes; then :
32867 cat >>confdefs.h <<_ACEOF
32868 #define HAVE__MODF 1
32869 _ACEOF
32872 done
32881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32882 $as_echo_n "checking for powf declaration... " >&6; }
32883 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32884 if ${glibcxx_cv_func_powf_use+:} false; then :
32885 $as_echo_n "(cached) " >&6
32886 else
32889 ac_ext=cpp
32890 ac_cpp='$CXXCPP $CPPFLAGS'
32891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32896 /* end confdefs.h. */
32897 #include <math.h>
32899 main ()
32901 powf(0, 0);
32903 return 0;
32905 _ACEOF
32906 if ac_fn_cxx_try_compile "$LINENO"; then :
32907 glibcxx_cv_func_powf_use=yes
32908 else
32909 glibcxx_cv_func_powf_use=no
32911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32912 ac_ext=c
32913 ac_cpp='$CPP $CPPFLAGS'
32914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32923 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32925 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32926 for ac_func in powf
32927 do :
32928 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32929 if test "x$ac_cv_func_powf" = xyes; then :
32930 cat >>confdefs.h <<_ACEOF
32931 #define HAVE_POWF 1
32932 _ACEOF
32935 done
32937 else
32939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32940 $as_echo_n "checking for _powf declaration... " >&6; }
32941 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32942 if ${glibcxx_cv_func__powf_use+:} false; 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>
32957 main ()
32959 _powf(0, 0);
32961 return 0;
32963 _ACEOF
32964 if ac_fn_cxx_try_compile "$LINENO"; then :
32965 glibcxx_cv_func__powf_use=yes
32966 else
32967 glibcxx_cv_func__powf_use=no
32969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32970 ac_ext=c
32971 ac_cpp='$CPP $CPPFLAGS'
32972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32981 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32983 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32984 for ac_func in _powf
32985 do :
32986 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32987 if test "x$ac_cv_func__powf" = xyes; then :
32988 cat >>confdefs.h <<_ACEOF
32989 #define HAVE__POWF 1
32990 _ACEOF
32993 done
33002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
33003 $as_echo_n "checking for sqrtf declaration... " >&6; }
33004 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
33005 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
33006 $as_echo_n "(cached) " >&6
33007 else
33010 ac_ext=cpp
33011 ac_cpp='$CXXCPP $CPPFLAGS'
33012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33017 /* end confdefs.h. */
33018 #include <math.h>
33019 #ifdef HAVE_IEEEFP_H
33020 #include <ieeefp.h>
33021 #endif
33024 main ()
33026 sqrtf(0);
33028 return 0;
33030 _ACEOF
33031 if ac_fn_cxx_try_compile "$LINENO"; then :
33032 glibcxx_cv_func_sqrtf_use=yes
33033 else
33034 glibcxx_cv_func_sqrtf_use=no
33036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33037 ac_ext=c
33038 ac_cpp='$CPP $CPPFLAGS'
33039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
33048 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
33050 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
33051 for ac_func in sqrtf
33052 do :
33053 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
33054 if test "x$ac_cv_func_sqrtf" = xyes; then :
33055 cat >>confdefs.h <<_ACEOF
33056 #define HAVE_SQRTF 1
33057 _ACEOF
33060 done
33062 else
33064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
33065 $as_echo_n "checking for _sqrtf declaration... " >&6; }
33066 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
33067 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
33068 $as_echo_n "(cached) " >&6
33069 else
33072 ac_ext=cpp
33073 ac_cpp='$CXXCPP $CPPFLAGS'
33074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33079 /* end confdefs.h. */
33080 #include <math.h>
33081 #ifdef HAVE_IEEEFP_H
33082 #include <ieeefp.h>
33083 #endif
33086 main ()
33088 _sqrtf(0);
33090 return 0;
33092 _ACEOF
33093 if ac_fn_cxx_try_compile "$LINENO"; then :
33094 glibcxx_cv_func__sqrtf_use=yes
33095 else
33096 glibcxx_cv_func__sqrtf_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__sqrtf_use" >&5
33110 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
33112 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
33113 for ac_func in _sqrtf
33114 do :
33115 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
33116 if test "x$ac_cv_func__sqrtf" = xyes; then :
33117 cat >>confdefs.h <<_ACEOF
33118 #define HAVE__SQRTF 1
33119 _ACEOF
33122 done
33131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
33132 $as_echo_n "checking for sincosf declaration... " >&6; }
33133 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
33134 if ${glibcxx_cv_func_sincosf_use+:} false; then :
33135 $as_echo_n "(cached) " >&6
33136 else
33139 ac_ext=cpp
33140 ac_cpp='$CXXCPP $CPPFLAGS'
33141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33146 /* end confdefs.h. */
33147 #include <math.h>
33149 main ()
33151 sincosf(0, 0, 0);
33153 return 0;
33155 _ACEOF
33156 if ac_fn_cxx_try_compile "$LINENO"; then :
33157 glibcxx_cv_func_sincosf_use=yes
33158 else
33159 glibcxx_cv_func_sincosf_use=no
33161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33162 ac_ext=c
33163 ac_cpp='$CPP $CPPFLAGS'
33164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
33173 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
33175 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
33176 for ac_func in sincosf
33177 do :
33178 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
33179 if test "x$ac_cv_func_sincosf" = xyes; then :
33180 cat >>confdefs.h <<_ACEOF
33181 #define HAVE_SINCOSF 1
33182 _ACEOF
33185 done
33187 else
33189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
33190 $as_echo_n "checking for _sincosf declaration... " >&6; }
33191 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33192 if ${glibcxx_cv_func__sincosf_use+:} false; then :
33193 $as_echo_n "(cached) " >&6
33194 else
33197 ac_ext=cpp
33198 ac_cpp='$CXXCPP $CPPFLAGS'
33199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33204 /* end confdefs.h. */
33205 #include <math.h>
33207 main ()
33209 _sincosf(0, 0, 0);
33211 return 0;
33213 _ACEOF
33214 if ac_fn_cxx_try_compile "$LINENO"; then :
33215 glibcxx_cv_func__sincosf_use=yes
33216 else
33217 glibcxx_cv_func__sincosf_use=no
33219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33220 ac_ext=c
33221 ac_cpp='$CPP $CPPFLAGS'
33222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
33231 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
33233 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33234 for ac_func in _sincosf
33235 do :
33236 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
33237 if test "x$ac_cv_func__sincosf" = xyes; then :
33238 cat >>confdefs.h <<_ACEOF
33239 #define HAVE__SINCOSF 1
33240 _ACEOF
33243 done
33252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
33253 $as_echo_n "checking for finitef declaration... " >&6; }
33254 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33255 if ${glibcxx_cv_func_finitef_use+:} false; then :
33256 $as_echo_n "(cached) " >&6
33257 else
33260 ac_ext=cpp
33261 ac_cpp='$CXXCPP $CPPFLAGS'
33262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33267 /* end confdefs.h. */
33268 #include <math.h>
33269 #ifdef HAVE_IEEEFP_H
33270 #include <ieeefp.h>
33271 #endif
33274 main ()
33276 finitef(0);
33278 return 0;
33280 _ACEOF
33281 if ac_fn_cxx_try_compile "$LINENO"; then :
33282 glibcxx_cv_func_finitef_use=yes
33283 else
33284 glibcxx_cv_func_finitef_use=no
33286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33287 ac_ext=c
33288 ac_cpp='$CPP $CPPFLAGS'
33289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
33298 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
33300 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33301 for ac_func in finitef
33302 do :
33303 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
33304 if test "x$ac_cv_func_finitef" = xyes; then :
33305 cat >>confdefs.h <<_ACEOF
33306 #define HAVE_FINITEF 1
33307 _ACEOF
33310 done
33312 else
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
33315 $as_echo_n "checking for _finitef declaration... " >&6; }
33316 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33317 if ${glibcxx_cv_func__finitef_use+:} false; then :
33318 $as_echo_n "(cached) " >&6
33319 else
33322 ac_ext=cpp
33323 ac_cpp='$CXXCPP $CPPFLAGS'
33324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33329 /* end confdefs.h. */
33330 #include <math.h>
33331 #ifdef HAVE_IEEEFP_H
33332 #include <ieeefp.h>
33333 #endif
33336 main ()
33338 _finitef(0);
33340 return 0;
33342 _ACEOF
33343 if ac_fn_cxx_try_compile "$LINENO"; then :
33344 glibcxx_cv_func__finitef_use=yes
33345 else
33346 glibcxx_cv_func__finitef_use=no
33348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33349 ac_ext=c
33350 ac_cpp='$CPP $CPPFLAGS'
33351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
33360 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
33362 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33363 for ac_func in _finitef
33364 do :
33365 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
33366 if test "x$ac_cv_func__finitef" = xyes; then :
33367 cat >>confdefs.h <<_ACEOF
33368 #define HAVE__FINITEF 1
33369 _ACEOF
33372 done
33381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
33382 $as_echo_n "checking for long double trig functions... " >&6; }
33383 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
33384 $as_echo_n "(cached) " >&6
33385 else
33388 ac_ext=cpp
33389 ac_cpp='$CXXCPP $CPPFLAGS'
33390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33395 /* end confdefs.h. */
33396 #include <math.h>
33398 main ()
33400 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33402 return 0;
33404 _ACEOF
33405 if ac_fn_cxx_try_compile "$LINENO"; then :
33406 glibcxx_cv_func_long_double_trig_use=yes
33407 else
33408 glibcxx_cv_func_long_double_trig_use=no
33410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33411 ac_ext=c
33412 ac_cpp='$CPP $CPPFLAGS'
33413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
33420 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
33421 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33422 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33423 do :
33424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33426 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33427 cat >>confdefs.h <<_ACEOF
33428 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33429 _ACEOF
33432 done
33434 else
33435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
33436 $as_echo_n "checking for _long double trig functions... " >&6; }
33437 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
33438 $as_echo_n "(cached) " >&6
33439 else
33442 ac_ext=cpp
33443 ac_cpp='$CXXCPP $CPPFLAGS'
33444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33449 /* end confdefs.h. */
33450 #include <math.h>
33452 main ()
33454 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
33456 return 0;
33458 _ACEOF
33459 if ac_fn_cxx_try_compile "$LINENO"; then :
33460 glibcxx_cv_func__long_double_trig_use=yes
33461 else
33462 glibcxx_cv_func__long_double_trig_use=no
33464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33465 ac_ext=c
33466 ac_cpp='$CPP $CPPFLAGS'
33467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
33474 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
33475 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
33476 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
33477 do :
33478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33480 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33481 cat >>confdefs.h <<_ACEOF
33482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33483 _ACEOF
33486 done
33495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
33496 $as_echo_n "checking for long double round functions... " >&6; }
33497 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
33498 $as_echo_n "(cached) " >&6
33499 else
33502 ac_ext=cpp
33503 ac_cpp='$CXXCPP $CPPFLAGS'
33504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33509 /* end confdefs.h. */
33510 #include <math.h>
33512 main ()
33514 ceill (0); floorl (0);
33516 return 0;
33518 _ACEOF
33519 if ac_fn_cxx_try_compile "$LINENO"; then :
33520 glibcxx_cv_func_long_double_round_use=yes
33521 else
33522 glibcxx_cv_func_long_double_round_use=no
33524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33525 ac_ext=c
33526 ac_cpp='$CPP $CPPFLAGS'
33527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33534 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33535 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33536 for ac_func in ceill floorl
33537 do :
33538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33540 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33541 cat >>confdefs.h <<_ACEOF
33542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33543 _ACEOF
33546 done
33548 else
33549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33550 $as_echo_n "checking for _long double round functions... " >&6; }
33551 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33552 $as_echo_n "(cached) " >&6
33553 else
33556 ac_ext=cpp
33557 ac_cpp='$CXXCPP $CPPFLAGS'
33558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33563 /* end confdefs.h. */
33564 #include <math.h>
33566 main ()
33568 _ceill (0); _floorl (0);
33570 return 0;
33572 _ACEOF
33573 if ac_fn_cxx_try_compile "$LINENO"; then :
33574 glibcxx_cv_func__long_double_round_use=yes
33575 else
33576 glibcxx_cv_func__long_double_round_use=no
33578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33579 ac_ext=c
33580 ac_cpp='$CPP $CPPFLAGS'
33581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33588 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33589 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33590 for ac_func in _ceill _floorl
33591 do :
33592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33594 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33595 cat >>confdefs.h <<_ACEOF
33596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33597 _ACEOF
33600 done
33610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33611 $as_echo_n "checking for isnanl declaration... " >&6; }
33612 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33613 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33614 $as_echo_n "(cached) " >&6
33615 else
33618 ac_ext=cpp
33619 ac_cpp='$CXXCPP $CPPFLAGS'
33620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33625 /* end confdefs.h. */
33626 #include <math.h>
33627 #ifdef HAVE_IEEEFP_H
33628 #include <ieeefp.h>
33629 #endif
33632 main ()
33634 isnanl(0);
33636 return 0;
33638 _ACEOF
33639 if ac_fn_cxx_try_compile "$LINENO"; then :
33640 glibcxx_cv_func_isnanl_use=yes
33641 else
33642 glibcxx_cv_func_isnanl_use=no
33644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33645 ac_ext=c
33646 ac_cpp='$CPP $CPPFLAGS'
33647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33656 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33658 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33659 for ac_func in isnanl
33660 do :
33661 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33662 if test "x$ac_cv_func_isnanl" = xyes; then :
33663 cat >>confdefs.h <<_ACEOF
33664 #define HAVE_ISNANL 1
33665 _ACEOF
33668 done
33670 else
33672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33673 $as_echo_n "checking for _isnanl declaration... " >&6; }
33674 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33675 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33676 $as_echo_n "(cached) " >&6
33677 else
33680 ac_ext=cpp
33681 ac_cpp='$CXXCPP $CPPFLAGS'
33682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33687 /* end confdefs.h. */
33688 #include <math.h>
33689 #ifdef HAVE_IEEEFP_H
33690 #include <ieeefp.h>
33691 #endif
33694 main ()
33696 _isnanl(0);
33698 return 0;
33700 _ACEOF
33701 if ac_fn_cxx_try_compile "$LINENO"; then :
33702 glibcxx_cv_func__isnanl_use=yes
33703 else
33704 glibcxx_cv_func__isnanl_use=no
33706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33707 ac_ext=c
33708 ac_cpp='$CPP $CPPFLAGS'
33709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33718 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33720 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33721 for ac_func in _isnanl
33722 do :
33723 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33724 if test "x$ac_cv_func__isnanl" = xyes; then :
33725 cat >>confdefs.h <<_ACEOF
33726 #define HAVE__ISNANL 1
33727 _ACEOF
33730 done
33739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33740 $as_echo_n "checking for isinfl declaration... " >&6; }
33741 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33742 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33743 $as_echo_n "(cached) " >&6
33744 else
33747 ac_ext=cpp
33748 ac_cpp='$CXXCPP $CPPFLAGS'
33749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33754 /* end confdefs.h. */
33755 #include <math.h>
33756 #ifdef HAVE_IEEEFP_H
33757 #include <ieeefp.h>
33758 #endif
33761 main ()
33763 isinfl(0);
33765 return 0;
33767 _ACEOF
33768 if ac_fn_cxx_try_compile "$LINENO"; then :
33769 glibcxx_cv_func_isinfl_use=yes
33770 else
33771 glibcxx_cv_func_isinfl_use=no
33773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33774 ac_ext=c
33775 ac_cpp='$CPP $CPPFLAGS'
33776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33785 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33787 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33788 for ac_func in isinfl
33789 do :
33790 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33791 if test "x$ac_cv_func_isinfl" = xyes; then :
33792 cat >>confdefs.h <<_ACEOF
33793 #define HAVE_ISINFL 1
33794 _ACEOF
33797 done
33799 else
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33802 $as_echo_n "checking for _isinfl declaration... " >&6; }
33803 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33804 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33805 $as_echo_n "(cached) " >&6
33806 else
33809 ac_ext=cpp
33810 ac_cpp='$CXXCPP $CPPFLAGS'
33811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33816 /* end confdefs.h. */
33817 #include <math.h>
33818 #ifdef HAVE_IEEEFP_H
33819 #include <ieeefp.h>
33820 #endif
33823 main ()
33825 _isinfl(0);
33827 return 0;
33829 _ACEOF
33830 if ac_fn_cxx_try_compile "$LINENO"; then :
33831 glibcxx_cv_func__isinfl_use=yes
33832 else
33833 glibcxx_cv_func__isinfl_use=no
33835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33836 ac_ext=c
33837 ac_cpp='$CPP $CPPFLAGS'
33838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33847 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33849 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33850 for ac_func in _isinfl
33851 do :
33852 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33853 if test "x$ac_cv_func__isinfl" = xyes; then :
33854 cat >>confdefs.h <<_ACEOF
33855 #define HAVE__ISINFL 1
33856 _ACEOF
33859 done
33868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33869 $as_echo_n "checking for atan2l declaration... " >&6; }
33870 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33871 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33872 $as_echo_n "(cached) " >&6
33873 else
33876 ac_ext=cpp
33877 ac_cpp='$CXXCPP $CPPFLAGS'
33878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33883 /* end confdefs.h. */
33884 #include <math.h>
33886 main ()
33888 atan2l(0, 0);
33890 return 0;
33892 _ACEOF
33893 if ac_fn_cxx_try_compile "$LINENO"; then :
33894 glibcxx_cv_func_atan2l_use=yes
33895 else
33896 glibcxx_cv_func_atan2l_use=no
33898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33899 ac_ext=c
33900 ac_cpp='$CPP $CPPFLAGS'
33901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33910 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33912 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33913 for ac_func in atan2l
33914 do :
33915 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33916 if test "x$ac_cv_func_atan2l" = xyes; then :
33917 cat >>confdefs.h <<_ACEOF
33918 #define HAVE_ATAN2L 1
33919 _ACEOF
33922 done
33924 else
33926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33927 $as_echo_n "checking for _atan2l declaration... " >&6; }
33928 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33929 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33930 $as_echo_n "(cached) " >&6
33931 else
33934 ac_ext=cpp
33935 ac_cpp='$CXXCPP $CPPFLAGS'
33936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33941 /* end confdefs.h. */
33942 #include <math.h>
33944 main ()
33946 _atan2l(0, 0);
33948 return 0;
33950 _ACEOF
33951 if ac_fn_cxx_try_compile "$LINENO"; then :
33952 glibcxx_cv_func__atan2l_use=yes
33953 else
33954 glibcxx_cv_func__atan2l_use=no
33956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33957 ac_ext=c
33958 ac_cpp='$CPP $CPPFLAGS'
33959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33968 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33970 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33971 for ac_func in _atan2l
33972 do :
33973 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33974 if test "x$ac_cv_func__atan2l" = xyes; then :
33975 cat >>confdefs.h <<_ACEOF
33976 #define HAVE__ATAN2L 1
33977 _ACEOF
33980 done
33989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33990 $as_echo_n "checking for expl declaration... " >&6; }
33991 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33992 if ${glibcxx_cv_func_expl_use+:} false; then :
33993 $as_echo_n "(cached) " >&6
33994 else
33997 ac_ext=cpp
33998 ac_cpp='$CXXCPP $CPPFLAGS'
33999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34004 /* end confdefs.h. */
34005 #include <math.h>
34006 #ifdef HAVE_IEEEFP_H
34007 #include <ieeefp.h>
34008 #endif
34011 main ()
34013 expl(0);
34015 return 0;
34017 _ACEOF
34018 if ac_fn_cxx_try_compile "$LINENO"; then :
34019 glibcxx_cv_func_expl_use=yes
34020 else
34021 glibcxx_cv_func_expl_use=no
34023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34024 ac_ext=c
34025 ac_cpp='$CPP $CPPFLAGS'
34026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
34035 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
34037 if test x$glibcxx_cv_func_expl_use = x"yes"; then
34038 for ac_func in expl
34039 do :
34040 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
34041 if test "x$ac_cv_func_expl" = xyes; then :
34042 cat >>confdefs.h <<_ACEOF
34043 #define HAVE_EXPL 1
34044 _ACEOF
34047 done
34049 else
34051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
34052 $as_echo_n "checking for _expl declaration... " >&6; }
34053 if test x${glibcxx_cv_func__expl_use+set} != xset; then
34054 if ${glibcxx_cv_func__expl_use+:} false; then :
34055 $as_echo_n "(cached) " >&6
34056 else
34059 ac_ext=cpp
34060 ac_cpp='$CXXCPP $CPPFLAGS'
34061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34066 /* end confdefs.h. */
34067 #include <math.h>
34068 #ifdef HAVE_IEEEFP_H
34069 #include <ieeefp.h>
34070 #endif
34073 main ()
34075 _expl(0);
34077 return 0;
34079 _ACEOF
34080 if ac_fn_cxx_try_compile "$LINENO"; then :
34081 glibcxx_cv_func__expl_use=yes
34082 else
34083 glibcxx_cv_func__expl_use=no
34085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34086 ac_ext=c
34087 ac_cpp='$CPP $CPPFLAGS'
34088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
34097 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
34099 if test x$glibcxx_cv_func__expl_use = x"yes"; then
34100 for ac_func in _expl
34101 do :
34102 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
34103 if test "x$ac_cv_func__expl" = xyes; then :
34104 cat >>confdefs.h <<_ACEOF
34105 #define HAVE__EXPL 1
34106 _ACEOF
34109 done
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
34119 $as_echo_n "checking for fabsl declaration... " >&6; }
34120 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
34121 if ${glibcxx_cv_func_fabsl_use+:} false; then :
34122 $as_echo_n "(cached) " >&6
34123 else
34126 ac_ext=cpp
34127 ac_cpp='$CXXCPP $CPPFLAGS'
34128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34133 /* end confdefs.h. */
34134 #include <math.h>
34135 #ifdef HAVE_IEEEFP_H
34136 #include <ieeefp.h>
34137 #endif
34140 main ()
34142 fabsl(0);
34144 return 0;
34146 _ACEOF
34147 if ac_fn_cxx_try_compile "$LINENO"; then :
34148 glibcxx_cv_func_fabsl_use=yes
34149 else
34150 glibcxx_cv_func_fabsl_use=no
34152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34153 ac_ext=c
34154 ac_cpp='$CPP $CPPFLAGS'
34155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
34164 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
34166 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
34167 for ac_func in fabsl
34168 do :
34169 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
34170 if test "x$ac_cv_func_fabsl" = xyes; then :
34171 cat >>confdefs.h <<_ACEOF
34172 #define HAVE_FABSL 1
34173 _ACEOF
34176 done
34178 else
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
34181 $as_echo_n "checking for _fabsl declaration... " >&6; }
34182 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
34183 if ${glibcxx_cv_func__fabsl_use+:} false; 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>
34197 #ifdef HAVE_IEEEFP_H
34198 #include <ieeefp.h>
34199 #endif
34202 main ()
34204 _fabsl(0);
34206 return 0;
34208 _ACEOF
34209 if ac_fn_cxx_try_compile "$LINENO"; then :
34210 glibcxx_cv_func__fabsl_use=yes
34211 else
34212 glibcxx_cv_func__fabsl_use=no
34214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34215 ac_ext=c
34216 ac_cpp='$CPP $CPPFLAGS'
34217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
34226 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
34228 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
34229 for ac_func in _fabsl
34230 do :
34231 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
34232 if test "x$ac_cv_func__fabsl" = xyes; then :
34233 cat >>confdefs.h <<_ACEOF
34234 #define HAVE__FABSL 1
34235 _ACEOF
34238 done
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
34248 $as_echo_n "checking for fmodl declaration... " >&6; }
34249 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
34250 if ${glibcxx_cv_func_fmodl_use+:} false; then :
34251 $as_echo_n "(cached) " >&6
34252 else
34255 ac_ext=cpp
34256 ac_cpp='$CXXCPP $CPPFLAGS'
34257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34262 /* end confdefs.h. */
34263 #include <math.h>
34265 main ()
34267 fmodl(0, 0);
34269 return 0;
34271 _ACEOF
34272 if ac_fn_cxx_try_compile "$LINENO"; then :
34273 glibcxx_cv_func_fmodl_use=yes
34274 else
34275 glibcxx_cv_func_fmodl_use=no
34277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34278 ac_ext=c
34279 ac_cpp='$CPP $CPPFLAGS'
34280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
34289 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
34291 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
34292 for ac_func in fmodl
34293 do :
34294 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
34295 if test "x$ac_cv_func_fmodl" = xyes; then :
34296 cat >>confdefs.h <<_ACEOF
34297 #define HAVE_FMODL 1
34298 _ACEOF
34301 done
34303 else
34305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
34306 $as_echo_n "checking for _fmodl declaration... " >&6; }
34307 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
34308 if ${glibcxx_cv_func__fmodl_use+:} false; then :
34309 $as_echo_n "(cached) " >&6
34310 else
34313 ac_ext=cpp
34314 ac_cpp='$CXXCPP $CPPFLAGS'
34315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34320 /* end confdefs.h. */
34321 #include <math.h>
34323 main ()
34325 _fmodl(0, 0);
34327 return 0;
34329 _ACEOF
34330 if ac_fn_cxx_try_compile "$LINENO"; then :
34331 glibcxx_cv_func__fmodl_use=yes
34332 else
34333 glibcxx_cv_func__fmodl_use=no
34335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34336 ac_ext=c
34337 ac_cpp='$CPP $CPPFLAGS'
34338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
34347 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
34349 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
34350 for ac_func in _fmodl
34351 do :
34352 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
34353 if test "x$ac_cv_func__fmodl" = xyes; then :
34354 cat >>confdefs.h <<_ACEOF
34355 #define HAVE__FMODL 1
34356 _ACEOF
34359 done
34368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
34369 $as_echo_n "checking for frexpl declaration... " >&6; }
34370 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
34371 if ${glibcxx_cv_func_frexpl_use+:} false; then :
34372 $as_echo_n "(cached) " >&6
34373 else
34376 ac_ext=cpp
34377 ac_cpp='$CXXCPP $CPPFLAGS'
34378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34383 /* end confdefs.h. */
34384 #include <math.h>
34386 main ()
34388 frexpl(0, 0);
34390 return 0;
34392 _ACEOF
34393 if ac_fn_cxx_try_compile "$LINENO"; then :
34394 glibcxx_cv_func_frexpl_use=yes
34395 else
34396 glibcxx_cv_func_frexpl_use=no
34398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34399 ac_ext=c
34400 ac_cpp='$CPP $CPPFLAGS'
34401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
34410 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
34412 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
34413 for ac_func in frexpl
34414 do :
34415 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
34416 if test "x$ac_cv_func_frexpl" = xyes; then :
34417 cat >>confdefs.h <<_ACEOF
34418 #define HAVE_FREXPL 1
34419 _ACEOF
34422 done
34424 else
34426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
34427 $as_echo_n "checking for _frexpl declaration... " >&6; }
34428 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
34429 if ${glibcxx_cv_func__frexpl_use+:} false; then :
34430 $as_echo_n "(cached) " >&6
34431 else
34434 ac_ext=cpp
34435 ac_cpp='$CXXCPP $CPPFLAGS'
34436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34441 /* end confdefs.h. */
34442 #include <math.h>
34444 main ()
34446 _frexpl(0, 0);
34448 return 0;
34450 _ACEOF
34451 if ac_fn_cxx_try_compile "$LINENO"; then :
34452 glibcxx_cv_func__frexpl_use=yes
34453 else
34454 glibcxx_cv_func__frexpl_use=no
34456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34457 ac_ext=c
34458 ac_cpp='$CPP $CPPFLAGS'
34459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
34468 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
34470 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
34471 for ac_func in _frexpl
34472 do :
34473 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
34474 if test "x$ac_cv_func__frexpl" = xyes; then :
34475 cat >>confdefs.h <<_ACEOF
34476 #define HAVE__FREXPL 1
34477 _ACEOF
34480 done
34489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
34490 $as_echo_n "checking for hypotl declaration... " >&6; }
34491 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
34492 if ${glibcxx_cv_func_hypotl_use+:} false; then :
34493 $as_echo_n "(cached) " >&6
34494 else
34497 ac_ext=cpp
34498 ac_cpp='$CXXCPP $CPPFLAGS'
34499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34504 /* end confdefs.h. */
34505 #include <math.h>
34507 main ()
34509 hypotl(0, 0);
34511 return 0;
34513 _ACEOF
34514 if ac_fn_cxx_try_compile "$LINENO"; then :
34515 glibcxx_cv_func_hypotl_use=yes
34516 else
34517 glibcxx_cv_func_hypotl_use=no
34519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34520 ac_ext=c
34521 ac_cpp='$CPP $CPPFLAGS'
34522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34531 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34533 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34534 for ac_func in hypotl
34535 do :
34536 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34537 if test "x$ac_cv_func_hypotl" = xyes; then :
34538 cat >>confdefs.h <<_ACEOF
34539 #define HAVE_HYPOTL 1
34540 _ACEOF
34543 done
34545 else
34547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34548 $as_echo_n "checking for _hypotl declaration... " >&6; }
34549 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34550 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34551 $as_echo_n "(cached) " >&6
34552 else
34555 ac_ext=cpp
34556 ac_cpp='$CXXCPP $CPPFLAGS'
34557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34562 /* end confdefs.h. */
34563 #include <math.h>
34565 main ()
34567 _hypotl(0, 0);
34569 return 0;
34571 _ACEOF
34572 if ac_fn_cxx_try_compile "$LINENO"; then :
34573 glibcxx_cv_func__hypotl_use=yes
34574 else
34575 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
34589 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34591 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34592 for ac_func in _hypotl
34593 do :
34594 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34595 if test "x$ac_cv_func__hypotl" = xyes; then :
34596 cat >>confdefs.h <<_ACEOF
34597 #define HAVE__HYPOTL 1
34598 _ACEOF
34601 done
34610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34611 $as_echo_n "checking for ldexpl declaration... " >&6; }
34612 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34613 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34614 $as_echo_n "(cached) " >&6
34615 else
34618 ac_ext=cpp
34619 ac_cpp='$CXXCPP $CPPFLAGS'
34620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34625 /* end confdefs.h. */
34626 #include <math.h>
34628 main ()
34630 ldexpl(0, 0);
34632 return 0;
34634 _ACEOF
34635 if ac_fn_cxx_try_compile "$LINENO"; then :
34636 glibcxx_cv_func_ldexpl_use=yes
34637 else
34638 glibcxx_cv_func_ldexpl_use=no
34640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34641 ac_ext=c
34642 ac_cpp='$CPP $CPPFLAGS'
34643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34652 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34654 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34655 for ac_func in ldexpl
34656 do :
34657 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34658 if test "x$ac_cv_func_ldexpl" = xyes; then :
34659 cat >>confdefs.h <<_ACEOF
34660 #define HAVE_LDEXPL 1
34661 _ACEOF
34664 done
34666 else
34668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34669 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34670 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34671 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34672 $as_echo_n "(cached) " >&6
34673 else
34676 ac_ext=cpp
34677 ac_cpp='$CXXCPP $CPPFLAGS'
34678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34683 /* end confdefs.h. */
34684 #include <math.h>
34686 main ()
34688 _ldexpl(0, 0);
34690 return 0;
34692 _ACEOF
34693 if ac_fn_cxx_try_compile "$LINENO"; then :
34694 glibcxx_cv_func__ldexpl_use=yes
34695 else
34696 glibcxx_cv_func__ldexpl_use=no
34698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34699 ac_ext=c
34700 ac_cpp='$CPP $CPPFLAGS'
34701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34710 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34712 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34713 for ac_func in _ldexpl
34714 do :
34715 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34716 if test "x$ac_cv_func__ldexpl" = xyes; then :
34717 cat >>confdefs.h <<_ACEOF
34718 #define HAVE__LDEXPL 1
34719 _ACEOF
34722 done
34731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34732 $as_echo_n "checking for logl declaration... " >&6; }
34733 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34734 if ${glibcxx_cv_func_logl_use+:} false; then :
34735 $as_echo_n "(cached) " >&6
34736 else
34739 ac_ext=cpp
34740 ac_cpp='$CXXCPP $CPPFLAGS'
34741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34746 /* end confdefs.h. */
34747 #include <math.h>
34748 #ifdef HAVE_IEEEFP_H
34749 #include <ieeefp.h>
34750 #endif
34753 main ()
34755 logl(0);
34757 return 0;
34759 _ACEOF
34760 if ac_fn_cxx_try_compile "$LINENO"; then :
34761 glibcxx_cv_func_logl_use=yes
34762 else
34763 glibcxx_cv_func_logl_use=no
34765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34766 ac_ext=c
34767 ac_cpp='$CPP $CPPFLAGS'
34768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34777 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34779 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34780 for ac_func in logl
34781 do :
34782 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34783 if test "x$ac_cv_func_logl" = xyes; then :
34784 cat >>confdefs.h <<_ACEOF
34785 #define HAVE_LOGL 1
34786 _ACEOF
34789 done
34791 else
34793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34794 $as_echo_n "checking for _logl declaration... " >&6; }
34795 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34796 if ${glibcxx_cv_func__logl_use+:} false; then :
34797 $as_echo_n "(cached) " >&6
34798 else
34801 ac_ext=cpp
34802 ac_cpp='$CXXCPP $CPPFLAGS'
34803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34808 /* end confdefs.h. */
34809 #include <math.h>
34810 #ifdef HAVE_IEEEFP_H
34811 #include <ieeefp.h>
34812 #endif
34815 main ()
34817 _logl(0);
34819 return 0;
34821 _ACEOF
34822 if ac_fn_cxx_try_compile "$LINENO"; then :
34823 glibcxx_cv_func__logl_use=yes
34824 else
34825 glibcxx_cv_func__logl_use=no
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34828 ac_ext=c
34829 ac_cpp='$CPP $CPPFLAGS'
34830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34839 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34841 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34842 for ac_func in _logl
34843 do :
34844 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34845 if test "x$ac_cv_func__logl" = xyes; then :
34846 cat >>confdefs.h <<_ACEOF
34847 #define HAVE__LOGL 1
34848 _ACEOF
34851 done
34860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34861 $as_echo_n "checking for log10l declaration... " >&6; }
34862 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34863 if ${glibcxx_cv_func_log10l_use+:} false; then :
34864 $as_echo_n "(cached) " >&6
34865 else
34868 ac_ext=cpp
34869 ac_cpp='$CXXCPP $CPPFLAGS'
34870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34875 /* end confdefs.h. */
34876 #include <math.h>
34877 #ifdef HAVE_IEEEFP_H
34878 #include <ieeefp.h>
34879 #endif
34882 main ()
34884 log10l(0);
34886 return 0;
34888 _ACEOF
34889 if ac_fn_cxx_try_compile "$LINENO"; then :
34890 glibcxx_cv_func_log10l_use=yes
34891 else
34892 glibcxx_cv_func_log10l_use=no
34894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34895 ac_ext=c
34896 ac_cpp='$CPP $CPPFLAGS'
34897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34906 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34908 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34909 for ac_func in log10l
34910 do :
34911 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34912 if test "x$ac_cv_func_log10l" = xyes; then :
34913 cat >>confdefs.h <<_ACEOF
34914 #define HAVE_LOG10L 1
34915 _ACEOF
34918 done
34920 else
34922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34923 $as_echo_n "checking for _log10l declaration... " >&6; }
34924 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34925 if ${glibcxx_cv_func__log10l_use+:} false; 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>
34939 #ifdef HAVE_IEEEFP_H
34940 #include <ieeefp.h>
34941 #endif
34944 main ()
34946 _log10l(0);
34948 return 0;
34950 _ACEOF
34951 if ac_fn_cxx_try_compile "$LINENO"; then :
34952 glibcxx_cv_func__log10l_use=yes
34953 else
34954 glibcxx_cv_func__log10l_use=no
34956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34957 ac_ext=c
34958 ac_cpp='$CPP $CPPFLAGS'
34959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34968 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34970 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34971 for ac_func in _log10l
34972 do :
34973 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34974 if test "x$ac_cv_func__log10l" = xyes; then :
34975 cat >>confdefs.h <<_ACEOF
34976 #define HAVE__LOG10L 1
34977 _ACEOF
34980 done
34989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34990 $as_echo_n "checking for modfl declaration... " >&6; }
34991 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34992 if ${glibcxx_cv_func_modfl_use+:} false; then :
34993 $as_echo_n "(cached) " >&6
34994 else
34997 ac_ext=cpp
34998 ac_cpp='$CXXCPP $CPPFLAGS'
34999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35004 /* end confdefs.h. */
35005 #include <math.h>
35007 main ()
35009 modfl(0, 0);
35011 return 0;
35013 _ACEOF
35014 if ac_fn_cxx_try_compile "$LINENO"; then :
35015 glibcxx_cv_func_modfl_use=yes
35016 else
35017 glibcxx_cv_func_modfl_use=no
35019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35020 ac_ext=c
35021 ac_cpp='$CPP $CPPFLAGS'
35022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
35031 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
35033 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
35034 for ac_func in modfl
35035 do :
35036 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
35037 if test "x$ac_cv_func_modfl" = xyes; then :
35038 cat >>confdefs.h <<_ACEOF
35039 #define HAVE_MODFL 1
35040 _ACEOF
35043 done
35045 else
35047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
35048 $as_echo_n "checking for _modfl declaration... " >&6; }
35049 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
35050 if ${glibcxx_cv_func__modfl_use+:} false; then :
35051 $as_echo_n "(cached) " >&6
35052 else
35055 ac_ext=cpp
35056 ac_cpp='$CXXCPP $CPPFLAGS'
35057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35062 /* end confdefs.h. */
35063 #include <math.h>
35065 main ()
35067 _modfl(0, 0);
35069 return 0;
35071 _ACEOF
35072 if ac_fn_cxx_try_compile "$LINENO"; then :
35073 glibcxx_cv_func__modfl_use=yes
35074 else
35075 glibcxx_cv_func__modfl_use=no
35077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35078 ac_ext=c
35079 ac_cpp='$CPP $CPPFLAGS'
35080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
35089 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
35091 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
35092 for ac_func in _modfl
35093 do :
35094 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
35095 if test "x$ac_cv_func__modfl" = xyes; then :
35096 cat >>confdefs.h <<_ACEOF
35097 #define HAVE__MODFL 1
35098 _ACEOF
35101 done
35110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
35111 $as_echo_n "checking for powl declaration... " >&6; }
35112 if test x${glibcxx_cv_func_powl_use+set} != xset; then
35113 if ${glibcxx_cv_func_powl_use+:} false; then :
35114 $as_echo_n "(cached) " >&6
35115 else
35118 ac_ext=cpp
35119 ac_cpp='$CXXCPP $CPPFLAGS'
35120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35125 /* end confdefs.h. */
35126 #include <math.h>
35128 main ()
35130 powl(0, 0);
35132 return 0;
35134 _ACEOF
35135 if ac_fn_cxx_try_compile "$LINENO"; then :
35136 glibcxx_cv_func_powl_use=yes
35137 else
35138 glibcxx_cv_func_powl_use=no
35140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35141 ac_ext=c
35142 ac_cpp='$CPP $CPPFLAGS'
35143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
35152 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
35154 if test x$glibcxx_cv_func_powl_use = x"yes"; then
35155 for ac_func in powl
35156 do :
35157 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
35158 if test "x$ac_cv_func_powl" = xyes; then :
35159 cat >>confdefs.h <<_ACEOF
35160 #define HAVE_POWL 1
35161 _ACEOF
35164 done
35166 else
35168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
35169 $as_echo_n "checking for _powl declaration... " >&6; }
35170 if test x${glibcxx_cv_func__powl_use+set} != xset; then
35171 if ${glibcxx_cv_func__powl_use+:} false; then :
35172 $as_echo_n "(cached) " >&6
35173 else
35176 ac_ext=cpp
35177 ac_cpp='$CXXCPP $CPPFLAGS'
35178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35183 /* end confdefs.h. */
35184 #include <math.h>
35186 main ()
35188 _powl(0, 0);
35190 return 0;
35192 _ACEOF
35193 if ac_fn_cxx_try_compile "$LINENO"; then :
35194 glibcxx_cv_func__powl_use=yes
35195 else
35196 glibcxx_cv_func__powl_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__powl_use" >&5
35210 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
35212 if test x$glibcxx_cv_func__powl_use = x"yes"; then
35213 for ac_func in _powl
35214 do :
35215 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
35216 if test "x$ac_cv_func__powl" = xyes; then :
35217 cat >>confdefs.h <<_ACEOF
35218 #define HAVE__POWL 1
35219 _ACEOF
35222 done
35231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
35232 $as_echo_n "checking for sqrtl declaration... " >&6; }
35233 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
35234 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
35235 $as_echo_n "(cached) " >&6
35236 else
35239 ac_ext=cpp
35240 ac_cpp='$CXXCPP $CPPFLAGS'
35241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35246 /* end confdefs.h. */
35247 #include <math.h>
35248 #ifdef HAVE_IEEEFP_H
35249 #include <ieeefp.h>
35250 #endif
35253 main ()
35255 sqrtl(0);
35257 return 0;
35259 _ACEOF
35260 if ac_fn_cxx_try_compile "$LINENO"; then :
35261 glibcxx_cv_func_sqrtl_use=yes
35262 else
35263 glibcxx_cv_func_sqrtl_use=no
35265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35266 ac_ext=c
35267 ac_cpp='$CPP $CPPFLAGS'
35268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
35277 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
35279 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35280 for ac_func in sqrtl
35281 do :
35282 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
35283 if test "x$ac_cv_func_sqrtl" = xyes; then :
35284 cat >>confdefs.h <<_ACEOF
35285 #define HAVE_SQRTL 1
35286 _ACEOF
35289 done
35291 else
35293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
35294 $as_echo_n "checking for _sqrtl declaration... " >&6; }
35295 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35296 if ${glibcxx_cv_func__sqrtl_use+:} false; 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>
35310 #ifdef HAVE_IEEEFP_H
35311 #include <ieeefp.h>
35312 #endif
35315 main ()
35317 _sqrtl(0);
35319 return 0;
35321 _ACEOF
35322 if ac_fn_cxx_try_compile "$LINENO"; then :
35323 glibcxx_cv_func__sqrtl_use=yes
35324 else
35325 glibcxx_cv_func__sqrtl_use=no
35327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35328 ac_ext=c
35329 ac_cpp='$CPP $CPPFLAGS'
35330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
35339 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
35341 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35342 for ac_func in _sqrtl
35343 do :
35344 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
35345 if test "x$ac_cv_func__sqrtl" = xyes; then :
35346 cat >>confdefs.h <<_ACEOF
35347 #define HAVE__SQRTL 1
35348 _ACEOF
35351 done
35360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
35361 $as_echo_n "checking for sincosl declaration... " >&6; }
35362 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35363 if ${glibcxx_cv_func_sincosl_use+:} false; then :
35364 $as_echo_n "(cached) " >&6
35365 else
35368 ac_ext=cpp
35369 ac_cpp='$CXXCPP $CPPFLAGS'
35370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35375 /* end confdefs.h. */
35376 #include <math.h>
35378 main ()
35380 sincosl(0, 0, 0);
35382 return 0;
35384 _ACEOF
35385 if ac_fn_cxx_try_compile "$LINENO"; then :
35386 glibcxx_cv_func_sincosl_use=yes
35387 else
35388 glibcxx_cv_func_sincosl_use=no
35390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35391 ac_ext=c
35392 ac_cpp='$CPP $CPPFLAGS'
35393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
35402 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
35404 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35405 for ac_func in sincosl
35406 do :
35407 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
35408 if test "x$ac_cv_func_sincosl" = xyes; then :
35409 cat >>confdefs.h <<_ACEOF
35410 #define HAVE_SINCOSL 1
35411 _ACEOF
35414 done
35416 else
35418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
35419 $as_echo_n "checking for _sincosl declaration... " >&6; }
35420 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35421 if ${glibcxx_cv_func__sincosl_use+:} false; then :
35422 $as_echo_n "(cached) " >&6
35423 else
35426 ac_ext=cpp
35427 ac_cpp='$CXXCPP $CPPFLAGS'
35428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35433 /* end confdefs.h. */
35434 #include <math.h>
35436 main ()
35438 _sincosl(0, 0, 0);
35440 return 0;
35442 _ACEOF
35443 if ac_fn_cxx_try_compile "$LINENO"; then :
35444 glibcxx_cv_func__sincosl_use=yes
35445 else
35446 glibcxx_cv_func__sincosl_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__sincosl_use" >&5
35460 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
35462 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35463 for ac_func in _sincosl
35464 do :
35465 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
35466 if test "x$ac_cv_func__sincosl" = xyes; then :
35467 cat >>confdefs.h <<_ACEOF
35468 #define HAVE__SINCOSL 1
35469 _ACEOF
35472 done
35481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
35482 $as_echo_n "checking for finitel declaration... " >&6; }
35483 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35484 if ${glibcxx_cv_func_finitel_use+:} false; then :
35485 $as_echo_n "(cached) " >&6
35486 else
35489 ac_ext=cpp
35490 ac_cpp='$CXXCPP $CPPFLAGS'
35491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35496 /* end confdefs.h. */
35497 #include <math.h>
35498 #ifdef HAVE_IEEEFP_H
35499 #include <ieeefp.h>
35500 #endif
35503 main ()
35505 finitel(0);
35507 return 0;
35509 _ACEOF
35510 if ac_fn_cxx_try_compile "$LINENO"; then :
35511 glibcxx_cv_func_finitel_use=yes
35512 else
35513 glibcxx_cv_func_finitel_use=no
35515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35516 ac_ext=c
35517 ac_cpp='$CPP $CPPFLAGS'
35518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35527 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35529 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35530 for ac_func in finitel
35531 do :
35532 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35533 if test "x$ac_cv_func_finitel" = xyes; then :
35534 cat >>confdefs.h <<_ACEOF
35535 #define HAVE_FINITEL 1
35536 _ACEOF
35539 done
35541 else
35543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35544 $as_echo_n "checking for _finitel declaration... " >&6; }
35545 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35546 if ${glibcxx_cv_func__finitel_use+:} false; then :
35547 $as_echo_n "(cached) " >&6
35548 else
35551 ac_ext=cpp
35552 ac_cpp='$CXXCPP $CPPFLAGS'
35553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35558 /* end confdefs.h. */
35559 #include <math.h>
35560 #ifdef HAVE_IEEEFP_H
35561 #include <ieeefp.h>
35562 #endif
35565 main ()
35567 _finitel(0);
35569 return 0;
35571 _ACEOF
35572 if ac_fn_cxx_try_compile "$LINENO"; then :
35573 glibcxx_cv_func__finitel_use=yes
35574 else
35575 glibcxx_cv_func__finitel_use=no
35577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35578 ac_ext=c
35579 ac_cpp='$CPP $CPPFLAGS'
35580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35589 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35591 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35592 for ac_func in _finitel
35593 do :
35594 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35595 if test "x$ac_cv_func__finitel" = xyes; then :
35596 cat >>confdefs.h <<_ACEOF
35597 #define HAVE__FINITEL 1
35598 _ACEOF
35601 done
35609 LIBS="$ac_save_LIBS"
35610 CXXFLAGS="$ac_save_CXXFLAGS"
35613 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35614 ac_save_CXXFLAGS="$CXXFLAGS"
35615 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35619 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35620 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35621 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35622 $as_echo_n "(cached) " >&6
35623 else
35626 ac_ext=cpp
35627 ac_cpp='$CXXCPP $CPPFLAGS'
35628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35633 /* end confdefs.h. */
35634 #include <stdlib.h>
35636 main ()
35638 at_quick_exit(0);
35640 return 0;
35642 _ACEOF
35643 if ac_fn_cxx_try_compile "$LINENO"; then :
35644 glibcxx_cv_func_at_quick_exit_use=yes
35645 else
35646 glibcxx_cv_func_at_quick_exit_use=no
35648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35649 ac_ext=c
35650 ac_cpp='$CPP $CPPFLAGS'
35651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35660 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35661 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35662 for ac_func in at_quick_exit
35663 do :
35664 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35665 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35666 cat >>confdefs.h <<_ACEOF
35667 #define HAVE_AT_QUICK_EXIT 1
35668 _ACEOF
35671 done
35676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35677 $as_echo_n "checking for quick_exit declaration... " >&6; }
35678 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35679 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35680 $as_echo_n "(cached) " >&6
35681 else
35684 ac_ext=cpp
35685 ac_cpp='$CXXCPP $CPPFLAGS'
35686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35691 /* end confdefs.h. */
35692 #include <stdlib.h>
35694 main ()
35696 quick_exit(0);
35698 return 0;
35700 _ACEOF
35701 if ac_fn_cxx_try_compile "$LINENO"; then :
35702 glibcxx_cv_func_quick_exit_use=yes
35703 else
35704 glibcxx_cv_func_quick_exit_use=no
35706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35707 ac_ext=c
35708 ac_cpp='$CPP $CPPFLAGS'
35709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35718 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35719 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35720 for ac_func in quick_exit
35721 do :
35722 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35723 if test "x$ac_cv_func_quick_exit" = xyes; then :
35724 cat >>confdefs.h <<_ACEOF
35725 #define HAVE_QUICK_EXIT 1
35726 _ACEOF
35729 done
35734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35735 $as_echo_n "checking for strtold declaration... " >&6; }
35736 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35737 if ${glibcxx_cv_func_strtold_use+:} false; then :
35738 $as_echo_n "(cached) " >&6
35739 else
35742 ac_ext=cpp
35743 ac_cpp='$CXXCPP $CPPFLAGS'
35744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35749 /* end confdefs.h. */
35750 #include <stdlib.h>
35752 main ()
35754 strtold(0, 0);
35756 return 0;
35758 _ACEOF
35759 if ac_fn_cxx_try_compile "$LINENO"; then :
35760 glibcxx_cv_func_strtold_use=yes
35761 else
35762 glibcxx_cv_func_strtold_use=no
35764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35765 ac_ext=c
35766 ac_cpp='$CPP $CPPFLAGS'
35767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35776 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35777 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35778 for ac_func in strtold
35779 do :
35780 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35781 if test "x$ac_cv_func_strtold" = xyes; then :
35782 cat >>confdefs.h <<_ACEOF
35783 #define HAVE_STRTOLD 1
35784 _ACEOF
35787 done
35794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35795 $as_echo_n "checking for strtof declaration... " >&6; }
35796 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35797 if ${glibcxx_cv_func_strtof_use+:} false; then :
35798 $as_echo_n "(cached) " >&6
35799 else
35802 ac_ext=cpp
35803 ac_cpp='$CXXCPP $CPPFLAGS'
35804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35809 /* end confdefs.h. */
35810 #include <stdlib.h>
35812 main ()
35814 strtof(0, 0);
35816 return 0;
35818 _ACEOF
35819 if ac_fn_cxx_try_compile "$LINENO"; then :
35820 glibcxx_cv_func_strtof_use=yes
35821 else
35822 glibcxx_cv_func_strtof_use=no
35824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35825 ac_ext=c
35826 ac_cpp='$CPP $CPPFLAGS'
35827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35836 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35837 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35838 for ac_func in strtof
35839 do :
35840 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35841 if test "x$ac_cv_func_strtof" = xyes; then :
35842 cat >>confdefs.h <<_ACEOF
35843 #define HAVE_STRTOF 1
35844 _ACEOF
35847 done
35854 CXXFLAGS="$ac_save_CXXFLAGS"
35857 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35859 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35861 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35863 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35866 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35868 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35870 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35874 *-aix*)
35876 # If we're not using GNU ld, then there's no point in even trying these
35877 # tests. Check for that first. We should have already tested for gld
35878 # by now (in libtool), but require it now just to be safe...
35879 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35880 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35884 # The name set by libtool depends on the version of libtool. Shame on us
35885 # for depending on an impl detail, but c'est la vie. Older versions used
35886 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35887 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35888 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35889 # set (hence we're using an older libtool), then set it.
35890 if test x${with_gnu_ld+set} != xset; then
35891 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35892 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35893 with_gnu_ld=no
35894 else
35895 with_gnu_ld=$ac_cv_prog_gnu_ld
35899 # Start by getting the version number. I think the libtool test already
35900 # does some of this, but throws away the result.
35901 glibcxx_ld_is_gold=no
35902 glibcxx_ld_is_mold=no
35903 if test x"$with_gnu_ld" = x"yes"; then
35904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35905 $as_echo_n "checking for ld version... " >&6; }
35907 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35908 glibcxx_ld_is_gold=yes
35909 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
35910 glibcxx_ld_is_mold=yes
35912 ldver=`$LD --version 2>/dev/null |
35913 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35915 glibcxx_gnu_ld_version=`echo $ldver | \
35916 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35918 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35921 # Set --gc-sections.
35922 glibcxx_have_gc_sections=no
35923 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
35924 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35925 glibcxx_have_gc_sections=yes
35927 else
35928 glibcxx_gcsections_min_ld=21602
35929 if test x"$with_gnu_ld" = x"yes" &&
35930 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35931 glibcxx_have_gc_sections=yes
35934 if test "$glibcxx_have_gc_sections" = "yes"; then
35935 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35936 # NB: This flag only works reliably after 2.16.1. Configure tests
35937 # for this are difficult, so hard wire a value that should work.
35939 ac_test_CFLAGS="${CFLAGS+set}"
35940 ac_save_CFLAGS="$CFLAGS"
35941 CFLAGS='-Wl,--gc-sections'
35943 # Check for -Wl,--gc-sections
35944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35945 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35946 if test x$gcc_no_link = xyes; then
35947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35950 /* end confdefs.h. */
35951 int one(void) { return 1; }
35952 int two(void) { return 2; }
35955 main ()
35957 two();
35959 return 0;
35961 _ACEOF
35962 if ac_fn_c_try_link "$LINENO"; then :
35963 ac_gcsections=yes
35964 else
35965 ac_gcsections=no
35967 rm -f core conftest.err conftest.$ac_objext \
35968 conftest$ac_exeext conftest.$ac_ext
35969 if test "$ac_gcsections" = "yes"; then
35970 rm -f conftest.c
35971 touch conftest.c
35972 if $CC -c conftest.c; then
35973 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35974 grep "Warning: gc-sections option ignored" > /dev/null; then
35975 ac_gcsections=no
35978 rm -f conftest.c conftest.o conftest
35980 if test "$ac_gcsections" = "yes"; then
35981 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35984 $as_echo "$ac_gcsections" >&6; }
35986 if test "$ac_test_CFLAGS" = set; then
35987 CFLAGS="$ac_save_CFLAGS"
35988 else
35989 # this is the suspicious part
35990 CFLAGS=''
35994 # Set -z,relro.
35995 # Note this is only for shared objects.
35996 ac_ld_relro=no
35997 if test x"$with_gnu_ld" = x"yes"; then
35998 # cygwin and mingw uses PE, which has no ELF relro support,
35999 # multi target ld may confuse configure machinery
36000 case "$host" in
36001 *-*-cygwin*)
36003 *-*-mingw*)
36006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
36007 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
36008 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
36009 if test -n "$cxx_z_relo"; then
36010 OPT_LDFLAGS="-Wl,-z,relro"
36011 ac_ld_relro=yes
36013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
36014 $as_echo "$ac_ld_relro" >&6; }
36015 esac
36018 # Set linker optimization flags.
36019 if test x"$with_gnu_ld" = x"yes"; then
36020 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
36027 ac_test_CXXFLAGS="${CXXFLAGS+set}"
36028 ac_save_CXXFLAGS="$CXXFLAGS"
36029 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
36031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
36032 $as_echo_n "checking for sin in -lm... " >&6; }
36033 if ${ac_cv_lib_m_sin+:} false; then :
36034 $as_echo_n "(cached) " >&6
36035 else
36036 ac_check_lib_save_LIBS=$LIBS
36037 LIBS="-lm $LIBS"
36038 if test x$gcc_no_link = xyes; then
36039 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
36041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36042 /* end confdefs.h. */
36044 /* Override any GCC internal prototype to avoid an error.
36045 Use char because int might match the return type of a GCC
36046 builtin and then its argument prototype would still apply. */
36047 #ifdef __cplusplus
36048 extern "C"
36049 #endif
36050 char sin ();
36052 main ()
36054 return sin ();
36056 return 0;
36058 _ACEOF
36059 if ac_fn_c_try_link "$LINENO"; then :
36060 ac_cv_lib_m_sin=yes
36061 else
36062 ac_cv_lib_m_sin=no
36064 rm -f core conftest.err conftest.$ac_objext \
36065 conftest$ac_exeext conftest.$ac_ext
36066 LIBS=$ac_check_lib_save_LIBS
36068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
36069 $as_echo "$ac_cv_lib_m_sin" >&6; }
36070 if test "x$ac_cv_lib_m_sin" = xyes; then :
36071 libm="-lm"
36074 ac_save_LIBS="$LIBS"
36075 LIBS="$LIBS $libm"
36079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
36080 $as_echo_n "checking for isinf declaration... " >&6; }
36081 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
36082 if ${glibcxx_cv_func_isinf_use+:} false; then :
36083 $as_echo_n "(cached) " >&6
36084 else
36087 ac_ext=cpp
36088 ac_cpp='$CXXCPP $CPPFLAGS'
36089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36094 /* end confdefs.h. */
36095 #include <math.h>
36096 #ifdef HAVE_IEEEFP_H
36097 #include <ieeefp.h>
36098 #endif
36101 main ()
36103 isinf(0);
36105 return 0;
36107 _ACEOF
36108 if ac_fn_cxx_try_compile "$LINENO"; then :
36109 glibcxx_cv_func_isinf_use=yes
36110 else
36111 glibcxx_cv_func_isinf_use=no
36113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36114 ac_ext=c
36115 ac_cpp='$CPP $CPPFLAGS'
36116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
36125 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
36127 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
36128 for ac_func in isinf
36129 do :
36130 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
36131 if test "x$ac_cv_func_isinf" = xyes; then :
36132 cat >>confdefs.h <<_ACEOF
36133 #define HAVE_ISINF 1
36134 _ACEOF
36137 done
36139 else
36141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
36142 $as_echo_n "checking for _isinf declaration... " >&6; }
36143 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
36144 if ${glibcxx_cv_func__isinf_use+:} false; then :
36145 $as_echo_n "(cached) " >&6
36146 else
36149 ac_ext=cpp
36150 ac_cpp='$CXXCPP $CPPFLAGS'
36151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36156 /* end confdefs.h. */
36157 #include <math.h>
36158 #ifdef HAVE_IEEEFP_H
36159 #include <ieeefp.h>
36160 #endif
36163 main ()
36165 _isinf(0);
36167 return 0;
36169 _ACEOF
36170 if ac_fn_cxx_try_compile "$LINENO"; then :
36171 glibcxx_cv_func__isinf_use=yes
36172 else
36173 glibcxx_cv_func__isinf_use=no
36175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36176 ac_ext=c
36177 ac_cpp='$CPP $CPPFLAGS'
36178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
36187 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
36189 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
36190 for ac_func in _isinf
36191 do :
36192 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
36193 if test "x$ac_cv_func__isinf" = xyes; then :
36194 cat >>confdefs.h <<_ACEOF
36195 #define HAVE__ISINF 1
36196 _ACEOF
36199 done
36208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
36209 $as_echo_n "checking for isnan declaration... " >&6; }
36210 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
36211 if ${glibcxx_cv_func_isnan_use+:} false; then :
36212 $as_echo_n "(cached) " >&6
36213 else
36216 ac_ext=cpp
36217 ac_cpp='$CXXCPP $CPPFLAGS'
36218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36223 /* end confdefs.h. */
36224 #include <math.h>
36225 #ifdef HAVE_IEEEFP_H
36226 #include <ieeefp.h>
36227 #endif
36230 main ()
36232 isnan(0);
36234 return 0;
36236 _ACEOF
36237 if ac_fn_cxx_try_compile "$LINENO"; then :
36238 glibcxx_cv_func_isnan_use=yes
36239 else
36240 glibcxx_cv_func_isnan_use=no
36242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36243 ac_ext=c
36244 ac_cpp='$CPP $CPPFLAGS'
36245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
36254 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
36256 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
36257 for ac_func in isnan
36258 do :
36259 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
36260 if test "x$ac_cv_func_isnan" = xyes; then :
36261 cat >>confdefs.h <<_ACEOF
36262 #define HAVE_ISNAN 1
36263 _ACEOF
36266 done
36268 else
36270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
36271 $as_echo_n "checking for _isnan declaration... " >&6; }
36272 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
36273 if ${glibcxx_cv_func__isnan_use+:} false; then :
36274 $as_echo_n "(cached) " >&6
36275 else
36278 ac_ext=cpp
36279 ac_cpp='$CXXCPP $CPPFLAGS'
36280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36285 /* end confdefs.h. */
36286 #include <math.h>
36287 #ifdef HAVE_IEEEFP_H
36288 #include <ieeefp.h>
36289 #endif
36292 main ()
36294 _isnan(0);
36296 return 0;
36298 _ACEOF
36299 if ac_fn_cxx_try_compile "$LINENO"; then :
36300 glibcxx_cv_func__isnan_use=yes
36301 else
36302 glibcxx_cv_func__isnan_use=no
36304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36305 ac_ext=c
36306 ac_cpp='$CPP $CPPFLAGS'
36307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
36316 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
36318 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
36319 for ac_func in _isnan
36320 do :
36321 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
36322 if test "x$ac_cv_func__isnan" = xyes; then :
36323 cat >>confdefs.h <<_ACEOF
36324 #define HAVE__ISNAN 1
36325 _ACEOF
36328 done
36337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
36338 $as_echo_n "checking for finite declaration... " >&6; }
36339 if test x${glibcxx_cv_func_finite_use+set} != xset; then
36340 if ${glibcxx_cv_func_finite_use+:} false; then :
36341 $as_echo_n "(cached) " >&6
36342 else
36345 ac_ext=cpp
36346 ac_cpp='$CXXCPP $CPPFLAGS'
36347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36352 /* end confdefs.h. */
36353 #include <math.h>
36354 #ifdef HAVE_IEEEFP_H
36355 #include <ieeefp.h>
36356 #endif
36359 main ()
36361 finite(0);
36363 return 0;
36365 _ACEOF
36366 if ac_fn_cxx_try_compile "$LINENO"; then :
36367 glibcxx_cv_func_finite_use=yes
36368 else
36369 glibcxx_cv_func_finite_use=no
36371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36372 ac_ext=c
36373 ac_cpp='$CPP $CPPFLAGS'
36374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
36383 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
36385 if test x$glibcxx_cv_func_finite_use = x"yes"; then
36386 for ac_func in finite
36387 do :
36388 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
36389 if test "x$ac_cv_func_finite" = xyes; then :
36390 cat >>confdefs.h <<_ACEOF
36391 #define HAVE_FINITE 1
36392 _ACEOF
36395 done
36397 else
36399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
36400 $as_echo_n "checking for _finite declaration... " >&6; }
36401 if test x${glibcxx_cv_func__finite_use+set} != xset; then
36402 if ${glibcxx_cv_func__finite_use+:} false; then :
36403 $as_echo_n "(cached) " >&6
36404 else
36407 ac_ext=cpp
36408 ac_cpp='$CXXCPP $CPPFLAGS'
36409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36414 /* end confdefs.h. */
36415 #include <math.h>
36416 #ifdef HAVE_IEEEFP_H
36417 #include <ieeefp.h>
36418 #endif
36421 main ()
36423 _finite(0);
36425 return 0;
36427 _ACEOF
36428 if ac_fn_cxx_try_compile "$LINENO"; then :
36429 glibcxx_cv_func__finite_use=yes
36430 else
36431 glibcxx_cv_func__finite_use=no
36433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36434 ac_ext=c
36435 ac_cpp='$CPP $CPPFLAGS'
36436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
36445 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
36447 if test x$glibcxx_cv_func__finite_use = x"yes"; then
36448 for ac_func in _finite
36449 do :
36450 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
36451 if test "x$ac_cv_func__finite" = xyes; then :
36452 cat >>confdefs.h <<_ACEOF
36453 #define HAVE__FINITE 1
36454 _ACEOF
36457 done
36466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
36467 $as_echo_n "checking for sincos declaration... " >&6; }
36468 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
36469 if ${glibcxx_cv_func_sincos_use+:} false; then :
36470 $as_echo_n "(cached) " >&6
36471 else
36474 ac_ext=cpp
36475 ac_cpp='$CXXCPP $CPPFLAGS'
36476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36481 /* end confdefs.h. */
36482 #include <math.h>
36484 main ()
36486 sincos(0, 0, 0);
36488 return 0;
36490 _ACEOF
36491 if ac_fn_cxx_try_compile "$LINENO"; then :
36492 glibcxx_cv_func_sincos_use=yes
36493 else
36494 glibcxx_cv_func_sincos_use=no
36496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36497 ac_ext=c
36498 ac_cpp='$CPP $CPPFLAGS'
36499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36508 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36510 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36511 for ac_func in sincos
36512 do :
36513 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36514 if test "x$ac_cv_func_sincos" = xyes; then :
36515 cat >>confdefs.h <<_ACEOF
36516 #define HAVE_SINCOS 1
36517 _ACEOF
36520 done
36522 else
36524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36525 $as_echo_n "checking for _sincos declaration... " >&6; }
36526 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36527 if ${glibcxx_cv_func__sincos_use+:} false; then :
36528 $as_echo_n "(cached) " >&6
36529 else
36532 ac_ext=cpp
36533 ac_cpp='$CXXCPP $CPPFLAGS'
36534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36539 /* end confdefs.h. */
36540 #include <math.h>
36542 main ()
36544 _sincos(0, 0, 0);
36546 return 0;
36548 _ACEOF
36549 if ac_fn_cxx_try_compile "$LINENO"; then :
36550 glibcxx_cv_func__sincos_use=yes
36551 else
36552 glibcxx_cv_func__sincos_use=no
36554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36555 ac_ext=c
36556 ac_cpp='$CPP $CPPFLAGS'
36557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36566 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36568 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36569 for ac_func in _sincos
36570 do :
36571 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36572 if test "x$ac_cv_func__sincos" = xyes; then :
36573 cat >>confdefs.h <<_ACEOF
36574 #define HAVE__SINCOS 1
36575 _ACEOF
36578 done
36587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36588 $as_echo_n "checking for fpclass declaration... " >&6; }
36589 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36590 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36591 $as_echo_n "(cached) " >&6
36592 else
36595 ac_ext=cpp
36596 ac_cpp='$CXXCPP $CPPFLAGS'
36597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36602 /* end confdefs.h. */
36603 #include <math.h>
36604 #ifdef HAVE_IEEEFP_H
36605 #include <ieeefp.h>
36606 #endif
36609 main ()
36611 fpclass(0);
36613 return 0;
36615 _ACEOF
36616 if ac_fn_cxx_try_compile "$LINENO"; then :
36617 glibcxx_cv_func_fpclass_use=yes
36618 else
36619 glibcxx_cv_func_fpclass_use=no
36621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36622 ac_ext=c
36623 ac_cpp='$CPP $CPPFLAGS'
36624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36633 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36635 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36636 for ac_func in fpclass
36637 do :
36638 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36639 if test "x$ac_cv_func_fpclass" = xyes; then :
36640 cat >>confdefs.h <<_ACEOF
36641 #define HAVE_FPCLASS 1
36642 _ACEOF
36645 done
36647 else
36649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36650 $as_echo_n "checking for _fpclass declaration... " >&6; }
36651 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36652 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36653 $as_echo_n "(cached) " >&6
36654 else
36657 ac_ext=cpp
36658 ac_cpp='$CXXCPP $CPPFLAGS'
36659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36664 /* end confdefs.h. */
36665 #include <math.h>
36666 #ifdef HAVE_IEEEFP_H
36667 #include <ieeefp.h>
36668 #endif
36671 main ()
36673 _fpclass(0);
36675 return 0;
36677 _ACEOF
36678 if ac_fn_cxx_try_compile "$LINENO"; then :
36679 glibcxx_cv_func__fpclass_use=yes
36680 else
36681 glibcxx_cv_func__fpclass_use=no
36683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36684 ac_ext=c
36685 ac_cpp='$CPP $CPPFLAGS'
36686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36695 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36697 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36698 for ac_func in _fpclass
36699 do :
36700 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36701 if test "x$ac_cv_func__fpclass" = xyes; then :
36702 cat >>confdefs.h <<_ACEOF
36703 #define HAVE__FPCLASS 1
36704 _ACEOF
36707 done
36716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36717 $as_echo_n "checking for qfpclass declaration... " >&6; }
36718 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36719 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36720 $as_echo_n "(cached) " >&6
36721 else
36724 ac_ext=cpp
36725 ac_cpp='$CXXCPP $CPPFLAGS'
36726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36731 /* end confdefs.h. */
36732 #include <math.h>
36733 #ifdef HAVE_IEEEFP_H
36734 #include <ieeefp.h>
36735 #endif
36738 main ()
36740 qfpclass(0);
36742 return 0;
36744 _ACEOF
36745 if ac_fn_cxx_try_compile "$LINENO"; then :
36746 glibcxx_cv_func_qfpclass_use=yes
36747 else
36748 glibcxx_cv_func_qfpclass_use=no
36750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36751 ac_ext=c
36752 ac_cpp='$CPP $CPPFLAGS'
36753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36762 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36764 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36765 for ac_func in qfpclass
36766 do :
36767 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36768 if test "x$ac_cv_func_qfpclass" = xyes; then :
36769 cat >>confdefs.h <<_ACEOF
36770 #define HAVE_QFPCLASS 1
36771 _ACEOF
36774 done
36776 else
36778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36779 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36780 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36781 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36782 $as_echo_n "(cached) " >&6
36783 else
36786 ac_ext=cpp
36787 ac_cpp='$CXXCPP $CPPFLAGS'
36788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36793 /* end confdefs.h. */
36794 #include <math.h>
36795 #ifdef HAVE_IEEEFP_H
36796 #include <ieeefp.h>
36797 #endif
36800 main ()
36802 _qfpclass(0);
36804 return 0;
36806 _ACEOF
36807 if ac_fn_cxx_try_compile "$LINENO"; then :
36808 glibcxx_cv_func__qfpclass_use=yes
36809 else
36810 glibcxx_cv_func__qfpclass_use=no
36812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36813 ac_ext=c
36814 ac_cpp='$CPP $CPPFLAGS'
36815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36824 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36826 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36827 for ac_func in _qfpclass
36828 do :
36829 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36830 if test "x$ac_cv_func__qfpclass" = xyes; then :
36831 cat >>confdefs.h <<_ACEOF
36832 #define HAVE__QFPCLASS 1
36833 _ACEOF
36836 done
36845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36846 $as_echo_n "checking for hypot declaration... " >&6; }
36847 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36848 if ${glibcxx_cv_func_hypot_use+:} false; then :
36849 $as_echo_n "(cached) " >&6
36850 else
36853 ac_ext=cpp
36854 ac_cpp='$CXXCPP $CPPFLAGS'
36855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36860 /* end confdefs.h. */
36861 #include <math.h>
36863 main ()
36865 hypot(0, 0);
36867 return 0;
36869 _ACEOF
36870 if ac_fn_cxx_try_compile "$LINENO"; then :
36871 glibcxx_cv_func_hypot_use=yes
36872 else
36873 glibcxx_cv_func_hypot_use=no
36875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36876 ac_ext=c
36877 ac_cpp='$CPP $CPPFLAGS'
36878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36887 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36889 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36890 for ac_func in hypot
36891 do :
36892 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36893 if test "x$ac_cv_func_hypot" = xyes; then :
36894 cat >>confdefs.h <<_ACEOF
36895 #define HAVE_HYPOT 1
36896 _ACEOF
36899 done
36901 else
36903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36904 $as_echo_n "checking for _hypot declaration... " >&6; }
36905 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36906 if ${glibcxx_cv_func__hypot_use+:} false; then :
36907 $as_echo_n "(cached) " >&6
36908 else
36911 ac_ext=cpp
36912 ac_cpp='$CXXCPP $CPPFLAGS'
36913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36918 /* end confdefs.h. */
36919 #include <math.h>
36921 main ()
36923 _hypot(0, 0);
36925 return 0;
36927 _ACEOF
36928 if ac_fn_cxx_try_compile "$LINENO"; then :
36929 glibcxx_cv_func__hypot_use=yes
36930 else
36931 glibcxx_cv_func__hypot_use=no
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934 ac_ext=c
36935 ac_cpp='$CPP $CPPFLAGS'
36936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36945 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36947 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36948 for ac_func in _hypot
36949 do :
36950 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36951 if test "x$ac_cv_func__hypot" = xyes; then :
36952 cat >>confdefs.h <<_ACEOF
36953 #define HAVE__HYPOT 1
36954 _ACEOF
36957 done
36966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36967 $as_echo_n "checking for float trig functions... " >&6; }
36968 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36969 $as_echo_n "(cached) " >&6
36970 else
36973 ac_ext=cpp
36974 ac_cpp='$CXXCPP $CPPFLAGS'
36975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36980 /* end confdefs.h. */
36981 #include <math.h>
36983 main ()
36985 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36987 return 0;
36989 _ACEOF
36990 if ac_fn_cxx_try_compile "$LINENO"; then :
36991 glibcxx_cv_func_float_trig_use=yes
36992 else
36993 glibcxx_cv_func_float_trig_use=no
36995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36996 ac_ext=c
36997 ac_cpp='$CPP $CPPFLAGS'
36998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
37005 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
37006 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
37007 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
37008 do :
37009 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37010 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37011 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37012 cat >>confdefs.h <<_ACEOF
37013 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37014 _ACEOF
37017 done
37019 else
37020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
37021 $as_echo_n "checking for _float trig functions... " >&6; }
37022 if ${glibcxx_cv_func__float_trig_use+:} false; then :
37023 $as_echo_n "(cached) " >&6
37024 else
37027 ac_ext=cpp
37028 ac_cpp='$CXXCPP $CPPFLAGS'
37029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37034 /* end confdefs.h. */
37035 #include <math.h>
37037 main ()
37039 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
37041 return 0;
37043 _ACEOF
37044 if ac_fn_cxx_try_compile "$LINENO"; then :
37045 glibcxx_cv_func__float_trig_use=yes
37046 else
37047 glibcxx_cv_func__float_trig_use=no
37049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37050 ac_ext=c
37051 ac_cpp='$CPP $CPPFLAGS'
37052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
37059 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
37060 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
37061 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
37062 do :
37063 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37064 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37065 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37066 cat >>confdefs.h <<_ACEOF
37067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37068 _ACEOF
37071 done
37080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
37081 $as_echo_n "checking for float round functions... " >&6; }
37082 if ${glibcxx_cv_func_float_round_use+:} false; then :
37083 $as_echo_n "(cached) " >&6
37084 else
37087 ac_ext=cpp
37088 ac_cpp='$CXXCPP $CPPFLAGS'
37089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37094 /* end confdefs.h. */
37095 #include <math.h>
37097 main ()
37099 ceilf (0); floorf (0);
37101 return 0;
37103 _ACEOF
37104 if ac_fn_cxx_try_compile "$LINENO"; then :
37105 glibcxx_cv_func_float_round_use=yes
37106 else
37107 glibcxx_cv_func_float_round_use=no
37109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37110 ac_ext=c
37111 ac_cpp='$CPP $CPPFLAGS'
37112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
37119 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
37120 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
37121 for ac_func in ceilf floorf
37122 do :
37123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37125 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37126 cat >>confdefs.h <<_ACEOF
37127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37128 _ACEOF
37131 done
37133 else
37134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
37135 $as_echo_n "checking for _float round functions... " >&6; }
37136 if ${glibcxx_cv_func__float_round_use+:} false; then :
37137 $as_echo_n "(cached) " >&6
37138 else
37141 ac_ext=cpp
37142 ac_cpp='$CXXCPP $CPPFLAGS'
37143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37148 /* end confdefs.h. */
37149 #include <math.h>
37151 main ()
37153 _ceilf (0); _floorf (0);
37155 return 0;
37157 _ACEOF
37158 if ac_fn_cxx_try_compile "$LINENO"; then :
37159 glibcxx_cv_func__float_round_use=yes
37160 else
37161 glibcxx_cv_func__float_round_use=no
37163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37164 ac_ext=c
37165 ac_cpp='$CPP $CPPFLAGS'
37166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
37173 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
37174 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
37175 for ac_func in _ceilf _floorf
37176 do :
37177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37179 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
37180 cat >>confdefs.h <<_ACEOF
37181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37182 _ACEOF
37185 done
37195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
37196 $as_echo_n "checking for expf declaration... " >&6; }
37197 if test x${glibcxx_cv_func_expf_use+set} != xset; then
37198 if ${glibcxx_cv_func_expf_use+:} false; then :
37199 $as_echo_n "(cached) " >&6
37200 else
37203 ac_ext=cpp
37204 ac_cpp='$CXXCPP $CPPFLAGS'
37205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37210 /* end confdefs.h. */
37211 #include <math.h>
37212 #ifdef HAVE_IEEEFP_H
37213 #include <ieeefp.h>
37214 #endif
37217 main ()
37219 expf(0);
37221 return 0;
37223 _ACEOF
37224 if ac_fn_cxx_try_compile "$LINENO"; then :
37225 glibcxx_cv_func_expf_use=yes
37226 else
37227 glibcxx_cv_func_expf_use=no
37229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37230 ac_ext=c
37231 ac_cpp='$CPP $CPPFLAGS'
37232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
37241 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
37243 if test x$glibcxx_cv_func_expf_use = x"yes"; then
37244 for ac_func in expf
37245 do :
37246 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
37247 if test "x$ac_cv_func_expf" = xyes; then :
37248 cat >>confdefs.h <<_ACEOF
37249 #define HAVE_EXPF 1
37250 _ACEOF
37253 done
37255 else
37257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
37258 $as_echo_n "checking for _expf declaration... " >&6; }
37259 if test x${glibcxx_cv_func__expf_use+set} != xset; then
37260 if ${glibcxx_cv_func__expf_use+:} false; then :
37261 $as_echo_n "(cached) " >&6
37262 else
37265 ac_ext=cpp
37266 ac_cpp='$CXXCPP $CPPFLAGS'
37267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37272 /* end confdefs.h. */
37273 #include <math.h>
37274 #ifdef HAVE_IEEEFP_H
37275 #include <ieeefp.h>
37276 #endif
37279 main ()
37281 _expf(0);
37283 return 0;
37285 _ACEOF
37286 if ac_fn_cxx_try_compile "$LINENO"; then :
37287 glibcxx_cv_func__expf_use=yes
37288 else
37289 glibcxx_cv_func__expf_use=no
37291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37292 ac_ext=c
37293 ac_cpp='$CPP $CPPFLAGS'
37294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
37303 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
37305 if test x$glibcxx_cv_func__expf_use = x"yes"; then
37306 for ac_func in _expf
37307 do :
37308 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
37309 if test "x$ac_cv_func__expf" = xyes; then :
37310 cat >>confdefs.h <<_ACEOF
37311 #define HAVE__EXPF 1
37312 _ACEOF
37315 done
37324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
37325 $as_echo_n "checking for isnanf declaration... " >&6; }
37326 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
37327 if ${glibcxx_cv_func_isnanf_use+:} false; then :
37328 $as_echo_n "(cached) " >&6
37329 else
37332 ac_ext=cpp
37333 ac_cpp='$CXXCPP $CPPFLAGS'
37334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37339 /* end confdefs.h. */
37340 #include <math.h>
37341 #ifdef HAVE_IEEEFP_H
37342 #include <ieeefp.h>
37343 #endif
37346 main ()
37348 isnanf(0);
37350 return 0;
37352 _ACEOF
37353 if ac_fn_cxx_try_compile "$LINENO"; then :
37354 glibcxx_cv_func_isnanf_use=yes
37355 else
37356 glibcxx_cv_func_isnanf_use=no
37358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37359 ac_ext=c
37360 ac_cpp='$CPP $CPPFLAGS'
37361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
37370 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
37372 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
37373 for ac_func in isnanf
37374 do :
37375 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
37376 if test "x$ac_cv_func_isnanf" = xyes; then :
37377 cat >>confdefs.h <<_ACEOF
37378 #define HAVE_ISNANF 1
37379 _ACEOF
37382 done
37384 else
37386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
37387 $as_echo_n "checking for _isnanf declaration... " >&6; }
37388 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
37389 if ${glibcxx_cv_func__isnanf_use+:} false; then :
37390 $as_echo_n "(cached) " >&6
37391 else
37394 ac_ext=cpp
37395 ac_cpp='$CXXCPP $CPPFLAGS'
37396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37401 /* end confdefs.h. */
37402 #include <math.h>
37403 #ifdef HAVE_IEEEFP_H
37404 #include <ieeefp.h>
37405 #endif
37408 main ()
37410 _isnanf(0);
37412 return 0;
37414 _ACEOF
37415 if ac_fn_cxx_try_compile "$LINENO"; then :
37416 glibcxx_cv_func__isnanf_use=yes
37417 else
37418 glibcxx_cv_func__isnanf_use=no
37420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37421 ac_ext=c
37422 ac_cpp='$CPP $CPPFLAGS'
37423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
37432 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
37434 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
37435 for ac_func in _isnanf
37436 do :
37437 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
37438 if test "x$ac_cv_func__isnanf" = xyes; then :
37439 cat >>confdefs.h <<_ACEOF
37440 #define HAVE__ISNANF 1
37441 _ACEOF
37444 done
37453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
37454 $as_echo_n "checking for isinff declaration... " >&6; }
37455 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
37456 if ${glibcxx_cv_func_isinff_use+:} false; then :
37457 $as_echo_n "(cached) " >&6
37458 else
37461 ac_ext=cpp
37462 ac_cpp='$CXXCPP $CPPFLAGS'
37463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37468 /* end confdefs.h. */
37469 #include <math.h>
37470 #ifdef HAVE_IEEEFP_H
37471 #include <ieeefp.h>
37472 #endif
37475 main ()
37477 isinff(0);
37479 return 0;
37481 _ACEOF
37482 if ac_fn_cxx_try_compile "$LINENO"; then :
37483 glibcxx_cv_func_isinff_use=yes
37484 else
37485 glibcxx_cv_func_isinff_use=no
37487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37488 ac_ext=c
37489 ac_cpp='$CPP $CPPFLAGS'
37490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37499 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37501 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37502 for ac_func in isinff
37503 do :
37504 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37505 if test "x$ac_cv_func_isinff" = xyes; then :
37506 cat >>confdefs.h <<_ACEOF
37507 #define HAVE_ISINFF 1
37508 _ACEOF
37511 done
37513 else
37515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37516 $as_echo_n "checking for _isinff declaration... " >&6; }
37517 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37518 if ${glibcxx_cv_func__isinff_use+:} false; then :
37519 $as_echo_n "(cached) " >&6
37520 else
37523 ac_ext=cpp
37524 ac_cpp='$CXXCPP $CPPFLAGS'
37525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37530 /* end confdefs.h. */
37531 #include <math.h>
37532 #ifdef HAVE_IEEEFP_H
37533 #include <ieeefp.h>
37534 #endif
37537 main ()
37539 _isinff(0);
37541 return 0;
37543 _ACEOF
37544 if ac_fn_cxx_try_compile "$LINENO"; then :
37545 glibcxx_cv_func__isinff_use=yes
37546 else
37547 glibcxx_cv_func__isinff_use=no
37549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37550 ac_ext=c
37551 ac_cpp='$CPP $CPPFLAGS'
37552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37561 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37563 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37564 for ac_func in _isinff
37565 do :
37566 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37567 if test "x$ac_cv_func__isinff" = xyes; then :
37568 cat >>confdefs.h <<_ACEOF
37569 #define HAVE__ISINFF 1
37570 _ACEOF
37573 done
37582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37583 $as_echo_n "checking for atan2f declaration... " >&6; }
37584 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37585 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37586 $as_echo_n "(cached) " >&6
37587 else
37590 ac_ext=cpp
37591 ac_cpp='$CXXCPP $CPPFLAGS'
37592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37597 /* end confdefs.h. */
37598 #include <math.h>
37600 main ()
37602 atan2f(0, 0);
37604 return 0;
37606 _ACEOF
37607 if ac_fn_cxx_try_compile "$LINENO"; then :
37608 glibcxx_cv_func_atan2f_use=yes
37609 else
37610 glibcxx_cv_func_atan2f_use=no
37612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37613 ac_ext=c
37614 ac_cpp='$CPP $CPPFLAGS'
37615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37624 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37626 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37627 for ac_func in atan2f
37628 do :
37629 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37630 if test "x$ac_cv_func_atan2f" = xyes; then :
37631 cat >>confdefs.h <<_ACEOF
37632 #define HAVE_ATAN2F 1
37633 _ACEOF
37636 done
37638 else
37640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37641 $as_echo_n "checking for _atan2f declaration... " >&6; }
37642 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37643 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37644 $as_echo_n "(cached) " >&6
37645 else
37648 ac_ext=cpp
37649 ac_cpp='$CXXCPP $CPPFLAGS'
37650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37655 /* end confdefs.h. */
37656 #include <math.h>
37658 main ()
37660 _atan2f(0, 0);
37662 return 0;
37664 _ACEOF
37665 if ac_fn_cxx_try_compile "$LINENO"; then :
37666 glibcxx_cv_func__atan2f_use=yes
37667 else
37668 glibcxx_cv_func__atan2f_use=no
37670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37671 ac_ext=c
37672 ac_cpp='$CPP $CPPFLAGS'
37673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37682 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37684 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37685 for ac_func in _atan2f
37686 do :
37687 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37688 if test "x$ac_cv_func__atan2f" = xyes; then :
37689 cat >>confdefs.h <<_ACEOF
37690 #define HAVE__ATAN2F 1
37691 _ACEOF
37694 done
37703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37704 $as_echo_n "checking for fabsf declaration... " >&6; }
37705 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37706 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37707 $as_echo_n "(cached) " >&6
37708 else
37711 ac_ext=cpp
37712 ac_cpp='$CXXCPP $CPPFLAGS'
37713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37718 /* end confdefs.h. */
37719 #include <math.h>
37720 #ifdef HAVE_IEEEFP_H
37721 #include <ieeefp.h>
37722 #endif
37725 main ()
37727 fabsf(0);
37729 return 0;
37731 _ACEOF
37732 if ac_fn_cxx_try_compile "$LINENO"; then :
37733 glibcxx_cv_func_fabsf_use=yes
37734 else
37735 glibcxx_cv_func_fabsf_use=no
37737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37738 ac_ext=c
37739 ac_cpp='$CPP $CPPFLAGS'
37740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37749 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37751 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37752 for ac_func in fabsf
37753 do :
37754 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37755 if test "x$ac_cv_func_fabsf" = xyes; then :
37756 cat >>confdefs.h <<_ACEOF
37757 #define HAVE_FABSF 1
37758 _ACEOF
37761 done
37763 else
37765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37766 $as_echo_n "checking for _fabsf declaration... " >&6; }
37767 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37768 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37769 $as_echo_n "(cached) " >&6
37770 else
37773 ac_ext=cpp
37774 ac_cpp='$CXXCPP $CPPFLAGS'
37775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37780 /* end confdefs.h. */
37781 #include <math.h>
37782 #ifdef HAVE_IEEEFP_H
37783 #include <ieeefp.h>
37784 #endif
37787 main ()
37789 _fabsf(0);
37791 return 0;
37793 _ACEOF
37794 if ac_fn_cxx_try_compile "$LINENO"; then :
37795 glibcxx_cv_func__fabsf_use=yes
37796 else
37797 glibcxx_cv_func__fabsf_use=no
37799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37800 ac_ext=c
37801 ac_cpp='$CPP $CPPFLAGS'
37802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37811 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37813 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37814 for ac_func in _fabsf
37815 do :
37816 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37817 if test "x$ac_cv_func__fabsf" = xyes; then :
37818 cat >>confdefs.h <<_ACEOF
37819 #define HAVE__FABSF 1
37820 _ACEOF
37823 done
37832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37833 $as_echo_n "checking for fmodf declaration... " >&6; }
37834 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37835 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37836 $as_echo_n "(cached) " >&6
37837 else
37840 ac_ext=cpp
37841 ac_cpp='$CXXCPP $CPPFLAGS'
37842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37847 /* end confdefs.h. */
37848 #include <math.h>
37850 main ()
37852 fmodf(0, 0);
37854 return 0;
37856 _ACEOF
37857 if ac_fn_cxx_try_compile "$LINENO"; then :
37858 glibcxx_cv_func_fmodf_use=yes
37859 else
37860 glibcxx_cv_func_fmodf_use=no
37862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37863 ac_ext=c
37864 ac_cpp='$CPP $CPPFLAGS'
37865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37874 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37876 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37877 for ac_func in fmodf
37878 do :
37879 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37880 if test "x$ac_cv_func_fmodf" = xyes; then :
37881 cat >>confdefs.h <<_ACEOF
37882 #define HAVE_FMODF 1
37883 _ACEOF
37886 done
37888 else
37890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37891 $as_echo_n "checking for _fmodf declaration... " >&6; }
37892 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37893 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37894 $as_echo_n "(cached) " >&6
37895 else
37898 ac_ext=cpp
37899 ac_cpp='$CXXCPP $CPPFLAGS'
37900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37905 /* end confdefs.h. */
37906 #include <math.h>
37908 main ()
37910 _fmodf(0, 0);
37912 return 0;
37914 _ACEOF
37915 if ac_fn_cxx_try_compile "$LINENO"; then :
37916 glibcxx_cv_func__fmodf_use=yes
37917 else
37918 glibcxx_cv_func__fmodf_use=no
37920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37921 ac_ext=c
37922 ac_cpp='$CPP $CPPFLAGS'
37923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37932 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37934 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37935 for ac_func in _fmodf
37936 do :
37937 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37938 if test "x$ac_cv_func__fmodf" = xyes; then :
37939 cat >>confdefs.h <<_ACEOF
37940 #define HAVE__FMODF 1
37941 _ACEOF
37944 done
37953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37954 $as_echo_n "checking for frexpf declaration... " >&6; }
37955 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37956 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37957 $as_echo_n "(cached) " >&6
37958 else
37961 ac_ext=cpp
37962 ac_cpp='$CXXCPP $CPPFLAGS'
37963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37968 /* end confdefs.h. */
37969 #include <math.h>
37971 main ()
37973 frexpf(0, 0);
37975 return 0;
37977 _ACEOF
37978 if ac_fn_cxx_try_compile "$LINENO"; then :
37979 glibcxx_cv_func_frexpf_use=yes
37980 else
37981 glibcxx_cv_func_frexpf_use=no
37983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37984 ac_ext=c
37985 ac_cpp='$CPP $CPPFLAGS'
37986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37995 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37997 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37998 for ac_func in frexpf
37999 do :
38000 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
38001 if test "x$ac_cv_func_frexpf" = xyes; then :
38002 cat >>confdefs.h <<_ACEOF
38003 #define HAVE_FREXPF 1
38004 _ACEOF
38007 done
38009 else
38011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
38012 $as_echo_n "checking for _frexpf declaration... " >&6; }
38013 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
38014 if ${glibcxx_cv_func__frexpf_use+:} false; then :
38015 $as_echo_n "(cached) " >&6
38016 else
38019 ac_ext=cpp
38020 ac_cpp='$CXXCPP $CPPFLAGS'
38021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38026 /* end confdefs.h. */
38027 #include <math.h>
38029 main ()
38031 _frexpf(0, 0);
38033 return 0;
38035 _ACEOF
38036 if ac_fn_cxx_try_compile "$LINENO"; then :
38037 glibcxx_cv_func__frexpf_use=yes
38038 else
38039 glibcxx_cv_func__frexpf_use=no
38041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38042 ac_ext=c
38043 ac_cpp='$CPP $CPPFLAGS'
38044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
38053 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
38055 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
38056 for ac_func in _frexpf
38057 do :
38058 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
38059 if test "x$ac_cv_func__frexpf" = xyes; then :
38060 cat >>confdefs.h <<_ACEOF
38061 #define HAVE__FREXPF 1
38062 _ACEOF
38065 done
38074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
38075 $as_echo_n "checking for hypotf declaration... " >&6; }
38076 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
38077 if ${glibcxx_cv_func_hypotf_use+:} false; then :
38078 $as_echo_n "(cached) " >&6
38079 else
38082 ac_ext=cpp
38083 ac_cpp='$CXXCPP $CPPFLAGS'
38084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38089 /* end confdefs.h. */
38090 #include <math.h>
38092 main ()
38094 hypotf(0, 0);
38096 return 0;
38098 _ACEOF
38099 if ac_fn_cxx_try_compile "$LINENO"; then :
38100 glibcxx_cv_func_hypotf_use=yes
38101 else
38102 glibcxx_cv_func_hypotf_use=no
38104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38105 ac_ext=c
38106 ac_cpp='$CPP $CPPFLAGS'
38107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
38116 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
38118 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
38119 for ac_func in hypotf
38120 do :
38121 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
38122 if test "x$ac_cv_func_hypotf" = xyes; then :
38123 cat >>confdefs.h <<_ACEOF
38124 #define HAVE_HYPOTF 1
38125 _ACEOF
38128 done
38130 else
38132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
38133 $as_echo_n "checking for _hypotf declaration... " >&6; }
38134 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
38135 if ${glibcxx_cv_func__hypotf_use+:} false; 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>
38150 main ()
38152 _hypotf(0, 0);
38154 return 0;
38156 _ACEOF
38157 if ac_fn_cxx_try_compile "$LINENO"; then :
38158 glibcxx_cv_func__hypotf_use=yes
38159 else
38160 glibcxx_cv_func__hypotf_use=no
38162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38163 ac_ext=c
38164 ac_cpp='$CPP $CPPFLAGS'
38165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
38174 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
38176 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
38177 for ac_func in _hypotf
38178 do :
38179 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
38180 if test "x$ac_cv_func__hypotf" = xyes; then :
38181 cat >>confdefs.h <<_ACEOF
38182 #define HAVE__HYPOTF 1
38183 _ACEOF
38186 done
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
38196 $as_echo_n "checking for ldexpf declaration... " >&6; }
38197 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
38198 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
38199 $as_echo_n "(cached) " >&6
38200 else
38203 ac_ext=cpp
38204 ac_cpp='$CXXCPP $CPPFLAGS'
38205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38210 /* end confdefs.h. */
38211 #include <math.h>
38213 main ()
38215 ldexpf(0, 0);
38217 return 0;
38219 _ACEOF
38220 if ac_fn_cxx_try_compile "$LINENO"; then :
38221 glibcxx_cv_func_ldexpf_use=yes
38222 else
38223 glibcxx_cv_func_ldexpf_use=no
38225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38226 ac_ext=c
38227 ac_cpp='$CPP $CPPFLAGS'
38228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
38237 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
38239 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
38240 for ac_func in ldexpf
38241 do :
38242 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
38243 if test "x$ac_cv_func_ldexpf" = xyes; then :
38244 cat >>confdefs.h <<_ACEOF
38245 #define HAVE_LDEXPF 1
38246 _ACEOF
38249 done
38251 else
38253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
38254 $as_echo_n "checking for _ldexpf declaration... " >&6; }
38255 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
38256 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
38257 $as_echo_n "(cached) " >&6
38258 else
38261 ac_ext=cpp
38262 ac_cpp='$CXXCPP $CPPFLAGS'
38263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38268 /* end confdefs.h. */
38269 #include <math.h>
38271 main ()
38273 _ldexpf(0, 0);
38275 return 0;
38277 _ACEOF
38278 if ac_fn_cxx_try_compile "$LINENO"; then :
38279 glibcxx_cv_func__ldexpf_use=yes
38280 else
38281 glibcxx_cv_func__ldexpf_use=no
38283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38284 ac_ext=c
38285 ac_cpp='$CPP $CPPFLAGS'
38286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
38295 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
38297 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
38298 for ac_func in _ldexpf
38299 do :
38300 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
38301 if test "x$ac_cv_func__ldexpf" = xyes; then :
38302 cat >>confdefs.h <<_ACEOF
38303 #define HAVE__LDEXPF 1
38304 _ACEOF
38307 done
38316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
38317 $as_echo_n "checking for logf declaration... " >&6; }
38318 if test x${glibcxx_cv_func_logf_use+set} != xset; then
38319 if ${glibcxx_cv_func_logf_use+:} false; then :
38320 $as_echo_n "(cached) " >&6
38321 else
38324 ac_ext=cpp
38325 ac_cpp='$CXXCPP $CPPFLAGS'
38326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38331 /* end confdefs.h. */
38332 #include <math.h>
38333 #ifdef HAVE_IEEEFP_H
38334 #include <ieeefp.h>
38335 #endif
38338 main ()
38340 logf(0);
38342 return 0;
38344 _ACEOF
38345 if ac_fn_cxx_try_compile "$LINENO"; then :
38346 glibcxx_cv_func_logf_use=yes
38347 else
38348 glibcxx_cv_func_logf_use=no
38350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38351 ac_ext=c
38352 ac_cpp='$CPP $CPPFLAGS'
38353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
38362 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
38364 if test x$glibcxx_cv_func_logf_use = x"yes"; then
38365 for ac_func in logf
38366 do :
38367 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
38368 if test "x$ac_cv_func_logf" = xyes; then :
38369 cat >>confdefs.h <<_ACEOF
38370 #define HAVE_LOGF 1
38371 _ACEOF
38374 done
38376 else
38378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
38379 $as_echo_n "checking for _logf declaration... " >&6; }
38380 if test x${glibcxx_cv_func__logf_use+set} != xset; then
38381 if ${glibcxx_cv_func__logf_use+:} false; then :
38382 $as_echo_n "(cached) " >&6
38383 else
38386 ac_ext=cpp
38387 ac_cpp='$CXXCPP $CPPFLAGS'
38388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38393 /* end confdefs.h. */
38394 #include <math.h>
38395 #ifdef HAVE_IEEEFP_H
38396 #include <ieeefp.h>
38397 #endif
38400 main ()
38402 _logf(0);
38404 return 0;
38406 _ACEOF
38407 if ac_fn_cxx_try_compile "$LINENO"; then :
38408 glibcxx_cv_func__logf_use=yes
38409 else
38410 glibcxx_cv_func__logf_use=no
38412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38413 ac_ext=c
38414 ac_cpp='$CPP $CPPFLAGS'
38415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
38424 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
38426 if test x$glibcxx_cv_func__logf_use = x"yes"; then
38427 for ac_func in _logf
38428 do :
38429 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
38430 if test "x$ac_cv_func__logf" = xyes; then :
38431 cat >>confdefs.h <<_ACEOF
38432 #define HAVE__LOGF 1
38433 _ACEOF
38436 done
38445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
38446 $as_echo_n "checking for log10f declaration... " >&6; }
38447 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
38448 if ${glibcxx_cv_func_log10f_use+:} false; then :
38449 $as_echo_n "(cached) " >&6
38450 else
38453 ac_ext=cpp
38454 ac_cpp='$CXXCPP $CPPFLAGS'
38455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38460 /* end confdefs.h. */
38461 #include <math.h>
38462 #ifdef HAVE_IEEEFP_H
38463 #include <ieeefp.h>
38464 #endif
38467 main ()
38469 log10f(0);
38471 return 0;
38473 _ACEOF
38474 if ac_fn_cxx_try_compile "$LINENO"; then :
38475 glibcxx_cv_func_log10f_use=yes
38476 else
38477 glibcxx_cv_func_log10f_use=no
38479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38480 ac_ext=c
38481 ac_cpp='$CPP $CPPFLAGS'
38482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38491 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38493 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38494 for ac_func in log10f
38495 do :
38496 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38497 if test "x$ac_cv_func_log10f" = xyes; then :
38498 cat >>confdefs.h <<_ACEOF
38499 #define HAVE_LOG10F 1
38500 _ACEOF
38503 done
38505 else
38507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38508 $as_echo_n "checking for _log10f declaration... " >&6; }
38509 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38510 if ${glibcxx_cv_func__log10f_use+:} false; then :
38511 $as_echo_n "(cached) " >&6
38512 else
38515 ac_ext=cpp
38516 ac_cpp='$CXXCPP $CPPFLAGS'
38517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38522 /* end confdefs.h. */
38523 #include <math.h>
38524 #ifdef HAVE_IEEEFP_H
38525 #include <ieeefp.h>
38526 #endif
38529 main ()
38531 _log10f(0);
38533 return 0;
38535 _ACEOF
38536 if ac_fn_cxx_try_compile "$LINENO"; then :
38537 glibcxx_cv_func__log10f_use=yes
38538 else
38539 glibcxx_cv_func__log10f_use=no
38541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38542 ac_ext=c
38543 ac_cpp='$CPP $CPPFLAGS'
38544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38553 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38555 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38556 for ac_func in _log10f
38557 do :
38558 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38559 if test "x$ac_cv_func__log10f" = xyes; then :
38560 cat >>confdefs.h <<_ACEOF
38561 #define HAVE__LOG10F 1
38562 _ACEOF
38565 done
38574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38575 $as_echo_n "checking for modff declaration... " >&6; }
38576 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38577 if ${glibcxx_cv_func_modff_use+:} false; then :
38578 $as_echo_n "(cached) " >&6
38579 else
38582 ac_ext=cpp
38583 ac_cpp='$CXXCPP $CPPFLAGS'
38584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38589 /* end confdefs.h. */
38590 #include <math.h>
38592 main ()
38594 modff(0, 0);
38596 return 0;
38598 _ACEOF
38599 if ac_fn_cxx_try_compile "$LINENO"; then :
38600 glibcxx_cv_func_modff_use=yes
38601 else
38602 glibcxx_cv_func_modff_use=no
38604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38605 ac_ext=c
38606 ac_cpp='$CPP $CPPFLAGS'
38607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38616 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38618 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38619 for ac_func in modff
38620 do :
38621 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38622 if test "x$ac_cv_func_modff" = xyes; then :
38623 cat >>confdefs.h <<_ACEOF
38624 #define HAVE_MODFF 1
38625 _ACEOF
38628 done
38630 else
38632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38633 $as_echo_n "checking for _modff declaration... " >&6; }
38634 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38635 if ${glibcxx_cv_func__modff_use+:} false; then :
38636 $as_echo_n "(cached) " >&6
38637 else
38640 ac_ext=cpp
38641 ac_cpp='$CXXCPP $CPPFLAGS'
38642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38647 /* end confdefs.h. */
38648 #include <math.h>
38650 main ()
38652 _modff(0, 0);
38654 return 0;
38656 _ACEOF
38657 if ac_fn_cxx_try_compile "$LINENO"; then :
38658 glibcxx_cv_func__modff_use=yes
38659 else
38660 glibcxx_cv_func__modff_use=no
38662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38663 ac_ext=c
38664 ac_cpp='$CPP $CPPFLAGS'
38665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38674 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38676 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38677 for ac_func in _modff
38678 do :
38679 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38680 if test "x$ac_cv_func__modff" = xyes; then :
38681 cat >>confdefs.h <<_ACEOF
38682 #define HAVE__MODFF 1
38683 _ACEOF
38686 done
38695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38696 $as_echo_n "checking for modf declaration... " >&6; }
38697 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38698 if ${glibcxx_cv_func_modf_use+:} false; then :
38699 $as_echo_n "(cached) " >&6
38700 else
38703 ac_ext=cpp
38704 ac_cpp='$CXXCPP $CPPFLAGS'
38705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38710 /* end confdefs.h. */
38711 #include <math.h>
38713 main ()
38715 modf(0, 0);
38717 return 0;
38719 _ACEOF
38720 if ac_fn_cxx_try_compile "$LINENO"; then :
38721 glibcxx_cv_func_modf_use=yes
38722 else
38723 glibcxx_cv_func_modf_use=no
38725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38726 ac_ext=c
38727 ac_cpp='$CPP $CPPFLAGS'
38728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38737 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38739 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38740 for ac_func in modf
38741 do :
38742 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38743 if test "x$ac_cv_func_modf" = xyes; then :
38744 cat >>confdefs.h <<_ACEOF
38745 #define HAVE_MODF 1
38746 _ACEOF
38749 done
38751 else
38753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38754 $as_echo_n "checking for _modf declaration... " >&6; }
38755 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38756 if ${glibcxx_cv_func__modf_use+:} false; then :
38757 $as_echo_n "(cached) " >&6
38758 else
38761 ac_ext=cpp
38762 ac_cpp='$CXXCPP $CPPFLAGS'
38763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38768 /* end confdefs.h. */
38769 #include <math.h>
38771 main ()
38773 _modf(0, 0);
38775 return 0;
38777 _ACEOF
38778 if ac_fn_cxx_try_compile "$LINENO"; then :
38779 glibcxx_cv_func__modf_use=yes
38780 else
38781 glibcxx_cv_func__modf_use=no
38783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38784 ac_ext=c
38785 ac_cpp='$CPP $CPPFLAGS'
38786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38795 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38797 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38798 for ac_func in _modf
38799 do :
38800 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38801 if test "x$ac_cv_func__modf" = xyes; then :
38802 cat >>confdefs.h <<_ACEOF
38803 #define HAVE__MODF 1
38804 _ACEOF
38807 done
38816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38817 $as_echo_n "checking for powf declaration... " >&6; }
38818 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38819 if ${glibcxx_cv_func_powf_use+:} false; then :
38820 $as_echo_n "(cached) " >&6
38821 else
38824 ac_ext=cpp
38825 ac_cpp='$CXXCPP $CPPFLAGS'
38826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38831 /* end confdefs.h. */
38832 #include <math.h>
38834 main ()
38836 powf(0, 0);
38838 return 0;
38840 _ACEOF
38841 if ac_fn_cxx_try_compile "$LINENO"; then :
38842 glibcxx_cv_func_powf_use=yes
38843 else
38844 glibcxx_cv_func_powf_use=no
38846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38847 ac_ext=c
38848 ac_cpp='$CPP $CPPFLAGS'
38849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38858 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38860 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38861 for ac_func in powf
38862 do :
38863 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38864 if test "x$ac_cv_func_powf" = xyes; then :
38865 cat >>confdefs.h <<_ACEOF
38866 #define HAVE_POWF 1
38867 _ACEOF
38870 done
38872 else
38874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38875 $as_echo_n "checking for _powf declaration... " >&6; }
38876 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38877 if ${glibcxx_cv_func__powf_use+:} false; then :
38878 $as_echo_n "(cached) " >&6
38879 else
38882 ac_ext=cpp
38883 ac_cpp='$CXXCPP $CPPFLAGS'
38884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38889 /* end confdefs.h. */
38890 #include <math.h>
38892 main ()
38894 _powf(0, 0);
38896 return 0;
38898 _ACEOF
38899 if ac_fn_cxx_try_compile "$LINENO"; then :
38900 glibcxx_cv_func__powf_use=yes
38901 else
38902 glibcxx_cv_func__powf_use=no
38904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38905 ac_ext=c
38906 ac_cpp='$CPP $CPPFLAGS'
38907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38916 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38918 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38919 for ac_func in _powf
38920 do :
38921 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38922 if test "x$ac_cv_func__powf" = xyes; then :
38923 cat >>confdefs.h <<_ACEOF
38924 #define HAVE__POWF 1
38925 _ACEOF
38928 done
38937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38938 $as_echo_n "checking for sqrtf declaration... " >&6; }
38939 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38940 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38941 $as_echo_n "(cached) " >&6
38942 else
38945 ac_ext=cpp
38946 ac_cpp='$CXXCPP $CPPFLAGS'
38947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38952 /* end confdefs.h. */
38953 #include <math.h>
38954 #ifdef HAVE_IEEEFP_H
38955 #include <ieeefp.h>
38956 #endif
38959 main ()
38961 sqrtf(0);
38963 return 0;
38965 _ACEOF
38966 if ac_fn_cxx_try_compile "$LINENO"; then :
38967 glibcxx_cv_func_sqrtf_use=yes
38968 else
38969 glibcxx_cv_func_sqrtf_use=no
38971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38972 ac_ext=c
38973 ac_cpp='$CPP $CPPFLAGS'
38974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38983 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38985 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38986 for ac_func in sqrtf
38987 do :
38988 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38989 if test "x$ac_cv_func_sqrtf" = xyes; then :
38990 cat >>confdefs.h <<_ACEOF
38991 #define HAVE_SQRTF 1
38992 _ACEOF
38995 done
38997 else
38999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
39000 $as_echo_n "checking for _sqrtf declaration... " >&6; }
39001 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
39002 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
39003 $as_echo_n "(cached) " >&6
39004 else
39007 ac_ext=cpp
39008 ac_cpp='$CXXCPP $CPPFLAGS'
39009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39014 /* end confdefs.h. */
39015 #include <math.h>
39016 #ifdef HAVE_IEEEFP_H
39017 #include <ieeefp.h>
39018 #endif
39021 main ()
39023 _sqrtf(0);
39025 return 0;
39027 _ACEOF
39028 if ac_fn_cxx_try_compile "$LINENO"; then :
39029 glibcxx_cv_func__sqrtf_use=yes
39030 else
39031 glibcxx_cv_func__sqrtf_use=no
39033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39034 ac_ext=c
39035 ac_cpp='$CPP $CPPFLAGS'
39036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
39045 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
39047 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
39048 for ac_func in _sqrtf
39049 do :
39050 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
39051 if test "x$ac_cv_func__sqrtf" = xyes; then :
39052 cat >>confdefs.h <<_ACEOF
39053 #define HAVE__SQRTF 1
39054 _ACEOF
39057 done
39066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
39067 $as_echo_n "checking for sincosf declaration... " >&6; }
39068 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
39069 if ${glibcxx_cv_func_sincosf_use+:} false; then :
39070 $as_echo_n "(cached) " >&6
39071 else
39074 ac_ext=cpp
39075 ac_cpp='$CXXCPP $CPPFLAGS'
39076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39081 /* end confdefs.h. */
39082 #include <math.h>
39084 main ()
39086 sincosf(0, 0, 0);
39088 return 0;
39090 _ACEOF
39091 if ac_fn_cxx_try_compile "$LINENO"; then :
39092 glibcxx_cv_func_sincosf_use=yes
39093 else
39094 glibcxx_cv_func_sincosf_use=no
39096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39097 ac_ext=c
39098 ac_cpp='$CPP $CPPFLAGS'
39099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
39108 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
39110 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
39111 for ac_func in sincosf
39112 do :
39113 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
39114 if test "x$ac_cv_func_sincosf" = xyes; then :
39115 cat >>confdefs.h <<_ACEOF
39116 #define HAVE_SINCOSF 1
39117 _ACEOF
39120 done
39122 else
39124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
39125 $as_echo_n "checking for _sincosf declaration... " >&6; }
39126 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
39127 if ${glibcxx_cv_func__sincosf_use+:} false; then :
39128 $as_echo_n "(cached) " >&6
39129 else
39132 ac_ext=cpp
39133 ac_cpp='$CXXCPP $CPPFLAGS'
39134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39139 /* end confdefs.h. */
39140 #include <math.h>
39142 main ()
39144 _sincosf(0, 0, 0);
39146 return 0;
39148 _ACEOF
39149 if ac_fn_cxx_try_compile "$LINENO"; then :
39150 glibcxx_cv_func__sincosf_use=yes
39151 else
39152 glibcxx_cv_func__sincosf_use=no
39154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39155 ac_ext=c
39156 ac_cpp='$CPP $CPPFLAGS'
39157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
39166 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
39168 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
39169 for ac_func in _sincosf
39170 do :
39171 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
39172 if test "x$ac_cv_func__sincosf" = xyes; then :
39173 cat >>confdefs.h <<_ACEOF
39174 #define HAVE__SINCOSF 1
39175 _ACEOF
39178 done
39187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
39188 $as_echo_n "checking for finitef declaration... " >&6; }
39189 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
39190 if ${glibcxx_cv_func_finitef_use+:} false; then :
39191 $as_echo_n "(cached) " >&6
39192 else
39195 ac_ext=cpp
39196 ac_cpp='$CXXCPP $CPPFLAGS'
39197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39202 /* end confdefs.h. */
39203 #include <math.h>
39204 #ifdef HAVE_IEEEFP_H
39205 #include <ieeefp.h>
39206 #endif
39209 main ()
39211 finitef(0);
39213 return 0;
39215 _ACEOF
39216 if ac_fn_cxx_try_compile "$LINENO"; then :
39217 glibcxx_cv_func_finitef_use=yes
39218 else
39219 glibcxx_cv_func_finitef_use=no
39221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39222 ac_ext=c
39223 ac_cpp='$CPP $CPPFLAGS'
39224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
39233 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
39235 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
39236 for ac_func in finitef
39237 do :
39238 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
39239 if test "x$ac_cv_func_finitef" = xyes; then :
39240 cat >>confdefs.h <<_ACEOF
39241 #define HAVE_FINITEF 1
39242 _ACEOF
39245 done
39247 else
39249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
39250 $as_echo_n "checking for _finitef declaration... " >&6; }
39251 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
39252 if ${glibcxx_cv_func__finitef_use+:} false; then :
39253 $as_echo_n "(cached) " >&6
39254 else
39257 ac_ext=cpp
39258 ac_cpp='$CXXCPP $CPPFLAGS'
39259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39264 /* end confdefs.h. */
39265 #include <math.h>
39266 #ifdef HAVE_IEEEFP_H
39267 #include <ieeefp.h>
39268 #endif
39271 main ()
39273 _finitef(0);
39275 return 0;
39277 _ACEOF
39278 if ac_fn_cxx_try_compile "$LINENO"; then :
39279 glibcxx_cv_func__finitef_use=yes
39280 else
39281 glibcxx_cv_func__finitef_use=no
39283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39284 ac_ext=c
39285 ac_cpp='$CPP $CPPFLAGS'
39286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
39295 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
39297 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
39298 for ac_func in _finitef
39299 do :
39300 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
39301 if test "x$ac_cv_func__finitef" = xyes; then :
39302 cat >>confdefs.h <<_ACEOF
39303 #define HAVE__FINITEF 1
39304 _ACEOF
39307 done
39316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
39317 $as_echo_n "checking for long double trig functions... " >&6; }
39318 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
39319 $as_echo_n "(cached) " >&6
39320 else
39323 ac_ext=cpp
39324 ac_cpp='$CXXCPP $CPPFLAGS'
39325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39330 /* end confdefs.h. */
39331 #include <math.h>
39333 main ()
39335 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
39337 return 0;
39339 _ACEOF
39340 if ac_fn_cxx_try_compile "$LINENO"; then :
39341 glibcxx_cv_func_long_double_trig_use=yes
39342 else
39343 glibcxx_cv_func_long_double_trig_use=no
39345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39346 ac_ext=c
39347 ac_cpp='$CPP $CPPFLAGS'
39348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
39355 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
39356 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
39357 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
39358 do :
39359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39361 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39362 cat >>confdefs.h <<_ACEOF
39363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39364 _ACEOF
39367 done
39369 else
39370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
39371 $as_echo_n "checking for _long double trig functions... " >&6; }
39372 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
39373 $as_echo_n "(cached) " >&6
39374 else
39377 ac_ext=cpp
39378 ac_cpp='$CXXCPP $CPPFLAGS'
39379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39384 /* end confdefs.h. */
39385 #include <math.h>
39387 main ()
39389 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
39391 return 0;
39393 _ACEOF
39394 if ac_fn_cxx_try_compile "$LINENO"; then :
39395 glibcxx_cv_func__long_double_trig_use=yes
39396 else
39397 glibcxx_cv_func__long_double_trig_use=no
39399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39400 ac_ext=c
39401 ac_cpp='$CPP $CPPFLAGS'
39402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
39409 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
39410 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
39411 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
39412 do :
39413 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39414 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39415 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39416 cat >>confdefs.h <<_ACEOF
39417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39418 _ACEOF
39421 done
39430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
39431 $as_echo_n "checking for long double round functions... " >&6; }
39432 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
39433 $as_echo_n "(cached) " >&6
39434 else
39437 ac_ext=cpp
39438 ac_cpp='$CXXCPP $CPPFLAGS'
39439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39444 /* end confdefs.h. */
39445 #include <math.h>
39447 main ()
39449 ceill (0); floorl (0);
39451 return 0;
39453 _ACEOF
39454 if ac_fn_cxx_try_compile "$LINENO"; then :
39455 glibcxx_cv_func_long_double_round_use=yes
39456 else
39457 glibcxx_cv_func_long_double_round_use=no
39459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39460 ac_ext=c
39461 ac_cpp='$CPP $CPPFLAGS'
39462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
39469 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
39470 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
39471 for ac_func in ceill floorl
39472 do :
39473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39475 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39476 cat >>confdefs.h <<_ACEOF
39477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39478 _ACEOF
39481 done
39483 else
39484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39485 $as_echo_n "checking for _long double round functions... " >&6; }
39486 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39487 $as_echo_n "(cached) " >&6
39488 else
39491 ac_ext=cpp
39492 ac_cpp='$CXXCPP $CPPFLAGS'
39493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39498 /* end confdefs.h. */
39499 #include <math.h>
39501 main ()
39503 _ceill (0); _floorl (0);
39505 return 0;
39507 _ACEOF
39508 if ac_fn_cxx_try_compile "$LINENO"; then :
39509 glibcxx_cv_func__long_double_round_use=yes
39510 else
39511 glibcxx_cv_func__long_double_round_use=no
39513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39514 ac_ext=c
39515 ac_cpp='$CPP $CPPFLAGS'
39516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39523 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39524 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39525 for ac_func in _ceill _floorl
39526 do :
39527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39529 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39530 cat >>confdefs.h <<_ACEOF
39531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39532 _ACEOF
39535 done
39545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39546 $as_echo_n "checking for isnanl declaration... " >&6; }
39547 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39548 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39549 $as_echo_n "(cached) " >&6
39550 else
39553 ac_ext=cpp
39554 ac_cpp='$CXXCPP $CPPFLAGS'
39555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39560 /* end confdefs.h. */
39561 #include <math.h>
39562 #ifdef HAVE_IEEEFP_H
39563 #include <ieeefp.h>
39564 #endif
39567 main ()
39569 isnanl(0);
39571 return 0;
39573 _ACEOF
39574 if ac_fn_cxx_try_compile "$LINENO"; then :
39575 glibcxx_cv_func_isnanl_use=yes
39576 else
39577 glibcxx_cv_func_isnanl_use=no
39579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39580 ac_ext=c
39581 ac_cpp='$CPP $CPPFLAGS'
39582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39591 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39593 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39594 for ac_func in isnanl
39595 do :
39596 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39597 if test "x$ac_cv_func_isnanl" = xyes; then :
39598 cat >>confdefs.h <<_ACEOF
39599 #define HAVE_ISNANL 1
39600 _ACEOF
39603 done
39605 else
39607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39608 $as_echo_n "checking for _isnanl declaration... " >&6; }
39609 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39610 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39611 $as_echo_n "(cached) " >&6
39612 else
39615 ac_ext=cpp
39616 ac_cpp='$CXXCPP $CPPFLAGS'
39617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39622 /* end confdefs.h. */
39623 #include <math.h>
39624 #ifdef HAVE_IEEEFP_H
39625 #include <ieeefp.h>
39626 #endif
39629 main ()
39631 _isnanl(0);
39633 return 0;
39635 _ACEOF
39636 if ac_fn_cxx_try_compile "$LINENO"; then :
39637 glibcxx_cv_func__isnanl_use=yes
39638 else
39639 glibcxx_cv_func__isnanl_use=no
39641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39642 ac_ext=c
39643 ac_cpp='$CPP $CPPFLAGS'
39644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39653 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39655 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39656 for ac_func in _isnanl
39657 do :
39658 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39659 if test "x$ac_cv_func__isnanl" = xyes; then :
39660 cat >>confdefs.h <<_ACEOF
39661 #define HAVE__ISNANL 1
39662 _ACEOF
39665 done
39674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39675 $as_echo_n "checking for isinfl declaration... " >&6; }
39676 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39677 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39678 $as_echo_n "(cached) " >&6
39679 else
39682 ac_ext=cpp
39683 ac_cpp='$CXXCPP $CPPFLAGS'
39684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39689 /* end confdefs.h. */
39690 #include <math.h>
39691 #ifdef HAVE_IEEEFP_H
39692 #include <ieeefp.h>
39693 #endif
39696 main ()
39698 isinfl(0);
39700 return 0;
39702 _ACEOF
39703 if ac_fn_cxx_try_compile "$LINENO"; then :
39704 glibcxx_cv_func_isinfl_use=yes
39705 else
39706 glibcxx_cv_func_isinfl_use=no
39708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39709 ac_ext=c
39710 ac_cpp='$CPP $CPPFLAGS'
39711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39720 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39722 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39723 for ac_func in isinfl
39724 do :
39725 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39726 if test "x$ac_cv_func_isinfl" = xyes; then :
39727 cat >>confdefs.h <<_ACEOF
39728 #define HAVE_ISINFL 1
39729 _ACEOF
39732 done
39734 else
39736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39737 $as_echo_n "checking for _isinfl declaration... " >&6; }
39738 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39739 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39740 $as_echo_n "(cached) " >&6
39741 else
39744 ac_ext=cpp
39745 ac_cpp='$CXXCPP $CPPFLAGS'
39746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39751 /* end confdefs.h. */
39752 #include <math.h>
39753 #ifdef HAVE_IEEEFP_H
39754 #include <ieeefp.h>
39755 #endif
39758 main ()
39760 _isinfl(0);
39762 return 0;
39764 _ACEOF
39765 if ac_fn_cxx_try_compile "$LINENO"; then :
39766 glibcxx_cv_func__isinfl_use=yes
39767 else
39768 glibcxx_cv_func__isinfl_use=no
39770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39771 ac_ext=c
39772 ac_cpp='$CPP $CPPFLAGS'
39773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39782 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39784 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39785 for ac_func in _isinfl
39786 do :
39787 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39788 if test "x$ac_cv_func__isinfl" = xyes; then :
39789 cat >>confdefs.h <<_ACEOF
39790 #define HAVE__ISINFL 1
39791 _ACEOF
39794 done
39803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39804 $as_echo_n "checking for atan2l declaration... " >&6; }
39805 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39806 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39807 $as_echo_n "(cached) " >&6
39808 else
39811 ac_ext=cpp
39812 ac_cpp='$CXXCPP $CPPFLAGS'
39813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39818 /* end confdefs.h. */
39819 #include <math.h>
39821 main ()
39823 atan2l(0, 0);
39825 return 0;
39827 _ACEOF
39828 if ac_fn_cxx_try_compile "$LINENO"; then :
39829 glibcxx_cv_func_atan2l_use=yes
39830 else
39831 glibcxx_cv_func_atan2l_use=no
39833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39834 ac_ext=c
39835 ac_cpp='$CPP $CPPFLAGS'
39836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39845 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39847 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39848 for ac_func in atan2l
39849 do :
39850 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39851 if test "x$ac_cv_func_atan2l" = xyes; then :
39852 cat >>confdefs.h <<_ACEOF
39853 #define HAVE_ATAN2L 1
39854 _ACEOF
39857 done
39859 else
39861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39862 $as_echo_n "checking for _atan2l declaration... " >&6; }
39863 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39864 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39865 $as_echo_n "(cached) " >&6
39866 else
39869 ac_ext=cpp
39870 ac_cpp='$CXXCPP $CPPFLAGS'
39871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39876 /* end confdefs.h. */
39877 #include <math.h>
39879 main ()
39881 _atan2l(0, 0);
39883 return 0;
39885 _ACEOF
39886 if ac_fn_cxx_try_compile "$LINENO"; then :
39887 glibcxx_cv_func__atan2l_use=yes
39888 else
39889 glibcxx_cv_func__atan2l_use=no
39891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39892 ac_ext=c
39893 ac_cpp='$CPP $CPPFLAGS'
39894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39903 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39905 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39906 for ac_func in _atan2l
39907 do :
39908 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39909 if test "x$ac_cv_func__atan2l" = xyes; then :
39910 cat >>confdefs.h <<_ACEOF
39911 #define HAVE__ATAN2L 1
39912 _ACEOF
39915 done
39924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39925 $as_echo_n "checking for expl declaration... " >&6; }
39926 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39927 if ${glibcxx_cv_func_expl_use+:} false; then :
39928 $as_echo_n "(cached) " >&6
39929 else
39932 ac_ext=cpp
39933 ac_cpp='$CXXCPP $CPPFLAGS'
39934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39939 /* end confdefs.h. */
39940 #include <math.h>
39941 #ifdef HAVE_IEEEFP_H
39942 #include <ieeefp.h>
39943 #endif
39946 main ()
39948 expl(0);
39950 return 0;
39952 _ACEOF
39953 if ac_fn_cxx_try_compile "$LINENO"; then :
39954 glibcxx_cv_func_expl_use=yes
39955 else
39956 glibcxx_cv_func_expl_use=no
39958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39959 ac_ext=c
39960 ac_cpp='$CPP $CPPFLAGS'
39961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39970 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39972 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39973 for ac_func in expl
39974 do :
39975 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39976 if test "x$ac_cv_func_expl" = xyes; then :
39977 cat >>confdefs.h <<_ACEOF
39978 #define HAVE_EXPL 1
39979 _ACEOF
39982 done
39984 else
39986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39987 $as_echo_n "checking for _expl declaration... " >&6; }
39988 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39989 if ${glibcxx_cv_func__expl_use+:} false; then :
39990 $as_echo_n "(cached) " >&6
39991 else
39994 ac_ext=cpp
39995 ac_cpp='$CXXCPP $CPPFLAGS'
39996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40001 /* end confdefs.h. */
40002 #include <math.h>
40003 #ifdef HAVE_IEEEFP_H
40004 #include <ieeefp.h>
40005 #endif
40008 main ()
40010 _expl(0);
40012 return 0;
40014 _ACEOF
40015 if ac_fn_cxx_try_compile "$LINENO"; then :
40016 glibcxx_cv_func__expl_use=yes
40017 else
40018 glibcxx_cv_func__expl_use=no
40020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40021 ac_ext=c
40022 ac_cpp='$CPP $CPPFLAGS'
40023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
40032 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
40034 if test x$glibcxx_cv_func__expl_use = x"yes"; then
40035 for ac_func in _expl
40036 do :
40037 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
40038 if test "x$ac_cv_func__expl" = xyes; then :
40039 cat >>confdefs.h <<_ACEOF
40040 #define HAVE__EXPL 1
40041 _ACEOF
40044 done
40053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
40054 $as_echo_n "checking for fabsl declaration... " >&6; }
40055 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
40056 if ${glibcxx_cv_func_fabsl_use+:} false; then :
40057 $as_echo_n "(cached) " >&6
40058 else
40061 ac_ext=cpp
40062 ac_cpp='$CXXCPP $CPPFLAGS'
40063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40068 /* end confdefs.h. */
40069 #include <math.h>
40070 #ifdef HAVE_IEEEFP_H
40071 #include <ieeefp.h>
40072 #endif
40075 main ()
40077 fabsl(0);
40079 return 0;
40081 _ACEOF
40082 if ac_fn_cxx_try_compile "$LINENO"; then :
40083 glibcxx_cv_func_fabsl_use=yes
40084 else
40085 glibcxx_cv_func_fabsl_use=no
40087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40088 ac_ext=c
40089 ac_cpp='$CPP $CPPFLAGS'
40090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
40099 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
40101 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
40102 for ac_func in fabsl
40103 do :
40104 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
40105 if test "x$ac_cv_func_fabsl" = xyes; then :
40106 cat >>confdefs.h <<_ACEOF
40107 #define HAVE_FABSL 1
40108 _ACEOF
40111 done
40113 else
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
40116 $as_echo_n "checking for _fabsl declaration... " >&6; }
40117 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
40118 if ${glibcxx_cv_func__fabsl_use+:} false; then :
40119 $as_echo_n "(cached) " >&6
40120 else
40123 ac_ext=cpp
40124 ac_cpp='$CXXCPP $CPPFLAGS'
40125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40130 /* end confdefs.h. */
40131 #include <math.h>
40132 #ifdef HAVE_IEEEFP_H
40133 #include <ieeefp.h>
40134 #endif
40137 main ()
40139 _fabsl(0);
40141 return 0;
40143 _ACEOF
40144 if ac_fn_cxx_try_compile "$LINENO"; then :
40145 glibcxx_cv_func__fabsl_use=yes
40146 else
40147 glibcxx_cv_func__fabsl_use=no
40149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40150 ac_ext=c
40151 ac_cpp='$CPP $CPPFLAGS'
40152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
40161 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
40163 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
40164 for ac_func in _fabsl
40165 do :
40166 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
40167 if test "x$ac_cv_func__fabsl" = xyes; then :
40168 cat >>confdefs.h <<_ACEOF
40169 #define HAVE__FABSL 1
40170 _ACEOF
40173 done
40182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
40183 $as_echo_n "checking for fmodl declaration... " >&6; }
40184 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
40185 if ${glibcxx_cv_func_fmodl_use+:} false; then :
40186 $as_echo_n "(cached) " >&6
40187 else
40190 ac_ext=cpp
40191 ac_cpp='$CXXCPP $CPPFLAGS'
40192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40197 /* end confdefs.h. */
40198 #include <math.h>
40200 main ()
40202 fmodl(0, 0);
40204 return 0;
40206 _ACEOF
40207 if ac_fn_cxx_try_compile "$LINENO"; then :
40208 glibcxx_cv_func_fmodl_use=yes
40209 else
40210 glibcxx_cv_func_fmodl_use=no
40212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40213 ac_ext=c
40214 ac_cpp='$CPP $CPPFLAGS'
40215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
40224 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
40226 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
40227 for ac_func in fmodl
40228 do :
40229 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
40230 if test "x$ac_cv_func_fmodl" = xyes; then :
40231 cat >>confdefs.h <<_ACEOF
40232 #define HAVE_FMODL 1
40233 _ACEOF
40236 done
40238 else
40240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
40241 $as_echo_n "checking for _fmodl declaration... " >&6; }
40242 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
40243 if ${glibcxx_cv_func__fmodl_use+:} false; then :
40244 $as_echo_n "(cached) " >&6
40245 else
40248 ac_ext=cpp
40249 ac_cpp='$CXXCPP $CPPFLAGS'
40250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40255 /* end confdefs.h. */
40256 #include <math.h>
40258 main ()
40260 _fmodl(0, 0);
40262 return 0;
40264 _ACEOF
40265 if ac_fn_cxx_try_compile "$LINENO"; then :
40266 glibcxx_cv_func__fmodl_use=yes
40267 else
40268 glibcxx_cv_func__fmodl_use=no
40270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40271 ac_ext=c
40272 ac_cpp='$CPP $CPPFLAGS'
40273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
40282 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
40284 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
40285 for ac_func in _fmodl
40286 do :
40287 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
40288 if test "x$ac_cv_func__fmodl" = xyes; then :
40289 cat >>confdefs.h <<_ACEOF
40290 #define HAVE__FMODL 1
40291 _ACEOF
40294 done
40303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
40304 $as_echo_n "checking for frexpl declaration... " >&6; }
40305 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
40306 if ${glibcxx_cv_func_frexpl_use+:} false; then :
40307 $as_echo_n "(cached) " >&6
40308 else
40311 ac_ext=cpp
40312 ac_cpp='$CXXCPP $CPPFLAGS'
40313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40318 /* end confdefs.h. */
40319 #include <math.h>
40321 main ()
40323 frexpl(0, 0);
40325 return 0;
40327 _ACEOF
40328 if ac_fn_cxx_try_compile "$LINENO"; then :
40329 glibcxx_cv_func_frexpl_use=yes
40330 else
40331 glibcxx_cv_func_frexpl_use=no
40333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40334 ac_ext=c
40335 ac_cpp='$CPP $CPPFLAGS'
40336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
40345 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
40347 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
40348 for ac_func in frexpl
40349 do :
40350 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
40351 if test "x$ac_cv_func_frexpl" = xyes; then :
40352 cat >>confdefs.h <<_ACEOF
40353 #define HAVE_FREXPL 1
40354 _ACEOF
40357 done
40359 else
40361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
40362 $as_echo_n "checking for _frexpl declaration... " >&6; }
40363 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
40364 if ${glibcxx_cv_func__frexpl_use+:} false; then :
40365 $as_echo_n "(cached) " >&6
40366 else
40369 ac_ext=cpp
40370 ac_cpp='$CXXCPP $CPPFLAGS'
40371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40376 /* end confdefs.h. */
40377 #include <math.h>
40379 main ()
40381 _frexpl(0, 0);
40383 return 0;
40385 _ACEOF
40386 if ac_fn_cxx_try_compile "$LINENO"; then :
40387 glibcxx_cv_func__frexpl_use=yes
40388 else
40389 glibcxx_cv_func__frexpl_use=no
40391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40392 ac_ext=c
40393 ac_cpp='$CPP $CPPFLAGS'
40394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
40403 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
40405 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
40406 for ac_func in _frexpl
40407 do :
40408 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
40409 if test "x$ac_cv_func__frexpl" = xyes; then :
40410 cat >>confdefs.h <<_ACEOF
40411 #define HAVE__FREXPL 1
40412 _ACEOF
40415 done
40424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
40425 $as_echo_n "checking for hypotl declaration... " >&6; }
40426 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
40427 if ${glibcxx_cv_func_hypotl_use+:} false; then :
40428 $as_echo_n "(cached) " >&6
40429 else
40432 ac_ext=cpp
40433 ac_cpp='$CXXCPP $CPPFLAGS'
40434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40439 /* end confdefs.h. */
40440 #include <math.h>
40442 main ()
40444 hypotl(0, 0);
40446 return 0;
40448 _ACEOF
40449 if ac_fn_cxx_try_compile "$LINENO"; then :
40450 glibcxx_cv_func_hypotl_use=yes
40451 else
40452 glibcxx_cv_func_hypotl_use=no
40454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40455 ac_ext=c
40456 ac_cpp='$CPP $CPPFLAGS'
40457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
40466 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
40468 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
40469 for ac_func in hypotl
40470 do :
40471 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
40472 if test "x$ac_cv_func_hypotl" = xyes; then :
40473 cat >>confdefs.h <<_ACEOF
40474 #define HAVE_HYPOTL 1
40475 _ACEOF
40478 done
40480 else
40482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40483 $as_echo_n "checking for _hypotl declaration... " >&6; }
40484 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40485 if ${glibcxx_cv_func__hypotl_use+:} false; then :
40486 $as_echo_n "(cached) " >&6
40487 else
40490 ac_ext=cpp
40491 ac_cpp='$CXXCPP $CPPFLAGS'
40492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40497 /* end confdefs.h. */
40498 #include <math.h>
40500 main ()
40502 _hypotl(0, 0);
40504 return 0;
40506 _ACEOF
40507 if ac_fn_cxx_try_compile "$LINENO"; then :
40508 glibcxx_cv_func__hypotl_use=yes
40509 else
40510 glibcxx_cv_func__hypotl_use=no
40512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40513 ac_ext=c
40514 ac_cpp='$CPP $CPPFLAGS'
40515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40524 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40526 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40527 for ac_func in _hypotl
40528 do :
40529 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40530 if test "x$ac_cv_func__hypotl" = xyes; then :
40531 cat >>confdefs.h <<_ACEOF
40532 #define HAVE__HYPOTL 1
40533 _ACEOF
40536 done
40545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40546 $as_echo_n "checking for ldexpl declaration... " >&6; }
40547 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40548 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40549 $as_echo_n "(cached) " >&6
40550 else
40553 ac_ext=cpp
40554 ac_cpp='$CXXCPP $CPPFLAGS'
40555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40560 /* end confdefs.h. */
40561 #include <math.h>
40563 main ()
40565 ldexpl(0, 0);
40567 return 0;
40569 _ACEOF
40570 if ac_fn_cxx_try_compile "$LINENO"; then :
40571 glibcxx_cv_func_ldexpl_use=yes
40572 else
40573 glibcxx_cv_func_ldexpl_use=no
40575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40576 ac_ext=c
40577 ac_cpp='$CPP $CPPFLAGS'
40578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40587 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40589 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40590 for ac_func in ldexpl
40591 do :
40592 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40593 if test "x$ac_cv_func_ldexpl" = xyes; then :
40594 cat >>confdefs.h <<_ACEOF
40595 #define HAVE_LDEXPL 1
40596 _ACEOF
40599 done
40601 else
40603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40604 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40605 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40606 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40607 $as_echo_n "(cached) " >&6
40608 else
40611 ac_ext=cpp
40612 ac_cpp='$CXXCPP $CPPFLAGS'
40613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40618 /* end confdefs.h. */
40619 #include <math.h>
40621 main ()
40623 _ldexpl(0, 0);
40625 return 0;
40627 _ACEOF
40628 if ac_fn_cxx_try_compile "$LINENO"; then :
40629 glibcxx_cv_func__ldexpl_use=yes
40630 else
40631 glibcxx_cv_func__ldexpl_use=no
40633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40634 ac_ext=c
40635 ac_cpp='$CPP $CPPFLAGS'
40636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40645 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40647 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40648 for ac_func in _ldexpl
40649 do :
40650 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40651 if test "x$ac_cv_func__ldexpl" = xyes; then :
40652 cat >>confdefs.h <<_ACEOF
40653 #define HAVE__LDEXPL 1
40654 _ACEOF
40657 done
40666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40667 $as_echo_n "checking for logl declaration... " >&6; }
40668 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40669 if ${glibcxx_cv_func_logl_use+:} false; then :
40670 $as_echo_n "(cached) " >&6
40671 else
40674 ac_ext=cpp
40675 ac_cpp='$CXXCPP $CPPFLAGS'
40676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40681 /* end confdefs.h. */
40682 #include <math.h>
40683 #ifdef HAVE_IEEEFP_H
40684 #include <ieeefp.h>
40685 #endif
40688 main ()
40690 logl(0);
40692 return 0;
40694 _ACEOF
40695 if ac_fn_cxx_try_compile "$LINENO"; then :
40696 glibcxx_cv_func_logl_use=yes
40697 else
40698 glibcxx_cv_func_logl_use=no
40700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40701 ac_ext=c
40702 ac_cpp='$CPP $CPPFLAGS'
40703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40712 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40714 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40715 for ac_func in logl
40716 do :
40717 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40718 if test "x$ac_cv_func_logl" = xyes; then :
40719 cat >>confdefs.h <<_ACEOF
40720 #define HAVE_LOGL 1
40721 _ACEOF
40724 done
40726 else
40728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40729 $as_echo_n "checking for _logl declaration... " >&6; }
40730 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40731 if ${glibcxx_cv_func__logl_use+:} false; then :
40732 $as_echo_n "(cached) " >&6
40733 else
40736 ac_ext=cpp
40737 ac_cpp='$CXXCPP $CPPFLAGS'
40738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40743 /* end confdefs.h. */
40744 #include <math.h>
40745 #ifdef HAVE_IEEEFP_H
40746 #include <ieeefp.h>
40747 #endif
40750 main ()
40752 _logl(0);
40754 return 0;
40756 _ACEOF
40757 if ac_fn_cxx_try_compile "$LINENO"; then :
40758 glibcxx_cv_func__logl_use=yes
40759 else
40760 glibcxx_cv_func__logl_use=no
40762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40763 ac_ext=c
40764 ac_cpp='$CPP $CPPFLAGS'
40765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40774 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40776 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40777 for ac_func in _logl
40778 do :
40779 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40780 if test "x$ac_cv_func__logl" = xyes; then :
40781 cat >>confdefs.h <<_ACEOF
40782 #define HAVE__LOGL 1
40783 _ACEOF
40786 done
40795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40796 $as_echo_n "checking for log10l declaration... " >&6; }
40797 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40798 if ${glibcxx_cv_func_log10l_use+:} false; then :
40799 $as_echo_n "(cached) " >&6
40800 else
40803 ac_ext=cpp
40804 ac_cpp='$CXXCPP $CPPFLAGS'
40805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40810 /* end confdefs.h. */
40811 #include <math.h>
40812 #ifdef HAVE_IEEEFP_H
40813 #include <ieeefp.h>
40814 #endif
40817 main ()
40819 log10l(0);
40821 return 0;
40823 _ACEOF
40824 if ac_fn_cxx_try_compile "$LINENO"; then :
40825 glibcxx_cv_func_log10l_use=yes
40826 else
40827 glibcxx_cv_func_log10l_use=no
40829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40830 ac_ext=c
40831 ac_cpp='$CPP $CPPFLAGS'
40832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40841 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40843 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40844 for ac_func in log10l
40845 do :
40846 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40847 if test "x$ac_cv_func_log10l" = xyes; then :
40848 cat >>confdefs.h <<_ACEOF
40849 #define HAVE_LOG10L 1
40850 _ACEOF
40853 done
40855 else
40857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40858 $as_echo_n "checking for _log10l declaration... " >&6; }
40859 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40860 if ${glibcxx_cv_func__log10l_use+:} false; then :
40861 $as_echo_n "(cached) " >&6
40862 else
40865 ac_ext=cpp
40866 ac_cpp='$CXXCPP $CPPFLAGS'
40867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40872 /* end confdefs.h. */
40873 #include <math.h>
40874 #ifdef HAVE_IEEEFP_H
40875 #include <ieeefp.h>
40876 #endif
40879 main ()
40881 _log10l(0);
40883 return 0;
40885 _ACEOF
40886 if ac_fn_cxx_try_compile "$LINENO"; then :
40887 glibcxx_cv_func__log10l_use=yes
40888 else
40889 glibcxx_cv_func__log10l_use=no
40891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40892 ac_ext=c
40893 ac_cpp='$CPP $CPPFLAGS'
40894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40903 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40905 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40906 for ac_func in _log10l
40907 do :
40908 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40909 if test "x$ac_cv_func__log10l" = xyes; then :
40910 cat >>confdefs.h <<_ACEOF
40911 #define HAVE__LOG10L 1
40912 _ACEOF
40915 done
40924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40925 $as_echo_n "checking for modfl declaration... " >&6; }
40926 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40927 if ${glibcxx_cv_func_modfl_use+:} false; then :
40928 $as_echo_n "(cached) " >&6
40929 else
40932 ac_ext=cpp
40933 ac_cpp='$CXXCPP $CPPFLAGS'
40934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40939 /* end confdefs.h. */
40940 #include <math.h>
40942 main ()
40944 modfl(0, 0);
40946 return 0;
40948 _ACEOF
40949 if ac_fn_cxx_try_compile "$LINENO"; then :
40950 glibcxx_cv_func_modfl_use=yes
40951 else
40952 glibcxx_cv_func_modfl_use=no
40954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40955 ac_ext=c
40956 ac_cpp='$CPP $CPPFLAGS'
40957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40966 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40968 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40969 for ac_func in modfl
40970 do :
40971 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40972 if test "x$ac_cv_func_modfl" = xyes; then :
40973 cat >>confdefs.h <<_ACEOF
40974 #define HAVE_MODFL 1
40975 _ACEOF
40978 done
40980 else
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40983 $as_echo_n "checking for _modfl declaration... " >&6; }
40984 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40985 if ${glibcxx_cv_func__modfl_use+:} false; then :
40986 $as_echo_n "(cached) " >&6
40987 else
40990 ac_ext=cpp
40991 ac_cpp='$CXXCPP $CPPFLAGS'
40992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40997 /* end confdefs.h. */
40998 #include <math.h>
41000 main ()
41002 _modfl(0, 0);
41004 return 0;
41006 _ACEOF
41007 if ac_fn_cxx_try_compile "$LINENO"; then :
41008 glibcxx_cv_func__modfl_use=yes
41009 else
41010 glibcxx_cv_func__modfl_use=no
41012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41013 ac_ext=c
41014 ac_cpp='$CPP $CPPFLAGS'
41015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
41024 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
41026 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
41027 for ac_func in _modfl
41028 do :
41029 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
41030 if test "x$ac_cv_func__modfl" = xyes; then :
41031 cat >>confdefs.h <<_ACEOF
41032 #define HAVE__MODFL 1
41033 _ACEOF
41036 done
41045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
41046 $as_echo_n "checking for powl declaration... " >&6; }
41047 if test x${glibcxx_cv_func_powl_use+set} != xset; then
41048 if ${glibcxx_cv_func_powl_use+:} false; then :
41049 $as_echo_n "(cached) " >&6
41050 else
41053 ac_ext=cpp
41054 ac_cpp='$CXXCPP $CPPFLAGS'
41055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41060 /* end confdefs.h. */
41061 #include <math.h>
41063 main ()
41065 powl(0, 0);
41067 return 0;
41069 _ACEOF
41070 if ac_fn_cxx_try_compile "$LINENO"; then :
41071 glibcxx_cv_func_powl_use=yes
41072 else
41073 glibcxx_cv_func_powl_use=no
41075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41076 ac_ext=c
41077 ac_cpp='$CPP $CPPFLAGS'
41078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
41087 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
41089 if test x$glibcxx_cv_func_powl_use = x"yes"; then
41090 for ac_func in powl
41091 do :
41092 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
41093 if test "x$ac_cv_func_powl" = xyes; then :
41094 cat >>confdefs.h <<_ACEOF
41095 #define HAVE_POWL 1
41096 _ACEOF
41099 done
41101 else
41103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
41104 $as_echo_n "checking for _powl declaration... " >&6; }
41105 if test x${glibcxx_cv_func__powl_use+set} != xset; then
41106 if ${glibcxx_cv_func__powl_use+:} false; then :
41107 $as_echo_n "(cached) " >&6
41108 else
41111 ac_ext=cpp
41112 ac_cpp='$CXXCPP $CPPFLAGS'
41113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41118 /* end confdefs.h. */
41119 #include <math.h>
41121 main ()
41123 _powl(0, 0);
41125 return 0;
41127 _ACEOF
41128 if ac_fn_cxx_try_compile "$LINENO"; then :
41129 glibcxx_cv_func__powl_use=yes
41130 else
41131 glibcxx_cv_func__powl_use=no
41133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41134 ac_ext=c
41135 ac_cpp='$CPP $CPPFLAGS'
41136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
41145 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
41147 if test x$glibcxx_cv_func__powl_use = x"yes"; then
41148 for ac_func in _powl
41149 do :
41150 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
41151 if test "x$ac_cv_func__powl" = xyes; then :
41152 cat >>confdefs.h <<_ACEOF
41153 #define HAVE__POWL 1
41154 _ACEOF
41157 done
41166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
41167 $as_echo_n "checking for sqrtl declaration... " >&6; }
41168 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
41169 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
41170 $as_echo_n "(cached) " >&6
41171 else
41174 ac_ext=cpp
41175 ac_cpp='$CXXCPP $CPPFLAGS'
41176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41181 /* end confdefs.h. */
41182 #include <math.h>
41183 #ifdef HAVE_IEEEFP_H
41184 #include <ieeefp.h>
41185 #endif
41188 main ()
41190 sqrtl(0);
41192 return 0;
41194 _ACEOF
41195 if ac_fn_cxx_try_compile "$LINENO"; then :
41196 glibcxx_cv_func_sqrtl_use=yes
41197 else
41198 glibcxx_cv_func_sqrtl_use=no
41200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41201 ac_ext=c
41202 ac_cpp='$CPP $CPPFLAGS'
41203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
41212 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
41214 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
41215 for ac_func in sqrtl
41216 do :
41217 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
41218 if test "x$ac_cv_func_sqrtl" = xyes; then :
41219 cat >>confdefs.h <<_ACEOF
41220 #define HAVE_SQRTL 1
41221 _ACEOF
41224 done
41226 else
41228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
41229 $as_echo_n "checking for _sqrtl declaration... " >&6; }
41230 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
41231 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
41232 $as_echo_n "(cached) " >&6
41233 else
41236 ac_ext=cpp
41237 ac_cpp='$CXXCPP $CPPFLAGS'
41238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41243 /* end confdefs.h. */
41244 #include <math.h>
41245 #ifdef HAVE_IEEEFP_H
41246 #include <ieeefp.h>
41247 #endif
41250 main ()
41252 _sqrtl(0);
41254 return 0;
41256 _ACEOF
41257 if ac_fn_cxx_try_compile "$LINENO"; then :
41258 glibcxx_cv_func__sqrtl_use=yes
41259 else
41260 glibcxx_cv_func__sqrtl_use=no
41262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41263 ac_ext=c
41264 ac_cpp='$CPP $CPPFLAGS'
41265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
41274 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
41276 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
41277 for ac_func in _sqrtl
41278 do :
41279 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
41280 if test "x$ac_cv_func__sqrtl" = xyes; then :
41281 cat >>confdefs.h <<_ACEOF
41282 #define HAVE__SQRTL 1
41283 _ACEOF
41286 done
41295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
41296 $as_echo_n "checking for sincosl declaration... " >&6; }
41297 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
41298 if ${glibcxx_cv_func_sincosl_use+:} false; then :
41299 $as_echo_n "(cached) " >&6
41300 else
41303 ac_ext=cpp
41304 ac_cpp='$CXXCPP $CPPFLAGS'
41305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41310 /* end confdefs.h. */
41311 #include <math.h>
41313 main ()
41315 sincosl(0, 0, 0);
41317 return 0;
41319 _ACEOF
41320 if ac_fn_cxx_try_compile "$LINENO"; then :
41321 glibcxx_cv_func_sincosl_use=yes
41322 else
41323 glibcxx_cv_func_sincosl_use=no
41325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41326 ac_ext=c
41327 ac_cpp='$CPP $CPPFLAGS'
41328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
41337 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
41339 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
41340 for ac_func in sincosl
41341 do :
41342 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
41343 if test "x$ac_cv_func_sincosl" = xyes; then :
41344 cat >>confdefs.h <<_ACEOF
41345 #define HAVE_SINCOSL 1
41346 _ACEOF
41349 done
41351 else
41353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
41354 $as_echo_n "checking for _sincosl declaration... " >&6; }
41355 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
41356 if ${glibcxx_cv_func__sincosl_use+:} false; then :
41357 $as_echo_n "(cached) " >&6
41358 else
41361 ac_ext=cpp
41362 ac_cpp='$CXXCPP $CPPFLAGS'
41363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41368 /* end confdefs.h. */
41369 #include <math.h>
41371 main ()
41373 _sincosl(0, 0, 0);
41375 return 0;
41377 _ACEOF
41378 if ac_fn_cxx_try_compile "$LINENO"; then :
41379 glibcxx_cv_func__sincosl_use=yes
41380 else
41381 glibcxx_cv_func__sincosl_use=no
41383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41384 ac_ext=c
41385 ac_cpp='$CPP $CPPFLAGS'
41386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
41395 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
41397 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
41398 for ac_func in _sincosl
41399 do :
41400 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
41401 if test "x$ac_cv_func__sincosl" = xyes; then :
41402 cat >>confdefs.h <<_ACEOF
41403 #define HAVE__SINCOSL 1
41404 _ACEOF
41407 done
41416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
41417 $as_echo_n "checking for finitel declaration... " >&6; }
41418 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
41419 if ${glibcxx_cv_func_finitel_use+:} false; then :
41420 $as_echo_n "(cached) " >&6
41421 else
41424 ac_ext=cpp
41425 ac_cpp='$CXXCPP $CPPFLAGS'
41426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41431 /* end confdefs.h. */
41432 #include <math.h>
41433 #ifdef HAVE_IEEEFP_H
41434 #include <ieeefp.h>
41435 #endif
41438 main ()
41440 finitel(0);
41442 return 0;
41444 _ACEOF
41445 if ac_fn_cxx_try_compile "$LINENO"; then :
41446 glibcxx_cv_func_finitel_use=yes
41447 else
41448 glibcxx_cv_func_finitel_use=no
41450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41451 ac_ext=c
41452 ac_cpp='$CPP $CPPFLAGS'
41453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
41462 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
41464 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
41465 for ac_func in finitel
41466 do :
41467 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
41468 if test "x$ac_cv_func_finitel" = xyes; then :
41469 cat >>confdefs.h <<_ACEOF
41470 #define HAVE_FINITEL 1
41471 _ACEOF
41474 done
41476 else
41478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
41479 $as_echo_n "checking for _finitel declaration... " >&6; }
41480 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41481 if ${glibcxx_cv_func__finitel_use+:} false; then :
41482 $as_echo_n "(cached) " >&6
41483 else
41486 ac_ext=cpp
41487 ac_cpp='$CXXCPP $CPPFLAGS'
41488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41493 /* end confdefs.h. */
41494 #include <math.h>
41495 #ifdef HAVE_IEEEFP_H
41496 #include <ieeefp.h>
41497 #endif
41500 main ()
41502 _finitel(0);
41504 return 0;
41506 _ACEOF
41507 if ac_fn_cxx_try_compile "$LINENO"; then :
41508 glibcxx_cv_func__finitel_use=yes
41509 else
41510 glibcxx_cv_func__finitel_use=no
41512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41513 ac_ext=c
41514 ac_cpp='$CPP $CPPFLAGS'
41515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41524 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41526 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41527 for ac_func in _finitel
41528 do :
41529 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41530 if test "x$ac_cv_func__finitel" = xyes; then :
41531 cat >>confdefs.h <<_ACEOF
41532 #define HAVE__FINITEL 1
41533 _ACEOF
41536 done
41544 LIBS="$ac_save_LIBS"
41545 CXXFLAGS="$ac_save_CXXFLAGS"
41548 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41549 ac_save_CXXFLAGS="$CXXFLAGS"
41550 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41554 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41555 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41556 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41557 $as_echo_n "(cached) " >&6
41558 else
41561 ac_ext=cpp
41562 ac_cpp='$CXXCPP $CPPFLAGS'
41563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41568 /* end confdefs.h. */
41569 #include <stdlib.h>
41571 main ()
41573 at_quick_exit(0);
41575 return 0;
41577 _ACEOF
41578 if ac_fn_cxx_try_compile "$LINENO"; then :
41579 glibcxx_cv_func_at_quick_exit_use=yes
41580 else
41581 glibcxx_cv_func_at_quick_exit_use=no
41583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41584 ac_ext=c
41585 ac_cpp='$CPP $CPPFLAGS'
41586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41595 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41596 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41597 for ac_func in at_quick_exit
41598 do :
41599 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41600 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41601 cat >>confdefs.h <<_ACEOF
41602 #define HAVE_AT_QUICK_EXIT 1
41603 _ACEOF
41606 done
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41612 $as_echo_n "checking for quick_exit declaration... " >&6; }
41613 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41614 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41615 $as_echo_n "(cached) " >&6
41616 else
41619 ac_ext=cpp
41620 ac_cpp='$CXXCPP $CPPFLAGS'
41621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41626 /* end confdefs.h. */
41627 #include <stdlib.h>
41629 main ()
41631 quick_exit(0);
41633 return 0;
41635 _ACEOF
41636 if ac_fn_cxx_try_compile "$LINENO"; then :
41637 glibcxx_cv_func_quick_exit_use=yes
41638 else
41639 glibcxx_cv_func_quick_exit_use=no
41641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41642 ac_ext=c
41643 ac_cpp='$CPP $CPPFLAGS'
41644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41653 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41654 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41655 for ac_func in quick_exit
41656 do :
41657 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41658 if test "x$ac_cv_func_quick_exit" = xyes; then :
41659 cat >>confdefs.h <<_ACEOF
41660 #define HAVE_QUICK_EXIT 1
41661 _ACEOF
41664 done
41669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41670 $as_echo_n "checking for strtold declaration... " >&6; }
41671 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41672 if ${glibcxx_cv_func_strtold_use+:} false; then :
41673 $as_echo_n "(cached) " >&6
41674 else
41677 ac_ext=cpp
41678 ac_cpp='$CXXCPP $CPPFLAGS'
41679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41684 /* end confdefs.h. */
41685 #include <stdlib.h>
41687 main ()
41689 strtold(0, 0);
41691 return 0;
41693 _ACEOF
41694 if ac_fn_cxx_try_compile "$LINENO"; then :
41695 glibcxx_cv_func_strtold_use=yes
41696 else
41697 glibcxx_cv_func_strtold_use=no
41699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41700 ac_ext=c
41701 ac_cpp='$CPP $CPPFLAGS'
41702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41711 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41712 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41713 for ac_func in strtold
41714 do :
41715 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41716 if test "x$ac_cv_func_strtold" = xyes; then :
41717 cat >>confdefs.h <<_ACEOF
41718 #define HAVE_STRTOLD 1
41719 _ACEOF
41722 done
41729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41730 $as_echo_n "checking for strtof declaration... " >&6; }
41731 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41732 if ${glibcxx_cv_func_strtof_use+:} false; then :
41733 $as_echo_n "(cached) " >&6
41734 else
41737 ac_ext=cpp
41738 ac_cpp='$CXXCPP $CPPFLAGS'
41739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41744 /* end confdefs.h. */
41745 #include <stdlib.h>
41747 main ()
41749 strtof(0, 0);
41751 return 0;
41753 _ACEOF
41754 if ac_fn_cxx_try_compile "$LINENO"; then :
41755 glibcxx_cv_func_strtof_use=yes
41756 else
41757 glibcxx_cv_func_strtof_use=no
41759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41760 ac_ext=c
41761 ac_cpp='$CPP $CPPFLAGS'
41762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41771 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41772 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41773 for ac_func in strtof
41774 do :
41775 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41776 if test "x$ac_cv_func_strtof" = xyes; then :
41777 cat >>confdefs.h <<_ACEOF
41778 #define HAVE_STRTOF 1
41779 _ACEOF
41782 done
41789 CXXFLAGS="$ac_save_CXXFLAGS"
41791 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41793 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41795 # We don't yet support AIX's TLS ABI.
41796 #GCC_CHECK_TLS
41802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41803 $as_echo_n "checking for iconv... " >&6; }
41804 if ${am_cv_func_iconv+:} false; then :
41805 $as_echo_n "(cached) " >&6
41806 else
41808 am_cv_func_iconv="no, consider installing GNU libiconv"
41809 am_cv_lib_iconv=no
41810 am_save_CPPFLAGS="$CPPFLAGS"
41811 CPPFLAGS="$CPPFLAGS $INCICONV"
41812 if test x$gcc_no_link = xyes; then
41813 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41816 /* end confdefs.h. */
41817 #include <stdlib.h>
41818 #include <iconv.h>
41820 main ()
41822 iconv_t cd = iconv_open("","");
41823 iconv(cd,NULL,NULL,NULL,NULL);
41824 iconv_close(cd);
41826 return 0;
41828 _ACEOF
41829 if ac_fn_c_try_link "$LINENO"; then :
41830 am_cv_func_iconv=yes
41832 rm -f core conftest.err conftest.$ac_objext \
41833 conftest$ac_exeext conftest.$ac_ext
41834 CPPFLAGS="$am_save_CPPFLAGS"
41836 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41837 for _libs in .libs _libs; do
41838 am_save_CPPFLAGS="$CPPFLAGS"
41839 am_save_LIBS="$LIBS"
41840 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41841 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41842 if test x$gcc_no_link = xyes; then
41843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41846 /* end confdefs.h. */
41847 #include <stdlib.h>
41848 #include <iconv.h>
41850 main ()
41852 iconv_t cd = iconv_open("","");
41853 iconv(cd,NULL,NULL,NULL,NULL);
41854 iconv_close(cd);
41856 return 0;
41858 _ACEOF
41859 if ac_fn_c_try_link "$LINENO"; then :
41860 INCICONV="-I../libiconv/include"
41861 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41862 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41863 am_cv_lib_iconv=yes
41864 am_cv_func_iconv=yes
41866 rm -f core conftest.err conftest.$ac_objext \
41867 conftest$ac_exeext conftest.$ac_ext
41868 CPPFLAGS="$am_save_CPPFLAGS"
41869 LIBS="$am_save_LIBS"
41870 if test "$am_cv_func_iconv" = "yes"; then
41871 break
41873 done
41876 if test "$am_cv_func_iconv" != yes; then
41877 am_save_CPPFLAGS="$CPPFLAGS"
41878 am_save_LIBS="$LIBS"
41879 CPPFLAGS="$CPPFLAGS $INCICONV"
41880 LIBS="$LIBS $LIBICONV"
41881 if test x$gcc_no_link = xyes; then
41882 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41885 /* end confdefs.h. */
41886 #include <stdlib.h>
41887 #include <iconv.h>
41889 main ()
41891 iconv_t cd = iconv_open("","");
41892 iconv(cd,NULL,NULL,NULL,NULL);
41893 iconv_close(cd);
41895 return 0;
41897 _ACEOF
41898 if ac_fn_c_try_link "$LINENO"; then :
41899 am_cv_lib_iconv=yes
41900 am_cv_func_iconv=yes
41902 rm -f core conftest.err conftest.$ac_objext \
41903 conftest$ac_exeext conftest.$ac_ext
41904 CPPFLAGS="$am_save_CPPFLAGS"
41905 LIBS="$am_save_LIBS"
41909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41910 $as_echo "$am_cv_func_iconv" >&6; }
41911 if test "$am_cv_func_iconv" = yes; then
41913 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41916 if test "$am_cv_lib_iconv" = yes; then
41918 for element in $INCICONV; do
41919 haveit=
41920 for x in $CPPFLAGS; do
41922 acl_save_prefix="$prefix"
41923 prefix="$acl_final_prefix"
41924 acl_save_exec_prefix="$exec_prefix"
41925 exec_prefix="$acl_final_exec_prefix"
41926 eval x=\"$x\"
41927 exec_prefix="$acl_save_exec_prefix"
41928 prefix="$acl_save_prefix"
41930 if test "X$x" = "X$element"; then
41931 haveit=yes
41932 break
41934 done
41935 if test -z "$haveit"; then
41936 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41938 done
41940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41941 $as_echo_n "checking how to link with libiconv... " >&6; }
41942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41943 $as_echo "$LIBICONV" >&6; }
41944 else
41945 LIBICONV=
41946 LTLIBICONV=
41951 if test "$am_cv_func_iconv" = yes; then
41952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41953 $as_echo_n "checking for iconv declaration... " >&6; }
41954 if ${am_cv_proto_iconv+:} false; then :
41955 $as_echo_n "(cached) " >&6
41956 else
41958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41959 /* end confdefs.h. */
41961 #include <stdlib.h>
41962 #include <iconv.h>
41963 extern
41964 #ifdef __cplusplus
41966 #endif
41967 #if defined(__STDC__) || defined(__cplusplus)
41968 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41969 #else
41970 size_t iconv();
41971 #endif
41974 main ()
41978 return 0;
41980 _ACEOF
41981 if ac_fn_c_try_compile "$LINENO"; then :
41982 am_cv_proto_iconv_arg1=""
41983 else
41984 am_cv_proto_iconv_arg1="const"
41986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41987 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);"
41990 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41992 }$am_cv_proto_iconv" >&5
41993 $as_echo "${ac_t:-
41994 }$am_cv_proto_iconv" >&6; }
41996 cat >>confdefs.h <<_ACEOF
41997 #define ICONV_CONST $am_cv_proto_iconv_arg1
41998 _ACEOF
42003 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
42007 *-darwin*)
42008 # Darwin versions vary, but the linker should work in a cross environment,
42009 # so we just check for all the features here.
42010 # Check for available headers.
42012 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
42014 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42015 ac_save_CXXFLAGS="$CXXFLAGS"
42016 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
42019 $as_echo_n "checking for sin in -lm... " >&6; }
42020 if ${ac_cv_lib_m_sin+:} false; then :
42021 $as_echo_n "(cached) " >&6
42022 else
42023 ac_check_lib_save_LIBS=$LIBS
42024 LIBS="-lm $LIBS"
42025 if test x$gcc_no_link = xyes; then
42026 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
42028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42029 /* end confdefs.h. */
42031 /* Override any GCC internal prototype to avoid an error.
42032 Use char because int might match the return type of a GCC
42033 builtin and then its argument prototype would still apply. */
42034 #ifdef __cplusplus
42035 extern "C"
42036 #endif
42037 char sin ();
42039 main ()
42041 return sin ();
42043 return 0;
42045 _ACEOF
42046 if ac_fn_c_try_link "$LINENO"; then :
42047 ac_cv_lib_m_sin=yes
42048 else
42049 ac_cv_lib_m_sin=no
42051 rm -f core conftest.err conftest.$ac_objext \
42052 conftest$ac_exeext conftest.$ac_ext
42053 LIBS=$ac_check_lib_save_LIBS
42055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
42056 $as_echo "$ac_cv_lib_m_sin" >&6; }
42057 if test "x$ac_cv_lib_m_sin" = xyes; then :
42058 libm="-lm"
42061 ac_save_LIBS="$LIBS"
42062 LIBS="$LIBS $libm"
42066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
42067 $as_echo_n "checking for isinf declaration... " >&6; }
42068 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42069 if ${glibcxx_cv_func_isinf_use+:} false; then :
42070 $as_echo_n "(cached) " >&6
42071 else
42074 ac_ext=cpp
42075 ac_cpp='$CXXCPP $CPPFLAGS'
42076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42081 /* end confdefs.h. */
42082 #include <math.h>
42083 #ifdef HAVE_IEEEFP_H
42084 #include <ieeefp.h>
42085 #endif
42088 main ()
42090 isinf(0);
42092 return 0;
42094 _ACEOF
42095 if ac_fn_cxx_try_compile "$LINENO"; then :
42096 glibcxx_cv_func_isinf_use=yes
42097 else
42098 glibcxx_cv_func_isinf_use=no
42100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42101 ac_ext=c
42102 ac_cpp='$CPP $CPPFLAGS'
42103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
42112 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
42114 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42115 for ac_func in isinf
42116 do :
42117 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
42118 if test "x$ac_cv_func_isinf" = xyes; then :
42119 cat >>confdefs.h <<_ACEOF
42120 #define HAVE_ISINF 1
42121 _ACEOF
42124 done
42126 else
42128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
42129 $as_echo_n "checking for _isinf declaration... " >&6; }
42130 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42131 if ${glibcxx_cv_func__isinf_use+:} false; then :
42132 $as_echo_n "(cached) " >&6
42133 else
42136 ac_ext=cpp
42137 ac_cpp='$CXXCPP $CPPFLAGS'
42138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42143 /* end confdefs.h. */
42144 #include <math.h>
42145 #ifdef HAVE_IEEEFP_H
42146 #include <ieeefp.h>
42147 #endif
42150 main ()
42152 _isinf(0);
42154 return 0;
42156 _ACEOF
42157 if ac_fn_cxx_try_compile "$LINENO"; then :
42158 glibcxx_cv_func__isinf_use=yes
42159 else
42160 glibcxx_cv_func__isinf_use=no
42162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42163 ac_ext=c
42164 ac_cpp='$CPP $CPPFLAGS'
42165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
42174 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
42176 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42177 for ac_func in _isinf
42178 do :
42179 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
42180 if test "x$ac_cv_func__isinf" = xyes; then :
42181 cat >>confdefs.h <<_ACEOF
42182 #define HAVE__ISINF 1
42183 _ACEOF
42186 done
42195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
42196 $as_echo_n "checking for isnan declaration... " >&6; }
42197 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42198 if ${glibcxx_cv_func_isnan_use+:} false; then :
42199 $as_echo_n "(cached) " >&6
42200 else
42203 ac_ext=cpp
42204 ac_cpp='$CXXCPP $CPPFLAGS'
42205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42210 /* end confdefs.h. */
42211 #include <math.h>
42212 #ifdef HAVE_IEEEFP_H
42213 #include <ieeefp.h>
42214 #endif
42217 main ()
42219 isnan(0);
42221 return 0;
42223 _ACEOF
42224 if ac_fn_cxx_try_compile "$LINENO"; then :
42225 glibcxx_cv_func_isnan_use=yes
42226 else
42227 glibcxx_cv_func_isnan_use=no
42229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42230 ac_ext=c
42231 ac_cpp='$CPP $CPPFLAGS'
42232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
42241 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
42243 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
42244 for ac_func in isnan
42245 do :
42246 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
42247 if test "x$ac_cv_func_isnan" = xyes; then :
42248 cat >>confdefs.h <<_ACEOF
42249 #define HAVE_ISNAN 1
42250 _ACEOF
42253 done
42255 else
42257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
42258 $as_echo_n "checking for _isnan declaration... " >&6; }
42259 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
42260 if ${glibcxx_cv_func__isnan_use+:} false; then :
42261 $as_echo_n "(cached) " >&6
42262 else
42265 ac_ext=cpp
42266 ac_cpp='$CXXCPP $CPPFLAGS'
42267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42272 /* end confdefs.h. */
42273 #include <math.h>
42274 #ifdef HAVE_IEEEFP_H
42275 #include <ieeefp.h>
42276 #endif
42279 main ()
42281 _isnan(0);
42283 return 0;
42285 _ACEOF
42286 if ac_fn_cxx_try_compile "$LINENO"; then :
42287 glibcxx_cv_func__isnan_use=yes
42288 else
42289 glibcxx_cv_func__isnan_use=no
42291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42292 ac_ext=c
42293 ac_cpp='$CPP $CPPFLAGS'
42294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
42303 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
42305 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
42306 for ac_func in _isnan
42307 do :
42308 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
42309 if test "x$ac_cv_func__isnan" = xyes; then :
42310 cat >>confdefs.h <<_ACEOF
42311 #define HAVE__ISNAN 1
42312 _ACEOF
42315 done
42324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
42325 $as_echo_n "checking for finite declaration... " >&6; }
42326 if test x${glibcxx_cv_func_finite_use+set} != xset; then
42327 if ${glibcxx_cv_func_finite_use+:} false; then :
42328 $as_echo_n "(cached) " >&6
42329 else
42332 ac_ext=cpp
42333 ac_cpp='$CXXCPP $CPPFLAGS'
42334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42339 /* end confdefs.h. */
42340 #include <math.h>
42341 #ifdef HAVE_IEEEFP_H
42342 #include <ieeefp.h>
42343 #endif
42346 main ()
42348 finite(0);
42350 return 0;
42352 _ACEOF
42353 if ac_fn_cxx_try_compile "$LINENO"; then :
42354 glibcxx_cv_func_finite_use=yes
42355 else
42356 glibcxx_cv_func_finite_use=no
42358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42359 ac_ext=c
42360 ac_cpp='$CPP $CPPFLAGS'
42361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42370 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
42372 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42373 for ac_func in finite
42374 do :
42375 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42376 if test "x$ac_cv_func_finite" = xyes; then :
42377 cat >>confdefs.h <<_ACEOF
42378 #define HAVE_FINITE 1
42379 _ACEOF
42382 done
42384 else
42386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42387 $as_echo_n "checking for _finite declaration... " >&6; }
42388 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42389 if ${glibcxx_cv_func__finite_use+:} false; then :
42390 $as_echo_n "(cached) " >&6
42391 else
42394 ac_ext=cpp
42395 ac_cpp='$CXXCPP $CPPFLAGS'
42396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42401 /* end confdefs.h. */
42402 #include <math.h>
42403 #ifdef HAVE_IEEEFP_H
42404 #include <ieeefp.h>
42405 #endif
42408 main ()
42410 _finite(0);
42412 return 0;
42414 _ACEOF
42415 if ac_fn_cxx_try_compile "$LINENO"; then :
42416 glibcxx_cv_func__finite_use=yes
42417 else
42418 glibcxx_cv_func__finite_use=no
42420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42421 ac_ext=c
42422 ac_cpp='$CPP $CPPFLAGS'
42423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42432 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42434 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42435 for ac_func in _finite
42436 do :
42437 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42438 if test "x$ac_cv_func__finite" = xyes; then :
42439 cat >>confdefs.h <<_ACEOF
42440 #define HAVE__FINITE 1
42441 _ACEOF
42444 done
42453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42454 $as_echo_n "checking for sincos declaration... " >&6; }
42455 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42456 if ${glibcxx_cv_func_sincos_use+:} false; then :
42457 $as_echo_n "(cached) " >&6
42458 else
42461 ac_ext=cpp
42462 ac_cpp='$CXXCPP $CPPFLAGS'
42463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42468 /* end confdefs.h. */
42469 #include <math.h>
42471 main ()
42473 sincos(0, 0, 0);
42475 return 0;
42477 _ACEOF
42478 if ac_fn_cxx_try_compile "$LINENO"; then :
42479 glibcxx_cv_func_sincos_use=yes
42480 else
42481 glibcxx_cv_func_sincos_use=no
42483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42484 ac_ext=c
42485 ac_cpp='$CPP $CPPFLAGS'
42486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42495 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42497 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42498 for ac_func in sincos
42499 do :
42500 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42501 if test "x$ac_cv_func_sincos" = xyes; then :
42502 cat >>confdefs.h <<_ACEOF
42503 #define HAVE_SINCOS 1
42504 _ACEOF
42507 done
42509 else
42511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42512 $as_echo_n "checking for _sincos declaration... " >&6; }
42513 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42514 if ${glibcxx_cv_func__sincos_use+:} false; then :
42515 $as_echo_n "(cached) " >&6
42516 else
42519 ac_ext=cpp
42520 ac_cpp='$CXXCPP $CPPFLAGS'
42521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42526 /* end confdefs.h. */
42527 #include <math.h>
42529 main ()
42531 _sincos(0, 0, 0);
42533 return 0;
42535 _ACEOF
42536 if ac_fn_cxx_try_compile "$LINENO"; then :
42537 glibcxx_cv_func__sincos_use=yes
42538 else
42539 glibcxx_cv_func__sincos_use=no
42541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42542 ac_ext=c
42543 ac_cpp='$CPP $CPPFLAGS'
42544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42553 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42555 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42556 for ac_func in _sincos
42557 do :
42558 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42559 if test "x$ac_cv_func__sincos" = xyes; then :
42560 cat >>confdefs.h <<_ACEOF
42561 #define HAVE__SINCOS 1
42562 _ACEOF
42565 done
42574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42575 $as_echo_n "checking for fpclass declaration... " >&6; }
42576 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42577 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42578 $as_echo_n "(cached) " >&6
42579 else
42582 ac_ext=cpp
42583 ac_cpp='$CXXCPP $CPPFLAGS'
42584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42589 /* end confdefs.h. */
42590 #include <math.h>
42591 #ifdef HAVE_IEEEFP_H
42592 #include <ieeefp.h>
42593 #endif
42596 main ()
42598 fpclass(0);
42600 return 0;
42602 _ACEOF
42603 if ac_fn_cxx_try_compile "$LINENO"; then :
42604 glibcxx_cv_func_fpclass_use=yes
42605 else
42606 glibcxx_cv_func_fpclass_use=no
42608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42609 ac_ext=c
42610 ac_cpp='$CPP $CPPFLAGS'
42611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42620 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42622 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42623 for ac_func in fpclass
42624 do :
42625 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42626 if test "x$ac_cv_func_fpclass" = xyes; then :
42627 cat >>confdefs.h <<_ACEOF
42628 #define HAVE_FPCLASS 1
42629 _ACEOF
42632 done
42634 else
42636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42637 $as_echo_n "checking for _fpclass declaration... " >&6; }
42638 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42639 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42640 $as_echo_n "(cached) " >&6
42641 else
42644 ac_ext=cpp
42645 ac_cpp='$CXXCPP $CPPFLAGS'
42646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42651 /* end confdefs.h. */
42652 #include <math.h>
42653 #ifdef HAVE_IEEEFP_H
42654 #include <ieeefp.h>
42655 #endif
42658 main ()
42660 _fpclass(0);
42662 return 0;
42664 _ACEOF
42665 if ac_fn_cxx_try_compile "$LINENO"; then :
42666 glibcxx_cv_func__fpclass_use=yes
42667 else
42668 glibcxx_cv_func__fpclass_use=no
42670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42671 ac_ext=c
42672 ac_cpp='$CPP $CPPFLAGS'
42673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42682 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42684 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42685 for ac_func in _fpclass
42686 do :
42687 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42688 if test "x$ac_cv_func__fpclass" = xyes; then :
42689 cat >>confdefs.h <<_ACEOF
42690 #define HAVE__FPCLASS 1
42691 _ACEOF
42694 done
42703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42704 $as_echo_n "checking for qfpclass declaration... " >&6; }
42705 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42706 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42707 $as_echo_n "(cached) " >&6
42708 else
42711 ac_ext=cpp
42712 ac_cpp='$CXXCPP $CPPFLAGS'
42713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42718 /* end confdefs.h. */
42719 #include <math.h>
42720 #ifdef HAVE_IEEEFP_H
42721 #include <ieeefp.h>
42722 #endif
42725 main ()
42727 qfpclass(0);
42729 return 0;
42731 _ACEOF
42732 if ac_fn_cxx_try_compile "$LINENO"; then :
42733 glibcxx_cv_func_qfpclass_use=yes
42734 else
42735 glibcxx_cv_func_qfpclass_use=no
42737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42738 ac_ext=c
42739 ac_cpp='$CPP $CPPFLAGS'
42740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42749 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42751 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42752 for ac_func in qfpclass
42753 do :
42754 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42755 if test "x$ac_cv_func_qfpclass" = xyes; then :
42756 cat >>confdefs.h <<_ACEOF
42757 #define HAVE_QFPCLASS 1
42758 _ACEOF
42761 done
42763 else
42765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42766 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42767 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42768 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42769 $as_echo_n "(cached) " >&6
42770 else
42773 ac_ext=cpp
42774 ac_cpp='$CXXCPP $CPPFLAGS'
42775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42780 /* end confdefs.h. */
42781 #include <math.h>
42782 #ifdef HAVE_IEEEFP_H
42783 #include <ieeefp.h>
42784 #endif
42787 main ()
42789 _qfpclass(0);
42791 return 0;
42793 _ACEOF
42794 if ac_fn_cxx_try_compile "$LINENO"; then :
42795 glibcxx_cv_func__qfpclass_use=yes
42796 else
42797 glibcxx_cv_func__qfpclass_use=no
42799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42800 ac_ext=c
42801 ac_cpp='$CPP $CPPFLAGS'
42802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42811 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42813 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42814 for ac_func in _qfpclass
42815 do :
42816 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42817 if test "x$ac_cv_func__qfpclass" = xyes; then :
42818 cat >>confdefs.h <<_ACEOF
42819 #define HAVE__QFPCLASS 1
42820 _ACEOF
42823 done
42832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42833 $as_echo_n "checking for hypot declaration... " >&6; }
42834 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42835 if ${glibcxx_cv_func_hypot_use+:} false; then :
42836 $as_echo_n "(cached) " >&6
42837 else
42840 ac_ext=cpp
42841 ac_cpp='$CXXCPP $CPPFLAGS'
42842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42847 /* end confdefs.h. */
42848 #include <math.h>
42850 main ()
42852 hypot(0, 0);
42854 return 0;
42856 _ACEOF
42857 if ac_fn_cxx_try_compile "$LINENO"; then :
42858 glibcxx_cv_func_hypot_use=yes
42859 else
42860 glibcxx_cv_func_hypot_use=no
42862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42863 ac_ext=c
42864 ac_cpp='$CPP $CPPFLAGS'
42865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42874 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42876 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42877 for ac_func in hypot
42878 do :
42879 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42880 if test "x$ac_cv_func_hypot" = xyes; then :
42881 cat >>confdefs.h <<_ACEOF
42882 #define HAVE_HYPOT 1
42883 _ACEOF
42886 done
42888 else
42890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42891 $as_echo_n "checking for _hypot declaration... " >&6; }
42892 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42893 if ${glibcxx_cv_func__hypot_use+:} false; then :
42894 $as_echo_n "(cached) " >&6
42895 else
42898 ac_ext=cpp
42899 ac_cpp='$CXXCPP $CPPFLAGS'
42900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42905 /* end confdefs.h. */
42906 #include <math.h>
42908 main ()
42910 _hypot(0, 0);
42912 return 0;
42914 _ACEOF
42915 if ac_fn_cxx_try_compile "$LINENO"; then :
42916 glibcxx_cv_func__hypot_use=yes
42917 else
42918 glibcxx_cv_func__hypot_use=no
42920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42921 ac_ext=c
42922 ac_cpp='$CPP $CPPFLAGS'
42923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42932 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42934 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42935 for ac_func in _hypot
42936 do :
42937 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42938 if test "x$ac_cv_func__hypot" = xyes; then :
42939 cat >>confdefs.h <<_ACEOF
42940 #define HAVE__HYPOT 1
42941 _ACEOF
42944 done
42953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42954 $as_echo_n "checking for float trig functions... " >&6; }
42955 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42956 $as_echo_n "(cached) " >&6
42957 else
42960 ac_ext=cpp
42961 ac_cpp='$CXXCPP $CPPFLAGS'
42962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42967 /* end confdefs.h. */
42968 #include <math.h>
42970 main ()
42972 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42974 return 0;
42976 _ACEOF
42977 if ac_fn_cxx_try_compile "$LINENO"; then :
42978 glibcxx_cv_func_float_trig_use=yes
42979 else
42980 glibcxx_cv_func_float_trig_use=no
42982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42983 ac_ext=c
42984 ac_cpp='$CPP $CPPFLAGS'
42985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42992 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42993 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42994 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42995 do :
42996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42998 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42999 cat >>confdefs.h <<_ACEOF
43000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43001 _ACEOF
43004 done
43006 else
43007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
43008 $as_echo_n "checking for _float trig functions... " >&6; }
43009 if ${glibcxx_cv_func__float_trig_use+:} false; then :
43010 $as_echo_n "(cached) " >&6
43011 else
43014 ac_ext=cpp
43015 ac_cpp='$CXXCPP $CPPFLAGS'
43016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43021 /* end confdefs.h. */
43022 #include <math.h>
43024 main ()
43026 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
43028 return 0;
43030 _ACEOF
43031 if ac_fn_cxx_try_compile "$LINENO"; then :
43032 glibcxx_cv_func__float_trig_use=yes
43033 else
43034 glibcxx_cv_func__float_trig_use=no
43036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43037 ac_ext=c
43038 ac_cpp='$CPP $CPPFLAGS'
43039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
43046 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
43047 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
43048 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
43049 do :
43050 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43051 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43052 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43053 cat >>confdefs.h <<_ACEOF
43054 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43055 _ACEOF
43058 done
43067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
43068 $as_echo_n "checking for float round functions... " >&6; }
43069 if ${glibcxx_cv_func_float_round_use+:} false; then :
43070 $as_echo_n "(cached) " >&6
43071 else
43074 ac_ext=cpp
43075 ac_cpp='$CXXCPP $CPPFLAGS'
43076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43081 /* end confdefs.h. */
43082 #include <math.h>
43084 main ()
43086 ceilf (0); floorf (0);
43088 return 0;
43090 _ACEOF
43091 if ac_fn_cxx_try_compile "$LINENO"; then :
43092 glibcxx_cv_func_float_round_use=yes
43093 else
43094 glibcxx_cv_func_float_round_use=no
43096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43097 ac_ext=c
43098 ac_cpp='$CPP $CPPFLAGS'
43099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
43106 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
43107 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
43108 for ac_func in ceilf floorf
43109 do :
43110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43112 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43113 cat >>confdefs.h <<_ACEOF
43114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43115 _ACEOF
43118 done
43120 else
43121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
43122 $as_echo_n "checking for _float round functions... " >&6; }
43123 if ${glibcxx_cv_func__float_round_use+:} false; then :
43124 $as_echo_n "(cached) " >&6
43125 else
43128 ac_ext=cpp
43129 ac_cpp='$CXXCPP $CPPFLAGS'
43130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43135 /* end confdefs.h. */
43136 #include <math.h>
43138 main ()
43140 _ceilf (0); _floorf (0);
43142 return 0;
43144 _ACEOF
43145 if ac_fn_cxx_try_compile "$LINENO"; then :
43146 glibcxx_cv_func__float_round_use=yes
43147 else
43148 glibcxx_cv_func__float_round_use=no
43150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43151 ac_ext=c
43152 ac_cpp='$CPP $CPPFLAGS'
43153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
43160 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
43161 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
43162 for ac_func in _ceilf _floorf
43163 do :
43164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43166 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
43167 cat >>confdefs.h <<_ACEOF
43168 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43169 _ACEOF
43172 done
43182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
43183 $as_echo_n "checking for expf declaration... " >&6; }
43184 if test x${glibcxx_cv_func_expf_use+set} != xset; then
43185 if ${glibcxx_cv_func_expf_use+:} false; then :
43186 $as_echo_n "(cached) " >&6
43187 else
43190 ac_ext=cpp
43191 ac_cpp='$CXXCPP $CPPFLAGS'
43192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43197 /* end confdefs.h. */
43198 #include <math.h>
43199 #ifdef HAVE_IEEEFP_H
43200 #include <ieeefp.h>
43201 #endif
43204 main ()
43206 expf(0);
43208 return 0;
43210 _ACEOF
43211 if ac_fn_cxx_try_compile "$LINENO"; then :
43212 glibcxx_cv_func_expf_use=yes
43213 else
43214 glibcxx_cv_func_expf_use=no
43216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43217 ac_ext=c
43218 ac_cpp='$CPP $CPPFLAGS'
43219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
43228 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
43230 if test x$glibcxx_cv_func_expf_use = x"yes"; then
43231 for ac_func in expf
43232 do :
43233 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
43234 if test "x$ac_cv_func_expf" = xyes; then :
43235 cat >>confdefs.h <<_ACEOF
43236 #define HAVE_EXPF 1
43237 _ACEOF
43240 done
43242 else
43244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
43245 $as_echo_n "checking for _expf declaration... " >&6; }
43246 if test x${glibcxx_cv_func__expf_use+set} != xset; then
43247 if ${glibcxx_cv_func__expf_use+:} false; then :
43248 $as_echo_n "(cached) " >&6
43249 else
43252 ac_ext=cpp
43253 ac_cpp='$CXXCPP $CPPFLAGS'
43254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43259 /* end confdefs.h. */
43260 #include <math.h>
43261 #ifdef HAVE_IEEEFP_H
43262 #include <ieeefp.h>
43263 #endif
43266 main ()
43268 _expf(0);
43270 return 0;
43272 _ACEOF
43273 if ac_fn_cxx_try_compile "$LINENO"; then :
43274 glibcxx_cv_func__expf_use=yes
43275 else
43276 glibcxx_cv_func__expf_use=no
43278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43279 ac_ext=c
43280 ac_cpp='$CPP $CPPFLAGS'
43281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
43290 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
43292 if test x$glibcxx_cv_func__expf_use = x"yes"; then
43293 for ac_func in _expf
43294 do :
43295 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
43296 if test "x$ac_cv_func__expf" = xyes; then :
43297 cat >>confdefs.h <<_ACEOF
43298 #define HAVE__EXPF 1
43299 _ACEOF
43302 done
43311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
43312 $as_echo_n "checking for isnanf declaration... " >&6; }
43313 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
43314 if ${glibcxx_cv_func_isnanf_use+:} false; then :
43315 $as_echo_n "(cached) " >&6
43316 else
43319 ac_ext=cpp
43320 ac_cpp='$CXXCPP $CPPFLAGS'
43321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43326 /* end confdefs.h. */
43327 #include <math.h>
43328 #ifdef HAVE_IEEEFP_H
43329 #include <ieeefp.h>
43330 #endif
43333 main ()
43335 isnanf(0);
43337 return 0;
43339 _ACEOF
43340 if ac_fn_cxx_try_compile "$LINENO"; then :
43341 glibcxx_cv_func_isnanf_use=yes
43342 else
43343 glibcxx_cv_func_isnanf_use=no
43345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43346 ac_ext=c
43347 ac_cpp='$CPP $CPPFLAGS'
43348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43357 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43359 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
43360 for ac_func in isnanf
43361 do :
43362 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
43363 if test "x$ac_cv_func_isnanf" = xyes; then :
43364 cat >>confdefs.h <<_ACEOF
43365 #define HAVE_ISNANF 1
43366 _ACEOF
43369 done
43371 else
43373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43374 $as_echo_n "checking for _isnanf declaration... " >&6; }
43375 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43376 if ${glibcxx_cv_func__isnanf_use+:} false; then :
43377 $as_echo_n "(cached) " >&6
43378 else
43381 ac_ext=cpp
43382 ac_cpp='$CXXCPP $CPPFLAGS'
43383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43388 /* end confdefs.h. */
43389 #include <math.h>
43390 #ifdef HAVE_IEEEFP_H
43391 #include <ieeefp.h>
43392 #endif
43395 main ()
43397 _isnanf(0);
43399 return 0;
43401 _ACEOF
43402 if ac_fn_cxx_try_compile "$LINENO"; then :
43403 glibcxx_cv_func__isnanf_use=yes
43404 else
43405 glibcxx_cv_func__isnanf_use=no
43407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43408 ac_ext=c
43409 ac_cpp='$CPP $CPPFLAGS'
43410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43419 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43421 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43422 for ac_func in _isnanf
43423 do :
43424 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43425 if test "x$ac_cv_func__isnanf" = xyes; then :
43426 cat >>confdefs.h <<_ACEOF
43427 #define HAVE__ISNANF 1
43428 _ACEOF
43431 done
43440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43441 $as_echo_n "checking for isinff declaration... " >&6; }
43442 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43443 if ${glibcxx_cv_func_isinff_use+:} false; then :
43444 $as_echo_n "(cached) " >&6
43445 else
43448 ac_ext=cpp
43449 ac_cpp='$CXXCPP $CPPFLAGS'
43450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43455 /* end confdefs.h. */
43456 #include <math.h>
43457 #ifdef HAVE_IEEEFP_H
43458 #include <ieeefp.h>
43459 #endif
43462 main ()
43464 isinff(0);
43466 return 0;
43468 _ACEOF
43469 if ac_fn_cxx_try_compile "$LINENO"; then :
43470 glibcxx_cv_func_isinff_use=yes
43471 else
43472 glibcxx_cv_func_isinff_use=no
43474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43475 ac_ext=c
43476 ac_cpp='$CPP $CPPFLAGS'
43477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43486 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43488 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43489 for ac_func in isinff
43490 do :
43491 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43492 if test "x$ac_cv_func_isinff" = xyes; then :
43493 cat >>confdefs.h <<_ACEOF
43494 #define HAVE_ISINFF 1
43495 _ACEOF
43498 done
43500 else
43502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43503 $as_echo_n "checking for _isinff declaration... " >&6; }
43504 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43505 if ${glibcxx_cv_func__isinff_use+:} false; then :
43506 $as_echo_n "(cached) " >&6
43507 else
43510 ac_ext=cpp
43511 ac_cpp='$CXXCPP $CPPFLAGS'
43512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43517 /* end confdefs.h. */
43518 #include <math.h>
43519 #ifdef HAVE_IEEEFP_H
43520 #include <ieeefp.h>
43521 #endif
43524 main ()
43526 _isinff(0);
43528 return 0;
43530 _ACEOF
43531 if ac_fn_cxx_try_compile "$LINENO"; then :
43532 glibcxx_cv_func__isinff_use=yes
43533 else
43534 glibcxx_cv_func__isinff_use=no
43536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43537 ac_ext=c
43538 ac_cpp='$CPP $CPPFLAGS'
43539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43548 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43550 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43551 for ac_func in _isinff
43552 do :
43553 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43554 if test "x$ac_cv_func__isinff" = xyes; then :
43555 cat >>confdefs.h <<_ACEOF
43556 #define HAVE__ISINFF 1
43557 _ACEOF
43560 done
43569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43570 $as_echo_n "checking for atan2f declaration... " >&6; }
43571 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43572 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43573 $as_echo_n "(cached) " >&6
43574 else
43577 ac_ext=cpp
43578 ac_cpp='$CXXCPP $CPPFLAGS'
43579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43584 /* end confdefs.h. */
43585 #include <math.h>
43587 main ()
43589 atan2f(0, 0);
43591 return 0;
43593 _ACEOF
43594 if ac_fn_cxx_try_compile "$LINENO"; then :
43595 glibcxx_cv_func_atan2f_use=yes
43596 else
43597 glibcxx_cv_func_atan2f_use=no
43599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43600 ac_ext=c
43601 ac_cpp='$CPP $CPPFLAGS'
43602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43611 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43613 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43614 for ac_func in atan2f
43615 do :
43616 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43617 if test "x$ac_cv_func_atan2f" = xyes; then :
43618 cat >>confdefs.h <<_ACEOF
43619 #define HAVE_ATAN2F 1
43620 _ACEOF
43623 done
43625 else
43627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43628 $as_echo_n "checking for _atan2f declaration... " >&6; }
43629 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43630 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43631 $as_echo_n "(cached) " >&6
43632 else
43635 ac_ext=cpp
43636 ac_cpp='$CXXCPP $CPPFLAGS'
43637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43642 /* end confdefs.h. */
43643 #include <math.h>
43645 main ()
43647 _atan2f(0, 0);
43649 return 0;
43651 _ACEOF
43652 if ac_fn_cxx_try_compile "$LINENO"; then :
43653 glibcxx_cv_func__atan2f_use=yes
43654 else
43655 glibcxx_cv_func__atan2f_use=no
43657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43658 ac_ext=c
43659 ac_cpp='$CPP $CPPFLAGS'
43660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43669 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43671 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43672 for ac_func in _atan2f
43673 do :
43674 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43675 if test "x$ac_cv_func__atan2f" = xyes; then :
43676 cat >>confdefs.h <<_ACEOF
43677 #define HAVE__ATAN2F 1
43678 _ACEOF
43681 done
43690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43691 $as_echo_n "checking for fabsf declaration... " >&6; }
43692 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43693 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43694 $as_echo_n "(cached) " >&6
43695 else
43698 ac_ext=cpp
43699 ac_cpp='$CXXCPP $CPPFLAGS'
43700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43705 /* end confdefs.h. */
43706 #include <math.h>
43707 #ifdef HAVE_IEEEFP_H
43708 #include <ieeefp.h>
43709 #endif
43712 main ()
43714 fabsf(0);
43716 return 0;
43718 _ACEOF
43719 if ac_fn_cxx_try_compile "$LINENO"; then :
43720 glibcxx_cv_func_fabsf_use=yes
43721 else
43722 glibcxx_cv_func_fabsf_use=no
43724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43725 ac_ext=c
43726 ac_cpp='$CPP $CPPFLAGS'
43727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43736 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43738 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43739 for ac_func in fabsf
43740 do :
43741 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43742 if test "x$ac_cv_func_fabsf" = xyes; then :
43743 cat >>confdefs.h <<_ACEOF
43744 #define HAVE_FABSF 1
43745 _ACEOF
43748 done
43750 else
43752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43753 $as_echo_n "checking for _fabsf declaration... " >&6; }
43754 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43755 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43756 $as_echo_n "(cached) " >&6
43757 else
43760 ac_ext=cpp
43761 ac_cpp='$CXXCPP $CPPFLAGS'
43762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43767 /* end confdefs.h. */
43768 #include <math.h>
43769 #ifdef HAVE_IEEEFP_H
43770 #include <ieeefp.h>
43771 #endif
43774 main ()
43776 _fabsf(0);
43778 return 0;
43780 _ACEOF
43781 if ac_fn_cxx_try_compile "$LINENO"; then :
43782 glibcxx_cv_func__fabsf_use=yes
43783 else
43784 glibcxx_cv_func__fabsf_use=no
43786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43787 ac_ext=c
43788 ac_cpp='$CPP $CPPFLAGS'
43789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43798 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43800 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43801 for ac_func in _fabsf
43802 do :
43803 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43804 if test "x$ac_cv_func__fabsf" = xyes; then :
43805 cat >>confdefs.h <<_ACEOF
43806 #define HAVE__FABSF 1
43807 _ACEOF
43810 done
43819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43820 $as_echo_n "checking for fmodf declaration... " >&6; }
43821 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43822 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43823 $as_echo_n "(cached) " >&6
43824 else
43827 ac_ext=cpp
43828 ac_cpp='$CXXCPP $CPPFLAGS'
43829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43834 /* end confdefs.h. */
43835 #include <math.h>
43837 main ()
43839 fmodf(0, 0);
43841 return 0;
43843 _ACEOF
43844 if ac_fn_cxx_try_compile "$LINENO"; then :
43845 glibcxx_cv_func_fmodf_use=yes
43846 else
43847 glibcxx_cv_func_fmodf_use=no
43849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43850 ac_ext=c
43851 ac_cpp='$CPP $CPPFLAGS'
43852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43861 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43863 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43864 for ac_func in fmodf
43865 do :
43866 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43867 if test "x$ac_cv_func_fmodf" = xyes; then :
43868 cat >>confdefs.h <<_ACEOF
43869 #define HAVE_FMODF 1
43870 _ACEOF
43873 done
43875 else
43877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43878 $as_echo_n "checking for _fmodf declaration... " >&6; }
43879 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43880 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43881 $as_echo_n "(cached) " >&6
43882 else
43885 ac_ext=cpp
43886 ac_cpp='$CXXCPP $CPPFLAGS'
43887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43892 /* end confdefs.h. */
43893 #include <math.h>
43895 main ()
43897 _fmodf(0, 0);
43899 return 0;
43901 _ACEOF
43902 if ac_fn_cxx_try_compile "$LINENO"; then :
43903 glibcxx_cv_func__fmodf_use=yes
43904 else
43905 glibcxx_cv_func__fmodf_use=no
43907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43908 ac_ext=c
43909 ac_cpp='$CPP $CPPFLAGS'
43910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43919 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43921 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43922 for ac_func in _fmodf
43923 do :
43924 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43925 if test "x$ac_cv_func__fmodf" = xyes; then :
43926 cat >>confdefs.h <<_ACEOF
43927 #define HAVE__FMODF 1
43928 _ACEOF
43931 done
43940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43941 $as_echo_n "checking for frexpf declaration... " >&6; }
43942 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43943 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43944 $as_echo_n "(cached) " >&6
43945 else
43948 ac_ext=cpp
43949 ac_cpp='$CXXCPP $CPPFLAGS'
43950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43955 /* end confdefs.h. */
43956 #include <math.h>
43958 main ()
43960 frexpf(0, 0);
43962 return 0;
43964 _ACEOF
43965 if ac_fn_cxx_try_compile "$LINENO"; then :
43966 glibcxx_cv_func_frexpf_use=yes
43967 else
43968 glibcxx_cv_func_frexpf_use=no
43970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43971 ac_ext=c
43972 ac_cpp='$CPP $CPPFLAGS'
43973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43982 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43984 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43985 for ac_func in frexpf
43986 do :
43987 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43988 if test "x$ac_cv_func_frexpf" = xyes; then :
43989 cat >>confdefs.h <<_ACEOF
43990 #define HAVE_FREXPF 1
43991 _ACEOF
43994 done
43996 else
43998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43999 $as_echo_n "checking for _frexpf declaration... " >&6; }
44000 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
44001 if ${glibcxx_cv_func__frexpf_use+:} false; then :
44002 $as_echo_n "(cached) " >&6
44003 else
44006 ac_ext=cpp
44007 ac_cpp='$CXXCPP $CPPFLAGS'
44008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44013 /* end confdefs.h. */
44014 #include <math.h>
44016 main ()
44018 _frexpf(0, 0);
44020 return 0;
44022 _ACEOF
44023 if ac_fn_cxx_try_compile "$LINENO"; then :
44024 glibcxx_cv_func__frexpf_use=yes
44025 else
44026 glibcxx_cv_func__frexpf_use=no
44028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44029 ac_ext=c
44030 ac_cpp='$CPP $CPPFLAGS'
44031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
44040 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
44042 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
44043 for ac_func in _frexpf
44044 do :
44045 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
44046 if test "x$ac_cv_func__frexpf" = xyes; then :
44047 cat >>confdefs.h <<_ACEOF
44048 #define HAVE__FREXPF 1
44049 _ACEOF
44052 done
44061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
44062 $as_echo_n "checking for hypotf declaration... " >&6; }
44063 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
44064 if ${glibcxx_cv_func_hypotf_use+:} false; then :
44065 $as_echo_n "(cached) " >&6
44066 else
44069 ac_ext=cpp
44070 ac_cpp='$CXXCPP $CPPFLAGS'
44071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44076 /* end confdefs.h. */
44077 #include <math.h>
44079 main ()
44081 hypotf(0, 0);
44083 return 0;
44085 _ACEOF
44086 if ac_fn_cxx_try_compile "$LINENO"; then :
44087 glibcxx_cv_func_hypotf_use=yes
44088 else
44089 glibcxx_cv_func_hypotf_use=no
44091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44092 ac_ext=c
44093 ac_cpp='$CPP $CPPFLAGS'
44094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
44103 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
44105 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
44106 for ac_func in hypotf
44107 do :
44108 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
44109 if test "x$ac_cv_func_hypotf" = xyes; then :
44110 cat >>confdefs.h <<_ACEOF
44111 #define HAVE_HYPOTF 1
44112 _ACEOF
44115 done
44117 else
44119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
44120 $as_echo_n "checking for _hypotf declaration... " >&6; }
44121 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
44122 if ${glibcxx_cv_func__hypotf_use+:} false; then :
44123 $as_echo_n "(cached) " >&6
44124 else
44127 ac_ext=cpp
44128 ac_cpp='$CXXCPP $CPPFLAGS'
44129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44134 /* end confdefs.h. */
44135 #include <math.h>
44137 main ()
44139 _hypotf(0, 0);
44141 return 0;
44143 _ACEOF
44144 if ac_fn_cxx_try_compile "$LINENO"; then :
44145 glibcxx_cv_func__hypotf_use=yes
44146 else
44147 glibcxx_cv_func__hypotf_use=no
44149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44150 ac_ext=c
44151 ac_cpp='$CPP $CPPFLAGS'
44152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
44161 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
44163 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
44164 for ac_func in _hypotf
44165 do :
44166 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
44167 if test "x$ac_cv_func__hypotf" = xyes; then :
44168 cat >>confdefs.h <<_ACEOF
44169 #define HAVE__HYPOTF 1
44170 _ACEOF
44173 done
44182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
44183 $as_echo_n "checking for ldexpf declaration... " >&6; }
44184 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
44185 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
44186 $as_echo_n "(cached) " >&6
44187 else
44190 ac_ext=cpp
44191 ac_cpp='$CXXCPP $CPPFLAGS'
44192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44197 /* end confdefs.h. */
44198 #include <math.h>
44200 main ()
44202 ldexpf(0, 0);
44204 return 0;
44206 _ACEOF
44207 if ac_fn_cxx_try_compile "$LINENO"; then :
44208 glibcxx_cv_func_ldexpf_use=yes
44209 else
44210 glibcxx_cv_func_ldexpf_use=no
44212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44213 ac_ext=c
44214 ac_cpp='$CPP $CPPFLAGS'
44215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
44224 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
44226 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
44227 for ac_func in ldexpf
44228 do :
44229 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
44230 if test "x$ac_cv_func_ldexpf" = xyes; then :
44231 cat >>confdefs.h <<_ACEOF
44232 #define HAVE_LDEXPF 1
44233 _ACEOF
44236 done
44238 else
44240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
44241 $as_echo_n "checking for _ldexpf declaration... " >&6; }
44242 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
44243 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
44244 $as_echo_n "(cached) " >&6
44245 else
44248 ac_ext=cpp
44249 ac_cpp='$CXXCPP $CPPFLAGS'
44250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44255 /* end confdefs.h. */
44256 #include <math.h>
44258 main ()
44260 _ldexpf(0, 0);
44262 return 0;
44264 _ACEOF
44265 if ac_fn_cxx_try_compile "$LINENO"; then :
44266 glibcxx_cv_func__ldexpf_use=yes
44267 else
44268 glibcxx_cv_func__ldexpf_use=no
44270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44271 ac_ext=c
44272 ac_cpp='$CPP $CPPFLAGS'
44273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
44282 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
44284 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
44285 for ac_func in _ldexpf
44286 do :
44287 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
44288 if test "x$ac_cv_func__ldexpf" = xyes; then :
44289 cat >>confdefs.h <<_ACEOF
44290 #define HAVE__LDEXPF 1
44291 _ACEOF
44294 done
44303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
44304 $as_echo_n "checking for logf declaration... " >&6; }
44305 if test x${glibcxx_cv_func_logf_use+set} != xset; then
44306 if ${glibcxx_cv_func_logf_use+:} false; then :
44307 $as_echo_n "(cached) " >&6
44308 else
44311 ac_ext=cpp
44312 ac_cpp='$CXXCPP $CPPFLAGS'
44313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44318 /* end confdefs.h. */
44319 #include <math.h>
44320 #ifdef HAVE_IEEEFP_H
44321 #include <ieeefp.h>
44322 #endif
44325 main ()
44327 logf(0);
44329 return 0;
44331 _ACEOF
44332 if ac_fn_cxx_try_compile "$LINENO"; then :
44333 glibcxx_cv_func_logf_use=yes
44334 else
44335 glibcxx_cv_func_logf_use=no
44337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44338 ac_ext=c
44339 ac_cpp='$CPP $CPPFLAGS'
44340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
44349 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
44351 if test x$glibcxx_cv_func_logf_use = x"yes"; then
44352 for ac_func in logf
44353 do :
44354 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
44355 if test "x$ac_cv_func_logf" = xyes; then :
44356 cat >>confdefs.h <<_ACEOF
44357 #define HAVE_LOGF 1
44358 _ACEOF
44361 done
44363 else
44365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
44366 $as_echo_n "checking for _logf declaration... " >&6; }
44367 if test x${glibcxx_cv_func__logf_use+set} != xset; then
44368 if ${glibcxx_cv_func__logf_use+:} false; then :
44369 $as_echo_n "(cached) " >&6
44370 else
44373 ac_ext=cpp
44374 ac_cpp='$CXXCPP $CPPFLAGS'
44375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44380 /* end confdefs.h. */
44381 #include <math.h>
44382 #ifdef HAVE_IEEEFP_H
44383 #include <ieeefp.h>
44384 #endif
44387 main ()
44389 _logf(0);
44391 return 0;
44393 _ACEOF
44394 if ac_fn_cxx_try_compile "$LINENO"; then :
44395 glibcxx_cv_func__logf_use=yes
44396 else
44397 glibcxx_cv_func__logf_use=no
44399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44400 ac_ext=c
44401 ac_cpp='$CPP $CPPFLAGS'
44402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44411 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44413 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44414 for ac_func in _logf
44415 do :
44416 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44417 if test "x$ac_cv_func__logf" = xyes; then :
44418 cat >>confdefs.h <<_ACEOF
44419 #define HAVE__LOGF 1
44420 _ACEOF
44423 done
44432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44433 $as_echo_n "checking for log10f declaration... " >&6; }
44434 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44435 if ${glibcxx_cv_func_log10f_use+:} false; then :
44436 $as_echo_n "(cached) " >&6
44437 else
44440 ac_ext=cpp
44441 ac_cpp='$CXXCPP $CPPFLAGS'
44442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44447 /* end confdefs.h. */
44448 #include <math.h>
44449 #ifdef HAVE_IEEEFP_H
44450 #include <ieeefp.h>
44451 #endif
44454 main ()
44456 log10f(0);
44458 return 0;
44460 _ACEOF
44461 if ac_fn_cxx_try_compile "$LINENO"; then :
44462 glibcxx_cv_func_log10f_use=yes
44463 else
44464 glibcxx_cv_func_log10f_use=no
44466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44467 ac_ext=c
44468 ac_cpp='$CPP $CPPFLAGS'
44469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44478 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44480 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44481 for ac_func in log10f
44482 do :
44483 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44484 if test "x$ac_cv_func_log10f" = xyes; then :
44485 cat >>confdefs.h <<_ACEOF
44486 #define HAVE_LOG10F 1
44487 _ACEOF
44490 done
44492 else
44494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44495 $as_echo_n "checking for _log10f declaration... " >&6; }
44496 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44497 if ${glibcxx_cv_func__log10f_use+:} false; then :
44498 $as_echo_n "(cached) " >&6
44499 else
44502 ac_ext=cpp
44503 ac_cpp='$CXXCPP $CPPFLAGS'
44504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44509 /* end confdefs.h. */
44510 #include <math.h>
44511 #ifdef HAVE_IEEEFP_H
44512 #include <ieeefp.h>
44513 #endif
44516 main ()
44518 _log10f(0);
44520 return 0;
44522 _ACEOF
44523 if ac_fn_cxx_try_compile "$LINENO"; then :
44524 glibcxx_cv_func__log10f_use=yes
44525 else
44526 glibcxx_cv_func__log10f_use=no
44528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44529 ac_ext=c
44530 ac_cpp='$CPP $CPPFLAGS'
44531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44540 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44542 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44543 for ac_func in _log10f
44544 do :
44545 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44546 if test "x$ac_cv_func__log10f" = xyes; then :
44547 cat >>confdefs.h <<_ACEOF
44548 #define HAVE__LOG10F 1
44549 _ACEOF
44552 done
44561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44562 $as_echo_n "checking for modff declaration... " >&6; }
44563 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44564 if ${glibcxx_cv_func_modff_use+:} false; then :
44565 $as_echo_n "(cached) " >&6
44566 else
44569 ac_ext=cpp
44570 ac_cpp='$CXXCPP $CPPFLAGS'
44571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44576 /* end confdefs.h. */
44577 #include <math.h>
44579 main ()
44581 modff(0, 0);
44583 return 0;
44585 _ACEOF
44586 if ac_fn_cxx_try_compile "$LINENO"; then :
44587 glibcxx_cv_func_modff_use=yes
44588 else
44589 glibcxx_cv_func_modff_use=no
44591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44592 ac_ext=c
44593 ac_cpp='$CPP $CPPFLAGS'
44594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44603 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44605 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44606 for ac_func in modff
44607 do :
44608 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44609 if test "x$ac_cv_func_modff" = xyes; then :
44610 cat >>confdefs.h <<_ACEOF
44611 #define HAVE_MODFF 1
44612 _ACEOF
44615 done
44617 else
44619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44620 $as_echo_n "checking for _modff declaration... " >&6; }
44621 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44622 if ${glibcxx_cv_func__modff_use+:} false; then :
44623 $as_echo_n "(cached) " >&6
44624 else
44627 ac_ext=cpp
44628 ac_cpp='$CXXCPP $CPPFLAGS'
44629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44634 /* end confdefs.h. */
44635 #include <math.h>
44637 main ()
44639 _modff(0, 0);
44641 return 0;
44643 _ACEOF
44644 if ac_fn_cxx_try_compile "$LINENO"; then :
44645 glibcxx_cv_func__modff_use=yes
44646 else
44647 glibcxx_cv_func__modff_use=no
44649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44650 ac_ext=c
44651 ac_cpp='$CPP $CPPFLAGS'
44652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44661 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44663 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44664 for ac_func in _modff
44665 do :
44666 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44667 if test "x$ac_cv_func__modff" = xyes; then :
44668 cat >>confdefs.h <<_ACEOF
44669 #define HAVE__MODFF 1
44670 _ACEOF
44673 done
44682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44683 $as_echo_n "checking for modf declaration... " >&6; }
44684 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44685 if ${glibcxx_cv_func_modf_use+:} false; then :
44686 $as_echo_n "(cached) " >&6
44687 else
44690 ac_ext=cpp
44691 ac_cpp='$CXXCPP $CPPFLAGS'
44692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44697 /* end confdefs.h. */
44698 #include <math.h>
44700 main ()
44702 modf(0, 0);
44704 return 0;
44706 _ACEOF
44707 if ac_fn_cxx_try_compile "$LINENO"; then :
44708 glibcxx_cv_func_modf_use=yes
44709 else
44710 glibcxx_cv_func_modf_use=no
44712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44713 ac_ext=c
44714 ac_cpp='$CPP $CPPFLAGS'
44715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44724 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44726 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44727 for ac_func in modf
44728 do :
44729 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44730 if test "x$ac_cv_func_modf" = xyes; then :
44731 cat >>confdefs.h <<_ACEOF
44732 #define HAVE_MODF 1
44733 _ACEOF
44736 done
44738 else
44740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44741 $as_echo_n "checking for _modf declaration... " >&6; }
44742 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44743 if ${glibcxx_cv_func__modf_use+:} false; then :
44744 $as_echo_n "(cached) " >&6
44745 else
44748 ac_ext=cpp
44749 ac_cpp='$CXXCPP $CPPFLAGS'
44750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44755 /* end confdefs.h. */
44756 #include <math.h>
44758 main ()
44760 _modf(0, 0);
44762 return 0;
44764 _ACEOF
44765 if ac_fn_cxx_try_compile "$LINENO"; then :
44766 glibcxx_cv_func__modf_use=yes
44767 else
44768 glibcxx_cv_func__modf_use=no
44770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44771 ac_ext=c
44772 ac_cpp='$CPP $CPPFLAGS'
44773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44782 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44784 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44785 for ac_func in _modf
44786 do :
44787 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44788 if test "x$ac_cv_func__modf" = xyes; then :
44789 cat >>confdefs.h <<_ACEOF
44790 #define HAVE__MODF 1
44791 _ACEOF
44794 done
44803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44804 $as_echo_n "checking for powf declaration... " >&6; }
44805 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44806 if ${glibcxx_cv_func_powf_use+:} false; then :
44807 $as_echo_n "(cached) " >&6
44808 else
44811 ac_ext=cpp
44812 ac_cpp='$CXXCPP $CPPFLAGS'
44813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44818 /* end confdefs.h. */
44819 #include <math.h>
44821 main ()
44823 powf(0, 0);
44825 return 0;
44827 _ACEOF
44828 if ac_fn_cxx_try_compile "$LINENO"; then :
44829 glibcxx_cv_func_powf_use=yes
44830 else
44831 glibcxx_cv_func_powf_use=no
44833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44834 ac_ext=c
44835 ac_cpp='$CPP $CPPFLAGS'
44836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44845 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44847 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44848 for ac_func in powf
44849 do :
44850 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44851 if test "x$ac_cv_func_powf" = xyes; then :
44852 cat >>confdefs.h <<_ACEOF
44853 #define HAVE_POWF 1
44854 _ACEOF
44857 done
44859 else
44861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44862 $as_echo_n "checking for _powf declaration... " >&6; }
44863 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44864 if ${glibcxx_cv_func__powf_use+:} false; then :
44865 $as_echo_n "(cached) " >&6
44866 else
44869 ac_ext=cpp
44870 ac_cpp='$CXXCPP $CPPFLAGS'
44871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44876 /* end confdefs.h. */
44877 #include <math.h>
44879 main ()
44881 _powf(0, 0);
44883 return 0;
44885 _ACEOF
44886 if ac_fn_cxx_try_compile "$LINENO"; then :
44887 glibcxx_cv_func__powf_use=yes
44888 else
44889 glibcxx_cv_func__powf_use=no
44891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44892 ac_ext=c
44893 ac_cpp='$CPP $CPPFLAGS'
44894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44903 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44905 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44906 for ac_func in _powf
44907 do :
44908 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44909 if test "x$ac_cv_func__powf" = xyes; then :
44910 cat >>confdefs.h <<_ACEOF
44911 #define HAVE__POWF 1
44912 _ACEOF
44915 done
44924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44925 $as_echo_n "checking for sqrtf declaration... " >&6; }
44926 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44927 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44928 $as_echo_n "(cached) " >&6
44929 else
44932 ac_ext=cpp
44933 ac_cpp='$CXXCPP $CPPFLAGS'
44934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44939 /* end confdefs.h. */
44940 #include <math.h>
44941 #ifdef HAVE_IEEEFP_H
44942 #include <ieeefp.h>
44943 #endif
44946 main ()
44948 sqrtf(0);
44950 return 0;
44952 _ACEOF
44953 if ac_fn_cxx_try_compile "$LINENO"; then :
44954 glibcxx_cv_func_sqrtf_use=yes
44955 else
44956 glibcxx_cv_func_sqrtf_use=no
44958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44959 ac_ext=c
44960 ac_cpp='$CPP $CPPFLAGS'
44961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44970 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44972 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44973 for ac_func in sqrtf
44974 do :
44975 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44976 if test "x$ac_cv_func_sqrtf" = xyes; then :
44977 cat >>confdefs.h <<_ACEOF
44978 #define HAVE_SQRTF 1
44979 _ACEOF
44982 done
44984 else
44986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44987 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44988 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44989 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44990 $as_echo_n "(cached) " >&6
44991 else
44994 ac_ext=cpp
44995 ac_cpp='$CXXCPP $CPPFLAGS'
44996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45001 /* end confdefs.h. */
45002 #include <math.h>
45003 #ifdef HAVE_IEEEFP_H
45004 #include <ieeefp.h>
45005 #endif
45008 main ()
45010 _sqrtf(0);
45012 return 0;
45014 _ACEOF
45015 if ac_fn_cxx_try_compile "$LINENO"; then :
45016 glibcxx_cv_func__sqrtf_use=yes
45017 else
45018 glibcxx_cv_func__sqrtf_use=no
45020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45021 ac_ext=c
45022 ac_cpp='$CPP $CPPFLAGS'
45023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
45032 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
45034 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
45035 for ac_func in _sqrtf
45036 do :
45037 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
45038 if test "x$ac_cv_func__sqrtf" = xyes; then :
45039 cat >>confdefs.h <<_ACEOF
45040 #define HAVE__SQRTF 1
45041 _ACEOF
45044 done
45053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
45054 $as_echo_n "checking for sincosf declaration... " >&6; }
45055 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
45056 if ${glibcxx_cv_func_sincosf_use+:} false; then :
45057 $as_echo_n "(cached) " >&6
45058 else
45061 ac_ext=cpp
45062 ac_cpp='$CXXCPP $CPPFLAGS'
45063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45068 /* end confdefs.h. */
45069 #include <math.h>
45071 main ()
45073 sincosf(0, 0, 0);
45075 return 0;
45077 _ACEOF
45078 if ac_fn_cxx_try_compile "$LINENO"; then :
45079 glibcxx_cv_func_sincosf_use=yes
45080 else
45081 glibcxx_cv_func_sincosf_use=no
45083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45084 ac_ext=c
45085 ac_cpp='$CPP $CPPFLAGS'
45086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
45095 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
45097 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
45098 for ac_func in sincosf
45099 do :
45100 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
45101 if test "x$ac_cv_func_sincosf" = xyes; then :
45102 cat >>confdefs.h <<_ACEOF
45103 #define HAVE_SINCOSF 1
45104 _ACEOF
45107 done
45109 else
45111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
45112 $as_echo_n "checking for _sincosf declaration... " >&6; }
45113 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
45114 if ${glibcxx_cv_func__sincosf_use+:} false; then :
45115 $as_echo_n "(cached) " >&6
45116 else
45119 ac_ext=cpp
45120 ac_cpp='$CXXCPP $CPPFLAGS'
45121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45126 /* end confdefs.h. */
45127 #include <math.h>
45129 main ()
45131 _sincosf(0, 0, 0);
45133 return 0;
45135 _ACEOF
45136 if ac_fn_cxx_try_compile "$LINENO"; then :
45137 glibcxx_cv_func__sincosf_use=yes
45138 else
45139 glibcxx_cv_func__sincosf_use=no
45141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45142 ac_ext=c
45143 ac_cpp='$CPP $CPPFLAGS'
45144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
45153 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
45155 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
45156 for ac_func in _sincosf
45157 do :
45158 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
45159 if test "x$ac_cv_func__sincosf" = xyes; then :
45160 cat >>confdefs.h <<_ACEOF
45161 #define HAVE__SINCOSF 1
45162 _ACEOF
45165 done
45174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
45175 $as_echo_n "checking for finitef declaration... " >&6; }
45176 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
45177 if ${glibcxx_cv_func_finitef_use+:} false; then :
45178 $as_echo_n "(cached) " >&6
45179 else
45182 ac_ext=cpp
45183 ac_cpp='$CXXCPP $CPPFLAGS'
45184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45189 /* end confdefs.h. */
45190 #include <math.h>
45191 #ifdef HAVE_IEEEFP_H
45192 #include <ieeefp.h>
45193 #endif
45196 main ()
45198 finitef(0);
45200 return 0;
45202 _ACEOF
45203 if ac_fn_cxx_try_compile "$LINENO"; then :
45204 glibcxx_cv_func_finitef_use=yes
45205 else
45206 glibcxx_cv_func_finitef_use=no
45208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45209 ac_ext=c
45210 ac_cpp='$CPP $CPPFLAGS'
45211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
45220 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
45222 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
45223 for ac_func in finitef
45224 do :
45225 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
45226 if test "x$ac_cv_func_finitef" = xyes; then :
45227 cat >>confdefs.h <<_ACEOF
45228 #define HAVE_FINITEF 1
45229 _ACEOF
45232 done
45234 else
45236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
45237 $as_echo_n "checking for _finitef declaration... " >&6; }
45238 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
45239 if ${glibcxx_cv_func__finitef_use+:} false; then :
45240 $as_echo_n "(cached) " >&6
45241 else
45244 ac_ext=cpp
45245 ac_cpp='$CXXCPP $CPPFLAGS'
45246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45251 /* end confdefs.h. */
45252 #include <math.h>
45253 #ifdef HAVE_IEEEFP_H
45254 #include <ieeefp.h>
45255 #endif
45258 main ()
45260 _finitef(0);
45262 return 0;
45264 _ACEOF
45265 if ac_fn_cxx_try_compile "$LINENO"; then :
45266 glibcxx_cv_func__finitef_use=yes
45267 else
45268 glibcxx_cv_func__finitef_use=no
45270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45271 ac_ext=c
45272 ac_cpp='$CPP $CPPFLAGS'
45273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
45282 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
45284 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
45285 for ac_func in _finitef
45286 do :
45287 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
45288 if test "x$ac_cv_func__finitef" = xyes; then :
45289 cat >>confdefs.h <<_ACEOF
45290 #define HAVE__FINITEF 1
45291 _ACEOF
45294 done
45303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
45304 $as_echo_n "checking for long double trig functions... " >&6; }
45305 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
45306 $as_echo_n "(cached) " >&6
45307 else
45310 ac_ext=cpp
45311 ac_cpp='$CXXCPP $CPPFLAGS'
45312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45317 /* end confdefs.h. */
45318 #include <math.h>
45320 main ()
45322 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
45324 return 0;
45326 _ACEOF
45327 if ac_fn_cxx_try_compile "$LINENO"; then :
45328 glibcxx_cv_func_long_double_trig_use=yes
45329 else
45330 glibcxx_cv_func_long_double_trig_use=no
45332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45333 ac_ext=c
45334 ac_cpp='$CPP $CPPFLAGS'
45335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
45342 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
45343 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
45344 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
45345 do :
45346 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45347 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45348 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45349 cat >>confdefs.h <<_ACEOF
45350 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45351 _ACEOF
45354 done
45356 else
45357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
45358 $as_echo_n "checking for _long double trig functions... " >&6; }
45359 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
45360 $as_echo_n "(cached) " >&6
45361 else
45364 ac_ext=cpp
45365 ac_cpp='$CXXCPP $CPPFLAGS'
45366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45371 /* end confdefs.h. */
45372 #include <math.h>
45374 main ()
45376 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45378 return 0;
45380 _ACEOF
45381 if ac_fn_cxx_try_compile "$LINENO"; then :
45382 glibcxx_cv_func__long_double_trig_use=yes
45383 else
45384 glibcxx_cv_func__long_double_trig_use=no
45386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45387 ac_ext=c
45388 ac_cpp='$CPP $CPPFLAGS'
45389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45396 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45397 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45398 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45399 do :
45400 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45401 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45402 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45403 cat >>confdefs.h <<_ACEOF
45404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45405 _ACEOF
45408 done
45417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45418 $as_echo_n "checking for long double round functions... " >&6; }
45419 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45420 $as_echo_n "(cached) " >&6
45421 else
45424 ac_ext=cpp
45425 ac_cpp='$CXXCPP $CPPFLAGS'
45426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45431 /* end confdefs.h. */
45432 #include <math.h>
45434 main ()
45436 ceill (0); floorl (0);
45438 return 0;
45440 _ACEOF
45441 if ac_fn_cxx_try_compile "$LINENO"; then :
45442 glibcxx_cv_func_long_double_round_use=yes
45443 else
45444 glibcxx_cv_func_long_double_round_use=no
45446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45447 ac_ext=c
45448 ac_cpp='$CPP $CPPFLAGS'
45449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45456 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45457 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45458 for ac_func in ceill floorl
45459 do :
45460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45462 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45463 cat >>confdefs.h <<_ACEOF
45464 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45465 _ACEOF
45468 done
45470 else
45471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45472 $as_echo_n "checking for _long double round functions... " >&6; }
45473 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45474 $as_echo_n "(cached) " >&6
45475 else
45478 ac_ext=cpp
45479 ac_cpp='$CXXCPP $CPPFLAGS'
45480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45485 /* end confdefs.h. */
45486 #include <math.h>
45488 main ()
45490 _ceill (0); _floorl (0);
45492 return 0;
45494 _ACEOF
45495 if ac_fn_cxx_try_compile "$LINENO"; then :
45496 glibcxx_cv_func__long_double_round_use=yes
45497 else
45498 glibcxx_cv_func__long_double_round_use=no
45500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45501 ac_ext=c
45502 ac_cpp='$CPP $CPPFLAGS'
45503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45510 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45511 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45512 for ac_func in _ceill _floorl
45513 do :
45514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45516 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45517 cat >>confdefs.h <<_ACEOF
45518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45519 _ACEOF
45522 done
45532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45533 $as_echo_n "checking for isnanl declaration... " >&6; }
45534 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45535 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45536 $as_echo_n "(cached) " >&6
45537 else
45540 ac_ext=cpp
45541 ac_cpp='$CXXCPP $CPPFLAGS'
45542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45547 /* end confdefs.h. */
45548 #include <math.h>
45549 #ifdef HAVE_IEEEFP_H
45550 #include <ieeefp.h>
45551 #endif
45554 main ()
45556 isnanl(0);
45558 return 0;
45560 _ACEOF
45561 if ac_fn_cxx_try_compile "$LINENO"; then :
45562 glibcxx_cv_func_isnanl_use=yes
45563 else
45564 glibcxx_cv_func_isnanl_use=no
45566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45567 ac_ext=c
45568 ac_cpp='$CPP $CPPFLAGS'
45569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45578 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45580 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45581 for ac_func in isnanl
45582 do :
45583 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45584 if test "x$ac_cv_func_isnanl" = xyes; then :
45585 cat >>confdefs.h <<_ACEOF
45586 #define HAVE_ISNANL 1
45587 _ACEOF
45590 done
45592 else
45594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45595 $as_echo_n "checking for _isnanl declaration... " >&6; }
45596 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45597 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45598 $as_echo_n "(cached) " >&6
45599 else
45602 ac_ext=cpp
45603 ac_cpp='$CXXCPP $CPPFLAGS'
45604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45609 /* end confdefs.h. */
45610 #include <math.h>
45611 #ifdef HAVE_IEEEFP_H
45612 #include <ieeefp.h>
45613 #endif
45616 main ()
45618 _isnanl(0);
45620 return 0;
45622 _ACEOF
45623 if ac_fn_cxx_try_compile "$LINENO"; then :
45624 glibcxx_cv_func__isnanl_use=yes
45625 else
45626 glibcxx_cv_func__isnanl_use=no
45628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45629 ac_ext=c
45630 ac_cpp='$CPP $CPPFLAGS'
45631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45640 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45642 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45643 for ac_func in _isnanl
45644 do :
45645 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45646 if test "x$ac_cv_func__isnanl" = xyes; then :
45647 cat >>confdefs.h <<_ACEOF
45648 #define HAVE__ISNANL 1
45649 _ACEOF
45652 done
45661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45662 $as_echo_n "checking for isinfl declaration... " >&6; }
45663 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45664 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45665 $as_echo_n "(cached) " >&6
45666 else
45669 ac_ext=cpp
45670 ac_cpp='$CXXCPP $CPPFLAGS'
45671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45676 /* end confdefs.h. */
45677 #include <math.h>
45678 #ifdef HAVE_IEEEFP_H
45679 #include <ieeefp.h>
45680 #endif
45683 main ()
45685 isinfl(0);
45687 return 0;
45689 _ACEOF
45690 if ac_fn_cxx_try_compile "$LINENO"; then :
45691 glibcxx_cv_func_isinfl_use=yes
45692 else
45693 glibcxx_cv_func_isinfl_use=no
45695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45696 ac_ext=c
45697 ac_cpp='$CPP $CPPFLAGS'
45698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45707 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45709 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45710 for ac_func in isinfl
45711 do :
45712 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45713 if test "x$ac_cv_func_isinfl" = xyes; then :
45714 cat >>confdefs.h <<_ACEOF
45715 #define HAVE_ISINFL 1
45716 _ACEOF
45719 done
45721 else
45723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45724 $as_echo_n "checking for _isinfl declaration... " >&6; }
45725 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45726 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45727 $as_echo_n "(cached) " >&6
45728 else
45731 ac_ext=cpp
45732 ac_cpp='$CXXCPP $CPPFLAGS'
45733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45738 /* end confdefs.h. */
45739 #include <math.h>
45740 #ifdef HAVE_IEEEFP_H
45741 #include <ieeefp.h>
45742 #endif
45745 main ()
45747 _isinfl(0);
45749 return 0;
45751 _ACEOF
45752 if ac_fn_cxx_try_compile "$LINENO"; then :
45753 glibcxx_cv_func__isinfl_use=yes
45754 else
45755 glibcxx_cv_func__isinfl_use=no
45757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45758 ac_ext=c
45759 ac_cpp='$CPP $CPPFLAGS'
45760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45769 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45771 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45772 for ac_func in _isinfl
45773 do :
45774 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45775 if test "x$ac_cv_func__isinfl" = xyes; then :
45776 cat >>confdefs.h <<_ACEOF
45777 #define HAVE__ISINFL 1
45778 _ACEOF
45781 done
45790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45791 $as_echo_n "checking for atan2l declaration... " >&6; }
45792 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45793 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45794 $as_echo_n "(cached) " >&6
45795 else
45798 ac_ext=cpp
45799 ac_cpp='$CXXCPP $CPPFLAGS'
45800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45805 /* end confdefs.h. */
45806 #include <math.h>
45808 main ()
45810 atan2l(0, 0);
45812 return 0;
45814 _ACEOF
45815 if ac_fn_cxx_try_compile "$LINENO"; then :
45816 glibcxx_cv_func_atan2l_use=yes
45817 else
45818 glibcxx_cv_func_atan2l_use=no
45820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45821 ac_ext=c
45822 ac_cpp='$CPP $CPPFLAGS'
45823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45832 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45834 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45835 for ac_func in atan2l
45836 do :
45837 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45838 if test "x$ac_cv_func_atan2l" = xyes; then :
45839 cat >>confdefs.h <<_ACEOF
45840 #define HAVE_ATAN2L 1
45841 _ACEOF
45844 done
45846 else
45848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45849 $as_echo_n "checking for _atan2l declaration... " >&6; }
45850 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45851 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45852 $as_echo_n "(cached) " >&6
45853 else
45856 ac_ext=cpp
45857 ac_cpp='$CXXCPP $CPPFLAGS'
45858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45863 /* end confdefs.h. */
45864 #include <math.h>
45866 main ()
45868 _atan2l(0, 0);
45870 return 0;
45872 _ACEOF
45873 if ac_fn_cxx_try_compile "$LINENO"; then :
45874 glibcxx_cv_func__atan2l_use=yes
45875 else
45876 glibcxx_cv_func__atan2l_use=no
45878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45879 ac_ext=c
45880 ac_cpp='$CPP $CPPFLAGS'
45881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45890 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45892 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45893 for ac_func in _atan2l
45894 do :
45895 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45896 if test "x$ac_cv_func__atan2l" = xyes; then :
45897 cat >>confdefs.h <<_ACEOF
45898 #define HAVE__ATAN2L 1
45899 _ACEOF
45902 done
45911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45912 $as_echo_n "checking for expl declaration... " >&6; }
45913 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45914 if ${glibcxx_cv_func_expl_use+:} false; then :
45915 $as_echo_n "(cached) " >&6
45916 else
45919 ac_ext=cpp
45920 ac_cpp='$CXXCPP $CPPFLAGS'
45921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45926 /* end confdefs.h. */
45927 #include <math.h>
45928 #ifdef HAVE_IEEEFP_H
45929 #include <ieeefp.h>
45930 #endif
45933 main ()
45935 expl(0);
45937 return 0;
45939 _ACEOF
45940 if ac_fn_cxx_try_compile "$LINENO"; then :
45941 glibcxx_cv_func_expl_use=yes
45942 else
45943 glibcxx_cv_func_expl_use=no
45945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45946 ac_ext=c
45947 ac_cpp='$CPP $CPPFLAGS'
45948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45957 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45959 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45960 for ac_func in expl
45961 do :
45962 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45963 if test "x$ac_cv_func_expl" = xyes; then :
45964 cat >>confdefs.h <<_ACEOF
45965 #define HAVE_EXPL 1
45966 _ACEOF
45969 done
45971 else
45973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45974 $as_echo_n "checking for _expl declaration... " >&6; }
45975 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45976 if ${glibcxx_cv_func__expl_use+:} false; then :
45977 $as_echo_n "(cached) " >&6
45978 else
45981 ac_ext=cpp
45982 ac_cpp='$CXXCPP $CPPFLAGS'
45983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45988 /* end confdefs.h. */
45989 #include <math.h>
45990 #ifdef HAVE_IEEEFP_H
45991 #include <ieeefp.h>
45992 #endif
45995 main ()
45997 _expl(0);
45999 return 0;
46001 _ACEOF
46002 if ac_fn_cxx_try_compile "$LINENO"; then :
46003 glibcxx_cv_func__expl_use=yes
46004 else
46005 glibcxx_cv_func__expl_use=no
46007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46008 ac_ext=c
46009 ac_cpp='$CPP $CPPFLAGS'
46010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
46019 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
46021 if test x$glibcxx_cv_func__expl_use = x"yes"; then
46022 for ac_func in _expl
46023 do :
46024 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
46025 if test "x$ac_cv_func__expl" = xyes; then :
46026 cat >>confdefs.h <<_ACEOF
46027 #define HAVE__EXPL 1
46028 _ACEOF
46031 done
46040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
46041 $as_echo_n "checking for fabsl declaration... " >&6; }
46042 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
46043 if ${glibcxx_cv_func_fabsl_use+:} false; then :
46044 $as_echo_n "(cached) " >&6
46045 else
46048 ac_ext=cpp
46049 ac_cpp='$CXXCPP $CPPFLAGS'
46050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46055 /* end confdefs.h. */
46056 #include <math.h>
46057 #ifdef HAVE_IEEEFP_H
46058 #include <ieeefp.h>
46059 #endif
46062 main ()
46064 fabsl(0);
46066 return 0;
46068 _ACEOF
46069 if ac_fn_cxx_try_compile "$LINENO"; then :
46070 glibcxx_cv_func_fabsl_use=yes
46071 else
46072 glibcxx_cv_func_fabsl_use=no
46074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46075 ac_ext=c
46076 ac_cpp='$CPP $CPPFLAGS'
46077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
46086 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
46088 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
46089 for ac_func in fabsl
46090 do :
46091 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
46092 if test "x$ac_cv_func_fabsl" = xyes; then :
46093 cat >>confdefs.h <<_ACEOF
46094 #define HAVE_FABSL 1
46095 _ACEOF
46098 done
46100 else
46102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
46103 $as_echo_n "checking for _fabsl declaration... " >&6; }
46104 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
46105 if ${glibcxx_cv_func__fabsl_use+:} false; then :
46106 $as_echo_n "(cached) " >&6
46107 else
46110 ac_ext=cpp
46111 ac_cpp='$CXXCPP $CPPFLAGS'
46112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46117 /* end confdefs.h. */
46118 #include <math.h>
46119 #ifdef HAVE_IEEEFP_H
46120 #include <ieeefp.h>
46121 #endif
46124 main ()
46126 _fabsl(0);
46128 return 0;
46130 _ACEOF
46131 if ac_fn_cxx_try_compile "$LINENO"; then :
46132 glibcxx_cv_func__fabsl_use=yes
46133 else
46134 glibcxx_cv_func__fabsl_use=no
46136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46137 ac_ext=c
46138 ac_cpp='$CPP $CPPFLAGS'
46139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
46148 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
46150 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
46151 for ac_func in _fabsl
46152 do :
46153 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
46154 if test "x$ac_cv_func__fabsl" = xyes; then :
46155 cat >>confdefs.h <<_ACEOF
46156 #define HAVE__FABSL 1
46157 _ACEOF
46160 done
46169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
46170 $as_echo_n "checking for fmodl declaration... " >&6; }
46171 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
46172 if ${glibcxx_cv_func_fmodl_use+:} false; then :
46173 $as_echo_n "(cached) " >&6
46174 else
46177 ac_ext=cpp
46178 ac_cpp='$CXXCPP $CPPFLAGS'
46179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46184 /* end confdefs.h. */
46185 #include <math.h>
46187 main ()
46189 fmodl(0, 0);
46191 return 0;
46193 _ACEOF
46194 if ac_fn_cxx_try_compile "$LINENO"; then :
46195 glibcxx_cv_func_fmodl_use=yes
46196 else
46197 glibcxx_cv_func_fmodl_use=no
46199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46200 ac_ext=c
46201 ac_cpp='$CPP $CPPFLAGS'
46202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
46211 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
46213 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
46214 for ac_func in fmodl
46215 do :
46216 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
46217 if test "x$ac_cv_func_fmodl" = xyes; then :
46218 cat >>confdefs.h <<_ACEOF
46219 #define HAVE_FMODL 1
46220 _ACEOF
46223 done
46225 else
46227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
46228 $as_echo_n "checking for _fmodl declaration... " >&6; }
46229 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
46230 if ${glibcxx_cv_func__fmodl_use+:} false; then :
46231 $as_echo_n "(cached) " >&6
46232 else
46235 ac_ext=cpp
46236 ac_cpp='$CXXCPP $CPPFLAGS'
46237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46242 /* end confdefs.h. */
46243 #include <math.h>
46245 main ()
46247 _fmodl(0, 0);
46249 return 0;
46251 _ACEOF
46252 if ac_fn_cxx_try_compile "$LINENO"; then :
46253 glibcxx_cv_func__fmodl_use=yes
46254 else
46255 glibcxx_cv_func__fmodl_use=no
46257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46258 ac_ext=c
46259 ac_cpp='$CPP $CPPFLAGS'
46260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
46269 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
46271 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
46272 for ac_func in _fmodl
46273 do :
46274 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
46275 if test "x$ac_cv_func__fmodl" = xyes; then :
46276 cat >>confdefs.h <<_ACEOF
46277 #define HAVE__FMODL 1
46278 _ACEOF
46281 done
46290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
46291 $as_echo_n "checking for frexpl declaration... " >&6; }
46292 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
46293 if ${glibcxx_cv_func_frexpl_use+:} false; then :
46294 $as_echo_n "(cached) " >&6
46295 else
46298 ac_ext=cpp
46299 ac_cpp='$CXXCPP $CPPFLAGS'
46300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46305 /* end confdefs.h. */
46306 #include <math.h>
46308 main ()
46310 frexpl(0, 0);
46312 return 0;
46314 _ACEOF
46315 if ac_fn_cxx_try_compile "$LINENO"; then :
46316 glibcxx_cv_func_frexpl_use=yes
46317 else
46318 glibcxx_cv_func_frexpl_use=no
46320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46321 ac_ext=c
46322 ac_cpp='$CPP $CPPFLAGS'
46323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
46332 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
46334 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
46335 for ac_func in frexpl
46336 do :
46337 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
46338 if test "x$ac_cv_func_frexpl" = xyes; then :
46339 cat >>confdefs.h <<_ACEOF
46340 #define HAVE_FREXPL 1
46341 _ACEOF
46344 done
46346 else
46348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
46349 $as_echo_n "checking for _frexpl declaration... " >&6; }
46350 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
46351 if ${glibcxx_cv_func__frexpl_use+:} false; then :
46352 $as_echo_n "(cached) " >&6
46353 else
46356 ac_ext=cpp
46357 ac_cpp='$CXXCPP $CPPFLAGS'
46358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46363 /* end confdefs.h. */
46364 #include <math.h>
46366 main ()
46368 _frexpl(0, 0);
46370 return 0;
46372 _ACEOF
46373 if ac_fn_cxx_try_compile "$LINENO"; then :
46374 glibcxx_cv_func__frexpl_use=yes
46375 else
46376 glibcxx_cv_func__frexpl_use=no
46378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46379 ac_ext=c
46380 ac_cpp='$CPP $CPPFLAGS'
46381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46390 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46392 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46393 for ac_func in _frexpl
46394 do :
46395 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46396 if test "x$ac_cv_func__frexpl" = xyes; then :
46397 cat >>confdefs.h <<_ACEOF
46398 #define HAVE__FREXPL 1
46399 _ACEOF
46402 done
46411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46412 $as_echo_n "checking for hypotl declaration... " >&6; }
46413 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46414 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46415 $as_echo_n "(cached) " >&6
46416 else
46419 ac_ext=cpp
46420 ac_cpp='$CXXCPP $CPPFLAGS'
46421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46426 /* end confdefs.h. */
46427 #include <math.h>
46429 main ()
46431 hypotl(0, 0);
46433 return 0;
46435 _ACEOF
46436 if ac_fn_cxx_try_compile "$LINENO"; then :
46437 glibcxx_cv_func_hypotl_use=yes
46438 else
46439 glibcxx_cv_func_hypotl_use=no
46441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46442 ac_ext=c
46443 ac_cpp='$CPP $CPPFLAGS'
46444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46453 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46455 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46456 for ac_func in hypotl
46457 do :
46458 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46459 if test "x$ac_cv_func_hypotl" = xyes; then :
46460 cat >>confdefs.h <<_ACEOF
46461 #define HAVE_HYPOTL 1
46462 _ACEOF
46465 done
46467 else
46469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46470 $as_echo_n "checking for _hypotl declaration... " >&6; }
46471 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46472 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46473 $as_echo_n "(cached) " >&6
46474 else
46477 ac_ext=cpp
46478 ac_cpp='$CXXCPP $CPPFLAGS'
46479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46484 /* end confdefs.h. */
46485 #include <math.h>
46487 main ()
46489 _hypotl(0, 0);
46491 return 0;
46493 _ACEOF
46494 if ac_fn_cxx_try_compile "$LINENO"; then :
46495 glibcxx_cv_func__hypotl_use=yes
46496 else
46497 glibcxx_cv_func__hypotl_use=no
46499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46500 ac_ext=c
46501 ac_cpp='$CPP $CPPFLAGS'
46502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46511 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46513 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46514 for ac_func in _hypotl
46515 do :
46516 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46517 if test "x$ac_cv_func__hypotl" = xyes; then :
46518 cat >>confdefs.h <<_ACEOF
46519 #define HAVE__HYPOTL 1
46520 _ACEOF
46523 done
46532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46533 $as_echo_n "checking for ldexpl declaration... " >&6; }
46534 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46535 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46536 $as_echo_n "(cached) " >&6
46537 else
46540 ac_ext=cpp
46541 ac_cpp='$CXXCPP $CPPFLAGS'
46542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46547 /* end confdefs.h. */
46548 #include <math.h>
46550 main ()
46552 ldexpl(0, 0);
46554 return 0;
46556 _ACEOF
46557 if ac_fn_cxx_try_compile "$LINENO"; then :
46558 glibcxx_cv_func_ldexpl_use=yes
46559 else
46560 glibcxx_cv_func_ldexpl_use=no
46562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46563 ac_ext=c
46564 ac_cpp='$CPP $CPPFLAGS'
46565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46574 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46576 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46577 for ac_func in ldexpl
46578 do :
46579 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46580 if test "x$ac_cv_func_ldexpl" = xyes; then :
46581 cat >>confdefs.h <<_ACEOF
46582 #define HAVE_LDEXPL 1
46583 _ACEOF
46586 done
46588 else
46590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46591 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46592 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46593 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46594 $as_echo_n "(cached) " >&6
46595 else
46598 ac_ext=cpp
46599 ac_cpp='$CXXCPP $CPPFLAGS'
46600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46605 /* end confdefs.h. */
46606 #include <math.h>
46608 main ()
46610 _ldexpl(0, 0);
46612 return 0;
46614 _ACEOF
46615 if ac_fn_cxx_try_compile "$LINENO"; then :
46616 glibcxx_cv_func__ldexpl_use=yes
46617 else
46618 glibcxx_cv_func__ldexpl_use=no
46620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46621 ac_ext=c
46622 ac_cpp='$CPP $CPPFLAGS'
46623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46632 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46634 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46635 for ac_func in _ldexpl
46636 do :
46637 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46638 if test "x$ac_cv_func__ldexpl" = xyes; then :
46639 cat >>confdefs.h <<_ACEOF
46640 #define HAVE__LDEXPL 1
46641 _ACEOF
46644 done
46653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46654 $as_echo_n "checking for logl declaration... " >&6; }
46655 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46656 if ${glibcxx_cv_func_logl_use+:} false; then :
46657 $as_echo_n "(cached) " >&6
46658 else
46661 ac_ext=cpp
46662 ac_cpp='$CXXCPP $CPPFLAGS'
46663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46668 /* end confdefs.h. */
46669 #include <math.h>
46670 #ifdef HAVE_IEEEFP_H
46671 #include <ieeefp.h>
46672 #endif
46675 main ()
46677 logl(0);
46679 return 0;
46681 _ACEOF
46682 if ac_fn_cxx_try_compile "$LINENO"; then :
46683 glibcxx_cv_func_logl_use=yes
46684 else
46685 glibcxx_cv_func_logl_use=no
46687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46688 ac_ext=c
46689 ac_cpp='$CPP $CPPFLAGS'
46690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46699 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46701 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46702 for ac_func in logl
46703 do :
46704 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46705 if test "x$ac_cv_func_logl" = xyes; then :
46706 cat >>confdefs.h <<_ACEOF
46707 #define HAVE_LOGL 1
46708 _ACEOF
46711 done
46713 else
46715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46716 $as_echo_n "checking for _logl declaration... " >&6; }
46717 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46718 if ${glibcxx_cv_func__logl_use+:} false; then :
46719 $as_echo_n "(cached) " >&6
46720 else
46723 ac_ext=cpp
46724 ac_cpp='$CXXCPP $CPPFLAGS'
46725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46730 /* end confdefs.h. */
46731 #include <math.h>
46732 #ifdef HAVE_IEEEFP_H
46733 #include <ieeefp.h>
46734 #endif
46737 main ()
46739 _logl(0);
46741 return 0;
46743 _ACEOF
46744 if ac_fn_cxx_try_compile "$LINENO"; then :
46745 glibcxx_cv_func__logl_use=yes
46746 else
46747 glibcxx_cv_func__logl_use=no
46749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46750 ac_ext=c
46751 ac_cpp='$CPP $CPPFLAGS'
46752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46761 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46763 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46764 for ac_func in _logl
46765 do :
46766 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46767 if test "x$ac_cv_func__logl" = xyes; then :
46768 cat >>confdefs.h <<_ACEOF
46769 #define HAVE__LOGL 1
46770 _ACEOF
46773 done
46782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46783 $as_echo_n "checking for log10l declaration... " >&6; }
46784 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46785 if ${glibcxx_cv_func_log10l_use+:} false; then :
46786 $as_echo_n "(cached) " >&6
46787 else
46790 ac_ext=cpp
46791 ac_cpp='$CXXCPP $CPPFLAGS'
46792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46797 /* end confdefs.h. */
46798 #include <math.h>
46799 #ifdef HAVE_IEEEFP_H
46800 #include <ieeefp.h>
46801 #endif
46804 main ()
46806 log10l(0);
46808 return 0;
46810 _ACEOF
46811 if ac_fn_cxx_try_compile "$LINENO"; then :
46812 glibcxx_cv_func_log10l_use=yes
46813 else
46814 glibcxx_cv_func_log10l_use=no
46816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46817 ac_ext=c
46818 ac_cpp='$CPP $CPPFLAGS'
46819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46828 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46830 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46831 for ac_func in log10l
46832 do :
46833 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46834 if test "x$ac_cv_func_log10l" = xyes; then :
46835 cat >>confdefs.h <<_ACEOF
46836 #define HAVE_LOG10L 1
46837 _ACEOF
46840 done
46842 else
46844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46845 $as_echo_n "checking for _log10l declaration... " >&6; }
46846 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46847 if ${glibcxx_cv_func__log10l_use+:} false; then :
46848 $as_echo_n "(cached) " >&6
46849 else
46852 ac_ext=cpp
46853 ac_cpp='$CXXCPP $CPPFLAGS'
46854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46859 /* end confdefs.h. */
46860 #include <math.h>
46861 #ifdef HAVE_IEEEFP_H
46862 #include <ieeefp.h>
46863 #endif
46866 main ()
46868 _log10l(0);
46870 return 0;
46872 _ACEOF
46873 if ac_fn_cxx_try_compile "$LINENO"; then :
46874 glibcxx_cv_func__log10l_use=yes
46875 else
46876 glibcxx_cv_func__log10l_use=no
46878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46879 ac_ext=c
46880 ac_cpp='$CPP $CPPFLAGS'
46881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46890 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46892 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46893 for ac_func in _log10l
46894 do :
46895 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46896 if test "x$ac_cv_func__log10l" = xyes; then :
46897 cat >>confdefs.h <<_ACEOF
46898 #define HAVE__LOG10L 1
46899 _ACEOF
46902 done
46911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46912 $as_echo_n "checking for modfl declaration... " >&6; }
46913 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46914 if ${glibcxx_cv_func_modfl_use+:} false; then :
46915 $as_echo_n "(cached) " >&6
46916 else
46919 ac_ext=cpp
46920 ac_cpp='$CXXCPP $CPPFLAGS'
46921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46926 /* end confdefs.h. */
46927 #include <math.h>
46929 main ()
46931 modfl(0, 0);
46933 return 0;
46935 _ACEOF
46936 if ac_fn_cxx_try_compile "$LINENO"; then :
46937 glibcxx_cv_func_modfl_use=yes
46938 else
46939 glibcxx_cv_func_modfl_use=no
46941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46942 ac_ext=c
46943 ac_cpp='$CPP $CPPFLAGS'
46944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46953 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46955 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46956 for ac_func in modfl
46957 do :
46958 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46959 if test "x$ac_cv_func_modfl" = xyes; then :
46960 cat >>confdefs.h <<_ACEOF
46961 #define HAVE_MODFL 1
46962 _ACEOF
46965 done
46967 else
46969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46970 $as_echo_n "checking for _modfl declaration... " >&6; }
46971 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46972 if ${glibcxx_cv_func__modfl_use+:} false; then :
46973 $as_echo_n "(cached) " >&6
46974 else
46977 ac_ext=cpp
46978 ac_cpp='$CXXCPP $CPPFLAGS'
46979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46984 /* end confdefs.h. */
46985 #include <math.h>
46987 main ()
46989 _modfl(0, 0);
46991 return 0;
46993 _ACEOF
46994 if ac_fn_cxx_try_compile "$LINENO"; then :
46995 glibcxx_cv_func__modfl_use=yes
46996 else
46997 glibcxx_cv_func__modfl_use=no
46999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47000 ac_ext=c
47001 ac_cpp='$CPP $CPPFLAGS'
47002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
47011 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
47013 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
47014 for ac_func in _modfl
47015 do :
47016 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
47017 if test "x$ac_cv_func__modfl" = xyes; then :
47018 cat >>confdefs.h <<_ACEOF
47019 #define HAVE__MODFL 1
47020 _ACEOF
47023 done
47032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
47033 $as_echo_n "checking for powl declaration... " >&6; }
47034 if test x${glibcxx_cv_func_powl_use+set} != xset; then
47035 if ${glibcxx_cv_func_powl_use+:} false; then :
47036 $as_echo_n "(cached) " >&6
47037 else
47040 ac_ext=cpp
47041 ac_cpp='$CXXCPP $CPPFLAGS'
47042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47047 /* end confdefs.h. */
47048 #include <math.h>
47050 main ()
47052 powl(0, 0);
47054 return 0;
47056 _ACEOF
47057 if ac_fn_cxx_try_compile "$LINENO"; then :
47058 glibcxx_cv_func_powl_use=yes
47059 else
47060 glibcxx_cv_func_powl_use=no
47062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47063 ac_ext=c
47064 ac_cpp='$CPP $CPPFLAGS'
47065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
47074 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
47076 if test x$glibcxx_cv_func_powl_use = x"yes"; then
47077 for ac_func in powl
47078 do :
47079 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
47080 if test "x$ac_cv_func_powl" = xyes; then :
47081 cat >>confdefs.h <<_ACEOF
47082 #define HAVE_POWL 1
47083 _ACEOF
47086 done
47088 else
47090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
47091 $as_echo_n "checking for _powl declaration... " >&6; }
47092 if test x${glibcxx_cv_func__powl_use+set} != xset; then
47093 if ${glibcxx_cv_func__powl_use+:} false; then :
47094 $as_echo_n "(cached) " >&6
47095 else
47098 ac_ext=cpp
47099 ac_cpp='$CXXCPP $CPPFLAGS'
47100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47105 /* end confdefs.h. */
47106 #include <math.h>
47108 main ()
47110 _powl(0, 0);
47112 return 0;
47114 _ACEOF
47115 if ac_fn_cxx_try_compile "$LINENO"; then :
47116 glibcxx_cv_func__powl_use=yes
47117 else
47118 glibcxx_cv_func__powl_use=no
47120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47121 ac_ext=c
47122 ac_cpp='$CPP $CPPFLAGS'
47123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
47132 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
47134 if test x$glibcxx_cv_func__powl_use = x"yes"; then
47135 for ac_func in _powl
47136 do :
47137 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
47138 if test "x$ac_cv_func__powl" = xyes; then :
47139 cat >>confdefs.h <<_ACEOF
47140 #define HAVE__POWL 1
47141 _ACEOF
47144 done
47153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
47154 $as_echo_n "checking for sqrtl declaration... " >&6; }
47155 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
47156 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
47157 $as_echo_n "(cached) " >&6
47158 else
47161 ac_ext=cpp
47162 ac_cpp='$CXXCPP $CPPFLAGS'
47163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47168 /* end confdefs.h. */
47169 #include <math.h>
47170 #ifdef HAVE_IEEEFP_H
47171 #include <ieeefp.h>
47172 #endif
47175 main ()
47177 sqrtl(0);
47179 return 0;
47181 _ACEOF
47182 if ac_fn_cxx_try_compile "$LINENO"; then :
47183 glibcxx_cv_func_sqrtl_use=yes
47184 else
47185 glibcxx_cv_func_sqrtl_use=no
47187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47188 ac_ext=c
47189 ac_cpp='$CPP $CPPFLAGS'
47190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
47199 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
47201 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
47202 for ac_func in sqrtl
47203 do :
47204 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
47205 if test "x$ac_cv_func_sqrtl" = xyes; then :
47206 cat >>confdefs.h <<_ACEOF
47207 #define HAVE_SQRTL 1
47208 _ACEOF
47211 done
47213 else
47215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
47216 $as_echo_n "checking for _sqrtl declaration... " >&6; }
47217 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
47218 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
47219 $as_echo_n "(cached) " >&6
47220 else
47223 ac_ext=cpp
47224 ac_cpp='$CXXCPP $CPPFLAGS'
47225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47230 /* end confdefs.h. */
47231 #include <math.h>
47232 #ifdef HAVE_IEEEFP_H
47233 #include <ieeefp.h>
47234 #endif
47237 main ()
47239 _sqrtl(0);
47241 return 0;
47243 _ACEOF
47244 if ac_fn_cxx_try_compile "$LINENO"; then :
47245 glibcxx_cv_func__sqrtl_use=yes
47246 else
47247 glibcxx_cv_func__sqrtl_use=no
47249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47250 ac_ext=c
47251 ac_cpp='$CPP $CPPFLAGS'
47252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
47261 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
47263 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
47264 for ac_func in _sqrtl
47265 do :
47266 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
47267 if test "x$ac_cv_func__sqrtl" = xyes; then :
47268 cat >>confdefs.h <<_ACEOF
47269 #define HAVE__SQRTL 1
47270 _ACEOF
47273 done
47282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
47283 $as_echo_n "checking for sincosl declaration... " >&6; }
47284 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
47285 if ${glibcxx_cv_func_sincosl_use+:} false; then :
47286 $as_echo_n "(cached) " >&6
47287 else
47290 ac_ext=cpp
47291 ac_cpp='$CXXCPP $CPPFLAGS'
47292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47297 /* end confdefs.h. */
47298 #include <math.h>
47300 main ()
47302 sincosl(0, 0, 0);
47304 return 0;
47306 _ACEOF
47307 if ac_fn_cxx_try_compile "$LINENO"; then :
47308 glibcxx_cv_func_sincosl_use=yes
47309 else
47310 glibcxx_cv_func_sincosl_use=no
47312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47313 ac_ext=c
47314 ac_cpp='$CPP $CPPFLAGS'
47315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
47324 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
47326 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
47327 for ac_func in sincosl
47328 do :
47329 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
47330 if test "x$ac_cv_func_sincosl" = xyes; then :
47331 cat >>confdefs.h <<_ACEOF
47332 #define HAVE_SINCOSL 1
47333 _ACEOF
47336 done
47338 else
47340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
47341 $as_echo_n "checking for _sincosl declaration... " >&6; }
47342 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
47343 if ${glibcxx_cv_func__sincosl_use+:} false; then :
47344 $as_echo_n "(cached) " >&6
47345 else
47348 ac_ext=cpp
47349 ac_cpp='$CXXCPP $CPPFLAGS'
47350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47355 /* end confdefs.h. */
47356 #include <math.h>
47358 main ()
47360 _sincosl(0, 0, 0);
47362 return 0;
47364 _ACEOF
47365 if ac_fn_cxx_try_compile "$LINENO"; then :
47366 glibcxx_cv_func__sincosl_use=yes
47367 else
47368 glibcxx_cv_func__sincosl_use=no
47370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47371 ac_ext=c
47372 ac_cpp='$CPP $CPPFLAGS'
47373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47382 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47384 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47385 for ac_func in _sincosl
47386 do :
47387 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47388 if test "x$ac_cv_func__sincosl" = xyes; then :
47389 cat >>confdefs.h <<_ACEOF
47390 #define HAVE__SINCOSL 1
47391 _ACEOF
47394 done
47403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47404 $as_echo_n "checking for finitel declaration... " >&6; }
47405 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47406 if ${glibcxx_cv_func_finitel_use+:} false; then :
47407 $as_echo_n "(cached) " >&6
47408 else
47411 ac_ext=cpp
47412 ac_cpp='$CXXCPP $CPPFLAGS'
47413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47418 /* end confdefs.h. */
47419 #include <math.h>
47420 #ifdef HAVE_IEEEFP_H
47421 #include <ieeefp.h>
47422 #endif
47425 main ()
47427 finitel(0);
47429 return 0;
47431 _ACEOF
47432 if ac_fn_cxx_try_compile "$LINENO"; then :
47433 glibcxx_cv_func_finitel_use=yes
47434 else
47435 glibcxx_cv_func_finitel_use=no
47437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47438 ac_ext=c
47439 ac_cpp='$CPP $CPPFLAGS'
47440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47449 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47451 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47452 for ac_func in finitel
47453 do :
47454 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47455 if test "x$ac_cv_func_finitel" = xyes; then :
47456 cat >>confdefs.h <<_ACEOF
47457 #define HAVE_FINITEL 1
47458 _ACEOF
47461 done
47463 else
47465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47466 $as_echo_n "checking for _finitel declaration... " >&6; }
47467 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47468 if ${glibcxx_cv_func__finitel_use+:} false; then :
47469 $as_echo_n "(cached) " >&6
47470 else
47473 ac_ext=cpp
47474 ac_cpp='$CXXCPP $CPPFLAGS'
47475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47480 /* end confdefs.h. */
47481 #include <math.h>
47482 #ifdef HAVE_IEEEFP_H
47483 #include <ieeefp.h>
47484 #endif
47487 main ()
47489 _finitel(0);
47491 return 0;
47493 _ACEOF
47494 if ac_fn_cxx_try_compile "$LINENO"; then :
47495 glibcxx_cv_func__finitel_use=yes
47496 else
47497 glibcxx_cv_func__finitel_use=no
47499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47500 ac_ext=c
47501 ac_cpp='$CPP $CPPFLAGS'
47502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47511 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47513 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47514 for ac_func in _finitel
47515 do :
47516 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47517 if test "x$ac_cv_func__finitel" = xyes; then :
47518 cat >>confdefs.h <<_ACEOF
47519 #define HAVE__FINITEL 1
47520 _ACEOF
47523 done
47531 LIBS="$ac_save_LIBS"
47532 CXXFLAGS="$ac_save_CXXFLAGS"
47535 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47536 ac_save_CXXFLAGS="$CXXFLAGS"
47537 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47541 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47542 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47543 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47544 $as_echo_n "(cached) " >&6
47545 else
47548 ac_ext=cpp
47549 ac_cpp='$CXXCPP $CPPFLAGS'
47550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47555 /* end confdefs.h. */
47556 #include <stdlib.h>
47558 main ()
47560 at_quick_exit(0);
47562 return 0;
47564 _ACEOF
47565 if ac_fn_cxx_try_compile "$LINENO"; then :
47566 glibcxx_cv_func_at_quick_exit_use=yes
47567 else
47568 glibcxx_cv_func_at_quick_exit_use=no
47570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47571 ac_ext=c
47572 ac_cpp='$CPP $CPPFLAGS'
47573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47582 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47583 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47584 for ac_func in at_quick_exit
47585 do :
47586 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47587 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47588 cat >>confdefs.h <<_ACEOF
47589 #define HAVE_AT_QUICK_EXIT 1
47590 _ACEOF
47593 done
47598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47599 $as_echo_n "checking for quick_exit declaration... " >&6; }
47600 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47601 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47602 $as_echo_n "(cached) " >&6
47603 else
47606 ac_ext=cpp
47607 ac_cpp='$CXXCPP $CPPFLAGS'
47608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47613 /* end confdefs.h. */
47614 #include <stdlib.h>
47616 main ()
47618 quick_exit(0);
47620 return 0;
47622 _ACEOF
47623 if ac_fn_cxx_try_compile "$LINENO"; then :
47624 glibcxx_cv_func_quick_exit_use=yes
47625 else
47626 glibcxx_cv_func_quick_exit_use=no
47628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47629 ac_ext=c
47630 ac_cpp='$CPP $CPPFLAGS'
47631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47640 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47641 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47642 for ac_func in quick_exit
47643 do :
47644 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47645 if test "x$ac_cv_func_quick_exit" = xyes; then :
47646 cat >>confdefs.h <<_ACEOF
47647 #define HAVE_QUICK_EXIT 1
47648 _ACEOF
47651 done
47656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47657 $as_echo_n "checking for strtold declaration... " >&6; }
47658 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47659 if ${glibcxx_cv_func_strtold_use+:} false; then :
47660 $as_echo_n "(cached) " >&6
47661 else
47664 ac_ext=cpp
47665 ac_cpp='$CXXCPP $CPPFLAGS'
47666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47671 /* end confdefs.h. */
47672 #include <stdlib.h>
47674 main ()
47676 strtold(0, 0);
47678 return 0;
47680 _ACEOF
47681 if ac_fn_cxx_try_compile "$LINENO"; then :
47682 glibcxx_cv_func_strtold_use=yes
47683 else
47684 glibcxx_cv_func_strtold_use=no
47686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47687 ac_ext=c
47688 ac_cpp='$CPP $CPPFLAGS'
47689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47698 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47699 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47700 for ac_func in strtold
47701 do :
47702 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47703 if test "x$ac_cv_func_strtold" = xyes; then :
47704 cat >>confdefs.h <<_ACEOF
47705 #define HAVE_STRTOLD 1
47706 _ACEOF
47709 done
47716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47717 $as_echo_n "checking for strtof declaration... " >&6; }
47718 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47719 if ${glibcxx_cv_func_strtof_use+:} false; then :
47720 $as_echo_n "(cached) " >&6
47721 else
47724 ac_ext=cpp
47725 ac_cpp='$CXXCPP $CPPFLAGS'
47726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47731 /* end confdefs.h. */
47732 #include <stdlib.h>
47734 main ()
47736 strtof(0, 0);
47738 return 0;
47740 _ACEOF
47741 if ac_fn_cxx_try_compile "$LINENO"; then :
47742 glibcxx_cv_func_strtof_use=yes
47743 else
47744 glibcxx_cv_func_strtof_use=no
47746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47747 ac_ext=c
47748 ac_cpp='$CPP $CPPFLAGS'
47749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47758 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47759 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47760 for ac_func in strtof
47761 do :
47762 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47763 if test "x$ac_cv_func_strtof" = xyes; then :
47764 cat >>confdefs.h <<_ACEOF
47765 #define HAVE_STRTOF 1
47766 _ACEOF
47769 done
47776 CXXFLAGS="$ac_save_CXXFLAGS"
47779 for ac_func in uselocale
47780 do :
47781 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47782 if test "x$ac_cv_func_uselocale" = xyes; then :
47783 cat >>confdefs.h <<_ACEOF
47784 #define HAVE_USELOCALE 1
47785 _ACEOF
47788 done
47792 *djgpp)
47793 # GLIBCXX_CHECK_MATH_SUPPORT
47794 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47796 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47798 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47800 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47802 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47806 *-freebsd*)
47807 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47810 # If we're not using GNU ld, then there's no point in even trying these
47811 # tests. Check for that first. We should have already tested for gld
47812 # by now (in libtool), but require it now just to be safe...
47813 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47814 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47818 # The name set by libtool depends on the version of libtool. Shame on us
47819 # for depending on an impl detail, but c'est la vie. Older versions used
47820 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47821 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47822 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47823 # set (hence we're using an older libtool), then set it.
47824 if test x${with_gnu_ld+set} != xset; then
47825 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47826 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47827 with_gnu_ld=no
47828 else
47829 with_gnu_ld=$ac_cv_prog_gnu_ld
47833 # Start by getting the version number. I think the libtool test already
47834 # does some of this, but throws away the result.
47835 glibcxx_ld_is_gold=no
47836 glibcxx_ld_is_mold=no
47837 if test x"$with_gnu_ld" = x"yes"; then
47838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47839 $as_echo_n "checking for ld version... " >&6; }
47841 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47842 glibcxx_ld_is_gold=yes
47843 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
47844 glibcxx_ld_is_mold=yes
47846 ldver=`$LD --version 2>/dev/null |
47847 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47849 glibcxx_gnu_ld_version=`echo $ldver | \
47850 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47852 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47855 # Set --gc-sections.
47856 glibcxx_have_gc_sections=no
47857 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
47858 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47859 glibcxx_have_gc_sections=yes
47861 else
47862 glibcxx_gcsections_min_ld=21602
47863 if test x"$with_gnu_ld" = x"yes" &&
47864 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47865 glibcxx_have_gc_sections=yes
47868 if test "$glibcxx_have_gc_sections" = "yes"; then
47869 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47870 # NB: This flag only works reliably after 2.16.1. Configure tests
47871 # for this are difficult, so hard wire a value that should work.
47873 ac_test_CFLAGS="${CFLAGS+set}"
47874 ac_save_CFLAGS="$CFLAGS"
47875 CFLAGS='-Wl,--gc-sections'
47877 # Check for -Wl,--gc-sections
47878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47879 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47880 if test x$gcc_no_link = xyes; then
47881 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47884 /* end confdefs.h. */
47885 int one(void) { return 1; }
47886 int two(void) { return 2; }
47889 main ()
47891 two();
47893 return 0;
47895 _ACEOF
47896 if ac_fn_c_try_link "$LINENO"; then :
47897 ac_gcsections=yes
47898 else
47899 ac_gcsections=no
47901 rm -f core conftest.err conftest.$ac_objext \
47902 conftest$ac_exeext conftest.$ac_ext
47903 if test "$ac_gcsections" = "yes"; then
47904 rm -f conftest.c
47905 touch conftest.c
47906 if $CC -c conftest.c; then
47907 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47908 grep "Warning: gc-sections option ignored" > /dev/null; then
47909 ac_gcsections=no
47912 rm -f conftest.c conftest.o conftest
47914 if test "$ac_gcsections" = "yes"; then
47915 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47918 $as_echo "$ac_gcsections" >&6; }
47920 if test "$ac_test_CFLAGS" = set; then
47921 CFLAGS="$ac_save_CFLAGS"
47922 else
47923 # this is the suspicious part
47924 CFLAGS=''
47928 # Set -z,relro.
47929 # Note this is only for shared objects.
47930 ac_ld_relro=no
47931 if test x"$with_gnu_ld" = x"yes"; then
47932 # cygwin and mingw uses PE, which has no ELF relro support,
47933 # multi target ld may confuse configure machinery
47934 case "$host" in
47935 *-*-cygwin*)
47937 *-*-mingw*)
47940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47941 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47942 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47943 if test -n "$cxx_z_relo"; then
47944 OPT_LDFLAGS="-Wl,-z,relro"
47945 ac_ld_relro=yes
47947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47948 $as_echo "$ac_ld_relro" >&6; }
47949 esac
47952 # Set linker optimization flags.
47953 if test x"$with_gnu_ld" = x"yes"; then
47954 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47960 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47962 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47964 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47966 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47968 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47970 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47972 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47974 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47976 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47979 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47981 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47983 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47985 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47987 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47989 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47991 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47993 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47995 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47997 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47999 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48001 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48003 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
48005 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48007 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48009 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
48011 $as_echo "#define HAVE_POWF 1" >>confdefs.h
48013 $as_echo "#define HAVE_SINF 1" >>confdefs.h
48015 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48017 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48019 $as_echo "#define HAVE_TANF 1" >>confdefs.h
48021 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48023 if test x"long_double_math_on_this_cpu" = x"yes"; then
48024 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
48026 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
48028 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
48031 for ac_func in __cxa_thread_atexit
48032 do :
48033 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
48034 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
48035 cat >>confdefs.h <<_ACEOF
48036 #define HAVE___CXA_THREAD_ATEXIT 1
48037 _ACEOF
48040 done
48042 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
48043 do :
48044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48046 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48047 cat >>confdefs.h <<_ACEOF
48048 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48049 _ACEOF
48052 done
48054 for ac_func in timespec_get
48055 do :
48056 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
48057 if test "x$ac_cv_func_timespec_get" = xyes; then :
48058 cat >>confdefs.h <<_ACEOF
48059 #define HAVE_TIMESPEC_GET 1
48060 _ACEOF
48063 done
48065 for ac_func in sockatmark
48066 do :
48067 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
48068 if test "x$ac_cv_func_sockatmark" = xyes; then :
48069 cat >>confdefs.h <<_ACEOF
48070 #define HAVE_SOCKATMARK 1
48071 _ACEOF
48074 done
48076 for ac_func in uselocale
48077 do :
48078 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
48079 if test "x$ac_cv_func_uselocale" = xyes; then :
48080 cat >>confdefs.h <<_ACEOF
48081 #define HAVE_USELOCALE 1
48082 _ACEOF
48085 done
48089 *-fuchsia*)
48090 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48094 *-hpux*)
48095 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48098 # If we're not using GNU ld, then there's no point in even trying these
48099 # tests. Check for that first. We should have already tested for gld
48100 # by now (in libtool), but require it now just to be safe...
48101 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48102 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48106 # The name set by libtool depends on the version of libtool. Shame on us
48107 # for depending on an impl detail, but c'est la vie. Older versions used
48108 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48109 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48110 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48111 # set (hence we're using an older libtool), then set it.
48112 if test x${with_gnu_ld+set} != xset; then
48113 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48114 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48115 with_gnu_ld=no
48116 else
48117 with_gnu_ld=$ac_cv_prog_gnu_ld
48121 # Start by getting the version number. I think the libtool test already
48122 # does some of this, but throws away the result.
48123 glibcxx_ld_is_gold=no
48124 glibcxx_ld_is_mold=no
48125 if test x"$with_gnu_ld" = x"yes"; then
48126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48127 $as_echo_n "checking for ld version... " >&6; }
48129 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48130 glibcxx_ld_is_gold=yes
48131 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
48132 glibcxx_ld_is_mold=yes
48134 ldver=`$LD --version 2>/dev/null |
48135 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48137 glibcxx_gnu_ld_version=`echo $ldver | \
48138 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48140 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48143 # Set --gc-sections.
48144 glibcxx_have_gc_sections=no
48145 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
48146 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48147 glibcxx_have_gc_sections=yes
48149 else
48150 glibcxx_gcsections_min_ld=21602
48151 if test x"$with_gnu_ld" = x"yes" &&
48152 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48153 glibcxx_have_gc_sections=yes
48156 if test "$glibcxx_have_gc_sections" = "yes"; then
48157 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48158 # NB: This flag only works reliably after 2.16.1. Configure tests
48159 # for this are difficult, so hard wire a value that should work.
48161 ac_test_CFLAGS="${CFLAGS+set}"
48162 ac_save_CFLAGS="$CFLAGS"
48163 CFLAGS='-Wl,--gc-sections'
48165 # Check for -Wl,--gc-sections
48166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48167 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48168 if test x$gcc_no_link = xyes; then
48169 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48172 /* end confdefs.h. */
48173 int one(void) { return 1; }
48174 int two(void) { return 2; }
48177 main ()
48179 two();
48181 return 0;
48183 _ACEOF
48184 if ac_fn_c_try_link "$LINENO"; then :
48185 ac_gcsections=yes
48186 else
48187 ac_gcsections=no
48189 rm -f core conftest.err conftest.$ac_objext \
48190 conftest$ac_exeext conftest.$ac_ext
48191 if test "$ac_gcsections" = "yes"; then
48192 rm -f conftest.c
48193 touch conftest.c
48194 if $CC -c conftest.c; then
48195 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48196 grep "Warning: gc-sections option ignored" > /dev/null; then
48197 ac_gcsections=no
48200 rm -f conftest.c conftest.o conftest
48202 if test "$ac_gcsections" = "yes"; then
48203 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48206 $as_echo "$ac_gcsections" >&6; }
48208 if test "$ac_test_CFLAGS" = set; then
48209 CFLAGS="$ac_save_CFLAGS"
48210 else
48211 # this is the suspicious part
48212 CFLAGS=''
48216 # Set -z,relro.
48217 # Note this is only for shared objects.
48218 ac_ld_relro=no
48219 if test x"$with_gnu_ld" = x"yes"; then
48220 # cygwin and mingw uses PE, which has no ELF relro support,
48221 # multi target ld may confuse configure machinery
48222 case "$host" in
48223 *-*-cygwin*)
48225 *-*-mingw*)
48228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48229 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48230 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48231 if test -n "$cxx_z_relo"; then
48232 OPT_LDFLAGS="-Wl,-z,relro"
48233 ac_ld_relro=yes
48235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48236 $as_echo "$ac_ld_relro" >&6; }
48237 esac
48240 # Set linker optimization flags.
48241 if test x"$with_gnu_ld" = x"yes"; then
48242 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48249 # GLIBCXX_CHECK_MATH_SUPPORT
48250 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
48252 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
48254 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
48256 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
48258 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
48260 $as_echo "#define HAVE_COSF 1" >>confdefs.h
48262 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
48264 $as_echo "#define HAVE_SINF 1" >>confdefs.h
48266 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
48268 $as_echo "#define HAVE_TANF 1" >>confdefs.h
48270 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
48272 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
48274 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
48276 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
48278 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
48280 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
48282 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
48284 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
48286 $as_echo "#define HAVE_MODF 1" >>confdefs.h
48288 $as_echo "#define HAVE_POWF 1" >>confdefs.h
48290 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
48293 # GLIBCXX_CHECK_STDLIB_SUPPORT
48294 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
48299 # Check whether --enable-tls was given.
48300 if test "${enable_tls+set}" = set; then :
48301 enableval=$enable_tls;
48302 case "$enableval" in
48303 yes|no) ;;
48304 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
48305 esac
48307 else
48308 enable_tls=yes
48312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
48313 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
48314 if ${gcc_cv_have_tls+:} false; then :
48315 $as_echo_n "(cached) " >&6
48316 else
48318 if test "$cross_compiling" = yes; then :
48319 if test x$gcc_no_link = xyes; then
48320 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48323 /* end confdefs.h. */
48324 __thread int a; int b; int main() { return a = b; }
48325 _ACEOF
48326 if ac_fn_c_try_link "$LINENO"; then :
48327 chktls_save_LDFLAGS="$LDFLAGS"
48328 case $host in
48329 *-*-linux* | -*-uclinuxfdpic*)
48330 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
48332 esac
48333 chktls_save_CFLAGS="$CFLAGS"
48334 CFLAGS="-fPIC $CFLAGS"
48335 if test x$gcc_no_link = xyes; then
48336 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48339 /* end confdefs.h. */
48340 int f() { return 0; }
48341 _ACEOF
48342 if ac_fn_c_try_link "$LINENO"; then :
48343 if test x$gcc_no_link = xyes; then
48344 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48347 /* end confdefs.h. */
48348 __thread int a; int b; int f() { return a = b; }
48349 _ACEOF
48350 if ac_fn_c_try_link "$LINENO"; then :
48351 gcc_cv_have_tls=yes
48352 else
48353 gcc_cv_have_tls=no
48355 rm -f core conftest.err conftest.$ac_objext \
48356 conftest$ac_exeext conftest.$ac_ext
48357 else
48358 gcc_cv_have_tls=yes
48360 rm -f core conftest.err conftest.$ac_objext \
48361 conftest$ac_exeext conftest.$ac_ext
48362 CFLAGS="$chktls_save_CFLAGS"
48363 LDFLAGS="$chktls_save_LDFLAGS"
48364 else
48365 gcc_cv_have_tls=no
48367 rm -f core conftest.err conftest.$ac_objext \
48368 conftest$ac_exeext conftest.$ac_ext
48371 else
48372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48373 /* end confdefs.h. */
48374 __thread int a; int b; int main() { return a = b; }
48375 _ACEOF
48376 if ac_fn_c_try_run "$LINENO"; then :
48377 chktls_save_LDFLAGS="$LDFLAGS"
48378 LDFLAGS="-static $LDFLAGS"
48379 if test x$gcc_no_link = xyes; then
48380 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48383 /* end confdefs.h. */
48384 int main() { return 0; }
48385 _ACEOF
48386 if ac_fn_c_try_link "$LINENO"; then :
48387 if test "$cross_compiling" = yes; then :
48388 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48389 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48390 as_fn_error $? "cannot run test program while cross compiling
48391 See \`config.log' for more details" "$LINENO" 5; }
48392 else
48393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48394 /* end confdefs.h. */
48395 __thread int a; int b; int main() { return a = b; }
48396 _ACEOF
48397 if ac_fn_c_try_run "$LINENO"; then :
48398 gcc_cv_have_tls=yes
48399 else
48400 gcc_cv_have_tls=no
48402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48403 conftest.$ac_objext conftest.beam conftest.$ac_ext
48406 else
48407 gcc_cv_have_tls=yes
48409 rm -f core conftest.err conftest.$ac_objext \
48410 conftest$ac_exeext conftest.$ac_ext
48411 LDFLAGS="$chktls_save_LDFLAGS"
48412 if test $gcc_cv_have_tls = yes; then
48413 chktls_save_CFLAGS="$CFLAGS"
48414 thread_CFLAGS=failed
48415 for flag in '' '-pthread' '-lpthread'; do
48416 CFLAGS="$flag $chktls_save_CFLAGS"
48417 if test x$gcc_no_link = xyes; then
48418 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48421 /* end confdefs.h. */
48422 #include <pthread.h>
48423 void *g(void *d) { return NULL; }
48425 main ()
48427 pthread_t t; pthread_create(&t,NULL,g,NULL);
48429 return 0;
48431 _ACEOF
48432 if ac_fn_c_try_link "$LINENO"; then :
48433 thread_CFLAGS="$flag"
48435 rm -f core conftest.err conftest.$ac_objext \
48436 conftest$ac_exeext conftest.$ac_ext
48437 if test "X$thread_CFLAGS" != Xfailed; then
48438 break
48440 done
48441 CFLAGS="$chktls_save_CFLAGS"
48442 if test "X$thread_CFLAGS" != Xfailed; then
48443 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
48444 if test "$cross_compiling" = yes; then :
48445 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
48446 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
48447 as_fn_error $? "cannot run test program while cross compiling
48448 See \`config.log' for more details" "$LINENO" 5; }
48449 else
48450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48451 /* end confdefs.h. */
48452 #include <pthread.h>
48453 __thread int a;
48454 static int *volatile a_in_other_thread;
48455 static void *
48456 thread_func (void *arg)
48458 a_in_other_thread = &a;
48459 return (void *)0;
48462 main ()
48464 pthread_t thread;
48465 void *thread_retval;
48466 int *volatile a_in_main_thread;
48467 a_in_main_thread = &a;
48468 if (pthread_create (&thread, (pthread_attr_t *)0,
48469 thread_func, (void *)0))
48470 return 0;
48471 if (pthread_join (thread, &thread_retval))
48472 return 0;
48473 return (a_in_other_thread == a_in_main_thread);
48475 return 0;
48477 _ACEOF
48478 if ac_fn_c_try_run "$LINENO"; then :
48479 gcc_cv_have_tls=yes
48480 else
48481 gcc_cv_have_tls=no
48483 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48484 conftest.$ac_objext conftest.beam conftest.$ac_ext
48487 CFLAGS="$chktls_save_CFLAGS"
48490 else
48491 gcc_cv_have_tls=no
48493 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
48494 conftest.$ac_objext conftest.beam conftest.$ac_ext
48498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
48499 $as_echo "$gcc_cv_have_tls" >&6; }
48500 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
48502 $as_echo "#define HAVE_TLS 1" >>confdefs.h
48506 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
48508 # All these tests are for C++; save the language and the compiler flags.
48509 # The CXXFLAGS thing is suspicious, but based on similar bits previously
48510 # found in GLIBCXX_CONFIGURE.
48512 ac_ext=cpp
48513 ac_cpp='$CXXCPP $CPPFLAGS'
48514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48518 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48519 ac_save_CXXFLAGS="$CXXFLAGS"
48521 # Check for -ffunction-sections -fdata-sections
48522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
48523 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
48524 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
48525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48526 /* end confdefs.h. */
48527 int foo; void bar() { };
48529 main ()
48533 return 0;
48535 _ACEOF
48536 if ac_fn_cxx_try_compile "$LINENO"; then :
48537 ac_fdsections=yes
48538 else
48539 ac_fdsections=no
48541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48542 if test "$ac_test_CXXFLAGS" = set; then
48543 CXXFLAGS="$ac_save_CXXFLAGS"
48544 else
48545 # this is the suspicious part
48546 CXXFLAGS=''
48548 if test x"$ac_fdsections" = x"yes"; then
48549 SECTION_FLAGS='-ffunction-sections -fdata-sections'
48551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
48552 $as_echo "$ac_fdsections" >&6; }
48554 ac_ext=c
48555 ac_cpp='$CPP $CPPFLAGS'
48556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48563 # If we're not using GNU ld, then there's no point in even trying these
48564 # tests. Check for that first. We should have already tested for gld
48565 # by now (in libtool), but require it now just to be safe...
48566 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
48567 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
48571 # The name set by libtool depends on the version of libtool. Shame on us
48572 # for depending on an impl detail, but c'est la vie. Older versions used
48573 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
48574 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
48575 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
48576 # set (hence we're using an older libtool), then set it.
48577 if test x${with_gnu_ld+set} != xset; then
48578 if test x${ac_cv_prog_gnu_ld+set} != xset; then
48579 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
48580 with_gnu_ld=no
48581 else
48582 with_gnu_ld=$ac_cv_prog_gnu_ld
48586 # Start by getting the version number. I think the libtool test already
48587 # does some of this, but throws away the result.
48588 glibcxx_ld_is_gold=no
48589 glibcxx_ld_is_mold=no
48590 if test x"$with_gnu_ld" = x"yes"; then
48591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
48592 $as_echo_n "checking for ld version... " >&6; }
48594 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
48595 glibcxx_ld_is_gold=yes
48596 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
48597 glibcxx_ld_is_mold=yes
48599 ldver=`$LD --version 2>/dev/null |
48600 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
48602 glibcxx_gnu_ld_version=`echo $ldver | \
48603 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
48604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
48605 $as_echo "$glibcxx_gnu_ld_version" >&6; }
48608 # Set --gc-sections.
48609 glibcxx_have_gc_sections=no
48610 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
48611 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
48612 glibcxx_have_gc_sections=yes
48614 else
48615 glibcxx_gcsections_min_ld=21602
48616 if test x"$with_gnu_ld" = x"yes" &&
48617 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
48618 glibcxx_have_gc_sections=yes
48621 if test "$glibcxx_have_gc_sections" = "yes"; then
48622 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
48623 # NB: This flag only works reliably after 2.16.1. Configure tests
48624 # for this are difficult, so hard wire a value that should work.
48626 ac_test_CFLAGS="${CFLAGS+set}"
48627 ac_save_CFLAGS="$CFLAGS"
48628 CFLAGS='-Wl,--gc-sections'
48630 # Check for -Wl,--gc-sections
48631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
48632 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
48633 if test x$gcc_no_link = xyes; then
48634 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48637 /* end confdefs.h. */
48638 int one(void) { return 1; }
48639 int two(void) { return 2; }
48642 main ()
48644 two();
48646 return 0;
48648 _ACEOF
48649 if ac_fn_c_try_link "$LINENO"; then :
48650 ac_gcsections=yes
48651 else
48652 ac_gcsections=no
48654 rm -f core conftest.err conftest.$ac_objext \
48655 conftest$ac_exeext conftest.$ac_ext
48656 if test "$ac_gcsections" = "yes"; then
48657 rm -f conftest.c
48658 touch conftest.c
48659 if $CC -c conftest.c; then
48660 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
48661 grep "Warning: gc-sections option ignored" > /dev/null; then
48662 ac_gcsections=no
48665 rm -f conftest.c conftest.o conftest
48667 if test "$ac_gcsections" = "yes"; then
48668 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
48670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
48671 $as_echo "$ac_gcsections" >&6; }
48673 if test "$ac_test_CFLAGS" = set; then
48674 CFLAGS="$ac_save_CFLAGS"
48675 else
48676 # this is the suspicious part
48677 CFLAGS=''
48681 # Set -z,relro.
48682 # Note this is only for shared objects.
48683 ac_ld_relro=no
48684 if test x"$with_gnu_ld" = x"yes"; then
48685 # cygwin and mingw uses PE, which has no ELF relro support,
48686 # multi target ld may confuse configure machinery
48687 case "$host" in
48688 *-*-cygwin*)
48690 *-*-mingw*)
48693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48694 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48695 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48696 if test -n "$cxx_z_relo"; then
48697 OPT_LDFLAGS="-Wl,-z,relro"
48698 ac_ld_relro=yes
48700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48701 $as_echo "$ac_ld_relro" >&6; }
48702 esac
48705 # Set linker optimization flags.
48706 if test x"$with_gnu_ld" = x"yes"; then
48707 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48714 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48715 ac_save_CXXFLAGS="$CXXFLAGS"
48716 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48719 $as_echo_n "checking for sin in -lm... " >&6; }
48720 if ${ac_cv_lib_m_sin+:} false; then :
48721 $as_echo_n "(cached) " >&6
48722 else
48723 ac_check_lib_save_LIBS=$LIBS
48724 LIBS="-lm $LIBS"
48725 if test x$gcc_no_link = xyes; then
48726 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48729 /* end confdefs.h. */
48731 /* Override any GCC internal prototype to avoid an error.
48732 Use char because int might match the return type of a GCC
48733 builtin and then its argument prototype would still apply. */
48734 #ifdef __cplusplus
48735 extern "C"
48736 #endif
48737 char sin ();
48739 main ()
48741 return sin ();
48743 return 0;
48745 _ACEOF
48746 if ac_fn_c_try_link "$LINENO"; then :
48747 ac_cv_lib_m_sin=yes
48748 else
48749 ac_cv_lib_m_sin=no
48751 rm -f core conftest.err conftest.$ac_objext \
48752 conftest$ac_exeext conftest.$ac_ext
48753 LIBS=$ac_check_lib_save_LIBS
48755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48756 $as_echo "$ac_cv_lib_m_sin" >&6; }
48757 if test "x$ac_cv_lib_m_sin" = xyes; then :
48758 libm="-lm"
48761 ac_save_LIBS="$LIBS"
48762 LIBS="$LIBS $libm"
48766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48767 $as_echo_n "checking for isinf declaration... " >&6; }
48768 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48769 if ${glibcxx_cv_func_isinf_use+:} false; then :
48770 $as_echo_n "(cached) " >&6
48771 else
48774 ac_ext=cpp
48775 ac_cpp='$CXXCPP $CPPFLAGS'
48776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48781 /* end confdefs.h. */
48782 #include <math.h>
48783 #ifdef HAVE_IEEEFP_H
48784 #include <ieeefp.h>
48785 #endif
48788 main ()
48790 isinf(0);
48792 return 0;
48794 _ACEOF
48795 if ac_fn_cxx_try_compile "$LINENO"; then :
48796 glibcxx_cv_func_isinf_use=yes
48797 else
48798 glibcxx_cv_func_isinf_use=no
48800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48801 ac_ext=c
48802 ac_cpp='$CPP $CPPFLAGS'
48803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48812 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48814 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48815 for ac_func in isinf
48816 do :
48817 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48818 if test "x$ac_cv_func_isinf" = xyes; then :
48819 cat >>confdefs.h <<_ACEOF
48820 #define HAVE_ISINF 1
48821 _ACEOF
48824 done
48826 else
48828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48829 $as_echo_n "checking for _isinf declaration... " >&6; }
48830 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48831 if ${glibcxx_cv_func__isinf_use+:} false; then :
48832 $as_echo_n "(cached) " >&6
48833 else
48836 ac_ext=cpp
48837 ac_cpp='$CXXCPP $CPPFLAGS'
48838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48843 /* end confdefs.h. */
48844 #include <math.h>
48845 #ifdef HAVE_IEEEFP_H
48846 #include <ieeefp.h>
48847 #endif
48850 main ()
48852 _isinf(0);
48854 return 0;
48856 _ACEOF
48857 if ac_fn_cxx_try_compile "$LINENO"; then :
48858 glibcxx_cv_func__isinf_use=yes
48859 else
48860 glibcxx_cv_func__isinf_use=no
48862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48863 ac_ext=c
48864 ac_cpp='$CPP $CPPFLAGS'
48865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48874 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48876 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48877 for ac_func in _isinf
48878 do :
48879 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48880 if test "x$ac_cv_func__isinf" = xyes; then :
48881 cat >>confdefs.h <<_ACEOF
48882 #define HAVE__ISINF 1
48883 _ACEOF
48886 done
48895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48896 $as_echo_n "checking for isnan declaration... " >&6; }
48897 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48898 if ${glibcxx_cv_func_isnan_use+:} false; then :
48899 $as_echo_n "(cached) " >&6
48900 else
48903 ac_ext=cpp
48904 ac_cpp='$CXXCPP $CPPFLAGS'
48905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48910 /* end confdefs.h. */
48911 #include <math.h>
48912 #ifdef HAVE_IEEEFP_H
48913 #include <ieeefp.h>
48914 #endif
48917 main ()
48919 isnan(0);
48921 return 0;
48923 _ACEOF
48924 if ac_fn_cxx_try_compile "$LINENO"; then :
48925 glibcxx_cv_func_isnan_use=yes
48926 else
48927 glibcxx_cv_func_isnan_use=no
48929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48930 ac_ext=c
48931 ac_cpp='$CPP $CPPFLAGS'
48932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48941 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48943 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48944 for ac_func in isnan
48945 do :
48946 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48947 if test "x$ac_cv_func_isnan" = xyes; then :
48948 cat >>confdefs.h <<_ACEOF
48949 #define HAVE_ISNAN 1
48950 _ACEOF
48953 done
48955 else
48957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48958 $as_echo_n "checking for _isnan declaration... " >&6; }
48959 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48960 if ${glibcxx_cv_func__isnan_use+:} false; then :
48961 $as_echo_n "(cached) " >&6
48962 else
48965 ac_ext=cpp
48966 ac_cpp='$CXXCPP $CPPFLAGS'
48967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48972 /* end confdefs.h. */
48973 #include <math.h>
48974 #ifdef HAVE_IEEEFP_H
48975 #include <ieeefp.h>
48976 #endif
48979 main ()
48981 _isnan(0);
48983 return 0;
48985 _ACEOF
48986 if ac_fn_cxx_try_compile "$LINENO"; then :
48987 glibcxx_cv_func__isnan_use=yes
48988 else
48989 glibcxx_cv_func__isnan_use=no
48991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48992 ac_ext=c
48993 ac_cpp='$CPP $CPPFLAGS'
48994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
49003 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
49005 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
49006 for ac_func in _isnan
49007 do :
49008 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
49009 if test "x$ac_cv_func__isnan" = xyes; then :
49010 cat >>confdefs.h <<_ACEOF
49011 #define HAVE__ISNAN 1
49012 _ACEOF
49015 done
49024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
49025 $as_echo_n "checking for finite declaration... " >&6; }
49026 if test x${glibcxx_cv_func_finite_use+set} != xset; then
49027 if ${glibcxx_cv_func_finite_use+:} false; then :
49028 $as_echo_n "(cached) " >&6
49029 else
49032 ac_ext=cpp
49033 ac_cpp='$CXXCPP $CPPFLAGS'
49034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49039 /* end confdefs.h. */
49040 #include <math.h>
49041 #ifdef HAVE_IEEEFP_H
49042 #include <ieeefp.h>
49043 #endif
49046 main ()
49048 finite(0);
49050 return 0;
49052 _ACEOF
49053 if ac_fn_cxx_try_compile "$LINENO"; then :
49054 glibcxx_cv_func_finite_use=yes
49055 else
49056 glibcxx_cv_func_finite_use=no
49058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49059 ac_ext=c
49060 ac_cpp='$CPP $CPPFLAGS'
49061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
49070 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
49072 if test x$glibcxx_cv_func_finite_use = x"yes"; then
49073 for ac_func in finite
49074 do :
49075 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
49076 if test "x$ac_cv_func_finite" = xyes; then :
49077 cat >>confdefs.h <<_ACEOF
49078 #define HAVE_FINITE 1
49079 _ACEOF
49082 done
49084 else
49086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
49087 $as_echo_n "checking for _finite declaration... " >&6; }
49088 if test x${glibcxx_cv_func__finite_use+set} != xset; then
49089 if ${glibcxx_cv_func__finite_use+:} false; then :
49090 $as_echo_n "(cached) " >&6
49091 else
49094 ac_ext=cpp
49095 ac_cpp='$CXXCPP $CPPFLAGS'
49096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49101 /* end confdefs.h. */
49102 #include <math.h>
49103 #ifdef HAVE_IEEEFP_H
49104 #include <ieeefp.h>
49105 #endif
49108 main ()
49110 _finite(0);
49112 return 0;
49114 _ACEOF
49115 if ac_fn_cxx_try_compile "$LINENO"; then :
49116 glibcxx_cv_func__finite_use=yes
49117 else
49118 glibcxx_cv_func__finite_use=no
49120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49121 ac_ext=c
49122 ac_cpp='$CPP $CPPFLAGS'
49123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
49132 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
49134 if test x$glibcxx_cv_func__finite_use = x"yes"; then
49135 for ac_func in _finite
49136 do :
49137 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
49138 if test "x$ac_cv_func__finite" = xyes; then :
49139 cat >>confdefs.h <<_ACEOF
49140 #define HAVE__FINITE 1
49141 _ACEOF
49144 done
49153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
49154 $as_echo_n "checking for sincos declaration... " >&6; }
49155 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
49156 if ${glibcxx_cv_func_sincos_use+:} false; then :
49157 $as_echo_n "(cached) " >&6
49158 else
49161 ac_ext=cpp
49162 ac_cpp='$CXXCPP $CPPFLAGS'
49163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49168 /* end confdefs.h. */
49169 #include <math.h>
49171 main ()
49173 sincos(0, 0, 0);
49175 return 0;
49177 _ACEOF
49178 if ac_fn_cxx_try_compile "$LINENO"; then :
49179 glibcxx_cv_func_sincos_use=yes
49180 else
49181 glibcxx_cv_func_sincos_use=no
49183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49184 ac_ext=c
49185 ac_cpp='$CPP $CPPFLAGS'
49186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
49195 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
49197 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
49198 for ac_func in sincos
49199 do :
49200 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
49201 if test "x$ac_cv_func_sincos" = xyes; then :
49202 cat >>confdefs.h <<_ACEOF
49203 #define HAVE_SINCOS 1
49204 _ACEOF
49207 done
49209 else
49211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
49212 $as_echo_n "checking for _sincos declaration... " >&6; }
49213 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
49214 if ${glibcxx_cv_func__sincos_use+:} false; then :
49215 $as_echo_n "(cached) " >&6
49216 else
49219 ac_ext=cpp
49220 ac_cpp='$CXXCPP $CPPFLAGS'
49221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49226 /* end confdefs.h. */
49227 #include <math.h>
49229 main ()
49231 _sincos(0, 0, 0);
49233 return 0;
49235 _ACEOF
49236 if ac_fn_cxx_try_compile "$LINENO"; then :
49237 glibcxx_cv_func__sincos_use=yes
49238 else
49239 glibcxx_cv_func__sincos_use=no
49241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49242 ac_ext=c
49243 ac_cpp='$CPP $CPPFLAGS'
49244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
49253 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
49255 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
49256 for ac_func in _sincos
49257 do :
49258 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
49259 if test "x$ac_cv_func__sincos" = xyes; then :
49260 cat >>confdefs.h <<_ACEOF
49261 #define HAVE__SINCOS 1
49262 _ACEOF
49265 done
49274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
49275 $as_echo_n "checking for fpclass declaration... " >&6; }
49276 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
49277 if ${glibcxx_cv_func_fpclass_use+:} false; then :
49278 $as_echo_n "(cached) " >&6
49279 else
49282 ac_ext=cpp
49283 ac_cpp='$CXXCPP $CPPFLAGS'
49284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49289 /* end confdefs.h. */
49290 #include <math.h>
49291 #ifdef HAVE_IEEEFP_H
49292 #include <ieeefp.h>
49293 #endif
49296 main ()
49298 fpclass(0);
49300 return 0;
49302 _ACEOF
49303 if ac_fn_cxx_try_compile "$LINENO"; then :
49304 glibcxx_cv_func_fpclass_use=yes
49305 else
49306 glibcxx_cv_func_fpclass_use=no
49308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49309 ac_ext=c
49310 ac_cpp='$CPP $CPPFLAGS'
49311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
49320 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
49322 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
49323 for ac_func in fpclass
49324 do :
49325 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
49326 if test "x$ac_cv_func_fpclass" = xyes; then :
49327 cat >>confdefs.h <<_ACEOF
49328 #define HAVE_FPCLASS 1
49329 _ACEOF
49332 done
49334 else
49336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
49337 $as_echo_n "checking for _fpclass declaration... " >&6; }
49338 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
49339 if ${glibcxx_cv_func__fpclass_use+:} false; then :
49340 $as_echo_n "(cached) " >&6
49341 else
49344 ac_ext=cpp
49345 ac_cpp='$CXXCPP $CPPFLAGS'
49346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49351 /* end confdefs.h. */
49352 #include <math.h>
49353 #ifdef HAVE_IEEEFP_H
49354 #include <ieeefp.h>
49355 #endif
49358 main ()
49360 _fpclass(0);
49362 return 0;
49364 _ACEOF
49365 if ac_fn_cxx_try_compile "$LINENO"; then :
49366 glibcxx_cv_func__fpclass_use=yes
49367 else
49368 glibcxx_cv_func__fpclass_use=no
49370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49371 ac_ext=c
49372 ac_cpp='$CPP $CPPFLAGS'
49373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
49382 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
49384 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
49385 for ac_func in _fpclass
49386 do :
49387 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
49388 if test "x$ac_cv_func__fpclass" = xyes; then :
49389 cat >>confdefs.h <<_ACEOF
49390 #define HAVE__FPCLASS 1
49391 _ACEOF
49394 done
49403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
49404 $as_echo_n "checking for qfpclass declaration... " >&6; }
49405 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
49406 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
49407 $as_echo_n "(cached) " >&6
49408 else
49411 ac_ext=cpp
49412 ac_cpp='$CXXCPP $CPPFLAGS'
49413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49418 /* end confdefs.h. */
49419 #include <math.h>
49420 #ifdef HAVE_IEEEFP_H
49421 #include <ieeefp.h>
49422 #endif
49425 main ()
49427 qfpclass(0);
49429 return 0;
49431 _ACEOF
49432 if ac_fn_cxx_try_compile "$LINENO"; then :
49433 glibcxx_cv_func_qfpclass_use=yes
49434 else
49435 glibcxx_cv_func_qfpclass_use=no
49437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49438 ac_ext=c
49439 ac_cpp='$CPP $CPPFLAGS'
49440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
49449 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
49451 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
49452 for ac_func in qfpclass
49453 do :
49454 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
49455 if test "x$ac_cv_func_qfpclass" = xyes; then :
49456 cat >>confdefs.h <<_ACEOF
49457 #define HAVE_QFPCLASS 1
49458 _ACEOF
49461 done
49463 else
49465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
49466 $as_echo_n "checking for _qfpclass declaration... " >&6; }
49467 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
49468 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
49469 $as_echo_n "(cached) " >&6
49470 else
49473 ac_ext=cpp
49474 ac_cpp='$CXXCPP $CPPFLAGS'
49475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49480 /* end confdefs.h. */
49481 #include <math.h>
49482 #ifdef HAVE_IEEEFP_H
49483 #include <ieeefp.h>
49484 #endif
49487 main ()
49489 _qfpclass(0);
49491 return 0;
49493 _ACEOF
49494 if ac_fn_cxx_try_compile "$LINENO"; then :
49495 glibcxx_cv_func__qfpclass_use=yes
49496 else
49497 glibcxx_cv_func__qfpclass_use=no
49499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49500 ac_ext=c
49501 ac_cpp='$CPP $CPPFLAGS'
49502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
49511 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
49513 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
49514 for ac_func in _qfpclass
49515 do :
49516 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
49517 if test "x$ac_cv_func__qfpclass" = xyes; then :
49518 cat >>confdefs.h <<_ACEOF
49519 #define HAVE__QFPCLASS 1
49520 _ACEOF
49523 done
49532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
49533 $as_echo_n "checking for hypot declaration... " >&6; }
49534 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
49535 if ${glibcxx_cv_func_hypot_use+:} false; then :
49536 $as_echo_n "(cached) " >&6
49537 else
49540 ac_ext=cpp
49541 ac_cpp='$CXXCPP $CPPFLAGS'
49542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49547 /* end confdefs.h. */
49548 #include <math.h>
49550 main ()
49552 hypot(0, 0);
49554 return 0;
49556 _ACEOF
49557 if ac_fn_cxx_try_compile "$LINENO"; then :
49558 glibcxx_cv_func_hypot_use=yes
49559 else
49560 glibcxx_cv_func_hypot_use=no
49562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49563 ac_ext=c
49564 ac_cpp='$CPP $CPPFLAGS'
49565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
49574 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
49576 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
49577 for ac_func in hypot
49578 do :
49579 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
49580 if test "x$ac_cv_func_hypot" = xyes; then :
49581 cat >>confdefs.h <<_ACEOF
49582 #define HAVE_HYPOT 1
49583 _ACEOF
49586 done
49588 else
49590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
49591 $as_echo_n "checking for _hypot declaration... " >&6; }
49592 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
49593 if ${glibcxx_cv_func__hypot_use+:} false; then :
49594 $as_echo_n "(cached) " >&6
49595 else
49598 ac_ext=cpp
49599 ac_cpp='$CXXCPP $CPPFLAGS'
49600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49605 /* end confdefs.h. */
49606 #include <math.h>
49608 main ()
49610 _hypot(0, 0);
49612 return 0;
49614 _ACEOF
49615 if ac_fn_cxx_try_compile "$LINENO"; then :
49616 glibcxx_cv_func__hypot_use=yes
49617 else
49618 glibcxx_cv_func__hypot_use=no
49620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49621 ac_ext=c
49622 ac_cpp='$CPP $CPPFLAGS'
49623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
49632 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
49634 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
49635 for ac_func in _hypot
49636 do :
49637 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
49638 if test "x$ac_cv_func__hypot" = xyes; then :
49639 cat >>confdefs.h <<_ACEOF
49640 #define HAVE__HYPOT 1
49641 _ACEOF
49644 done
49653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
49654 $as_echo_n "checking for float trig functions... " >&6; }
49655 if ${glibcxx_cv_func_float_trig_use+:} false; then :
49656 $as_echo_n "(cached) " >&6
49657 else
49660 ac_ext=cpp
49661 ac_cpp='$CXXCPP $CPPFLAGS'
49662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49667 /* end confdefs.h. */
49668 #include <math.h>
49670 main ()
49672 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
49674 return 0;
49676 _ACEOF
49677 if ac_fn_cxx_try_compile "$LINENO"; then :
49678 glibcxx_cv_func_float_trig_use=yes
49679 else
49680 glibcxx_cv_func_float_trig_use=no
49682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49683 ac_ext=c
49684 ac_cpp='$CPP $CPPFLAGS'
49685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49692 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49693 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49694 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49695 do :
49696 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49697 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49698 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49699 cat >>confdefs.h <<_ACEOF
49700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49701 _ACEOF
49704 done
49706 else
49707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49708 $as_echo_n "checking for _float trig functions... " >&6; }
49709 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49710 $as_echo_n "(cached) " >&6
49711 else
49714 ac_ext=cpp
49715 ac_cpp='$CXXCPP $CPPFLAGS'
49716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49721 /* end confdefs.h. */
49722 #include <math.h>
49724 main ()
49726 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49728 return 0;
49730 _ACEOF
49731 if ac_fn_cxx_try_compile "$LINENO"; then :
49732 glibcxx_cv_func__float_trig_use=yes
49733 else
49734 glibcxx_cv_func__float_trig_use=no
49736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49737 ac_ext=c
49738 ac_cpp='$CPP $CPPFLAGS'
49739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49746 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49747 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49748 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49749 do :
49750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49752 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49753 cat >>confdefs.h <<_ACEOF
49754 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49755 _ACEOF
49758 done
49767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49768 $as_echo_n "checking for float round functions... " >&6; }
49769 if ${glibcxx_cv_func_float_round_use+:} false; then :
49770 $as_echo_n "(cached) " >&6
49771 else
49774 ac_ext=cpp
49775 ac_cpp='$CXXCPP $CPPFLAGS'
49776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49781 /* end confdefs.h. */
49782 #include <math.h>
49784 main ()
49786 ceilf (0); floorf (0);
49788 return 0;
49790 _ACEOF
49791 if ac_fn_cxx_try_compile "$LINENO"; then :
49792 glibcxx_cv_func_float_round_use=yes
49793 else
49794 glibcxx_cv_func_float_round_use=no
49796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49797 ac_ext=c
49798 ac_cpp='$CPP $CPPFLAGS'
49799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49806 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49807 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49808 for ac_func in ceilf floorf
49809 do :
49810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49812 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49813 cat >>confdefs.h <<_ACEOF
49814 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49815 _ACEOF
49818 done
49820 else
49821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49822 $as_echo_n "checking for _float round functions... " >&6; }
49823 if ${glibcxx_cv_func__float_round_use+:} false; then :
49824 $as_echo_n "(cached) " >&6
49825 else
49828 ac_ext=cpp
49829 ac_cpp='$CXXCPP $CPPFLAGS'
49830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49835 /* end confdefs.h. */
49836 #include <math.h>
49838 main ()
49840 _ceilf (0); _floorf (0);
49842 return 0;
49844 _ACEOF
49845 if ac_fn_cxx_try_compile "$LINENO"; then :
49846 glibcxx_cv_func__float_round_use=yes
49847 else
49848 glibcxx_cv_func__float_round_use=no
49850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49851 ac_ext=c
49852 ac_cpp='$CPP $CPPFLAGS'
49853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49860 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49861 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49862 for ac_func in _ceilf _floorf
49863 do :
49864 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49865 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49866 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49867 cat >>confdefs.h <<_ACEOF
49868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49869 _ACEOF
49872 done
49882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49883 $as_echo_n "checking for expf declaration... " >&6; }
49884 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49885 if ${glibcxx_cv_func_expf_use+:} false; then :
49886 $as_echo_n "(cached) " >&6
49887 else
49890 ac_ext=cpp
49891 ac_cpp='$CXXCPP $CPPFLAGS'
49892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49897 /* end confdefs.h. */
49898 #include <math.h>
49899 #ifdef HAVE_IEEEFP_H
49900 #include <ieeefp.h>
49901 #endif
49904 main ()
49906 expf(0);
49908 return 0;
49910 _ACEOF
49911 if ac_fn_cxx_try_compile "$LINENO"; then :
49912 glibcxx_cv_func_expf_use=yes
49913 else
49914 glibcxx_cv_func_expf_use=no
49916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49917 ac_ext=c
49918 ac_cpp='$CPP $CPPFLAGS'
49919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49928 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49930 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49931 for ac_func in expf
49932 do :
49933 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49934 if test "x$ac_cv_func_expf" = xyes; then :
49935 cat >>confdefs.h <<_ACEOF
49936 #define HAVE_EXPF 1
49937 _ACEOF
49940 done
49942 else
49944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49945 $as_echo_n "checking for _expf declaration... " >&6; }
49946 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49947 if ${glibcxx_cv_func__expf_use+:} false; then :
49948 $as_echo_n "(cached) " >&6
49949 else
49952 ac_ext=cpp
49953 ac_cpp='$CXXCPP $CPPFLAGS'
49954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49959 /* end confdefs.h. */
49960 #include <math.h>
49961 #ifdef HAVE_IEEEFP_H
49962 #include <ieeefp.h>
49963 #endif
49966 main ()
49968 _expf(0);
49970 return 0;
49972 _ACEOF
49973 if ac_fn_cxx_try_compile "$LINENO"; then :
49974 glibcxx_cv_func__expf_use=yes
49975 else
49976 glibcxx_cv_func__expf_use=no
49978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49979 ac_ext=c
49980 ac_cpp='$CPP $CPPFLAGS'
49981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49990 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49992 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49993 for ac_func in _expf
49994 do :
49995 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49996 if test "x$ac_cv_func__expf" = xyes; then :
49997 cat >>confdefs.h <<_ACEOF
49998 #define HAVE__EXPF 1
49999 _ACEOF
50002 done
50011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
50012 $as_echo_n "checking for isnanf declaration... " >&6; }
50013 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
50014 if ${glibcxx_cv_func_isnanf_use+:} false; then :
50015 $as_echo_n "(cached) " >&6
50016 else
50019 ac_ext=cpp
50020 ac_cpp='$CXXCPP $CPPFLAGS'
50021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50026 /* end confdefs.h. */
50027 #include <math.h>
50028 #ifdef HAVE_IEEEFP_H
50029 #include <ieeefp.h>
50030 #endif
50033 main ()
50035 isnanf(0);
50037 return 0;
50039 _ACEOF
50040 if ac_fn_cxx_try_compile "$LINENO"; then :
50041 glibcxx_cv_func_isnanf_use=yes
50042 else
50043 glibcxx_cv_func_isnanf_use=no
50045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50046 ac_ext=c
50047 ac_cpp='$CPP $CPPFLAGS'
50048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
50057 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
50059 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
50060 for ac_func in isnanf
50061 do :
50062 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
50063 if test "x$ac_cv_func_isnanf" = xyes; then :
50064 cat >>confdefs.h <<_ACEOF
50065 #define HAVE_ISNANF 1
50066 _ACEOF
50069 done
50071 else
50073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
50074 $as_echo_n "checking for _isnanf declaration... " >&6; }
50075 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
50076 if ${glibcxx_cv_func__isnanf_use+:} false; then :
50077 $as_echo_n "(cached) " >&6
50078 else
50081 ac_ext=cpp
50082 ac_cpp='$CXXCPP $CPPFLAGS'
50083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50088 /* end confdefs.h. */
50089 #include <math.h>
50090 #ifdef HAVE_IEEEFP_H
50091 #include <ieeefp.h>
50092 #endif
50095 main ()
50097 _isnanf(0);
50099 return 0;
50101 _ACEOF
50102 if ac_fn_cxx_try_compile "$LINENO"; then :
50103 glibcxx_cv_func__isnanf_use=yes
50104 else
50105 glibcxx_cv_func__isnanf_use=no
50107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50108 ac_ext=c
50109 ac_cpp='$CPP $CPPFLAGS'
50110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
50119 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
50121 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
50122 for ac_func in _isnanf
50123 do :
50124 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
50125 if test "x$ac_cv_func__isnanf" = xyes; then :
50126 cat >>confdefs.h <<_ACEOF
50127 #define HAVE__ISNANF 1
50128 _ACEOF
50131 done
50140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
50141 $as_echo_n "checking for isinff declaration... " >&6; }
50142 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
50143 if ${glibcxx_cv_func_isinff_use+:} false; then :
50144 $as_echo_n "(cached) " >&6
50145 else
50148 ac_ext=cpp
50149 ac_cpp='$CXXCPP $CPPFLAGS'
50150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50155 /* end confdefs.h. */
50156 #include <math.h>
50157 #ifdef HAVE_IEEEFP_H
50158 #include <ieeefp.h>
50159 #endif
50162 main ()
50164 isinff(0);
50166 return 0;
50168 _ACEOF
50169 if ac_fn_cxx_try_compile "$LINENO"; then :
50170 glibcxx_cv_func_isinff_use=yes
50171 else
50172 glibcxx_cv_func_isinff_use=no
50174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50175 ac_ext=c
50176 ac_cpp='$CPP $CPPFLAGS'
50177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
50186 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
50188 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
50189 for ac_func in isinff
50190 do :
50191 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
50192 if test "x$ac_cv_func_isinff" = xyes; then :
50193 cat >>confdefs.h <<_ACEOF
50194 #define HAVE_ISINFF 1
50195 _ACEOF
50198 done
50200 else
50202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
50203 $as_echo_n "checking for _isinff declaration... " >&6; }
50204 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
50205 if ${glibcxx_cv_func__isinff_use+:} false; then :
50206 $as_echo_n "(cached) " >&6
50207 else
50210 ac_ext=cpp
50211 ac_cpp='$CXXCPP $CPPFLAGS'
50212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50217 /* end confdefs.h. */
50218 #include <math.h>
50219 #ifdef HAVE_IEEEFP_H
50220 #include <ieeefp.h>
50221 #endif
50224 main ()
50226 _isinff(0);
50228 return 0;
50230 _ACEOF
50231 if ac_fn_cxx_try_compile "$LINENO"; then :
50232 glibcxx_cv_func__isinff_use=yes
50233 else
50234 glibcxx_cv_func__isinff_use=no
50236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50237 ac_ext=c
50238 ac_cpp='$CPP $CPPFLAGS'
50239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
50248 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
50250 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
50251 for ac_func in _isinff
50252 do :
50253 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
50254 if test "x$ac_cv_func__isinff" = xyes; then :
50255 cat >>confdefs.h <<_ACEOF
50256 #define HAVE__ISINFF 1
50257 _ACEOF
50260 done
50269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
50270 $as_echo_n "checking for atan2f declaration... " >&6; }
50271 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
50272 if ${glibcxx_cv_func_atan2f_use+:} false; then :
50273 $as_echo_n "(cached) " >&6
50274 else
50277 ac_ext=cpp
50278 ac_cpp='$CXXCPP $CPPFLAGS'
50279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50284 /* end confdefs.h. */
50285 #include <math.h>
50287 main ()
50289 atan2f(0, 0);
50291 return 0;
50293 _ACEOF
50294 if ac_fn_cxx_try_compile "$LINENO"; then :
50295 glibcxx_cv_func_atan2f_use=yes
50296 else
50297 glibcxx_cv_func_atan2f_use=no
50299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50300 ac_ext=c
50301 ac_cpp='$CPP $CPPFLAGS'
50302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
50311 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
50313 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
50314 for ac_func in atan2f
50315 do :
50316 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
50317 if test "x$ac_cv_func_atan2f" = xyes; then :
50318 cat >>confdefs.h <<_ACEOF
50319 #define HAVE_ATAN2F 1
50320 _ACEOF
50323 done
50325 else
50327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
50328 $as_echo_n "checking for _atan2f declaration... " >&6; }
50329 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
50330 if ${glibcxx_cv_func__atan2f_use+:} false; then :
50331 $as_echo_n "(cached) " >&6
50332 else
50335 ac_ext=cpp
50336 ac_cpp='$CXXCPP $CPPFLAGS'
50337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50342 /* end confdefs.h. */
50343 #include <math.h>
50345 main ()
50347 _atan2f(0, 0);
50349 return 0;
50351 _ACEOF
50352 if ac_fn_cxx_try_compile "$LINENO"; then :
50353 glibcxx_cv_func__atan2f_use=yes
50354 else
50355 glibcxx_cv_func__atan2f_use=no
50357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50358 ac_ext=c
50359 ac_cpp='$CPP $CPPFLAGS'
50360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
50369 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
50371 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
50372 for ac_func in _atan2f
50373 do :
50374 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
50375 if test "x$ac_cv_func__atan2f" = xyes; then :
50376 cat >>confdefs.h <<_ACEOF
50377 #define HAVE__ATAN2F 1
50378 _ACEOF
50381 done
50390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
50391 $as_echo_n "checking for fabsf declaration... " >&6; }
50392 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
50393 if ${glibcxx_cv_func_fabsf_use+:} false; then :
50394 $as_echo_n "(cached) " >&6
50395 else
50398 ac_ext=cpp
50399 ac_cpp='$CXXCPP $CPPFLAGS'
50400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50405 /* end confdefs.h. */
50406 #include <math.h>
50407 #ifdef HAVE_IEEEFP_H
50408 #include <ieeefp.h>
50409 #endif
50412 main ()
50414 fabsf(0);
50416 return 0;
50418 _ACEOF
50419 if ac_fn_cxx_try_compile "$LINENO"; then :
50420 glibcxx_cv_func_fabsf_use=yes
50421 else
50422 glibcxx_cv_func_fabsf_use=no
50424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50425 ac_ext=c
50426 ac_cpp='$CPP $CPPFLAGS'
50427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
50436 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
50438 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
50439 for ac_func in fabsf
50440 do :
50441 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
50442 if test "x$ac_cv_func_fabsf" = xyes; then :
50443 cat >>confdefs.h <<_ACEOF
50444 #define HAVE_FABSF 1
50445 _ACEOF
50448 done
50450 else
50452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
50453 $as_echo_n "checking for _fabsf declaration... " >&6; }
50454 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
50455 if ${glibcxx_cv_func__fabsf_use+:} false; then :
50456 $as_echo_n "(cached) " >&6
50457 else
50460 ac_ext=cpp
50461 ac_cpp='$CXXCPP $CPPFLAGS'
50462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50467 /* end confdefs.h. */
50468 #include <math.h>
50469 #ifdef HAVE_IEEEFP_H
50470 #include <ieeefp.h>
50471 #endif
50474 main ()
50476 _fabsf(0);
50478 return 0;
50480 _ACEOF
50481 if ac_fn_cxx_try_compile "$LINENO"; then :
50482 glibcxx_cv_func__fabsf_use=yes
50483 else
50484 glibcxx_cv_func__fabsf_use=no
50486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50487 ac_ext=c
50488 ac_cpp='$CPP $CPPFLAGS'
50489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
50498 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
50500 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
50501 for ac_func in _fabsf
50502 do :
50503 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
50504 if test "x$ac_cv_func__fabsf" = xyes; then :
50505 cat >>confdefs.h <<_ACEOF
50506 #define HAVE__FABSF 1
50507 _ACEOF
50510 done
50519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
50520 $as_echo_n "checking for fmodf declaration... " >&6; }
50521 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50522 if ${glibcxx_cv_func_fmodf_use+:} false; then :
50523 $as_echo_n "(cached) " >&6
50524 else
50527 ac_ext=cpp
50528 ac_cpp='$CXXCPP $CPPFLAGS'
50529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50534 /* end confdefs.h. */
50535 #include <math.h>
50537 main ()
50539 fmodf(0, 0);
50541 return 0;
50543 _ACEOF
50544 if ac_fn_cxx_try_compile "$LINENO"; then :
50545 glibcxx_cv_func_fmodf_use=yes
50546 else
50547 glibcxx_cv_func_fmodf_use=no
50549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50550 ac_ext=c
50551 ac_cpp='$CPP $CPPFLAGS'
50552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
50561 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
50563 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50564 for ac_func in fmodf
50565 do :
50566 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
50567 if test "x$ac_cv_func_fmodf" = xyes; then :
50568 cat >>confdefs.h <<_ACEOF
50569 #define HAVE_FMODF 1
50570 _ACEOF
50573 done
50575 else
50577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
50578 $as_echo_n "checking for _fmodf declaration... " >&6; }
50579 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50580 if ${glibcxx_cv_func__fmodf_use+:} false; then :
50581 $as_echo_n "(cached) " >&6
50582 else
50585 ac_ext=cpp
50586 ac_cpp='$CXXCPP $CPPFLAGS'
50587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50592 /* end confdefs.h. */
50593 #include <math.h>
50595 main ()
50597 _fmodf(0, 0);
50599 return 0;
50601 _ACEOF
50602 if ac_fn_cxx_try_compile "$LINENO"; then :
50603 glibcxx_cv_func__fmodf_use=yes
50604 else
50605 glibcxx_cv_func__fmodf_use=no
50607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50608 ac_ext=c
50609 ac_cpp='$CPP $CPPFLAGS'
50610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
50619 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
50621 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50622 for ac_func in _fmodf
50623 do :
50624 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
50625 if test "x$ac_cv_func__fmodf" = xyes; then :
50626 cat >>confdefs.h <<_ACEOF
50627 #define HAVE__FMODF 1
50628 _ACEOF
50631 done
50640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
50641 $as_echo_n "checking for frexpf declaration... " >&6; }
50642 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50643 if ${glibcxx_cv_func_frexpf_use+:} false; then :
50644 $as_echo_n "(cached) " >&6
50645 else
50648 ac_ext=cpp
50649 ac_cpp='$CXXCPP $CPPFLAGS'
50650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50655 /* end confdefs.h. */
50656 #include <math.h>
50658 main ()
50660 frexpf(0, 0);
50662 return 0;
50664 _ACEOF
50665 if ac_fn_cxx_try_compile "$LINENO"; then :
50666 glibcxx_cv_func_frexpf_use=yes
50667 else
50668 glibcxx_cv_func_frexpf_use=no
50670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50671 ac_ext=c
50672 ac_cpp='$CPP $CPPFLAGS'
50673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
50682 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
50684 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50685 for ac_func in frexpf
50686 do :
50687 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50688 if test "x$ac_cv_func_frexpf" = xyes; then :
50689 cat >>confdefs.h <<_ACEOF
50690 #define HAVE_FREXPF 1
50691 _ACEOF
50694 done
50696 else
50698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50699 $as_echo_n "checking for _frexpf declaration... " >&6; }
50700 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50701 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50702 $as_echo_n "(cached) " >&6
50703 else
50706 ac_ext=cpp
50707 ac_cpp='$CXXCPP $CPPFLAGS'
50708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50713 /* end confdefs.h. */
50714 #include <math.h>
50716 main ()
50718 _frexpf(0, 0);
50720 return 0;
50722 _ACEOF
50723 if ac_fn_cxx_try_compile "$LINENO"; then :
50724 glibcxx_cv_func__frexpf_use=yes
50725 else
50726 glibcxx_cv_func__frexpf_use=no
50728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50729 ac_ext=c
50730 ac_cpp='$CPP $CPPFLAGS'
50731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50740 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50742 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50743 for ac_func in _frexpf
50744 do :
50745 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50746 if test "x$ac_cv_func__frexpf" = xyes; then :
50747 cat >>confdefs.h <<_ACEOF
50748 #define HAVE__FREXPF 1
50749 _ACEOF
50752 done
50761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50762 $as_echo_n "checking for hypotf declaration... " >&6; }
50763 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50764 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50765 $as_echo_n "(cached) " >&6
50766 else
50769 ac_ext=cpp
50770 ac_cpp='$CXXCPP $CPPFLAGS'
50771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50776 /* end confdefs.h. */
50777 #include <math.h>
50779 main ()
50781 hypotf(0, 0);
50783 return 0;
50785 _ACEOF
50786 if ac_fn_cxx_try_compile "$LINENO"; then :
50787 glibcxx_cv_func_hypotf_use=yes
50788 else
50789 glibcxx_cv_func_hypotf_use=no
50791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50792 ac_ext=c
50793 ac_cpp='$CPP $CPPFLAGS'
50794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50803 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50805 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50806 for ac_func in hypotf
50807 do :
50808 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50809 if test "x$ac_cv_func_hypotf" = xyes; then :
50810 cat >>confdefs.h <<_ACEOF
50811 #define HAVE_HYPOTF 1
50812 _ACEOF
50815 done
50817 else
50819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50820 $as_echo_n "checking for _hypotf declaration... " >&6; }
50821 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50822 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50823 $as_echo_n "(cached) " >&6
50824 else
50827 ac_ext=cpp
50828 ac_cpp='$CXXCPP $CPPFLAGS'
50829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50834 /* end confdefs.h. */
50835 #include <math.h>
50837 main ()
50839 _hypotf(0, 0);
50841 return 0;
50843 _ACEOF
50844 if ac_fn_cxx_try_compile "$LINENO"; then :
50845 glibcxx_cv_func__hypotf_use=yes
50846 else
50847 glibcxx_cv_func__hypotf_use=no
50849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50850 ac_ext=c
50851 ac_cpp='$CPP $CPPFLAGS'
50852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50861 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50863 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50864 for ac_func in _hypotf
50865 do :
50866 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50867 if test "x$ac_cv_func__hypotf" = xyes; then :
50868 cat >>confdefs.h <<_ACEOF
50869 #define HAVE__HYPOTF 1
50870 _ACEOF
50873 done
50882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50883 $as_echo_n "checking for ldexpf declaration... " >&6; }
50884 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50885 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50886 $as_echo_n "(cached) " >&6
50887 else
50890 ac_ext=cpp
50891 ac_cpp='$CXXCPP $CPPFLAGS'
50892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50897 /* end confdefs.h. */
50898 #include <math.h>
50900 main ()
50902 ldexpf(0, 0);
50904 return 0;
50906 _ACEOF
50907 if ac_fn_cxx_try_compile "$LINENO"; then :
50908 glibcxx_cv_func_ldexpf_use=yes
50909 else
50910 glibcxx_cv_func_ldexpf_use=no
50912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50913 ac_ext=c
50914 ac_cpp='$CPP $CPPFLAGS'
50915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50924 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50926 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50927 for ac_func in ldexpf
50928 do :
50929 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50930 if test "x$ac_cv_func_ldexpf" = xyes; then :
50931 cat >>confdefs.h <<_ACEOF
50932 #define HAVE_LDEXPF 1
50933 _ACEOF
50936 done
50938 else
50940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50941 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50942 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50943 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50944 $as_echo_n "(cached) " >&6
50945 else
50948 ac_ext=cpp
50949 ac_cpp='$CXXCPP $CPPFLAGS'
50950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50955 /* end confdefs.h. */
50956 #include <math.h>
50958 main ()
50960 _ldexpf(0, 0);
50962 return 0;
50964 _ACEOF
50965 if ac_fn_cxx_try_compile "$LINENO"; then :
50966 glibcxx_cv_func__ldexpf_use=yes
50967 else
50968 glibcxx_cv_func__ldexpf_use=no
50970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50971 ac_ext=c
50972 ac_cpp='$CPP $CPPFLAGS'
50973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50982 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50984 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50985 for ac_func in _ldexpf
50986 do :
50987 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50988 if test "x$ac_cv_func__ldexpf" = xyes; then :
50989 cat >>confdefs.h <<_ACEOF
50990 #define HAVE__LDEXPF 1
50991 _ACEOF
50994 done
51003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
51004 $as_echo_n "checking for logf declaration... " >&6; }
51005 if test x${glibcxx_cv_func_logf_use+set} != xset; then
51006 if ${glibcxx_cv_func_logf_use+:} false; then :
51007 $as_echo_n "(cached) " >&6
51008 else
51011 ac_ext=cpp
51012 ac_cpp='$CXXCPP $CPPFLAGS'
51013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51018 /* end confdefs.h. */
51019 #include <math.h>
51020 #ifdef HAVE_IEEEFP_H
51021 #include <ieeefp.h>
51022 #endif
51025 main ()
51027 logf(0);
51029 return 0;
51031 _ACEOF
51032 if ac_fn_cxx_try_compile "$LINENO"; then :
51033 glibcxx_cv_func_logf_use=yes
51034 else
51035 glibcxx_cv_func_logf_use=no
51037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51038 ac_ext=c
51039 ac_cpp='$CPP $CPPFLAGS'
51040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
51049 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
51051 if test x$glibcxx_cv_func_logf_use = x"yes"; then
51052 for ac_func in logf
51053 do :
51054 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
51055 if test "x$ac_cv_func_logf" = xyes; then :
51056 cat >>confdefs.h <<_ACEOF
51057 #define HAVE_LOGF 1
51058 _ACEOF
51061 done
51063 else
51065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
51066 $as_echo_n "checking for _logf declaration... " >&6; }
51067 if test x${glibcxx_cv_func__logf_use+set} != xset; then
51068 if ${glibcxx_cv_func__logf_use+:} false; then :
51069 $as_echo_n "(cached) " >&6
51070 else
51073 ac_ext=cpp
51074 ac_cpp='$CXXCPP $CPPFLAGS'
51075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51080 /* end confdefs.h. */
51081 #include <math.h>
51082 #ifdef HAVE_IEEEFP_H
51083 #include <ieeefp.h>
51084 #endif
51087 main ()
51089 _logf(0);
51091 return 0;
51093 _ACEOF
51094 if ac_fn_cxx_try_compile "$LINENO"; then :
51095 glibcxx_cv_func__logf_use=yes
51096 else
51097 glibcxx_cv_func__logf_use=no
51099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51100 ac_ext=c
51101 ac_cpp='$CPP $CPPFLAGS'
51102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
51111 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
51113 if test x$glibcxx_cv_func__logf_use = x"yes"; then
51114 for ac_func in _logf
51115 do :
51116 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
51117 if test "x$ac_cv_func__logf" = xyes; then :
51118 cat >>confdefs.h <<_ACEOF
51119 #define HAVE__LOGF 1
51120 _ACEOF
51123 done
51132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
51133 $as_echo_n "checking for log10f declaration... " >&6; }
51134 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51135 if ${glibcxx_cv_func_log10f_use+:} false; then :
51136 $as_echo_n "(cached) " >&6
51137 else
51140 ac_ext=cpp
51141 ac_cpp='$CXXCPP $CPPFLAGS'
51142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51147 /* end confdefs.h. */
51148 #include <math.h>
51149 #ifdef HAVE_IEEEFP_H
51150 #include <ieeefp.h>
51151 #endif
51154 main ()
51156 log10f(0);
51158 return 0;
51160 _ACEOF
51161 if ac_fn_cxx_try_compile "$LINENO"; then :
51162 glibcxx_cv_func_log10f_use=yes
51163 else
51164 glibcxx_cv_func_log10f_use=no
51166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51167 ac_ext=c
51168 ac_cpp='$CPP $CPPFLAGS'
51169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
51178 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
51180 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
51181 for ac_func in log10f
51182 do :
51183 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
51184 if test "x$ac_cv_func_log10f" = xyes; then :
51185 cat >>confdefs.h <<_ACEOF
51186 #define HAVE_LOG10F 1
51187 _ACEOF
51190 done
51192 else
51194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
51195 $as_echo_n "checking for _log10f declaration... " >&6; }
51196 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
51197 if ${glibcxx_cv_func__log10f_use+:} false; then :
51198 $as_echo_n "(cached) " >&6
51199 else
51202 ac_ext=cpp
51203 ac_cpp='$CXXCPP $CPPFLAGS'
51204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51209 /* end confdefs.h. */
51210 #include <math.h>
51211 #ifdef HAVE_IEEEFP_H
51212 #include <ieeefp.h>
51213 #endif
51216 main ()
51218 _log10f(0);
51220 return 0;
51222 _ACEOF
51223 if ac_fn_cxx_try_compile "$LINENO"; then :
51224 glibcxx_cv_func__log10f_use=yes
51225 else
51226 glibcxx_cv_func__log10f_use=no
51228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51229 ac_ext=c
51230 ac_cpp='$CPP $CPPFLAGS'
51231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
51240 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
51242 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
51243 for ac_func in _log10f
51244 do :
51245 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
51246 if test "x$ac_cv_func__log10f" = xyes; then :
51247 cat >>confdefs.h <<_ACEOF
51248 #define HAVE__LOG10F 1
51249 _ACEOF
51252 done
51261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
51262 $as_echo_n "checking for modff declaration... " >&6; }
51263 if test x${glibcxx_cv_func_modff_use+set} != xset; then
51264 if ${glibcxx_cv_func_modff_use+:} false; then :
51265 $as_echo_n "(cached) " >&6
51266 else
51269 ac_ext=cpp
51270 ac_cpp='$CXXCPP $CPPFLAGS'
51271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51276 /* end confdefs.h. */
51277 #include <math.h>
51279 main ()
51281 modff(0, 0);
51283 return 0;
51285 _ACEOF
51286 if ac_fn_cxx_try_compile "$LINENO"; then :
51287 glibcxx_cv_func_modff_use=yes
51288 else
51289 glibcxx_cv_func_modff_use=no
51291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51292 ac_ext=c
51293 ac_cpp='$CPP $CPPFLAGS'
51294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
51303 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
51305 if test x$glibcxx_cv_func_modff_use = x"yes"; then
51306 for ac_func in modff
51307 do :
51308 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
51309 if test "x$ac_cv_func_modff" = xyes; then :
51310 cat >>confdefs.h <<_ACEOF
51311 #define HAVE_MODFF 1
51312 _ACEOF
51315 done
51317 else
51319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
51320 $as_echo_n "checking for _modff declaration... " >&6; }
51321 if test x${glibcxx_cv_func__modff_use+set} != xset; then
51322 if ${glibcxx_cv_func__modff_use+:} false; then :
51323 $as_echo_n "(cached) " >&6
51324 else
51327 ac_ext=cpp
51328 ac_cpp='$CXXCPP $CPPFLAGS'
51329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51334 /* end confdefs.h. */
51335 #include <math.h>
51337 main ()
51339 _modff(0, 0);
51341 return 0;
51343 _ACEOF
51344 if ac_fn_cxx_try_compile "$LINENO"; then :
51345 glibcxx_cv_func__modff_use=yes
51346 else
51347 glibcxx_cv_func__modff_use=no
51349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51350 ac_ext=c
51351 ac_cpp='$CPP $CPPFLAGS'
51352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
51361 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
51363 if test x$glibcxx_cv_func__modff_use = x"yes"; then
51364 for ac_func in _modff
51365 do :
51366 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
51367 if test "x$ac_cv_func__modff" = xyes; then :
51368 cat >>confdefs.h <<_ACEOF
51369 #define HAVE__MODFF 1
51370 _ACEOF
51373 done
51382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
51383 $as_echo_n "checking for modf declaration... " >&6; }
51384 if test x${glibcxx_cv_func_modf_use+set} != xset; then
51385 if ${glibcxx_cv_func_modf_use+:} false; then :
51386 $as_echo_n "(cached) " >&6
51387 else
51390 ac_ext=cpp
51391 ac_cpp='$CXXCPP $CPPFLAGS'
51392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51397 /* end confdefs.h. */
51398 #include <math.h>
51400 main ()
51402 modf(0, 0);
51404 return 0;
51406 _ACEOF
51407 if ac_fn_cxx_try_compile "$LINENO"; then :
51408 glibcxx_cv_func_modf_use=yes
51409 else
51410 glibcxx_cv_func_modf_use=no
51412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51413 ac_ext=c
51414 ac_cpp='$CPP $CPPFLAGS'
51415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
51424 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
51426 if test x$glibcxx_cv_func_modf_use = x"yes"; then
51427 for ac_func in modf
51428 do :
51429 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
51430 if test "x$ac_cv_func_modf" = xyes; then :
51431 cat >>confdefs.h <<_ACEOF
51432 #define HAVE_MODF 1
51433 _ACEOF
51436 done
51438 else
51440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
51441 $as_echo_n "checking for _modf declaration... " >&6; }
51442 if test x${glibcxx_cv_func__modf_use+set} != xset; then
51443 if ${glibcxx_cv_func__modf_use+:} false; then :
51444 $as_echo_n "(cached) " >&6
51445 else
51448 ac_ext=cpp
51449 ac_cpp='$CXXCPP $CPPFLAGS'
51450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51455 /* end confdefs.h. */
51456 #include <math.h>
51458 main ()
51460 _modf(0, 0);
51462 return 0;
51464 _ACEOF
51465 if ac_fn_cxx_try_compile "$LINENO"; then :
51466 glibcxx_cv_func__modf_use=yes
51467 else
51468 glibcxx_cv_func__modf_use=no
51470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51471 ac_ext=c
51472 ac_cpp='$CPP $CPPFLAGS'
51473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
51482 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
51484 if test x$glibcxx_cv_func__modf_use = x"yes"; then
51485 for ac_func in _modf
51486 do :
51487 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
51488 if test "x$ac_cv_func__modf" = xyes; then :
51489 cat >>confdefs.h <<_ACEOF
51490 #define HAVE__MODF 1
51491 _ACEOF
51494 done
51503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
51504 $as_echo_n "checking for powf declaration... " >&6; }
51505 if test x${glibcxx_cv_func_powf_use+set} != xset; then
51506 if ${glibcxx_cv_func_powf_use+:} false; then :
51507 $as_echo_n "(cached) " >&6
51508 else
51511 ac_ext=cpp
51512 ac_cpp='$CXXCPP $CPPFLAGS'
51513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51518 /* end confdefs.h. */
51519 #include <math.h>
51521 main ()
51523 powf(0, 0);
51525 return 0;
51527 _ACEOF
51528 if ac_fn_cxx_try_compile "$LINENO"; then :
51529 glibcxx_cv_func_powf_use=yes
51530 else
51531 glibcxx_cv_func_powf_use=no
51533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51534 ac_ext=c
51535 ac_cpp='$CPP $CPPFLAGS'
51536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
51545 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
51547 if test x$glibcxx_cv_func_powf_use = x"yes"; then
51548 for ac_func in powf
51549 do :
51550 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
51551 if test "x$ac_cv_func_powf" = xyes; then :
51552 cat >>confdefs.h <<_ACEOF
51553 #define HAVE_POWF 1
51554 _ACEOF
51557 done
51559 else
51561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
51562 $as_echo_n "checking for _powf declaration... " >&6; }
51563 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51564 if ${glibcxx_cv_func__powf_use+:} false; then :
51565 $as_echo_n "(cached) " >&6
51566 else
51569 ac_ext=cpp
51570 ac_cpp='$CXXCPP $CPPFLAGS'
51571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51576 /* end confdefs.h. */
51577 #include <math.h>
51579 main ()
51581 _powf(0, 0);
51583 return 0;
51585 _ACEOF
51586 if ac_fn_cxx_try_compile "$LINENO"; then :
51587 glibcxx_cv_func__powf_use=yes
51588 else
51589 glibcxx_cv_func__powf_use=no
51591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51592 ac_ext=c
51593 ac_cpp='$CPP $CPPFLAGS'
51594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
51603 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
51605 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51606 for ac_func in _powf
51607 do :
51608 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
51609 if test "x$ac_cv_func__powf" = xyes; then :
51610 cat >>confdefs.h <<_ACEOF
51611 #define HAVE__POWF 1
51612 _ACEOF
51615 done
51624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
51625 $as_echo_n "checking for sqrtf declaration... " >&6; }
51626 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51627 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
51628 $as_echo_n "(cached) " >&6
51629 else
51632 ac_ext=cpp
51633 ac_cpp='$CXXCPP $CPPFLAGS'
51634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51639 /* end confdefs.h. */
51640 #include <math.h>
51641 #ifdef HAVE_IEEEFP_H
51642 #include <ieeefp.h>
51643 #endif
51646 main ()
51648 sqrtf(0);
51650 return 0;
51652 _ACEOF
51653 if ac_fn_cxx_try_compile "$LINENO"; then :
51654 glibcxx_cv_func_sqrtf_use=yes
51655 else
51656 glibcxx_cv_func_sqrtf_use=no
51658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51659 ac_ext=c
51660 ac_cpp='$CPP $CPPFLAGS'
51661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
51670 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
51672 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51673 for ac_func in sqrtf
51674 do :
51675 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
51676 if test "x$ac_cv_func_sqrtf" = xyes; then :
51677 cat >>confdefs.h <<_ACEOF
51678 #define HAVE_SQRTF 1
51679 _ACEOF
51682 done
51684 else
51686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51687 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51688 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51689 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51690 $as_echo_n "(cached) " >&6
51691 else
51694 ac_ext=cpp
51695 ac_cpp='$CXXCPP $CPPFLAGS'
51696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51701 /* end confdefs.h. */
51702 #include <math.h>
51703 #ifdef HAVE_IEEEFP_H
51704 #include <ieeefp.h>
51705 #endif
51708 main ()
51710 _sqrtf(0);
51712 return 0;
51714 _ACEOF
51715 if ac_fn_cxx_try_compile "$LINENO"; then :
51716 glibcxx_cv_func__sqrtf_use=yes
51717 else
51718 glibcxx_cv_func__sqrtf_use=no
51720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51721 ac_ext=c
51722 ac_cpp='$CPP $CPPFLAGS'
51723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51732 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51734 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51735 for ac_func in _sqrtf
51736 do :
51737 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51738 if test "x$ac_cv_func__sqrtf" = xyes; then :
51739 cat >>confdefs.h <<_ACEOF
51740 #define HAVE__SQRTF 1
51741 _ACEOF
51744 done
51753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51754 $as_echo_n "checking for sincosf declaration... " >&6; }
51755 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51756 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51757 $as_echo_n "(cached) " >&6
51758 else
51761 ac_ext=cpp
51762 ac_cpp='$CXXCPP $CPPFLAGS'
51763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51768 /* end confdefs.h. */
51769 #include <math.h>
51771 main ()
51773 sincosf(0, 0, 0);
51775 return 0;
51777 _ACEOF
51778 if ac_fn_cxx_try_compile "$LINENO"; then :
51779 glibcxx_cv_func_sincosf_use=yes
51780 else
51781 glibcxx_cv_func_sincosf_use=no
51783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51784 ac_ext=c
51785 ac_cpp='$CPP $CPPFLAGS'
51786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51795 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51797 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51798 for ac_func in sincosf
51799 do :
51800 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51801 if test "x$ac_cv_func_sincosf" = xyes; then :
51802 cat >>confdefs.h <<_ACEOF
51803 #define HAVE_SINCOSF 1
51804 _ACEOF
51807 done
51809 else
51811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51812 $as_echo_n "checking for _sincosf declaration... " >&6; }
51813 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51814 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51815 $as_echo_n "(cached) " >&6
51816 else
51819 ac_ext=cpp
51820 ac_cpp='$CXXCPP $CPPFLAGS'
51821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51826 /* end confdefs.h. */
51827 #include <math.h>
51829 main ()
51831 _sincosf(0, 0, 0);
51833 return 0;
51835 _ACEOF
51836 if ac_fn_cxx_try_compile "$LINENO"; then :
51837 glibcxx_cv_func__sincosf_use=yes
51838 else
51839 glibcxx_cv_func__sincosf_use=no
51841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51842 ac_ext=c
51843 ac_cpp='$CPP $CPPFLAGS'
51844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51853 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51855 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51856 for ac_func in _sincosf
51857 do :
51858 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51859 if test "x$ac_cv_func__sincosf" = xyes; then :
51860 cat >>confdefs.h <<_ACEOF
51861 #define HAVE__SINCOSF 1
51862 _ACEOF
51865 done
51874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51875 $as_echo_n "checking for finitef declaration... " >&6; }
51876 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51877 if ${glibcxx_cv_func_finitef_use+:} false; then :
51878 $as_echo_n "(cached) " >&6
51879 else
51882 ac_ext=cpp
51883 ac_cpp='$CXXCPP $CPPFLAGS'
51884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51889 /* end confdefs.h. */
51890 #include <math.h>
51891 #ifdef HAVE_IEEEFP_H
51892 #include <ieeefp.h>
51893 #endif
51896 main ()
51898 finitef(0);
51900 return 0;
51902 _ACEOF
51903 if ac_fn_cxx_try_compile "$LINENO"; then :
51904 glibcxx_cv_func_finitef_use=yes
51905 else
51906 glibcxx_cv_func_finitef_use=no
51908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51909 ac_ext=c
51910 ac_cpp='$CPP $CPPFLAGS'
51911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51920 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51922 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51923 for ac_func in finitef
51924 do :
51925 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51926 if test "x$ac_cv_func_finitef" = xyes; then :
51927 cat >>confdefs.h <<_ACEOF
51928 #define HAVE_FINITEF 1
51929 _ACEOF
51932 done
51934 else
51936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51937 $as_echo_n "checking for _finitef declaration... " >&6; }
51938 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51939 if ${glibcxx_cv_func__finitef_use+:} false; then :
51940 $as_echo_n "(cached) " >&6
51941 else
51944 ac_ext=cpp
51945 ac_cpp='$CXXCPP $CPPFLAGS'
51946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51951 /* end confdefs.h. */
51952 #include <math.h>
51953 #ifdef HAVE_IEEEFP_H
51954 #include <ieeefp.h>
51955 #endif
51958 main ()
51960 _finitef(0);
51962 return 0;
51964 _ACEOF
51965 if ac_fn_cxx_try_compile "$LINENO"; then :
51966 glibcxx_cv_func__finitef_use=yes
51967 else
51968 glibcxx_cv_func__finitef_use=no
51970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51971 ac_ext=c
51972 ac_cpp='$CPP $CPPFLAGS'
51973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51982 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51984 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51985 for ac_func in _finitef
51986 do :
51987 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51988 if test "x$ac_cv_func__finitef" = xyes; then :
51989 cat >>confdefs.h <<_ACEOF
51990 #define HAVE__FINITEF 1
51991 _ACEOF
51994 done
52003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
52004 $as_echo_n "checking for long double trig functions... " >&6; }
52005 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
52006 $as_echo_n "(cached) " >&6
52007 else
52010 ac_ext=cpp
52011 ac_cpp='$CXXCPP $CPPFLAGS'
52012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52017 /* end confdefs.h. */
52018 #include <math.h>
52020 main ()
52022 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52024 return 0;
52026 _ACEOF
52027 if ac_fn_cxx_try_compile "$LINENO"; then :
52028 glibcxx_cv_func_long_double_trig_use=yes
52029 else
52030 glibcxx_cv_func_long_double_trig_use=no
52032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52033 ac_ext=c
52034 ac_cpp='$CPP $CPPFLAGS'
52035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
52042 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
52043 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52044 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52045 do :
52046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52048 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52049 cat >>confdefs.h <<_ACEOF
52050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52051 _ACEOF
52054 done
52056 else
52057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
52058 $as_echo_n "checking for _long double trig functions... " >&6; }
52059 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
52060 $as_echo_n "(cached) " >&6
52061 else
52064 ac_ext=cpp
52065 ac_cpp='$CXXCPP $CPPFLAGS'
52066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52071 /* end confdefs.h. */
52072 #include <math.h>
52074 main ()
52076 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52078 return 0;
52080 _ACEOF
52081 if ac_fn_cxx_try_compile "$LINENO"; then :
52082 glibcxx_cv_func__long_double_trig_use=yes
52083 else
52084 glibcxx_cv_func__long_double_trig_use=no
52086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52087 ac_ext=c
52088 ac_cpp='$CPP $CPPFLAGS'
52089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
52096 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
52097 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52098 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52099 do :
52100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52102 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52103 cat >>confdefs.h <<_ACEOF
52104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52105 _ACEOF
52108 done
52117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
52118 $as_echo_n "checking for long double round functions... " >&6; }
52119 if ${glibcxx_cv_func_long_double_round_use+:} false; 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>
52134 main ()
52136 ceill (0); floorl (0);
52138 return 0;
52140 _ACEOF
52141 if ac_fn_cxx_try_compile "$LINENO"; then :
52142 glibcxx_cv_func_long_double_round_use=yes
52143 else
52144 glibcxx_cv_func_long_double_round_use=no
52146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52147 ac_ext=c
52148 ac_cpp='$CPP $CPPFLAGS'
52149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
52156 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
52157 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52158 for ac_func in ceill floorl
52159 do :
52160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52162 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52163 cat >>confdefs.h <<_ACEOF
52164 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52165 _ACEOF
52168 done
52170 else
52171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
52172 $as_echo_n "checking for _long double round functions... " >&6; }
52173 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
52174 $as_echo_n "(cached) " >&6
52175 else
52178 ac_ext=cpp
52179 ac_cpp='$CXXCPP $CPPFLAGS'
52180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52185 /* end confdefs.h. */
52186 #include <math.h>
52188 main ()
52190 _ceill (0); _floorl (0);
52192 return 0;
52194 _ACEOF
52195 if ac_fn_cxx_try_compile "$LINENO"; then :
52196 glibcxx_cv_func__long_double_round_use=yes
52197 else
52198 glibcxx_cv_func__long_double_round_use=no
52200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52201 ac_ext=c
52202 ac_cpp='$CPP $CPPFLAGS'
52203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
52210 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
52211 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
52212 for ac_func in _ceill _floorl
52213 do :
52214 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52215 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52216 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
52217 cat >>confdefs.h <<_ACEOF
52218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52219 _ACEOF
52222 done
52232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
52233 $as_echo_n "checking for isnanl declaration... " >&6; }
52234 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
52235 if ${glibcxx_cv_func_isnanl_use+:} false; then :
52236 $as_echo_n "(cached) " >&6
52237 else
52240 ac_ext=cpp
52241 ac_cpp='$CXXCPP $CPPFLAGS'
52242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52247 /* end confdefs.h. */
52248 #include <math.h>
52249 #ifdef HAVE_IEEEFP_H
52250 #include <ieeefp.h>
52251 #endif
52254 main ()
52256 isnanl(0);
52258 return 0;
52260 _ACEOF
52261 if ac_fn_cxx_try_compile "$LINENO"; then :
52262 glibcxx_cv_func_isnanl_use=yes
52263 else
52264 glibcxx_cv_func_isnanl_use=no
52266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52267 ac_ext=c
52268 ac_cpp='$CPP $CPPFLAGS'
52269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
52278 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
52280 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
52281 for ac_func in isnanl
52282 do :
52283 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
52284 if test "x$ac_cv_func_isnanl" = xyes; then :
52285 cat >>confdefs.h <<_ACEOF
52286 #define HAVE_ISNANL 1
52287 _ACEOF
52290 done
52292 else
52294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
52295 $as_echo_n "checking for _isnanl declaration... " >&6; }
52296 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
52297 if ${glibcxx_cv_func__isnanl_use+:} false; then :
52298 $as_echo_n "(cached) " >&6
52299 else
52302 ac_ext=cpp
52303 ac_cpp='$CXXCPP $CPPFLAGS'
52304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52309 /* end confdefs.h. */
52310 #include <math.h>
52311 #ifdef HAVE_IEEEFP_H
52312 #include <ieeefp.h>
52313 #endif
52316 main ()
52318 _isnanl(0);
52320 return 0;
52322 _ACEOF
52323 if ac_fn_cxx_try_compile "$LINENO"; then :
52324 glibcxx_cv_func__isnanl_use=yes
52325 else
52326 glibcxx_cv_func__isnanl_use=no
52328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52329 ac_ext=c
52330 ac_cpp='$CPP $CPPFLAGS'
52331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
52340 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
52342 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
52343 for ac_func in _isnanl
52344 do :
52345 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
52346 if test "x$ac_cv_func__isnanl" = xyes; then :
52347 cat >>confdefs.h <<_ACEOF
52348 #define HAVE__ISNANL 1
52349 _ACEOF
52352 done
52361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
52362 $as_echo_n "checking for isinfl declaration... " >&6; }
52363 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
52364 if ${glibcxx_cv_func_isinfl_use+:} false; then :
52365 $as_echo_n "(cached) " >&6
52366 else
52369 ac_ext=cpp
52370 ac_cpp='$CXXCPP $CPPFLAGS'
52371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52376 /* end confdefs.h. */
52377 #include <math.h>
52378 #ifdef HAVE_IEEEFP_H
52379 #include <ieeefp.h>
52380 #endif
52383 main ()
52385 isinfl(0);
52387 return 0;
52389 _ACEOF
52390 if ac_fn_cxx_try_compile "$LINENO"; then :
52391 glibcxx_cv_func_isinfl_use=yes
52392 else
52393 glibcxx_cv_func_isinfl_use=no
52395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52396 ac_ext=c
52397 ac_cpp='$CPP $CPPFLAGS'
52398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
52407 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
52409 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
52410 for ac_func in isinfl
52411 do :
52412 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
52413 if test "x$ac_cv_func_isinfl" = xyes; then :
52414 cat >>confdefs.h <<_ACEOF
52415 #define HAVE_ISINFL 1
52416 _ACEOF
52419 done
52421 else
52423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
52424 $as_echo_n "checking for _isinfl declaration... " >&6; }
52425 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
52426 if ${glibcxx_cv_func__isinfl_use+:} false; then :
52427 $as_echo_n "(cached) " >&6
52428 else
52431 ac_ext=cpp
52432 ac_cpp='$CXXCPP $CPPFLAGS'
52433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52438 /* end confdefs.h. */
52439 #include <math.h>
52440 #ifdef HAVE_IEEEFP_H
52441 #include <ieeefp.h>
52442 #endif
52445 main ()
52447 _isinfl(0);
52449 return 0;
52451 _ACEOF
52452 if ac_fn_cxx_try_compile "$LINENO"; then :
52453 glibcxx_cv_func__isinfl_use=yes
52454 else
52455 glibcxx_cv_func__isinfl_use=no
52457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52458 ac_ext=c
52459 ac_cpp='$CPP $CPPFLAGS'
52460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
52469 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
52471 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
52472 for ac_func in _isinfl
52473 do :
52474 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
52475 if test "x$ac_cv_func__isinfl" = xyes; then :
52476 cat >>confdefs.h <<_ACEOF
52477 #define HAVE__ISINFL 1
52478 _ACEOF
52481 done
52490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
52491 $as_echo_n "checking for atan2l declaration... " >&6; }
52492 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
52493 if ${glibcxx_cv_func_atan2l_use+:} false; then :
52494 $as_echo_n "(cached) " >&6
52495 else
52498 ac_ext=cpp
52499 ac_cpp='$CXXCPP $CPPFLAGS'
52500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52505 /* end confdefs.h. */
52506 #include <math.h>
52508 main ()
52510 atan2l(0, 0);
52512 return 0;
52514 _ACEOF
52515 if ac_fn_cxx_try_compile "$LINENO"; then :
52516 glibcxx_cv_func_atan2l_use=yes
52517 else
52518 glibcxx_cv_func_atan2l_use=no
52520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52521 ac_ext=c
52522 ac_cpp='$CPP $CPPFLAGS'
52523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
52532 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
52534 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
52535 for ac_func in atan2l
52536 do :
52537 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
52538 if test "x$ac_cv_func_atan2l" = xyes; then :
52539 cat >>confdefs.h <<_ACEOF
52540 #define HAVE_ATAN2L 1
52541 _ACEOF
52544 done
52546 else
52548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
52549 $as_echo_n "checking for _atan2l declaration... " >&6; }
52550 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
52551 if ${glibcxx_cv_func__atan2l_use+:} false; then :
52552 $as_echo_n "(cached) " >&6
52553 else
52556 ac_ext=cpp
52557 ac_cpp='$CXXCPP $CPPFLAGS'
52558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52563 /* end confdefs.h. */
52564 #include <math.h>
52566 main ()
52568 _atan2l(0, 0);
52570 return 0;
52572 _ACEOF
52573 if ac_fn_cxx_try_compile "$LINENO"; then :
52574 glibcxx_cv_func__atan2l_use=yes
52575 else
52576 glibcxx_cv_func__atan2l_use=no
52578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52579 ac_ext=c
52580 ac_cpp='$CPP $CPPFLAGS'
52581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
52590 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
52592 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
52593 for ac_func in _atan2l
52594 do :
52595 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
52596 if test "x$ac_cv_func__atan2l" = xyes; then :
52597 cat >>confdefs.h <<_ACEOF
52598 #define HAVE__ATAN2L 1
52599 _ACEOF
52602 done
52611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
52612 $as_echo_n "checking for expl declaration... " >&6; }
52613 if test x${glibcxx_cv_func_expl_use+set} != xset; then
52614 if ${glibcxx_cv_func_expl_use+:} false; then :
52615 $as_echo_n "(cached) " >&6
52616 else
52619 ac_ext=cpp
52620 ac_cpp='$CXXCPP $CPPFLAGS'
52621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52626 /* end confdefs.h. */
52627 #include <math.h>
52628 #ifdef HAVE_IEEEFP_H
52629 #include <ieeefp.h>
52630 #endif
52633 main ()
52635 expl(0);
52637 return 0;
52639 _ACEOF
52640 if ac_fn_cxx_try_compile "$LINENO"; then :
52641 glibcxx_cv_func_expl_use=yes
52642 else
52643 glibcxx_cv_func_expl_use=no
52645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52646 ac_ext=c
52647 ac_cpp='$CPP $CPPFLAGS'
52648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
52657 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
52659 if test x$glibcxx_cv_func_expl_use = x"yes"; then
52660 for ac_func in expl
52661 do :
52662 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
52663 if test "x$ac_cv_func_expl" = xyes; then :
52664 cat >>confdefs.h <<_ACEOF
52665 #define HAVE_EXPL 1
52666 _ACEOF
52669 done
52671 else
52673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
52674 $as_echo_n "checking for _expl declaration... " >&6; }
52675 if test x${glibcxx_cv_func__expl_use+set} != xset; then
52676 if ${glibcxx_cv_func__expl_use+:} false; then :
52677 $as_echo_n "(cached) " >&6
52678 else
52681 ac_ext=cpp
52682 ac_cpp='$CXXCPP $CPPFLAGS'
52683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52688 /* end confdefs.h. */
52689 #include <math.h>
52690 #ifdef HAVE_IEEEFP_H
52691 #include <ieeefp.h>
52692 #endif
52695 main ()
52697 _expl(0);
52699 return 0;
52701 _ACEOF
52702 if ac_fn_cxx_try_compile "$LINENO"; then :
52703 glibcxx_cv_func__expl_use=yes
52704 else
52705 glibcxx_cv_func__expl_use=no
52707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52708 ac_ext=c
52709 ac_cpp='$CPP $CPPFLAGS'
52710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52719 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52721 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52722 for ac_func in _expl
52723 do :
52724 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52725 if test "x$ac_cv_func__expl" = xyes; then :
52726 cat >>confdefs.h <<_ACEOF
52727 #define HAVE__EXPL 1
52728 _ACEOF
52731 done
52740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52741 $as_echo_n "checking for fabsl declaration... " >&6; }
52742 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52743 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52744 $as_echo_n "(cached) " >&6
52745 else
52748 ac_ext=cpp
52749 ac_cpp='$CXXCPP $CPPFLAGS'
52750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52755 /* end confdefs.h. */
52756 #include <math.h>
52757 #ifdef HAVE_IEEEFP_H
52758 #include <ieeefp.h>
52759 #endif
52762 main ()
52764 fabsl(0);
52766 return 0;
52768 _ACEOF
52769 if ac_fn_cxx_try_compile "$LINENO"; then :
52770 glibcxx_cv_func_fabsl_use=yes
52771 else
52772 glibcxx_cv_func_fabsl_use=no
52774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52775 ac_ext=c
52776 ac_cpp='$CPP $CPPFLAGS'
52777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52786 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52788 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52789 for ac_func in fabsl
52790 do :
52791 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52792 if test "x$ac_cv_func_fabsl" = xyes; then :
52793 cat >>confdefs.h <<_ACEOF
52794 #define HAVE_FABSL 1
52795 _ACEOF
52798 done
52800 else
52802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52803 $as_echo_n "checking for _fabsl declaration... " >&6; }
52804 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52805 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52806 $as_echo_n "(cached) " >&6
52807 else
52810 ac_ext=cpp
52811 ac_cpp='$CXXCPP $CPPFLAGS'
52812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52817 /* end confdefs.h. */
52818 #include <math.h>
52819 #ifdef HAVE_IEEEFP_H
52820 #include <ieeefp.h>
52821 #endif
52824 main ()
52826 _fabsl(0);
52828 return 0;
52830 _ACEOF
52831 if ac_fn_cxx_try_compile "$LINENO"; then :
52832 glibcxx_cv_func__fabsl_use=yes
52833 else
52834 glibcxx_cv_func__fabsl_use=no
52836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52837 ac_ext=c
52838 ac_cpp='$CPP $CPPFLAGS'
52839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52848 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52850 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52851 for ac_func in _fabsl
52852 do :
52853 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52854 if test "x$ac_cv_func__fabsl" = xyes; then :
52855 cat >>confdefs.h <<_ACEOF
52856 #define HAVE__FABSL 1
52857 _ACEOF
52860 done
52869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52870 $as_echo_n "checking for fmodl declaration... " >&6; }
52871 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52872 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52873 $as_echo_n "(cached) " >&6
52874 else
52877 ac_ext=cpp
52878 ac_cpp='$CXXCPP $CPPFLAGS'
52879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52884 /* end confdefs.h. */
52885 #include <math.h>
52887 main ()
52889 fmodl(0, 0);
52891 return 0;
52893 _ACEOF
52894 if ac_fn_cxx_try_compile "$LINENO"; then :
52895 glibcxx_cv_func_fmodl_use=yes
52896 else
52897 glibcxx_cv_func_fmodl_use=no
52899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52900 ac_ext=c
52901 ac_cpp='$CPP $CPPFLAGS'
52902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52911 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52913 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52914 for ac_func in fmodl
52915 do :
52916 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52917 if test "x$ac_cv_func_fmodl" = xyes; then :
52918 cat >>confdefs.h <<_ACEOF
52919 #define HAVE_FMODL 1
52920 _ACEOF
52923 done
52925 else
52927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52928 $as_echo_n "checking for _fmodl declaration... " >&6; }
52929 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52930 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52931 $as_echo_n "(cached) " >&6
52932 else
52935 ac_ext=cpp
52936 ac_cpp='$CXXCPP $CPPFLAGS'
52937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52942 /* end confdefs.h. */
52943 #include <math.h>
52945 main ()
52947 _fmodl(0, 0);
52949 return 0;
52951 _ACEOF
52952 if ac_fn_cxx_try_compile "$LINENO"; then :
52953 glibcxx_cv_func__fmodl_use=yes
52954 else
52955 glibcxx_cv_func__fmodl_use=no
52957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52958 ac_ext=c
52959 ac_cpp='$CPP $CPPFLAGS'
52960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52969 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52971 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52972 for ac_func in _fmodl
52973 do :
52974 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52975 if test "x$ac_cv_func__fmodl" = xyes; then :
52976 cat >>confdefs.h <<_ACEOF
52977 #define HAVE__FMODL 1
52978 _ACEOF
52981 done
52990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52991 $as_echo_n "checking for frexpl declaration... " >&6; }
52992 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52993 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52994 $as_echo_n "(cached) " >&6
52995 else
52998 ac_ext=cpp
52999 ac_cpp='$CXXCPP $CPPFLAGS'
53000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53005 /* end confdefs.h. */
53006 #include <math.h>
53008 main ()
53010 frexpl(0, 0);
53012 return 0;
53014 _ACEOF
53015 if ac_fn_cxx_try_compile "$LINENO"; then :
53016 glibcxx_cv_func_frexpl_use=yes
53017 else
53018 glibcxx_cv_func_frexpl_use=no
53020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53021 ac_ext=c
53022 ac_cpp='$CPP $CPPFLAGS'
53023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
53032 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
53034 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
53035 for ac_func in frexpl
53036 do :
53037 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
53038 if test "x$ac_cv_func_frexpl" = xyes; then :
53039 cat >>confdefs.h <<_ACEOF
53040 #define HAVE_FREXPL 1
53041 _ACEOF
53044 done
53046 else
53048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
53049 $as_echo_n "checking for _frexpl declaration... " >&6; }
53050 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
53051 if ${glibcxx_cv_func__frexpl_use+:} false; then :
53052 $as_echo_n "(cached) " >&6
53053 else
53056 ac_ext=cpp
53057 ac_cpp='$CXXCPP $CPPFLAGS'
53058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53063 /* end confdefs.h. */
53064 #include <math.h>
53066 main ()
53068 _frexpl(0, 0);
53070 return 0;
53072 _ACEOF
53073 if ac_fn_cxx_try_compile "$LINENO"; then :
53074 glibcxx_cv_func__frexpl_use=yes
53075 else
53076 glibcxx_cv_func__frexpl_use=no
53078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53079 ac_ext=c
53080 ac_cpp='$CPP $CPPFLAGS'
53081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
53090 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
53092 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
53093 for ac_func in _frexpl
53094 do :
53095 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
53096 if test "x$ac_cv_func__frexpl" = xyes; then :
53097 cat >>confdefs.h <<_ACEOF
53098 #define HAVE__FREXPL 1
53099 _ACEOF
53102 done
53111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
53112 $as_echo_n "checking for hypotl declaration... " >&6; }
53113 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
53114 if ${glibcxx_cv_func_hypotl_use+:} false; then :
53115 $as_echo_n "(cached) " >&6
53116 else
53119 ac_ext=cpp
53120 ac_cpp='$CXXCPP $CPPFLAGS'
53121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53126 /* end confdefs.h. */
53127 #include <math.h>
53129 main ()
53131 hypotl(0, 0);
53133 return 0;
53135 _ACEOF
53136 if ac_fn_cxx_try_compile "$LINENO"; then :
53137 glibcxx_cv_func_hypotl_use=yes
53138 else
53139 glibcxx_cv_func_hypotl_use=no
53141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53142 ac_ext=c
53143 ac_cpp='$CPP $CPPFLAGS'
53144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
53153 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
53155 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
53156 for ac_func in hypotl
53157 do :
53158 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
53159 if test "x$ac_cv_func_hypotl" = xyes; then :
53160 cat >>confdefs.h <<_ACEOF
53161 #define HAVE_HYPOTL 1
53162 _ACEOF
53165 done
53167 else
53169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
53170 $as_echo_n "checking for _hypotl declaration... " >&6; }
53171 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
53172 if ${glibcxx_cv_func__hypotl_use+:} false; then :
53173 $as_echo_n "(cached) " >&6
53174 else
53177 ac_ext=cpp
53178 ac_cpp='$CXXCPP $CPPFLAGS'
53179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53184 /* end confdefs.h. */
53185 #include <math.h>
53187 main ()
53189 _hypotl(0, 0);
53191 return 0;
53193 _ACEOF
53194 if ac_fn_cxx_try_compile "$LINENO"; then :
53195 glibcxx_cv_func__hypotl_use=yes
53196 else
53197 glibcxx_cv_func__hypotl_use=no
53199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53200 ac_ext=c
53201 ac_cpp='$CPP $CPPFLAGS'
53202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
53211 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
53213 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
53214 for ac_func in _hypotl
53215 do :
53216 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
53217 if test "x$ac_cv_func__hypotl" = xyes; then :
53218 cat >>confdefs.h <<_ACEOF
53219 #define HAVE__HYPOTL 1
53220 _ACEOF
53223 done
53232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
53233 $as_echo_n "checking for ldexpl declaration... " >&6; }
53234 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
53235 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
53236 $as_echo_n "(cached) " >&6
53237 else
53240 ac_ext=cpp
53241 ac_cpp='$CXXCPP $CPPFLAGS'
53242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53247 /* end confdefs.h. */
53248 #include <math.h>
53250 main ()
53252 ldexpl(0, 0);
53254 return 0;
53256 _ACEOF
53257 if ac_fn_cxx_try_compile "$LINENO"; then :
53258 glibcxx_cv_func_ldexpl_use=yes
53259 else
53260 glibcxx_cv_func_ldexpl_use=no
53262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53263 ac_ext=c
53264 ac_cpp='$CPP $CPPFLAGS'
53265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
53274 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
53276 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
53277 for ac_func in ldexpl
53278 do :
53279 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
53280 if test "x$ac_cv_func_ldexpl" = xyes; then :
53281 cat >>confdefs.h <<_ACEOF
53282 #define HAVE_LDEXPL 1
53283 _ACEOF
53286 done
53288 else
53290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
53291 $as_echo_n "checking for _ldexpl declaration... " >&6; }
53292 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
53293 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
53294 $as_echo_n "(cached) " >&6
53295 else
53298 ac_ext=cpp
53299 ac_cpp='$CXXCPP $CPPFLAGS'
53300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53305 /* end confdefs.h. */
53306 #include <math.h>
53308 main ()
53310 _ldexpl(0, 0);
53312 return 0;
53314 _ACEOF
53315 if ac_fn_cxx_try_compile "$LINENO"; then :
53316 glibcxx_cv_func__ldexpl_use=yes
53317 else
53318 glibcxx_cv_func__ldexpl_use=no
53320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53321 ac_ext=c
53322 ac_cpp='$CPP $CPPFLAGS'
53323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
53332 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
53334 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
53335 for ac_func in _ldexpl
53336 do :
53337 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
53338 if test "x$ac_cv_func__ldexpl" = xyes; then :
53339 cat >>confdefs.h <<_ACEOF
53340 #define HAVE__LDEXPL 1
53341 _ACEOF
53344 done
53353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
53354 $as_echo_n "checking for logl declaration... " >&6; }
53355 if test x${glibcxx_cv_func_logl_use+set} != xset; then
53356 if ${glibcxx_cv_func_logl_use+:} false; then :
53357 $as_echo_n "(cached) " >&6
53358 else
53361 ac_ext=cpp
53362 ac_cpp='$CXXCPP $CPPFLAGS'
53363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53368 /* end confdefs.h. */
53369 #include <math.h>
53370 #ifdef HAVE_IEEEFP_H
53371 #include <ieeefp.h>
53372 #endif
53375 main ()
53377 logl(0);
53379 return 0;
53381 _ACEOF
53382 if ac_fn_cxx_try_compile "$LINENO"; then :
53383 glibcxx_cv_func_logl_use=yes
53384 else
53385 glibcxx_cv_func_logl_use=no
53387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53388 ac_ext=c
53389 ac_cpp='$CPP $CPPFLAGS'
53390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
53399 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
53401 if test x$glibcxx_cv_func_logl_use = x"yes"; then
53402 for ac_func in logl
53403 do :
53404 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
53405 if test "x$ac_cv_func_logl" = xyes; then :
53406 cat >>confdefs.h <<_ACEOF
53407 #define HAVE_LOGL 1
53408 _ACEOF
53411 done
53413 else
53415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
53416 $as_echo_n "checking for _logl declaration... " >&6; }
53417 if test x${glibcxx_cv_func__logl_use+set} != xset; then
53418 if ${glibcxx_cv_func__logl_use+:} false; then :
53419 $as_echo_n "(cached) " >&6
53420 else
53423 ac_ext=cpp
53424 ac_cpp='$CXXCPP $CPPFLAGS'
53425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53430 /* end confdefs.h. */
53431 #include <math.h>
53432 #ifdef HAVE_IEEEFP_H
53433 #include <ieeefp.h>
53434 #endif
53437 main ()
53439 _logl(0);
53441 return 0;
53443 _ACEOF
53444 if ac_fn_cxx_try_compile "$LINENO"; then :
53445 glibcxx_cv_func__logl_use=yes
53446 else
53447 glibcxx_cv_func__logl_use=no
53449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53450 ac_ext=c
53451 ac_cpp='$CPP $CPPFLAGS'
53452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
53461 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
53463 if test x$glibcxx_cv_func__logl_use = x"yes"; then
53464 for ac_func in _logl
53465 do :
53466 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
53467 if test "x$ac_cv_func__logl" = xyes; then :
53468 cat >>confdefs.h <<_ACEOF
53469 #define HAVE__LOGL 1
53470 _ACEOF
53473 done
53482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
53483 $as_echo_n "checking for log10l declaration... " >&6; }
53484 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
53485 if ${glibcxx_cv_func_log10l_use+:} false; then :
53486 $as_echo_n "(cached) " >&6
53487 else
53490 ac_ext=cpp
53491 ac_cpp='$CXXCPP $CPPFLAGS'
53492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53497 /* end confdefs.h. */
53498 #include <math.h>
53499 #ifdef HAVE_IEEEFP_H
53500 #include <ieeefp.h>
53501 #endif
53504 main ()
53506 log10l(0);
53508 return 0;
53510 _ACEOF
53511 if ac_fn_cxx_try_compile "$LINENO"; then :
53512 glibcxx_cv_func_log10l_use=yes
53513 else
53514 glibcxx_cv_func_log10l_use=no
53516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53517 ac_ext=c
53518 ac_cpp='$CPP $CPPFLAGS'
53519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
53528 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
53530 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
53531 for ac_func in log10l
53532 do :
53533 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
53534 if test "x$ac_cv_func_log10l" = xyes; then :
53535 cat >>confdefs.h <<_ACEOF
53536 #define HAVE_LOG10L 1
53537 _ACEOF
53540 done
53542 else
53544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
53545 $as_echo_n "checking for _log10l declaration... " >&6; }
53546 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
53547 if ${glibcxx_cv_func__log10l_use+:} false; then :
53548 $as_echo_n "(cached) " >&6
53549 else
53552 ac_ext=cpp
53553 ac_cpp='$CXXCPP $CPPFLAGS'
53554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53559 /* end confdefs.h. */
53560 #include <math.h>
53561 #ifdef HAVE_IEEEFP_H
53562 #include <ieeefp.h>
53563 #endif
53566 main ()
53568 _log10l(0);
53570 return 0;
53572 _ACEOF
53573 if ac_fn_cxx_try_compile "$LINENO"; then :
53574 glibcxx_cv_func__log10l_use=yes
53575 else
53576 glibcxx_cv_func__log10l_use=no
53578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53579 ac_ext=c
53580 ac_cpp='$CPP $CPPFLAGS'
53581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
53590 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
53592 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
53593 for ac_func in _log10l
53594 do :
53595 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
53596 if test "x$ac_cv_func__log10l" = xyes; then :
53597 cat >>confdefs.h <<_ACEOF
53598 #define HAVE__LOG10L 1
53599 _ACEOF
53602 done
53611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
53612 $as_echo_n "checking for modfl declaration... " >&6; }
53613 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
53614 if ${glibcxx_cv_func_modfl_use+:} false; then :
53615 $as_echo_n "(cached) " >&6
53616 else
53619 ac_ext=cpp
53620 ac_cpp='$CXXCPP $CPPFLAGS'
53621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53626 /* end confdefs.h. */
53627 #include <math.h>
53629 main ()
53631 modfl(0, 0);
53633 return 0;
53635 _ACEOF
53636 if ac_fn_cxx_try_compile "$LINENO"; then :
53637 glibcxx_cv_func_modfl_use=yes
53638 else
53639 glibcxx_cv_func_modfl_use=no
53641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53642 ac_ext=c
53643 ac_cpp='$CPP $CPPFLAGS'
53644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
53653 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
53655 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
53656 for ac_func in modfl
53657 do :
53658 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
53659 if test "x$ac_cv_func_modfl" = xyes; then :
53660 cat >>confdefs.h <<_ACEOF
53661 #define HAVE_MODFL 1
53662 _ACEOF
53665 done
53667 else
53669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
53670 $as_echo_n "checking for _modfl declaration... " >&6; }
53671 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
53672 if ${glibcxx_cv_func__modfl_use+:} false; then :
53673 $as_echo_n "(cached) " >&6
53674 else
53677 ac_ext=cpp
53678 ac_cpp='$CXXCPP $CPPFLAGS'
53679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53684 /* end confdefs.h. */
53685 #include <math.h>
53687 main ()
53689 _modfl(0, 0);
53691 return 0;
53693 _ACEOF
53694 if ac_fn_cxx_try_compile "$LINENO"; then :
53695 glibcxx_cv_func__modfl_use=yes
53696 else
53697 glibcxx_cv_func__modfl_use=no
53699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53700 ac_ext=c
53701 ac_cpp='$CPP $CPPFLAGS'
53702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53711 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53713 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53714 for ac_func in _modfl
53715 do :
53716 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53717 if test "x$ac_cv_func__modfl" = xyes; then :
53718 cat >>confdefs.h <<_ACEOF
53719 #define HAVE__MODFL 1
53720 _ACEOF
53723 done
53732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53733 $as_echo_n "checking for powl declaration... " >&6; }
53734 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53735 if ${glibcxx_cv_func_powl_use+:} false; then :
53736 $as_echo_n "(cached) " >&6
53737 else
53740 ac_ext=cpp
53741 ac_cpp='$CXXCPP $CPPFLAGS'
53742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53747 /* end confdefs.h. */
53748 #include <math.h>
53750 main ()
53752 powl(0, 0);
53754 return 0;
53756 _ACEOF
53757 if ac_fn_cxx_try_compile "$LINENO"; then :
53758 glibcxx_cv_func_powl_use=yes
53759 else
53760 glibcxx_cv_func_powl_use=no
53762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53763 ac_ext=c
53764 ac_cpp='$CPP $CPPFLAGS'
53765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53774 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53776 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53777 for ac_func in powl
53778 do :
53779 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53780 if test "x$ac_cv_func_powl" = xyes; then :
53781 cat >>confdefs.h <<_ACEOF
53782 #define HAVE_POWL 1
53783 _ACEOF
53786 done
53788 else
53790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53791 $as_echo_n "checking for _powl declaration... " >&6; }
53792 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53793 if ${glibcxx_cv_func__powl_use+:} false; then :
53794 $as_echo_n "(cached) " >&6
53795 else
53798 ac_ext=cpp
53799 ac_cpp='$CXXCPP $CPPFLAGS'
53800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53805 /* end confdefs.h. */
53806 #include <math.h>
53808 main ()
53810 _powl(0, 0);
53812 return 0;
53814 _ACEOF
53815 if ac_fn_cxx_try_compile "$LINENO"; then :
53816 glibcxx_cv_func__powl_use=yes
53817 else
53818 glibcxx_cv_func__powl_use=no
53820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53821 ac_ext=c
53822 ac_cpp='$CPP $CPPFLAGS'
53823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53832 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53834 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53835 for ac_func in _powl
53836 do :
53837 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53838 if test "x$ac_cv_func__powl" = xyes; then :
53839 cat >>confdefs.h <<_ACEOF
53840 #define HAVE__POWL 1
53841 _ACEOF
53844 done
53853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53854 $as_echo_n "checking for sqrtl declaration... " >&6; }
53855 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53856 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53857 $as_echo_n "(cached) " >&6
53858 else
53861 ac_ext=cpp
53862 ac_cpp='$CXXCPP $CPPFLAGS'
53863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53868 /* end confdefs.h. */
53869 #include <math.h>
53870 #ifdef HAVE_IEEEFP_H
53871 #include <ieeefp.h>
53872 #endif
53875 main ()
53877 sqrtl(0);
53879 return 0;
53881 _ACEOF
53882 if ac_fn_cxx_try_compile "$LINENO"; then :
53883 glibcxx_cv_func_sqrtl_use=yes
53884 else
53885 glibcxx_cv_func_sqrtl_use=no
53887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53888 ac_ext=c
53889 ac_cpp='$CPP $CPPFLAGS'
53890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53899 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53901 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53902 for ac_func in sqrtl
53903 do :
53904 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53905 if test "x$ac_cv_func_sqrtl" = xyes; then :
53906 cat >>confdefs.h <<_ACEOF
53907 #define HAVE_SQRTL 1
53908 _ACEOF
53911 done
53913 else
53915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53916 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53917 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53918 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53919 $as_echo_n "(cached) " >&6
53920 else
53923 ac_ext=cpp
53924 ac_cpp='$CXXCPP $CPPFLAGS'
53925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53930 /* end confdefs.h. */
53931 #include <math.h>
53932 #ifdef HAVE_IEEEFP_H
53933 #include <ieeefp.h>
53934 #endif
53937 main ()
53939 _sqrtl(0);
53941 return 0;
53943 _ACEOF
53944 if ac_fn_cxx_try_compile "$LINENO"; then :
53945 glibcxx_cv_func__sqrtl_use=yes
53946 else
53947 glibcxx_cv_func__sqrtl_use=no
53949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53950 ac_ext=c
53951 ac_cpp='$CPP $CPPFLAGS'
53952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53961 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53963 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53964 for ac_func in _sqrtl
53965 do :
53966 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53967 if test "x$ac_cv_func__sqrtl" = xyes; then :
53968 cat >>confdefs.h <<_ACEOF
53969 #define HAVE__SQRTL 1
53970 _ACEOF
53973 done
53982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53983 $as_echo_n "checking for sincosl declaration... " >&6; }
53984 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53985 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53986 $as_echo_n "(cached) " >&6
53987 else
53990 ac_ext=cpp
53991 ac_cpp='$CXXCPP $CPPFLAGS'
53992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53997 /* end confdefs.h. */
53998 #include <math.h>
54000 main ()
54002 sincosl(0, 0, 0);
54004 return 0;
54006 _ACEOF
54007 if ac_fn_cxx_try_compile "$LINENO"; then :
54008 glibcxx_cv_func_sincosl_use=yes
54009 else
54010 glibcxx_cv_func_sincosl_use=no
54012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54013 ac_ext=c
54014 ac_cpp='$CPP $CPPFLAGS'
54015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
54024 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
54026 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
54027 for ac_func in sincosl
54028 do :
54029 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
54030 if test "x$ac_cv_func_sincosl" = xyes; then :
54031 cat >>confdefs.h <<_ACEOF
54032 #define HAVE_SINCOSL 1
54033 _ACEOF
54036 done
54038 else
54040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
54041 $as_echo_n "checking for _sincosl declaration... " >&6; }
54042 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
54043 if ${glibcxx_cv_func__sincosl_use+:} false; then :
54044 $as_echo_n "(cached) " >&6
54045 else
54048 ac_ext=cpp
54049 ac_cpp='$CXXCPP $CPPFLAGS'
54050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54055 /* end confdefs.h. */
54056 #include <math.h>
54058 main ()
54060 _sincosl(0, 0, 0);
54062 return 0;
54064 _ACEOF
54065 if ac_fn_cxx_try_compile "$LINENO"; then :
54066 glibcxx_cv_func__sincosl_use=yes
54067 else
54068 glibcxx_cv_func__sincosl_use=no
54070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54071 ac_ext=c
54072 ac_cpp='$CPP $CPPFLAGS'
54073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
54082 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
54084 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
54085 for ac_func in _sincosl
54086 do :
54087 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
54088 if test "x$ac_cv_func__sincosl" = xyes; then :
54089 cat >>confdefs.h <<_ACEOF
54090 #define HAVE__SINCOSL 1
54091 _ACEOF
54094 done
54103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
54104 $as_echo_n "checking for finitel declaration... " >&6; }
54105 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
54106 if ${glibcxx_cv_func_finitel_use+:} false; then :
54107 $as_echo_n "(cached) " >&6
54108 else
54111 ac_ext=cpp
54112 ac_cpp='$CXXCPP $CPPFLAGS'
54113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54118 /* end confdefs.h. */
54119 #include <math.h>
54120 #ifdef HAVE_IEEEFP_H
54121 #include <ieeefp.h>
54122 #endif
54125 main ()
54127 finitel(0);
54129 return 0;
54131 _ACEOF
54132 if ac_fn_cxx_try_compile "$LINENO"; then :
54133 glibcxx_cv_func_finitel_use=yes
54134 else
54135 glibcxx_cv_func_finitel_use=no
54137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54138 ac_ext=c
54139 ac_cpp='$CPP $CPPFLAGS'
54140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
54149 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
54151 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
54152 for ac_func in finitel
54153 do :
54154 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
54155 if test "x$ac_cv_func_finitel" = xyes; then :
54156 cat >>confdefs.h <<_ACEOF
54157 #define HAVE_FINITEL 1
54158 _ACEOF
54161 done
54163 else
54165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
54166 $as_echo_n "checking for _finitel declaration... " >&6; }
54167 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
54168 if ${glibcxx_cv_func__finitel_use+:} false; then :
54169 $as_echo_n "(cached) " >&6
54170 else
54173 ac_ext=cpp
54174 ac_cpp='$CXXCPP $CPPFLAGS'
54175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54180 /* end confdefs.h. */
54181 #include <math.h>
54182 #ifdef HAVE_IEEEFP_H
54183 #include <ieeefp.h>
54184 #endif
54187 main ()
54189 _finitel(0);
54191 return 0;
54193 _ACEOF
54194 if ac_fn_cxx_try_compile "$LINENO"; then :
54195 glibcxx_cv_func__finitel_use=yes
54196 else
54197 glibcxx_cv_func__finitel_use=no
54199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54200 ac_ext=c
54201 ac_cpp='$CPP $CPPFLAGS'
54202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
54211 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
54213 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
54214 for ac_func in _finitel
54215 do :
54216 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
54217 if test "x$ac_cv_func__finitel" = xyes; then :
54218 cat >>confdefs.h <<_ACEOF
54219 #define HAVE__FINITEL 1
54220 _ACEOF
54223 done
54231 LIBS="$ac_save_LIBS"
54232 CXXFLAGS="$ac_save_CXXFLAGS"
54235 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54236 ac_save_CXXFLAGS="$CXXFLAGS"
54237 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
54241 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
54242 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
54243 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
54244 $as_echo_n "(cached) " >&6
54245 else
54248 ac_ext=cpp
54249 ac_cpp='$CXXCPP $CPPFLAGS'
54250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54255 /* end confdefs.h. */
54256 #include <stdlib.h>
54258 main ()
54260 at_quick_exit(0);
54262 return 0;
54264 _ACEOF
54265 if ac_fn_cxx_try_compile "$LINENO"; then :
54266 glibcxx_cv_func_at_quick_exit_use=yes
54267 else
54268 glibcxx_cv_func_at_quick_exit_use=no
54270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54271 ac_ext=c
54272 ac_cpp='$CPP $CPPFLAGS'
54273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
54282 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
54283 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
54284 for ac_func in at_quick_exit
54285 do :
54286 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
54287 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
54288 cat >>confdefs.h <<_ACEOF
54289 #define HAVE_AT_QUICK_EXIT 1
54290 _ACEOF
54293 done
54298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
54299 $as_echo_n "checking for quick_exit declaration... " >&6; }
54300 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
54301 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
54302 $as_echo_n "(cached) " >&6
54303 else
54306 ac_ext=cpp
54307 ac_cpp='$CXXCPP $CPPFLAGS'
54308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54313 /* end confdefs.h. */
54314 #include <stdlib.h>
54316 main ()
54318 quick_exit(0);
54320 return 0;
54322 _ACEOF
54323 if ac_fn_cxx_try_compile "$LINENO"; then :
54324 glibcxx_cv_func_quick_exit_use=yes
54325 else
54326 glibcxx_cv_func_quick_exit_use=no
54328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54329 ac_ext=c
54330 ac_cpp='$CPP $CPPFLAGS'
54331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
54340 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
54341 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
54342 for ac_func in quick_exit
54343 do :
54344 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
54345 if test "x$ac_cv_func_quick_exit" = xyes; then :
54346 cat >>confdefs.h <<_ACEOF
54347 #define HAVE_QUICK_EXIT 1
54348 _ACEOF
54351 done
54356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
54357 $as_echo_n "checking for strtold declaration... " >&6; }
54358 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
54359 if ${glibcxx_cv_func_strtold_use+:} false; then :
54360 $as_echo_n "(cached) " >&6
54361 else
54364 ac_ext=cpp
54365 ac_cpp='$CXXCPP $CPPFLAGS'
54366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54371 /* end confdefs.h. */
54372 #include <stdlib.h>
54374 main ()
54376 strtold(0, 0);
54378 return 0;
54380 _ACEOF
54381 if ac_fn_cxx_try_compile "$LINENO"; then :
54382 glibcxx_cv_func_strtold_use=yes
54383 else
54384 glibcxx_cv_func_strtold_use=no
54386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54387 ac_ext=c
54388 ac_cpp='$CPP $CPPFLAGS'
54389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
54398 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
54399 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
54400 for ac_func in strtold
54401 do :
54402 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
54403 if test "x$ac_cv_func_strtold" = xyes; then :
54404 cat >>confdefs.h <<_ACEOF
54405 #define HAVE_STRTOLD 1
54406 _ACEOF
54409 done
54416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
54417 $as_echo_n "checking for strtof declaration... " >&6; }
54418 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
54419 if ${glibcxx_cv_func_strtof_use+:} false; then :
54420 $as_echo_n "(cached) " >&6
54421 else
54424 ac_ext=cpp
54425 ac_cpp='$CXXCPP $CPPFLAGS'
54426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54431 /* end confdefs.h. */
54432 #include <stdlib.h>
54434 main ()
54436 strtof(0, 0);
54438 return 0;
54440 _ACEOF
54441 if ac_fn_cxx_try_compile "$LINENO"; then :
54442 glibcxx_cv_func_strtof_use=yes
54443 else
54444 glibcxx_cv_func_strtof_use=no
54446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54447 ac_ext=c
54448 ac_cpp='$CPP $CPPFLAGS'
54449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
54458 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
54459 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
54460 for ac_func in strtof
54461 do :
54462 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
54463 if test "x$ac_cv_func_strtof" = xyes; then :
54464 cat >>confdefs.h <<_ACEOF
54465 #define HAVE_STRTOF 1
54466 _ACEOF
54469 done
54476 CXXFLAGS="$ac_save_CXXFLAGS"
54478 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
54480 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
54484 # Check whether --enable-tls was given.
54485 if test "${enable_tls+set}" = set; then :
54486 enableval=$enable_tls;
54487 case "$enableval" in
54488 yes|no) ;;
54489 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
54490 esac
54492 else
54493 enable_tls=yes
54497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
54498 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
54499 if ${gcc_cv_have_tls+:} false; then :
54500 $as_echo_n "(cached) " >&6
54501 else
54503 if test "$cross_compiling" = yes; then :
54504 if test x$gcc_no_link = xyes; then
54505 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54508 /* end confdefs.h. */
54509 __thread int a; int b; int main() { return a = b; }
54510 _ACEOF
54511 if ac_fn_c_try_link "$LINENO"; then :
54512 chktls_save_LDFLAGS="$LDFLAGS"
54513 case $host in
54514 *-*-linux* | -*-uclinuxfdpic*)
54515 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
54517 esac
54518 chktls_save_CFLAGS="$CFLAGS"
54519 CFLAGS="-fPIC $CFLAGS"
54520 if test x$gcc_no_link = xyes; then
54521 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54524 /* end confdefs.h. */
54525 int f() { return 0; }
54526 _ACEOF
54527 if ac_fn_c_try_link "$LINENO"; then :
54528 if test x$gcc_no_link = xyes; then
54529 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54532 /* end confdefs.h. */
54533 __thread int a; int b; int f() { return a = b; }
54534 _ACEOF
54535 if ac_fn_c_try_link "$LINENO"; then :
54536 gcc_cv_have_tls=yes
54537 else
54538 gcc_cv_have_tls=no
54540 rm -f core conftest.err conftest.$ac_objext \
54541 conftest$ac_exeext conftest.$ac_ext
54542 else
54543 gcc_cv_have_tls=yes
54545 rm -f core conftest.err conftest.$ac_objext \
54546 conftest$ac_exeext conftest.$ac_ext
54547 CFLAGS="$chktls_save_CFLAGS"
54548 LDFLAGS="$chktls_save_LDFLAGS"
54549 else
54550 gcc_cv_have_tls=no
54552 rm -f core conftest.err conftest.$ac_objext \
54553 conftest$ac_exeext conftest.$ac_ext
54556 else
54557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54558 /* end confdefs.h. */
54559 __thread int a; int b; int main() { return a = b; }
54560 _ACEOF
54561 if ac_fn_c_try_run "$LINENO"; then :
54562 chktls_save_LDFLAGS="$LDFLAGS"
54563 LDFLAGS="-static $LDFLAGS"
54564 if test x$gcc_no_link = xyes; then
54565 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54568 /* end confdefs.h. */
54569 int main() { return 0; }
54570 _ACEOF
54571 if ac_fn_c_try_link "$LINENO"; then :
54572 if test "$cross_compiling" = yes; then :
54573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54575 as_fn_error $? "cannot run test program while cross compiling
54576 See \`config.log' for more details" "$LINENO" 5; }
54577 else
54578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54579 /* end confdefs.h. */
54580 __thread int a; int b; int main() { return a = b; }
54581 _ACEOF
54582 if ac_fn_c_try_run "$LINENO"; then :
54583 gcc_cv_have_tls=yes
54584 else
54585 gcc_cv_have_tls=no
54587 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54588 conftest.$ac_objext conftest.beam conftest.$ac_ext
54591 else
54592 gcc_cv_have_tls=yes
54594 rm -f core conftest.err conftest.$ac_objext \
54595 conftest$ac_exeext conftest.$ac_ext
54596 LDFLAGS="$chktls_save_LDFLAGS"
54597 if test $gcc_cv_have_tls = yes; then
54598 chktls_save_CFLAGS="$CFLAGS"
54599 thread_CFLAGS=failed
54600 for flag in '' '-pthread' '-lpthread'; do
54601 CFLAGS="$flag $chktls_save_CFLAGS"
54602 if test x$gcc_no_link = xyes; then
54603 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54606 /* end confdefs.h. */
54607 #include <pthread.h>
54608 void *g(void *d) { return NULL; }
54610 main ()
54612 pthread_t t; pthread_create(&t,NULL,g,NULL);
54614 return 0;
54616 _ACEOF
54617 if ac_fn_c_try_link "$LINENO"; then :
54618 thread_CFLAGS="$flag"
54620 rm -f core conftest.err conftest.$ac_objext \
54621 conftest$ac_exeext conftest.$ac_ext
54622 if test "X$thread_CFLAGS" != Xfailed; then
54623 break
54625 done
54626 CFLAGS="$chktls_save_CFLAGS"
54627 if test "X$thread_CFLAGS" != Xfailed; then
54628 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54629 if test "$cross_compiling" = yes; then :
54630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54632 as_fn_error $? "cannot run test program while cross compiling
54633 See \`config.log' for more details" "$LINENO" 5; }
54634 else
54635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54636 /* end confdefs.h. */
54637 #include <pthread.h>
54638 __thread int a;
54639 static int *volatile a_in_other_thread;
54640 static void *
54641 thread_func (void *arg)
54643 a_in_other_thread = &a;
54644 return (void *)0;
54647 main ()
54649 pthread_t thread;
54650 void *thread_retval;
54651 int *volatile a_in_main_thread;
54652 a_in_main_thread = &a;
54653 if (pthread_create (&thread, (pthread_attr_t *)0,
54654 thread_func, (void *)0))
54655 return 0;
54656 if (pthread_join (thread, &thread_retval))
54657 return 0;
54658 return (a_in_other_thread == a_in_main_thread);
54660 return 0;
54662 _ACEOF
54663 if ac_fn_c_try_run "$LINENO"; then :
54664 gcc_cv_have_tls=yes
54665 else
54666 gcc_cv_have_tls=no
54668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54669 conftest.$ac_objext conftest.beam conftest.$ac_ext
54672 CFLAGS="$chktls_save_CFLAGS"
54675 else
54676 gcc_cv_have_tls=no
54678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54679 conftest.$ac_objext conftest.beam conftest.$ac_ext
54683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54684 $as_echo "$gcc_cv_have_tls" >&6; }
54685 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54687 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54690 for ac_func in __cxa_thread_atexit_impl
54691 do :
54692 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54693 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54694 cat >>confdefs.h <<_ACEOF
54695 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54696 _ACEOF
54699 done
54701 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54702 do :
54703 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54704 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54705 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54706 cat >>confdefs.h <<_ACEOF
54707 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54708 _ACEOF
54711 done
54713 for ac_func in timespec_get
54714 do :
54715 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54716 if test "x$ac_cv_func_timespec_get" = xyes; then :
54717 cat >>confdefs.h <<_ACEOF
54718 #define HAVE_TIMESPEC_GET 1
54719 _ACEOF
54722 done
54724 for ac_func in sockatmark
54725 do :
54726 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54727 if test "x$ac_cv_func_sockatmark" = xyes; then :
54728 cat >>confdefs.h <<_ACEOF
54729 #define HAVE_SOCKATMARK 1
54730 _ACEOF
54733 done
54735 for ac_func in uselocale
54736 do :
54737 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54738 if test "x$ac_cv_func_uselocale" = xyes; then :
54739 cat >>confdefs.h <<_ACEOF
54740 #define HAVE_USELOCALE 1
54741 _ACEOF
54744 done
54746 for ac_func in secure_getenv
54747 do :
54748 ac_fn_c_check_func "$LINENO" "secure_getenv" "ac_cv_func_secure_getenv"
54749 if test "x$ac_cv_func_secure_getenv" = xyes; then :
54750 cat >>confdefs.h <<_ACEOF
54751 #define HAVE_SECURE_GETENV 1
54752 _ACEOF
54755 done
54762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54763 $as_echo_n "checking for iconv... " >&6; }
54764 if ${am_cv_func_iconv+:} false; then :
54765 $as_echo_n "(cached) " >&6
54766 else
54768 am_cv_func_iconv="no, consider installing GNU libiconv"
54769 am_cv_lib_iconv=no
54770 am_save_CPPFLAGS="$CPPFLAGS"
54771 CPPFLAGS="$CPPFLAGS $INCICONV"
54772 if test x$gcc_no_link = xyes; then
54773 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54776 /* end confdefs.h. */
54777 #include <stdlib.h>
54778 #include <iconv.h>
54780 main ()
54782 iconv_t cd = iconv_open("","");
54783 iconv(cd,NULL,NULL,NULL,NULL);
54784 iconv_close(cd);
54786 return 0;
54788 _ACEOF
54789 if ac_fn_c_try_link "$LINENO"; then :
54790 am_cv_func_iconv=yes
54792 rm -f core conftest.err conftest.$ac_objext \
54793 conftest$ac_exeext conftest.$ac_ext
54794 CPPFLAGS="$am_save_CPPFLAGS"
54796 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54797 for _libs in .libs _libs; do
54798 am_save_CPPFLAGS="$CPPFLAGS"
54799 am_save_LIBS="$LIBS"
54800 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54801 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54802 if test x$gcc_no_link = xyes; then
54803 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54806 /* end confdefs.h. */
54807 #include <stdlib.h>
54808 #include <iconv.h>
54810 main ()
54812 iconv_t cd = iconv_open("","");
54813 iconv(cd,NULL,NULL,NULL,NULL);
54814 iconv_close(cd);
54816 return 0;
54818 _ACEOF
54819 if ac_fn_c_try_link "$LINENO"; then :
54820 INCICONV="-I../libiconv/include"
54821 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54822 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54823 am_cv_lib_iconv=yes
54824 am_cv_func_iconv=yes
54826 rm -f core conftest.err conftest.$ac_objext \
54827 conftest$ac_exeext conftest.$ac_ext
54828 CPPFLAGS="$am_save_CPPFLAGS"
54829 LIBS="$am_save_LIBS"
54830 if test "$am_cv_func_iconv" = "yes"; then
54831 break
54833 done
54836 if test "$am_cv_func_iconv" != yes; then
54837 am_save_CPPFLAGS="$CPPFLAGS"
54838 am_save_LIBS="$LIBS"
54839 CPPFLAGS="$CPPFLAGS $INCICONV"
54840 LIBS="$LIBS $LIBICONV"
54841 if test x$gcc_no_link = xyes; then
54842 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54845 /* end confdefs.h. */
54846 #include <stdlib.h>
54847 #include <iconv.h>
54849 main ()
54851 iconv_t cd = iconv_open("","");
54852 iconv(cd,NULL,NULL,NULL,NULL);
54853 iconv_close(cd);
54855 return 0;
54857 _ACEOF
54858 if ac_fn_c_try_link "$LINENO"; then :
54859 am_cv_lib_iconv=yes
54860 am_cv_func_iconv=yes
54862 rm -f core conftest.err conftest.$ac_objext \
54863 conftest$ac_exeext conftest.$ac_ext
54864 CPPFLAGS="$am_save_CPPFLAGS"
54865 LIBS="$am_save_LIBS"
54869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54870 $as_echo "$am_cv_func_iconv" >&6; }
54871 if test "$am_cv_func_iconv" = yes; then
54873 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54876 if test "$am_cv_lib_iconv" = yes; then
54878 for element in $INCICONV; do
54879 haveit=
54880 for x in $CPPFLAGS; do
54882 acl_save_prefix="$prefix"
54883 prefix="$acl_final_prefix"
54884 acl_save_exec_prefix="$exec_prefix"
54885 exec_prefix="$acl_final_exec_prefix"
54886 eval x=\"$x\"
54887 exec_prefix="$acl_save_exec_prefix"
54888 prefix="$acl_save_prefix"
54890 if test "X$x" = "X$element"; then
54891 haveit=yes
54892 break
54894 done
54895 if test -z "$haveit"; then
54896 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54898 done
54900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54901 $as_echo_n "checking how to link with libiconv... " >&6; }
54902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54903 $as_echo "$LIBICONV" >&6; }
54904 else
54905 LIBICONV=
54906 LTLIBICONV=
54911 if test "$am_cv_func_iconv" = yes; then
54912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54913 $as_echo_n "checking for iconv declaration... " >&6; }
54914 if ${am_cv_proto_iconv+:} false; then :
54915 $as_echo_n "(cached) " >&6
54916 else
54918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54919 /* end confdefs.h. */
54921 #include <stdlib.h>
54922 #include <iconv.h>
54923 extern
54924 #ifdef __cplusplus
54926 #endif
54927 #if defined(__STDC__) || defined(__cplusplus)
54928 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54929 #else
54930 size_t iconv();
54931 #endif
54934 main ()
54938 return 0;
54940 _ACEOF
54941 if ac_fn_c_try_compile "$LINENO"; then :
54942 am_cv_proto_iconv_arg1=""
54943 else
54944 am_cv_proto_iconv_arg1="const"
54946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54947 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);"
54950 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54952 }$am_cv_proto_iconv" >&5
54953 $as_echo "${ac_t:-
54954 }$am_cv_proto_iconv" >&6; }
54956 cat >>confdefs.h <<_ACEOF
54957 #define ICONV_CONST $am_cv_proto_iconv_arg1
54958 _ACEOF
54963 *-mingw32*)
54965 # If we're not using GNU ld, then there's no point in even trying these
54966 # tests. Check for that first. We should have already tested for gld
54967 # by now (in libtool), but require it now just to be safe...
54968 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54969 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54973 # The name set by libtool depends on the version of libtool. Shame on us
54974 # for depending on an impl detail, but c'est la vie. Older versions used
54975 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54976 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54977 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54978 # set (hence we're using an older libtool), then set it.
54979 if test x${with_gnu_ld+set} != xset; then
54980 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54981 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54982 with_gnu_ld=no
54983 else
54984 with_gnu_ld=$ac_cv_prog_gnu_ld
54988 # Start by getting the version number. I think the libtool test already
54989 # does some of this, but throws away the result.
54990 glibcxx_ld_is_gold=no
54991 glibcxx_ld_is_mold=no
54992 if test x"$with_gnu_ld" = x"yes"; then
54993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54994 $as_echo_n "checking for ld version... " >&6; }
54996 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54997 glibcxx_ld_is_gold=yes
54998 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
54999 glibcxx_ld_is_mold=yes
55001 ldver=`$LD --version 2>/dev/null |
55002 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
55004 glibcxx_gnu_ld_version=`echo $ldver | \
55005 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
55006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
55007 $as_echo "$glibcxx_gnu_ld_version" >&6; }
55010 # Set --gc-sections.
55011 glibcxx_have_gc_sections=no
55012 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
55013 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
55014 glibcxx_have_gc_sections=yes
55016 else
55017 glibcxx_gcsections_min_ld=21602
55018 if test x"$with_gnu_ld" = x"yes" &&
55019 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
55020 glibcxx_have_gc_sections=yes
55023 if test "$glibcxx_have_gc_sections" = "yes"; then
55024 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
55025 # NB: This flag only works reliably after 2.16.1. Configure tests
55026 # for this are difficult, so hard wire a value that should work.
55028 ac_test_CFLAGS="${CFLAGS+set}"
55029 ac_save_CFLAGS="$CFLAGS"
55030 CFLAGS='-Wl,--gc-sections'
55032 # Check for -Wl,--gc-sections
55033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
55034 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
55035 if test x$gcc_no_link = xyes; then
55036 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55039 /* end confdefs.h. */
55040 int one(void) { return 1; }
55041 int two(void) { return 2; }
55044 main ()
55046 two();
55048 return 0;
55050 _ACEOF
55051 if ac_fn_c_try_link "$LINENO"; then :
55052 ac_gcsections=yes
55053 else
55054 ac_gcsections=no
55056 rm -f core conftest.err conftest.$ac_objext \
55057 conftest$ac_exeext conftest.$ac_ext
55058 if test "$ac_gcsections" = "yes"; then
55059 rm -f conftest.c
55060 touch conftest.c
55061 if $CC -c conftest.c; then
55062 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
55063 grep "Warning: gc-sections option ignored" > /dev/null; then
55064 ac_gcsections=no
55067 rm -f conftest.c conftest.o conftest
55069 if test "$ac_gcsections" = "yes"; then
55070 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
55072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
55073 $as_echo "$ac_gcsections" >&6; }
55075 if test "$ac_test_CFLAGS" = set; then
55076 CFLAGS="$ac_save_CFLAGS"
55077 else
55078 # this is the suspicious part
55079 CFLAGS=''
55083 # Set -z,relro.
55084 # Note this is only for shared objects.
55085 ac_ld_relro=no
55086 if test x"$with_gnu_ld" = x"yes"; then
55087 # cygwin and mingw uses PE, which has no ELF relro support,
55088 # multi target ld may confuse configure machinery
55089 case "$host" in
55090 *-*-cygwin*)
55092 *-*-mingw*)
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
55096 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
55097 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
55098 if test -n "$cxx_z_relo"; then
55099 OPT_LDFLAGS="-Wl,-z,relro"
55100 ac_ld_relro=yes
55102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
55103 $as_echo "$ac_ld_relro" >&6; }
55104 esac
55107 # Set linker optimization flags.
55108 if test x"$with_gnu_ld" = x"yes"; then
55109 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
55116 ac_test_CXXFLAGS="${CXXFLAGS+set}"
55117 ac_save_CXXFLAGS="$CXXFLAGS"
55118 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
55120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
55121 $as_echo_n "checking for sin in -lm... " >&6; }
55122 if ${ac_cv_lib_m_sin+:} false; then :
55123 $as_echo_n "(cached) " >&6
55124 else
55125 ac_check_lib_save_LIBS=$LIBS
55126 LIBS="-lm $LIBS"
55127 if test x$gcc_no_link = xyes; then
55128 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55133 /* Override any GCC internal prototype to avoid an error.
55134 Use char because int might match the return type of a GCC
55135 builtin and then its argument prototype would still apply. */
55136 #ifdef __cplusplus
55137 extern "C"
55138 #endif
55139 char sin ();
55141 main ()
55143 return sin ();
55145 return 0;
55147 _ACEOF
55148 if ac_fn_c_try_link "$LINENO"; then :
55149 ac_cv_lib_m_sin=yes
55150 else
55151 ac_cv_lib_m_sin=no
55153 rm -f core conftest.err conftest.$ac_objext \
55154 conftest$ac_exeext conftest.$ac_ext
55155 LIBS=$ac_check_lib_save_LIBS
55157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
55158 $as_echo "$ac_cv_lib_m_sin" >&6; }
55159 if test "x$ac_cv_lib_m_sin" = xyes; then :
55160 libm="-lm"
55163 ac_save_LIBS="$LIBS"
55164 LIBS="$LIBS $libm"
55168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
55169 $as_echo_n "checking for isinf declaration... " >&6; }
55170 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
55171 if ${glibcxx_cv_func_isinf_use+:} false; then :
55172 $as_echo_n "(cached) " >&6
55173 else
55176 ac_ext=cpp
55177 ac_cpp='$CXXCPP $CPPFLAGS'
55178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55183 /* end confdefs.h. */
55184 #include <math.h>
55185 #ifdef HAVE_IEEEFP_H
55186 #include <ieeefp.h>
55187 #endif
55190 main ()
55192 isinf(0);
55194 return 0;
55196 _ACEOF
55197 if ac_fn_cxx_try_compile "$LINENO"; then :
55198 glibcxx_cv_func_isinf_use=yes
55199 else
55200 glibcxx_cv_func_isinf_use=no
55202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55203 ac_ext=c
55204 ac_cpp='$CPP $CPPFLAGS'
55205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
55214 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
55216 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
55217 for ac_func in isinf
55218 do :
55219 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
55220 if test "x$ac_cv_func_isinf" = xyes; then :
55221 cat >>confdefs.h <<_ACEOF
55222 #define HAVE_ISINF 1
55223 _ACEOF
55226 done
55228 else
55230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
55231 $as_echo_n "checking for _isinf declaration... " >&6; }
55232 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
55233 if ${glibcxx_cv_func__isinf_use+:} false; then :
55234 $as_echo_n "(cached) " >&6
55235 else
55238 ac_ext=cpp
55239 ac_cpp='$CXXCPP $CPPFLAGS'
55240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55245 /* end confdefs.h. */
55246 #include <math.h>
55247 #ifdef HAVE_IEEEFP_H
55248 #include <ieeefp.h>
55249 #endif
55252 main ()
55254 _isinf(0);
55256 return 0;
55258 _ACEOF
55259 if ac_fn_cxx_try_compile "$LINENO"; then :
55260 glibcxx_cv_func__isinf_use=yes
55261 else
55262 glibcxx_cv_func__isinf_use=no
55264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55265 ac_ext=c
55266 ac_cpp='$CPP $CPPFLAGS'
55267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
55276 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
55278 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
55279 for ac_func in _isinf
55280 do :
55281 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
55282 if test "x$ac_cv_func__isinf" = xyes; then :
55283 cat >>confdefs.h <<_ACEOF
55284 #define HAVE__ISINF 1
55285 _ACEOF
55288 done
55297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
55298 $as_echo_n "checking for isnan declaration... " >&6; }
55299 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
55300 if ${glibcxx_cv_func_isnan_use+:} false; then :
55301 $as_echo_n "(cached) " >&6
55302 else
55305 ac_ext=cpp
55306 ac_cpp='$CXXCPP $CPPFLAGS'
55307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55312 /* end confdefs.h. */
55313 #include <math.h>
55314 #ifdef HAVE_IEEEFP_H
55315 #include <ieeefp.h>
55316 #endif
55319 main ()
55321 isnan(0);
55323 return 0;
55325 _ACEOF
55326 if ac_fn_cxx_try_compile "$LINENO"; then :
55327 glibcxx_cv_func_isnan_use=yes
55328 else
55329 glibcxx_cv_func_isnan_use=no
55331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55332 ac_ext=c
55333 ac_cpp='$CPP $CPPFLAGS'
55334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
55343 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
55345 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
55346 for ac_func in isnan
55347 do :
55348 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
55349 if test "x$ac_cv_func_isnan" = xyes; then :
55350 cat >>confdefs.h <<_ACEOF
55351 #define HAVE_ISNAN 1
55352 _ACEOF
55355 done
55357 else
55359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
55360 $as_echo_n "checking for _isnan declaration... " >&6; }
55361 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
55362 if ${glibcxx_cv_func__isnan_use+:} false; then :
55363 $as_echo_n "(cached) " >&6
55364 else
55367 ac_ext=cpp
55368 ac_cpp='$CXXCPP $CPPFLAGS'
55369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55374 /* end confdefs.h. */
55375 #include <math.h>
55376 #ifdef HAVE_IEEEFP_H
55377 #include <ieeefp.h>
55378 #endif
55381 main ()
55383 _isnan(0);
55385 return 0;
55387 _ACEOF
55388 if ac_fn_cxx_try_compile "$LINENO"; then :
55389 glibcxx_cv_func__isnan_use=yes
55390 else
55391 glibcxx_cv_func__isnan_use=no
55393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55394 ac_ext=c
55395 ac_cpp='$CPP $CPPFLAGS'
55396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
55405 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
55407 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
55408 for ac_func in _isnan
55409 do :
55410 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
55411 if test "x$ac_cv_func__isnan" = xyes; then :
55412 cat >>confdefs.h <<_ACEOF
55413 #define HAVE__ISNAN 1
55414 _ACEOF
55417 done
55426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
55427 $as_echo_n "checking for finite declaration... " >&6; }
55428 if test x${glibcxx_cv_func_finite_use+set} != xset; then
55429 if ${glibcxx_cv_func_finite_use+:} false; then :
55430 $as_echo_n "(cached) " >&6
55431 else
55434 ac_ext=cpp
55435 ac_cpp='$CXXCPP $CPPFLAGS'
55436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55441 /* end confdefs.h. */
55442 #include <math.h>
55443 #ifdef HAVE_IEEEFP_H
55444 #include <ieeefp.h>
55445 #endif
55448 main ()
55450 finite(0);
55452 return 0;
55454 _ACEOF
55455 if ac_fn_cxx_try_compile "$LINENO"; then :
55456 glibcxx_cv_func_finite_use=yes
55457 else
55458 glibcxx_cv_func_finite_use=no
55460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55461 ac_ext=c
55462 ac_cpp='$CPP $CPPFLAGS'
55463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
55472 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
55474 if test x$glibcxx_cv_func_finite_use = x"yes"; then
55475 for ac_func in finite
55476 do :
55477 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
55478 if test "x$ac_cv_func_finite" = xyes; then :
55479 cat >>confdefs.h <<_ACEOF
55480 #define HAVE_FINITE 1
55481 _ACEOF
55484 done
55486 else
55488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
55489 $as_echo_n "checking for _finite declaration... " >&6; }
55490 if test x${glibcxx_cv_func__finite_use+set} != xset; then
55491 if ${glibcxx_cv_func__finite_use+:} false; then :
55492 $as_echo_n "(cached) " >&6
55493 else
55496 ac_ext=cpp
55497 ac_cpp='$CXXCPP $CPPFLAGS'
55498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55503 /* end confdefs.h. */
55504 #include <math.h>
55505 #ifdef HAVE_IEEEFP_H
55506 #include <ieeefp.h>
55507 #endif
55510 main ()
55512 _finite(0);
55514 return 0;
55516 _ACEOF
55517 if ac_fn_cxx_try_compile "$LINENO"; then :
55518 glibcxx_cv_func__finite_use=yes
55519 else
55520 glibcxx_cv_func__finite_use=no
55522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55523 ac_ext=c
55524 ac_cpp='$CPP $CPPFLAGS'
55525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
55534 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
55536 if test x$glibcxx_cv_func__finite_use = x"yes"; then
55537 for ac_func in _finite
55538 do :
55539 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
55540 if test "x$ac_cv_func__finite" = xyes; then :
55541 cat >>confdefs.h <<_ACEOF
55542 #define HAVE__FINITE 1
55543 _ACEOF
55546 done
55555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
55556 $as_echo_n "checking for sincos declaration... " >&6; }
55557 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
55558 if ${glibcxx_cv_func_sincos_use+:} false; then :
55559 $as_echo_n "(cached) " >&6
55560 else
55563 ac_ext=cpp
55564 ac_cpp='$CXXCPP $CPPFLAGS'
55565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55570 /* end confdefs.h. */
55571 #include <math.h>
55573 main ()
55575 sincos(0, 0, 0);
55577 return 0;
55579 _ACEOF
55580 if ac_fn_cxx_try_compile "$LINENO"; then :
55581 glibcxx_cv_func_sincos_use=yes
55582 else
55583 glibcxx_cv_func_sincos_use=no
55585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55586 ac_ext=c
55587 ac_cpp='$CPP $CPPFLAGS'
55588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
55597 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
55599 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
55600 for ac_func in sincos
55601 do :
55602 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
55603 if test "x$ac_cv_func_sincos" = xyes; then :
55604 cat >>confdefs.h <<_ACEOF
55605 #define HAVE_SINCOS 1
55606 _ACEOF
55609 done
55611 else
55613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
55614 $as_echo_n "checking for _sincos declaration... " >&6; }
55615 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
55616 if ${glibcxx_cv_func__sincos_use+:} false; then :
55617 $as_echo_n "(cached) " >&6
55618 else
55621 ac_ext=cpp
55622 ac_cpp='$CXXCPP $CPPFLAGS'
55623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55628 /* end confdefs.h. */
55629 #include <math.h>
55631 main ()
55633 _sincos(0, 0, 0);
55635 return 0;
55637 _ACEOF
55638 if ac_fn_cxx_try_compile "$LINENO"; then :
55639 glibcxx_cv_func__sincos_use=yes
55640 else
55641 glibcxx_cv_func__sincos_use=no
55643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55644 ac_ext=c
55645 ac_cpp='$CPP $CPPFLAGS'
55646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
55655 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
55657 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
55658 for ac_func in _sincos
55659 do :
55660 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
55661 if test "x$ac_cv_func__sincos" = xyes; then :
55662 cat >>confdefs.h <<_ACEOF
55663 #define HAVE__SINCOS 1
55664 _ACEOF
55667 done
55676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
55677 $as_echo_n "checking for fpclass declaration... " >&6; }
55678 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
55679 if ${glibcxx_cv_func_fpclass_use+:} false; then :
55680 $as_echo_n "(cached) " >&6
55681 else
55684 ac_ext=cpp
55685 ac_cpp='$CXXCPP $CPPFLAGS'
55686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55691 /* end confdefs.h. */
55692 #include <math.h>
55693 #ifdef HAVE_IEEEFP_H
55694 #include <ieeefp.h>
55695 #endif
55698 main ()
55700 fpclass(0);
55702 return 0;
55704 _ACEOF
55705 if ac_fn_cxx_try_compile "$LINENO"; then :
55706 glibcxx_cv_func_fpclass_use=yes
55707 else
55708 glibcxx_cv_func_fpclass_use=no
55710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55711 ac_ext=c
55712 ac_cpp='$CPP $CPPFLAGS'
55713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55722 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55724 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55725 for ac_func in fpclass
55726 do :
55727 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55728 if test "x$ac_cv_func_fpclass" = xyes; then :
55729 cat >>confdefs.h <<_ACEOF
55730 #define HAVE_FPCLASS 1
55731 _ACEOF
55734 done
55736 else
55738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55739 $as_echo_n "checking for _fpclass declaration... " >&6; }
55740 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55741 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55742 $as_echo_n "(cached) " >&6
55743 else
55746 ac_ext=cpp
55747 ac_cpp='$CXXCPP $CPPFLAGS'
55748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55753 /* end confdefs.h. */
55754 #include <math.h>
55755 #ifdef HAVE_IEEEFP_H
55756 #include <ieeefp.h>
55757 #endif
55760 main ()
55762 _fpclass(0);
55764 return 0;
55766 _ACEOF
55767 if ac_fn_cxx_try_compile "$LINENO"; then :
55768 glibcxx_cv_func__fpclass_use=yes
55769 else
55770 glibcxx_cv_func__fpclass_use=no
55772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55773 ac_ext=c
55774 ac_cpp='$CPP $CPPFLAGS'
55775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55784 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55786 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55787 for ac_func in _fpclass
55788 do :
55789 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55790 if test "x$ac_cv_func__fpclass" = xyes; then :
55791 cat >>confdefs.h <<_ACEOF
55792 #define HAVE__FPCLASS 1
55793 _ACEOF
55796 done
55805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55806 $as_echo_n "checking for qfpclass declaration... " >&6; }
55807 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55808 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55809 $as_echo_n "(cached) " >&6
55810 else
55813 ac_ext=cpp
55814 ac_cpp='$CXXCPP $CPPFLAGS'
55815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55820 /* end confdefs.h. */
55821 #include <math.h>
55822 #ifdef HAVE_IEEEFP_H
55823 #include <ieeefp.h>
55824 #endif
55827 main ()
55829 qfpclass(0);
55831 return 0;
55833 _ACEOF
55834 if ac_fn_cxx_try_compile "$LINENO"; then :
55835 glibcxx_cv_func_qfpclass_use=yes
55836 else
55837 glibcxx_cv_func_qfpclass_use=no
55839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55840 ac_ext=c
55841 ac_cpp='$CPP $CPPFLAGS'
55842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55851 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55853 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55854 for ac_func in qfpclass
55855 do :
55856 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55857 if test "x$ac_cv_func_qfpclass" = xyes; then :
55858 cat >>confdefs.h <<_ACEOF
55859 #define HAVE_QFPCLASS 1
55860 _ACEOF
55863 done
55865 else
55867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55868 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55869 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55870 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55871 $as_echo_n "(cached) " >&6
55872 else
55875 ac_ext=cpp
55876 ac_cpp='$CXXCPP $CPPFLAGS'
55877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55882 /* end confdefs.h. */
55883 #include <math.h>
55884 #ifdef HAVE_IEEEFP_H
55885 #include <ieeefp.h>
55886 #endif
55889 main ()
55891 _qfpclass(0);
55893 return 0;
55895 _ACEOF
55896 if ac_fn_cxx_try_compile "$LINENO"; then :
55897 glibcxx_cv_func__qfpclass_use=yes
55898 else
55899 glibcxx_cv_func__qfpclass_use=no
55901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55902 ac_ext=c
55903 ac_cpp='$CPP $CPPFLAGS'
55904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55913 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55915 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55916 for ac_func in _qfpclass
55917 do :
55918 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55919 if test "x$ac_cv_func__qfpclass" = xyes; then :
55920 cat >>confdefs.h <<_ACEOF
55921 #define HAVE__QFPCLASS 1
55922 _ACEOF
55925 done
55934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55935 $as_echo_n "checking for hypot declaration... " >&6; }
55936 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55937 if ${glibcxx_cv_func_hypot_use+:} false; then :
55938 $as_echo_n "(cached) " >&6
55939 else
55942 ac_ext=cpp
55943 ac_cpp='$CXXCPP $CPPFLAGS'
55944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55949 /* end confdefs.h. */
55950 #include <math.h>
55952 main ()
55954 hypot(0, 0);
55956 return 0;
55958 _ACEOF
55959 if ac_fn_cxx_try_compile "$LINENO"; then :
55960 glibcxx_cv_func_hypot_use=yes
55961 else
55962 glibcxx_cv_func_hypot_use=no
55964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55965 ac_ext=c
55966 ac_cpp='$CPP $CPPFLAGS'
55967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55976 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55978 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55979 for ac_func in hypot
55980 do :
55981 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55982 if test "x$ac_cv_func_hypot" = xyes; then :
55983 cat >>confdefs.h <<_ACEOF
55984 #define HAVE_HYPOT 1
55985 _ACEOF
55988 done
55990 else
55992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55993 $as_echo_n "checking for _hypot declaration... " >&6; }
55994 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55995 if ${glibcxx_cv_func__hypot_use+:} false; then :
55996 $as_echo_n "(cached) " >&6
55997 else
56000 ac_ext=cpp
56001 ac_cpp='$CXXCPP $CPPFLAGS'
56002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56007 /* end confdefs.h. */
56008 #include <math.h>
56010 main ()
56012 _hypot(0, 0);
56014 return 0;
56016 _ACEOF
56017 if ac_fn_cxx_try_compile "$LINENO"; then :
56018 glibcxx_cv_func__hypot_use=yes
56019 else
56020 glibcxx_cv_func__hypot_use=no
56022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56023 ac_ext=c
56024 ac_cpp='$CPP $CPPFLAGS'
56025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
56034 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
56036 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
56037 for ac_func in _hypot
56038 do :
56039 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
56040 if test "x$ac_cv_func__hypot" = xyes; then :
56041 cat >>confdefs.h <<_ACEOF
56042 #define HAVE__HYPOT 1
56043 _ACEOF
56046 done
56055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
56056 $as_echo_n "checking for float trig functions... " >&6; }
56057 if ${glibcxx_cv_func_float_trig_use+:} false; then :
56058 $as_echo_n "(cached) " >&6
56059 else
56062 ac_ext=cpp
56063 ac_cpp='$CXXCPP $CPPFLAGS'
56064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56069 /* end confdefs.h. */
56070 #include <math.h>
56072 main ()
56074 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
56076 return 0;
56078 _ACEOF
56079 if ac_fn_cxx_try_compile "$LINENO"; then :
56080 glibcxx_cv_func_float_trig_use=yes
56081 else
56082 glibcxx_cv_func_float_trig_use=no
56084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56085 ac_ext=c
56086 ac_cpp='$CPP $CPPFLAGS'
56087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
56094 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
56095 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
56096 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
56097 do :
56098 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56099 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56101 cat >>confdefs.h <<_ACEOF
56102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56103 _ACEOF
56106 done
56108 else
56109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
56110 $as_echo_n "checking for _float trig functions... " >&6; }
56111 if ${glibcxx_cv_func__float_trig_use+:} false; then :
56112 $as_echo_n "(cached) " >&6
56113 else
56116 ac_ext=cpp
56117 ac_cpp='$CXXCPP $CPPFLAGS'
56118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56123 /* end confdefs.h. */
56124 #include <math.h>
56126 main ()
56128 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
56130 return 0;
56132 _ACEOF
56133 if ac_fn_cxx_try_compile "$LINENO"; then :
56134 glibcxx_cv_func__float_trig_use=yes
56135 else
56136 glibcxx_cv_func__float_trig_use=no
56138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56139 ac_ext=c
56140 ac_cpp='$CPP $CPPFLAGS'
56141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
56148 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
56149 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
56150 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
56151 do :
56152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56154 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56155 cat >>confdefs.h <<_ACEOF
56156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56157 _ACEOF
56160 done
56169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
56170 $as_echo_n "checking for float round functions... " >&6; }
56171 if ${glibcxx_cv_func_float_round_use+:} false; then :
56172 $as_echo_n "(cached) " >&6
56173 else
56176 ac_ext=cpp
56177 ac_cpp='$CXXCPP $CPPFLAGS'
56178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56183 /* end confdefs.h. */
56184 #include <math.h>
56186 main ()
56188 ceilf (0); floorf (0);
56190 return 0;
56192 _ACEOF
56193 if ac_fn_cxx_try_compile "$LINENO"; then :
56194 glibcxx_cv_func_float_round_use=yes
56195 else
56196 glibcxx_cv_func_float_round_use=no
56198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56199 ac_ext=c
56200 ac_cpp='$CPP $CPPFLAGS'
56201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
56208 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
56209 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
56210 for ac_func in ceilf floorf
56211 do :
56212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56214 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56215 cat >>confdefs.h <<_ACEOF
56216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56217 _ACEOF
56220 done
56222 else
56223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
56224 $as_echo_n "checking for _float round functions... " >&6; }
56225 if ${glibcxx_cv_func__float_round_use+:} false; then :
56226 $as_echo_n "(cached) " >&6
56227 else
56230 ac_ext=cpp
56231 ac_cpp='$CXXCPP $CPPFLAGS'
56232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56237 /* end confdefs.h. */
56238 #include <math.h>
56240 main ()
56242 _ceilf (0); _floorf (0);
56244 return 0;
56246 _ACEOF
56247 if ac_fn_cxx_try_compile "$LINENO"; then :
56248 glibcxx_cv_func__float_round_use=yes
56249 else
56250 glibcxx_cv_func__float_round_use=no
56252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56253 ac_ext=c
56254 ac_cpp='$CPP $CPPFLAGS'
56255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
56262 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
56263 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
56264 for ac_func in _ceilf _floorf
56265 do :
56266 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56267 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56268 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
56269 cat >>confdefs.h <<_ACEOF
56270 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56271 _ACEOF
56274 done
56284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
56285 $as_echo_n "checking for expf declaration... " >&6; }
56286 if test x${glibcxx_cv_func_expf_use+set} != xset; then
56287 if ${glibcxx_cv_func_expf_use+:} false; then :
56288 $as_echo_n "(cached) " >&6
56289 else
56292 ac_ext=cpp
56293 ac_cpp='$CXXCPP $CPPFLAGS'
56294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56299 /* end confdefs.h. */
56300 #include <math.h>
56301 #ifdef HAVE_IEEEFP_H
56302 #include <ieeefp.h>
56303 #endif
56306 main ()
56308 expf(0);
56310 return 0;
56312 _ACEOF
56313 if ac_fn_cxx_try_compile "$LINENO"; then :
56314 glibcxx_cv_func_expf_use=yes
56315 else
56316 glibcxx_cv_func_expf_use=no
56318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56319 ac_ext=c
56320 ac_cpp='$CPP $CPPFLAGS'
56321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
56330 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
56332 if test x$glibcxx_cv_func_expf_use = x"yes"; then
56333 for ac_func in expf
56334 do :
56335 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
56336 if test "x$ac_cv_func_expf" = xyes; then :
56337 cat >>confdefs.h <<_ACEOF
56338 #define HAVE_EXPF 1
56339 _ACEOF
56342 done
56344 else
56346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
56347 $as_echo_n "checking for _expf declaration... " >&6; }
56348 if test x${glibcxx_cv_func__expf_use+set} != xset; then
56349 if ${glibcxx_cv_func__expf_use+:} false; then :
56350 $as_echo_n "(cached) " >&6
56351 else
56354 ac_ext=cpp
56355 ac_cpp='$CXXCPP $CPPFLAGS'
56356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56361 /* end confdefs.h. */
56362 #include <math.h>
56363 #ifdef HAVE_IEEEFP_H
56364 #include <ieeefp.h>
56365 #endif
56368 main ()
56370 _expf(0);
56372 return 0;
56374 _ACEOF
56375 if ac_fn_cxx_try_compile "$LINENO"; then :
56376 glibcxx_cv_func__expf_use=yes
56377 else
56378 glibcxx_cv_func__expf_use=no
56380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56381 ac_ext=c
56382 ac_cpp='$CPP $CPPFLAGS'
56383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
56392 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
56394 if test x$glibcxx_cv_func__expf_use = x"yes"; then
56395 for ac_func in _expf
56396 do :
56397 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
56398 if test "x$ac_cv_func__expf" = xyes; then :
56399 cat >>confdefs.h <<_ACEOF
56400 #define HAVE__EXPF 1
56401 _ACEOF
56404 done
56413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
56414 $as_echo_n "checking for isnanf declaration... " >&6; }
56415 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
56416 if ${glibcxx_cv_func_isnanf_use+:} false; then :
56417 $as_echo_n "(cached) " >&6
56418 else
56421 ac_ext=cpp
56422 ac_cpp='$CXXCPP $CPPFLAGS'
56423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56428 /* end confdefs.h. */
56429 #include <math.h>
56430 #ifdef HAVE_IEEEFP_H
56431 #include <ieeefp.h>
56432 #endif
56435 main ()
56437 isnanf(0);
56439 return 0;
56441 _ACEOF
56442 if ac_fn_cxx_try_compile "$LINENO"; then :
56443 glibcxx_cv_func_isnanf_use=yes
56444 else
56445 glibcxx_cv_func_isnanf_use=no
56447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56448 ac_ext=c
56449 ac_cpp='$CPP $CPPFLAGS'
56450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
56459 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
56461 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
56462 for ac_func in isnanf
56463 do :
56464 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
56465 if test "x$ac_cv_func_isnanf" = xyes; then :
56466 cat >>confdefs.h <<_ACEOF
56467 #define HAVE_ISNANF 1
56468 _ACEOF
56471 done
56473 else
56475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
56476 $as_echo_n "checking for _isnanf declaration... " >&6; }
56477 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
56478 if ${glibcxx_cv_func__isnanf_use+:} false; then :
56479 $as_echo_n "(cached) " >&6
56480 else
56483 ac_ext=cpp
56484 ac_cpp='$CXXCPP $CPPFLAGS'
56485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56490 /* end confdefs.h. */
56491 #include <math.h>
56492 #ifdef HAVE_IEEEFP_H
56493 #include <ieeefp.h>
56494 #endif
56497 main ()
56499 _isnanf(0);
56501 return 0;
56503 _ACEOF
56504 if ac_fn_cxx_try_compile "$LINENO"; then :
56505 glibcxx_cv_func__isnanf_use=yes
56506 else
56507 glibcxx_cv_func__isnanf_use=no
56509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56510 ac_ext=c
56511 ac_cpp='$CPP $CPPFLAGS'
56512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
56521 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
56523 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
56524 for ac_func in _isnanf
56525 do :
56526 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
56527 if test "x$ac_cv_func__isnanf" = xyes; then :
56528 cat >>confdefs.h <<_ACEOF
56529 #define HAVE__ISNANF 1
56530 _ACEOF
56533 done
56542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
56543 $as_echo_n "checking for isinff declaration... " >&6; }
56544 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
56545 if ${glibcxx_cv_func_isinff_use+:} false; then :
56546 $as_echo_n "(cached) " >&6
56547 else
56550 ac_ext=cpp
56551 ac_cpp='$CXXCPP $CPPFLAGS'
56552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56557 /* end confdefs.h. */
56558 #include <math.h>
56559 #ifdef HAVE_IEEEFP_H
56560 #include <ieeefp.h>
56561 #endif
56564 main ()
56566 isinff(0);
56568 return 0;
56570 _ACEOF
56571 if ac_fn_cxx_try_compile "$LINENO"; then :
56572 glibcxx_cv_func_isinff_use=yes
56573 else
56574 glibcxx_cv_func_isinff_use=no
56576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56577 ac_ext=c
56578 ac_cpp='$CPP $CPPFLAGS'
56579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
56588 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
56590 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
56591 for ac_func in isinff
56592 do :
56593 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
56594 if test "x$ac_cv_func_isinff" = xyes; then :
56595 cat >>confdefs.h <<_ACEOF
56596 #define HAVE_ISINFF 1
56597 _ACEOF
56600 done
56602 else
56604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
56605 $as_echo_n "checking for _isinff declaration... " >&6; }
56606 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
56607 if ${glibcxx_cv_func__isinff_use+:} false; then :
56608 $as_echo_n "(cached) " >&6
56609 else
56612 ac_ext=cpp
56613 ac_cpp='$CXXCPP $CPPFLAGS'
56614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56619 /* end confdefs.h. */
56620 #include <math.h>
56621 #ifdef HAVE_IEEEFP_H
56622 #include <ieeefp.h>
56623 #endif
56626 main ()
56628 _isinff(0);
56630 return 0;
56632 _ACEOF
56633 if ac_fn_cxx_try_compile "$LINENO"; then :
56634 glibcxx_cv_func__isinff_use=yes
56635 else
56636 glibcxx_cv_func__isinff_use=no
56638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56639 ac_ext=c
56640 ac_cpp='$CPP $CPPFLAGS'
56641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
56650 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
56652 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
56653 for ac_func in _isinff
56654 do :
56655 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
56656 if test "x$ac_cv_func__isinff" = xyes; then :
56657 cat >>confdefs.h <<_ACEOF
56658 #define HAVE__ISINFF 1
56659 _ACEOF
56662 done
56671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
56672 $as_echo_n "checking for atan2f declaration... " >&6; }
56673 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
56674 if ${glibcxx_cv_func_atan2f_use+:} false; then :
56675 $as_echo_n "(cached) " >&6
56676 else
56679 ac_ext=cpp
56680 ac_cpp='$CXXCPP $CPPFLAGS'
56681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56686 /* end confdefs.h. */
56687 #include <math.h>
56689 main ()
56691 atan2f(0, 0);
56693 return 0;
56695 _ACEOF
56696 if ac_fn_cxx_try_compile "$LINENO"; then :
56697 glibcxx_cv_func_atan2f_use=yes
56698 else
56699 glibcxx_cv_func_atan2f_use=no
56701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56702 ac_ext=c
56703 ac_cpp='$CPP $CPPFLAGS'
56704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56713 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56715 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56716 for ac_func in atan2f
56717 do :
56718 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56719 if test "x$ac_cv_func_atan2f" = xyes; then :
56720 cat >>confdefs.h <<_ACEOF
56721 #define HAVE_ATAN2F 1
56722 _ACEOF
56725 done
56727 else
56729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56730 $as_echo_n "checking for _atan2f declaration... " >&6; }
56731 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56732 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56733 $as_echo_n "(cached) " >&6
56734 else
56737 ac_ext=cpp
56738 ac_cpp='$CXXCPP $CPPFLAGS'
56739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56744 /* end confdefs.h. */
56745 #include <math.h>
56747 main ()
56749 _atan2f(0, 0);
56751 return 0;
56753 _ACEOF
56754 if ac_fn_cxx_try_compile "$LINENO"; then :
56755 glibcxx_cv_func__atan2f_use=yes
56756 else
56757 glibcxx_cv_func__atan2f_use=no
56759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56760 ac_ext=c
56761 ac_cpp='$CPP $CPPFLAGS'
56762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56771 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56773 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56774 for ac_func in _atan2f
56775 do :
56776 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56777 if test "x$ac_cv_func__atan2f" = xyes; then :
56778 cat >>confdefs.h <<_ACEOF
56779 #define HAVE__ATAN2F 1
56780 _ACEOF
56783 done
56792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56793 $as_echo_n "checking for fabsf declaration... " >&6; }
56794 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56795 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56796 $as_echo_n "(cached) " >&6
56797 else
56800 ac_ext=cpp
56801 ac_cpp='$CXXCPP $CPPFLAGS'
56802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56807 /* end confdefs.h. */
56808 #include <math.h>
56809 #ifdef HAVE_IEEEFP_H
56810 #include <ieeefp.h>
56811 #endif
56814 main ()
56816 fabsf(0);
56818 return 0;
56820 _ACEOF
56821 if ac_fn_cxx_try_compile "$LINENO"; then :
56822 glibcxx_cv_func_fabsf_use=yes
56823 else
56824 glibcxx_cv_func_fabsf_use=no
56826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56827 ac_ext=c
56828 ac_cpp='$CPP $CPPFLAGS'
56829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56838 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56840 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56841 for ac_func in fabsf
56842 do :
56843 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56844 if test "x$ac_cv_func_fabsf" = xyes; then :
56845 cat >>confdefs.h <<_ACEOF
56846 #define HAVE_FABSF 1
56847 _ACEOF
56850 done
56852 else
56854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56855 $as_echo_n "checking for _fabsf declaration... " >&6; }
56856 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56857 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56858 $as_echo_n "(cached) " >&6
56859 else
56862 ac_ext=cpp
56863 ac_cpp='$CXXCPP $CPPFLAGS'
56864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56869 /* end confdefs.h. */
56870 #include <math.h>
56871 #ifdef HAVE_IEEEFP_H
56872 #include <ieeefp.h>
56873 #endif
56876 main ()
56878 _fabsf(0);
56880 return 0;
56882 _ACEOF
56883 if ac_fn_cxx_try_compile "$LINENO"; then :
56884 glibcxx_cv_func__fabsf_use=yes
56885 else
56886 glibcxx_cv_func__fabsf_use=no
56888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56889 ac_ext=c
56890 ac_cpp='$CPP $CPPFLAGS'
56891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56900 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56902 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56903 for ac_func in _fabsf
56904 do :
56905 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56906 if test "x$ac_cv_func__fabsf" = xyes; then :
56907 cat >>confdefs.h <<_ACEOF
56908 #define HAVE__FABSF 1
56909 _ACEOF
56912 done
56921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56922 $as_echo_n "checking for fmodf declaration... " >&6; }
56923 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56924 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56925 $as_echo_n "(cached) " >&6
56926 else
56929 ac_ext=cpp
56930 ac_cpp='$CXXCPP $CPPFLAGS'
56931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56936 /* end confdefs.h. */
56937 #include <math.h>
56939 main ()
56941 fmodf(0, 0);
56943 return 0;
56945 _ACEOF
56946 if ac_fn_cxx_try_compile "$LINENO"; then :
56947 glibcxx_cv_func_fmodf_use=yes
56948 else
56949 glibcxx_cv_func_fmodf_use=no
56951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56952 ac_ext=c
56953 ac_cpp='$CPP $CPPFLAGS'
56954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56963 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56965 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56966 for ac_func in fmodf
56967 do :
56968 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56969 if test "x$ac_cv_func_fmodf" = xyes; then :
56970 cat >>confdefs.h <<_ACEOF
56971 #define HAVE_FMODF 1
56972 _ACEOF
56975 done
56977 else
56979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56980 $as_echo_n "checking for _fmodf declaration... " >&6; }
56981 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56982 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56983 $as_echo_n "(cached) " >&6
56984 else
56987 ac_ext=cpp
56988 ac_cpp='$CXXCPP $CPPFLAGS'
56989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56994 /* end confdefs.h. */
56995 #include <math.h>
56997 main ()
56999 _fmodf(0, 0);
57001 return 0;
57003 _ACEOF
57004 if ac_fn_cxx_try_compile "$LINENO"; then :
57005 glibcxx_cv_func__fmodf_use=yes
57006 else
57007 glibcxx_cv_func__fmodf_use=no
57009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57010 ac_ext=c
57011 ac_cpp='$CPP $CPPFLAGS'
57012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
57021 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
57023 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
57024 for ac_func in _fmodf
57025 do :
57026 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
57027 if test "x$ac_cv_func__fmodf" = xyes; then :
57028 cat >>confdefs.h <<_ACEOF
57029 #define HAVE__FMODF 1
57030 _ACEOF
57033 done
57042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
57043 $as_echo_n "checking for frexpf declaration... " >&6; }
57044 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
57045 if ${glibcxx_cv_func_frexpf_use+:} false; then :
57046 $as_echo_n "(cached) " >&6
57047 else
57050 ac_ext=cpp
57051 ac_cpp='$CXXCPP $CPPFLAGS'
57052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57057 /* end confdefs.h. */
57058 #include <math.h>
57060 main ()
57062 frexpf(0, 0);
57064 return 0;
57066 _ACEOF
57067 if ac_fn_cxx_try_compile "$LINENO"; then :
57068 glibcxx_cv_func_frexpf_use=yes
57069 else
57070 glibcxx_cv_func_frexpf_use=no
57072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57073 ac_ext=c
57074 ac_cpp='$CPP $CPPFLAGS'
57075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
57084 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
57086 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
57087 for ac_func in frexpf
57088 do :
57089 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
57090 if test "x$ac_cv_func_frexpf" = xyes; then :
57091 cat >>confdefs.h <<_ACEOF
57092 #define HAVE_FREXPF 1
57093 _ACEOF
57096 done
57098 else
57100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
57101 $as_echo_n "checking for _frexpf declaration... " >&6; }
57102 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
57103 if ${glibcxx_cv_func__frexpf_use+:} false; then :
57104 $as_echo_n "(cached) " >&6
57105 else
57108 ac_ext=cpp
57109 ac_cpp='$CXXCPP $CPPFLAGS'
57110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57115 /* end confdefs.h. */
57116 #include <math.h>
57118 main ()
57120 _frexpf(0, 0);
57122 return 0;
57124 _ACEOF
57125 if ac_fn_cxx_try_compile "$LINENO"; then :
57126 glibcxx_cv_func__frexpf_use=yes
57127 else
57128 glibcxx_cv_func__frexpf_use=no
57130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57131 ac_ext=c
57132 ac_cpp='$CPP $CPPFLAGS'
57133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
57142 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
57144 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
57145 for ac_func in _frexpf
57146 do :
57147 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
57148 if test "x$ac_cv_func__frexpf" = xyes; then :
57149 cat >>confdefs.h <<_ACEOF
57150 #define HAVE__FREXPF 1
57151 _ACEOF
57154 done
57163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
57164 $as_echo_n "checking for hypotf declaration... " >&6; }
57165 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
57166 if ${glibcxx_cv_func_hypotf_use+:} false; then :
57167 $as_echo_n "(cached) " >&6
57168 else
57171 ac_ext=cpp
57172 ac_cpp='$CXXCPP $CPPFLAGS'
57173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57178 /* end confdefs.h. */
57179 #include <math.h>
57181 main ()
57183 hypotf(0, 0);
57185 return 0;
57187 _ACEOF
57188 if ac_fn_cxx_try_compile "$LINENO"; then :
57189 glibcxx_cv_func_hypotf_use=yes
57190 else
57191 glibcxx_cv_func_hypotf_use=no
57193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57194 ac_ext=c
57195 ac_cpp='$CPP $CPPFLAGS'
57196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
57205 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
57207 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
57208 for ac_func in hypotf
57209 do :
57210 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
57211 if test "x$ac_cv_func_hypotf" = xyes; then :
57212 cat >>confdefs.h <<_ACEOF
57213 #define HAVE_HYPOTF 1
57214 _ACEOF
57217 done
57219 else
57221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
57222 $as_echo_n "checking for _hypotf declaration... " >&6; }
57223 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
57224 if ${glibcxx_cv_func__hypotf_use+:} false; then :
57225 $as_echo_n "(cached) " >&6
57226 else
57229 ac_ext=cpp
57230 ac_cpp='$CXXCPP $CPPFLAGS'
57231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57236 /* end confdefs.h. */
57237 #include <math.h>
57239 main ()
57241 _hypotf(0, 0);
57243 return 0;
57245 _ACEOF
57246 if ac_fn_cxx_try_compile "$LINENO"; then :
57247 glibcxx_cv_func__hypotf_use=yes
57248 else
57249 glibcxx_cv_func__hypotf_use=no
57251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57252 ac_ext=c
57253 ac_cpp='$CPP $CPPFLAGS'
57254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
57263 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
57265 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
57266 for ac_func in _hypotf
57267 do :
57268 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
57269 if test "x$ac_cv_func__hypotf" = xyes; then :
57270 cat >>confdefs.h <<_ACEOF
57271 #define HAVE__HYPOTF 1
57272 _ACEOF
57275 done
57284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
57285 $as_echo_n "checking for ldexpf declaration... " >&6; }
57286 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
57287 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
57288 $as_echo_n "(cached) " >&6
57289 else
57292 ac_ext=cpp
57293 ac_cpp='$CXXCPP $CPPFLAGS'
57294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57299 /* end confdefs.h. */
57300 #include <math.h>
57302 main ()
57304 ldexpf(0, 0);
57306 return 0;
57308 _ACEOF
57309 if ac_fn_cxx_try_compile "$LINENO"; then :
57310 glibcxx_cv_func_ldexpf_use=yes
57311 else
57312 glibcxx_cv_func_ldexpf_use=no
57314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57315 ac_ext=c
57316 ac_cpp='$CPP $CPPFLAGS'
57317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
57326 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
57328 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
57329 for ac_func in ldexpf
57330 do :
57331 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
57332 if test "x$ac_cv_func_ldexpf" = xyes; then :
57333 cat >>confdefs.h <<_ACEOF
57334 #define HAVE_LDEXPF 1
57335 _ACEOF
57338 done
57340 else
57342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
57343 $as_echo_n "checking for _ldexpf declaration... " >&6; }
57344 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
57345 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
57346 $as_echo_n "(cached) " >&6
57347 else
57350 ac_ext=cpp
57351 ac_cpp='$CXXCPP $CPPFLAGS'
57352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57357 /* end confdefs.h. */
57358 #include <math.h>
57360 main ()
57362 _ldexpf(0, 0);
57364 return 0;
57366 _ACEOF
57367 if ac_fn_cxx_try_compile "$LINENO"; then :
57368 glibcxx_cv_func__ldexpf_use=yes
57369 else
57370 glibcxx_cv_func__ldexpf_use=no
57372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57373 ac_ext=c
57374 ac_cpp='$CPP $CPPFLAGS'
57375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
57384 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
57386 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
57387 for ac_func in _ldexpf
57388 do :
57389 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
57390 if test "x$ac_cv_func__ldexpf" = xyes; then :
57391 cat >>confdefs.h <<_ACEOF
57392 #define HAVE__LDEXPF 1
57393 _ACEOF
57396 done
57405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
57406 $as_echo_n "checking for logf declaration... " >&6; }
57407 if test x${glibcxx_cv_func_logf_use+set} != xset; then
57408 if ${glibcxx_cv_func_logf_use+:} false; then :
57409 $as_echo_n "(cached) " >&6
57410 else
57413 ac_ext=cpp
57414 ac_cpp='$CXXCPP $CPPFLAGS'
57415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57420 /* end confdefs.h. */
57421 #include <math.h>
57422 #ifdef HAVE_IEEEFP_H
57423 #include <ieeefp.h>
57424 #endif
57427 main ()
57429 logf(0);
57431 return 0;
57433 _ACEOF
57434 if ac_fn_cxx_try_compile "$LINENO"; then :
57435 glibcxx_cv_func_logf_use=yes
57436 else
57437 glibcxx_cv_func_logf_use=no
57439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57440 ac_ext=c
57441 ac_cpp='$CPP $CPPFLAGS'
57442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
57451 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
57453 if test x$glibcxx_cv_func_logf_use = x"yes"; then
57454 for ac_func in logf
57455 do :
57456 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
57457 if test "x$ac_cv_func_logf" = xyes; then :
57458 cat >>confdefs.h <<_ACEOF
57459 #define HAVE_LOGF 1
57460 _ACEOF
57463 done
57465 else
57467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
57468 $as_echo_n "checking for _logf declaration... " >&6; }
57469 if test x${glibcxx_cv_func__logf_use+set} != xset; then
57470 if ${glibcxx_cv_func__logf_use+:} false; then :
57471 $as_echo_n "(cached) " >&6
57472 else
57475 ac_ext=cpp
57476 ac_cpp='$CXXCPP $CPPFLAGS'
57477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57482 /* end confdefs.h. */
57483 #include <math.h>
57484 #ifdef HAVE_IEEEFP_H
57485 #include <ieeefp.h>
57486 #endif
57489 main ()
57491 _logf(0);
57493 return 0;
57495 _ACEOF
57496 if ac_fn_cxx_try_compile "$LINENO"; then :
57497 glibcxx_cv_func__logf_use=yes
57498 else
57499 glibcxx_cv_func__logf_use=no
57501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57502 ac_ext=c
57503 ac_cpp='$CPP $CPPFLAGS'
57504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
57513 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
57515 if test x$glibcxx_cv_func__logf_use = x"yes"; then
57516 for ac_func in _logf
57517 do :
57518 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
57519 if test "x$ac_cv_func__logf" = xyes; then :
57520 cat >>confdefs.h <<_ACEOF
57521 #define HAVE__LOGF 1
57522 _ACEOF
57525 done
57534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
57535 $as_echo_n "checking for log10f declaration... " >&6; }
57536 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
57537 if ${glibcxx_cv_func_log10f_use+:} false; then :
57538 $as_echo_n "(cached) " >&6
57539 else
57542 ac_ext=cpp
57543 ac_cpp='$CXXCPP $CPPFLAGS'
57544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57549 /* end confdefs.h. */
57550 #include <math.h>
57551 #ifdef HAVE_IEEEFP_H
57552 #include <ieeefp.h>
57553 #endif
57556 main ()
57558 log10f(0);
57560 return 0;
57562 _ACEOF
57563 if ac_fn_cxx_try_compile "$LINENO"; then :
57564 glibcxx_cv_func_log10f_use=yes
57565 else
57566 glibcxx_cv_func_log10f_use=no
57568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57569 ac_ext=c
57570 ac_cpp='$CPP $CPPFLAGS'
57571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
57580 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
57582 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
57583 for ac_func in log10f
57584 do :
57585 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
57586 if test "x$ac_cv_func_log10f" = xyes; then :
57587 cat >>confdefs.h <<_ACEOF
57588 #define HAVE_LOG10F 1
57589 _ACEOF
57592 done
57594 else
57596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
57597 $as_echo_n "checking for _log10f declaration... " >&6; }
57598 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
57599 if ${glibcxx_cv_func__log10f_use+:} false; then :
57600 $as_echo_n "(cached) " >&6
57601 else
57604 ac_ext=cpp
57605 ac_cpp='$CXXCPP $CPPFLAGS'
57606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57611 /* end confdefs.h. */
57612 #include <math.h>
57613 #ifdef HAVE_IEEEFP_H
57614 #include <ieeefp.h>
57615 #endif
57618 main ()
57620 _log10f(0);
57622 return 0;
57624 _ACEOF
57625 if ac_fn_cxx_try_compile "$LINENO"; then :
57626 glibcxx_cv_func__log10f_use=yes
57627 else
57628 glibcxx_cv_func__log10f_use=no
57630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57631 ac_ext=c
57632 ac_cpp='$CPP $CPPFLAGS'
57633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
57642 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
57644 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
57645 for ac_func in _log10f
57646 do :
57647 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
57648 if test "x$ac_cv_func__log10f" = xyes; then :
57649 cat >>confdefs.h <<_ACEOF
57650 #define HAVE__LOG10F 1
57651 _ACEOF
57654 done
57663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
57664 $as_echo_n "checking for modff declaration... " >&6; }
57665 if test x${glibcxx_cv_func_modff_use+set} != xset; then
57666 if ${glibcxx_cv_func_modff_use+:} false; then :
57667 $as_echo_n "(cached) " >&6
57668 else
57671 ac_ext=cpp
57672 ac_cpp='$CXXCPP $CPPFLAGS'
57673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57678 /* end confdefs.h. */
57679 #include <math.h>
57681 main ()
57683 modff(0, 0);
57685 return 0;
57687 _ACEOF
57688 if ac_fn_cxx_try_compile "$LINENO"; then :
57689 glibcxx_cv_func_modff_use=yes
57690 else
57691 glibcxx_cv_func_modff_use=no
57693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57694 ac_ext=c
57695 ac_cpp='$CPP $CPPFLAGS'
57696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57705 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57707 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57708 for ac_func in modff
57709 do :
57710 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57711 if test "x$ac_cv_func_modff" = xyes; then :
57712 cat >>confdefs.h <<_ACEOF
57713 #define HAVE_MODFF 1
57714 _ACEOF
57717 done
57719 else
57721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57722 $as_echo_n "checking for _modff declaration... " >&6; }
57723 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57724 if ${glibcxx_cv_func__modff_use+:} false; then :
57725 $as_echo_n "(cached) " >&6
57726 else
57729 ac_ext=cpp
57730 ac_cpp='$CXXCPP $CPPFLAGS'
57731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57736 /* end confdefs.h. */
57737 #include <math.h>
57739 main ()
57741 _modff(0, 0);
57743 return 0;
57745 _ACEOF
57746 if ac_fn_cxx_try_compile "$LINENO"; then :
57747 glibcxx_cv_func__modff_use=yes
57748 else
57749 glibcxx_cv_func__modff_use=no
57751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57752 ac_ext=c
57753 ac_cpp='$CPP $CPPFLAGS'
57754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57763 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57765 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57766 for ac_func in _modff
57767 do :
57768 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57769 if test "x$ac_cv_func__modff" = xyes; then :
57770 cat >>confdefs.h <<_ACEOF
57771 #define HAVE__MODFF 1
57772 _ACEOF
57775 done
57784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57785 $as_echo_n "checking for modf declaration... " >&6; }
57786 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57787 if ${glibcxx_cv_func_modf_use+:} false; then :
57788 $as_echo_n "(cached) " >&6
57789 else
57792 ac_ext=cpp
57793 ac_cpp='$CXXCPP $CPPFLAGS'
57794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57799 /* end confdefs.h. */
57800 #include <math.h>
57802 main ()
57804 modf(0, 0);
57806 return 0;
57808 _ACEOF
57809 if ac_fn_cxx_try_compile "$LINENO"; then :
57810 glibcxx_cv_func_modf_use=yes
57811 else
57812 glibcxx_cv_func_modf_use=no
57814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57815 ac_ext=c
57816 ac_cpp='$CPP $CPPFLAGS'
57817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57826 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57828 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57829 for ac_func in modf
57830 do :
57831 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57832 if test "x$ac_cv_func_modf" = xyes; then :
57833 cat >>confdefs.h <<_ACEOF
57834 #define HAVE_MODF 1
57835 _ACEOF
57838 done
57840 else
57842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57843 $as_echo_n "checking for _modf declaration... " >&6; }
57844 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57845 if ${glibcxx_cv_func__modf_use+:} false; then :
57846 $as_echo_n "(cached) " >&6
57847 else
57850 ac_ext=cpp
57851 ac_cpp='$CXXCPP $CPPFLAGS'
57852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57857 /* end confdefs.h. */
57858 #include <math.h>
57860 main ()
57862 _modf(0, 0);
57864 return 0;
57866 _ACEOF
57867 if ac_fn_cxx_try_compile "$LINENO"; then :
57868 glibcxx_cv_func__modf_use=yes
57869 else
57870 glibcxx_cv_func__modf_use=no
57872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57873 ac_ext=c
57874 ac_cpp='$CPP $CPPFLAGS'
57875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57884 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57886 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57887 for ac_func in _modf
57888 do :
57889 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57890 if test "x$ac_cv_func__modf" = xyes; then :
57891 cat >>confdefs.h <<_ACEOF
57892 #define HAVE__MODF 1
57893 _ACEOF
57896 done
57905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57906 $as_echo_n "checking for powf declaration... " >&6; }
57907 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57908 if ${glibcxx_cv_func_powf_use+:} false; then :
57909 $as_echo_n "(cached) " >&6
57910 else
57913 ac_ext=cpp
57914 ac_cpp='$CXXCPP $CPPFLAGS'
57915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57920 /* end confdefs.h. */
57921 #include <math.h>
57923 main ()
57925 powf(0, 0);
57927 return 0;
57929 _ACEOF
57930 if ac_fn_cxx_try_compile "$LINENO"; then :
57931 glibcxx_cv_func_powf_use=yes
57932 else
57933 glibcxx_cv_func_powf_use=no
57935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57936 ac_ext=c
57937 ac_cpp='$CPP $CPPFLAGS'
57938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57947 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57949 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57950 for ac_func in powf
57951 do :
57952 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57953 if test "x$ac_cv_func_powf" = xyes; then :
57954 cat >>confdefs.h <<_ACEOF
57955 #define HAVE_POWF 1
57956 _ACEOF
57959 done
57961 else
57963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57964 $as_echo_n "checking for _powf declaration... " >&6; }
57965 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57966 if ${glibcxx_cv_func__powf_use+:} false; then :
57967 $as_echo_n "(cached) " >&6
57968 else
57971 ac_ext=cpp
57972 ac_cpp='$CXXCPP $CPPFLAGS'
57973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57978 /* end confdefs.h. */
57979 #include <math.h>
57981 main ()
57983 _powf(0, 0);
57985 return 0;
57987 _ACEOF
57988 if ac_fn_cxx_try_compile "$LINENO"; then :
57989 glibcxx_cv_func__powf_use=yes
57990 else
57991 glibcxx_cv_func__powf_use=no
57993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57994 ac_ext=c
57995 ac_cpp='$CPP $CPPFLAGS'
57996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
58005 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
58007 if test x$glibcxx_cv_func__powf_use = x"yes"; then
58008 for ac_func in _powf
58009 do :
58010 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
58011 if test "x$ac_cv_func__powf" = xyes; then :
58012 cat >>confdefs.h <<_ACEOF
58013 #define HAVE__POWF 1
58014 _ACEOF
58017 done
58026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
58027 $as_echo_n "checking for sqrtf declaration... " >&6; }
58028 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
58029 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
58030 $as_echo_n "(cached) " >&6
58031 else
58034 ac_ext=cpp
58035 ac_cpp='$CXXCPP $CPPFLAGS'
58036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58041 /* end confdefs.h. */
58042 #include <math.h>
58043 #ifdef HAVE_IEEEFP_H
58044 #include <ieeefp.h>
58045 #endif
58048 main ()
58050 sqrtf(0);
58052 return 0;
58054 _ACEOF
58055 if ac_fn_cxx_try_compile "$LINENO"; then :
58056 glibcxx_cv_func_sqrtf_use=yes
58057 else
58058 glibcxx_cv_func_sqrtf_use=no
58060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58061 ac_ext=c
58062 ac_cpp='$CPP $CPPFLAGS'
58063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
58072 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
58074 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
58075 for ac_func in sqrtf
58076 do :
58077 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
58078 if test "x$ac_cv_func_sqrtf" = xyes; then :
58079 cat >>confdefs.h <<_ACEOF
58080 #define HAVE_SQRTF 1
58081 _ACEOF
58084 done
58086 else
58088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
58089 $as_echo_n "checking for _sqrtf declaration... " >&6; }
58090 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
58091 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
58092 $as_echo_n "(cached) " >&6
58093 else
58096 ac_ext=cpp
58097 ac_cpp='$CXXCPP $CPPFLAGS'
58098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58103 /* end confdefs.h. */
58104 #include <math.h>
58105 #ifdef HAVE_IEEEFP_H
58106 #include <ieeefp.h>
58107 #endif
58110 main ()
58112 _sqrtf(0);
58114 return 0;
58116 _ACEOF
58117 if ac_fn_cxx_try_compile "$LINENO"; then :
58118 glibcxx_cv_func__sqrtf_use=yes
58119 else
58120 glibcxx_cv_func__sqrtf_use=no
58122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58123 ac_ext=c
58124 ac_cpp='$CPP $CPPFLAGS'
58125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
58134 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
58136 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
58137 for ac_func in _sqrtf
58138 do :
58139 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
58140 if test "x$ac_cv_func__sqrtf" = xyes; then :
58141 cat >>confdefs.h <<_ACEOF
58142 #define HAVE__SQRTF 1
58143 _ACEOF
58146 done
58155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
58156 $as_echo_n "checking for sincosf declaration... " >&6; }
58157 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
58158 if ${glibcxx_cv_func_sincosf_use+:} false; then :
58159 $as_echo_n "(cached) " >&6
58160 else
58163 ac_ext=cpp
58164 ac_cpp='$CXXCPP $CPPFLAGS'
58165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58170 /* end confdefs.h. */
58171 #include <math.h>
58173 main ()
58175 sincosf(0, 0, 0);
58177 return 0;
58179 _ACEOF
58180 if ac_fn_cxx_try_compile "$LINENO"; then :
58181 glibcxx_cv_func_sincosf_use=yes
58182 else
58183 glibcxx_cv_func_sincosf_use=no
58185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58186 ac_ext=c
58187 ac_cpp='$CPP $CPPFLAGS'
58188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
58197 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
58199 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
58200 for ac_func in sincosf
58201 do :
58202 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
58203 if test "x$ac_cv_func_sincosf" = xyes; then :
58204 cat >>confdefs.h <<_ACEOF
58205 #define HAVE_SINCOSF 1
58206 _ACEOF
58209 done
58211 else
58213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
58214 $as_echo_n "checking for _sincosf declaration... " >&6; }
58215 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
58216 if ${glibcxx_cv_func__sincosf_use+:} false; then :
58217 $as_echo_n "(cached) " >&6
58218 else
58221 ac_ext=cpp
58222 ac_cpp='$CXXCPP $CPPFLAGS'
58223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58228 /* end confdefs.h. */
58229 #include <math.h>
58231 main ()
58233 _sincosf(0, 0, 0);
58235 return 0;
58237 _ACEOF
58238 if ac_fn_cxx_try_compile "$LINENO"; then :
58239 glibcxx_cv_func__sincosf_use=yes
58240 else
58241 glibcxx_cv_func__sincosf_use=no
58243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58244 ac_ext=c
58245 ac_cpp='$CPP $CPPFLAGS'
58246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
58255 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
58257 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
58258 for ac_func in _sincosf
58259 do :
58260 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
58261 if test "x$ac_cv_func__sincosf" = xyes; then :
58262 cat >>confdefs.h <<_ACEOF
58263 #define HAVE__SINCOSF 1
58264 _ACEOF
58267 done
58276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
58277 $as_echo_n "checking for finitef declaration... " >&6; }
58278 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
58279 if ${glibcxx_cv_func_finitef_use+:} false; then :
58280 $as_echo_n "(cached) " >&6
58281 else
58284 ac_ext=cpp
58285 ac_cpp='$CXXCPP $CPPFLAGS'
58286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58291 /* end confdefs.h. */
58292 #include <math.h>
58293 #ifdef HAVE_IEEEFP_H
58294 #include <ieeefp.h>
58295 #endif
58298 main ()
58300 finitef(0);
58302 return 0;
58304 _ACEOF
58305 if ac_fn_cxx_try_compile "$LINENO"; then :
58306 glibcxx_cv_func_finitef_use=yes
58307 else
58308 glibcxx_cv_func_finitef_use=no
58310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58311 ac_ext=c
58312 ac_cpp='$CPP $CPPFLAGS'
58313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
58322 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
58324 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
58325 for ac_func in finitef
58326 do :
58327 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
58328 if test "x$ac_cv_func_finitef" = xyes; then :
58329 cat >>confdefs.h <<_ACEOF
58330 #define HAVE_FINITEF 1
58331 _ACEOF
58334 done
58336 else
58338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
58339 $as_echo_n "checking for _finitef declaration... " >&6; }
58340 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
58341 if ${glibcxx_cv_func__finitef_use+:} false; then :
58342 $as_echo_n "(cached) " >&6
58343 else
58346 ac_ext=cpp
58347 ac_cpp='$CXXCPP $CPPFLAGS'
58348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58353 /* end confdefs.h. */
58354 #include <math.h>
58355 #ifdef HAVE_IEEEFP_H
58356 #include <ieeefp.h>
58357 #endif
58360 main ()
58362 _finitef(0);
58364 return 0;
58366 _ACEOF
58367 if ac_fn_cxx_try_compile "$LINENO"; then :
58368 glibcxx_cv_func__finitef_use=yes
58369 else
58370 glibcxx_cv_func__finitef_use=no
58372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58373 ac_ext=c
58374 ac_cpp='$CPP $CPPFLAGS'
58375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
58384 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
58386 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
58387 for ac_func in _finitef
58388 do :
58389 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
58390 if test "x$ac_cv_func__finitef" = xyes; then :
58391 cat >>confdefs.h <<_ACEOF
58392 #define HAVE__FINITEF 1
58393 _ACEOF
58396 done
58405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
58406 $as_echo_n "checking for long double trig functions... " >&6; }
58407 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
58408 $as_echo_n "(cached) " >&6
58409 else
58412 ac_ext=cpp
58413 ac_cpp='$CXXCPP $CPPFLAGS'
58414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58419 /* end confdefs.h. */
58420 #include <math.h>
58422 main ()
58424 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
58426 return 0;
58428 _ACEOF
58429 if ac_fn_cxx_try_compile "$LINENO"; then :
58430 glibcxx_cv_func_long_double_trig_use=yes
58431 else
58432 glibcxx_cv_func_long_double_trig_use=no
58434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58435 ac_ext=c
58436 ac_cpp='$CPP $CPPFLAGS'
58437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
58444 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
58445 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
58446 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
58447 do :
58448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58450 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58451 cat >>confdefs.h <<_ACEOF
58452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58453 _ACEOF
58456 done
58458 else
58459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
58460 $as_echo_n "checking for _long double trig functions... " >&6; }
58461 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
58462 $as_echo_n "(cached) " >&6
58463 else
58466 ac_ext=cpp
58467 ac_cpp='$CXXCPP $CPPFLAGS'
58468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58473 /* end confdefs.h. */
58474 #include <math.h>
58476 main ()
58478 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
58480 return 0;
58482 _ACEOF
58483 if ac_fn_cxx_try_compile "$LINENO"; then :
58484 glibcxx_cv_func__long_double_trig_use=yes
58485 else
58486 glibcxx_cv_func__long_double_trig_use=no
58488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58489 ac_ext=c
58490 ac_cpp='$CPP $CPPFLAGS'
58491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
58498 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
58499 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
58500 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
58501 do :
58502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58504 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58505 cat >>confdefs.h <<_ACEOF
58506 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58507 _ACEOF
58510 done
58519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
58520 $as_echo_n "checking for long double round functions... " >&6; }
58521 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
58522 $as_echo_n "(cached) " >&6
58523 else
58526 ac_ext=cpp
58527 ac_cpp='$CXXCPP $CPPFLAGS'
58528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58533 /* end confdefs.h. */
58534 #include <math.h>
58536 main ()
58538 ceill (0); floorl (0);
58540 return 0;
58542 _ACEOF
58543 if ac_fn_cxx_try_compile "$LINENO"; then :
58544 glibcxx_cv_func_long_double_round_use=yes
58545 else
58546 glibcxx_cv_func_long_double_round_use=no
58548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58549 ac_ext=c
58550 ac_cpp='$CPP $CPPFLAGS'
58551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
58558 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
58559 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
58560 for ac_func in ceill floorl
58561 do :
58562 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58563 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58564 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58565 cat >>confdefs.h <<_ACEOF
58566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58567 _ACEOF
58570 done
58572 else
58573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
58574 $as_echo_n "checking for _long double round functions... " >&6; }
58575 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
58576 $as_echo_n "(cached) " >&6
58577 else
58580 ac_ext=cpp
58581 ac_cpp='$CXXCPP $CPPFLAGS'
58582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58587 /* end confdefs.h. */
58588 #include <math.h>
58590 main ()
58592 _ceill (0); _floorl (0);
58594 return 0;
58596 _ACEOF
58597 if ac_fn_cxx_try_compile "$LINENO"; then :
58598 glibcxx_cv_func__long_double_round_use=yes
58599 else
58600 glibcxx_cv_func__long_double_round_use=no
58602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58603 ac_ext=c
58604 ac_cpp='$CPP $CPPFLAGS'
58605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
58612 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
58613 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
58614 for ac_func in _ceill _floorl
58615 do :
58616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58618 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
58619 cat >>confdefs.h <<_ACEOF
58620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58621 _ACEOF
58624 done
58634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
58635 $as_echo_n "checking for isnanl declaration... " >&6; }
58636 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
58637 if ${glibcxx_cv_func_isnanl_use+:} false; then :
58638 $as_echo_n "(cached) " >&6
58639 else
58642 ac_ext=cpp
58643 ac_cpp='$CXXCPP $CPPFLAGS'
58644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58649 /* end confdefs.h. */
58650 #include <math.h>
58651 #ifdef HAVE_IEEEFP_H
58652 #include <ieeefp.h>
58653 #endif
58656 main ()
58658 isnanl(0);
58660 return 0;
58662 _ACEOF
58663 if ac_fn_cxx_try_compile "$LINENO"; then :
58664 glibcxx_cv_func_isnanl_use=yes
58665 else
58666 glibcxx_cv_func_isnanl_use=no
58668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58669 ac_ext=c
58670 ac_cpp='$CPP $CPPFLAGS'
58671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
58680 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
58682 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
58683 for ac_func in isnanl
58684 do :
58685 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
58686 if test "x$ac_cv_func_isnanl" = xyes; then :
58687 cat >>confdefs.h <<_ACEOF
58688 #define HAVE_ISNANL 1
58689 _ACEOF
58692 done
58694 else
58696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
58697 $as_echo_n "checking for _isnanl declaration... " >&6; }
58698 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
58699 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58700 $as_echo_n "(cached) " >&6
58701 else
58704 ac_ext=cpp
58705 ac_cpp='$CXXCPP $CPPFLAGS'
58706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58711 /* end confdefs.h. */
58712 #include <math.h>
58713 #ifdef HAVE_IEEEFP_H
58714 #include <ieeefp.h>
58715 #endif
58718 main ()
58720 _isnanl(0);
58722 return 0;
58724 _ACEOF
58725 if ac_fn_cxx_try_compile "$LINENO"; then :
58726 glibcxx_cv_func__isnanl_use=yes
58727 else
58728 glibcxx_cv_func__isnanl_use=no
58730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58731 ac_ext=c
58732 ac_cpp='$CPP $CPPFLAGS'
58733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58742 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58744 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58745 for ac_func in _isnanl
58746 do :
58747 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58748 if test "x$ac_cv_func__isnanl" = xyes; then :
58749 cat >>confdefs.h <<_ACEOF
58750 #define HAVE__ISNANL 1
58751 _ACEOF
58754 done
58763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58764 $as_echo_n "checking for isinfl declaration... " >&6; }
58765 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58766 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58767 $as_echo_n "(cached) " >&6
58768 else
58771 ac_ext=cpp
58772 ac_cpp='$CXXCPP $CPPFLAGS'
58773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58778 /* end confdefs.h. */
58779 #include <math.h>
58780 #ifdef HAVE_IEEEFP_H
58781 #include <ieeefp.h>
58782 #endif
58785 main ()
58787 isinfl(0);
58789 return 0;
58791 _ACEOF
58792 if ac_fn_cxx_try_compile "$LINENO"; then :
58793 glibcxx_cv_func_isinfl_use=yes
58794 else
58795 glibcxx_cv_func_isinfl_use=no
58797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58798 ac_ext=c
58799 ac_cpp='$CPP $CPPFLAGS'
58800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58809 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58811 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58812 for ac_func in isinfl
58813 do :
58814 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58815 if test "x$ac_cv_func_isinfl" = xyes; then :
58816 cat >>confdefs.h <<_ACEOF
58817 #define HAVE_ISINFL 1
58818 _ACEOF
58821 done
58823 else
58825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58826 $as_echo_n "checking for _isinfl declaration... " >&6; }
58827 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58828 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58829 $as_echo_n "(cached) " >&6
58830 else
58833 ac_ext=cpp
58834 ac_cpp='$CXXCPP $CPPFLAGS'
58835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58840 /* end confdefs.h. */
58841 #include <math.h>
58842 #ifdef HAVE_IEEEFP_H
58843 #include <ieeefp.h>
58844 #endif
58847 main ()
58849 _isinfl(0);
58851 return 0;
58853 _ACEOF
58854 if ac_fn_cxx_try_compile "$LINENO"; then :
58855 glibcxx_cv_func__isinfl_use=yes
58856 else
58857 glibcxx_cv_func__isinfl_use=no
58859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58860 ac_ext=c
58861 ac_cpp='$CPP $CPPFLAGS'
58862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58871 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58873 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58874 for ac_func in _isinfl
58875 do :
58876 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58877 if test "x$ac_cv_func__isinfl" = xyes; then :
58878 cat >>confdefs.h <<_ACEOF
58879 #define HAVE__ISINFL 1
58880 _ACEOF
58883 done
58892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58893 $as_echo_n "checking for atan2l declaration... " >&6; }
58894 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58895 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58896 $as_echo_n "(cached) " >&6
58897 else
58900 ac_ext=cpp
58901 ac_cpp='$CXXCPP $CPPFLAGS'
58902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58907 /* end confdefs.h. */
58908 #include <math.h>
58910 main ()
58912 atan2l(0, 0);
58914 return 0;
58916 _ACEOF
58917 if ac_fn_cxx_try_compile "$LINENO"; then :
58918 glibcxx_cv_func_atan2l_use=yes
58919 else
58920 glibcxx_cv_func_atan2l_use=no
58922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58923 ac_ext=c
58924 ac_cpp='$CPP $CPPFLAGS'
58925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58934 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58936 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58937 for ac_func in atan2l
58938 do :
58939 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58940 if test "x$ac_cv_func_atan2l" = xyes; then :
58941 cat >>confdefs.h <<_ACEOF
58942 #define HAVE_ATAN2L 1
58943 _ACEOF
58946 done
58948 else
58950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58951 $as_echo_n "checking for _atan2l declaration... " >&6; }
58952 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58953 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58954 $as_echo_n "(cached) " >&6
58955 else
58958 ac_ext=cpp
58959 ac_cpp='$CXXCPP $CPPFLAGS'
58960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58965 /* end confdefs.h. */
58966 #include <math.h>
58968 main ()
58970 _atan2l(0, 0);
58972 return 0;
58974 _ACEOF
58975 if ac_fn_cxx_try_compile "$LINENO"; then :
58976 glibcxx_cv_func__atan2l_use=yes
58977 else
58978 glibcxx_cv_func__atan2l_use=no
58980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58981 ac_ext=c
58982 ac_cpp='$CPP $CPPFLAGS'
58983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58992 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58994 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58995 for ac_func in _atan2l
58996 do :
58997 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58998 if test "x$ac_cv_func__atan2l" = xyes; then :
58999 cat >>confdefs.h <<_ACEOF
59000 #define HAVE__ATAN2L 1
59001 _ACEOF
59004 done
59013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
59014 $as_echo_n "checking for expl declaration... " >&6; }
59015 if test x${glibcxx_cv_func_expl_use+set} != xset; then
59016 if ${glibcxx_cv_func_expl_use+:} false; then :
59017 $as_echo_n "(cached) " >&6
59018 else
59021 ac_ext=cpp
59022 ac_cpp='$CXXCPP $CPPFLAGS'
59023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59028 /* end confdefs.h. */
59029 #include <math.h>
59030 #ifdef HAVE_IEEEFP_H
59031 #include <ieeefp.h>
59032 #endif
59035 main ()
59037 expl(0);
59039 return 0;
59041 _ACEOF
59042 if ac_fn_cxx_try_compile "$LINENO"; then :
59043 glibcxx_cv_func_expl_use=yes
59044 else
59045 glibcxx_cv_func_expl_use=no
59047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59048 ac_ext=c
59049 ac_cpp='$CPP $CPPFLAGS'
59050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
59059 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
59061 if test x$glibcxx_cv_func_expl_use = x"yes"; then
59062 for ac_func in expl
59063 do :
59064 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
59065 if test "x$ac_cv_func_expl" = xyes; then :
59066 cat >>confdefs.h <<_ACEOF
59067 #define HAVE_EXPL 1
59068 _ACEOF
59071 done
59073 else
59075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
59076 $as_echo_n "checking for _expl declaration... " >&6; }
59077 if test x${glibcxx_cv_func__expl_use+set} != xset; then
59078 if ${glibcxx_cv_func__expl_use+:} false; then :
59079 $as_echo_n "(cached) " >&6
59080 else
59083 ac_ext=cpp
59084 ac_cpp='$CXXCPP $CPPFLAGS'
59085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59090 /* end confdefs.h. */
59091 #include <math.h>
59092 #ifdef HAVE_IEEEFP_H
59093 #include <ieeefp.h>
59094 #endif
59097 main ()
59099 _expl(0);
59101 return 0;
59103 _ACEOF
59104 if ac_fn_cxx_try_compile "$LINENO"; then :
59105 glibcxx_cv_func__expl_use=yes
59106 else
59107 glibcxx_cv_func__expl_use=no
59109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59110 ac_ext=c
59111 ac_cpp='$CPP $CPPFLAGS'
59112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
59121 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
59123 if test x$glibcxx_cv_func__expl_use = x"yes"; then
59124 for ac_func in _expl
59125 do :
59126 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
59127 if test "x$ac_cv_func__expl" = xyes; then :
59128 cat >>confdefs.h <<_ACEOF
59129 #define HAVE__EXPL 1
59130 _ACEOF
59133 done
59142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
59143 $as_echo_n "checking for fabsl declaration... " >&6; }
59144 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
59145 if ${glibcxx_cv_func_fabsl_use+:} false; then :
59146 $as_echo_n "(cached) " >&6
59147 else
59150 ac_ext=cpp
59151 ac_cpp='$CXXCPP $CPPFLAGS'
59152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59157 /* end confdefs.h. */
59158 #include <math.h>
59159 #ifdef HAVE_IEEEFP_H
59160 #include <ieeefp.h>
59161 #endif
59164 main ()
59166 fabsl(0);
59168 return 0;
59170 _ACEOF
59171 if ac_fn_cxx_try_compile "$LINENO"; then :
59172 glibcxx_cv_func_fabsl_use=yes
59173 else
59174 glibcxx_cv_func_fabsl_use=no
59176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59177 ac_ext=c
59178 ac_cpp='$CPP $CPPFLAGS'
59179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
59188 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
59190 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
59191 for ac_func in fabsl
59192 do :
59193 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
59194 if test "x$ac_cv_func_fabsl" = xyes; then :
59195 cat >>confdefs.h <<_ACEOF
59196 #define HAVE_FABSL 1
59197 _ACEOF
59200 done
59202 else
59204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
59205 $as_echo_n "checking for _fabsl declaration... " >&6; }
59206 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
59207 if ${glibcxx_cv_func__fabsl_use+:} false; then :
59208 $as_echo_n "(cached) " >&6
59209 else
59212 ac_ext=cpp
59213 ac_cpp='$CXXCPP $CPPFLAGS'
59214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59219 /* end confdefs.h. */
59220 #include <math.h>
59221 #ifdef HAVE_IEEEFP_H
59222 #include <ieeefp.h>
59223 #endif
59226 main ()
59228 _fabsl(0);
59230 return 0;
59232 _ACEOF
59233 if ac_fn_cxx_try_compile "$LINENO"; then :
59234 glibcxx_cv_func__fabsl_use=yes
59235 else
59236 glibcxx_cv_func__fabsl_use=no
59238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59239 ac_ext=c
59240 ac_cpp='$CPP $CPPFLAGS'
59241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
59250 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
59252 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
59253 for ac_func in _fabsl
59254 do :
59255 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
59256 if test "x$ac_cv_func__fabsl" = xyes; then :
59257 cat >>confdefs.h <<_ACEOF
59258 #define HAVE__FABSL 1
59259 _ACEOF
59262 done
59271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
59272 $as_echo_n "checking for fmodl declaration... " >&6; }
59273 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
59274 if ${glibcxx_cv_func_fmodl_use+:} false; then :
59275 $as_echo_n "(cached) " >&6
59276 else
59279 ac_ext=cpp
59280 ac_cpp='$CXXCPP $CPPFLAGS'
59281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59286 /* end confdefs.h. */
59287 #include <math.h>
59289 main ()
59291 fmodl(0, 0);
59293 return 0;
59295 _ACEOF
59296 if ac_fn_cxx_try_compile "$LINENO"; then :
59297 glibcxx_cv_func_fmodl_use=yes
59298 else
59299 glibcxx_cv_func_fmodl_use=no
59301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59302 ac_ext=c
59303 ac_cpp='$CPP $CPPFLAGS'
59304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
59313 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
59315 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
59316 for ac_func in fmodl
59317 do :
59318 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
59319 if test "x$ac_cv_func_fmodl" = xyes; then :
59320 cat >>confdefs.h <<_ACEOF
59321 #define HAVE_FMODL 1
59322 _ACEOF
59325 done
59327 else
59329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
59330 $as_echo_n "checking for _fmodl declaration... " >&6; }
59331 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
59332 if ${glibcxx_cv_func__fmodl_use+:} false; then :
59333 $as_echo_n "(cached) " >&6
59334 else
59337 ac_ext=cpp
59338 ac_cpp='$CXXCPP $CPPFLAGS'
59339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59344 /* end confdefs.h. */
59345 #include <math.h>
59347 main ()
59349 _fmodl(0, 0);
59351 return 0;
59353 _ACEOF
59354 if ac_fn_cxx_try_compile "$LINENO"; then :
59355 glibcxx_cv_func__fmodl_use=yes
59356 else
59357 glibcxx_cv_func__fmodl_use=no
59359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59360 ac_ext=c
59361 ac_cpp='$CPP $CPPFLAGS'
59362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
59371 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
59373 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
59374 for ac_func in _fmodl
59375 do :
59376 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
59377 if test "x$ac_cv_func__fmodl" = xyes; then :
59378 cat >>confdefs.h <<_ACEOF
59379 #define HAVE__FMODL 1
59380 _ACEOF
59383 done
59392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
59393 $as_echo_n "checking for frexpl declaration... " >&6; }
59394 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
59395 if ${glibcxx_cv_func_frexpl_use+:} false; then :
59396 $as_echo_n "(cached) " >&6
59397 else
59400 ac_ext=cpp
59401 ac_cpp='$CXXCPP $CPPFLAGS'
59402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59407 /* end confdefs.h. */
59408 #include <math.h>
59410 main ()
59412 frexpl(0, 0);
59414 return 0;
59416 _ACEOF
59417 if ac_fn_cxx_try_compile "$LINENO"; then :
59418 glibcxx_cv_func_frexpl_use=yes
59419 else
59420 glibcxx_cv_func_frexpl_use=no
59422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59423 ac_ext=c
59424 ac_cpp='$CPP $CPPFLAGS'
59425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
59434 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
59436 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
59437 for ac_func in frexpl
59438 do :
59439 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
59440 if test "x$ac_cv_func_frexpl" = xyes; then :
59441 cat >>confdefs.h <<_ACEOF
59442 #define HAVE_FREXPL 1
59443 _ACEOF
59446 done
59448 else
59450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
59451 $as_echo_n "checking for _frexpl declaration... " >&6; }
59452 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
59453 if ${glibcxx_cv_func__frexpl_use+:} false; then :
59454 $as_echo_n "(cached) " >&6
59455 else
59458 ac_ext=cpp
59459 ac_cpp='$CXXCPP $CPPFLAGS'
59460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59465 /* end confdefs.h. */
59466 #include <math.h>
59468 main ()
59470 _frexpl(0, 0);
59472 return 0;
59474 _ACEOF
59475 if ac_fn_cxx_try_compile "$LINENO"; then :
59476 glibcxx_cv_func__frexpl_use=yes
59477 else
59478 glibcxx_cv_func__frexpl_use=no
59480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59481 ac_ext=c
59482 ac_cpp='$CPP $CPPFLAGS'
59483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
59492 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
59494 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
59495 for ac_func in _frexpl
59496 do :
59497 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
59498 if test "x$ac_cv_func__frexpl" = xyes; then :
59499 cat >>confdefs.h <<_ACEOF
59500 #define HAVE__FREXPL 1
59501 _ACEOF
59504 done
59513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
59514 $as_echo_n "checking for hypotl declaration... " >&6; }
59515 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
59516 if ${glibcxx_cv_func_hypotl_use+:} false; then :
59517 $as_echo_n "(cached) " >&6
59518 else
59521 ac_ext=cpp
59522 ac_cpp='$CXXCPP $CPPFLAGS'
59523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59528 /* end confdefs.h. */
59529 #include <math.h>
59531 main ()
59533 hypotl(0, 0);
59535 return 0;
59537 _ACEOF
59538 if ac_fn_cxx_try_compile "$LINENO"; then :
59539 glibcxx_cv_func_hypotl_use=yes
59540 else
59541 glibcxx_cv_func_hypotl_use=no
59543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59544 ac_ext=c
59545 ac_cpp='$CPP $CPPFLAGS'
59546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
59555 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
59557 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
59558 for ac_func in hypotl
59559 do :
59560 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
59561 if test "x$ac_cv_func_hypotl" = xyes; then :
59562 cat >>confdefs.h <<_ACEOF
59563 #define HAVE_HYPOTL 1
59564 _ACEOF
59567 done
59569 else
59571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
59572 $as_echo_n "checking for _hypotl declaration... " >&6; }
59573 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
59574 if ${glibcxx_cv_func__hypotl_use+:} false; then :
59575 $as_echo_n "(cached) " >&6
59576 else
59579 ac_ext=cpp
59580 ac_cpp='$CXXCPP $CPPFLAGS'
59581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59586 /* end confdefs.h. */
59587 #include <math.h>
59589 main ()
59591 _hypotl(0, 0);
59593 return 0;
59595 _ACEOF
59596 if ac_fn_cxx_try_compile "$LINENO"; then :
59597 glibcxx_cv_func__hypotl_use=yes
59598 else
59599 glibcxx_cv_func__hypotl_use=no
59601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59602 ac_ext=c
59603 ac_cpp='$CPP $CPPFLAGS'
59604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
59613 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
59615 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
59616 for ac_func in _hypotl
59617 do :
59618 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
59619 if test "x$ac_cv_func__hypotl" = xyes; then :
59620 cat >>confdefs.h <<_ACEOF
59621 #define HAVE__HYPOTL 1
59622 _ACEOF
59625 done
59634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
59635 $as_echo_n "checking for ldexpl declaration... " >&6; }
59636 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
59637 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
59638 $as_echo_n "(cached) " >&6
59639 else
59642 ac_ext=cpp
59643 ac_cpp='$CXXCPP $CPPFLAGS'
59644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59649 /* end confdefs.h. */
59650 #include <math.h>
59652 main ()
59654 ldexpl(0, 0);
59656 return 0;
59658 _ACEOF
59659 if ac_fn_cxx_try_compile "$LINENO"; then :
59660 glibcxx_cv_func_ldexpl_use=yes
59661 else
59662 glibcxx_cv_func_ldexpl_use=no
59664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59665 ac_ext=c
59666 ac_cpp='$CPP $CPPFLAGS'
59667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
59676 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
59678 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
59679 for ac_func in ldexpl
59680 do :
59681 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
59682 if test "x$ac_cv_func_ldexpl" = xyes; then :
59683 cat >>confdefs.h <<_ACEOF
59684 #define HAVE_LDEXPL 1
59685 _ACEOF
59688 done
59690 else
59692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
59693 $as_echo_n "checking for _ldexpl declaration... " >&6; }
59694 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
59695 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
59696 $as_echo_n "(cached) " >&6
59697 else
59700 ac_ext=cpp
59701 ac_cpp='$CXXCPP $CPPFLAGS'
59702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59707 /* end confdefs.h. */
59708 #include <math.h>
59710 main ()
59712 _ldexpl(0, 0);
59714 return 0;
59716 _ACEOF
59717 if ac_fn_cxx_try_compile "$LINENO"; then :
59718 glibcxx_cv_func__ldexpl_use=yes
59719 else
59720 glibcxx_cv_func__ldexpl_use=no
59722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59723 ac_ext=c
59724 ac_cpp='$CPP $CPPFLAGS'
59725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59734 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59736 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59737 for ac_func in _ldexpl
59738 do :
59739 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59740 if test "x$ac_cv_func__ldexpl" = xyes; then :
59741 cat >>confdefs.h <<_ACEOF
59742 #define HAVE__LDEXPL 1
59743 _ACEOF
59746 done
59755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59756 $as_echo_n "checking for logl declaration... " >&6; }
59757 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59758 if ${glibcxx_cv_func_logl_use+:} false; then :
59759 $as_echo_n "(cached) " >&6
59760 else
59763 ac_ext=cpp
59764 ac_cpp='$CXXCPP $CPPFLAGS'
59765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59770 /* end confdefs.h. */
59771 #include <math.h>
59772 #ifdef HAVE_IEEEFP_H
59773 #include <ieeefp.h>
59774 #endif
59777 main ()
59779 logl(0);
59781 return 0;
59783 _ACEOF
59784 if ac_fn_cxx_try_compile "$LINENO"; then :
59785 glibcxx_cv_func_logl_use=yes
59786 else
59787 glibcxx_cv_func_logl_use=no
59789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59790 ac_ext=c
59791 ac_cpp='$CPP $CPPFLAGS'
59792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59801 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59803 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59804 for ac_func in logl
59805 do :
59806 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59807 if test "x$ac_cv_func_logl" = xyes; then :
59808 cat >>confdefs.h <<_ACEOF
59809 #define HAVE_LOGL 1
59810 _ACEOF
59813 done
59815 else
59817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59818 $as_echo_n "checking for _logl declaration... " >&6; }
59819 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59820 if ${glibcxx_cv_func__logl_use+:} false; then :
59821 $as_echo_n "(cached) " >&6
59822 else
59825 ac_ext=cpp
59826 ac_cpp='$CXXCPP $CPPFLAGS'
59827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59832 /* end confdefs.h. */
59833 #include <math.h>
59834 #ifdef HAVE_IEEEFP_H
59835 #include <ieeefp.h>
59836 #endif
59839 main ()
59841 _logl(0);
59843 return 0;
59845 _ACEOF
59846 if ac_fn_cxx_try_compile "$LINENO"; then :
59847 glibcxx_cv_func__logl_use=yes
59848 else
59849 glibcxx_cv_func__logl_use=no
59851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59852 ac_ext=c
59853 ac_cpp='$CPP $CPPFLAGS'
59854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59863 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59865 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59866 for ac_func in _logl
59867 do :
59868 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59869 if test "x$ac_cv_func__logl" = xyes; then :
59870 cat >>confdefs.h <<_ACEOF
59871 #define HAVE__LOGL 1
59872 _ACEOF
59875 done
59884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59885 $as_echo_n "checking for log10l declaration... " >&6; }
59886 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59887 if ${glibcxx_cv_func_log10l_use+:} false; then :
59888 $as_echo_n "(cached) " >&6
59889 else
59892 ac_ext=cpp
59893 ac_cpp='$CXXCPP $CPPFLAGS'
59894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59899 /* end confdefs.h. */
59900 #include <math.h>
59901 #ifdef HAVE_IEEEFP_H
59902 #include <ieeefp.h>
59903 #endif
59906 main ()
59908 log10l(0);
59910 return 0;
59912 _ACEOF
59913 if ac_fn_cxx_try_compile "$LINENO"; then :
59914 glibcxx_cv_func_log10l_use=yes
59915 else
59916 glibcxx_cv_func_log10l_use=no
59918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59919 ac_ext=c
59920 ac_cpp='$CPP $CPPFLAGS'
59921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59930 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59932 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59933 for ac_func in log10l
59934 do :
59935 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59936 if test "x$ac_cv_func_log10l" = xyes; then :
59937 cat >>confdefs.h <<_ACEOF
59938 #define HAVE_LOG10L 1
59939 _ACEOF
59942 done
59944 else
59946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59947 $as_echo_n "checking for _log10l declaration... " >&6; }
59948 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59949 if ${glibcxx_cv_func__log10l_use+:} false; then :
59950 $as_echo_n "(cached) " >&6
59951 else
59954 ac_ext=cpp
59955 ac_cpp='$CXXCPP $CPPFLAGS'
59956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59961 /* end confdefs.h. */
59962 #include <math.h>
59963 #ifdef HAVE_IEEEFP_H
59964 #include <ieeefp.h>
59965 #endif
59968 main ()
59970 _log10l(0);
59972 return 0;
59974 _ACEOF
59975 if ac_fn_cxx_try_compile "$LINENO"; then :
59976 glibcxx_cv_func__log10l_use=yes
59977 else
59978 glibcxx_cv_func__log10l_use=no
59980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59981 ac_ext=c
59982 ac_cpp='$CPP $CPPFLAGS'
59983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59992 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59994 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59995 for ac_func in _log10l
59996 do :
59997 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59998 if test "x$ac_cv_func__log10l" = xyes; then :
59999 cat >>confdefs.h <<_ACEOF
60000 #define HAVE__LOG10L 1
60001 _ACEOF
60004 done
60013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
60014 $as_echo_n "checking for modfl declaration... " >&6; }
60015 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
60016 if ${glibcxx_cv_func_modfl_use+:} false; then :
60017 $as_echo_n "(cached) " >&6
60018 else
60021 ac_ext=cpp
60022 ac_cpp='$CXXCPP $CPPFLAGS'
60023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60028 /* end confdefs.h. */
60029 #include <math.h>
60031 main ()
60033 modfl(0, 0);
60035 return 0;
60037 _ACEOF
60038 if ac_fn_cxx_try_compile "$LINENO"; then :
60039 glibcxx_cv_func_modfl_use=yes
60040 else
60041 glibcxx_cv_func_modfl_use=no
60043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60044 ac_ext=c
60045 ac_cpp='$CPP $CPPFLAGS'
60046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
60055 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
60057 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
60058 for ac_func in modfl
60059 do :
60060 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
60061 if test "x$ac_cv_func_modfl" = xyes; then :
60062 cat >>confdefs.h <<_ACEOF
60063 #define HAVE_MODFL 1
60064 _ACEOF
60067 done
60069 else
60071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
60072 $as_echo_n "checking for _modfl declaration... " >&6; }
60073 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
60074 if ${glibcxx_cv_func__modfl_use+:} false; then :
60075 $as_echo_n "(cached) " >&6
60076 else
60079 ac_ext=cpp
60080 ac_cpp='$CXXCPP $CPPFLAGS'
60081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60086 /* end confdefs.h. */
60087 #include <math.h>
60089 main ()
60091 _modfl(0, 0);
60093 return 0;
60095 _ACEOF
60096 if ac_fn_cxx_try_compile "$LINENO"; then :
60097 glibcxx_cv_func__modfl_use=yes
60098 else
60099 glibcxx_cv_func__modfl_use=no
60101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60102 ac_ext=c
60103 ac_cpp='$CPP $CPPFLAGS'
60104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
60113 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
60115 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
60116 for ac_func in _modfl
60117 do :
60118 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
60119 if test "x$ac_cv_func__modfl" = xyes; then :
60120 cat >>confdefs.h <<_ACEOF
60121 #define HAVE__MODFL 1
60122 _ACEOF
60125 done
60134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
60135 $as_echo_n "checking for powl declaration... " >&6; }
60136 if test x${glibcxx_cv_func_powl_use+set} != xset; then
60137 if ${glibcxx_cv_func_powl_use+:} false; then :
60138 $as_echo_n "(cached) " >&6
60139 else
60142 ac_ext=cpp
60143 ac_cpp='$CXXCPP $CPPFLAGS'
60144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60149 /* end confdefs.h. */
60150 #include <math.h>
60152 main ()
60154 powl(0, 0);
60156 return 0;
60158 _ACEOF
60159 if ac_fn_cxx_try_compile "$LINENO"; then :
60160 glibcxx_cv_func_powl_use=yes
60161 else
60162 glibcxx_cv_func_powl_use=no
60164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60165 ac_ext=c
60166 ac_cpp='$CPP $CPPFLAGS'
60167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
60176 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
60178 if test x$glibcxx_cv_func_powl_use = x"yes"; then
60179 for ac_func in powl
60180 do :
60181 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
60182 if test "x$ac_cv_func_powl" = xyes; then :
60183 cat >>confdefs.h <<_ACEOF
60184 #define HAVE_POWL 1
60185 _ACEOF
60188 done
60190 else
60192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
60193 $as_echo_n "checking for _powl declaration... " >&6; }
60194 if test x${glibcxx_cv_func__powl_use+set} != xset; then
60195 if ${glibcxx_cv_func__powl_use+:} false; then :
60196 $as_echo_n "(cached) " >&6
60197 else
60200 ac_ext=cpp
60201 ac_cpp='$CXXCPP $CPPFLAGS'
60202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60207 /* end confdefs.h. */
60208 #include <math.h>
60210 main ()
60212 _powl(0, 0);
60214 return 0;
60216 _ACEOF
60217 if ac_fn_cxx_try_compile "$LINENO"; then :
60218 glibcxx_cv_func__powl_use=yes
60219 else
60220 glibcxx_cv_func__powl_use=no
60222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60223 ac_ext=c
60224 ac_cpp='$CPP $CPPFLAGS'
60225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
60234 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
60236 if test x$glibcxx_cv_func__powl_use = x"yes"; then
60237 for ac_func in _powl
60238 do :
60239 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
60240 if test "x$ac_cv_func__powl" = xyes; then :
60241 cat >>confdefs.h <<_ACEOF
60242 #define HAVE__POWL 1
60243 _ACEOF
60246 done
60255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
60256 $as_echo_n "checking for sqrtl declaration... " >&6; }
60257 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60258 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
60259 $as_echo_n "(cached) " >&6
60260 else
60263 ac_ext=cpp
60264 ac_cpp='$CXXCPP $CPPFLAGS'
60265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60270 /* end confdefs.h. */
60271 #include <math.h>
60272 #ifdef HAVE_IEEEFP_H
60273 #include <ieeefp.h>
60274 #endif
60277 main ()
60279 sqrtl(0);
60281 return 0;
60283 _ACEOF
60284 if ac_fn_cxx_try_compile "$LINENO"; then :
60285 glibcxx_cv_func_sqrtl_use=yes
60286 else
60287 glibcxx_cv_func_sqrtl_use=no
60289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60290 ac_ext=c
60291 ac_cpp='$CPP $CPPFLAGS'
60292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
60301 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
60303 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60304 for ac_func in sqrtl
60305 do :
60306 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
60307 if test "x$ac_cv_func_sqrtl" = xyes; then :
60308 cat >>confdefs.h <<_ACEOF
60309 #define HAVE_SQRTL 1
60310 _ACEOF
60313 done
60315 else
60317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
60318 $as_echo_n "checking for _sqrtl declaration... " >&6; }
60319 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60320 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
60321 $as_echo_n "(cached) " >&6
60322 else
60325 ac_ext=cpp
60326 ac_cpp='$CXXCPP $CPPFLAGS'
60327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60332 /* end confdefs.h. */
60333 #include <math.h>
60334 #ifdef HAVE_IEEEFP_H
60335 #include <ieeefp.h>
60336 #endif
60339 main ()
60341 _sqrtl(0);
60343 return 0;
60345 _ACEOF
60346 if ac_fn_cxx_try_compile "$LINENO"; then :
60347 glibcxx_cv_func__sqrtl_use=yes
60348 else
60349 glibcxx_cv_func__sqrtl_use=no
60351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60352 ac_ext=c
60353 ac_cpp='$CPP $CPPFLAGS'
60354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
60363 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
60365 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60366 for ac_func in _sqrtl
60367 do :
60368 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
60369 if test "x$ac_cv_func__sqrtl" = xyes; then :
60370 cat >>confdefs.h <<_ACEOF
60371 #define HAVE__SQRTL 1
60372 _ACEOF
60375 done
60384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
60385 $as_echo_n "checking for sincosl declaration... " >&6; }
60386 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60387 if ${glibcxx_cv_func_sincosl_use+:} false; then :
60388 $as_echo_n "(cached) " >&6
60389 else
60392 ac_ext=cpp
60393 ac_cpp='$CXXCPP $CPPFLAGS'
60394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60399 /* end confdefs.h. */
60400 #include <math.h>
60402 main ()
60404 sincosl(0, 0, 0);
60406 return 0;
60408 _ACEOF
60409 if ac_fn_cxx_try_compile "$LINENO"; then :
60410 glibcxx_cv_func_sincosl_use=yes
60411 else
60412 glibcxx_cv_func_sincosl_use=no
60414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60415 ac_ext=c
60416 ac_cpp='$CPP $CPPFLAGS'
60417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
60426 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
60428 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
60429 for ac_func in sincosl
60430 do :
60431 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
60432 if test "x$ac_cv_func_sincosl" = xyes; then :
60433 cat >>confdefs.h <<_ACEOF
60434 #define HAVE_SINCOSL 1
60435 _ACEOF
60438 done
60440 else
60442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
60443 $as_echo_n "checking for _sincosl declaration... " >&6; }
60444 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
60445 if ${glibcxx_cv_func__sincosl_use+:} false; then :
60446 $as_echo_n "(cached) " >&6
60447 else
60450 ac_ext=cpp
60451 ac_cpp='$CXXCPP $CPPFLAGS'
60452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60457 /* end confdefs.h. */
60458 #include <math.h>
60460 main ()
60462 _sincosl(0, 0, 0);
60464 return 0;
60466 _ACEOF
60467 if ac_fn_cxx_try_compile "$LINENO"; then :
60468 glibcxx_cv_func__sincosl_use=yes
60469 else
60470 glibcxx_cv_func__sincosl_use=no
60472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60473 ac_ext=c
60474 ac_cpp='$CPP $CPPFLAGS'
60475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
60484 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
60486 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
60487 for ac_func in _sincosl
60488 do :
60489 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
60490 if test "x$ac_cv_func__sincosl" = xyes; then :
60491 cat >>confdefs.h <<_ACEOF
60492 #define HAVE__SINCOSL 1
60493 _ACEOF
60496 done
60505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
60506 $as_echo_n "checking for finitel declaration... " >&6; }
60507 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
60508 if ${glibcxx_cv_func_finitel_use+:} false; then :
60509 $as_echo_n "(cached) " >&6
60510 else
60513 ac_ext=cpp
60514 ac_cpp='$CXXCPP $CPPFLAGS'
60515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60520 /* end confdefs.h. */
60521 #include <math.h>
60522 #ifdef HAVE_IEEEFP_H
60523 #include <ieeefp.h>
60524 #endif
60527 main ()
60529 finitel(0);
60531 return 0;
60533 _ACEOF
60534 if ac_fn_cxx_try_compile "$LINENO"; then :
60535 glibcxx_cv_func_finitel_use=yes
60536 else
60537 glibcxx_cv_func_finitel_use=no
60539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60540 ac_ext=c
60541 ac_cpp='$CPP $CPPFLAGS'
60542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
60551 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
60553 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
60554 for ac_func in finitel
60555 do :
60556 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
60557 if test "x$ac_cv_func_finitel" = xyes; then :
60558 cat >>confdefs.h <<_ACEOF
60559 #define HAVE_FINITEL 1
60560 _ACEOF
60563 done
60565 else
60567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
60568 $as_echo_n "checking for _finitel declaration... " >&6; }
60569 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
60570 if ${glibcxx_cv_func__finitel_use+:} false; then :
60571 $as_echo_n "(cached) " >&6
60572 else
60575 ac_ext=cpp
60576 ac_cpp='$CXXCPP $CPPFLAGS'
60577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60582 /* end confdefs.h. */
60583 #include <math.h>
60584 #ifdef HAVE_IEEEFP_H
60585 #include <ieeefp.h>
60586 #endif
60589 main ()
60591 _finitel(0);
60593 return 0;
60595 _ACEOF
60596 if ac_fn_cxx_try_compile "$LINENO"; then :
60597 glibcxx_cv_func__finitel_use=yes
60598 else
60599 glibcxx_cv_func__finitel_use=no
60601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60602 ac_ext=c
60603 ac_cpp='$CPP $CPPFLAGS'
60604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
60613 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
60615 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
60616 for ac_func in _finitel
60617 do :
60618 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
60619 if test "x$ac_cv_func__finitel" = xyes; then :
60620 cat >>confdefs.h <<_ACEOF
60621 #define HAVE__FINITEL 1
60622 _ACEOF
60625 done
60633 LIBS="$ac_save_LIBS"
60634 CXXFLAGS="$ac_save_CXXFLAGS"
60637 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60638 ac_save_CXXFLAGS="$CXXFLAGS"
60639 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
60643 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
60644 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
60645 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
60646 $as_echo_n "(cached) " >&6
60647 else
60650 ac_ext=cpp
60651 ac_cpp='$CXXCPP $CPPFLAGS'
60652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60657 /* end confdefs.h. */
60658 #include <stdlib.h>
60660 main ()
60662 at_quick_exit(0);
60664 return 0;
60666 _ACEOF
60667 if ac_fn_cxx_try_compile "$LINENO"; then :
60668 glibcxx_cv_func_at_quick_exit_use=yes
60669 else
60670 glibcxx_cv_func_at_quick_exit_use=no
60672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60673 ac_ext=c
60674 ac_cpp='$CPP $CPPFLAGS'
60675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
60684 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
60685 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
60686 for ac_func in at_quick_exit
60687 do :
60688 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
60689 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
60690 cat >>confdefs.h <<_ACEOF
60691 #define HAVE_AT_QUICK_EXIT 1
60692 _ACEOF
60695 done
60700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60701 $as_echo_n "checking for quick_exit declaration... " >&6; }
60702 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60703 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60704 $as_echo_n "(cached) " >&6
60705 else
60708 ac_ext=cpp
60709 ac_cpp='$CXXCPP $CPPFLAGS'
60710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60715 /* end confdefs.h. */
60716 #include <stdlib.h>
60718 main ()
60720 quick_exit(0);
60722 return 0;
60724 _ACEOF
60725 if ac_fn_cxx_try_compile "$LINENO"; then :
60726 glibcxx_cv_func_quick_exit_use=yes
60727 else
60728 glibcxx_cv_func_quick_exit_use=no
60730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60731 ac_ext=c
60732 ac_cpp='$CPP $CPPFLAGS'
60733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60742 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60743 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60744 for ac_func in quick_exit
60745 do :
60746 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60747 if test "x$ac_cv_func_quick_exit" = xyes; then :
60748 cat >>confdefs.h <<_ACEOF
60749 #define HAVE_QUICK_EXIT 1
60750 _ACEOF
60753 done
60758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60759 $as_echo_n "checking for strtold declaration... " >&6; }
60760 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60761 if ${glibcxx_cv_func_strtold_use+:} false; then :
60762 $as_echo_n "(cached) " >&6
60763 else
60766 ac_ext=cpp
60767 ac_cpp='$CXXCPP $CPPFLAGS'
60768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60773 /* end confdefs.h. */
60774 #include <stdlib.h>
60776 main ()
60778 strtold(0, 0);
60780 return 0;
60782 _ACEOF
60783 if ac_fn_cxx_try_compile "$LINENO"; then :
60784 glibcxx_cv_func_strtold_use=yes
60785 else
60786 glibcxx_cv_func_strtold_use=no
60788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60789 ac_ext=c
60790 ac_cpp='$CPP $CPPFLAGS'
60791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60800 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60801 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60802 for ac_func in strtold
60803 do :
60804 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60805 if test "x$ac_cv_func_strtold" = xyes; then :
60806 cat >>confdefs.h <<_ACEOF
60807 #define HAVE_STRTOLD 1
60808 _ACEOF
60811 done
60818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60819 $as_echo_n "checking for strtof declaration... " >&6; }
60820 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60821 if ${glibcxx_cv_func_strtof_use+:} false; then :
60822 $as_echo_n "(cached) " >&6
60823 else
60826 ac_ext=cpp
60827 ac_cpp='$CXXCPP $CPPFLAGS'
60828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60833 /* end confdefs.h. */
60834 #include <stdlib.h>
60836 main ()
60838 strtof(0, 0);
60840 return 0;
60842 _ACEOF
60843 if ac_fn_cxx_try_compile "$LINENO"; then :
60844 glibcxx_cv_func_strtof_use=yes
60845 else
60846 glibcxx_cv_func_strtof_use=no
60848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60849 ac_ext=c
60850 ac_cpp='$CPP $CPPFLAGS'
60851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60860 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60861 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60862 for ac_func in strtof
60863 do :
60864 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60865 if test "x$ac_cv_func_strtof" = xyes; then :
60866 cat >>confdefs.h <<_ACEOF
60867 #define HAVE_STRTOF 1
60868 _ACEOF
60871 done
60878 CXXFLAGS="$ac_save_CXXFLAGS"
60880 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60881 do :
60882 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60883 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60884 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60885 cat >>confdefs.h <<_ACEOF
60886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60887 _ACEOF
60890 done
60892 for ac_func in _wfopen
60893 do :
60894 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60895 if test "x$ac_cv_func__wfopen" = xyes; then :
60896 cat >>confdefs.h <<_ACEOF
60897 #define HAVE__WFOPEN 1
60898 _ACEOF
60901 done
60905 # Check whether --enable-tls was given.
60906 if test "${enable_tls+set}" = set; then :
60907 enableval=$enable_tls;
60908 case "$enableval" in
60909 yes|no) ;;
60910 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60911 esac
60913 else
60914 enable_tls=yes
60918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60919 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60920 if ${gcc_cv_have_tls+:} false; then :
60921 $as_echo_n "(cached) " >&6
60922 else
60924 if test "$cross_compiling" = yes; then :
60925 if test x$gcc_no_link = xyes; then
60926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60929 /* end confdefs.h. */
60930 __thread int a; int b; int main() { return a = b; }
60931 _ACEOF
60932 if ac_fn_c_try_link "$LINENO"; then :
60933 chktls_save_LDFLAGS="$LDFLAGS"
60934 case $host in
60935 *-*-linux* | -*-uclinuxfdpic*)
60936 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60938 esac
60939 chktls_save_CFLAGS="$CFLAGS"
60940 CFLAGS="-fPIC $CFLAGS"
60941 if test x$gcc_no_link = xyes; then
60942 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60945 /* end confdefs.h. */
60946 int f() { return 0; }
60947 _ACEOF
60948 if ac_fn_c_try_link "$LINENO"; then :
60949 if test x$gcc_no_link = xyes; then
60950 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60953 /* end confdefs.h. */
60954 __thread int a; int b; int f() { return a = b; }
60955 _ACEOF
60956 if ac_fn_c_try_link "$LINENO"; then :
60957 gcc_cv_have_tls=yes
60958 else
60959 gcc_cv_have_tls=no
60961 rm -f core conftest.err conftest.$ac_objext \
60962 conftest$ac_exeext conftest.$ac_ext
60963 else
60964 gcc_cv_have_tls=yes
60966 rm -f core conftest.err conftest.$ac_objext \
60967 conftest$ac_exeext conftest.$ac_ext
60968 CFLAGS="$chktls_save_CFLAGS"
60969 LDFLAGS="$chktls_save_LDFLAGS"
60970 else
60971 gcc_cv_have_tls=no
60973 rm -f core conftest.err conftest.$ac_objext \
60974 conftest$ac_exeext conftest.$ac_ext
60977 else
60978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60979 /* end confdefs.h. */
60980 __thread int a; int b; int main() { return a = b; }
60981 _ACEOF
60982 if ac_fn_c_try_run "$LINENO"; then :
60983 chktls_save_LDFLAGS="$LDFLAGS"
60984 LDFLAGS="-static $LDFLAGS"
60985 if test x$gcc_no_link = xyes; then
60986 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60989 /* end confdefs.h. */
60990 int main() { return 0; }
60991 _ACEOF
60992 if ac_fn_c_try_link "$LINENO"; then :
60993 if test "$cross_compiling" = yes; then :
60994 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60995 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60996 as_fn_error $? "cannot run test program while cross compiling
60997 See \`config.log' for more details" "$LINENO" 5; }
60998 else
60999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61000 /* end confdefs.h. */
61001 __thread int a; int b; int main() { return a = b; }
61002 _ACEOF
61003 if ac_fn_c_try_run "$LINENO"; then :
61004 gcc_cv_have_tls=yes
61005 else
61006 gcc_cv_have_tls=no
61008 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
61009 conftest.$ac_objext conftest.beam conftest.$ac_ext
61012 else
61013 gcc_cv_have_tls=yes
61015 rm -f core conftest.err conftest.$ac_objext \
61016 conftest$ac_exeext conftest.$ac_ext
61017 LDFLAGS="$chktls_save_LDFLAGS"
61018 if test $gcc_cv_have_tls = yes; then
61019 chktls_save_CFLAGS="$CFLAGS"
61020 thread_CFLAGS=failed
61021 for flag in '' '-pthread' '-lpthread'; do
61022 CFLAGS="$flag $chktls_save_CFLAGS"
61023 if test x$gcc_no_link = xyes; then
61024 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61027 /* end confdefs.h. */
61028 #include <pthread.h>
61029 void *g(void *d) { return NULL; }
61031 main ()
61033 pthread_t t; pthread_create(&t,NULL,g,NULL);
61035 return 0;
61037 _ACEOF
61038 if ac_fn_c_try_link "$LINENO"; then :
61039 thread_CFLAGS="$flag"
61041 rm -f core conftest.err conftest.$ac_objext \
61042 conftest$ac_exeext conftest.$ac_ext
61043 if test "X$thread_CFLAGS" != Xfailed; then
61044 break
61046 done
61047 CFLAGS="$chktls_save_CFLAGS"
61048 if test "X$thread_CFLAGS" != Xfailed; then
61049 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
61050 if test "$cross_compiling" = yes; then :
61051 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
61052 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
61053 as_fn_error $? "cannot run test program while cross compiling
61054 See \`config.log' for more details" "$LINENO" 5; }
61055 else
61056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61057 /* end confdefs.h. */
61058 #include <pthread.h>
61059 __thread int a;
61060 static int *volatile a_in_other_thread;
61061 static void *
61062 thread_func (void *arg)
61064 a_in_other_thread = &a;
61065 return (void *)0;
61068 main ()
61070 pthread_t thread;
61071 void *thread_retval;
61072 int *volatile a_in_main_thread;
61073 a_in_main_thread = &a;
61074 if (pthread_create (&thread, (pthread_attr_t *)0,
61075 thread_func, (void *)0))
61076 return 0;
61077 if (pthread_join (thread, &thread_retval))
61078 return 0;
61079 return (a_in_other_thread == a_in_main_thread);
61081 return 0;
61083 _ACEOF
61084 if ac_fn_c_try_run "$LINENO"; then :
61085 gcc_cv_have_tls=yes
61086 else
61087 gcc_cv_have_tls=no
61089 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
61090 conftest.$ac_objext conftest.beam conftest.$ac_ext
61093 CFLAGS="$chktls_save_CFLAGS"
61096 else
61097 gcc_cv_have_tls=no
61099 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
61100 conftest.$ac_objext conftest.beam conftest.$ac_ext
61104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
61105 $as_echo "$gcc_cv_have_tls" >&6; }
61106 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
61108 $as_echo "#define HAVE_TLS 1" >>confdefs.h
61112 *-netbsd* | *-openbsd*)
61113 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61116 # If we're not using GNU ld, then there's no point in even trying these
61117 # tests. Check for that first. We should have already tested for gld
61118 # by now (in libtool), but require it now just to be safe...
61119 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61120 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61124 # The name set by libtool depends on the version of libtool. Shame on us
61125 # for depending on an impl detail, but c'est la vie. Older versions used
61126 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61127 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61128 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61129 # set (hence we're using an older libtool), then set it.
61130 if test x${with_gnu_ld+set} != xset; then
61131 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61132 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61133 with_gnu_ld=no
61134 else
61135 with_gnu_ld=$ac_cv_prog_gnu_ld
61139 # Start by getting the version number. I think the libtool test already
61140 # does some of this, but throws away the result.
61141 glibcxx_ld_is_gold=no
61142 glibcxx_ld_is_mold=no
61143 if test x"$with_gnu_ld" = x"yes"; then
61144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61145 $as_echo_n "checking for ld version... " >&6; }
61147 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61148 glibcxx_ld_is_gold=yes
61149 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
61150 glibcxx_ld_is_mold=yes
61152 ldver=`$LD --version 2>/dev/null |
61153 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61155 glibcxx_gnu_ld_version=`echo $ldver | \
61156 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61158 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61161 # Set --gc-sections.
61162 glibcxx_have_gc_sections=no
61163 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
61164 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61165 glibcxx_have_gc_sections=yes
61167 else
61168 glibcxx_gcsections_min_ld=21602
61169 if test x"$with_gnu_ld" = x"yes" &&
61170 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61171 glibcxx_have_gc_sections=yes
61174 if test "$glibcxx_have_gc_sections" = "yes"; then
61175 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61176 # NB: This flag only works reliably after 2.16.1. Configure tests
61177 # for this are difficult, so hard wire a value that should work.
61179 ac_test_CFLAGS="${CFLAGS+set}"
61180 ac_save_CFLAGS="$CFLAGS"
61181 CFLAGS='-Wl,--gc-sections'
61183 # Check for -Wl,--gc-sections
61184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61185 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61186 if test x$gcc_no_link = xyes; then
61187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61190 /* end confdefs.h. */
61191 int one(void) { return 1; }
61192 int two(void) { return 2; }
61195 main ()
61197 two();
61199 return 0;
61201 _ACEOF
61202 if ac_fn_c_try_link "$LINENO"; then :
61203 ac_gcsections=yes
61204 else
61205 ac_gcsections=no
61207 rm -f core conftest.err conftest.$ac_objext \
61208 conftest$ac_exeext conftest.$ac_ext
61209 if test "$ac_gcsections" = "yes"; then
61210 rm -f conftest.c
61211 touch conftest.c
61212 if $CC -c conftest.c; then
61213 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61214 grep "Warning: gc-sections option ignored" > /dev/null; then
61215 ac_gcsections=no
61218 rm -f conftest.c conftest.o conftest
61220 if test "$ac_gcsections" = "yes"; then
61221 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61224 $as_echo "$ac_gcsections" >&6; }
61226 if test "$ac_test_CFLAGS" = set; then
61227 CFLAGS="$ac_save_CFLAGS"
61228 else
61229 # this is the suspicious part
61230 CFLAGS=''
61234 # Set -z,relro.
61235 # Note this is only for shared objects.
61236 ac_ld_relro=no
61237 if test x"$with_gnu_ld" = x"yes"; then
61238 # cygwin and mingw uses PE, which has no ELF relro support,
61239 # multi target ld may confuse configure machinery
61240 case "$host" in
61241 *-*-cygwin*)
61243 *-*-mingw*)
61246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61247 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61248 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61249 if test -n "$cxx_z_relo"; then
61250 OPT_LDFLAGS="-Wl,-z,relro"
61251 ac_ld_relro=yes
61253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61254 $as_echo "$ac_ld_relro" >&6; }
61255 esac
61258 # Set linker optimization flags.
61259 if test x"$with_gnu_ld" = x"yes"; then
61260 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61266 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
61268 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
61270 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
61272 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
61274 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
61276 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
61278 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
61280 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
61282 if test x"long_double_math_on_this_cpu" = x"yes"; then
61283 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
61285 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
61287 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
61290 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
61291 do :
61292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61294 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61295 cat >>confdefs.h <<_ACEOF
61296 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61297 _ACEOF
61300 done
61302 for ac_func in timespec_get
61303 do :
61304 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
61305 if test "x$ac_cv_func_timespec_get" = xyes; then :
61306 cat >>confdefs.h <<_ACEOF
61307 #define HAVE_TIMESPEC_GET 1
61308 _ACEOF
61311 done
61313 for ac_func in sockatmark
61314 do :
61315 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
61316 if test "x$ac_cv_func_sockatmark" = xyes; then :
61317 cat >>confdefs.h <<_ACEOF
61318 #define HAVE_SOCKATMARK 1
61319 _ACEOF
61322 done
61325 *-qnx6.1* | *-qnx6.2*)
61326 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61329 # If we're not using GNU ld, then there's no point in even trying these
61330 # tests. Check for that first. We should have already tested for gld
61331 # by now (in libtool), but require it now just to be safe...
61332 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
61333 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
61337 # The name set by libtool depends on the version of libtool. Shame on us
61338 # for depending on an impl detail, but c'est la vie. Older versions used
61339 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
61340 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
61341 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
61342 # set (hence we're using an older libtool), then set it.
61343 if test x${with_gnu_ld+set} != xset; then
61344 if test x${ac_cv_prog_gnu_ld+set} != xset; then
61345 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
61346 with_gnu_ld=no
61347 else
61348 with_gnu_ld=$ac_cv_prog_gnu_ld
61352 # Start by getting the version number. I think the libtool test already
61353 # does some of this, but throws away the result.
61354 glibcxx_ld_is_gold=no
61355 glibcxx_ld_is_mold=no
61356 if test x"$with_gnu_ld" = x"yes"; then
61357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
61358 $as_echo_n "checking for ld version... " >&6; }
61360 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
61361 glibcxx_ld_is_gold=yes
61362 elif $LD --version 2>/dev/null | grep 'mold' >/dev/null 2>&1; then
61363 glibcxx_ld_is_mold=yes
61365 ldver=`$LD --version 2>/dev/null |
61366 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
61368 glibcxx_gnu_ld_version=`echo $ldver | \
61369 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
61370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
61371 $as_echo "$glibcxx_gnu_ld_version" >&6; }
61374 # Set --gc-sections.
61375 glibcxx_have_gc_sections=no
61376 if test "$glibcxx_ld_is_gold" = "yes" || test "$glibcxx_ld_is_mold" = "yes" ; then
61377 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
61378 glibcxx_have_gc_sections=yes
61380 else
61381 glibcxx_gcsections_min_ld=21602
61382 if test x"$with_gnu_ld" = x"yes" &&
61383 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
61384 glibcxx_have_gc_sections=yes
61387 if test "$glibcxx_have_gc_sections" = "yes"; then
61388 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
61389 # NB: This flag only works reliably after 2.16.1. Configure tests
61390 # for this are difficult, so hard wire a value that should work.
61392 ac_test_CFLAGS="${CFLAGS+set}"
61393 ac_save_CFLAGS="$CFLAGS"
61394 CFLAGS='-Wl,--gc-sections'
61396 # Check for -Wl,--gc-sections
61397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
61398 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
61399 if test x$gcc_no_link = xyes; then
61400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61403 /* end confdefs.h. */
61404 int one(void) { return 1; }
61405 int two(void) { return 2; }
61408 main ()
61410 two();
61412 return 0;
61414 _ACEOF
61415 if ac_fn_c_try_link "$LINENO"; then :
61416 ac_gcsections=yes
61417 else
61418 ac_gcsections=no
61420 rm -f core conftest.err conftest.$ac_objext \
61421 conftest$ac_exeext conftest.$ac_ext
61422 if test "$ac_gcsections" = "yes"; then
61423 rm -f conftest.c
61424 touch conftest.c
61425 if $CC -c conftest.c; then
61426 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
61427 grep "Warning: gc-sections option ignored" > /dev/null; then
61428 ac_gcsections=no
61431 rm -f conftest.c conftest.o conftest
61433 if test "$ac_gcsections" = "yes"; then
61434 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
61436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
61437 $as_echo "$ac_gcsections" >&6; }
61439 if test "$ac_test_CFLAGS" = set; then
61440 CFLAGS="$ac_save_CFLAGS"
61441 else
61442 # this is the suspicious part
61443 CFLAGS=''
61447 # Set -z,relro.
61448 # Note this is only for shared objects.
61449 ac_ld_relro=no
61450 if test x"$with_gnu_ld" = x"yes"; then
61451 # cygwin and mingw uses PE, which has no ELF relro support,
61452 # multi target ld may confuse configure machinery
61453 case "$host" in
61454 *-*-cygwin*)
61456 *-*-mingw*)
61459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
61460 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
61461 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
61462 if test -n "$cxx_z_relo"; then
61463 OPT_LDFLAGS="-Wl,-z,relro"
61464 ac_ld_relro=yes
61466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
61467 $as_echo "$ac_ld_relro" >&6; }
61468 esac
61471 # Set linker optimization flags.
61472 if test x"$with_gnu_ld" = x"yes"; then
61473 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
61479 $as_echo "#define HAVE_COSF 1" >>confdefs.h
61481 $as_echo "#define HAVE_COSL 1" >>confdefs.h
61483 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
61485 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
61487 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
61489 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
61491 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
61493 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
61495 $as_echo "#define HAVE_SINF 1" >>confdefs.h
61497 $as_echo "#define HAVE_SINL 1" >>confdefs.h
61499 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
61501 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
61504 *-tpf)
61505 SECTION_FLAGS='-ffunction-sections -fdata-sections'
61506 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
61508 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
61510 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
61512 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
61514 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
61516 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
61518 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
61520 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
61522 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
61524 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
61526 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
61528 if test x"long_double_math_on_this_cpu" = x"yes"; then
61529 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
61531 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
61533 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
61535 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
61539 *-*vms*)
61540 # Check for available headers.
61541 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
61543 ac_test_CXXFLAGS="${CXXFLAGS+set}"
61544 ac_save_CXXFLAGS="$CXXFLAGS"
61545 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
61547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
61548 $as_echo_n "checking for sin in -lm... " >&6; }
61549 if ${ac_cv_lib_m_sin+:} false; then :
61550 $as_echo_n "(cached) " >&6
61551 else
61552 ac_check_lib_save_LIBS=$LIBS
61553 LIBS="-lm $LIBS"
61554 if test x$gcc_no_link = xyes; then
61555 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
61557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61558 /* end confdefs.h. */
61560 /* Override any GCC internal prototype to avoid an error.
61561 Use char because int might match the return type of a GCC
61562 builtin and then its argument prototype would still apply. */
61563 #ifdef __cplusplus
61564 extern "C"
61565 #endif
61566 char sin ();
61568 main ()
61570 return sin ();
61572 return 0;
61574 _ACEOF
61575 if ac_fn_c_try_link "$LINENO"; then :
61576 ac_cv_lib_m_sin=yes
61577 else
61578 ac_cv_lib_m_sin=no
61580 rm -f core conftest.err conftest.$ac_objext \
61581 conftest$ac_exeext conftest.$ac_ext
61582 LIBS=$ac_check_lib_save_LIBS
61584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
61585 $as_echo "$ac_cv_lib_m_sin" >&6; }
61586 if test "x$ac_cv_lib_m_sin" = xyes; then :
61587 libm="-lm"
61590 ac_save_LIBS="$LIBS"
61591 LIBS="$LIBS $libm"
61595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
61596 $as_echo_n "checking for isinf declaration... " >&6; }
61597 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
61598 if ${glibcxx_cv_func_isinf_use+:} false; then :
61599 $as_echo_n "(cached) " >&6
61600 else
61603 ac_ext=cpp
61604 ac_cpp='$CXXCPP $CPPFLAGS'
61605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61610 /* end confdefs.h. */
61611 #include <math.h>
61612 #ifdef HAVE_IEEEFP_H
61613 #include <ieeefp.h>
61614 #endif
61617 main ()
61619 isinf(0);
61621 return 0;
61623 _ACEOF
61624 if ac_fn_cxx_try_compile "$LINENO"; then :
61625 glibcxx_cv_func_isinf_use=yes
61626 else
61627 glibcxx_cv_func_isinf_use=no
61629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61630 ac_ext=c
61631 ac_cpp='$CPP $CPPFLAGS'
61632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
61641 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
61643 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
61644 for ac_func in isinf
61645 do :
61646 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
61647 if test "x$ac_cv_func_isinf" = xyes; then :
61648 cat >>confdefs.h <<_ACEOF
61649 #define HAVE_ISINF 1
61650 _ACEOF
61653 done
61655 else
61657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
61658 $as_echo_n "checking for _isinf declaration... " >&6; }
61659 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
61660 if ${glibcxx_cv_func__isinf_use+:} false; then :
61661 $as_echo_n "(cached) " >&6
61662 else
61665 ac_ext=cpp
61666 ac_cpp='$CXXCPP $CPPFLAGS'
61667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61672 /* end confdefs.h. */
61673 #include <math.h>
61674 #ifdef HAVE_IEEEFP_H
61675 #include <ieeefp.h>
61676 #endif
61679 main ()
61681 _isinf(0);
61683 return 0;
61685 _ACEOF
61686 if ac_fn_cxx_try_compile "$LINENO"; then :
61687 glibcxx_cv_func__isinf_use=yes
61688 else
61689 glibcxx_cv_func__isinf_use=no
61691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61692 ac_ext=c
61693 ac_cpp='$CPP $CPPFLAGS'
61694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
61703 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
61705 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
61706 for ac_func in _isinf
61707 do :
61708 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
61709 if test "x$ac_cv_func__isinf" = xyes; then :
61710 cat >>confdefs.h <<_ACEOF
61711 #define HAVE__ISINF 1
61712 _ACEOF
61715 done
61724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
61725 $as_echo_n "checking for isnan declaration... " >&6; }
61726 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
61727 if ${glibcxx_cv_func_isnan_use+:} false; then :
61728 $as_echo_n "(cached) " >&6
61729 else
61732 ac_ext=cpp
61733 ac_cpp='$CXXCPP $CPPFLAGS'
61734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61739 /* end confdefs.h. */
61740 #include <math.h>
61741 #ifdef HAVE_IEEEFP_H
61742 #include <ieeefp.h>
61743 #endif
61746 main ()
61748 isnan(0);
61750 return 0;
61752 _ACEOF
61753 if ac_fn_cxx_try_compile "$LINENO"; then :
61754 glibcxx_cv_func_isnan_use=yes
61755 else
61756 glibcxx_cv_func_isnan_use=no
61758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61759 ac_ext=c
61760 ac_cpp='$CPP $CPPFLAGS'
61761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61770 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61772 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61773 for ac_func in isnan
61774 do :
61775 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61776 if test "x$ac_cv_func_isnan" = xyes; then :
61777 cat >>confdefs.h <<_ACEOF
61778 #define HAVE_ISNAN 1
61779 _ACEOF
61782 done
61784 else
61786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61787 $as_echo_n "checking for _isnan declaration... " >&6; }
61788 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61789 if ${glibcxx_cv_func__isnan_use+:} false; then :
61790 $as_echo_n "(cached) " >&6
61791 else
61794 ac_ext=cpp
61795 ac_cpp='$CXXCPP $CPPFLAGS'
61796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61801 /* end confdefs.h. */
61802 #include <math.h>
61803 #ifdef HAVE_IEEEFP_H
61804 #include <ieeefp.h>
61805 #endif
61808 main ()
61810 _isnan(0);
61812 return 0;
61814 _ACEOF
61815 if ac_fn_cxx_try_compile "$LINENO"; then :
61816 glibcxx_cv_func__isnan_use=yes
61817 else
61818 glibcxx_cv_func__isnan_use=no
61820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61821 ac_ext=c
61822 ac_cpp='$CPP $CPPFLAGS'
61823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61832 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61834 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61835 for ac_func in _isnan
61836 do :
61837 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61838 if test "x$ac_cv_func__isnan" = xyes; then :
61839 cat >>confdefs.h <<_ACEOF
61840 #define HAVE__ISNAN 1
61841 _ACEOF
61844 done
61853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61854 $as_echo_n "checking for finite declaration... " >&6; }
61855 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61856 if ${glibcxx_cv_func_finite_use+:} false; then :
61857 $as_echo_n "(cached) " >&6
61858 else
61861 ac_ext=cpp
61862 ac_cpp='$CXXCPP $CPPFLAGS'
61863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61868 /* end confdefs.h. */
61869 #include <math.h>
61870 #ifdef HAVE_IEEEFP_H
61871 #include <ieeefp.h>
61872 #endif
61875 main ()
61877 finite(0);
61879 return 0;
61881 _ACEOF
61882 if ac_fn_cxx_try_compile "$LINENO"; then :
61883 glibcxx_cv_func_finite_use=yes
61884 else
61885 glibcxx_cv_func_finite_use=no
61887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61888 ac_ext=c
61889 ac_cpp='$CPP $CPPFLAGS'
61890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61899 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61901 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61902 for ac_func in finite
61903 do :
61904 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61905 if test "x$ac_cv_func_finite" = xyes; then :
61906 cat >>confdefs.h <<_ACEOF
61907 #define HAVE_FINITE 1
61908 _ACEOF
61911 done
61913 else
61915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61916 $as_echo_n "checking for _finite declaration... " >&6; }
61917 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61918 if ${glibcxx_cv_func__finite_use+:} false; then :
61919 $as_echo_n "(cached) " >&6
61920 else
61923 ac_ext=cpp
61924 ac_cpp='$CXXCPP $CPPFLAGS'
61925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61930 /* end confdefs.h. */
61931 #include <math.h>
61932 #ifdef HAVE_IEEEFP_H
61933 #include <ieeefp.h>
61934 #endif
61937 main ()
61939 _finite(0);
61941 return 0;
61943 _ACEOF
61944 if ac_fn_cxx_try_compile "$LINENO"; then :
61945 glibcxx_cv_func__finite_use=yes
61946 else
61947 glibcxx_cv_func__finite_use=no
61949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61950 ac_ext=c
61951 ac_cpp='$CPP $CPPFLAGS'
61952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61961 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61963 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61964 for ac_func in _finite
61965 do :
61966 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61967 if test "x$ac_cv_func__finite" = xyes; then :
61968 cat >>confdefs.h <<_ACEOF
61969 #define HAVE__FINITE 1
61970 _ACEOF
61973 done
61982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61983 $as_echo_n "checking for sincos declaration... " >&6; }
61984 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61985 if ${glibcxx_cv_func_sincos_use+:} false; then :
61986 $as_echo_n "(cached) " >&6
61987 else
61990 ac_ext=cpp
61991 ac_cpp='$CXXCPP $CPPFLAGS'
61992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61997 /* end confdefs.h. */
61998 #include <math.h>
62000 main ()
62002 sincos(0, 0, 0);
62004 return 0;
62006 _ACEOF
62007 if ac_fn_cxx_try_compile "$LINENO"; then :
62008 glibcxx_cv_func_sincos_use=yes
62009 else
62010 glibcxx_cv_func_sincos_use=no
62012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62013 ac_ext=c
62014 ac_cpp='$CPP $CPPFLAGS'
62015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
62024 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
62026 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
62027 for ac_func in sincos
62028 do :
62029 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
62030 if test "x$ac_cv_func_sincos" = xyes; then :
62031 cat >>confdefs.h <<_ACEOF
62032 #define HAVE_SINCOS 1
62033 _ACEOF
62036 done
62038 else
62040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
62041 $as_echo_n "checking for _sincos declaration... " >&6; }
62042 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
62043 if ${glibcxx_cv_func__sincos_use+:} false; then :
62044 $as_echo_n "(cached) " >&6
62045 else
62048 ac_ext=cpp
62049 ac_cpp='$CXXCPP $CPPFLAGS'
62050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62055 /* end confdefs.h. */
62056 #include <math.h>
62058 main ()
62060 _sincos(0, 0, 0);
62062 return 0;
62064 _ACEOF
62065 if ac_fn_cxx_try_compile "$LINENO"; then :
62066 glibcxx_cv_func__sincos_use=yes
62067 else
62068 glibcxx_cv_func__sincos_use=no
62070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62071 ac_ext=c
62072 ac_cpp='$CPP $CPPFLAGS'
62073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
62082 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
62084 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
62085 for ac_func in _sincos
62086 do :
62087 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
62088 if test "x$ac_cv_func__sincos" = xyes; then :
62089 cat >>confdefs.h <<_ACEOF
62090 #define HAVE__SINCOS 1
62091 _ACEOF
62094 done
62103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
62104 $as_echo_n "checking for fpclass declaration... " >&6; }
62105 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
62106 if ${glibcxx_cv_func_fpclass_use+:} false; then :
62107 $as_echo_n "(cached) " >&6
62108 else
62111 ac_ext=cpp
62112 ac_cpp='$CXXCPP $CPPFLAGS'
62113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62118 /* end confdefs.h. */
62119 #include <math.h>
62120 #ifdef HAVE_IEEEFP_H
62121 #include <ieeefp.h>
62122 #endif
62125 main ()
62127 fpclass(0);
62129 return 0;
62131 _ACEOF
62132 if ac_fn_cxx_try_compile "$LINENO"; then :
62133 glibcxx_cv_func_fpclass_use=yes
62134 else
62135 glibcxx_cv_func_fpclass_use=no
62137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62138 ac_ext=c
62139 ac_cpp='$CPP $CPPFLAGS'
62140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
62149 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
62151 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
62152 for ac_func in fpclass
62153 do :
62154 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
62155 if test "x$ac_cv_func_fpclass" = xyes; then :
62156 cat >>confdefs.h <<_ACEOF
62157 #define HAVE_FPCLASS 1
62158 _ACEOF
62161 done
62163 else
62165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
62166 $as_echo_n "checking for _fpclass declaration... " >&6; }
62167 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
62168 if ${glibcxx_cv_func__fpclass_use+:} false; then :
62169 $as_echo_n "(cached) " >&6
62170 else
62173 ac_ext=cpp
62174 ac_cpp='$CXXCPP $CPPFLAGS'
62175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62180 /* end confdefs.h. */
62181 #include <math.h>
62182 #ifdef HAVE_IEEEFP_H
62183 #include <ieeefp.h>
62184 #endif
62187 main ()
62189 _fpclass(0);
62191 return 0;
62193 _ACEOF
62194 if ac_fn_cxx_try_compile "$LINENO"; then :
62195 glibcxx_cv_func__fpclass_use=yes
62196 else
62197 glibcxx_cv_func__fpclass_use=no
62199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62200 ac_ext=c
62201 ac_cpp='$CPP $CPPFLAGS'
62202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
62211 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
62213 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
62214 for ac_func in _fpclass
62215 do :
62216 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
62217 if test "x$ac_cv_func__fpclass" = xyes; then :
62218 cat >>confdefs.h <<_ACEOF
62219 #define HAVE__FPCLASS 1
62220 _ACEOF
62223 done
62232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
62233 $as_echo_n "checking for qfpclass declaration... " >&6; }
62234 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
62235 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
62236 $as_echo_n "(cached) " >&6
62237 else
62240 ac_ext=cpp
62241 ac_cpp='$CXXCPP $CPPFLAGS'
62242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62247 /* end confdefs.h. */
62248 #include <math.h>
62249 #ifdef HAVE_IEEEFP_H
62250 #include <ieeefp.h>
62251 #endif
62254 main ()
62256 qfpclass(0);
62258 return 0;
62260 _ACEOF
62261 if ac_fn_cxx_try_compile "$LINENO"; then :
62262 glibcxx_cv_func_qfpclass_use=yes
62263 else
62264 glibcxx_cv_func_qfpclass_use=no
62266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62267 ac_ext=c
62268 ac_cpp='$CPP $CPPFLAGS'
62269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
62278 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
62280 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
62281 for ac_func in qfpclass
62282 do :
62283 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
62284 if test "x$ac_cv_func_qfpclass" = xyes; then :
62285 cat >>confdefs.h <<_ACEOF
62286 #define HAVE_QFPCLASS 1
62287 _ACEOF
62290 done
62292 else
62294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
62295 $as_echo_n "checking for _qfpclass declaration... " >&6; }
62296 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
62297 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
62298 $as_echo_n "(cached) " >&6
62299 else
62302 ac_ext=cpp
62303 ac_cpp='$CXXCPP $CPPFLAGS'
62304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62309 /* end confdefs.h. */
62310 #include <math.h>
62311 #ifdef HAVE_IEEEFP_H
62312 #include <ieeefp.h>
62313 #endif
62316 main ()
62318 _qfpclass(0);
62320 return 0;
62322 _ACEOF
62323 if ac_fn_cxx_try_compile "$LINENO"; then :
62324 glibcxx_cv_func__qfpclass_use=yes
62325 else
62326 glibcxx_cv_func__qfpclass_use=no
62328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62329 ac_ext=c
62330 ac_cpp='$CPP $CPPFLAGS'
62331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
62340 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
62342 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
62343 for ac_func in _qfpclass
62344 do :
62345 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
62346 if test "x$ac_cv_func__qfpclass" = xyes; then :
62347 cat >>confdefs.h <<_ACEOF
62348 #define HAVE__QFPCLASS 1
62349 _ACEOF
62352 done
62361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
62362 $as_echo_n "checking for hypot declaration... " >&6; }
62363 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
62364 if ${glibcxx_cv_func_hypot_use+:} false; then :
62365 $as_echo_n "(cached) " >&6
62366 else
62369 ac_ext=cpp
62370 ac_cpp='$CXXCPP $CPPFLAGS'
62371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62376 /* end confdefs.h. */
62377 #include <math.h>
62379 main ()
62381 hypot(0, 0);
62383 return 0;
62385 _ACEOF
62386 if ac_fn_cxx_try_compile "$LINENO"; then :
62387 glibcxx_cv_func_hypot_use=yes
62388 else
62389 glibcxx_cv_func_hypot_use=no
62391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62392 ac_ext=c
62393 ac_cpp='$CPP $CPPFLAGS'
62394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
62403 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
62405 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
62406 for ac_func in hypot
62407 do :
62408 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
62409 if test "x$ac_cv_func_hypot" = xyes; then :
62410 cat >>confdefs.h <<_ACEOF
62411 #define HAVE_HYPOT 1
62412 _ACEOF
62415 done
62417 else
62419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
62420 $as_echo_n "checking for _hypot declaration... " >&6; }
62421 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62422 if ${glibcxx_cv_func__hypot_use+:} false; then :
62423 $as_echo_n "(cached) " >&6
62424 else
62427 ac_ext=cpp
62428 ac_cpp='$CXXCPP $CPPFLAGS'
62429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62434 /* end confdefs.h. */
62435 #include <math.h>
62437 main ()
62439 _hypot(0, 0);
62441 return 0;
62443 _ACEOF
62444 if ac_fn_cxx_try_compile "$LINENO"; then :
62445 glibcxx_cv_func__hypot_use=yes
62446 else
62447 glibcxx_cv_func__hypot_use=no
62449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62450 ac_ext=c
62451 ac_cpp='$CPP $CPPFLAGS'
62452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
62461 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
62463 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62464 for ac_func in _hypot
62465 do :
62466 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
62467 if test "x$ac_cv_func__hypot" = xyes; then :
62468 cat >>confdefs.h <<_ACEOF
62469 #define HAVE__HYPOT 1
62470 _ACEOF
62473 done
62482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
62483 $as_echo_n "checking for float trig functions... " >&6; }
62484 if ${glibcxx_cv_func_float_trig_use+:} false; then :
62485 $as_echo_n "(cached) " >&6
62486 else
62489 ac_ext=cpp
62490 ac_cpp='$CXXCPP $CPPFLAGS'
62491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62496 /* end confdefs.h. */
62497 #include <math.h>
62499 main ()
62501 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62503 return 0;
62505 _ACEOF
62506 if ac_fn_cxx_try_compile "$LINENO"; then :
62507 glibcxx_cv_func_float_trig_use=yes
62508 else
62509 glibcxx_cv_func_float_trig_use=no
62511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62512 ac_ext=c
62513 ac_cpp='$CPP $CPPFLAGS'
62514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
62521 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
62522 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62523 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62524 do :
62525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62528 cat >>confdefs.h <<_ACEOF
62529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62530 _ACEOF
62533 done
62535 else
62536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
62537 $as_echo_n "checking for _float trig functions... " >&6; }
62538 if ${glibcxx_cv_func__float_trig_use+:} false; then :
62539 $as_echo_n "(cached) " >&6
62540 else
62543 ac_ext=cpp
62544 ac_cpp='$CXXCPP $CPPFLAGS'
62545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62550 /* end confdefs.h. */
62551 #include <math.h>
62553 main ()
62555 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62557 return 0;
62559 _ACEOF
62560 if ac_fn_cxx_try_compile "$LINENO"; then :
62561 glibcxx_cv_func__float_trig_use=yes
62562 else
62563 glibcxx_cv_func__float_trig_use=no
62565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62566 ac_ext=c
62567 ac_cpp='$CPP $CPPFLAGS'
62568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
62575 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
62576 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62577 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62578 do :
62579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62581 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62582 cat >>confdefs.h <<_ACEOF
62583 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62584 _ACEOF
62587 done
62596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
62597 $as_echo_n "checking for float round functions... " >&6; }
62598 if ${glibcxx_cv_func_float_round_use+:} false; then :
62599 $as_echo_n "(cached) " >&6
62600 else
62603 ac_ext=cpp
62604 ac_cpp='$CXXCPP $CPPFLAGS'
62605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62610 /* end confdefs.h. */
62611 #include <math.h>
62613 main ()
62615 ceilf (0); floorf (0);
62617 return 0;
62619 _ACEOF
62620 if ac_fn_cxx_try_compile "$LINENO"; then :
62621 glibcxx_cv_func_float_round_use=yes
62622 else
62623 glibcxx_cv_func_float_round_use=no
62625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62626 ac_ext=c
62627 ac_cpp='$CPP $CPPFLAGS'
62628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
62635 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
62636 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62637 for ac_func in ceilf floorf
62638 do :
62639 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62640 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62641 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62642 cat >>confdefs.h <<_ACEOF
62643 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62644 _ACEOF
62647 done
62649 else
62650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
62651 $as_echo_n "checking for _float round functions... " >&6; }
62652 if ${glibcxx_cv_func__float_round_use+:} false; then :
62653 $as_echo_n "(cached) " >&6
62654 else
62657 ac_ext=cpp
62658 ac_cpp='$CXXCPP $CPPFLAGS'
62659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62664 /* end confdefs.h. */
62665 #include <math.h>
62667 main ()
62669 _ceilf (0); _floorf (0);
62671 return 0;
62673 _ACEOF
62674 if ac_fn_cxx_try_compile "$LINENO"; then :
62675 glibcxx_cv_func__float_round_use=yes
62676 else
62677 glibcxx_cv_func__float_round_use=no
62679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62680 ac_ext=c
62681 ac_cpp='$CPP $CPPFLAGS'
62682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
62689 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
62690 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62691 for ac_func in _ceilf _floorf
62692 do :
62693 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62694 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62695 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
62696 cat >>confdefs.h <<_ACEOF
62697 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62698 _ACEOF
62701 done
62711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
62712 $as_echo_n "checking for expf declaration... " >&6; }
62713 if test x${glibcxx_cv_func_expf_use+set} != xset; then
62714 if ${glibcxx_cv_func_expf_use+:} false; then :
62715 $as_echo_n "(cached) " >&6
62716 else
62719 ac_ext=cpp
62720 ac_cpp='$CXXCPP $CPPFLAGS'
62721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62726 /* end confdefs.h. */
62727 #include <math.h>
62728 #ifdef HAVE_IEEEFP_H
62729 #include <ieeefp.h>
62730 #endif
62733 main ()
62735 expf(0);
62737 return 0;
62739 _ACEOF
62740 if ac_fn_cxx_try_compile "$LINENO"; then :
62741 glibcxx_cv_func_expf_use=yes
62742 else
62743 glibcxx_cv_func_expf_use=no
62745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62746 ac_ext=c
62747 ac_cpp='$CPP $CPPFLAGS'
62748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62757 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62759 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62760 for ac_func in expf
62761 do :
62762 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62763 if test "x$ac_cv_func_expf" = xyes; then :
62764 cat >>confdefs.h <<_ACEOF
62765 #define HAVE_EXPF 1
62766 _ACEOF
62769 done
62771 else
62773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62774 $as_echo_n "checking for _expf declaration... " >&6; }
62775 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62776 if ${glibcxx_cv_func__expf_use+:} false; then :
62777 $as_echo_n "(cached) " >&6
62778 else
62781 ac_ext=cpp
62782 ac_cpp='$CXXCPP $CPPFLAGS'
62783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62788 /* end confdefs.h. */
62789 #include <math.h>
62790 #ifdef HAVE_IEEEFP_H
62791 #include <ieeefp.h>
62792 #endif
62795 main ()
62797 _expf(0);
62799 return 0;
62801 _ACEOF
62802 if ac_fn_cxx_try_compile "$LINENO"; then :
62803 glibcxx_cv_func__expf_use=yes
62804 else
62805 glibcxx_cv_func__expf_use=no
62807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62808 ac_ext=c
62809 ac_cpp='$CPP $CPPFLAGS'
62810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62819 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62821 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62822 for ac_func in _expf
62823 do :
62824 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62825 if test "x$ac_cv_func__expf" = xyes; then :
62826 cat >>confdefs.h <<_ACEOF
62827 #define HAVE__EXPF 1
62828 _ACEOF
62831 done
62840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62841 $as_echo_n "checking for isnanf declaration... " >&6; }
62842 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62843 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62844 $as_echo_n "(cached) " >&6
62845 else
62848 ac_ext=cpp
62849 ac_cpp='$CXXCPP $CPPFLAGS'
62850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62855 /* end confdefs.h. */
62856 #include <math.h>
62857 #ifdef HAVE_IEEEFP_H
62858 #include <ieeefp.h>
62859 #endif
62862 main ()
62864 isnanf(0);
62866 return 0;
62868 _ACEOF
62869 if ac_fn_cxx_try_compile "$LINENO"; then :
62870 glibcxx_cv_func_isnanf_use=yes
62871 else
62872 glibcxx_cv_func_isnanf_use=no
62874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62875 ac_ext=c
62876 ac_cpp='$CPP $CPPFLAGS'
62877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62886 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62888 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62889 for ac_func in isnanf
62890 do :
62891 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62892 if test "x$ac_cv_func_isnanf" = xyes; then :
62893 cat >>confdefs.h <<_ACEOF
62894 #define HAVE_ISNANF 1
62895 _ACEOF
62898 done
62900 else
62902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62903 $as_echo_n "checking for _isnanf declaration... " >&6; }
62904 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62905 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62906 $as_echo_n "(cached) " >&6
62907 else
62910 ac_ext=cpp
62911 ac_cpp='$CXXCPP $CPPFLAGS'
62912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62917 /* end confdefs.h. */
62918 #include <math.h>
62919 #ifdef HAVE_IEEEFP_H
62920 #include <ieeefp.h>
62921 #endif
62924 main ()
62926 _isnanf(0);
62928 return 0;
62930 _ACEOF
62931 if ac_fn_cxx_try_compile "$LINENO"; then :
62932 glibcxx_cv_func__isnanf_use=yes
62933 else
62934 glibcxx_cv_func__isnanf_use=no
62936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62937 ac_ext=c
62938 ac_cpp='$CPP $CPPFLAGS'
62939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62948 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62950 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62951 for ac_func in _isnanf
62952 do :
62953 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62954 if test "x$ac_cv_func__isnanf" = xyes; then :
62955 cat >>confdefs.h <<_ACEOF
62956 #define HAVE__ISNANF 1
62957 _ACEOF
62960 done
62969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62970 $as_echo_n "checking for isinff declaration... " >&6; }
62971 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62972 if ${glibcxx_cv_func_isinff_use+:} false; then :
62973 $as_echo_n "(cached) " >&6
62974 else
62977 ac_ext=cpp
62978 ac_cpp='$CXXCPP $CPPFLAGS'
62979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62984 /* end confdefs.h. */
62985 #include <math.h>
62986 #ifdef HAVE_IEEEFP_H
62987 #include <ieeefp.h>
62988 #endif
62991 main ()
62993 isinff(0);
62995 return 0;
62997 _ACEOF
62998 if ac_fn_cxx_try_compile "$LINENO"; then :
62999 glibcxx_cv_func_isinff_use=yes
63000 else
63001 glibcxx_cv_func_isinff_use=no
63003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63004 ac_ext=c
63005 ac_cpp='$CPP $CPPFLAGS'
63006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
63015 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
63017 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
63018 for ac_func in isinff
63019 do :
63020 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
63021 if test "x$ac_cv_func_isinff" = xyes; then :
63022 cat >>confdefs.h <<_ACEOF
63023 #define HAVE_ISINFF 1
63024 _ACEOF
63027 done
63029 else
63031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
63032 $as_echo_n "checking for _isinff declaration... " >&6; }
63033 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
63034 if ${glibcxx_cv_func__isinff_use+:} false; then :
63035 $as_echo_n "(cached) " >&6
63036 else
63039 ac_ext=cpp
63040 ac_cpp='$CXXCPP $CPPFLAGS'
63041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63046 /* end confdefs.h. */
63047 #include <math.h>
63048 #ifdef HAVE_IEEEFP_H
63049 #include <ieeefp.h>
63050 #endif
63053 main ()
63055 _isinff(0);
63057 return 0;
63059 _ACEOF
63060 if ac_fn_cxx_try_compile "$LINENO"; then :
63061 glibcxx_cv_func__isinff_use=yes
63062 else
63063 glibcxx_cv_func__isinff_use=no
63065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63066 ac_ext=c
63067 ac_cpp='$CPP $CPPFLAGS'
63068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
63077 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
63079 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
63080 for ac_func in _isinff
63081 do :
63082 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
63083 if test "x$ac_cv_func__isinff" = xyes; then :
63084 cat >>confdefs.h <<_ACEOF
63085 #define HAVE__ISINFF 1
63086 _ACEOF
63089 done
63098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
63099 $as_echo_n "checking for atan2f declaration... " >&6; }
63100 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
63101 if ${glibcxx_cv_func_atan2f_use+:} false; then :
63102 $as_echo_n "(cached) " >&6
63103 else
63106 ac_ext=cpp
63107 ac_cpp='$CXXCPP $CPPFLAGS'
63108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63113 /* end confdefs.h. */
63114 #include <math.h>
63116 main ()
63118 atan2f(0, 0);
63120 return 0;
63122 _ACEOF
63123 if ac_fn_cxx_try_compile "$LINENO"; then :
63124 glibcxx_cv_func_atan2f_use=yes
63125 else
63126 glibcxx_cv_func_atan2f_use=no
63128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63129 ac_ext=c
63130 ac_cpp='$CPP $CPPFLAGS'
63131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
63140 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
63142 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
63143 for ac_func in atan2f
63144 do :
63145 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
63146 if test "x$ac_cv_func_atan2f" = xyes; then :
63147 cat >>confdefs.h <<_ACEOF
63148 #define HAVE_ATAN2F 1
63149 _ACEOF
63152 done
63154 else
63156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
63157 $as_echo_n "checking for _atan2f declaration... " >&6; }
63158 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
63159 if ${glibcxx_cv_func__atan2f_use+:} false; then :
63160 $as_echo_n "(cached) " >&6
63161 else
63164 ac_ext=cpp
63165 ac_cpp='$CXXCPP $CPPFLAGS'
63166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63171 /* end confdefs.h. */
63172 #include <math.h>
63174 main ()
63176 _atan2f(0, 0);
63178 return 0;
63180 _ACEOF
63181 if ac_fn_cxx_try_compile "$LINENO"; then :
63182 glibcxx_cv_func__atan2f_use=yes
63183 else
63184 glibcxx_cv_func__atan2f_use=no
63186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63187 ac_ext=c
63188 ac_cpp='$CPP $CPPFLAGS'
63189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
63198 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
63200 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
63201 for ac_func in _atan2f
63202 do :
63203 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
63204 if test "x$ac_cv_func__atan2f" = xyes; then :
63205 cat >>confdefs.h <<_ACEOF
63206 #define HAVE__ATAN2F 1
63207 _ACEOF
63210 done
63219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
63220 $as_echo_n "checking for fabsf declaration... " >&6; }
63221 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
63222 if ${glibcxx_cv_func_fabsf_use+:} false; then :
63223 $as_echo_n "(cached) " >&6
63224 else
63227 ac_ext=cpp
63228 ac_cpp='$CXXCPP $CPPFLAGS'
63229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63234 /* end confdefs.h. */
63235 #include <math.h>
63236 #ifdef HAVE_IEEEFP_H
63237 #include <ieeefp.h>
63238 #endif
63241 main ()
63243 fabsf(0);
63245 return 0;
63247 _ACEOF
63248 if ac_fn_cxx_try_compile "$LINENO"; then :
63249 glibcxx_cv_func_fabsf_use=yes
63250 else
63251 glibcxx_cv_func_fabsf_use=no
63253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63254 ac_ext=c
63255 ac_cpp='$CPP $CPPFLAGS'
63256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
63265 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
63267 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
63268 for ac_func in fabsf
63269 do :
63270 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
63271 if test "x$ac_cv_func_fabsf" = xyes; then :
63272 cat >>confdefs.h <<_ACEOF
63273 #define HAVE_FABSF 1
63274 _ACEOF
63277 done
63279 else
63281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
63282 $as_echo_n "checking for _fabsf declaration... " >&6; }
63283 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
63284 if ${glibcxx_cv_func__fabsf_use+:} false; then :
63285 $as_echo_n "(cached) " >&6
63286 else
63289 ac_ext=cpp
63290 ac_cpp='$CXXCPP $CPPFLAGS'
63291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63296 /* end confdefs.h. */
63297 #include <math.h>
63298 #ifdef HAVE_IEEEFP_H
63299 #include <ieeefp.h>
63300 #endif
63303 main ()
63305 _fabsf(0);
63307 return 0;
63309 _ACEOF
63310 if ac_fn_cxx_try_compile "$LINENO"; then :
63311 glibcxx_cv_func__fabsf_use=yes
63312 else
63313 glibcxx_cv_func__fabsf_use=no
63315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63316 ac_ext=c
63317 ac_cpp='$CPP $CPPFLAGS'
63318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
63327 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
63329 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
63330 for ac_func in _fabsf
63331 do :
63332 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
63333 if test "x$ac_cv_func__fabsf" = xyes; then :
63334 cat >>confdefs.h <<_ACEOF
63335 #define HAVE__FABSF 1
63336 _ACEOF
63339 done
63348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
63349 $as_echo_n "checking for fmodf declaration... " >&6; }
63350 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
63351 if ${glibcxx_cv_func_fmodf_use+:} false; then :
63352 $as_echo_n "(cached) " >&6
63353 else
63356 ac_ext=cpp
63357 ac_cpp='$CXXCPP $CPPFLAGS'
63358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63363 /* end confdefs.h. */
63364 #include <math.h>
63366 main ()
63368 fmodf(0, 0);
63370 return 0;
63372 _ACEOF
63373 if ac_fn_cxx_try_compile "$LINENO"; then :
63374 glibcxx_cv_func_fmodf_use=yes
63375 else
63376 glibcxx_cv_func_fmodf_use=no
63378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63379 ac_ext=c
63380 ac_cpp='$CPP $CPPFLAGS'
63381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
63390 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
63392 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
63393 for ac_func in fmodf
63394 do :
63395 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
63396 if test "x$ac_cv_func_fmodf" = xyes; then :
63397 cat >>confdefs.h <<_ACEOF
63398 #define HAVE_FMODF 1
63399 _ACEOF
63402 done
63404 else
63406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
63407 $as_echo_n "checking for _fmodf declaration... " >&6; }
63408 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
63409 if ${glibcxx_cv_func__fmodf_use+:} false; then :
63410 $as_echo_n "(cached) " >&6
63411 else
63414 ac_ext=cpp
63415 ac_cpp='$CXXCPP $CPPFLAGS'
63416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63421 /* end confdefs.h. */
63422 #include <math.h>
63424 main ()
63426 _fmodf(0, 0);
63428 return 0;
63430 _ACEOF
63431 if ac_fn_cxx_try_compile "$LINENO"; then :
63432 glibcxx_cv_func__fmodf_use=yes
63433 else
63434 glibcxx_cv_func__fmodf_use=no
63436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63437 ac_ext=c
63438 ac_cpp='$CPP $CPPFLAGS'
63439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
63448 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
63450 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
63451 for ac_func in _fmodf
63452 do :
63453 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
63454 if test "x$ac_cv_func__fmodf" = xyes; then :
63455 cat >>confdefs.h <<_ACEOF
63456 #define HAVE__FMODF 1
63457 _ACEOF
63460 done
63469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
63470 $as_echo_n "checking for frexpf declaration... " >&6; }
63471 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
63472 if ${glibcxx_cv_func_frexpf_use+:} false; then :
63473 $as_echo_n "(cached) " >&6
63474 else
63477 ac_ext=cpp
63478 ac_cpp='$CXXCPP $CPPFLAGS'
63479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63484 /* end confdefs.h. */
63485 #include <math.h>
63487 main ()
63489 frexpf(0, 0);
63491 return 0;
63493 _ACEOF
63494 if ac_fn_cxx_try_compile "$LINENO"; then :
63495 glibcxx_cv_func_frexpf_use=yes
63496 else
63497 glibcxx_cv_func_frexpf_use=no
63499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63500 ac_ext=c
63501 ac_cpp='$CPP $CPPFLAGS'
63502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
63511 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
63513 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
63514 for ac_func in frexpf
63515 do :
63516 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
63517 if test "x$ac_cv_func_frexpf" = xyes; then :
63518 cat >>confdefs.h <<_ACEOF
63519 #define HAVE_FREXPF 1
63520 _ACEOF
63523 done
63525 else
63527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
63528 $as_echo_n "checking for _frexpf declaration... " >&6; }
63529 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
63530 if ${glibcxx_cv_func__frexpf_use+:} false; then :
63531 $as_echo_n "(cached) " >&6
63532 else
63535 ac_ext=cpp
63536 ac_cpp='$CXXCPP $CPPFLAGS'
63537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63542 /* end confdefs.h. */
63543 #include <math.h>
63545 main ()
63547 _frexpf(0, 0);
63549 return 0;
63551 _ACEOF
63552 if ac_fn_cxx_try_compile "$LINENO"; then :
63553 glibcxx_cv_func__frexpf_use=yes
63554 else
63555 glibcxx_cv_func__frexpf_use=no
63557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63558 ac_ext=c
63559 ac_cpp='$CPP $CPPFLAGS'
63560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
63569 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
63571 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
63572 for ac_func in _frexpf
63573 do :
63574 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
63575 if test "x$ac_cv_func__frexpf" = xyes; then :
63576 cat >>confdefs.h <<_ACEOF
63577 #define HAVE__FREXPF 1
63578 _ACEOF
63581 done
63590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
63591 $as_echo_n "checking for hypotf declaration... " >&6; }
63592 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
63593 if ${glibcxx_cv_func_hypotf_use+:} false; then :
63594 $as_echo_n "(cached) " >&6
63595 else
63598 ac_ext=cpp
63599 ac_cpp='$CXXCPP $CPPFLAGS'
63600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63605 /* end confdefs.h. */
63606 #include <math.h>
63608 main ()
63610 hypotf(0, 0);
63612 return 0;
63614 _ACEOF
63615 if ac_fn_cxx_try_compile "$LINENO"; then :
63616 glibcxx_cv_func_hypotf_use=yes
63617 else
63618 glibcxx_cv_func_hypotf_use=no
63620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63621 ac_ext=c
63622 ac_cpp='$CPP $CPPFLAGS'
63623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
63632 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
63634 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
63635 for ac_func in hypotf
63636 do :
63637 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
63638 if test "x$ac_cv_func_hypotf" = xyes; then :
63639 cat >>confdefs.h <<_ACEOF
63640 #define HAVE_HYPOTF 1
63641 _ACEOF
63644 done
63646 else
63648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
63649 $as_echo_n "checking for _hypotf declaration... " >&6; }
63650 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
63651 if ${glibcxx_cv_func__hypotf_use+:} false; then :
63652 $as_echo_n "(cached) " >&6
63653 else
63656 ac_ext=cpp
63657 ac_cpp='$CXXCPP $CPPFLAGS'
63658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63663 /* end confdefs.h. */
63664 #include <math.h>
63666 main ()
63668 _hypotf(0, 0);
63670 return 0;
63672 _ACEOF
63673 if ac_fn_cxx_try_compile "$LINENO"; then :
63674 glibcxx_cv_func__hypotf_use=yes
63675 else
63676 glibcxx_cv_func__hypotf_use=no
63678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63679 ac_ext=c
63680 ac_cpp='$CPP $CPPFLAGS'
63681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
63690 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
63692 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
63693 for ac_func in _hypotf
63694 do :
63695 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
63696 if test "x$ac_cv_func__hypotf" = xyes; then :
63697 cat >>confdefs.h <<_ACEOF
63698 #define HAVE__HYPOTF 1
63699 _ACEOF
63702 done
63711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
63712 $as_echo_n "checking for ldexpf declaration... " >&6; }
63713 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
63714 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
63715 $as_echo_n "(cached) " >&6
63716 else
63719 ac_ext=cpp
63720 ac_cpp='$CXXCPP $CPPFLAGS'
63721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63726 /* end confdefs.h. */
63727 #include <math.h>
63729 main ()
63731 ldexpf(0, 0);
63733 return 0;
63735 _ACEOF
63736 if ac_fn_cxx_try_compile "$LINENO"; then :
63737 glibcxx_cv_func_ldexpf_use=yes
63738 else
63739 glibcxx_cv_func_ldexpf_use=no
63741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63742 ac_ext=c
63743 ac_cpp='$CPP $CPPFLAGS'
63744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63753 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63755 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63756 for ac_func in ldexpf
63757 do :
63758 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63759 if test "x$ac_cv_func_ldexpf" = xyes; then :
63760 cat >>confdefs.h <<_ACEOF
63761 #define HAVE_LDEXPF 1
63762 _ACEOF
63765 done
63767 else
63769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63770 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63771 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63772 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63773 $as_echo_n "(cached) " >&6
63774 else
63777 ac_ext=cpp
63778 ac_cpp='$CXXCPP $CPPFLAGS'
63779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63784 /* end confdefs.h. */
63785 #include <math.h>
63787 main ()
63789 _ldexpf(0, 0);
63791 return 0;
63793 _ACEOF
63794 if ac_fn_cxx_try_compile "$LINENO"; then :
63795 glibcxx_cv_func__ldexpf_use=yes
63796 else
63797 glibcxx_cv_func__ldexpf_use=no
63799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63800 ac_ext=c
63801 ac_cpp='$CPP $CPPFLAGS'
63802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63811 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63813 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63814 for ac_func in _ldexpf
63815 do :
63816 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63817 if test "x$ac_cv_func__ldexpf" = xyes; then :
63818 cat >>confdefs.h <<_ACEOF
63819 #define HAVE__LDEXPF 1
63820 _ACEOF
63823 done
63832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63833 $as_echo_n "checking for logf declaration... " >&6; }
63834 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63835 if ${glibcxx_cv_func_logf_use+:} false; then :
63836 $as_echo_n "(cached) " >&6
63837 else
63840 ac_ext=cpp
63841 ac_cpp='$CXXCPP $CPPFLAGS'
63842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63847 /* end confdefs.h. */
63848 #include <math.h>
63849 #ifdef HAVE_IEEEFP_H
63850 #include <ieeefp.h>
63851 #endif
63854 main ()
63856 logf(0);
63858 return 0;
63860 _ACEOF
63861 if ac_fn_cxx_try_compile "$LINENO"; then :
63862 glibcxx_cv_func_logf_use=yes
63863 else
63864 glibcxx_cv_func_logf_use=no
63866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63867 ac_ext=c
63868 ac_cpp='$CPP $CPPFLAGS'
63869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63878 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63880 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63881 for ac_func in logf
63882 do :
63883 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63884 if test "x$ac_cv_func_logf" = xyes; then :
63885 cat >>confdefs.h <<_ACEOF
63886 #define HAVE_LOGF 1
63887 _ACEOF
63890 done
63892 else
63894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63895 $as_echo_n "checking for _logf declaration... " >&6; }
63896 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63897 if ${glibcxx_cv_func__logf_use+:} false; then :
63898 $as_echo_n "(cached) " >&6
63899 else
63902 ac_ext=cpp
63903 ac_cpp='$CXXCPP $CPPFLAGS'
63904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63909 /* end confdefs.h. */
63910 #include <math.h>
63911 #ifdef HAVE_IEEEFP_H
63912 #include <ieeefp.h>
63913 #endif
63916 main ()
63918 _logf(0);
63920 return 0;
63922 _ACEOF
63923 if ac_fn_cxx_try_compile "$LINENO"; then :
63924 glibcxx_cv_func__logf_use=yes
63925 else
63926 glibcxx_cv_func__logf_use=no
63928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63929 ac_ext=c
63930 ac_cpp='$CPP $CPPFLAGS'
63931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63940 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63942 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63943 for ac_func in _logf
63944 do :
63945 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63946 if test "x$ac_cv_func__logf" = xyes; then :
63947 cat >>confdefs.h <<_ACEOF
63948 #define HAVE__LOGF 1
63949 _ACEOF
63952 done
63961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63962 $as_echo_n "checking for log10f declaration... " >&6; }
63963 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63964 if ${glibcxx_cv_func_log10f_use+:} false; then :
63965 $as_echo_n "(cached) " >&6
63966 else
63969 ac_ext=cpp
63970 ac_cpp='$CXXCPP $CPPFLAGS'
63971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63976 /* end confdefs.h. */
63977 #include <math.h>
63978 #ifdef HAVE_IEEEFP_H
63979 #include <ieeefp.h>
63980 #endif
63983 main ()
63985 log10f(0);
63987 return 0;
63989 _ACEOF
63990 if ac_fn_cxx_try_compile "$LINENO"; then :
63991 glibcxx_cv_func_log10f_use=yes
63992 else
63993 glibcxx_cv_func_log10f_use=no
63995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63996 ac_ext=c
63997 ac_cpp='$CPP $CPPFLAGS'
63998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
64007 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
64009 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
64010 for ac_func in log10f
64011 do :
64012 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
64013 if test "x$ac_cv_func_log10f" = xyes; then :
64014 cat >>confdefs.h <<_ACEOF
64015 #define HAVE_LOG10F 1
64016 _ACEOF
64019 done
64021 else
64023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
64024 $as_echo_n "checking for _log10f declaration... " >&6; }
64025 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
64026 if ${glibcxx_cv_func__log10f_use+:} false; then :
64027 $as_echo_n "(cached) " >&6
64028 else
64031 ac_ext=cpp
64032 ac_cpp='$CXXCPP $CPPFLAGS'
64033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64038 /* end confdefs.h. */
64039 #include <math.h>
64040 #ifdef HAVE_IEEEFP_H
64041 #include <ieeefp.h>
64042 #endif
64045 main ()
64047 _log10f(0);
64049 return 0;
64051 _ACEOF
64052 if ac_fn_cxx_try_compile "$LINENO"; then :
64053 glibcxx_cv_func__log10f_use=yes
64054 else
64055 glibcxx_cv_func__log10f_use=no
64057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64058 ac_ext=c
64059 ac_cpp='$CPP $CPPFLAGS'
64060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
64069 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
64071 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
64072 for ac_func in _log10f
64073 do :
64074 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
64075 if test "x$ac_cv_func__log10f" = xyes; then :
64076 cat >>confdefs.h <<_ACEOF
64077 #define HAVE__LOG10F 1
64078 _ACEOF
64081 done
64090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
64091 $as_echo_n "checking for modff declaration... " >&6; }
64092 if test x${glibcxx_cv_func_modff_use+set} != xset; then
64093 if ${glibcxx_cv_func_modff_use+:} false; then :
64094 $as_echo_n "(cached) " >&6
64095 else
64098 ac_ext=cpp
64099 ac_cpp='$CXXCPP $CPPFLAGS'
64100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64105 /* end confdefs.h. */
64106 #include <math.h>
64108 main ()
64110 modff(0, 0);
64112 return 0;
64114 _ACEOF
64115 if ac_fn_cxx_try_compile "$LINENO"; then :
64116 glibcxx_cv_func_modff_use=yes
64117 else
64118 glibcxx_cv_func_modff_use=no
64120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64121 ac_ext=c
64122 ac_cpp='$CPP $CPPFLAGS'
64123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
64132 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
64134 if test x$glibcxx_cv_func_modff_use = x"yes"; then
64135 for ac_func in modff
64136 do :
64137 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
64138 if test "x$ac_cv_func_modff" = xyes; then :
64139 cat >>confdefs.h <<_ACEOF
64140 #define HAVE_MODFF 1
64141 _ACEOF
64144 done
64146 else
64148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
64149 $as_echo_n "checking for _modff declaration... " >&6; }
64150 if test x${glibcxx_cv_func__modff_use+set} != xset; then
64151 if ${glibcxx_cv_func__modff_use+:} false; then :
64152 $as_echo_n "(cached) " >&6
64153 else
64156 ac_ext=cpp
64157 ac_cpp='$CXXCPP $CPPFLAGS'
64158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64163 /* end confdefs.h. */
64164 #include <math.h>
64166 main ()
64168 _modff(0, 0);
64170 return 0;
64172 _ACEOF
64173 if ac_fn_cxx_try_compile "$LINENO"; then :
64174 glibcxx_cv_func__modff_use=yes
64175 else
64176 glibcxx_cv_func__modff_use=no
64178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64179 ac_ext=c
64180 ac_cpp='$CPP $CPPFLAGS'
64181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
64190 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
64192 if test x$glibcxx_cv_func__modff_use = x"yes"; then
64193 for ac_func in _modff
64194 do :
64195 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
64196 if test "x$ac_cv_func__modff" = xyes; then :
64197 cat >>confdefs.h <<_ACEOF
64198 #define HAVE__MODFF 1
64199 _ACEOF
64202 done
64211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
64212 $as_echo_n "checking for modf declaration... " >&6; }
64213 if test x${glibcxx_cv_func_modf_use+set} != xset; then
64214 if ${glibcxx_cv_func_modf_use+:} false; then :
64215 $as_echo_n "(cached) " >&6
64216 else
64219 ac_ext=cpp
64220 ac_cpp='$CXXCPP $CPPFLAGS'
64221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64226 /* end confdefs.h. */
64227 #include <math.h>
64229 main ()
64231 modf(0, 0);
64233 return 0;
64235 _ACEOF
64236 if ac_fn_cxx_try_compile "$LINENO"; then :
64237 glibcxx_cv_func_modf_use=yes
64238 else
64239 glibcxx_cv_func_modf_use=no
64241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64242 ac_ext=c
64243 ac_cpp='$CPP $CPPFLAGS'
64244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
64253 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
64255 if test x$glibcxx_cv_func_modf_use = x"yes"; then
64256 for ac_func in modf
64257 do :
64258 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
64259 if test "x$ac_cv_func_modf" = xyes; then :
64260 cat >>confdefs.h <<_ACEOF
64261 #define HAVE_MODF 1
64262 _ACEOF
64265 done
64267 else
64269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
64270 $as_echo_n "checking for _modf declaration... " >&6; }
64271 if test x${glibcxx_cv_func__modf_use+set} != xset; then
64272 if ${glibcxx_cv_func__modf_use+:} false; then :
64273 $as_echo_n "(cached) " >&6
64274 else
64277 ac_ext=cpp
64278 ac_cpp='$CXXCPP $CPPFLAGS'
64279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64284 /* end confdefs.h. */
64285 #include <math.h>
64287 main ()
64289 _modf(0, 0);
64291 return 0;
64293 _ACEOF
64294 if ac_fn_cxx_try_compile "$LINENO"; then :
64295 glibcxx_cv_func__modf_use=yes
64296 else
64297 glibcxx_cv_func__modf_use=no
64299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64300 ac_ext=c
64301 ac_cpp='$CPP $CPPFLAGS'
64302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
64311 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
64313 if test x$glibcxx_cv_func__modf_use = x"yes"; then
64314 for ac_func in _modf
64315 do :
64316 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
64317 if test "x$ac_cv_func__modf" = xyes; then :
64318 cat >>confdefs.h <<_ACEOF
64319 #define HAVE__MODF 1
64320 _ACEOF
64323 done
64332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
64333 $as_echo_n "checking for powf declaration... " >&6; }
64334 if test x${glibcxx_cv_func_powf_use+set} != xset; then
64335 if ${glibcxx_cv_func_powf_use+:} false; then :
64336 $as_echo_n "(cached) " >&6
64337 else
64340 ac_ext=cpp
64341 ac_cpp='$CXXCPP $CPPFLAGS'
64342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64347 /* end confdefs.h. */
64348 #include <math.h>
64350 main ()
64352 powf(0, 0);
64354 return 0;
64356 _ACEOF
64357 if ac_fn_cxx_try_compile "$LINENO"; then :
64358 glibcxx_cv_func_powf_use=yes
64359 else
64360 glibcxx_cv_func_powf_use=no
64362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64363 ac_ext=c
64364 ac_cpp='$CPP $CPPFLAGS'
64365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
64374 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
64376 if test x$glibcxx_cv_func_powf_use = x"yes"; then
64377 for ac_func in powf
64378 do :
64379 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
64380 if test "x$ac_cv_func_powf" = xyes; then :
64381 cat >>confdefs.h <<_ACEOF
64382 #define HAVE_POWF 1
64383 _ACEOF
64386 done
64388 else
64390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
64391 $as_echo_n "checking for _powf declaration... " >&6; }
64392 if test x${glibcxx_cv_func__powf_use+set} != xset; then
64393 if ${glibcxx_cv_func__powf_use+:} false; then :
64394 $as_echo_n "(cached) " >&6
64395 else
64398 ac_ext=cpp
64399 ac_cpp='$CXXCPP $CPPFLAGS'
64400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64405 /* end confdefs.h. */
64406 #include <math.h>
64408 main ()
64410 _powf(0, 0);
64412 return 0;
64414 _ACEOF
64415 if ac_fn_cxx_try_compile "$LINENO"; then :
64416 glibcxx_cv_func__powf_use=yes
64417 else
64418 glibcxx_cv_func__powf_use=no
64420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64421 ac_ext=c
64422 ac_cpp='$CPP $CPPFLAGS'
64423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
64432 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
64434 if test x$glibcxx_cv_func__powf_use = x"yes"; then
64435 for ac_func in _powf
64436 do :
64437 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
64438 if test "x$ac_cv_func__powf" = xyes; then :
64439 cat >>confdefs.h <<_ACEOF
64440 #define HAVE__POWF 1
64441 _ACEOF
64444 done
64453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
64454 $as_echo_n "checking for sqrtf declaration... " >&6; }
64455 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
64456 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
64457 $as_echo_n "(cached) " >&6
64458 else
64461 ac_ext=cpp
64462 ac_cpp='$CXXCPP $CPPFLAGS'
64463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64468 /* end confdefs.h. */
64469 #include <math.h>
64470 #ifdef HAVE_IEEEFP_H
64471 #include <ieeefp.h>
64472 #endif
64475 main ()
64477 sqrtf(0);
64479 return 0;
64481 _ACEOF
64482 if ac_fn_cxx_try_compile "$LINENO"; then :
64483 glibcxx_cv_func_sqrtf_use=yes
64484 else
64485 glibcxx_cv_func_sqrtf_use=no
64487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64488 ac_ext=c
64489 ac_cpp='$CPP $CPPFLAGS'
64490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
64499 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
64501 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
64502 for ac_func in sqrtf
64503 do :
64504 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
64505 if test "x$ac_cv_func_sqrtf" = xyes; then :
64506 cat >>confdefs.h <<_ACEOF
64507 #define HAVE_SQRTF 1
64508 _ACEOF
64511 done
64513 else
64515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
64516 $as_echo_n "checking for _sqrtf declaration... " >&6; }
64517 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
64518 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
64519 $as_echo_n "(cached) " >&6
64520 else
64523 ac_ext=cpp
64524 ac_cpp='$CXXCPP $CPPFLAGS'
64525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64530 /* end confdefs.h. */
64531 #include <math.h>
64532 #ifdef HAVE_IEEEFP_H
64533 #include <ieeefp.h>
64534 #endif
64537 main ()
64539 _sqrtf(0);
64541 return 0;
64543 _ACEOF
64544 if ac_fn_cxx_try_compile "$LINENO"; then :
64545 glibcxx_cv_func__sqrtf_use=yes
64546 else
64547 glibcxx_cv_func__sqrtf_use=no
64549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64550 ac_ext=c
64551 ac_cpp='$CPP $CPPFLAGS'
64552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
64561 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
64563 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
64564 for ac_func in _sqrtf
64565 do :
64566 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
64567 if test "x$ac_cv_func__sqrtf" = xyes; then :
64568 cat >>confdefs.h <<_ACEOF
64569 #define HAVE__SQRTF 1
64570 _ACEOF
64573 done
64582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
64583 $as_echo_n "checking for sincosf declaration... " >&6; }
64584 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
64585 if ${glibcxx_cv_func_sincosf_use+:} false; then :
64586 $as_echo_n "(cached) " >&6
64587 else
64590 ac_ext=cpp
64591 ac_cpp='$CXXCPP $CPPFLAGS'
64592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64597 /* end confdefs.h. */
64598 #include <math.h>
64600 main ()
64602 sincosf(0, 0, 0);
64604 return 0;
64606 _ACEOF
64607 if ac_fn_cxx_try_compile "$LINENO"; then :
64608 glibcxx_cv_func_sincosf_use=yes
64609 else
64610 glibcxx_cv_func_sincosf_use=no
64612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64613 ac_ext=c
64614 ac_cpp='$CPP $CPPFLAGS'
64615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
64624 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
64626 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
64627 for ac_func in sincosf
64628 do :
64629 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
64630 if test "x$ac_cv_func_sincosf" = xyes; then :
64631 cat >>confdefs.h <<_ACEOF
64632 #define HAVE_SINCOSF 1
64633 _ACEOF
64636 done
64638 else
64640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
64641 $as_echo_n "checking for _sincosf declaration... " >&6; }
64642 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
64643 if ${glibcxx_cv_func__sincosf_use+:} false; then :
64644 $as_echo_n "(cached) " >&6
64645 else
64648 ac_ext=cpp
64649 ac_cpp='$CXXCPP $CPPFLAGS'
64650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64655 /* end confdefs.h. */
64656 #include <math.h>
64658 main ()
64660 _sincosf(0, 0, 0);
64662 return 0;
64664 _ACEOF
64665 if ac_fn_cxx_try_compile "$LINENO"; then :
64666 glibcxx_cv_func__sincosf_use=yes
64667 else
64668 glibcxx_cv_func__sincosf_use=no
64670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64671 ac_ext=c
64672 ac_cpp='$CPP $CPPFLAGS'
64673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
64682 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
64684 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
64685 for ac_func in _sincosf
64686 do :
64687 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
64688 if test "x$ac_cv_func__sincosf" = xyes; then :
64689 cat >>confdefs.h <<_ACEOF
64690 #define HAVE__SINCOSF 1
64691 _ACEOF
64694 done
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
64704 $as_echo_n "checking for finitef declaration... " >&6; }
64705 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
64706 if ${glibcxx_cv_func_finitef_use+:} false; then :
64707 $as_echo_n "(cached) " >&6
64708 else
64711 ac_ext=cpp
64712 ac_cpp='$CXXCPP $CPPFLAGS'
64713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64718 /* end confdefs.h. */
64719 #include <math.h>
64720 #ifdef HAVE_IEEEFP_H
64721 #include <ieeefp.h>
64722 #endif
64725 main ()
64727 finitef(0);
64729 return 0;
64731 _ACEOF
64732 if ac_fn_cxx_try_compile "$LINENO"; then :
64733 glibcxx_cv_func_finitef_use=yes
64734 else
64735 glibcxx_cv_func_finitef_use=no
64737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64738 ac_ext=c
64739 ac_cpp='$CPP $CPPFLAGS'
64740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64749 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64751 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64752 for ac_func in finitef
64753 do :
64754 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64755 if test "x$ac_cv_func_finitef" = xyes; then :
64756 cat >>confdefs.h <<_ACEOF
64757 #define HAVE_FINITEF 1
64758 _ACEOF
64761 done
64763 else
64765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64766 $as_echo_n "checking for _finitef declaration... " >&6; }
64767 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64768 if ${glibcxx_cv_func__finitef_use+:} false; then :
64769 $as_echo_n "(cached) " >&6
64770 else
64773 ac_ext=cpp
64774 ac_cpp='$CXXCPP $CPPFLAGS'
64775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64780 /* end confdefs.h. */
64781 #include <math.h>
64782 #ifdef HAVE_IEEEFP_H
64783 #include <ieeefp.h>
64784 #endif
64787 main ()
64789 _finitef(0);
64791 return 0;
64793 _ACEOF
64794 if ac_fn_cxx_try_compile "$LINENO"; then :
64795 glibcxx_cv_func__finitef_use=yes
64796 else
64797 glibcxx_cv_func__finitef_use=no
64799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64800 ac_ext=c
64801 ac_cpp='$CPP $CPPFLAGS'
64802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64811 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64813 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64814 for ac_func in _finitef
64815 do :
64816 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64817 if test "x$ac_cv_func__finitef" = xyes; then :
64818 cat >>confdefs.h <<_ACEOF
64819 #define HAVE__FINITEF 1
64820 _ACEOF
64823 done
64832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64833 $as_echo_n "checking for long double trig functions... " >&6; }
64834 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64835 $as_echo_n "(cached) " >&6
64836 else
64839 ac_ext=cpp
64840 ac_cpp='$CXXCPP $CPPFLAGS'
64841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64846 /* end confdefs.h. */
64847 #include <math.h>
64849 main ()
64851 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64853 return 0;
64855 _ACEOF
64856 if ac_fn_cxx_try_compile "$LINENO"; then :
64857 glibcxx_cv_func_long_double_trig_use=yes
64858 else
64859 glibcxx_cv_func_long_double_trig_use=no
64861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64862 ac_ext=c
64863 ac_cpp='$CPP $CPPFLAGS'
64864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64871 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64872 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64873 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64874 do :
64875 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64876 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64877 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64878 cat >>confdefs.h <<_ACEOF
64879 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64880 _ACEOF
64883 done
64885 else
64886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64887 $as_echo_n "checking for _long double trig functions... " >&6; }
64888 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64889 $as_echo_n "(cached) " >&6
64890 else
64893 ac_ext=cpp
64894 ac_cpp='$CXXCPP $CPPFLAGS'
64895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64900 /* end confdefs.h. */
64901 #include <math.h>
64903 main ()
64905 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64907 return 0;
64909 _ACEOF
64910 if ac_fn_cxx_try_compile "$LINENO"; then :
64911 glibcxx_cv_func__long_double_trig_use=yes
64912 else
64913 glibcxx_cv_func__long_double_trig_use=no
64915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64916 ac_ext=c
64917 ac_cpp='$CPP $CPPFLAGS'
64918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64925 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64926 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64927 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64928 do :
64929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64931 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64932 cat >>confdefs.h <<_ACEOF
64933 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64934 _ACEOF
64937 done
64946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64947 $as_echo_n "checking for long double round functions... " >&6; }
64948 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64949 $as_echo_n "(cached) " >&6
64950 else
64953 ac_ext=cpp
64954 ac_cpp='$CXXCPP $CPPFLAGS'
64955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64960 /* end confdefs.h. */
64961 #include <math.h>
64963 main ()
64965 ceill (0); floorl (0);
64967 return 0;
64969 _ACEOF
64970 if ac_fn_cxx_try_compile "$LINENO"; then :
64971 glibcxx_cv_func_long_double_round_use=yes
64972 else
64973 glibcxx_cv_func_long_double_round_use=no
64975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64976 ac_ext=c
64977 ac_cpp='$CPP $CPPFLAGS'
64978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64985 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64986 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64987 for ac_func in ceill floorl
64988 do :
64989 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64990 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64991 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64992 cat >>confdefs.h <<_ACEOF
64993 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64994 _ACEOF
64997 done
64999 else
65000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
65001 $as_echo_n "checking for _long double round functions... " >&6; }
65002 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
65003 $as_echo_n "(cached) " >&6
65004 else
65007 ac_ext=cpp
65008 ac_cpp='$CXXCPP $CPPFLAGS'
65009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65014 /* end confdefs.h. */
65015 #include <math.h>
65017 main ()
65019 _ceill (0); _floorl (0);
65021 return 0;
65023 _ACEOF
65024 if ac_fn_cxx_try_compile "$LINENO"; then :
65025 glibcxx_cv_func__long_double_round_use=yes
65026 else
65027 glibcxx_cv_func__long_double_round_use=no
65029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65030 ac_ext=c
65031 ac_cpp='$CPP $CPPFLAGS'
65032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
65039 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
65040 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
65041 for ac_func in _ceill _floorl
65042 do :
65043 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65044 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65045 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
65046 cat >>confdefs.h <<_ACEOF
65047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65048 _ACEOF
65051 done
65061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
65062 $as_echo_n "checking for isnanl declaration... " >&6; }
65063 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
65064 if ${glibcxx_cv_func_isnanl_use+:} false; then :
65065 $as_echo_n "(cached) " >&6
65066 else
65069 ac_ext=cpp
65070 ac_cpp='$CXXCPP $CPPFLAGS'
65071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65076 /* end confdefs.h. */
65077 #include <math.h>
65078 #ifdef HAVE_IEEEFP_H
65079 #include <ieeefp.h>
65080 #endif
65083 main ()
65085 isnanl(0);
65087 return 0;
65089 _ACEOF
65090 if ac_fn_cxx_try_compile "$LINENO"; then :
65091 glibcxx_cv_func_isnanl_use=yes
65092 else
65093 glibcxx_cv_func_isnanl_use=no
65095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65096 ac_ext=c
65097 ac_cpp='$CPP $CPPFLAGS'
65098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
65107 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
65109 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
65110 for ac_func in isnanl
65111 do :
65112 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
65113 if test "x$ac_cv_func_isnanl" = xyes; then :
65114 cat >>confdefs.h <<_ACEOF
65115 #define HAVE_ISNANL 1
65116 _ACEOF
65119 done
65121 else
65123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
65124 $as_echo_n "checking for _isnanl declaration... " >&6; }
65125 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
65126 if ${glibcxx_cv_func__isnanl_use+:} false; then :
65127 $as_echo_n "(cached) " >&6
65128 else
65131 ac_ext=cpp
65132 ac_cpp='$CXXCPP $CPPFLAGS'
65133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65138 /* end confdefs.h. */
65139 #include <math.h>
65140 #ifdef HAVE_IEEEFP_H
65141 #include <ieeefp.h>
65142 #endif
65145 main ()
65147 _isnanl(0);
65149 return 0;
65151 _ACEOF
65152 if ac_fn_cxx_try_compile "$LINENO"; then :
65153 glibcxx_cv_func__isnanl_use=yes
65154 else
65155 glibcxx_cv_func__isnanl_use=no
65157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65158 ac_ext=c
65159 ac_cpp='$CPP $CPPFLAGS'
65160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
65169 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
65171 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
65172 for ac_func in _isnanl
65173 do :
65174 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
65175 if test "x$ac_cv_func__isnanl" = xyes; then :
65176 cat >>confdefs.h <<_ACEOF
65177 #define HAVE__ISNANL 1
65178 _ACEOF
65181 done
65190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
65191 $as_echo_n "checking for isinfl declaration... " >&6; }
65192 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
65193 if ${glibcxx_cv_func_isinfl_use+:} false; then :
65194 $as_echo_n "(cached) " >&6
65195 else
65198 ac_ext=cpp
65199 ac_cpp='$CXXCPP $CPPFLAGS'
65200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65205 /* end confdefs.h. */
65206 #include <math.h>
65207 #ifdef HAVE_IEEEFP_H
65208 #include <ieeefp.h>
65209 #endif
65212 main ()
65214 isinfl(0);
65216 return 0;
65218 _ACEOF
65219 if ac_fn_cxx_try_compile "$LINENO"; then :
65220 glibcxx_cv_func_isinfl_use=yes
65221 else
65222 glibcxx_cv_func_isinfl_use=no
65224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65225 ac_ext=c
65226 ac_cpp='$CPP $CPPFLAGS'
65227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
65236 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
65238 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
65239 for ac_func in isinfl
65240 do :
65241 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
65242 if test "x$ac_cv_func_isinfl" = xyes; then :
65243 cat >>confdefs.h <<_ACEOF
65244 #define HAVE_ISINFL 1
65245 _ACEOF
65248 done
65250 else
65252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
65253 $as_echo_n "checking for _isinfl declaration... " >&6; }
65254 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
65255 if ${glibcxx_cv_func__isinfl_use+:} false; then :
65256 $as_echo_n "(cached) " >&6
65257 else
65260 ac_ext=cpp
65261 ac_cpp='$CXXCPP $CPPFLAGS'
65262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65267 /* end confdefs.h. */
65268 #include <math.h>
65269 #ifdef HAVE_IEEEFP_H
65270 #include <ieeefp.h>
65271 #endif
65274 main ()
65276 _isinfl(0);
65278 return 0;
65280 _ACEOF
65281 if ac_fn_cxx_try_compile "$LINENO"; then :
65282 glibcxx_cv_func__isinfl_use=yes
65283 else
65284 glibcxx_cv_func__isinfl_use=no
65286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65287 ac_ext=c
65288 ac_cpp='$CPP $CPPFLAGS'
65289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
65298 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
65300 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
65301 for ac_func in _isinfl
65302 do :
65303 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
65304 if test "x$ac_cv_func__isinfl" = xyes; then :
65305 cat >>confdefs.h <<_ACEOF
65306 #define HAVE__ISINFL 1
65307 _ACEOF
65310 done
65319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
65320 $as_echo_n "checking for atan2l declaration... " >&6; }
65321 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
65322 if ${glibcxx_cv_func_atan2l_use+:} false; then :
65323 $as_echo_n "(cached) " >&6
65324 else
65327 ac_ext=cpp
65328 ac_cpp='$CXXCPP $CPPFLAGS'
65329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65334 /* end confdefs.h. */
65335 #include <math.h>
65337 main ()
65339 atan2l(0, 0);
65341 return 0;
65343 _ACEOF
65344 if ac_fn_cxx_try_compile "$LINENO"; then :
65345 glibcxx_cv_func_atan2l_use=yes
65346 else
65347 glibcxx_cv_func_atan2l_use=no
65349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65350 ac_ext=c
65351 ac_cpp='$CPP $CPPFLAGS'
65352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
65361 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
65363 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
65364 for ac_func in atan2l
65365 do :
65366 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
65367 if test "x$ac_cv_func_atan2l" = xyes; then :
65368 cat >>confdefs.h <<_ACEOF
65369 #define HAVE_ATAN2L 1
65370 _ACEOF
65373 done
65375 else
65377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
65378 $as_echo_n "checking for _atan2l declaration... " >&6; }
65379 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
65380 if ${glibcxx_cv_func__atan2l_use+:} false; then :
65381 $as_echo_n "(cached) " >&6
65382 else
65385 ac_ext=cpp
65386 ac_cpp='$CXXCPP $CPPFLAGS'
65387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65392 /* end confdefs.h. */
65393 #include <math.h>
65395 main ()
65397 _atan2l(0, 0);
65399 return 0;
65401 _ACEOF
65402 if ac_fn_cxx_try_compile "$LINENO"; then :
65403 glibcxx_cv_func__atan2l_use=yes
65404 else
65405 glibcxx_cv_func__atan2l_use=no
65407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65408 ac_ext=c
65409 ac_cpp='$CPP $CPPFLAGS'
65410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
65419 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
65421 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
65422 for ac_func in _atan2l
65423 do :
65424 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
65425 if test "x$ac_cv_func__atan2l" = xyes; then :
65426 cat >>confdefs.h <<_ACEOF
65427 #define HAVE__ATAN2L 1
65428 _ACEOF
65431 done
65440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
65441 $as_echo_n "checking for expl declaration... " >&6; }
65442 if test x${glibcxx_cv_func_expl_use+set} != xset; then
65443 if ${glibcxx_cv_func_expl_use+:} false; then :
65444 $as_echo_n "(cached) " >&6
65445 else
65448 ac_ext=cpp
65449 ac_cpp='$CXXCPP $CPPFLAGS'
65450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65455 /* end confdefs.h. */
65456 #include <math.h>
65457 #ifdef HAVE_IEEEFP_H
65458 #include <ieeefp.h>
65459 #endif
65462 main ()
65464 expl(0);
65466 return 0;
65468 _ACEOF
65469 if ac_fn_cxx_try_compile "$LINENO"; then :
65470 glibcxx_cv_func_expl_use=yes
65471 else
65472 glibcxx_cv_func_expl_use=no
65474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65475 ac_ext=c
65476 ac_cpp='$CPP $CPPFLAGS'
65477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
65486 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
65488 if test x$glibcxx_cv_func_expl_use = x"yes"; then
65489 for ac_func in expl
65490 do :
65491 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
65492 if test "x$ac_cv_func_expl" = xyes; then :
65493 cat >>confdefs.h <<_ACEOF
65494 #define HAVE_EXPL 1
65495 _ACEOF
65498 done
65500 else
65502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
65503 $as_echo_n "checking for _expl declaration... " >&6; }
65504 if test x${glibcxx_cv_func__expl_use+set} != xset; then
65505 if ${glibcxx_cv_func__expl_use+:} false; then :
65506 $as_echo_n "(cached) " >&6
65507 else
65510 ac_ext=cpp
65511 ac_cpp='$CXXCPP $CPPFLAGS'
65512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65517 /* end confdefs.h. */
65518 #include <math.h>
65519 #ifdef HAVE_IEEEFP_H
65520 #include <ieeefp.h>
65521 #endif
65524 main ()
65526 _expl(0);
65528 return 0;
65530 _ACEOF
65531 if ac_fn_cxx_try_compile "$LINENO"; then :
65532 glibcxx_cv_func__expl_use=yes
65533 else
65534 glibcxx_cv_func__expl_use=no
65536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65537 ac_ext=c
65538 ac_cpp='$CPP $CPPFLAGS'
65539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
65548 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
65550 if test x$glibcxx_cv_func__expl_use = x"yes"; then
65551 for ac_func in _expl
65552 do :
65553 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
65554 if test "x$ac_cv_func__expl" = xyes; then :
65555 cat >>confdefs.h <<_ACEOF
65556 #define HAVE__EXPL 1
65557 _ACEOF
65560 done
65569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
65570 $as_echo_n "checking for fabsl declaration... " >&6; }
65571 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
65572 if ${glibcxx_cv_func_fabsl_use+:} false; then :
65573 $as_echo_n "(cached) " >&6
65574 else
65577 ac_ext=cpp
65578 ac_cpp='$CXXCPP $CPPFLAGS'
65579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65584 /* end confdefs.h. */
65585 #include <math.h>
65586 #ifdef HAVE_IEEEFP_H
65587 #include <ieeefp.h>
65588 #endif
65591 main ()
65593 fabsl(0);
65595 return 0;
65597 _ACEOF
65598 if ac_fn_cxx_try_compile "$LINENO"; then :
65599 glibcxx_cv_func_fabsl_use=yes
65600 else
65601 glibcxx_cv_func_fabsl_use=no
65603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65604 ac_ext=c
65605 ac_cpp='$CPP $CPPFLAGS'
65606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
65615 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
65617 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
65618 for ac_func in fabsl
65619 do :
65620 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
65621 if test "x$ac_cv_func_fabsl" = xyes; then :
65622 cat >>confdefs.h <<_ACEOF
65623 #define HAVE_FABSL 1
65624 _ACEOF
65627 done
65629 else
65631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
65632 $as_echo_n "checking for _fabsl declaration... " >&6; }
65633 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
65634 if ${glibcxx_cv_func__fabsl_use+:} false; then :
65635 $as_echo_n "(cached) " >&6
65636 else
65639 ac_ext=cpp
65640 ac_cpp='$CXXCPP $CPPFLAGS'
65641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65646 /* end confdefs.h. */
65647 #include <math.h>
65648 #ifdef HAVE_IEEEFP_H
65649 #include <ieeefp.h>
65650 #endif
65653 main ()
65655 _fabsl(0);
65657 return 0;
65659 _ACEOF
65660 if ac_fn_cxx_try_compile "$LINENO"; then :
65661 glibcxx_cv_func__fabsl_use=yes
65662 else
65663 glibcxx_cv_func__fabsl_use=no
65665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65666 ac_ext=c
65667 ac_cpp='$CPP $CPPFLAGS'
65668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
65677 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
65679 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
65680 for ac_func in _fabsl
65681 do :
65682 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
65683 if test "x$ac_cv_func__fabsl" = xyes; then :
65684 cat >>confdefs.h <<_ACEOF
65685 #define HAVE__FABSL 1
65686 _ACEOF
65689 done
65698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
65699 $as_echo_n "checking for fmodl declaration... " >&6; }
65700 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
65701 if ${glibcxx_cv_func_fmodl_use+:} false; then :
65702 $as_echo_n "(cached) " >&6
65703 else
65706 ac_ext=cpp
65707 ac_cpp='$CXXCPP $CPPFLAGS'
65708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65713 /* end confdefs.h. */
65714 #include <math.h>
65716 main ()
65718 fmodl(0, 0);
65720 return 0;
65722 _ACEOF
65723 if ac_fn_cxx_try_compile "$LINENO"; then :
65724 glibcxx_cv_func_fmodl_use=yes
65725 else
65726 glibcxx_cv_func_fmodl_use=no
65728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65729 ac_ext=c
65730 ac_cpp='$CPP $CPPFLAGS'
65731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
65740 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
65742 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
65743 for ac_func in fmodl
65744 do :
65745 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
65746 if test "x$ac_cv_func_fmodl" = xyes; then :
65747 cat >>confdefs.h <<_ACEOF
65748 #define HAVE_FMODL 1
65749 _ACEOF
65752 done
65754 else
65756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65757 $as_echo_n "checking for _fmodl declaration... " >&6; }
65758 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65759 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65760 $as_echo_n "(cached) " >&6
65761 else
65764 ac_ext=cpp
65765 ac_cpp='$CXXCPP $CPPFLAGS'
65766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65771 /* end confdefs.h. */
65772 #include <math.h>
65774 main ()
65776 _fmodl(0, 0);
65778 return 0;
65780 _ACEOF
65781 if ac_fn_cxx_try_compile "$LINENO"; then :
65782 glibcxx_cv_func__fmodl_use=yes
65783 else
65784 glibcxx_cv_func__fmodl_use=no
65786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65787 ac_ext=c
65788 ac_cpp='$CPP $CPPFLAGS'
65789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65798 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65800 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65801 for ac_func in _fmodl
65802 do :
65803 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65804 if test "x$ac_cv_func__fmodl" = xyes; then :
65805 cat >>confdefs.h <<_ACEOF
65806 #define HAVE__FMODL 1
65807 _ACEOF
65810 done
65819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65820 $as_echo_n "checking for frexpl declaration... " >&6; }
65821 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65822 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65823 $as_echo_n "(cached) " >&6
65824 else
65827 ac_ext=cpp
65828 ac_cpp='$CXXCPP $CPPFLAGS'
65829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65834 /* end confdefs.h. */
65835 #include <math.h>
65837 main ()
65839 frexpl(0, 0);
65841 return 0;
65843 _ACEOF
65844 if ac_fn_cxx_try_compile "$LINENO"; then :
65845 glibcxx_cv_func_frexpl_use=yes
65846 else
65847 glibcxx_cv_func_frexpl_use=no
65849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65850 ac_ext=c
65851 ac_cpp='$CPP $CPPFLAGS'
65852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65861 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65863 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65864 for ac_func in frexpl
65865 do :
65866 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65867 if test "x$ac_cv_func_frexpl" = xyes; then :
65868 cat >>confdefs.h <<_ACEOF
65869 #define HAVE_FREXPL 1
65870 _ACEOF
65873 done
65875 else
65877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65878 $as_echo_n "checking for _frexpl declaration... " >&6; }
65879 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65880 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65881 $as_echo_n "(cached) " >&6
65882 else
65885 ac_ext=cpp
65886 ac_cpp='$CXXCPP $CPPFLAGS'
65887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65892 /* end confdefs.h. */
65893 #include <math.h>
65895 main ()
65897 _frexpl(0, 0);
65899 return 0;
65901 _ACEOF
65902 if ac_fn_cxx_try_compile "$LINENO"; then :
65903 glibcxx_cv_func__frexpl_use=yes
65904 else
65905 glibcxx_cv_func__frexpl_use=no
65907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65908 ac_ext=c
65909 ac_cpp='$CPP $CPPFLAGS'
65910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65919 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65921 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65922 for ac_func in _frexpl
65923 do :
65924 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65925 if test "x$ac_cv_func__frexpl" = xyes; then :
65926 cat >>confdefs.h <<_ACEOF
65927 #define HAVE__FREXPL 1
65928 _ACEOF
65931 done
65940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65941 $as_echo_n "checking for hypotl declaration... " >&6; }
65942 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65943 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65944 $as_echo_n "(cached) " >&6
65945 else
65948 ac_ext=cpp
65949 ac_cpp='$CXXCPP $CPPFLAGS'
65950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65955 /* end confdefs.h. */
65956 #include <math.h>
65958 main ()
65960 hypotl(0, 0);
65962 return 0;
65964 _ACEOF
65965 if ac_fn_cxx_try_compile "$LINENO"; then :
65966 glibcxx_cv_func_hypotl_use=yes
65967 else
65968 glibcxx_cv_func_hypotl_use=no
65970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65971 ac_ext=c
65972 ac_cpp='$CPP $CPPFLAGS'
65973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65982 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65984 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65985 for ac_func in hypotl
65986 do :
65987 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65988 if test "x$ac_cv_func_hypotl" = xyes; then :
65989 cat >>confdefs.h <<_ACEOF
65990 #define HAVE_HYPOTL 1
65991 _ACEOF
65994 done
65996 else
65998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65999 $as_echo_n "checking for _hypotl declaration... " >&6; }
66000 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
66001 if ${glibcxx_cv_func__hypotl_use+:} false; then :
66002 $as_echo_n "(cached) " >&6
66003 else
66006 ac_ext=cpp
66007 ac_cpp='$CXXCPP $CPPFLAGS'
66008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66013 /* end confdefs.h. */
66014 #include <math.h>
66016 main ()
66018 _hypotl(0, 0);
66020 return 0;
66022 _ACEOF
66023 if ac_fn_cxx_try_compile "$LINENO"; then :
66024 glibcxx_cv_func__hypotl_use=yes
66025 else
66026 glibcxx_cv_func__hypotl_use=no
66028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66029 ac_ext=c
66030 ac_cpp='$CPP $CPPFLAGS'
66031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
66040 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
66042 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
66043 for ac_func in _hypotl
66044 do :
66045 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
66046 if test "x$ac_cv_func__hypotl" = xyes; then :
66047 cat >>confdefs.h <<_ACEOF
66048 #define HAVE__HYPOTL 1
66049 _ACEOF
66052 done
66061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
66062 $as_echo_n "checking for ldexpl declaration... " >&6; }
66063 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
66064 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
66065 $as_echo_n "(cached) " >&6
66066 else
66069 ac_ext=cpp
66070 ac_cpp='$CXXCPP $CPPFLAGS'
66071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66076 /* end confdefs.h. */
66077 #include <math.h>
66079 main ()
66081 ldexpl(0, 0);
66083 return 0;
66085 _ACEOF
66086 if ac_fn_cxx_try_compile "$LINENO"; then :
66087 glibcxx_cv_func_ldexpl_use=yes
66088 else
66089 glibcxx_cv_func_ldexpl_use=no
66091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66092 ac_ext=c
66093 ac_cpp='$CPP $CPPFLAGS'
66094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
66103 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
66105 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
66106 for ac_func in ldexpl
66107 do :
66108 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
66109 if test "x$ac_cv_func_ldexpl" = xyes; then :
66110 cat >>confdefs.h <<_ACEOF
66111 #define HAVE_LDEXPL 1
66112 _ACEOF
66115 done
66117 else
66119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
66120 $as_echo_n "checking for _ldexpl declaration... " >&6; }
66121 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
66122 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
66123 $as_echo_n "(cached) " >&6
66124 else
66127 ac_ext=cpp
66128 ac_cpp='$CXXCPP $CPPFLAGS'
66129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66134 /* end confdefs.h. */
66135 #include <math.h>
66137 main ()
66139 _ldexpl(0, 0);
66141 return 0;
66143 _ACEOF
66144 if ac_fn_cxx_try_compile "$LINENO"; then :
66145 glibcxx_cv_func__ldexpl_use=yes
66146 else
66147 glibcxx_cv_func__ldexpl_use=no
66149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66150 ac_ext=c
66151 ac_cpp='$CPP $CPPFLAGS'
66152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
66161 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
66163 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
66164 for ac_func in _ldexpl
66165 do :
66166 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
66167 if test "x$ac_cv_func__ldexpl" = xyes; then :
66168 cat >>confdefs.h <<_ACEOF
66169 #define HAVE__LDEXPL 1
66170 _ACEOF
66173 done
66182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
66183 $as_echo_n "checking for logl declaration... " >&6; }
66184 if test x${glibcxx_cv_func_logl_use+set} != xset; then
66185 if ${glibcxx_cv_func_logl_use+:} false; then :
66186 $as_echo_n "(cached) " >&6
66187 else
66190 ac_ext=cpp
66191 ac_cpp='$CXXCPP $CPPFLAGS'
66192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66197 /* end confdefs.h. */
66198 #include <math.h>
66199 #ifdef HAVE_IEEEFP_H
66200 #include <ieeefp.h>
66201 #endif
66204 main ()
66206 logl(0);
66208 return 0;
66210 _ACEOF
66211 if ac_fn_cxx_try_compile "$LINENO"; then :
66212 glibcxx_cv_func_logl_use=yes
66213 else
66214 glibcxx_cv_func_logl_use=no
66216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66217 ac_ext=c
66218 ac_cpp='$CPP $CPPFLAGS'
66219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
66228 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
66230 if test x$glibcxx_cv_func_logl_use = x"yes"; then
66231 for ac_func in logl
66232 do :
66233 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
66234 if test "x$ac_cv_func_logl" = xyes; then :
66235 cat >>confdefs.h <<_ACEOF
66236 #define HAVE_LOGL 1
66237 _ACEOF
66240 done
66242 else
66244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
66245 $as_echo_n "checking for _logl declaration... " >&6; }
66246 if test x${glibcxx_cv_func__logl_use+set} != xset; then
66247 if ${glibcxx_cv_func__logl_use+:} false; then :
66248 $as_echo_n "(cached) " >&6
66249 else
66252 ac_ext=cpp
66253 ac_cpp='$CXXCPP $CPPFLAGS'
66254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66259 /* end confdefs.h. */
66260 #include <math.h>
66261 #ifdef HAVE_IEEEFP_H
66262 #include <ieeefp.h>
66263 #endif
66266 main ()
66268 _logl(0);
66270 return 0;
66272 _ACEOF
66273 if ac_fn_cxx_try_compile "$LINENO"; then :
66274 glibcxx_cv_func__logl_use=yes
66275 else
66276 glibcxx_cv_func__logl_use=no
66278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66279 ac_ext=c
66280 ac_cpp='$CPP $CPPFLAGS'
66281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
66290 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
66292 if test x$glibcxx_cv_func__logl_use = x"yes"; then
66293 for ac_func in _logl
66294 do :
66295 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
66296 if test "x$ac_cv_func__logl" = xyes; then :
66297 cat >>confdefs.h <<_ACEOF
66298 #define HAVE__LOGL 1
66299 _ACEOF
66302 done
66311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
66312 $as_echo_n "checking for log10l declaration... " >&6; }
66313 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
66314 if ${glibcxx_cv_func_log10l_use+:} false; then :
66315 $as_echo_n "(cached) " >&6
66316 else
66319 ac_ext=cpp
66320 ac_cpp='$CXXCPP $CPPFLAGS'
66321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66326 /* end confdefs.h. */
66327 #include <math.h>
66328 #ifdef HAVE_IEEEFP_H
66329 #include <ieeefp.h>
66330 #endif
66333 main ()
66335 log10l(0);
66337 return 0;
66339 _ACEOF
66340 if ac_fn_cxx_try_compile "$LINENO"; then :
66341 glibcxx_cv_func_log10l_use=yes
66342 else
66343 glibcxx_cv_func_log10l_use=no
66345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66346 ac_ext=c
66347 ac_cpp='$CPP $CPPFLAGS'
66348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
66357 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
66359 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
66360 for ac_func in log10l
66361 do :
66362 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
66363 if test "x$ac_cv_func_log10l" = xyes; then :
66364 cat >>confdefs.h <<_ACEOF
66365 #define HAVE_LOG10L 1
66366 _ACEOF
66369 done
66371 else
66373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
66374 $as_echo_n "checking for _log10l declaration... " >&6; }
66375 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
66376 if ${glibcxx_cv_func__log10l_use+:} false; then :
66377 $as_echo_n "(cached) " >&6
66378 else
66381 ac_ext=cpp
66382 ac_cpp='$CXXCPP $CPPFLAGS'
66383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66388 /* end confdefs.h. */
66389 #include <math.h>
66390 #ifdef HAVE_IEEEFP_H
66391 #include <ieeefp.h>
66392 #endif
66395 main ()
66397 _log10l(0);
66399 return 0;
66401 _ACEOF
66402 if ac_fn_cxx_try_compile "$LINENO"; then :
66403 glibcxx_cv_func__log10l_use=yes
66404 else
66405 glibcxx_cv_func__log10l_use=no
66407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66408 ac_ext=c
66409 ac_cpp='$CPP $CPPFLAGS'
66410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
66419 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
66421 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
66422 for ac_func in _log10l
66423 do :
66424 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
66425 if test "x$ac_cv_func__log10l" = xyes; then :
66426 cat >>confdefs.h <<_ACEOF
66427 #define HAVE__LOG10L 1
66428 _ACEOF
66431 done
66440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
66441 $as_echo_n "checking for modfl declaration... " >&6; }
66442 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
66443 if ${glibcxx_cv_func_modfl_use+:} false; then :
66444 $as_echo_n "(cached) " >&6
66445 else
66448 ac_ext=cpp
66449 ac_cpp='$CXXCPP $CPPFLAGS'
66450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66455 /* end confdefs.h. */
66456 #include <math.h>
66458 main ()
66460 modfl(0, 0);
66462 return 0;
66464 _ACEOF
66465 if ac_fn_cxx_try_compile "$LINENO"; then :
66466 glibcxx_cv_func_modfl_use=yes
66467 else
66468 glibcxx_cv_func_modfl_use=no
66470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66471 ac_ext=c
66472 ac_cpp='$CPP $CPPFLAGS'
66473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
66482 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
66484 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
66485 for ac_func in modfl
66486 do :
66487 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
66488 if test "x$ac_cv_func_modfl" = xyes; then :
66489 cat >>confdefs.h <<_ACEOF
66490 #define HAVE_MODFL 1
66491 _ACEOF
66494 done
66496 else
66498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
66499 $as_echo_n "checking for _modfl declaration... " >&6; }
66500 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
66501 if ${glibcxx_cv_func__modfl_use+:} false; then :
66502 $as_echo_n "(cached) " >&6
66503 else
66506 ac_ext=cpp
66507 ac_cpp='$CXXCPP $CPPFLAGS'
66508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66513 /* end confdefs.h. */
66514 #include <math.h>
66516 main ()
66518 _modfl(0, 0);
66520 return 0;
66522 _ACEOF
66523 if ac_fn_cxx_try_compile "$LINENO"; then :
66524 glibcxx_cv_func__modfl_use=yes
66525 else
66526 glibcxx_cv_func__modfl_use=no
66528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66529 ac_ext=c
66530 ac_cpp='$CPP $CPPFLAGS'
66531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
66540 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
66542 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
66543 for ac_func in _modfl
66544 do :
66545 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
66546 if test "x$ac_cv_func__modfl" = xyes; then :
66547 cat >>confdefs.h <<_ACEOF
66548 #define HAVE__MODFL 1
66549 _ACEOF
66552 done
66561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
66562 $as_echo_n "checking for powl declaration... " >&6; }
66563 if test x${glibcxx_cv_func_powl_use+set} != xset; then
66564 if ${glibcxx_cv_func_powl_use+:} false; then :
66565 $as_echo_n "(cached) " >&6
66566 else
66569 ac_ext=cpp
66570 ac_cpp='$CXXCPP $CPPFLAGS'
66571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66576 /* end confdefs.h. */
66577 #include <math.h>
66579 main ()
66581 powl(0, 0);
66583 return 0;
66585 _ACEOF
66586 if ac_fn_cxx_try_compile "$LINENO"; then :
66587 glibcxx_cv_func_powl_use=yes
66588 else
66589 glibcxx_cv_func_powl_use=no
66591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66592 ac_ext=c
66593 ac_cpp='$CPP $CPPFLAGS'
66594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
66603 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
66605 if test x$glibcxx_cv_func_powl_use = x"yes"; then
66606 for ac_func in powl
66607 do :
66608 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
66609 if test "x$ac_cv_func_powl" = xyes; then :
66610 cat >>confdefs.h <<_ACEOF
66611 #define HAVE_POWL 1
66612 _ACEOF
66615 done
66617 else
66619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
66620 $as_echo_n "checking for _powl declaration... " >&6; }
66621 if test x${glibcxx_cv_func__powl_use+set} != xset; then
66622 if ${glibcxx_cv_func__powl_use+:} false; then :
66623 $as_echo_n "(cached) " >&6
66624 else
66627 ac_ext=cpp
66628 ac_cpp='$CXXCPP $CPPFLAGS'
66629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66634 /* end confdefs.h. */
66635 #include <math.h>
66637 main ()
66639 _powl(0, 0);
66641 return 0;
66643 _ACEOF
66644 if ac_fn_cxx_try_compile "$LINENO"; then :
66645 glibcxx_cv_func__powl_use=yes
66646 else
66647 glibcxx_cv_func__powl_use=no
66649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66650 ac_ext=c
66651 ac_cpp='$CPP $CPPFLAGS'
66652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
66661 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
66663 if test x$glibcxx_cv_func__powl_use = x"yes"; then
66664 for ac_func in _powl
66665 do :
66666 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
66667 if test "x$ac_cv_func__powl" = xyes; then :
66668 cat >>confdefs.h <<_ACEOF
66669 #define HAVE__POWL 1
66670 _ACEOF
66673 done
66682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
66683 $as_echo_n "checking for sqrtl declaration... " >&6; }
66684 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
66685 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
66686 $as_echo_n "(cached) " >&6
66687 else
66690 ac_ext=cpp
66691 ac_cpp='$CXXCPP $CPPFLAGS'
66692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66697 /* end confdefs.h. */
66698 #include <math.h>
66699 #ifdef HAVE_IEEEFP_H
66700 #include <ieeefp.h>
66701 #endif
66704 main ()
66706 sqrtl(0);
66708 return 0;
66710 _ACEOF
66711 if ac_fn_cxx_try_compile "$LINENO"; then :
66712 glibcxx_cv_func_sqrtl_use=yes
66713 else
66714 glibcxx_cv_func_sqrtl_use=no
66716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66717 ac_ext=c
66718 ac_cpp='$CPP $CPPFLAGS'
66719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
66728 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
66730 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
66731 for ac_func in sqrtl
66732 do :
66733 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
66734 if test "x$ac_cv_func_sqrtl" = xyes; then :
66735 cat >>confdefs.h <<_ACEOF
66736 #define HAVE_SQRTL 1
66737 _ACEOF
66740 done
66742 else
66744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
66745 $as_echo_n "checking for _sqrtl declaration... " >&6; }
66746 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
66747 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66748 $as_echo_n "(cached) " >&6
66749 else
66752 ac_ext=cpp
66753 ac_cpp='$CXXCPP $CPPFLAGS'
66754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66759 /* end confdefs.h. */
66760 #include <math.h>
66761 #ifdef HAVE_IEEEFP_H
66762 #include <ieeefp.h>
66763 #endif
66766 main ()
66768 _sqrtl(0);
66770 return 0;
66772 _ACEOF
66773 if ac_fn_cxx_try_compile "$LINENO"; then :
66774 glibcxx_cv_func__sqrtl_use=yes
66775 else
66776 glibcxx_cv_func__sqrtl_use=no
66778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66779 ac_ext=c
66780 ac_cpp='$CPP $CPPFLAGS'
66781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66790 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66792 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66793 for ac_func in _sqrtl
66794 do :
66795 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66796 if test "x$ac_cv_func__sqrtl" = xyes; then :
66797 cat >>confdefs.h <<_ACEOF
66798 #define HAVE__SQRTL 1
66799 _ACEOF
66802 done
66811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66812 $as_echo_n "checking for sincosl declaration... " >&6; }
66813 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66814 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66815 $as_echo_n "(cached) " >&6
66816 else
66819 ac_ext=cpp
66820 ac_cpp='$CXXCPP $CPPFLAGS'
66821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66826 /* end confdefs.h. */
66827 #include <math.h>
66829 main ()
66831 sincosl(0, 0, 0);
66833 return 0;
66835 _ACEOF
66836 if ac_fn_cxx_try_compile "$LINENO"; then :
66837 glibcxx_cv_func_sincosl_use=yes
66838 else
66839 glibcxx_cv_func_sincosl_use=no
66841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66842 ac_ext=c
66843 ac_cpp='$CPP $CPPFLAGS'
66844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66853 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66855 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66856 for ac_func in sincosl
66857 do :
66858 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66859 if test "x$ac_cv_func_sincosl" = xyes; then :
66860 cat >>confdefs.h <<_ACEOF
66861 #define HAVE_SINCOSL 1
66862 _ACEOF
66865 done
66867 else
66869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66870 $as_echo_n "checking for _sincosl declaration... " >&6; }
66871 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66872 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66873 $as_echo_n "(cached) " >&6
66874 else
66877 ac_ext=cpp
66878 ac_cpp='$CXXCPP $CPPFLAGS'
66879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66884 /* end confdefs.h. */
66885 #include <math.h>
66887 main ()
66889 _sincosl(0, 0, 0);
66891 return 0;
66893 _ACEOF
66894 if ac_fn_cxx_try_compile "$LINENO"; then :
66895 glibcxx_cv_func__sincosl_use=yes
66896 else
66897 glibcxx_cv_func__sincosl_use=no
66899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66900 ac_ext=c
66901 ac_cpp='$CPP $CPPFLAGS'
66902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66911 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66913 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66914 for ac_func in _sincosl
66915 do :
66916 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66917 if test "x$ac_cv_func__sincosl" = xyes; then :
66918 cat >>confdefs.h <<_ACEOF
66919 #define HAVE__SINCOSL 1
66920 _ACEOF
66923 done
66932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66933 $as_echo_n "checking for finitel declaration... " >&6; }
66934 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66935 if ${glibcxx_cv_func_finitel_use+:} false; then :
66936 $as_echo_n "(cached) " >&6
66937 else
66940 ac_ext=cpp
66941 ac_cpp='$CXXCPP $CPPFLAGS'
66942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66947 /* end confdefs.h. */
66948 #include <math.h>
66949 #ifdef HAVE_IEEEFP_H
66950 #include <ieeefp.h>
66951 #endif
66954 main ()
66956 finitel(0);
66958 return 0;
66960 _ACEOF
66961 if ac_fn_cxx_try_compile "$LINENO"; then :
66962 glibcxx_cv_func_finitel_use=yes
66963 else
66964 glibcxx_cv_func_finitel_use=no
66966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66967 ac_ext=c
66968 ac_cpp='$CPP $CPPFLAGS'
66969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66978 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66980 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66981 for ac_func in finitel
66982 do :
66983 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66984 if test "x$ac_cv_func_finitel" = xyes; then :
66985 cat >>confdefs.h <<_ACEOF
66986 #define HAVE_FINITEL 1
66987 _ACEOF
66990 done
66992 else
66994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66995 $as_echo_n "checking for _finitel declaration... " >&6; }
66996 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66997 if ${glibcxx_cv_func__finitel_use+:} false; then :
66998 $as_echo_n "(cached) " >&6
66999 else
67002 ac_ext=cpp
67003 ac_cpp='$CXXCPP $CPPFLAGS'
67004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67009 /* end confdefs.h. */
67010 #include <math.h>
67011 #ifdef HAVE_IEEEFP_H
67012 #include <ieeefp.h>
67013 #endif
67016 main ()
67018 _finitel(0);
67020 return 0;
67022 _ACEOF
67023 if ac_fn_cxx_try_compile "$LINENO"; then :
67024 glibcxx_cv_func__finitel_use=yes
67025 else
67026 glibcxx_cv_func__finitel_use=no
67028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67029 ac_ext=c
67030 ac_cpp='$CPP $CPPFLAGS'
67031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
67040 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
67042 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
67043 for ac_func in _finitel
67044 do :
67045 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
67046 if test "x$ac_cv_func__finitel" = xyes; then :
67047 cat >>confdefs.h <<_ACEOF
67048 #define HAVE__FINITEL 1
67049 _ACEOF
67052 done
67060 LIBS="$ac_save_LIBS"
67061 CXXFLAGS="$ac_save_CXXFLAGS"
67064 ac_test_CXXFLAGS="${CXXFLAGS+set}"
67065 ac_save_CXXFLAGS="$CXXFLAGS"
67066 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
67070 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
67071 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
67072 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
67073 $as_echo_n "(cached) " >&6
67074 else
67077 ac_ext=cpp
67078 ac_cpp='$CXXCPP $CPPFLAGS'
67079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67084 /* end confdefs.h. */
67085 #include <stdlib.h>
67087 main ()
67089 at_quick_exit(0);
67091 return 0;
67093 _ACEOF
67094 if ac_fn_cxx_try_compile "$LINENO"; then :
67095 glibcxx_cv_func_at_quick_exit_use=yes
67096 else
67097 glibcxx_cv_func_at_quick_exit_use=no
67099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67100 ac_ext=c
67101 ac_cpp='$CPP $CPPFLAGS'
67102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
67111 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
67112 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
67113 for ac_func in at_quick_exit
67114 do :
67115 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
67116 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
67117 cat >>confdefs.h <<_ACEOF
67118 #define HAVE_AT_QUICK_EXIT 1
67119 _ACEOF
67122 done
67127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
67128 $as_echo_n "checking for quick_exit declaration... " >&6; }
67129 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
67130 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
67131 $as_echo_n "(cached) " >&6
67132 else
67135 ac_ext=cpp
67136 ac_cpp='$CXXCPP $CPPFLAGS'
67137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67142 /* end confdefs.h. */
67143 #include <stdlib.h>
67145 main ()
67147 quick_exit(0);
67149 return 0;
67151 _ACEOF
67152 if ac_fn_cxx_try_compile "$LINENO"; then :
67153 glibcxx_cv_func_quick_exit_use=yes
67154 else
67155 glibcxx_cv_func_quick_exit_use=no
67157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67158 ac_ext=c
67159 ac_cpp='$CPP $CPPFLAGS'
67160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
67169 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
67170 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
67171 for ac_func in quick_exit
67172 do :
67173 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
67174 if test "x$ac_cv_func_quick_exit" = xyes; then :
67175 cat >>confdefs.h <<_ACEOF
67176 #define HAVE_QUICK_EXIT 1
67177 _ACEOF
67180 done
67185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
67186 $as_echo_n "checking for strtold declaration... " >&6; }
67187 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
67188 if ${glibcxx_cv_func_strtold_use+:} false; then :
67189 $as_echo_n "(cached) " >&6
67190 else
67193 ac_ext=cpp
67194 ac_cpp='$CXXCPP $CPPFLAGS'
67195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67200 /* end confdefs.h. */
67201 #include <stdlib.h>
67203 main ()
67205 strtold(0, 0);
67207 return 0;
67209 _ACEOF
67210 if ac_fn_cxx_try_compile "$LINENO"; then :
67211 glibcxx_cv_func_strtold_use=yes
67212 else
67213 glibcxx_cv_func_strtold_use=no
67215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67216 ac_ext=c
67217 ac_cpp='$CPP $CPPFLAGS'
67218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
67227 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
67228 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
67229 for ac_func in strtold
67230 do :
67231 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
67232 if test "x$ac_cv_func_strtold" = xyes; then :
67233 cat >>confdefs.h <<_ACEOF
67234 #define HAVE_STRTOLD 1
67235 _ACEOF
67238 done
67245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
67246 $as_echo_n "checking for strtof declaration... " >&6; }
67247 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
67248 if ${glibcxx_cv_func_strtof_use+:} false; then :
67249 $as_echo_n "(cached) " >&6
67250 else
67253 ac_ext=cpp
67254 ac_cpp='$CXXCPP $CPPFLAGS'
67255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67260 /* end confdefs.h. */
67261 #include <stdlib.h>
67263 main ()
67265 strtof(0, 0);
67267 return 0;
67269 _ACEOF
67270 if ac_fn_cxx_try_compile "$LINENO"; then :
67271 glibcxx_cv_func_strtof_use=yes
67272 else
67273 glibcxx_cv_func_strtof_use=no
67275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67276 ac_ext=c
67277 ac_cpp='$CPP $CPPFLAGS'
67278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
67287 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
67288 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
67289 for ac_func in strtof
67290 do :
67291 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
67292 if test "x$ac_cv_func_strtof" = xyes; then :
67293 cat >>confdefs.h <<_ACEOF
67294 #define HAVE_STRTOF 1
67295 _ACEOF
67298 done
67305 CXXFLAGS="$ac_save_CXXFLAGS"
67308 *-vxworks*)
67309 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
67311 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
67313 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
67315 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
67317 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
67319 $as_echo "#define HAVE_COSF 1" >>confdefs.h
67321 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
67323 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
67325 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
67327 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
67329 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
67331 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
67333 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
67335 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
67337 $as_echo "#define HAVE_POWF 1" >>confdefs.h
67339 $as_echo "#define HAVE_SINF 1" >>confdefs.h
67341 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
67343 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
67345 $as_echo "#define HAVE_TANF 1" >>confdefs.h
67347 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
67353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
67354 $as_echo_n "checking for acosl declaration... " >&6; }
67355 if ${glibcxx_cv_func_acosl_use+:} false; then :
67356 $as_echo_n "(cached) " >&6
67357 else
67360 ac_ext=c
67361 ac_cpp='$CPP $CPPFLAGS'
67362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67367 /* end confdefs.h. */
67369 #include <math.h>
67370 #ifdef HAVE_IEEEFP_H
67371 # include <ieeefp.h>
67372 #endif
67373 #undef acosl
67376 main ()
67379 void (*f)(void) = (void (*)(void))acosl;
67382 return 0;
67384 _ACEOF
67385 if ac_fn_c_try_compile "$LINENO"; then :
67386 glibcxx_cv_func_acosl_use=yes
67388 else
67389 glibcxx_cv_func_acosl_use=no
67391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
67394 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
67395 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
67396 cat >>confdefs.h <<_ACEOF
67397 #define HAVE_ACOSL 1
67398 _ACEOF
67404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
67405 $as_echo_n "checking for asinl declaration... " >&6; }
67406 if ${glibcxx_cv_func_asinl_use+:} false; then :
67407 $as_echo_n "(cached) " >&6
67408 else
67411 ac_ext=c
67412 ac_cpp='$CPP $CPPFLAGS'
67413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67418 /* end confdefs.h. */
67420 #include <math.h>
67421 #ifdef HAVE_IEEEFP_H
67422 # include <ieeefp.h>
67423 #endif
67424 #undef asinl
67427 main ()
67430 void (*f)(void) = (void (*)(void))asinl;
67433 return 0;
67435 _ACEOF
67436 if ac_fn_c_try_compile "$LINENO"; then :
67437 glibcxx_cv_func_asinl_use=yes
67439 else
67440 glibcxx_cv_func_asinl_use=no
67442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
67445 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
67446 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
67447 cat >>confdefs.h <<_ACEOF
67448 #define HAVE_ASINL 1
67449 _ACEOF
67455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67456 $as_echo_n "checking for atan2l declaration... " >&6; }
67457 if ${glibcxx_cv_func_atan2l_use+:} false; then :
67458 $as_echo_n "(cached) " >&6
67459 else
67462 ac_ext=c
67463 ac_cpp='$CPP $CPPFLAGS'
67464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67469 /* end confdefs.h. */
67471 #include <math.h>
67472 #ifdef HAVE_IEEEFP_H
67473 # include <ieeefp.h>
67474 #endif
67475 #undef atan2l
67478 main ()
67481 void (*f)(void) = (void (*)(void))atan2l;
67484 return 0;
67486 _ACEOF
67487 if ac_fn_c_try_compile "$LINENO"; then :
67488 glibcxx_cv_func_atan2l_use=yes
67490 else
67491 glibcxx_cv_func_atan2l_use=no
67493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67496 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67497 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
67498 cat >>confdefs.h <<_ACEOF
67499 #define HAVE_ATAN2L 1
67500 _ACEOF
67506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
67507 $as_echo_n "checking for atanl declaration... " >&6; }
67508 if ${glibcxx_cv_func_atanl_use+:} false; then :
67509 $as_echo_n "(cached) " >&6
67510 else
67513 ac_ext=c
67514 ac_cpp='$CPP $CPPFLAGS'
67515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67520 /* end confdefs.h. */
67522 #include <math.h>
67523 #ifdef HAVE_IEEEFP_H
67524 # include <ieeefp.h>
67525 #endif
67526 #undef atanl
67529 main ()
67532 void (*f)(void) = (void (*)(void))atanl;
67535 return 0;
67537 _ACEOF
67538 if ac_fn_c_try_compile "$LINENO"; then :
67539 glibcxx_cv_func_atanl_use=yes
67541 else
67542 glibcxx_cv_func_atanl_use=no
67544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
67547 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
67548 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
67549 cat >>confdefs.h <<_ACEOF
67550 #define HAVE_ATANL 1
67551 _ACEOF
67557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
67558 $as_echo_n "checking for ceill declaration... " >&6; }
67559 if ${glibcxx_cv_func_ceill_use+:} false; then :
67560 $as_echo_n "(cached) " >&6
67561 else
67564 ac_ext=c
67565 ac_cpp='$CPP $CPPFLAGS'
67566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67571 /* end confdefs.h. */
67573 #include <math.h>
67574 #ifdef HAVE_IEEEFP_H
67575 # include <ieeefp.h>
67576 #endif
67577 #undef ceill
67580 main ()
67583 void (*f)(void) = (void (*)(void))ceill;
67586 return 0;
67588 _ACEOF
67589 if ac_fn_c_try_compile "$LINENO"; then :
67590 glibcxx_cv_func_ceill_use=yes
67592 else
67593 glibcxx_cv_func_ceill_use=no
67595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
67598 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
67599 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
67600 cat >>confdefs.h <<_ACEOF
67601 #define HAVE_CEILL 1
67602 _ACEOF
67608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
67609 $as_echo_n "checking for cosl declaration... " >&6; }
67610 if ${glibcxx_cv_func_cosl_use+:} false; then :
67611 $as_echo_n "(cached) " >&6
67612 else
67615 ac_ext=c
67616 ac_cpp='$CPP $CPPFLAGS'
67617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67622 /* end confdefs.h. */
67624 #include <math.h>
67625 #ifdef HAVE_IEEEFP_H
67626 # include <ieeefp.h>
67627 #endif
67628 #undef cosl
67631 main ()
67634 void (*f)(void) = (void (*)(void))cosl;
67637 return 0;
67639 _ACEOF
67640 if ac_fn_c_try_compile "$LINENO"; then :
67641 glibcxx_cv_func_cosl_use=yes
67643 else
67644 glibcxx_cv_func_cosl_use=no
67646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
67649 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
67650 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
67651 cat >>confdefs.h <<_ACEOF
67652 #define HAVE_COSL 1
67653 _ACEOF
67659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
67660 $as_echo_n "checking for coshl declaration... " >&6; }
67661 if ${glibcxx_cv_func_coshl_use+:} false; then :
67662 $as_echo_n "(cached) " >&6
67663 else
67666 ac_ext=c
67667 ac_cpp='$CPP $CPPFLAGS'
67668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67673 /* end confdefs.h. */
67675 #include <math.h>
67676 #ifdef HAVE_IEEEFP_H
67677 # include <ieeefp.h>
67678 #endif
67679 #undef coshl
67682 main ()
67685 void (*f)(void) = (void (*)(void))coshl;
67688 return 0;
67690 _ACEOF
67691 if ac_fn_c_try_compile "$LINENO"; then :
67692 glibcxx_cv_func_coshl_use=yes
67694 else
67695 glibcxx_cv_func_coshl_use=no
67697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
67700 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
67701 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
67702 cat >>confdefs.h <<_ACEOF
67703 #define HAVE_COSHL 1
67704 _ACEOF
67710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67711 $as_echo_n "checking for expl declaration... " >&6; }
67712 if ${glibcxx_cv_func_expl_use+:} false; then :
67713 $as_echo_n "(cached) " >&6
67714 else
67717 ac_ext=c
67718 ac_cpp='$CPP $CPPFLAGS'
67719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67724 /* end confdefs.h. */
67726 #include <math.h>
67727 #ifdef HAVE_IEEEFP_H
67728 # include <ieeefp.h>
67729 #endif
67730 #undef expl
67733 main ()
67736 void (*f)(void) = (void (*)(void))expl;
67739 return 0;
67741 _ACEOF
67742 if ac_fn_c_try_compile "$LINENO"; then :
67743 glibcxx_cv_func_expl_use=yes
67745 else
67746 glibcxx_cv_func_expl_use=no
67748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67751 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67752 if test "x$glibcxx_cv_func_expl_use" = xyes; then
67753 cat >>confdefs.h <<_ACEOF
67754 #define HAVE_EXPL 1
67755 _ACEOF
67761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67762 $as_echo_n "checking for fabsl declaration... " >&6; }
67763 if ${glibcxx_cv_func_fabsl_use+:} false; then :
67764 $as_echo_n "(cached) " >&6
67765 else
67768 ac_ext=c
67769 ac_cpp='$CPP $CPPFLAGS'
67770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67775 /* end confdefs.h. */
67777 #include <math.h>
67778 #ifdef HAVE_IEEEFP_H
67779 # include <ieeefp.h>
67780 #endif
67781 #undef fabsl
67784 main ()
67787 void (*f)(void) = (void (*)(void))fabsl;
67790 return 0;
67792 _ACEOF
67793 if ac_fn_c_try_compile "$LINENO"; then :
67794 glibcxx_cv_func_fabsl_use=yes
67796 else
67797 glibcxx_cv_func_fabsl_use=no
67799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67802 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67803 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
67804 cat >>confdefs.h <<_ACEOF
67805 #define HAVE_FABSL 1
67806 _ACEOF
67812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
67813 $as_echo_n "checking for floorl declaration... " >&6; }
67814 if ${glibcxx_cv_func_floorl_use+:} false; then :
67815 $as_echo_n "(cached) " >&6
67816 else
67819 ac_ext=c
67820 ac_cpp='$CPP $CPPFLAGS'
67821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67826 /* end confdefs.h. */
67828 #include <math.h>
67829 #ifdef HAVE_IEEEFP_H
67830 # include <ieeefp.h>
67831 #endif
67832 #undef floorl
67835 main ()
67838 void (*f)(void) = (void (*)(void))floorl;
67841 return 0;
67843 _ACEOF
67844 if ac_fn_c_try_compile "$LINENO"; then :
67845 glibcxx_cv_func_floorl_use=yes
67847 else
67848 glibcxx_cv_func_floorl_use=no
67850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
67853 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
67854 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
67855 cat >>confdefs.h <<_ACEOF
67856 #define HAVE_FLOORL 1
67857 _ACEOF
67863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
67864 $as_echo_n "checking for fmodl declaration... " >&6; }
67865 if ${glibcxx_cv_func_fmodl_use+:} false; then :
67866 $as_echo_n "(cached) " >&6
67867 else
67870 ac_ext=c
67871 ac_cpp='$CPP $CPPFLAGS'
67872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67877 /* end confdefs.h. */
67879 #include <math.h>
67880 #ifdef HAVE_IEEEFP_H
67881 # include <ieeefp.h>
67882 #endif
67883 #undef fmodl
67886 main ()
67889 void (*f)(void) = (void (*)(void))fmodl;
67892 return 0;
67894 _ACEOF
67895 if ac_fn_c_try_compile "$LINENO"; then :
67896 glibcxx_cv_func_fmodl_use=yes
67898 else
67899 glibcxx_cv_func_fmodl_use=no
67901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
67904 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
67905 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
67906 cat >>confdefs.h <<_ACEOF
67907 #define HAVE_FMODL 1
67908 _ACEOF
67914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
67915 $as_echo_n "checking for frexpl declaration... " >&6; }
67916 if ${glibcxx_cv_func_frexpl_use+:} false; then :
67917 $as_echo_n "(cached) " >&6
67918 else
67921 ac_ext=c
67922 ac_cpp='$CPP $CPPFLAGS'
67923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67928 /* end confdefs.h. */
67930 #include <math.h>
67931 #ifdef HAVE_IEEEFP_H
67932 # include <ieeefp.h>
67933 #endif
67934 #undef frexpl
67937 main ()
67940 void (*f)(void) = (void (*)(void))frexpl;
67943 return 0;
67945 _ACEOF
67946 if ac_fn_c_try_compile "$LINENO"; then :
67947 glibcxx_cv_func_frexpl_use=yes
67949 else
67950 glibcxx_cv_func_frexpl_use=no
67952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
67955 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
67956 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
67957 cat >>confdefs.h <<_ACEOF
67958 #define HAVE_FREXPL 1
67959 _ACEOF
67965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
67966 $as_echo_n "checking for ldexpl declaration... " >&6; }
67967 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
67968 $as_echo_n "(cached) " >&6
67969 else
67972 ac_ext=c
67973 ac_cpp='$CPP $CPPFLAGS'
67974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67979 /* end confdefs.h. */
67981 #include <math.h>
67982 #ifdef HAVE_IEEEFP_H
67983 # include <ieeefp.h>
67984 #endif
67985 #undef ldexpl
67988 main ()
67991 void (*f)(void) = (void (*)(void))ldexpl;
67994 return 0;
67996 _ACEOF
67997 if ac_fn_c_try_compile "$LINENO"; then :
67998 glibcxx_cv_func_ldexpl_use=yes
68000 else
68001 glibcxx_cv_func_ldexpl_use=no
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68006 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68007 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
68008 cat >>confdefs.h <<_ACEOF
68009 #define HAVE_LDEXPL 1
68010 _ACEOF
68016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68017 $as_echo_n "checking for log10l declaration... " >&6; }
68018 if ${glibcxx_cv_func_log10l_use+:} false; then :
68019 $as_echo_n "(cached) " >&6
68020 else
68023 ac_ext=c
68024 ac_cpp='$CPP $CPPFLAGS'
68025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68030 /* end confdefs.h. */
68032 #include <math.h>
68033 #ifdef HAVE_IEEEFP_H
68034 # include <ieeefp.h>
68035 #endif
68036 #undef log10l
68039 main ()
68042 void (*f)(void) = (void (*)(void))log10l;
68045 return 0;
68047 _ACEOF
68048 if ac_fn_c_try_compile "$LINENO"; then :
68049 glibcxx_cv_func_log10l_use=yes
68051 else
68052 glibcxx_cv_func_log10l_use=no
68054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68057 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68058 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
68059 cat >>confdefs.h <<_ACEOF
68060 #define HAVE_LOG10L 1
68061 _ACEOF
68067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68068 $as_echo_n "checking for logl declaration... " >&6; }
68069 if ${glibcxx_cv_func_logl_use+:} false; then :
68070 $as_echo_n "(cached) " >&6
68071 else
68074 ac_ext=c
68075 ac_cpp='$CPP $CPPFLAGS'
68076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68081 /* end confdefs.h. */
68083 #include <math.h>
68084 #ifdef HAVE_IEEEFP_H
68085 # include <ieeefp.h>
68086 #endif
68087 #undef logl
68090 main ()
68093 void (*f)(void) = (void (*)(void))logl;
68096 return 0;
68098 _ACEOF
68099 if ac_fn_c_try_compile "$LINENO"; then :
68100 glibcxx_cv_func_logl_use=yes
68102 else
68103 glibcxx_cv_func_logl_use=no
68105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68108 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68109 if test "x$glibcxx_cv_func_logl_use" = xyes; then
68110 cat >>confdefs.h <<_ACEOF
68111 #define HAVE_LOGL 1
68112 _ACEOF
68118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68119 $as_echo_n "checking for modfl declaration... " >&6; }
68120 if ${glibcxx_cv_func_modfl_use+:} false; then :
68121 $as_echo_n "(cached) " >&6
68122 else
68125 ac_ext=c
68126 ac_cpp='$CPP $CPPFLAGS'
68127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68132 /* end confdefs.h. */
68134 #include <math.h>
68135 #ifdef HAVE_IEEEFP_H
68136 # include <ieeefp.h>
68137 #endif
68138 #undef modfl
68141 main ()
68144 void (*f)(void) = (void (*)(void))modfl;
68147 return 0;
68149 _ACEOF
68150 if ac_fn_c_try_compile "$LINENO"; then :
68151 glibcxx_cv_func_modfl_use=yes
68153 else
68154 glibcxx_cv_func_modfl_use=no
68156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68159 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68160 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
68161 cat >>confdefs.h <<_ACEOF
68162 #define HAVE_MODFL 1
68163 _ACEOF
68169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68170 $as_echo_n "checking for powl declaration... " >&6; }
68171 if ${glibcxx_cv_func_powl_use+:} false; then :
68172 $as_echo_n "(cached) " >&6
68173 else
68176 ac_ext=c
68177 ac_cpp='$CPP $CPPFLAGS'
68178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68183 /* end confdefs.h. */
68185 #include <math.h>
68186 #ifdef HAVE_IEEEFP_H
68187 # include <ieeefp.h>
68188 #endif
68189 #undef powl
68192 main ()
68195 void (*f)(void) = (void (*)(void))powl;
68198 return 0;
68200 _ACEOF
68201 if ac_fn_c_try_compile "$LINENO"; then :
68202 glibcxx_cv_func_powl_use=yes
68204 else
68205 glibcxx_cv_func_powl_use=no
68207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68210 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68211 if test "x$glibcxx_cv_func_powl_use" = xyes; then
68212 cat >>confdefs.h <<_ACEOF
68213 #define HAVE_POWL 1
68214 _ACEOF
68220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
68221 $as_echo_n "checking for sinl declaration... " >&6; }
68222 if ${glibcxx_cv_func_sinl_use+:} false; then :
68223 $as_echo_n "(cached) " >&6
68224 else
68227 ac_ext=c
68228 ac_cpp='$CPP $CPPFLAGS'
68229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68234 /* end confdefs.h. */
68236 #include <math.h>
68237 #ifdef HAVE_IEEEFP_H
68238 # include <ieeefp.h>
68239 #endif
68240 #undef sinl
68243 main ()
68246 void (*f)(void) = (void (*)(void))sinl;
68249 return 0;
68251 _ACEOF
68252 if ac_fn_c_try_compile "$LINENO"; then :
68253 glibcxx_cv_func_sinl_use=yes
68255 else
68256 glibcxx_cv_func_sinl_use=no
68258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
68261 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
68262 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
68263 cat >>confdefs.h <<_ACEOF
68264 #define HAVE_SINL 1
68265 _ACEOF
68271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
68272 $as_echo_n "checking for sinhl declaration... " >&6; }
68273 if ${glibcxx_cv_func_sinhl_use+:} false; then :
68274 $as_echo_n "(cached) " >&6
68275 else
68278 ac_ext=c
68279 ac_cpp='$CPP $CPPFLAGS'
68280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68285 /* end confdefs.h. */
68287 #include <math.h>
68288 #ifdef HAVE_IEEEFP_H
68289 # include <ieeefp.h>
68290 #endif
68291 #undef sinhl
68294 main ()
68297 void (*f)(void) = (void (*)(void))sinhl;
68300 return 0;
68302 _ACEOF
68303 if ac_fn_c_try_compile "$LINENO"; then :
68304 glibcxx_cv_func_sinhl_use=yes
68306 else
68307 glibcxx_cv_func_sinhl_use=no
68309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
68312 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
68313 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
68314 cat >>confdefs.h <<_ACEOF
68315 #define HAVE_SINHL 1
68316 _ACEOF
68322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
68323 $as_echo_n "checking for sqrtl declaration... " >&6; }
68324 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
68325 $as_echo_n "(cached) " >&6
68326 else
68329 ac_ext=c
68330 ac_cpp='$CPP $CPPFLAGS'
68331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68336 /* end confdefs.h. */
68338 #include <math.h>
68339 #ifdef HAVE_IEEEFP_H
68340 # include <ieeefp.h>
68341 #endif
68342 #undef sqrtl
68345 main ()
68348 void (*f)(void) = (void (*)(void))sqrtl;
68351 return 0;
68353 _ACEOF
68354 if ac_fn_c_try_compile "$LINENO"; then :
68355 glibcxx_cv_func_sqrtl_use=yes
68357 else
68358 glibcxx_cv_func_sqrtl_use=no
68360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
68363 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
68364 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
68365 cat >>confdefs.h <<_ACEOF
68366 #define HAVE_SQRTL 1
68367 _ACEOF
68373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
68374 $as_echo_n "checking for tanl declaration... " >&6; }
68375 if ${glibcxx_cv_func_tanl_use+:} false; then :
68376 $as_echo_n "(cached) " >&6
68377 else
68380 ac_ext=c
68381 ac_cpp='$CPP $CPPFLAGS'
68382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68387 /* end confdefs.h. */
68389 #include <math.h>
68390 #ifdef HAVE_IEEEFP_H
68391 # include <ieeefp.h>
68392 #endif
68393 #undef tanl
68396 main ()
68399 void (*f)(void) = (void (*)(void))tanl;
68402 return 0;
68404 _ACEOF
68405 if ac_fn_c_try_compile "$LINENO"; then :
68406 glibcxx_cv_func_tanl_use=yes
68408 else
68409 glibcxx_cv_func_tanl_use=no
68411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
68414 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
68415 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
68416 cat >>confdefs.h <<_ACEOF
68417 #define HAVE_TANL 1
68418 _ACEOF
68424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
68425 $as_echo_n "checking for tanhl declaration... " >&6; }
68426 if ${glibcxx_cv_func_tanhl_use+:} false; then :
68427 $as_echo_n "(cached) " >&6
68428 else
68431 ac_ext=c
68432 ac_cpp='$CPP $CPPFLAGS'
68433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68438 /* end confdefs.h. */
68440 #include <math.h>
68441 #ifdef HAVE_IEEEFP_H
68442 # include <ieeefp.h>
68443 #endif
68444 #undef tanhl
68447 main ()
68450 void (*f)(void) = (void (*)(void))tanhl;
68453 return 0;
68455 _ACEOF
68456 if ac_fn_c_try_compile "$LINENO"; then :
68457 glibcxx_cv_func_tanhl_use=yes
68459 else
68460 glibcxx_cv_func_tanhl_use=no
68462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
68465 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
68466 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
68467 cat >>confdefs.h <<_ACEOF
68468 #define HAVE_TANHL 1
68469 _ACEOF
68475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68476 $as_echo_n "checking for hypotl declaration... " >&6; }
68477 if ${glibcxx_cv_func_hypotl_use+:} false; then :
68478 $as_echo_n "(cached) " >&6
68479 else
68482 ac_ext=c
68483 ac_cpp='$CPP $CPPFLAGS'
68484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68489 /* end confdefs.h. */
68491 #include <math.h>
68492 #ifdef HAVE_IEEEFP_H
68493 # include <ieeefp.h>
68494 #endif
68495 #undef hypotl
68498 main ()
68501 void (*f)(void) = (void (*)(void))hypotl;
68504 return 0;
68506 _ACEOF
68507 if ac_fn_c_try_compile "$LINENO"; then :
68508 glibcxx_cv_func_hypotl_use=yes
68510 else
68511 glibcxx_cv_func_hypotl_use=no
68513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68516 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68517 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
68518 cat >>confdefs.h <<_ACEOF
68519 #define HAVE_HYPOTL 1
68520 _ACEOF
68526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68527 $as_echo_n "checking for ldexpf declaration... " >&6; }
68528 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
68529 $as_echo_n "(cached) " >&6
68530 else
68533 ac_ext=c
68534 ac_cpp='$CPP $CPPFLAGS'
68535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68540 /* end confdefs.h. */
68542 #include <math.h>
68543 #ifdef HAVE_IEEEFP_H
68544 # include <ieeefp.h>
68545 #endif
68546 #undef ldexpf
68549 main ()
68552 void (*f)(void) = (void (*)(void))ldexpf;
68555 return 0;
68557 _ACEOF
68558 if ac_fn_c_try_compile "$LINENO"; then :
68559 glibcxx_cv_func_ldexpf_use=yes
68561 else
68562 glibcxx_cv_func_ldexpf_use=no
68564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68567 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68568 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
68569 cat >>confdefs.h <<_ACEOF
68570 #define HAVE_LDEXPF 1
68571 _ACEOF
68577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68578 $as_echo_n "checking for modff declaration... " >&6; }
68579 if ${glibcxx_cv_func_modff_use+:} false; then :
68580 $as_echo_n "(cached) " >&6
68581 else
68584 ac_ext=c
68585 ac_cpp='$CPP $CPPFLAGS'
68586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68591 /* end confdefs.h. */
68593 #include <math.h>
68594 #ifdef HAVE_IEEEFP_H
68595 # include <ieeefp.h>
68596 #endif
68597 #undef modff
68600 main ()
68603 void (*f)(void) = (void (*)(void))modff;
68606 return 0;
68608 _ACEOF
68609 if ac_fn_c_try_compile "$LINENO"; then :
68610 glibcxx_cv_func_modff_use=yes
68612 else
68613 glibcxx_cv_func_modff_use=no
68615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
68618 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
68619 if test "x$glibcxx_cv_func_modff_use" = xyes; then
68620 cat >>confdefs.h <<_ACEOF
68621 #define HAVE_MODFF 1
68622 _ACEOF
68628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68629 $as_echo_n "checking for hypotf declaration... " >&6; }
68630 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68631 $as_echo_n "(cached) " >&6
68632 else
68635 ac_ext=c
68636 ac_cpp='$CPP $CPPFLAGS'
68637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68642 /* end confdefs.h. */
68644 #include <math.h>
68645 #ifdef HAVE_IEEEFP_H
68646 # include <ieeefp.h>
68647 #endif
68648 #undef hypotf
68651 main ()
68654 void (*f)(void) = (void (*)(void))hypotf;
68657 return 0;
68659 _ACEOF
68660 if ac_fn_c_try_compile "$LINENO"; then :
68661 glibcxx_cv_func_hypotf_use=yes
68663 else
68664 glibcxx_cv_func_hypotf_use=no
68666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68669 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68670 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
68671 cat >>confdefs.h <<_ACEOF
68672 #define HAVE_HYPOTF 1
68673 _ACEOF
68679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68680 $as_echo_n "checking for frexpf declaration... " >&6; }
68681 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68682 $as_echo_n "(cached) " >&6
68683 else
68686 ac_ext=c
68687 ac_cpp='$CPP $CPPFLAGS'
68688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68693 /* end confdefs.h. */
68695 #include <math.h>
68696 #ifdef HAVE_IEEEFP_H
68697 # include <ieeefp.h>
68698 #endif
68699 #undef frexpf
68702 main ()
68705 void (*f)(void) = (void (*)(void))frexpf;
68708 return 0;
68710 _ACEOF
68711 if ac_fn_c_try_compile "$LINENO"; then :
68712 glibcxx_cv_func_frexpf_use=yes
68714 else
68715 glibcxx_cv_func_frexpf_use=no
68717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68720 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68721 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
68722 cat >>confdefs.h <<_ACEOF
68723 #define HAVE_FREXPF 1
68724 _ACEOF
68732 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
68734 esac
68738 # At some point, we should differentiate between architectures
68739 # like x86, which have long double versions, and alpha/powerpc/etc.,
68740 # which don't. For the time being, punt.
68741 if test x"long_double_math_on_this_cpu" = x"yes"; then
68742 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
68744 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
68746 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
68748 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
68750 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
68752 $as_echo "#define HAVE_COSL 1" >>confdefs.h
68754 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
68756 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
68758 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
68760 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
68762 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
68764 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
68766 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
68768 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
68770 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
68772 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
68774 $as_echo "#define HAVE_POWL 1" >>confdefs.h
68776 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
68778 $as_echo "#define HAVE_SINL 1" >>confdefs.h
68780 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
68782 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
68784 $as_echo "#define HAVE_TANL 1" >>confdefs.h
68786 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
68791 # Check for _Unwind_GetIPInfo.
68794 # Check whether --with-system-libunwind was given.
68795 if test "${with_system_libunwind+set}" = set; then :
68796 withval=$with_system_libunwind;
68799 # If system-libunwind was not specifically set, pick a default setting.
68800 if test x$with_system_libunwind = x; then
68801 case ${target} in
68802 ia64-*-hpux*) with_system_libunwind=yes ;;
68803 *) with_system_libunwind=no ;;
68804 esac
68806 # Based on system-libunwind and target, do we have ipinfo?
68807 if test x$with_system_libunwind = xyes; then
68808 case ${target} in
68809 ia64-*-*) have_unwind_getipinfo=no ;;
68810 *) have_unwind_getipinfo=yes ;;
68811 esac
68812 else
68813 # Darwin before version 9 does not have _Unwind_GetIPInfo.
68815 case ${target} in
68816 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
68817 *) have_unwind_getipinfo=yes ;;
68818 esac
68822 if test x$have_unwind_getipinfo = xyes; then
68824 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
68829 # Check whether --enable-linux-futex was given.
68830 if test "${enable_linux_futex+set}" = set; then :
68831 enableval=$enable_linux_futex;
68832 case "$enableval" in
68833 yes|no|default) ;;
68834 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
68835 esac
68837 else
68838 enable_linux_futex=default
68842 case "$target" in
68843 *-linux* | *-uclinux*)
68844 case "$enable_linux_futex" in
68845 default)
68846 # If headers don't have gettid/futex syscalls definition, then
68847 # default to no, otherwise there will be compile time failures.
68848 # Otherwise, default to yes. If we don't detect we are
68849 # compiled/linked against NPTL and not cross-compiling, check
68850 # if programs are run by default against NPTL and if not, issue
68851 # a warning.
68852 enable_linux_futex=no
68853 if test x$gcc_no_link = xyes; then
68854 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68857 /* end confdefs.h. */
68858 #include <sys/syscall.h>
68859 #include <unistd.h>
68860 int lk;
68862 main ()
68864 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68866 return 0;
68868 _ACEOF
68869 if ac_fn_c_try_link "$LINENO"; then :
68870 save_LIBS="$LIBS"
68871 LIBS="-lpthread $LIBS"
68872 if test x$gcc_no_link = xyes; then
68873 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68876 /* end confdefs.h. */
68877 #ifndef _GNU_SOURCE
68878 #define _GNU_SOURCE 1
68879 #endif
68880 #include <pthread.h>
68881 pthread_t th; void *status;
68883 main ()
68885 pthread_tryjoin_np (th, &status);
68887 return 0;
68889 _ACEOF
68890 if ac_fn_c_try_link "$LINENO"; then :
68891 enable_linux_futex=yes
68892 else
68893 if test x$cross_compiling = xno; then
68894 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
68895 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
68896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
68897 If so, please configure with --disable-linux-futex" >&5
68898 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
68899 If so, please configure with --disable-linux-futex" >&2;}
68902 enable_linux_futex=yes
68904 rm -f core conftest.err conftest.$ac_objext \
68905 conftest$ac_exeext conftest.$ac_ext
68906 LIBS="$save_LIBS"
68908 rm -f core conftest.err conftest.$ac_objext \
68909 conftest$ac_exeext conftest.$ac_ext
68911 yes)
68912 if test x$gcc_no_link = xyes; then
68913 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
68915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68916 /* end confdefs.h. */
68917 #include <sys/syscall.h>
68918 #include <unistd.h>
68919 int lk;
68921 main ()
68923 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
68925 return 0;
68927 _ACEOF
68928 if ac_fn_c_try_link "$LINENO"; then :
68930 else
68931 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
68933 rm -f core conftest.err conftest.$ac_objext \
68934 conftest$ac_exeext conftest.$ac_ext
68936 esac
68939 enable_linux_futex=no
68941 esac
68942 if test x$enable_linux_futex = xyes; then
68944 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
68950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
68951 $as_echo_n "checking for GNU c++filt... " >&6; }
68952 if ${ac_cv_path_CXXFILT+:} false; then :
68953 $as_echo_n "(cached) " >&6
68954 else
68955 if test -z "$CXXFILT"; then
68956 ac_path_CXXFILT_found=false
68957 # Loop through the user's path and test for each of PROGNAME-LIST
68958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
68959 for as_dir in $PATH
68961 IFS=$as_save_IFS
68962 test -z "$as_dir" && as_dir=.
68963 for ac_prog in c++filt gc++filt; do
68964 for ac_exec_ext in '' $ac_executable_extensions; do
68965 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
68966 as_fn_executable_p "$ac_path_CXXFILT" || continue
68967 # Check for GNU $ac_path_CXXFILT
68968 case `"$ac_path_CXXFILT" --version 2>&1` in
68969 *GNU*)
68970 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
68971 esac
68973 $ac_path_CXXFILT_found && break 3
68974 done
68975 done
68976 done
68977 IFS=$as_save_IFS
68978 if test -z "$ac_cv_path_CXXFILT"; then
68981 else
68982 ac_cv_path_CXXFILT=$CXXFILT
68986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
68987 $as_echo "$ac_cv_path_CXXFILT" >&6; }
68988 CXXFILT=$ac_cv_path_CXXFILT
68992 # Check whether --enable-symvers was given.
68993 if test "${enable_symvers+set}" = set; then :
68994 enableval=$enable_symvers;
68995 case "$enableval" in
68996 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
68997 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
68998 esac
69000 else
69001 enable_symvers=yes
69006 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
69007 # don't know enough about $LD to do tricks...
69009 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
69010 # with extern "C++" in version scripts.
69013 # Turn a 'yes' into a suitable default.
69014 if test x$enable_symvers = xyes ; then
69015 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
69016 enable_symvers=no
69017 else
69018 if test $with_gnu_ld = yes ; then
69019 case ${target_os} in
69020 hpux*)
69021 enable_symvers=no ;;
69023 enable_symvers=gnu ;;
69024 esac
69025 else
69026 case ${target_os} in
69027 darwin*)
69028 enable_symvers=darwin ;;
69029 # Sun symbol versioning exists since Solaris 2.5.
69030 solaris2.[5-9]* | solaris2.1[0-9]*)
69031 # make_sunver.pl needs GNU c++filt to support extern "C++" in
69032 # version scripts, so disable symbol versioning if none can be
69033 # found.
69034 if test -z "$ac_cv_path_CXXFILT"; then
69035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
69036 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
69037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
69038 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
69039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69040 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69041 enable_symvers=no
69042 else
69043 enable_symvers=sun
69047 enable_symvers=no ;;
69048 esac
69053 # Check to see if 'darwin' or 'darwin-export' can win.
69054 if test x$enable_symvers = xdarwin-export ; then
69055 enable_symvers=darwin
69058 # Check if 'sun' was requested on non-Solaris 2 platforms.
69059 if test x$enable_symvers = xsun ; then
69060 case ${target_os} in
69061 solaris2*)
69062 # All fine.
69065 # Unlikely to work.
69066 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
69067 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
69068 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
69069 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
69070 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69071 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69072 enable_symvers=no
69074 esac
69077 # Check to see if 'gnu' can win.
69078 if test $enable_symvers = gnu ||
69079 test $enable_symvers = gnu-versioned-namespace ||
69080 test $enable_symvers = sun; then
69081 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
69082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
69083 $as_echo_n "checking for shared libgcc... " >&6; }
69084 ac_save_CFLAGS="$CFLAGS"
69085 CFLAGS=' -lgcc_s'
69086 if test x$gcc_no_link = xyes; then
69087 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69090 /* end confdefs.h. */
69093 main ()
69095 return 0;
69097 return 0;
69099 _ACEOF
69100 if ac_fn_c_try_link "$LINENO"; then :
69101 glibcxx_shared_libgcc=yes
69102 else
69103 glibcxx_shared_libgcc=no
69105 rm -f core conftest.err conftest.$ac_objext \
69106 conftest$ac_exeext conftest.$ac_ext
69107 CFLAGS="$ac_save_CFLAGS"
69108 if test $glibcxx_shared_libgcc = no; then
69109 cat > conftest.c <<EOF
69110 int main (void) { return 0; }
69112 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
69113 -shared -shared-libgcc -o conftest.so \
69114 conftest.c -v 2>&1 >/dev/null \
69115 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
69116 rm -f conftest.c conftest.so
69117 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
69118 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
69119 if test x$gcc_no_link = xyes; then
69120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69123 /* end confdefs.h. */
69126 main ()
69128 return 0;
69130 return 0;
69132 _ACEOF
69133 if ac_fn_c_try_link "$LINENO"; then :
69134 glibcxx_shared_libgcc=yes
69136 rm -f core conftest.err conftest.$ac_objext \
69137 conftest$ac_exeext conftest.$ac_ext
69138 CFLAGS="$ac_save_CFLAGS"
69141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
69142 $as_echo "$glibcxx_shared_libgcc" >&6; }
69144 # For GNU ld, we need at least this version. The format is described in
69145 # GLIBCXX_CHECK_LINKER_FEATURES above.
69146 glibcxx_min_gnu_ld_version=21400
69148 # If no shared libgcc, can't win.
69149 if test $glibcxx_shared_libgcc != yes; then
69150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
69151 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
69152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
69153 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
69154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69155 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69156 enable_symvers=no
69157 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
69158 : All interesting versions of Sun ld support sun style symbol versioning.
69159 elif test $with_gnu_ld != yes ; then
69160 # just fail for now
69161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
69162 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
69163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
69164 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
69165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69166 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69167 enable_symvers=no
69168 elif test $glibcxx_ld_is_gold = yes ; then
69169 : All versions of gold support symbol versioning.
69170 elif test $glibcxx_ld_is_mold = yes ; then
69171 : All versions of mold support symbol versioning.
69172 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
69173 # The right tools, the right setup, but too old. Fallbacks?
69174 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
69175 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
69176 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
69177 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
69178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
69179 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
69180 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
69181 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
69182 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
69183 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
69184 enable_symvers=no
69188 # For libtool versioning info, format is CURRENT:REVISION:AGE
69189 libtool_VERSION=6:33:0
69191 # Everything parsed; figure out what files and settings to use.
69192 case $enable_symvers in
69194 SYMVER_FILE=config/abi/pre/none.ver
69196 gnu)
69197 SYMVER_FILE=config/abi/pre/gnu.ver
69199 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
69202 gnu-versioned-namespace)
69203 libtool_VERSION=8:0:0
69204 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
69206 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
69209 darwin)
69210 SYMVER_FILE=config/abi/pre/gnu.ver
69212 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
69215 sun)
69216 SYMVER_FILE=config/abi/pre/gnu.ver
69218 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
69221 esac
69223 if test x$enable_symvers != xno ; then
69225 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
69229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
69230 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
69231 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
69232 $as_echo_n "(cached) " >&6
69233 else
69235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69236 /* end confdefs.h. */
69237 void foo (void); __asm (".symver foo, bar@SYMVER");
69239 main ()
69243 return 0;
69245 _ACEOF
69246 if ac_fn_c_try_compile "$LINENO"; then :
69247 glibcxx_cv_have_as_symver_directive=yes
69248 else
69249 glibcxx_cv_have_as_symver_directive=no
69251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
69254 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
69255 if test $glibcxx_cv_have_as_symver_directive = yes; then
69257 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
69268 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
69269 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
69271 if test $enable_symvers != no ; then
69272 case ${target_os} in
69273 # The Solaris 2 runtime linker doesn't support the GNU extension of
69274 # binding the same symbol to different versions
69275 solaris2*)
69277 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
69280 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
69283 esac
69286 # Now, set up compatibility support, if any.
69287 # In addition, need this to deal with std::size_t mangling in
69288 # src/compatibility.cc. In a perfect world, could use
69289 # typeid(std::size_t).name()[0] to do direct substitution.
69290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
69291 $as_echo_n "checking for size_t as unsigned int... " >&6; }
69292 ac_save_CFLAGS="$CFLAGS"
69293 CFLAGS="-Werror"
69294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69295 /* end confdefs.h. */
69298 main ()
69300 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
69302 return 0;
69304 _ACEOF
69305 if ac_fn_c_try_compile "$LINENO"; then :
69306 glibcxx_size_t_is_i=yes
69307 else
69308 glibcxx_size_t_is_i=no
69310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69311 CFLAGS=$ac_save_CFLAGS
69312 if test "$glibcxx_size_t_is_i" = yes; then
69314 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
69317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
69318 $as_echo "$glibcxx_size_t_is_i" >&6; }
69320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
69321 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
69322 ac_save_CFLAGS="$CFLAGS"
69323 CFLAGS="-Werror"
69324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69325 /* end confdefs.h. */
69328 main ()
69330 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
69332 return 0;
69334 _ACEOF
69335 if ac_fn_c_try_compile "$LINENO"; then :
69336 glibcxx_ptrdiff_t_is_i=yes
69337 else
69338 glibcxx_ptrdiff_t_is_i=no
69340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69341 CFLAGS=$ac_save_CFLAGS
69342 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
69344 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
69347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
69348 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
69353 # Check whether --enable-libstdcxx-visibility was given.
69354 if test "${enable_libstdcxx_visibility+set}" = set; then :
69355 enableval=$enable_libstdcxx_visibility;
69356 case "$enableval" in
69357 yes|no) ;;
69358 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
69359 esac
69361 else
69362 enable_libstdcxx_visibility=yes
69367 if test x$enable_libstdcxx_visibility = xyes ; then
69368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
69369 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
69370 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
69371 $as_echo_n "(cached) " >&6
69372 else
69374 save_CFLAGS="$CFLAGS"
69375 CFLAGS="$CFLAGS -Werror"
69376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69377 /* end confdefs.h. */
69378 void __attribute__((visibility("hidden"))) foo(void) { }
69380 main ()
69384 return 0;
69386 _ACEOF
69387 if ac_fn_c_try_compile "$LINENO"; then :
69388 glibcxx_cv_have_attribute_visibility=yes
69389 else
69390 glibcxx_cv_have_attribute_visibility=no
69392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69393 CFLAGS="$save_CFLAGS"
69395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
69396 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
69397 if test $glibcxx_cv_have_attribute_visibility = no; then
69398 enable_libstdcxx_visibility=no
69403 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
69404 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
69408 # Check whether --enable-libstdcxx-dual-abi was given.
69409 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
69410 enableval=$enable_libstdcxx_dual_abi;
69411 case "$enableval" in
69412 yes|no) ;;
69413 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
69414 esac
69416 else
69417 enable_libstdcxx_dual_abi=yes
69421 if test x$enable_symvers = xgnu-versioned-namespace; then
69422 # gnu-versioned-namespace is incompatible with the dual ABI.
69423 enable_libstdcxx_dual_abi="no"
69425 if test x"$enable_libstdcxx_dual_abi" != xyes; then
69426 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
69427 $as_echo "$as_me: dual ABI is disabled" >&6;}
69428 default_libstdcxx_abi="gcc4-compatible"
69433 if test x$enable_libstdcxx_dual_abi = xyes; then
69434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
69435 $as_echo_n "checking for default std::string ABI to use... " >&6; }
69437 # Check whether --with-default-libstdcxx-abi was given.
69438 if test "${with_default_libstdcxx_abi+set}" = set; then :
69439 withval=$with_default_libstdcxx_abi; case "$withval" in
69440 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
69441 new|cxx11) default_libstdcxx_abi="new" ;;
69442 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
69443 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
69444 esac
69446 else
69447 default_libstdcxx_abi="new"
69450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
69451 $as_echo "${default_libstdcxx_abi}" >&6; }
69453 if test $default_libstdcxx_abi = "new"; then
69454 glibcxx_cxx11_abi=1
69455 glibcxx_cxx98_abi=0
69456 else
69457 glibcxx_cxx11_abi=0
69458 glibcxx_cxx98_abi=1
69464 ac_ldbl_compat=no
69465 ac_ldbl_alt128_compat=no
69466 ac_ldbl_ieee128_default=no
69467 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
69468 LONG_DOUBLE_128_FLAGS=
69469 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
69470 case "$target" in
69471 powerpc*-*-linux* | \
69472 sparc*-*-linux* | \
69473 s390*-*-linux* | \
69474 alpha*-*-linux*)
69475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69476 /* end confdefs.h. */
69479 main ()
69482 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
69483 #error no need for long double compatibility
69484 #endif
69487 return 0;
69489 _ACEOF
69490 if ac_fn_c_try_compile "$LINENO"; then :
69491 ac_ldbl_compat=yes
69492 else
69493 ac_ldbl_compat=no
69495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69496 if test "$ac_ldbl_compat" = yes; then
69498 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
69500 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
69501 case "$target" in
69502 powerpc*-*-linux*)
69503 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
69504 # Check for IEEE128 support in libm:
69505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
69506 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
69507 if ${ac_cv_lib_m___frexpieee128+:} false; then :
69508 $as_echo_n "(cached) " >&6
69509 else
69510 ac_check_lib_save_LIBS=$LIBS
69511 LIBS="-lm $LIBS"
69512 if test x$gcc_no_link = xyes; then
69513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69516 /* end confdefs.h. */
69518 /* Override any GCC internal prototype to avoid an error.
69519 Use char because int might match the return type of a GCC
69520 builtin and then its argument prototype would still apply. */
69521 #ifdef __cplusplus
69522 extern "C"
69523 #endif
69524 char __frexpieee128 ();
69526 main ()
69528 return __frexpieee128 ();
69530 return 0;
69532 _ACEOF
69533 if ac_fn_c_try_link "$LINENO"; then :
69534 ac_cv_lib_m___frexpieee128=yes
69535 else
69536 ac_cv_lib_m___frexpieee128=no
69538 rm -f core conftest.err conftest.$ac_objext \
69539 conftest$ac_exeext conftest.$ac_ext
69540 LIBS=$ac_check_lib_save_LIBS
69542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
69543 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
69544 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
69545 ac_ldbl_ieee128_in_libc=yes
69546 else
69547 ac_ldbl_ieee128_in_libc=no
69550 if test $ac_ldbl_ieee128_in_libc = yes; then
69551 # Determine which long double format is the compiler's default:
69552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69553 /* end confdefs.h. */
69556 main ()
69559 #ifndef __LONG_DOUBLE_IEEE128__
69560 #error compiler defaults to ibm128
69561 #endif
69564 return 0;
69566 _ACEOF
69567 if ac_fn_c_try_compile "$LINENO"; then :
69568 ac_ldbl_ieee128_default=yes
69569 else
69570 ac_ldbl_ieee128_default=no
69572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69573 # Library objects should use default long double format.
69574 if test "$ac_ldbl_ieee128_default" = yes; then
69575 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69576 # Except for the ones that explicitly use these flags:
69577 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
69578 else
69579 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
69580 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
69583 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
69585 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
69586 ac_ldbl_alt128_compat=yes
69587 else
69588 ac_ldbl_alt128_compat=no
69591 esac
69593 esac
69600 # Check if assembler supports disabling hardware capability support.
69602 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
69604 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
69605 # with a different meaning.
69606 case ${target_os} in
69607 solaris2*)
69608 ac_save_CFLAGS="$CFLAGS"
69609 CFLAGS="$CFLAGS -Wa,-nH"
69611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
69612 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
69613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69614 /* end confdefs.h. */
69617 main ()
69619 return 0;
69621 return 0;
69623 _ACEOF
69624 if ac_fn_c_try_compile "$LINENO"; then :
69625 ac_hwcap_flags=yes
69626 else
69627 ac_hwcap_flags=no
69629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69630 if test "$ac_hwcap_flags" = "yes"; then
69631 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
69633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
69634 $as_echo "$ac_hwcap_flags" >&6; }
69636 CFLAGS="$ac_save_CFLAGS"
69638 esac
69643 # Check if assembler supports rdrand opcode.
69645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
69646 $as_echo_n "checking for rdrand support in assembler... " >&6; }
69647 if ${ac_cv_x86_rdrand+:} false; then :
69648 $as_echo_n "(cached) " >&6
69649 else
69651 ac_cv_x86_rdrand=no
69652 case "$target" in
69653 i?86-*-* | \
69654 x86_64-*-*)
69655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69656 /* end confdefs.h. */
69659 main ()
69661 asm("rdrand %eax");
69663 return 0;
69665 _ACEOF
69666 if ac_fn_c_try_compile "$LINENO"; then :
69667 ac_cv_x86_rdrand=yes
69668 else
69669 ac_cv_x86_rdrand=no
69671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69672 esac
69675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
69676 $as_echo "$ac_cv_x86_rdrand" >&6; }
69677 if test $ac_cv_x86_rdrand = yes; then
69679 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
69683 # Check if assembler supports rdseed opcode.
69685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
69686 $as_echo_n "checking for rdseed support in assembler... " >&6; }
69687 if ${ac_cv_x86_rdseed+:} false; then :
69688 $as_echo_n "(cached) " >&6
69689 else
69691 ac_cv_x86_rdseed=no
69692 case "$target" in
69693 i?86-*-* | \
69694 x86_64-*-*)
69695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69696 /* end confdefs.h. */
69699 main ()
69701 asm("rdseed %eax");
69703 return 0;
69705 _ACEOF
69706 if ac_fn_c_try_compile "$LINENO"; then :
69707 ac_cv_x86_rdseed=yes
69708 else
69709 ac_cv_x86_rdseed=no
69711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69712 esac
69715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
69716 $as_echo "$ac_cv_x86_rdseed" >&6; }
69717 if test $ac_cv_x86_rdseed = yes; then
69719 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
69724 # Check for other random number APIs
69728 ac_ext=cpp
69729 ac_cpp='$CXXCPP $CPPFLAGS'
69730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getentropy" >&5
69735 $as_echo_n "checking for getentropy... " >&6; }
69736 if ${glibcxx_cv_getentropy+:} false; then :
69737 $as_echo_n "(cached) " >&6
69738 else
69740 if test x$gcc_no_link = xyes; then
69741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69742 /* end confdefs.h. */
69743 #include <unistd.h>
69745 main ()
69747 unsigned i;
69748 ::getentropy(&i, sizeof(i));
69750 return 0;
69752 _ACEOF
69753 if ac_fn_cxx_try_compile "$LINENO"; then :
69754 glibcxx_cv_getentropy=yes
69755 else
69756 glibcxx_cv_getentropy=no
69758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69759 else
69760 if test x$gcc_no_link = xyes; then
69761 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69764 /* end confdefs.h. */
69765 #include <unistd.h>
69767 main ()
69769 unsigned i;
69770 ::getentropy(&i, sizeof(i));
69772 return 0;
69774 _ACEOF
69775 if ac_fn_cxx_try_link "$LINENO"; then :
69776 glibcxx_cv_getentropy=yes
69777 else
69778 glibcxx_cv_getentropy=no
69780 rm -f core conftest.err conftest.$ac_objext \
69781 conftest$ac_exeext conftest.$ac_ext
69785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_getentropy" >&5
69786 $as_echo "$glibcxx_cv_getentropy" >&6; }
69788 if test $glibcxx_cv_getentropy = yes; then
69790 $as_echo "#define HAVE_GETENTROPY 1" >>confdefs.h
69793 ac_ext=c
69794 ac_cpp='$CPP $CPPFLAGS'
69795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69803 ac_ext=cpp
69804 ac_cpp='$CXXCPP $CPPFLAGS'
69805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for arc4random" >&5
69810 $as_echo_n "checking for arc4random... " >&6; }
69811 if ${glibcxx_cv_arc4random+:} false; then :
69812 $as_echo_n "(cached) " >&6
69813 else
69815 if test x$gcc_no_link = xyes; then
69816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69817 /* end confdefs.h. */
69818 #include <stdlib.h>
69820 main ()
69822 unsigned i = ::arc4random();
69824 return 0;
69826 _ACEOF
69827 if ac_fn_cxx_try_compile "$LINENO"; then :
69828 glibcxx_cv_arc4random=yes
69829 else
69830 glibcxx_cv_arc4random=no
69832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69833 else
69834 if test x$gcc_no_link = xyes; then
69835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69838 /* end confdefs.h. */
69839 #include <stdlib.h>
69841 main ()
69843 unsigned i = ::arc4random();
69845 return 0;
69847 _ACEOF
69848 if ac_fn_cxx_try_link "$LINENO"; then :
69849 glibcxx_cv_arc4random=yes
69850 else
69851 glibcxx_cv_arc4random=no
69853 rm -f core conftest.err conftest.$ac_objext \
69854 conftest$ac_exeext conftest.$ac_ext
69858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_arc4random" >&5
69859 $as_echo "$glibcxx_cv_arc4random" >&6; }
69861 if test $glibcxx_cv_arc4random = yes; then
69863 $as_echo "#define HAVE_ARC4RANDOM 1" >>confdefs.h
69866 ac_ext=c
69867 ac_cpp='$CPP $CPPFLAGS'
69868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69874 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
69876 # Do checks for resource limit functions.
69879 ac_ext=cpp
69880 ac_cpp='$CXXCPP $CPPFLAGS'
69881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69885 setrlimit_have_headers=yes
69886 for ac_header in unistd.h sys/time.h sys/resource.h
69887 do :
69888 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
69889 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
69890 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
69891 cat >>confdefs.h <<_ACEOF
69892 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
69893 _ACEOF
69895 else
69896 setrlimit_have_headers=no
69899 done
69901 # If don't have the headers, then we can't run the tests now, and we
69902 # won't be seeing any of these during testsuite compilation.
69903 if test $setrlimit_have_headers = yes; then
69904 # Can't do these in a loop, else the resulting syntax is wrong.
69906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
69907 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
69908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69909 /* end confdefs.h. */
69910 #include <unistd.h>
69911 #include <sys/time.h>
69912 #include <sys/resource.h>
69915 main ()
69917 int f = RLIMIT_DATA ;
69919 return 0;
69921 _ACEOF
69922 if ac_fn_cxx_try_compile "$LINENO"; then :
69923 glibcxx_mresult=1
69924 else
69925 glibcxx_mresult=0
69927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69929 cat >>confdefs.h <<_ACEOF
69930 #define HAVE_LIMIT_DATA $glibcxx_mresult
69931 _ACEOF
69933 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69935 $as_echo "$res" >&6; }
69938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
69939 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
69940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69941 /* end confdefs.h. */
69942 #include <unistd.h>
69943 #include <sys/time.h>
69944 #include <sys/resource.h>
69947 main ()
69949 int f = RLIMIT_RSS ;
69951 return 0;
69953 _ACEOF
69954 if ac_fn_cxx_try_compile "$LINENO"; then :
69955 glibcxx_mresult=1
69956 else
69957 glibcxx_mresult=0
69959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69961 cat >>confdefs.h <<_ACEOF
69962 #define HAVE_LIMIT_RSS $glibcxx_mresult
69963 _ACEOF
69965 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69967 $as_echo "$res" >&6; }
69970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
69971 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
69972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69973 /* end confdefs.h. */
69974 #include <unistd.h>
69975 #include <sys/time.h>
69976 #include <sys/resource.h>
69979 main ()
69981 int f = RLIMIT_VMEM ;
69983 return 0;
69985 _ACEOF
69986 if ac_fn_cxx_try_compile "$LINENO"; then :
69987 glibcxx_mresult=1
69988 else
69989 glibcxx_mresult=0
69991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69993 cat >>confdefs.h <<_ACEOF
69994 #define HAVE_LIMIT_VMEM $glibcxx_mresult
69995 _ACEOF
69997 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
69998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
69999 $as_echo "$res" >&6; }
70002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70003 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70005 /* end confdefs.h. */
70006 #include <unistd.h>
70007 #include <sys/time.h>
70008 #include <sys/resource.h>
70011 main ()
70013 int f = RLIMIT_AS ;
70015 return 0;
70017 _ACEOF
70018 if ac_fn_cxx_try_compile "$LINENO"; then :
70019 glibcxx_mresult=1
70020 else
70021 glibcxx_mresult=0
70023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70025 cat >>confdefs.h <<_ACEOF
70026 #define HAVE_LIMIT_AS $glibcxx_mresult
70027 _ACEOF
70029 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70031 $as_echo "$res" >&6; }
70034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70035 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70037 /* end confdefs.h. */
70038 #include <unistd.h>
70039 #include <sys/time.h>
70040 #include <sys/resource.h>
70043 main ()
70045 int f = RLIMIT_FSIZE ;
70047 return 0;
70049 _ACEOF
70050 if ac_fn_cxx_try_compile "$LINENO"; then :
70051 glibcxx_mresult=1
70052 else
70053 glibcxx_mresult=0
70055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70057 cat >>confdefs.h <<_ACEOF
70058 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70059 _ACEOF
70061 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70063 $as_echo "$res" >&6; }
70066 # Check for rlimit, setrlimit.
70067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70068 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70069 if ${glibcxx_cv_setrlimit+:} false; then :
70070 $as_echo_n "(cached) " >&6
70071 else
70073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70074 /* end confdefs.h. */
70075 #include <unistd.h>
70076 #include <sys/time.h>
70077 #include <sys/resource.h>
70080 main ()
70082 struct rlimit r;
70083 setrlimit(0, &r);
70085 return 0;
70087 _ACEOF
70088 if ac_fn_cxx_try_compile "$LINENO"; then :
70089 glibcxx_cv_setrlimit=yes
70090 else
70091 glibcxx_cv_setrlimit=no
70093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_setrlimit" >&5
70097 $as_echo "$glibcxx_cv_setrlimit" >&6; }
70099 if test $glibcxx_cv_setrlimit = yes; then
70101 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70105 ac_ext=c
70106 ac_cpp='$CPP $CPPFLAGS'
70107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70113 if $GLIBCXX_IS_NATIVE ; then
70114 # Look for setenv, so that extended locale tests can be performed.
70116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
70117 $as_echo_n "checking for setenv declaration... " >&6; }
70118 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
70119 if ${glibcxx_cv_func_setenv_use+:} false; then :
70120 $as_echo_n "(cached) " >&6
70121 else
70124 ac_ext=cpp
70125 ac_cpp='$CXXCPP $CPPFLAGS'
70126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70131 /* end confdefs.h. */
70132 #include <stdlib.h>
70134 main ()
70136 setenv(0, 0, 0);
70138 return 0;
70140 _ACEOF
70141 if ac_fn_cxx_try_compile "$LINENO"; then :
70142 glibcxx_cv_func_setenv_use=yes
70143 else
70144 glibcxx_cv_func_setenv_use=no
70146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70147 ac_ext=c
70148 ac_cpp='$CPP $CPPFLAGS'
70149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
70158 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
70159 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
70160 for ac_func in setenv
70161 do :
70162 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
70163 if test "x$ac_cv_func_setenv" = xyes; then :
70164 cat >>confdefs.h <<_ACEOF
70165 #define HAVE_SETENV 1
70166 _ACEOF
70169 done
70175 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
70176 test $enable_symvers != no; then
70177 case "$host" in
70178 *-*-cygwin*)
70179 enable_abi_check=no ;;
70181 enable_abi_check=yes ;;
70182 esac
70183 else
70184 # Only build this as native, since automake does not understand
70185 # CXX_FOR_BUILD.
70186 enable_abi_check=no
70189 # Export file names for ABI checking.
70190 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
70192 baseline_subdir_switch="$abi_baseline_subdir_switch"
70196 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
70198 # Check whether --enable-libstdcxx-threads was given.
70199 if test "${enable_libstdcxx_threads+set}" = set; then :
70200 enableval=$enable_libstdcxx_threads;
70201 case "$enableval" in
70202 yes|no) ;;
70203 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
70204 esac
70206 else
70207 enable_libstdcxx_threads=auto
70212 if test x$enable_libstdcxx_threads = xauto ||
70213 test x$enable_libstdcxx_threads = xyes; then
70216 ac_ext=cpp
70217 ac_cpp='$CXXCPP $CPPFLAGS'
70218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70223 ac_save_CXXFLAGS="$CXXFLAGS"
70224 CXXFLAGS="$CXXFLAGS -fno-exceptions \
70225 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
70227 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
70228 case $target_thread_file in
70229 posix)
70230 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
70232 win32)
70233 CXXFLAGS="$CXXFLAGS -D_WIN32_THREADS"
70234 # The support of condition variables is disabled by default in
70235 # the Win32 gthreads library, so enable it on explicit request.
70236 if test x$enable_libstdcxx_threads = xyes; then
70237 CXXFLAGS="$CXXFLAGS -D_WIN32_WINNT=0x0600"
70240 esac
70242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
70243 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
70245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70246 /* end confdefs.h. */
70247 #include <unistd.h>
70249 main ()
70252 // In case of POSIX threads check _POSIX_TIMEOUTS.
70253 #if (defined(_PTHREADS) \
70254 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
70255 #error
70256 // In case of Win32 threads there is no support.
70257 #elif defined(_WIN32_THREADS)
70258 #error
70259 #endif
70262 return 0;
70264 _ACEOF
70265 if ac_fn_cxx_try_compile "$LINENO"; then :
70266 ac_gthread_use_mutex_timedlock=1
70267 else
70268 ac_gthread_use_mutex_timedlock=0
70270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70273 cat >>confdefs.h <<_ACEOF
70274 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
70275 _ACEOF
70278 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
70279 else res_mutex_timedlock=no ; fi
70280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
70281 $as_echo "$res_mutex_timedlock" >&6; }
70283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
70284 $as_echo_n "checking for gthreads library... " >&6; }
70286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70287 /* end confdefs.h. */
70288 #include "gthr.h"
70290 main ()
70293 #ifndef __GTHREADS_CXX0X
70294 #error
70295 #endif
70298 return 0;
70300 _ACEOF
70301 if ac_fn_cxx_try_compile "$LINENO"; then :
70302 ac_has_gthreads=yes
70303 else
70304 ac_has_gthreads=no
70306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70307 else
70308 ac_has_gthreads=no
70311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
70312 $as_echo "$ac_has_gthreads" >&6; }
70314 if test x"$ac_has_gthreads" = x"yes"; then
70316 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
70319 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
70320 # but only do so if we're using pthread in the gthread library.
70321 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
70322 # but the pthread library is not there by default and the gthread library
70323 # does not use it.
70324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70325 /* end confdefs.h. */
70326 #include "gthr.h"
70328 main ()
70331 #if (!defined(_PTHREADS))
70332 #error
70333 #endif
70336 return 0;
70338 _ACEOF
70339 if ac_fn_cxx_try_compile "$LINENO"; then :
70340 ac_gthread_use_pthreads=yes
70341 else
70342 ac_gthread_use_pthreads=no
70344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70345 if test x"$ac_gthread_use_pthreads" = x"yes"; then
70346 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
70348 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
70350 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
70356 # See above for the rationale.
70357 if test $target_thread_file = win32; then
70358 CPPFLAGS="$CPPFLAGS -D_WIN32_WINNT=0x0600"
70362 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
70363 if test "x$ac_cv_header_semaphore_h" = xyes; then :
70365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
70366 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
70367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70368 /* end confdefs.h. */
70370 #include <unistd.h>
70371 #include <semaphore.h>
70372 #include <limits.h>
70375 main ()
70378 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
70379 # error "POSIX Timeouts option not supported"
70380 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
70381 # error "POSIX Semaphores option not supported"
70382 #else
70383 #if defined SEM_VALUE_MAX
70384 constexpr int sem_value_max = SEM_VALUE_MAX;
70385 #elif defined _POSIX_SEM_VALUE_MAX
70386 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
70387 #else
70388 # error "SEM_VALUE_MAX not available"
70389 #endif
70390 sem_t sem;
70391 sem_init(&sem, 0, sem_value_max);
70392 struct timespec ts = { 0 };
70393 sem_timedwait(&sem, &ts);
70394 #endif
70397 return 0;
70399 _ACEOF
70400 if ac_fn_cxx_try_compile "$LINENO"; then :
70401 ac_have_posix_semaphore=yes
70402 else
70403 ac_have_posix_semaphore=no
70405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70406 else
70407 ac_have_posix_semaphore=no
70412 if test $ac_have_posix_semaphore = yes ; then
70414 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
70417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
70418 $as_echo "$ac_have_posix_semaphore" >&6; }
70420 CXXFLAGS="$ac_save_CXXFLAGS"
70421 ac_ext=c
70422 ac_cpp='$CPP $CPPFLAGS'
70423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70429 # For Filesystem TS.
70430 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
70431 do :
70432 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70433 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70434 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
70435 cat >>confdefs.h <<_ACEOF
70436 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70437 _ACEOF
70441 done
70444 # Check whether --enable-libstdcxx-filesystem-ts was given.
70445 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
70446 enableval=$enable_libstdcxx_filesystem_ts;
70447 case "$enableval" in
70448 yes|no|auto) ;;
70449 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
70450 esac
70452 else
70453 enable_libstdcxx_filesystem_ts=auto
70458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
70459 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
70460 if test x"$ac_cv_header_dirent_h" != x"yes"; then
70461 enable_libstdcxx_filesystem_ts=no
70463 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
70464 case "${target_os}" in
70465 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
70466 enable_libstdcxx_filesystem_ts=yes
70468 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
70469 enable_libstdcxx_filesystem_ts=yes
70471 rtems*)
70472 enable_libstdcxx_filesystem_ts=yes
70474 solaris*)
70475 enable_libstdcxx_filesystem_ts=yes
70477 mingw*)
70478 enable_libstdcxx_filesystem_ts=yes
70481 enable_libstdcxx_filesystem_ts=no
70483 esac
70485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
70486 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
70490 ac_ext=cpp
70491 ac_cpp='$CXXCPP $CPPFLAGS'
70492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70496 ac_save_CXXFLAGS="$CXXFLAGS"
70497 CXXFLAGS="$CXXFLAGS -fno-exceptions"
70498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
70499 $as_echo_n "checking for struct dirent.d_type... " >&6; }
70500 if ${glibcxx_cv_dirent_d_type+:} false; then :
70501 $as_echo_n "(cached) " >&6
70502 else
70503 if test x$gcc_no_link = xyes; then
70504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70505 /* end confdefs.h. */
70506 #include <dirent.h>
70508 main ()
70511 struct dirent d;
70512 if (sizeof d.d_type) return 0;
70515 return 0;
70517 _ACEOF
70518 if ac_fn_cxx_try_compile "$LINENO"; then :
70519 glibcxx_cv_dirent_d_type=yes
70520 else
70521 glibcxx_cv_dirent_d_type=no
70523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70524 else
70525 if test x$gcc_no_link = xyes; then
70526 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70529 /* end confdefs.h. */
70530 #include <dirent.h>
70532 main ()
70535 struct dirent d;
70536 if (sizeof d.d_type) return 0;
70539 return 0;
70541 _ACEOF
70542 if ac_fn_cxx_try_link "$LINENO"; then :
70543 glibcxx_cv_dirent_d_type=yes
70544 else
70545 glibcxx_cv_dirent_d_type=no
70547 rm -f core conftest.err conftest.$ac_objext \
70548 conftest$ac_exeext conftest.$ac_ext
70552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
70553 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
70554 if test $glibcxx_cv_dirent_d_type = yes; then
70556 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
70559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
70560 $as_echo_n "checking for realpath... " >&6; }
70561 if ${glibcxx_cv_realpath+:} false; then :
70562 $as_echo_n "(cached) " >&6
70563 else
70564 if test x$gcc_no_link = xyes; then
70565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70566 /* end confdefs.h. */
70568 #include <limits.h>
70569 #include <stdlib.h>
70570 #include <unistd.h>
70573 main ()
70576 #if _XOPEN_VERSION < 500
70577 #error
70578 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70579 char *tmp = realpath((const char*)NULL, (char*)NULL);
70580 #else
70581 #error
70582 #endif
70585 return 0;
70587 _ACEOF
70588 if ac_fn_cxx_try_compile "$LINENO"; then :
70589 glibcxx_cv_realpath=yes
70590 else
70591 glibcxx_cv_realpath=no
70593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70594 else
70595 if test x$gcc_no_link = xyes; then
70596 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70599 /* end confdefs.h. */
70601 #include <limits.h>
70602 #include <stdlib.h>
70603 #include <unistd.h>
70606 main ()
70609 #if _XOPEN_VERSION < 500
70610 #error
70611 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
70612 char *tmp = realpath((const char*)NULL, (char*)NULL);
70613 #else
70614 #error
70615 #endif
70618 return 0;
70620 _ACEOF
70621 if ac_fn_cxx_try_link "$LINENO"; then :
70622 glibcxx_cv_realpath=yes
70623 else
70624 glibcxx_cv_realpath=no
70626 rm -f core conftest.err conftest.$ac_objext \
70627 conftest$ac_exeext conftest.$ac_ext
70631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
70632 $as_echo "$glibcxx_cv_realpath" >&6; }
70633 if test $glibcxx_cv_realpath = yes; then
70635 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
70638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
70639 $as_echo_n "checking for utimensat... " >&6; }
70640 if ${glibcxx_cv_utimensat+:} false; then :
70641 $as_echo_n "(cached) " >&6
70642 else
70643 if test x$gcc_no_link = xyes; then
70644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70645 /* end confdefs.h. */
70647 #include <fcntl.h>
70648 #include <sys/stat.h>
70651 main ()
70654 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70655 int i = utimensat(AT_FDCWD, "path", ts, 0);
70658 return 0;
70660 _ACEOF
70661 if ac_fn_cxx_try_compile "$LINENO"; then :
70662 glibcxx_cv_utimensat=yes
70663 else
70664 glibcxx_cv_utimensat=no
70666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70667 else
70668 if test x$gcc_no_link = xyes; then
70669 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70672 /* end confdefs.h. */
70674 #include <fcntl.h>
70675 #include <sys/stat.h>
70678 main ()
70681 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
70682 int i = utimensat(AT_FDCWD, "path", ts, 0);
70685 return 0;
70687 _ACEOF
70688 if ac_fn_cxx_try_link "$LINENO"; then :
70689 glibcxx_cv_utimensat=yes
70690 else
70691 glibcxx_cv_utimensat=no
70693 rm -f core conftest.err conftest.$ac_objext \
70694 conftest$ac_exeext conftest.$ac_ext
70698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
70699 $as_echo "$glibcxx_cv_utimensat" >&6; }
70700 if test $glibcxx_cv_utimensat = yes; then
70702 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
70705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
70706 $as_echo_n "checking for utime... " >&6; }
70707 if ${glibcxx_cv_utime+:} false; then :
70708 $as_echo_n "(cached) " >&6
70709 else
70710 if test x$gcc_no_link = xyes; then
70711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70712 /* end confdefs.h. */
70714 #include <utime.h>
70717 main ()
70720 struct utimbuf t = { 1, 1 };
70721 int i = utime("path", &t);
70724 return 0;
70726 _ACEOF
70727 if ac_fn_cxx_try_compile "$LINENO"; then :
70728 glibcxx_cv_utime=yes
70729 else
70730 glibcxx_cv_utime=no
70732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70733 else
70734 if test x$gcc_no_link = xyes; then
70735 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70738 /* end confdefs.h. */
70740 #include <utime.h>
70743 main ()
70746 struct utimbuf t = { 1, 1 };
70747 int i = utime("path", &t);
70750 return 0;
70752 _ACEOF
70753 if ac_fn_cxx_try_link "$LINENO"; then :
70754 glibcxx_cv_utime=yes
70755 else
70756 glibcxx_cv_utime=no
70758 rm -f core conftest.err conftest.$ac_objext \
70759 conftest$ac_exeext conftest.$ac_ext
70763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
70764 $as_echo "$glibcxx_cv_utime" >&6; }
70765 if test $glibcxx_cv_utime = yes; then
70767 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
70770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
70771 $as_echo_n "checking for lstat... " >&6; }
70772 if ${glibcxx_cv_lstat+:} false; then :
70773 $as_echo_n "(cached) " >&6
70774 else
70775 if test x$gcc_no_link = xyes; then
70776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70777 /* end confdefs.h. */
70778 #include <sys/stat.h>
70780 main ()
70783 struct stat st;
70784 int i = lstat("path", &st);
70787 return 0;
70789 _ACEOF
70790 if ac_fn_cxx_try_compile "$LINENO"; then :
70791 glibcxx_cv_lstat=yes
70792 else
70793 glibcxx_cv_lstat=no
70795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70796 else
70797 if test x$gcc_no_link = xyes; then
70798 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70801 /* end confdefs.h. */
70802 #include <sys/stat.h>
70804 main ()
70807 struct stat st;
70808 int i = lstat("path", &st);
70811 return 0;
70813 _ACEOF
70814 if ac_fn_cxx_try_link "$LINENO"; then :
70815 glibcxx_cv_lstat=yes
70816 else
70817 glibcxx_cv_lstat=no
70819 rm -f core conftest.err conftest.$ac_objext \
70820 conftest$ac_exeext conftest.$ac_ext
70824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
70825 $as_echo "$glibcxx_cv_lstat" >&6; }
70826 if test $glibcxx_cv_lstat = yes; then
70828 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
70831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
70832 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
70833 if ${glibcxx_cv_st_mtim+:} false; then :
70834 $as_echo_n "(cached) " >&6
70835 else
70836 if test x$gcc_no_link = xyes; then
70837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70838 /* end confdefs.h. */
70839 #include <sys/stat.h>
70841 main ()
70844 struct stat st;
70845 return st.st_mtim.tv_nsec;
70848 return 0;
70850 _ACEOF
70851 if ac_fn_cxx_try_compile "$LINENO"; then :
70852 glibcxx_cv_st_mtim=yes
70853 else
70854 glibcxx_cv_st_mtim=no
70856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70857 else
70858 if test x$gcc_no_link = xyes; then
70859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70862 /* end confdefs.h. */
70863 #include <sys/stat.h>
70865 main ()
70868 struct stat st;
70869 return st.st_mtim.tv_nsec;
70872 return 0;
70874 _ACEOF
70875 if ac_fn_cxx_try_link "$LINENO"; then :
70876 glibcxx_cv_st_mtim=yes
70877 else
70878 glibcxx_cv_st_mtim=no
70880 rm -f core conftest.err conftest.$ac_objext \
70881 conftest$ac_exeext conftest.$ac_ext
70885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
70886 $as_echo "$glibcxx_cv_st_mtim" >&6; }
70887 if test $glibcxx_cv_st_mtim = yes; then
70889 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
70892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
70893 $as_echo_n "checking for fchmod... " >&6; }
70894 if ${glibcxx_cv_fchmod+:} false; then :
70895 $as_echo_n "(cached) " >&6
70896 else
70897 if test x$gcc_no_link = xyes; then
70898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70899 /* end confdefs.h. */
70900 #include <sys/stat.h>
70902 main ()
70904 fchmod(1, S_IWUSR);
70906 return 0;
70908 _ACEOF
70909 if ac_fn_cxx_try_compile "$LINENO"; then :
70910 glibcxx_cv_fchmod=yes
70911 else
70912 glibcxx_cv_fchmod=no
70914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70915 else
70916 if test x$gcc_no_link = xyes; then
70917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70920 /* end confdefs.h. */
70921 #include <sys/stat.h>
70923 main ()
70925 fchmod(1, S_IWUSR);
70927 return 0;
70929 _ACEOF
70930 if ac_fn_cxx_try_link "$LINENO"; then :
70931 glibcxx_cv_fchmod=yes
70932 else
70933 glibcxx_cv_fchmod=no
70935 rm -f core conftest.err conftest.$ac_objext \
70936 conftest$ac_exeext conftest.$ac_ext
70940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
70941 $as_echo "$glibcxx_cv_fchmod" >&6; }
70942 if test $glibcxx_cv_fchmod = yes; then
70944 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
70947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
70948 $as_echo_n "checking for fchmodat... " >&6; }
70949 if ${glibcxx_cv_fchmodat+:} false; then :
70950 $as_echo_n "(cached) " >&6
70951 else
70952 if test x$gcc_no_link = xyes; then
70953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70954 /* end confdefs.h. */
70956 #include <fcntl.h>
70957 #include <sys/stat.h>
70960 main ()
70962 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70964 return 0;
70966 _ACEOF
70967 if ac_fn_cxx_try_compile "$LINENO"; then :
70968 glibcxx_cv_fchmodat=yes
70969 else
70970 glibcxx_cv_fchmodat=no
70972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70973 else
70974 if test x$gcc_no_link = xyes; then
70975 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70978 /* end confdefs.h. */
70980 #include <fcntl.h>
70981 #include <sys/stat.h>
70984 main ()
70986 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
70988 return 0;
70990 _ACEOF
70991 if ac_fn_cxx_try_link "$LINENO"; then :
70992 glibcxx_cv_fchmodat=yes
70993 else
70994 glibcxx_cv_fchmodat=no
70996 rm -f core conftest.err conftest.$ac_objext \
70997 conftest$ac_exeext conftest.$ac_ext
71001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
71002 $as_echo "$glibcxx_cv_fchmodat" >&6; }
71003 if test $glibcxx_cv_fchmodat = yes; then
71005 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
71008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
71009 $as_echo_n "checking for link... " >&6; }
71010 if ${glibcxx_cv_link+:} false; then :
71011 $as_echo_n "(cached) " >&6
71012 else
71013 if test x$gcc_no_link = xyes; then
71014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71015 /* end confdefs.h. */
71016 #include <unistd.h>
71018 main ()
71020 link("", "");
71022 return 0;
71024 _ACEOF
71025 if ac_fn_cxx_try_compile "$LINENO"; then :
71026 glibcxx_cv_link=yes
71027 else
71028 glibcxx_cv_link=no
71030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71031 else
71032 if test x$gcc_no_link = xyes; then
71033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71036 /* end confdefs.h. */
71037 #include <unistd.h>
71039 main ()
71041 link("", "");
71043 return 0;
71045 _ACEOF
71046 if ac_fn_cxx_try_link "$LINENO"; then :
71047 glibcxx_cv_link=yes
71048 else
71049 glibcxx_cv_link=no
71051 rm -f core conftest.err conftest.$ac_objext \
71052 conftest$ac_exeext conftest.$ac_ext
71056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
71057 $as_echo "$glibcxx_cv_link" >&6; }
71058 if test $glibcxx_cv_link = yes; then
71060 $as_echo "#define HAVE_LINK 1" >>confdefs.h
71063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lseek" >&5
71064 $as_echo_n "checking for lseek... " >&6; }
71065 if ${glibcxx_cv_lseek+:} false; then :
71066 $as_echo_n "(cached) " >&6
71067 else
71068 if test x$gcc_no_link = xyes; then
71069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71070 /* end confdefs.h. */
71071 #include <unistd.h>
71073 main ()
71075 lseek(1, 0, SEEK_SET);
71077 return 0;
71079 _ACEOF
71080 if ac_fn_cxx_try_compile "$LINENO"; then :
71081 glibcxx_cv_lseek=yes
71082 else
71083 glibcxx_cv_lseek=no
71085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71086 else
71087 if test x$gcc_no_link = xyes; then
71088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71091 /* end confdefs.h. */
71092 #include <unistd.h>
71094 main ()
71096 lseek(1, 0, SEEK_SET);
71098 return 0;
71100 _ACEOF
71101 if ac_fn_cxx_try_link "$LINENO"; then :
71102 glibcxx_cv_lseek=yes
71103 else
71104 glibcxx_cv_lseek=no
71106 rm -f core conftest.err conftest.$ac_objext \
71107 conftest$ac_exeext conftest.$ac_ext
71111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lseek" >&5
71112 $as_echo "$glibcxx_cv_lseek" >&6; }
71113 if test $glibcxx_cv_lseek = yes; then
71115 $as_echo "#define HAVE_LSEEK 1" >>confdefs.h
71118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
71119 $as_echo_n "checking for readlink... " >&6; }
71120 if ${glibcxx_cv_readlink+:} false; then :
71121 $as_echo_n "(cached) " >&6
71122 else
71123 if test x$gcc_no_link = xyes; then
71124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71125 /* end confdefs.h. */
71126 #include <unistd.h>
71128 main ()
71130 char buf[32]; readlink("", buf, sizeof(buf));
71132 return 0;
71134 _ACEOF
71135 if ac_fn_cxx_try_compile "$LINENO"; then :
71136 glibcxx_cv_readlink=yes
71137 else
71138 glibcxx_cv_readlink=no
71140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71141 else
71142 if test x$gcc_no_link = xyes; then
71143 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71146 /* end confdefs.h. */
71147 #include <unistd.h>
71149 main ()
71151 char buf[32]; readlink("", buf, sizeof(buf));
71153 return 0;
71155 _ACEOF
71156 if ac_fn_cxx_try_link "$LINENO"; then :
71157 glibcxx_cv_readlink=yes
71158 else
71159 glibcxx_cv_readlink=no
71161 rm -f core conftest.err conftest.$ac_objext \
71162 conftest$ac_exeext conftest.$ac_ext
71166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
71167 $as_echo "$glibcxx_cv_readlink" >&6; }
71168 if test $glibcxx_cv_readlink = yes; then
71170 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
71173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
71174 $as_echo_n "checking for symlink... " >&6; }
71175 if ${glibcxx_cv_symlink+:} false; then :
71176 $as_echo_n "(cached) " >&6
71177 else
71178 if test x$gcc_no_link = xyes; then
71179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71180 /* end confdefs.h. */
71181 #include <unistd.h>
71183 main ()
71185 symlink("", "");
71187 return 0;
71189 _ACEOF
71190 if ac_fn_cxx_try_compile "$LINENO"; then :
71191 glibcxx_cv_symlink=yes
71192 else
71193 glibcxx_cv_symlink=no
71195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71196 else
71197 if test x$gcc_no_link = xyes; then
71198 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71201 /* end confdefs.h. */
71202 #include <unistd.h>
71204 main ()
71206 symlink("", "");
71208 return 0;
71210 _ACEOF
71211 if ac_fn_cxx_try_link "$LINENO"; then :
71212 glibcxx_cv_symlink=yes
71213 else
71214 glibcxx_cv_symlink=no
71216 rm -f core conftest.err conftest.$ac_objext \
71217 conftest$ac_exeext conftest.$ac_ext
71221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
71222 $as_echo "$glibcxx_cv_symlink" >&6; }
71223 if test $glibcxx_cv_symlink = yes; then
71225 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
71228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
71229 $as_echo_n "checking for truncate... " >&6; }
71230 if ${glibcxx_cv_truncate+:} false; then :
71231 $as_echo_n "(cached) " >&6
71232 else
71233 if test x$gcc_no_link = xyes; then
71234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71235 /* end confdefs.h. */
71236 #include <unistd.h>
71238 main ()
71240 truncate("", 99);
71242 return 0;
71244 _ACEOF
71245 if ac_fn_cxx_try_compile "$LINENO"; then :
71246 glibcxx_cv_truncate=yes
71247 else
71248 glibcxx_cv_truncate=no
71250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71251 else
71252 if test x$gcc_no_link = xyes; then
71253 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71256 /* end confdefs.h. */
71257 #include <unistd.h>
71259 main ()
71261 truncate("", 99);
71263 return 0;
71265 _ACEOF
71266 if ac_fn_cxx_try_link "$LINENO"; then :
71267 glibcxx_cv_truncate=yes
71268 else
71269 glibcxx_cv_truncate=no
71271 rm -f core conftest.err conftest.$ac_objext \
71272 conftest$ac_exeext conftest.$ac_ext
71276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
71277 $as_echo "$glibcxx_cv_truncate" >&6; }
71278 if test $glibcxx_cv_truncate = yes; then
71280 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
71283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for copy_file_range that can copy files" >&5
71284 $as_echo_n "checking for copy_file_range that can copy files... " >&6; }
71285 if ${glibcxx_cv_copy_file_range+:} false; then :
71286 $as_echo_n "(cached) " >&6
71287 else
71288 case "${target_os}" in
71289 linux*)
71290 if test x$gcc_no_link = xyes; then
71291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71292 /* end confdefs.h. */
71293 #include <unistd.h>
71295 main ()
71297 copy_file_range(1, nullptr, 2, nullptr, 1, 0);
71299 return 0;
71301 _ACEOF
71302 if ac_fn_cxx_try_compile "$LINENO"; then :
71303 glibcxx_cv_copy_file_range=yes
71304 else
71305 glibcxx_cv_copy_file_range=no
71307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71308 else
71309 if test x$gcc_no_link = xyes; then
71310 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71313 /* end confdefs.h. */
71314 #include <unistd.h>
71316 main ()
71318 copy_file_range(1, nullptr, 2, nullptr, 1, 0);
71320 return 0;
71322 _ACEOF
71323 if ac_fn_cxx_try_link "$LINENO"; then :
71324 glibcxx_cv_copy_file_range=yes
71325 else
71326 glibcxx_cv_copy_file_range=no
71328 rm -f core conftest.err conftest.$ac_objext \
71329 conftest$ac_exeext conftest.$ac_ext
71333 glibcxx_cv_copy_file_range=no
71335 esac
71338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_copy_file_range" >&5
71339 $as_echo "$glibcxx_cv_copy_file_range" >&6; }
71340 if test $glibcxx_cv_copy_file_range = yes; then
71342 $as_echo "#define _GLIBCXX_USE_COPY_FILE_RANGE 1" >>confdefs.h
71345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
71346 $as_echo_n "checking for sendfile that can copy files... " >&6; }
71347 if ${glibcxx_cv_sendfile+:} false; then :
71348 $as_echo_n "(cached) " >&6
71349 else
71350 case "${target_os}" in
71351 gnu* | linux* | solaris* | uclinux*)
71352 if test x$gcc_no_link = xyes; then
71353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71354 /* end confdefs.h. */
71355 #include <sys/sendfile.h>
71357 main ()
71359 sendfile(1, 2, (off_t*)0, sizeof 1);
71361 return 0;
71363 _ACEOF
71364 if ac_fn_cxx_try_compile "$LINENO"; then :
71365 glibcxx_cv_sendfile=yes
71366 else
71367 glibcxx_cv_sendfile=no
71369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71370 else
71371 if test x$gcc_no_link = xyes; then
71372 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71375 /* end confdefs.h. */
71376 #include <sys/sendfile.h>
71378 main ()
71380 sendfile(1, 2, (off_t*)0, sizeof 1);
71382 return 0;
71384 _ACEOF
71385 if ac_fn_cxx_try_link "$LINENO"; then :
71386 glibcxx_cv_sendfile=yes
71387 else
71388 glibcxx_cv_sendfile=no
71390 rm -f core conftest.err conftest.$ac_objext \
71391 conftest$ac_exeext conftest.$ac_ext
71395 glibcxx_cv_sendfile=no
71397 esac
71400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
71401 $as_echo "$glibcxx_cv_sendfile" >&6; }
71402 if test $glibcxx_cv_sendfile = yes && test $glibcxx_cv_lseek = yes; then
71404 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
71407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdopendir" >&5
71408 $as_echo_n "checking for fdopendir... " >&6; }
71409 if ${glibcxx_cv_fdopendir+:} false; then :
71410 $as_echo_n "(cached) " >&6
71411 else
71412 if test x$gcc_no_link = xyes; then
71413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71414 /* end confdefs.h. */
71415 #include <dirent.h>
71417 main ()
71419 ::DIR* dir = ::fdopendir(1);
71421 return 0;
71423 _ACEOF
71424 if ac_fn_cxx_try_compile "$LINENO"; then :
71425 glibcxx_cv_fdopendir=yes
71426 else
71427 glibcxx_cv_fdopendir=no
71429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71430 else
71431 if test x$gcc_no_link = xyes; then
71432 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71435 /* end confdefs.h. */
71436 #include <dirent.h>
71438 main ()
71440 ::DIR* dir = ::fdopendir(1);
71442 return 0;
71444 _ACEOF
71445 if ac_fn_cxx_try_link "$LINENO"; then :
71446 glibcxx_cv_fdopendir=yes
71447 else
71448 glibcxx_cv_fdopendir=no
71450 rm -f core conftest.err conftest.$ac_objext \
71451 conftest$ac_exeext conftest.$ac_ext
71455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fdopendir" >&5
71456 $as_echo "$glibcxx_cv_fdopendir" >&6; }
71457 if test $glibcxx_cv_fdopendir = yes; then
71459 $as_echo "#define HAVE_FDOPENDIR 1" >>confdefs.h
71462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dirfd" >&5
71463 $as_echo_n "checking for dirfd... " >&6; }
71464 if ${glibcxx_cv_dirfd+:} false; then :
71465 $as_echo_n "(cached) " >&6
71466 else
71467 if test x$gcc_no_link = xyes; then
71468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71469 /* end confdefs.h. */
71470 #include <dirent.h>
71472 main ()
71474 int fd = ::dirfd((::DIR*)0);
71476 return 0;
71478 _ACEOF
71479 if ac_fn_cxx_try_compile "$LINENO"; then :
71480 glibcxx_cv_dirfd=yes
71481 else
71482 glibcxx_cv_dirfd=no
71484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71485 else
71486 if test x$gcc_no_link = xyes; then
71487 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71490 /* end confdefs.h. */
71491 #include <dirent.h>
71493 main ()
71495 int fd = ::dirfd((::DIR*)0);
71497 return 0;
71499 _ACEOF
71500 if ac_fn_cxx_try_link "$LINENO"; then :
71501 glibcxx_cv_dirfd=yes
71502 else
71503 glibcxx_cv_dirfd=no
71505 rm -f core conftest.err conftest.$ac_objext \
71506 conftest$ac_exeext conftest.$ac_ext
71510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirfd" >&5
71511 $as_echo "$glibcxx_cv_dirfd" >&6; }
71512 if test $glibcxx_cv_dirfd = yes; then
71514 $as_echo "#define HAVE_DIRFD 1" >>confdefs.h
71517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openat" >&5
71518 $as_echo_n "checking for openat... " >&6; }
71519 if ${glibcxx_cv_openat+:} false; then :
71520 $as_echo_n "(cached) " >&6
71521 else
71522 if test x$gcc_no_link = xyes; then
71523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71524 /* end confdefs.h. */
71525 #include <fcntl.h>
71527 main ()
71529 int fd = ::openat(AT_FDCWD, "", 0);
71531 return 0;
71533 _ACEOF
71534 if ac_fn_cxx_try_compile "$LINENO"; then :
71535 glibcxx_cv_openat=yes
71536 else
71537 glibcxx_cv_openat=no
71539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71540 else
71541 if test x$gcc_no_link = xyes; then
71542 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71545 /* end confdefs.h. */
71546 #include <fcntl.h>
71548 main ()
71550 int fd = ::openat(AT_FDCWD, "", 0);
71552 return 0;
71554 _ACEOF
71555 if ac_fn_cxx_try_link "$LINENO"; then :
71556 glibcxx_cv_openat=yes
71557 else
71558 glibcxx_cv_openat=no
71560 rm -f core conftest.err conftest.$ac_objext \
71561 conftest$ac_exeext conftest.$ac_ext
71565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_openat" >&5
71566 $as_echo "$glibcxx_cv_openat" >&6; }
71567 if test $glibcxx_cv_openat = yes; then
71569 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
71572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unlinkat" >&5
71573 $as_echo_n "checking for unlinkat... " >&6; }
71574 if ${glibcxx_cv_unlinkat+:} false; then :
71575 $as_echo_n "(cached) " >&6
71576 else
71577 if test x$gcc_no_link = xyes; then
71578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71579 /* end confdefs.h. */
71580 #include <fcntl.h>
71581 #include <unistd.h>
71583 main ()
71585 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
71587 return 0;
71589 _ACEOF
71590 if ac_fn_cxx_try_compile "$LINENO"; then :
71591 glibcxx_cv_unlinkat=yes
71592 else
71593 glibcxx_cv_unlinkat=no
71595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71596 else
71597 if test x$gcc_no_link = xyes; then
71598 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71601 /* end confdefs.h. */
71602 #include <fcntl.h>
71603 #include <unistd.h>
71605 main ()
71607 ::unlinkat(AT_FDCWD, "", AT_REMOVEDIR);
71609 return 0;
71611 _ACEOF
71612 if ac_fn_cxx_try_link "$LINENO"; then :
71613 glibcxx_cv_unlinkat=yes
71614 else
71615 glibcxx_cv_unlinkat=no
71617 rm -f core conftest.err conftest.$ac_objext \
71618 conftest$ac_exeext conftest.$ac_ext
71622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_unlinkat" >&5
71623 $as_echo "$glibcxx_cv_unlinkat" >&6; }
71624 if test $glibcxx_cv_unlinkat = yes; then
71626 $as_echo "#define HAVE_UNLINKAT 1" >>confdefs.h
71629 CXXFLAGS="$ac_save_CXXFLAGS"
71630 ac_ext=c
71631 ac_cpp='$CPP $CPPFLAGS'
71632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71639 # Check whether --enable-libstdcxx-backtrace was given.
71640 if test "${enable_libstdcxx_backtrace+set}" = set; then :
71641 enableval=$enable_libstdcxx_backtrace;
71642 case "$enableval" in
71643 yes|no|auto) ;;
71644 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-backtrace" "$LINENO" 5 ;;
71645 esac
71647 else
71648 enable_libstdcxx_backtrace=auto
71653 # Most of this is adapted from libsanitizer/configure.ac
71655 BACKTRACE_CPPFLAGS=
71657 # libbacktrace only needs atomics for int, which we've already tested
71658 if test "$glibcxx_cv_atomic_int" = "yes"; then
71659 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_ATOMIC_FUNCTIONS=1"
71662 # Test for __sync support.
71663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __sync extensions" >&5
71664 $as_echo_n "checking __sync extensions... " >&6; }
71665 if ${glibcxx_cv_sys_sync+:} false; then :
71666 $as_echo_n "(cached) " >&6
71667 else
71668 if test x$gcc_no_link = xyes; then
71669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71670 /* end confdefs.h. */
71671 int i;
71673 main ()
71675 __sync_bool_compare_and_swap (&i, i, i);
71676 __sync_lock_test_and_set (&i, 1);
71677 __sync_lock_release (&i);
71679 return 0;
71681 _ACEOF
71682 if ac_fn_c_try_compile "$LINENO"; then :
71683 glibcxx_cv_sys_sync=yes
71684 else
71685 glibcxx_cv_sys_sync=no
71687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71688 else
71689 if test x$gcc_no_link = xyes; then
71690 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71693 /* end confdefs.h. */
71694 int i;
71696 main ()
71698 __sync_bool_compare_and_swap (&i, i, i);
71699 __sync_lock_test_and_set (&i, 1);
71700 __sync_lock_release (&i);
71702 return 0;
71704 _ACEOF
71705 if ac_fn_c_try_link "$LINENO"; then :
71706 glibcxx_cv_sys_sync=yes
71707 else
71708 glibcxx_cv_sys_sync=no
71710 rm -f core conftest.err conftest.$ac_objext \
71711 conftest$ac_exeext conftest.$ac_ext
71715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sync" >&5
71716 $as_echo "$glibcxx_cv_sys_sync" >&6; }
71717 if test "$glibcxx_cv_sys_sync" = "yes"; then
71718 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_SYNC_FUNCTIONS=1"
71721 # Check for dl_iterate_phdr.
71722 for ac_header in link.h
71723 do :
71724 ac_fn_c_check_header_mongrel "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
71725 if test "x$ac_cv_header_link_h" = xyes; then :
71726 cat >>confdefs.h <<_ACEOF
71727 #define HAVE_LINK_H 1
71728 _ACEOF
71732 done
71734 if test "$ac_cv_header_link_h" = "no"; then
71735 have_dl_iterate_phdr=no
71736 else
71737 # When built as a GCC target library, we can't do a link test.
71738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71739 /* end confdefs.h. */
71740 #include <link.h>
71742 _ACEOF
71743 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
71744 $EGREP "dl_iterate_phdr" >/dev/null 2>&1; then :
71745 have_dl_iterate_phdr=yes
71746 else
71747 have_dl_iterate_phdr=no
71749 rm -f conftest*
71752 if test "$have_dl_iterate_phdr" = "yes"; then
71753 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_DL_ITERATE_PHDR=1"
71755 for ac_header in windows.h
71756 do :
71757 ac_fn_c_check_header_mongrel "$LINENO" "windows.h" "ac_cv_header_windows_h" "$ac_includes_default"
71758 if test "x$ac_cv_header_windows_h" = xyes; then :
71759 cat >>confdefs.h <<_ACEOF
71760 #define HAVE_WINDOWS_H 1
71761 _ACEOF
71765 done
71768 # Check for the fcntl function.
71769 if test -n "${with_target_subdir}"; then
71770 case "${host}" in
71771 *-*-mingw*) have_fcntl=no ;;
71772 *) have_fcntl=yes ;;
71773 esac
71774 else
71775 ac_fn_c_check_func "$LINENO" "fcntl" "ac_cv_func_fcntl"
71776 if test "x$ac_cv_func_fcntl" = xyes; then :
71777 have_fcntl=yes
71778 else
71779 have_fcntl=no
71783 if test "$have_fcntl" = "yes"; then
71784 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_FCNTL=1"
71787 ac_fn_c_check_decl "$LINENO" "strnlen" "ac_cv_have_decl_strnlen" "$ac_includes_default"
71788 if test "x$ac_cv_have_decl_strnlen" = xyes; then :
71789 ac_have_decl=1
71790 else
71791 ac_have_decl=0
71794 cat >>confdefs.h <<_ACEOF
71795 #define HAVE_DECL_STRNLEN $ac_have_decl
71796 _ACEOF
71799 # Check for getexecname function.
71800 if test -n "${with_target_subdir}"; then
71801 case "${host}" in
71802 *-*-solaris2*) have_getexecname=yes ;;
71803 *) have_getexecname=no ;;
71804 esac
71805 else
71806 ac_fn_c_check_func "$LINENO" "getexecname" "ac_cv_func_getexecname"
71807 if test "x$ac_cv_func_getexecname" = xyes; then :
71808 have_getexecname=yes
71809 else
71810 have_getexecname=no
71814 if test "$have_getexecname" = "yes"; then
71815 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DHAVE_GETEXECNAME=1"
71818 # The library needs to be able to read the executable itself. Compile
71819 # a file to determine the executable format. The awk script
71820 # filetype.awk prints out the file type.
71821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking output filetype" >&5
71822 $as_echo_n "checking output filetype... " >&6; }
71823 if ${glibcxx_cv_sys_filetype+:} false; then :
71824 $as_echo_n "(cached) " >&6
71825 else
71826 filetype=
71827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71828 /* end confdefs.h. */
71829 int i;
71831 main ()
71833 int j;
71835 return 0;
71837 _ACEOF
71838 if ac_fn_c_try_compile "$LINENO"; then :
71839 filetype=`${AWK} -f $srcdir/../libbacktrace/filetype.awk conftest.$ac_objext`
71840 else
71841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
71842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
71843 as_fn_error $? "compiler failed
71844 See \`config.log' for more details" "$LINENO" 5; }
71846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71847 glibcxx_cv_sys_filetype=$filetype
71849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_filetype" >&5
71850 $as_echo "$glibcxx_cv_sys_filetype" >&6; }
71852 # Match the file type to decide what files to compile.
71853 FORMAT_FILE=
71854 case "$glibcxx_cv_sys_filetype" in
71855 elf*) FORMAT_FILE="elf.lo" ;;
71856 pecoff*) FORMAT_FILE="pecoff.lo" ;;
71857 *) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: could not determine output file type" >&5
71858 $as_echo "$as_me: WARNING: could not determine output file type" >&2;}
71859 FORMAT_FILE="unknown.lo"
71860 enable_libstdcxx_backtrace=no
71862 esac
71865 # ELF defines.
71866 elfsize=
71867 case "$glibcxx_cv_sys_filetype" in
71868 elf32) elfsize=32 ;;
71869 elf64) elfsize=64 ;;
71870 esac
71871 BACKTRACE_CPPFLAGS="$BACKTRACE_CPPFLAGS -DBACKTRACE_ELF_SIZE=$elfsize"
71873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build libbacktrace support" >&5
71874 $as_echo_n "checking whether to build libbacktrace support... " >&6; }
71875 if test "$enable_libstdcxx_backtrace" = "auto"; then
71876 enable_libstdcxx_backtrace=no
71878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_backtrace" >&5
71879 $as_echo "$enable_libstdcxx_backtrace" >&6; }
71880 if test "$enable_libstdcxx_backtrace" = "yes"; then
71881 BACKTRACE_SUPPORTED=1
71883 for ac_header in sys/mman.h
71884 do :
71885 ac_fn_c_check_header_mongrel "$LINENO" "sys/mman.h" "ac_cv_header_sys_mman_h" "$ac_includes_default"
71886 if test "x$ac_cv_header_sys_mman_h" = xyes; then :
71887 cat >>confdefs.h <<_ACEOF
71888 #define HAVE_SYS_MMAN_H 1
71889 _ACEOF
71893 done
71895 case "${host}" in
71896 *-*-msdosdjgpp) # DJGPP has sys/man.h, but no mmap
71897 have_mmap=no ;;
71898 *-*-*)
71899 have_mmap="$ac_cv_header_sys_mman_h" ;;
71900 esac
71902 if test "$have_mmap" = "no"; then
71903 VIEW_FILE=read.lo
71904 ALLOC_FILE=alloc.lo
71905 else
71906 VIEW_FILE=mmapio.lo
71907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71908 /* end confdefs.h. */
71910 #include <sys/mman.h>
71911 #if !defined(MAP_ANONYMOUS) && !defined(MAP_ANON)
71912 #error no MAP_ANONYMOUS
71913 #endif
71915 _ACEOF
71916 if ac_fn_c_try_cpp "$LINENO"; then :
71917 ALLOC_FILE=mmap.lo
71918 else
71919 ALLOC_FILE=alloc.lo
71921 rm -f conftest.err conftest.i conftest.$ac_ext
71926 BACKTRACE_USES_MALLOC=0
71927 if test "$ALLOC_FILE" = "alloc.lo"; then
71928 BACKTRACE_USES_MALLOC=1
71931 if test "$ac_has_gthreads" = "yes"; then
71932 BACKTRACE_SUPPORTS_THREADS=1
71933 else
71934 BACKTRACE_SUPPORTS_THREADS=0
71941 $as_echo "#define HAVE_STACKTRACE 1" >>confdefs.h
71943 else
71944 BACKTRACE_SUPPORTED=0
71945 BACKTRACE_USES_MALLOC=0
71946 BACKTRACE_SUPPORTS_THREADS=0
71951 # For Networking TS.
71952 for ac_header in fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h netdb.h arpa/inet.h netinet/in.h netinet/tcp.h
71953 do :
71954 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
71955 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
71956 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
71957 cat >>confdefs.h <<_ACEOF
71958 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
71959 _ACEOF
71963 done
71965 ac_fn_c_check_decl "$LINENO" "F_GETFL" "ac_cv_have_decl_F_GETFL" "#include <fcntl.h>
71967 if test "x$ac_cv_have_decl_F_GETFL" = xyes; then :
71971 ac_fn_c_check_decl "$LINENO" "F_SETFL" "ac_cv_have_decl_F_SETFL" "#include <fcntl.h>
71973 if test "x$ac_cv_have_decl_F_SETFL" = xyes; then :
71977 if test "$ac_cv_have_decl_F_GETFL$ac_cv_have_decl_F_SETFL" = yesyes ; then
71978 ac_fn_c_check_decl "$LINENO" "O_NONBLOCK" "ac_cv_have_decl_O_NONBLOCK" "#include <fcntl.h>
71980 if test "x$ac_cv_have_decl_O_NONBLOCK" = xyes; then :
71986 # For Transactional Memory TS
71988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
71989 $as_echo_n "checking how size_t is mangled... " >&6; }
71990 if ${glibcxx_cv_size_t_mangling+:} false; then :
71991 $as_echo_n "(cached) " >&6
71992 else
71994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71995 /* end confdefs.h. */
71998 main ()
72000 extern __SIZE_TYPE__ x; extern unsigned long x;
72002 return 0;
72004 _ACEOF
72005 if ac_fn_c_try_compile "$LINENO"; then :
72006 glibcxx_cv_size_t_mangling=m
72007 else
72009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72010 /* end confdefs.h. */
72013 main ()
72015 extern __SIZE_TYPE__ x; extern unsigned int x;
72017 return 0;
72019 _ACEOF
72020 if ac_fn_c_try_compile "$LINENO"; then :
72021 glibcxx_cv_size_t_mangling=j
72022 else
72024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72025 /* end confdefs.h. */
72028 main ()
72030 extern __SIZE_TYPE__ x; extern unsigned long long x;
72032 return 0;
72034 _ACEOF
72035 if ac_fn_c_try_compile "$LINENO"; then :
72036 glibcxx_cv_size_t_mangling=y
72037 else
72039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72040 /* end confdefs.h. */
72043 main ()
72045 extern __SIZE_TYPE__ x; extern unsigned short x;
72047 return 0;
72049 _ACEOF
72050 if ac_fn_c_try_compile "$LINENO"; then :
72051 glibcxx_cv_size_t_mangling=t
72052 else
72054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72055 /* end confdefs.h. */
72058 main ()
72060 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
72062 return 0;
72064 _ACEOF
72065 if ac_fn_c_try_compile "$LINENO"; then :
72066 glibcxx_cv_size_t_mangling=u6uint20
72067 else
72068 glibcxx_cv_size_t_mangling=x
72070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
72086 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
72087 if test $glibcxx_cv_size_t_mangling = x; then
72088 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
72091 cat >>confdefs.h <<_ACEOF
72092 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
72093 _ACEOF
72097 # Check which release added std::exception_ptr for the target
72099 if test $enable_symvers != no; then
72100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
72101 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
72102 case ${target} in
72103 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
72104 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
72105 ac_exception_ptr_since_gcc46=yes
72108 # If the value of this macro changes then we will need to hardcode
72109 # yes/no here for additional targets based on the original value.
72110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72111 /* end confdefs.h. */
72114 main ()
72117 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
72118 # error atomic int not always lock free
72119 #endif
72122 return 0;
72124 _ACEOF
72125 if ac_fn_c_try_compile "$LINENO"; then :
72126 ac_exception_ptr_since_gcc46=yes
72127 else
72128 ac_exception_ptr_since_gcc46=no
72130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72132 esac
72133 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
72135 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
72137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
72138 $as_echo "4.6.0" >&6; }
72139 else
72140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
72141 $as_echo "7.1.0" >&6; }
72146 # For libsupc++/eh_alloc.cc defaults.
72148 eh_pool_static=
72149 eh_pool_nobjs=
72150 # Check whether --enable-libstdcxx-static-eh-pool was given.
72151 if test "${enable_libstdcxx_static_eh_pool+set}" = set; then :
72152 enableval=$enable_libstdcxx_static_eh_pool; if test "${enableval}" = yes; then
72153 eh_pool_static="-D_GLIBCXX_EH_POOL_STATIC"
72154 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool using static buffer" >&5
72155 $as_echo "$as_me: EH pool using static buffer" >&6;}
72161 # Check whether --with-libstdcxx-eh-pool-obj-count was given.
72162 if test "${with_libstdcxx_eh_pool_obj_count+set}" = set; then :
72163 withval=$with_libstdcxx_eh_pool_obj_count; if test "${withval}" -ge 0 2>/dev/null; then
72164 eh_pool_obj_count="-D_GLIBCXX_EH_POOL_NOBJS=${withval}"
72165 { $as_echo "$as_me:${as_lineno-$LINENO}: EH pool object count: ${withval}" >&5
72166 $as_echo "$as_me: EH pool object count: ${withval}" >&6;}
72167 else
72168 as_fn_error $? "EH pool obj count must be a non-negative integer: $withval" "$LINENO" 5
72173 EH_POOL_FLAGS="$eh_pool_static $eh_pool_obj_count"
72177 # For src/c++20/tzdb.cc defaults.
72180 # Check whether --with-libstdcxx-zoneinfo was given.
72181 if test "${with_libstdcxx_zoneinfo+set}" = set; then :
72182 withval=$with_libstdcxx_zoneinfo;
72183 else
72184 with_libstdcxx_zoneinfo=yes
72188 if test "x${with_libstdcxx_zoneinfo}" = xyes; then
72189 # Pick a default when no specific path is set.
72190 case "$target_os" in
72191 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
72192 # Not all distros ship tzdata.zi in this dir.
72193 zoneinfo_dir="/usr/share/zoneinfo"
72195 aix*)
72196 # Binary tzfile files are in /usr/share/lib/zoneinfo
72197 # but tzdata.zi is not present there.
72198 zoneinfo_dir=none
72200 darwin2*)
72201 # Binary tzfile files are in /usr/share/lib/zoneinfo.default
72202 # but tzdata.zi is not present there.
72203 zoneinfo_dir=none
72206 # Binary tzfile files are commonly found in /usr/share/zoneinfo
72207 # but tzdata.zi is not present there.
72208 zoneinfo_dir=none
72210 esac
72212 if ac_fn_c_compute_int "$LINENO" "__INTPTR_WIDTH__ >= 32" "glibcxx_cv_at_least_32bit" ""; then :
72216 if test "$glibcxx_cv_at_least_32bit" -ne 0; then
72217 # Also embed a copy of the tzdata.zi file as a static string.
72218 embed_zoneinfo=yes
72219 else
72220 # The embedded data is too large for 16-bit targets.
72221 embed_zoneinfo=no
72223 elif test "x${with_libstdcxx_zoneinfo}" = xno; then
72224 # Disable tzdb support completely.
72225 zoneinfo_dir=none
72226 embed_zoneinfo=no
72227 else
72228 case "${with_libstdcxx_zoneinfo}" in
72229 static)
72230 # Do not attempt to read from disk, always use embedded data.
72231 zoneinfo_dir=none
72232 embed_zoneinfo=yes
72234 static,* | *,static)
72235 # Try to read from disk, use embedded data as fallback.
72236 zoneinfo_dir="${with_libstdcxx_zoneinfo#static,}"
72237 zoneinfo_dir="${with_libstdcxx_zoneinfo%,static}"
72238 embed_zoneinfo=yes
72241 zoneinfo_dir="${with_libstdcxx_zoneinfo}"
72242 embed_zoneinfo=no
72244 esac
72246 { $as_echo "$as_me:${as_lineno-$LINENO}: zoneinfo data directory: ${zoneinfo_dir}" >&5
72247 $as_echo "$as_me: zoneinfo data directory: ${zoneinfo_dir}" >&6;}
72248 if test "x${zoneinfo_dir}" != xnone; then
72250 cat >>confdefs.h <<_ACEOF
72251 #define _GLIBCXX_ZONEINFO_DIR "${zoneinfo_dir}"
72252 _ACEOF
72254 if $GLIBCXX_IS_NATIVE && ! test -f "$zoneinfo_dir/tzdata.zi"; then
72255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&5
72256 $as_echo "$as_me: WARNING: \"$zoneinfo_dir does not contain tzdata.zi file\"" >&2;}
72260 if test "x${embed_zoneinfo}" = xyes; then
72261 { $as_echo "$as_me:${as_lineno-$LINENO}: static tzdata.zi file will be compiled into the library" >&5
72262 $as_echo "$as_me: static tzdata.zi file will be compiled into the library" >&6;}
72264 cat >>confdefs.h <<_ACEOF
72265 #define _GLIBCXX_STATIC_TZDATA 1
72266 _ACEOF
72271 # For src/c++11/shared_ptr.cc alignment.
72274 ac_ext=cpp
72275 ac_cpp='$CXXCPP $CPPFLAGS'
72276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether static objects can be aligned to the cacheline size" >&5
72282 $as_echo_n "checking whether static objects can be aligned to the cacheline size... " >&6; }
72283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72284 /* end confdefs.h. */
72287 main ()
72289 struct alignas(__GCC_DESTRUCTIVE_SIZE) Aligned { };
72290 alignas(Aligned) static char buf[sizeof(Aligned) * 16];
72293 return 0;
72295 _ACEOF
72296 if ac_fn_cxx_try_compile "$LINENO"; then :
72297 ac_alignas_cacheline=yes
72298 else
72299 ac_alignas_cacheline=no
72301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72302 if test "$ac_alignas_cacheline" = yes; then
72304 cat >>confdefs.h <<_ACEOF
72305 #define _GLIBCXX_CAN_ALIGNAS_DESTRUCTIVE_SIZE 1
72306 _ACEOF
72309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_alignas_cacheline" >&5
72310 $as_echo "$ac_alignas_cacheline" >&6; }
72312 ac_ext=c
72313 ac_cpp='$CPP $CPPFLAGS'
72314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72320 # Define documentation rules conditionally.
72322 # See if makeinfo has been installed and is modern enough
72323 # that we can use it.
72325 # Extract the first word of "makeinfo", so it can be a program name with args.
72326 set dummy makeinfo; ac_word=$2
72327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72328 $as_echo_n "checking for $ac_word... " >&6; }
72329 if ${ac_cv_prog_MAKEINFO+:} false; then :
72330 $as_echo_n "(cached) " >&6
72331 else
72332 if test -n "$MAKEINFO"; then
72333 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
72334 else
72335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72336 for as_dir in $PATH
72338 IFS=$as_save_IFS
72339 test -z "$as_dir" && as_dir=.
72340 for ac_exec_ext in '' $ac_executable_extensions; do
72341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72342 ac_cv_prog_MAKEINFO="makeinfo"
72343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72344 break 2
72346 done
72347 done
72348 IFS=$as_save_IFS
72352 MAKEINFO=$ac_cv_prog_MAKEINFO
72353 if test -n "$MAKEINFO"; then
72354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
72355 $as_echo "$MAKEINFO" >&6; }
72356 else
72357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72358 $as_echo "no" >&6; }
72362 if test -n "$MAKEINFO"; then
72363 # Found it, now check the version.
72364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
72365 $as_echo_n "checking for modern makeinfo... " >&6; }
72366 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
72367 $as_echo_n "(cached) " >&6
72368 else
72369 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
72370 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
72372 case $ac_prog_version in
72373 '') gcc_cv_prog_makeinfo_modern=no;;
72374 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
72375 *) gcc_cv_prog_makeinfo_modern=no;;
72376 esac
72379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
72380 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
72381 else
72382 gcc_cv_prog_makeinfo_modern=no
72384 if test $gcc_cv_prog_makeinfo_modern = no; then
72385 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
72388 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
72389 BUILD_INFO_TRUE=
72390 BUILD_INFO_FALSE='#'
72391 else
72392 BUILD_INFO_TRUE='#'
72393 BUILD_INFO_FALSE=
72397 # Check for doxygen
72398 # Extract the first word of "doxygen", so it can be a program name with args.
72399 set dummy doxygen; ac_word=$2
72400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72401 $as_echo_n "checking for $ac_word... " >&6; }
72402 if ${ac_cv_prog_DOXYGEN+:} false; then :
72403 $as_echo_n "(cached) " >&6
72404 else
72405 if test -n "$DOXYGEN"; then
72406 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
72407 else
72408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72409 for as_dir in $PATH
72411 IFS=$as_save_IFS
72412 test -z "$as_dir" && as_dir=.
72413 for ac_exec_ext in '' $ac_executable_extensions; do
72414 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72415 ac_cv_prog_DOXYGEN="yes"
72416 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72417 break 2
72419 done
72420 done
72421 IFS=$as_save_IFS
72423 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
72426 DOXYGEN=$ac_cv_prog_DOXYGEN
72427 if test -n "$DOXYGEN"; then
72428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
72429 $as_echo "$DOXYGEN" >&6; }
72430 else
72431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72432 $as_echo "no" >&6; }
72436 # Extract the first word of "dot", so it can be a program name with args.
72437 set dummy dot; ac_word=$2
72438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72439 $as_echo_n "checking for $ac_word... " >&6; }
72440 if ${ac_cv_prog_DOT+:} false; then :
72441 $as_echo_n "(cached) " >&6
72442 else
72443 if test -n "$DOT"; then
72444 ac_cv_prog_DOT="$DOT" # Let the user override the test.
72445 else
72446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72447 for as_dir in $PATH
72449 IFS=$as_save_IFS
72450 test -z "$as_dir" && as_dir=.
72451 for ac_exec_ext in '' $ac_executable_extensions; do
72452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72453 ac_cv_prog_DOT="yes"
72454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72455 break 2
72457 done
72458 done
72459 IFS=$as_save_IFS
72461 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
72464 DOT=$ac_cv_prog_DOT
72465 if test -n "$DOT"; then
72466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
72467 $as_echo "$DOT" >&6; }
72468 else
72469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72470 $as_echo "no" >&6; }
72475 # Check for docbook
72476 # Extract the first word of "xmlcatalog", so it can be a program name with args.
72477 set dummy xmlcatalog; ac_word=$2
72478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72479 $as_echo_n "checking for $ac_word... " >&6; }
72480 if ${ac_cv_prog_XMLCATALOG+:} false; then :
72481 $as_echo_n "(cached) " >&6
72482 else
72483 if test -n "$XMLCATALOG"; then
72484 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
72485 else
72486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72487 for as_dir in $PATH
72489 IFS=$as_save_IFS
72490 test -z "$as_dir" && as_dir=.
72491 for ac_exec_ext in '' $ac_executable_extensions; do
72492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72493 ac_cv_prog_XMLCATALOG="yes"
72494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72495 break 2
72497 done
72498 done
72499 IFS=$as_save_IFS
72501 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
72504 XMLCATALOG=$ac_cv_prog_XMLCATALOG
72505 if test -n "$XMLCATALOG"; then
72506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
72507 $as_echo "$XMLCATALOG" >&6; }
72508 else
72509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72510 $as_echo "no" >&6; }
72514 # Extract the first word of "xsltproc", so it can be a program name with args.
72515 set dummy xsltproc; ac_word=$2
72516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72517 $as_echo_n "checking for $ac_word... " >&6; }
72518 if ${ac_cv_prog_XSLTPROC+:} false; then :
72519 $as_echo_n "(cached) " >&6
72520 else
72521 if test -n "$XSLTPROC"; then
72522 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
72523 else
72524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72525 for as_dir in $PATH
72527 IFS=$as_save_IFS
72528 test -z "$as_dir" && as_dir=.
72529 for ac_exec_ext in '' $ac_executable_extensions; do
72530 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72531 ac_cv_prog_XSLTPROC="yes"
72532 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72533 break 2
72535 done
72536 done
72537 IFS=$as_save_IFS
72539 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
72542 XSLTPROC=$ac_cv_prog_XSLTPROC
72543 if test -n "$XSLTPROC"; then
72544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
72545 $as_echo "$XSLTPROC" >&6; }
72546 else
72547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72548 $as_echo "no" >&6; }
72552 # Extract the first word of "xmllint", so it can be a program name with args.
72553 set dummy xmllint; ac_word=$2
72554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72555 $as_echo_n "checking for $ac_word... " >&6; }
72556 if ${ac_cv_prog_XMLLINT+:} false; then :
72557 $as_echo_n "(cached) " >&6
72558 else
72559 if test -n "$XMLLINT"; then
72560 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
72561 else
72562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72563 for as_dir in $PATH
72565 IFS=$as_save_IFS
72566 test -z "$as_dir" && as_dir=.
72567 for ac_exec_ext in '' $ac_executable_extensions; do
72568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72569 ac_cv_prog_XMLLINT="yes"
72570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72571 break 2
72573 done
72574 done
72575 IFS=$as_save_IFS
72577 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
72580 XMLLINT=$ac_cv_prog_XMLLINT
72581 if test -n "$XMLLINT"; then
72582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
72583 $as_echo "$XMLLINT" >&6; }
72584 else
72585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72586 $as_echo "no" >&6; }
72592 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
72594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
72595 $as_echo_n "checking for local stylesheet directory... " >&6; }
72596 glibcxx_local_stylesheets=no
72597 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
72598 then
72599 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
72600 glibcxx_local_stylesheets=yes
72601 else
72602 for dir in \
72603 /usr/share/sgml/docbook/xsl-ns-stylesheets \
72604 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
72605 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
72606 /usr/share/xml/docbook/stylesheet/nwalsh/current
72608 if test -d $dir; then
72609 glibcxx_local_stylesheets=yes
72610 XSL_STYLE_DIR=$dir
72611 break
72613 done
72615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
72616 $as_echo "$glibcxx_local_stylesheets" >&6; }
72618 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72620 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
72621 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
72623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
72624 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
72625 glibcxx_stylesheets=no
72626 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
72627 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
72628 glibcxx_stylesheets=yes
72631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
72632 $as_echo "$glibcxx_stylesheets" >&6; }
72634 else
72635 glibcxx_stylesheets=no
72638 # Check for epub3 dependencies.
72639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
72640 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
72641 glibcxx_epub_stylesheets=no
72642 if test x"$glibcxx_local_stylesheets" = x"yes"; then
72643 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
72644 glibcxx_epub_stylesheets=yes
72647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
72648 $as_echo "$glibcxx_epub_stylesheets" >&6; }
72649 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
72650 BUILD_EPUB_TRUE=
72651 BUILD_EPUB_FALSE='#'
72652 else
72653 BUILD_EPUB_TRUE='#'
72654 BUILD_EPUB_FALSE=
72660 # Check for xml/html dependencies.
72661 if test $ac_cv_prog_DOXYGEN = "yes" &&
72662 test $ac_cv_prog_DOT = "yes" &&
72663 test $ac_cv_prog_XSLTPROC = "yes" &&
72664 test $ac_cv_prog_XMLLINT = "yes" &&
72665 test $glibcxx_stylesheets = "yes"; then
72666 BUILD_XML_TRUE=
72667 BUILD_XML_FALSE='#'
72668 else
72669 BUILD_XML_TRUE='#'
72670 BUILD_XML_FALSE=
72674 if test $ac_cv_prog_DOXYGEN = "yes" &&
72675 test $ac_cv_prog_DOT = "yes" &&
72676 test $ac_cv_prog_XSLTPROC = "yes" &&
72677 test $ac_cv_prog_XMLLINT = "yes" &&
72678 test $glibcxx_stylesheets = "yes"; then
72679 BUILD_HTML_TRUE=
72680 BUILD_HTML_FALSE='#'
72681 else
72682 BUILD_HTML_TRUE='#'
72683 BUILD_HTML_FALSE=
72687 # Check for man dependencies.
72688 if test $ac_cv_prog_DOXYGEN = "yes" &&
72689 test $ac_cv_prog_DOT = "yes"; then
72690 BUILD_MAN_TRUE=
72691 BUILD_MAN_FALSE='#'
72692 else
72693 BUILD_MAN_TRUE='#'
72694 BUILD_MAN_FALSE=
72698 # Check for pdf dependencies.
72699 # Extract the first word of "dblatex", so it can be a program name with args.
72700 set dummy dblatex; ac_word=$2
72701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72702 $as_echo_n "checking for $ac_word... " >&6; }
72703 if ${ac_cv_prog_DBLATEX+:} false; then :
72704 $as_echo_n "(cached) " >&6
72705 else
72706 if test -n "$DBLATEX"; then
72707 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
72708 else
72709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72710 for as_dir in $PATH
72712 IFS=$as_save_IFS
72713 test -z "$as_dir" && as_dir=.
72714 for ac_exec_ext in '' $ac_executable_extensions; do
72715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72716 ac_cv_prog_DBLATEX="yes"
72717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72718 break 2
72720 done
72721 done
72722 IFS=$as_save_IFS
72724 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
72727 DBLATEX=$ac_cv_prog_DBLATEX
72728 if test -n "$DBLATEX"; then
72729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
72730 $as_echo "$DBLATEX" >&6; }
72731 else
72732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72733 $as_echo "no" >&6; }
72737 # Extract the first word of "pdflatex", so it can be a program name with args.
72738 set dummy pdflatex; ac_word=$2
72739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
72740 $as_echo_n "checking for $ac_word... " >&6; }
72741 if ${ac_cv_prog_PDFLATEX+:} false; then :
72742 $as_echo_n "(cached) " >&6
72743 else
72744 if test -n "$PDFLATEX"; then
72745 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
72746 else
72747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72748 for as_dir in $PATH
72750 IFS=$as_save_IFS
72751 test -z "$as_dir" && as_dir=.
72752 for ac_exec_ext in '' $ac_executable_extensions; do
72753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
72754 ac_cv_prog_PDFLATEX="yes"
72755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
72756 break 2
72758 done
72759 done
72760 IFS=$as_save_IFS
72762 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
72765 PDFLATEX=$ac_cv_prog_PDFLATEX
72766 if test -n "$PDFLATEX"; then
72767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
72768 $as_echo "$PDFLATEX" >&6; }
72769 else
72770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72771 $as_echo "no" >&6; }
72775 if test $ac_cv_prog_DOXYGEN = "yes" &&
72776 test $ac_cv_prog_DOT = "yes" &&
72777 test $ac_cv_prog_XSLTPROC = "yes" &&
72778 test $ac_cv_prog_XMLLINT = "yes" &&
72779 test $ac_cv_prog_DBLATEX = "yes" &&
72780 test $ac_cv_prog_PDFLATEX = "yes"; then
72781 BUILD_PDF_TRUE=
72782 BUILD_PDF_FALSE='#'
72783 else
72784 BUILD_PDF_TRUE='#'
72785 BUILD_PDF_FALSE=
72789 case "$build" in
72790 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
72791 * ) glibcxx_include_dir_notparallel=no ;;
72792 esac
72793 if test $glibcxx_include_dir_notparallel = "yes"; then
72794 INCLUDE_DIR_NOTPARALLEL_TRUE=
72795 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
72796 else
72797 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
72798 INCLUDE_DIR_NOTPARALLEL_FALSE=
72802 # Propagate the target-specific source directories through the build chain.
72803 ATOMICITY_SRCDIR=config/${atomicity_dir}
72804 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
72805 ATOMIC_FLAGS=${atomic_flags}
72806 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
72807 OS_INC_SRCDIR=config/${os_include_dir}
72808 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
72809 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
72810 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
72811 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
72822 # Conditionalize the makefile for this target machine.
72823 tmake_file_=
72824 for f in ${tmake_file}
72826 if test -f ${srcdir}/config/$f
72827 then
72828 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
72830 done
72831 tmake_file="${tmake_file_}"
72834 # Add CET specific flags if Intel CET is enabled.
72835 # Check whether --enable-cet was given.
72836 if test "${enable_cet+set}" = set; then :
72837 enableval=$enable_cet;
72838 case "$enableval" in
72839 yes|no|auto) ;;
72840 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
72841 esac
72843 else
72844 enable_cet=auto
72848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
72849 $as_echo_n "checking for CET support... " >&6; }
72851 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
72852 case "$host" in
72853 i[34567]86-*-linux* | x86_64-*-linux*)
72854 case "$enable_cet" in
72855 auto)
72856 # Check if target supports multi-byte NOPs
72857 # and if compiler and assembler support CET insn.
72858 cet_save_CFLAGS="$CFLAGS"
72859 CFLAGS="$CFLAGS -fcf-protection"
72860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72861 /* end confdefs.h. */
72864 main ()
72867 #if !defined(__SSE2__)
72868 #error target does not support multi-byte NOPs
72869 #else
72870 asm ("setssbsy");
72871 #endif
72874 return 0;
72876 _ACEOF
72877 if ac_fn_c_try_compile "$LINENO"; then :
72878 enable_cet=yes
72879 else
72880 enable_cet=no
72882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72883 CFLAGS="$cet_save_CFLAGS"
72885 yes)
72886 # Check if assembler supports CET.
72887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72888 /* end confdefs.h. */
72891 main ()
72893 asm ("setssbsy");
72895 return 0;
72897 _ACEOF
72898 if ac_fn_c_try_compile "$LINENO"; then :
72900 else
72901 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
72903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72905 esac
72908 enable_cet=no
72910 esac
72911 if test x$enable_cet = xyes; then
72912 CET_FLAGS="-fcf-protection -mshstk"
72913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
72914 $as_echo "yes" >&6; }
72915 else
72916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
72917 $as_echo "no" >&6; }
72920 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
72921 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
72925 # Determine cross-compile flags and AM_CONDITIONALs.
72926 #AC_SUBST(GLIBCXX_IS_NATIVE)
72927 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
72928 if test $is_hosted = yes; then
72929 GLIBCXX_HOSTED_TRUE=
72930 GLIBCXX_HOSTED_FALSE='#'
72931 else
72932 GLIBCXX_HOSTED_TRUE='#'
72933 GLIBCXX_HOSTED_FALSE=
72937 if test $enable_libstdcxx_pch = yes; then
72938 GLIBCXX_BUILD_PCH_TRUE=
72939 GLIBCXX_BUILD_PCH_FALSE='#'
72940 else
72941 GLIBCXX_BUILD_PCH_TRUE='#'
72942 GLIBCXX_BUILD_PCH_FALSE=
72946 if test $enable_float128 = yes; then
72947 ENABLE_FLOAT128_TRUE=
72948 ENABLE_FLOAT128_FALSE='#'
72949 else
72950 ENABLE_FLOAT128_TRUE='#'
72951 ENABLE_FLOAT128_FALSE=
72955 if test $enable_libstdcxx_allocator_flag = new; then
72956 ENABLE_ALLOCATOR_NEW_TRUE=
72957 ENABLE_ALLOCATOR_NEW_FALSE='#'
72958 else
72959 ENABLE_ALLOCATOR_NEW_TRUE='#'
72960 ENABLE_ALLOCATOR_NEW_FALSE=
72964 if test $enable_cheaders = c; then
72965 GLIBCXX_C_HEADERS_C_TRUE=
72966 GLIBCXX_C_HEADERS_C_FALSE='#'
72967 else
72968 GLIBCXX_C_HEADERS_C_TRUE='#'
72969 GLIBCXX_C_HEADERS_C_FALSE=
72973 if test $enable_cheaders = c_std; then
72974 GLIBCXX_C_HEADERS_C_STD_TRUE=
72975 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
72976 else
72977 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
72978 GLIBCXX_C_HEADERS_C_STD_FALSE=
72982 if test $enable_cheaders = c_global; then
72983 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
72984 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
72985 else
72986 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
72987 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
72991 if test $c_compatibility = yes; then
72992 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
72993 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
72994 else
72995 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
72996 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
73000 if test $enable_libstdcxx_debug = yes; then
73001 GLIBCXX_BUILD_DEBUG_TRUE=
73002 GLIBCXX_BUILD_DEBUG_FALSE='#'
73003 else
73004 GLIBCXX_BUILD_DEBUG_TRUE='#'
73005 GLIBCXX_BUILD_DEBUG_FALSE=
73009 if test $enable_extern_template = yes; then
73010 ENABLE_EXTERN_TEMPLATE_TRUE=
73011 ENABLE_EXTERN_TEMPLATE_FALSE='#'
73012 else
73013 ENABLE_EXTERN_TEMPLATE_TRUE='#'
73014 ENABLE_EXTERN_TEMPLATE_FALSE=
73018 if test $python_mod_dir != no; then
73019 ENABLE_PYTHONDIR_TRUE=
73020 ENABLE_PYTHONDIR_FALSE='#'
73021 else
73022 ENABLE_PYTHONDIR_TRUE='#'
73023 ENABLE_PYTHONDIR_FALSE=
73027 if test $enable_werror = yes; then
73028 ENABLE_WERROR_TRUE=
73029 ENABLE_WERROR_FALSE='#'
73030 else
73031 ENABLE_WERROR_TRUE='#'
73032 ENABLE_WERROR_FALSE=
73036 if test $enable_vtable_verify = yes; then
73037 ENABLE_VTABLE_VERIFY_TRUE=
73038 ENABLE_VTABLE_VERIFY_FALSE='#'
73039 else
73040 ENABLE_VTABLE_VERIFY_TRUE='#'
73041 ENABLE_VTABLE_VERIFY_FALSE=
73045 if test $enable_symvers != no; then
73046 ENABLE_SYMVERS_TRUE=
73047 ENABLE_SYMVERS_FALSE='#'
73048 else
73049 ENABLE_SYMVERS_TRUE='#'
73050 ENABLE_SYMVERS_FALSE=
73054 if test $enable_symvers = gnu; then
73055 ENABLE_SYMVERS_GNU_TRUE=
73056 ENABLE_SYMVERS_GNU_FALSE='#'
73057 else
73058 ENABLE_SYMVERS_GNU_TRUE='#'
73059 ENABLE_SYMVERS_GNU_FALSE=
73063 if test $enable_symvers = gnu-versioned-namespace; then
73064 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
73065 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
73066 else
73067 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
73068 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
73072 if test $enable_symvers = darwin; then
73073 ENABLE_SYMVERS_DARWIN_TRUE=
73074 ENABLE_SYMVERS_DARWIN_FALSE='#'
73075 else
73076 ENABLE_SYMVERS_DARWIN_TRUE='#'
73077 ENABLE_SYMVERS_DARWIN_FALSE=
73081 if test $enable_symvers = sun; then
73082 ENABLE_SYMVERS_SUN_TRUE=
73083 ENABLE_SYMVERS_SUN_FALSE='#'
73084 else
73085 ENABLE_SYMVERS_SUN_TRUE='#'
73086 ENABLE_SYMVERS_SUN_FALSE=
73090 if test $enable_libstdcxx_visibility = yes; then
73091 ENABLE_VISIBILITY_TRUE=
73092 ENABLE_VISIBILITY_FALSE='#'
73093 else
73094 ENABLE_VISIBILITY_TRUE='#'
73095 ENABLE_VISIBILITY_FALSE=
73099 if test $enable_libstdcxx_dual_abi = yes; then
73100 ENABLE_DUAL_ABI_TRUE=
73101 ENABLE_DUAL_ABI_FALSE='#'
73102 else
73103 ENABLE_DUAL_ABI_TRUE='#'
73104 ENABLE_DUAL_ABI_FALSE=
73108 if test $glibcxx_cxx11_abi = 1; then
73109 ENABLE_CXX11_ABI_TRUE=
73110 ENABLE_CXX11_ABI_FALSE='#'
73111 else
73112 ENABLE_CXX11_ABI_TRUE='#'
73113 ENABLE_CXX11_ABI_FALSE=
73117 if test $ac_ldbl_compat = yes; then
73118 GLIBCXX_LDBL_COMPAT_TRUE=
73119 GLIBCXX_LDBL_COMPAT_FALSE='#'
73120 else
73121 GLIBCXX_LDBL_COMPAT_TRUE='#'
73122 GLIBCXX_LDBL_COMPAT_FALSE=
73126 if test $ac_ldbl_alt128_compat = yes; then
73127 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
73128 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
73129 else
73130 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
73131 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
73135 if test $enable_libstdcxx_filesystem_ts = yes; then
73136 ENABLE_FILESYSTEM_TS_TRUE=
73137 ENABLE_FILESYSTEM_TS_FALSE='#'
73138 else
73139 ENABLE_FILESYSTEM_TS_TRUE='#'
73140 ENABLE_FILESYSTEM_TS_FALSE=
73144 if test "$enable_libstdcxx_backtrace" = yes; then
73145 ENABLE_BACKTRACE_TRUE=
73146 ENABLE_BACKTRACE_FALSE='#'
73147 else
73148 ENABLE_BACKTRACE_TRUE='#'
73149 ENABLE_BACKTRACE_FALSE=
73153 if test "${embed_zoneinfo}" = yes; then
73154 USE_STATIC_TZDATA_TRUE=
73155 USE_STATIC_TZDATA_FALSE='#'
73156 else
73157 USE_STATIC_TZDATA_TRUE='#'
73158 USE_STATIC_TZDATA_FALSE=
73164 cat >confcache <<\_ACEOF
73165 # This file is a shell script that caches the results of configure
73166 # tests run on this system so they can be shared between configure
73167 # scripts and configure runs, see configure's option --config-cache.
73168 # It is not useful on other systems. If it contains results you don't
73169 # want to keep, you may remove or edit it.
73171 # config.status only pays attention to the cache file if you give it
73172 # the --recheck option to rerun configure.
73174 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73175 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73176 # following values.
73178 _ACEOF
73180 # The following way of writing the cache mishandles newlines in values,
73181 # but we know of no workaround that is simple, portable, and efficient.
73182 # So, we kill variables containing newlines.
73183 # Ultrix sh set writes to stderr and can't be redirected directly,
73184 # and sets the high bit in the cache file unless we assign to the vars.
73186 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73187 eval ac_val=\$$ac_var
73188 case $ac_val in #(
73189 *${as_nl}*)
73190 case $ac_var in #(
73191 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73192 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73193 esac
73194 case $ac_var in #(
73195 _ | IFS | as_nl) ;; #(
73196 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73197 *) { eval $ac_var=; unset $ac_var;} ;;
73198 esac ;;
73199 esac
73200 done
73202 (set) 2>&1 |
73203 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73204 *${as_nl}ac_space=\ *)
73205 # `set' does not quote correctly, so add quotes: double-quote
73206 # substitution turns \\\\ into \\, and sed turns \\ into \.
73207 sed -n \
73208 "s/'/'\\\\''/g;
73209 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73210 ;; #(
73212 # `set' quotes correctly as required by POSIX, so do not add quotes.
73213 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73215 esac |
73216 sort
73218 sed '
73219 /^ac_cv_env_/b end
73220 t clear
73221 :clear
73222 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73223 t end
73224 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73225 :end' >>confcache
73226 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73227 if test -w "$cache_file"; then
73228 if test "x$cache_file" != "x/dev/null"; then
73229 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73230 $as_echo "$as_me: updating cache $cache_file" >&6;}
73231 if test ! -f "$cache_file" || test -h "$cache_file"; then
73232 cat confcache >"$cache_file"
73233 else
73234 case $cache_file in #(
73235 */* | ?:*)
73236 mv -f confcache "$cache_file"$$ &&
73237 mv -f "$cache_file"$$ "$cache_file" ;; #(
73239 mv -f confcache "$cache_file" ;;
73240 esac
73243 else
73244 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73245 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73248 rm -f confcache
73250 if test ${multilib} = yes; then
73251 multilib_arg="--enable-multilib"
73252 else
73253 multilib_arg=
73256 # Export all the install information.
73258 glibcxx_toolexecdir=no
73259 glibcxx_toolexeclibdir=no
73260 glibcxx_prefixdir=$prefix
73262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
73263 $as_echo_n "checking for gxx-include-dir... " >&6; }
73265 # Check whether --with-gxx-include-dir was given.
73266 if test "${with_gxx_include_dir+set}" = set; then :
73267 withval=$with_gxx_include_dir; case "$withval" in
73268 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
73269 no) gxx_include_dir=no ;;
73270 *) gxx_include_dir=$withval ;;
73271 esac
73272 else
73273 gxx_include_dir=no
73276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73277 $as_echo "$gxx_include_dir" >&6; }
73279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
73280 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
73281 # Check whether --enable-version-specific-runtime-libs was given.
73282 if test "${enable_version_specific_runtime_libs+set}" = set; then :
73283 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
73284 yes) version_specific_libs=yes ;;
73285 no) version_specific_libs=no ;;
73286 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
73287 esac
73288 else
73289 version_specific_libs=no
73292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
73293 $as_echo "$version_specific_libs" >&6; }
73296 # Check whether --with-toolexeclibdir was given.
73297 if test "${with_toolexeclibdir+set}" = set; then :
73298 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
73302 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
73304 esac
73305 else
73306 with_toolexeclibdir=no
73311 # Default case for install directory for include files.
73312 if test $version_specific_libs = no && test $gxx_include_dir = no; then
73313 gxx_include_dir='include/c++/${gcc_version}'
73314 if test -n "$with_cross_host" &&
73315 test x"$with_cross_host" != x"no"; then
73316 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
73317 else
73318 gxx_include_dir='${prefix}/'"$gxx_include_dir"
73322 # Version-specific runtime libs processing.
73323 if test $version_specific_libs = yes; then
73324 # Need the gcc compiler version to know where to install libraries
73325 # and header files if --enable-version-specific-runtime-libs option
73326 # is selected. FIXME: these variables are misnamed, there are
73327 # no executables installed in _toolexecdir or _toolexeclibdir.
73328 if test x"$gxx_include_dir" = x"no"; then
73329 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
73331 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73332 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
73335 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
73336 # Install a library built with a cross compiler in tooldir, not libdir.
73337 if test x"$glibcxx_toolexecdir" = x"no"; then
73338 if test -n "$with_cross_host" &&
73339 test x"$with_cross_host" != x"no"; then
73340 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
73341 case ${with_toolexeclibdir} in
73343 glibcxx_toolexeclibdir='${toolexecdir}/lib'
73346 glibcxx_toolexeclibdir=${with_toolexeclibdir}
73348 esac
73349 else
73350 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
73351 glibcxx_toolexeclibdir='${libdir}'
73353 multi_os_directory=`$CXX -print-multi-os-directory`
73354 case $multi_os_directory in
73355 .) ;; # Avoid trailing /.
73356 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
73357 esac
73360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
73361 $as_echo_n "checking for install location... " >&6; }
73362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
73363 $as_echo "$gxx_include_dir" >&6; }
73371 # Export all the include and flag information to Makefiles.
73373 # Used for every C++ compile we perform.
73374 GLIBCXX_INCLUDES="\
73375 -I$glibcxx_builddir/include/$host_alias \
73376 -I$glibcxx_builddir/include \
73377 -I$glibcxx_srcdir/libsupc++"
73379 # For Canadian crosses, pick this up too.
73380 if test $CANADIAN = yes; then
73381 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
73384 # Stuff in the actual top level. Currently only used by libsupc++ to
73385 # get unwind* headers from the libgcc dir.
73386 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
73387 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
73389 # Now, export this to all the little Makefiles....
73396 # Optimization flags that are probably a good idea for thrill-seekers. Just
73397 # uncomment the lines below and make, everything else is ready to go...
73398 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
73399 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
73402 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
73406 # Determine what GCC version number to use in filesystem paths.
73408 get_gcc_base_ver="cat"
73410 # Check whether --with-gcc-major-version-only was given.
73411 if test "${with_gcc_major_version_only+set}" = set; then :
73412 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
73413 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
73421 ac_config_files="$ac_config_files Makefile"
73423 ac_config_files="$ac_config_files scripts/testsuite_flags"
73425 ac_config_files="$ac_config_files scripts/extract_symvers"
73427 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
73429 ac_config_files="$ac_config_files src/libbacktrace/backtrace-supported.h"
73432 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
73433 # that multilib installs will end up installed in the correct place.
73434 # The testsuite needs it for multilib-aware ABI baseline files.
73435 # To work around this not being passed down from config-ml.in ->
73436 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
73437 # append it here. Only modify Makefiles that have just been created.
73439 # Also, get rid of this simulated-VPATH thing that automake does.
73440 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/c++20/Makefile src/filesystem/Makefile src/libbacktrace/Makefile src/experimental/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
73443 ac_config_commands="$ac_config_commands generate-headers"
73446 cat >confcache <<\_ACEOF
73447 # This file is a shell script that caches the results of configure
73448 # tests run on this system so they can be shared between configure
73449 # scripts and configure runs, see configure's option --config-cache.
73450 # It is not useful on other systems. If it contains results you don't
73451 # want to keep, you may remove or edit it.
73453 # config.status only pays attention to the cache file if you give it
73454 # the --recheck option to rerun configure.
73456 # `ac_cv_env_foo' variables (set or unset) will be overridden when
73457 # loading this file, other *unset* `ac_cv_foo' will be assigned the
73458 # following values.
73460 _ACEOF
73462 # The following way of writing the cache mishandles newlines in values,
73463 # but we know of no workaround that is simple, portable, and efficient.
73464 # So, we kill variables containing newlines.
73465 # Ultrix sh set writes to stderr and can't be redirected directly,
73466 # and sets the high bit in the cache file unless we assign to the vars.
73468 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
73469 eval ac_val=\$$ac_var
73470 case $ac_val in #(
73471 *${as_nl}*)
73472 case $ac_var in #(
73473 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
73474 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
73475 esac
73476 case $ac_var in #(
73477 _ | IFS | as_nl) ;; #(
73478 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
73479 *) { eval $ac_var=; unset $ac_var;} ;;
73480 esac ;;
73481 esac
73482 done
73484 (set) 2>&1 |
73485 case $as_nl`(ac_space=' '; set) 2>&1` in #(
73486 *${as_nl}ac_space=\ *)
73487 # `set' does not quote correctly, so add quotes: double-quote
73488 # substitution turns \\\\ into \\, and sed turns \\ into \.
73489 sed -n \
73490 "s/'/'\\\\''/g;
73491 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
73492 ;; #(
73494 # `set' quotes correctly as required by POSIX, so do not add quotes.
73495 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
73497 esac |
73498 sort
73500 sed '
73501 /^ac_cv_env_/b end
73502 t clear
73503 :clear
73504 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
73505 t end
73506 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
73507 :end' >>confcache
73508 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
73509 if test -w "$cache_file"; then
73510 if test "x$cache_file" != "x/dev/null"; then
73511 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
73512 $as_echo "$as_me: updating cache $cache_file" >&6;}
73513 if test ! -f "$cache_file" || test -h "$cache_file"; then
73514 cat confcache >"$cache_file"
73515 else
73516 case $cache_file in #(
73517 */* | ?:*)
73518 mv -f confcache "$cache_file"$$ &&
73519 mv -f "$cache_file"$$ "$cache_file" ;; #(
73521 mv -f confcache "$cache_file" ;;
73522 esac
73525 else
73526 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
73527 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
73530 rm -f confcache
73532 test "x$prefix" = xNONE && prefix=$ac_default_prefix
73533 # Let make expand exec_prefix.
73534 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
73536 DEFS=-DHAVE_CONFIG_H
73538 ac_libobjs=
73539 ac_ltlibobjs=
73541 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
73542 # 1. Remove the extension, and $U if already installed.
73543 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
73544 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
73545 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
73546 # will be set to the directory where LIBOBJS objects are built.
73547 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
73548 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
73549 done
73550 LIBOBJS=$ac_libobjs
73552 LTLIBOBJS=$ac_ltlibobjs
73555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
73556 $as_echo_n "checking that generated files are newer than configure... " >&6; }
73557 if test -n "$am_sleep_pid"; then
73558 # Hide warnings about reused PIDs.
73559 wait $am_sleep_pid 2>/dev/null
73561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
73562 $as_echo "done" >&6; }
73563 if test -n "$EXEEXT"; then
73564 am__EXEEXT_TRUE=
73565 am__EXEEXT_FALSE='#'
73566 else
73567 am__EXEEXT_TRUE='#'
73568 am__EXEEXT_FALSE=
73571 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
73572 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
73573 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73575 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
73576 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
73577 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73579 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
73580 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
73581 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73583 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
73584 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
73585 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73587 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
73588 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
73589 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73591 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
73592 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
73593 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73595 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
73596 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
73597 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73599 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
73600 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
73601 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73603 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
73604 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
73605 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73607 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
73608 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
73609 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73611 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
73612 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
73613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73615 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
73616 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
73617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73619 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
73620 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
73621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73623 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
73624 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
73625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73627 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
73628 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
73629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73631 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
73632 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
73633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73635 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
73636 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
73637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73639 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
73640 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
73641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73643 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
73644 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
73645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73647 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
73648 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
73649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73651 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
73652 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
73653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73655 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
73656 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
73657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73659 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
73660 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
73661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73663 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
73664 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
73665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73667 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
73668 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
73669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73671 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
73672 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
73673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73675 if test -z "${ENABLE_BACKTRACE_TRUE}" && test -z "${ENABLE_BACKTRACE_FALSE}"; then
73676 as_fn_error $? "conditional \"ENABLE_BACKTRACE\" was never defined.
73677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73679 if test -z "${USE_STATIC_TZDATA_TRUE}" && test -z "${USE_STATIC_TZDATA_FALSE}"; then
73680 as_fn_error $? "conditional \"USE_STATIC_TZDATA\" was never defined.
73681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73683 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
73684 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
73685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73687 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
73688 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
73689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73691 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
73692 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
73693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73695 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
73696 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
73697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73699 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
73700 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
73701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73703 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
73704 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
73705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73707 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
73708 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
73709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
73712 : "${CONFIG_STATUS=./config.status}"
73713 ac_write_fail=0
73714 ac_clean_files_save=$ac_clean_files
73715 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
73716 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
73717 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
73718 as_write_fail=0
73719 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
73720 #! $SHELL
73721 # Generated by $as_me.
73722 # Run this file to recreate the current configuration.
73723 # Compiler output produced by configure, useful for debugging
73724 # configure, is in config.log if it exists.
73726 debug=false
73727 ac_cs_recheck=false
73728 ac_cs_silent=false
73730 SHELL=\${CONFIG_SHELL-$SHELL}
73731 export SHELL
73732 _ASEOF
73733 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
73734 ## -------------------- ##
73735 ## M4sh Initialization. ##
73736 ## -------------------- ##
73738 # Be more Bourne compatible
73739 DUALCASE=1; export DUALCASE # for MKS sh
73740 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
73741 emulate sh
73742 NULLCMD=:
73743 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
73744 # is contrary to our usage. Disable this feature.
73745 alias -g '${1+"$@"}'='"$@"'
73746 setopt NO_GLOB_SUBST
73747 else
73748 case `(set -o) 2>/dev/null` in #(
73749 *posix*) :
73750 set -o posix ;; #(
73751 *) :
73753 esac
73757 as_nl='
73759 export as_nl
73760 # Printing a long string crashes Solaris 7 /usr/bin/printf.
73761 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
73762 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
73763 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
73764 # Prefer a ksh shell builtin over an external printf program on Solaris,
73765 # but without wasting forks for bash or zsh.
73766 if test -z "$BASH_VERSION$ZSH_VERSION" \
73767 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
73768 as_echo='print -r --'
73769 as_echo_n='print -rn --'
73770 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
73771 as_echo='printf %s\n'
73772 as_echo_n='printf %s'
73773 else
73774 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
73775 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
73776 as_echo_n='/usr/ucb/echo -n'
73777 else
73778 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
73779 as_echo_n_body='eval
73780 arg=$1;
73781 case $arg in #(
73782 *"$as_nl"*)
73783 expr "X$arg" : "X\\(.*\\)$as_nl";
73784 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
73785 esac;
73786 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
73788 export as_echo_n_body
73789 as_echo_n='sh -c $as_echo_n_body as_echo'
73791 export as_echo_body
73792 as_echo='sh -c $as_echo_body as_echo'
73795 # The user is always right.
73796 if test "${PATH_SEPARATOR+set}" != set; then
73797 PATH_SEPARATOR=:
73798 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
73799 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
73800 PATH_SEPARATOR=';'
73805 # IFS
73806 # We need space, tab and new line, in precisely that order. Quoting is
73807 # there to prevent editors from complaining about space-tab.
73808 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
73809 # splitting by setting IFS to empty value.)
73810 IFS=" "" $as_nl"
73812 # Find who we are. Look in the path if we contain no directory separator.
73813 as_myself=
73814 case $0 in #((
73815 *[\\/]* ) as_myself=$0 ;;
73816 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
73817 for as_dir in $PATH
73819 IFS=$as_save_IFS
73820 test -z "$as_dir" && as_dir=.
73821 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
73822 done
73823 IFS=$as_save_IFS
73826 esac
73827 # We did not find ourselves, most probably we were run as `sh COMMAND'
73828 # in which case we are not to be found in the path.
73829 if test "x$as_myself" = x; then
73830 as_myself=$0
73832 if test ! -f "$as_myself"; then
73833 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
73834 exit 1
73837 # Unset variables that we do not need and which cause bugs (e.g. in
73838 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
73839 # suppresses any "Segmentation fault" message there. '((' could
73840 # trigger a bug in pdksh 5.2.14.
73841 for as_var in BASH_ENV ENV MAIL MAILPATH
73842 do eval test x\${$as_var+set} = xset \
73843 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
73844 done
73845 PS1='$ '
73846 PS2='> '
73847 PS4='+ '
73849 # NLS nuisances.
73850 LC_ALL=C
73851 export LC_ALL
73852 LANGUAGE=C
73853 export LANGUAGE
73855 # CDPATH.
73856 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
73859 # as_fn_error STATUS ERROR [LINENO LOG_FD]
73860 # ----------------------------------------
73861 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
73862 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
73863 # script with STATUS, using 1 if that was 0.
73864 as_fn_error ()
73866 as_status=$1; test $as_status -eq 0 && as_status=1
73867 if test "$4"; then
73868 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
73869 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
73871 $as_echo "$as_me: error: $2" >&2
73872 as_fn_exit $as_status
73873 } # as_fn_error
73876 # as_fn_set_status STATUS
73877 # -----------------------
73878 # Set $? to STATUS, without forking.
73879 as_fn_set_status ()
73881 return $1
73882 } # as_fn_set_status
73884 # as_fn_exit STATUS
73885 # -----------------
73886 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
73887 as_fn_exit ()
73889 set +e
73890 as_fn_set_status $1
73891 exit $1
73892 } # as_fn_exit
73894 # as_fn_unset VAR
73895 # ---------------
73896 # Portably unset VAR.
73897 as_fn_unset ()
73899 { eval $1=; unset $1;}
73901 as_unset=as_fn_unset
73902 # as_fn_append VAR VALUE
73903 # ----------------------
73904 # Append the text in VALUE to the end of the definition contained in VAR. Take
73905 # advantage of any shell optimizations that allow amortized linear growth over
73906 # repeated appends, instead of the typical quadratic growth present in naive
73907 # implementations.
73908 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
73909 eval 'as_fn_append ()
73911 eval $1+=\$2
73913 else
73914 as_fn_append ()
73916 eval $1=\$$1\$2
73918 fi # as_fn_append
73920 # as_fn_arith ARG...
73921 # ------------------
73922 # Perform arithmetic evaluation on the ARGs, and store the result in the
73923 # global $as_val. Take advantage of shells that can avoid forks. The arguments
73924 # must be portable across $(()) and expr.
73925 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
73926 eval 'as_fn_arith ()
73928 as_val=$(( $* ))
73930 else
73931 as_fn_arith ()
73933 as_val=`expr "$@" || test $? -eq 1`
73935 fi # as_fn_arith
73938 if expr a : '\(a\)' >/dev/null 2>&1 &&
73939 test "X`expr 00001 : '.*\(...\)'`" = X001; then
73940 as_expr=expr
73941 else
73942 as_expr=false
73945 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
73946 as_basename=basename
73947 else
73948 as_basename=false
73951 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
73952 as_dirname=dirname
73953 else
73954 as_dirname=false
73957 as_me=`$as_basename -- "$0" ||
73958 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
73959 X"$0" : 'X\(//\)$' \| \
73960 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
73961 $as_echo X/"$0" |
73962 sed '/^.*\/\([^/][^/]*\)\/*$/{
73963 s//\1/
73966 /^X\/\(\/\/\)$/{
73967 s//\1/
73970 /^X\/\(\/\).*/{
73971 s//\1/
73974 s/.*/./; q'`
73976 # Avoid depending upon Character Ranges.
73977 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
73978 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
73979 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
73980 as_cr_digits='0123456789'
73981 as_cr_alnum=$as_cr_Letters$as_cr_digits
73983 ECHO_C= ECHO_N= ECHO_T=
73984 case `echo -n x` in #(((((
73985 -n*)
73986 case `echo 'xy\c'` in
73987 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
73988 xy) ECHO_C='\c';;
73989 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
73990 ECHO_T=' ';;
73991 esac;;
73993 ECHO_N='-n';;
73994 esac
73996 rm -f conf$$ conf$$.exe conf$$.file
73997 if test -d conf$$.dir; then
73998 rm -f conf$$.dir/conf$$.file
73999 else
74000 rm -f conf$$.dir
74001 mkdir conf$$.dir 2>/dev/null
74003 if (echo >conf$$.file) 2>/dev/null; then
74004 if ln -s conf$$.file conf$$ 2>/dev/null; then
74005 as_ln_s='ln -s'
74006 # ... but there are two gotchas:
74007 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
74008 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
74009 # In both cases, we have to default to `cp -pR'.
74010 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
74011 as_ln_s='cp -pR'
74012 elif ln conf$$.file conf$$ 2>/dev/null; then
74013 as_ln_s=ln
74014 else
74015 as_ln_s='cp -pR'
74017 else
74018 as_ln_s='cp -pR'
74020 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
74021 rmdir conf$$.dir 2>/dev/null
74024 # as_fn_mkdir_p
74025 # -------------
74026 # Create "$as_dir" as a directory, including parents if necessary.
74027 as_fn_mkdir_p ()
74030 case $as_dir in #(
74031 -*) as_dir=./$as_dir;;
74032 esac
74033 test -d "$as_dir" || eval $as_mkdir_p || {
74034 as_dirs=
74035 while :; do
74036 case $as_dir in #(
74037 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
74038 *) as_qdir=$as_dir;;
74039 esac
74040 as_dirs="'$as_qdir' $as_dirs"
74041 as_dir=`$as_dirname -- "$as_dir" ||
74042 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
74043 X"$as_dir" : 'X\(//\)[^/]' \| \
74044 X"$as_dir" : 'X\(//\)$' \| \
74045 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
74046 $as_echo X"$as_dir" |
74047 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
74048 s//\1/
74051 /^X\(\/\/\)[^/].*/{
74052 s//\1/
74055 /^X\(\/\/\)$/{
74056 s//\1/
74059 /^X\(\/\).*/{
74060 s//\1/
74063 s/.*/./; q'`
74064 test -d "$as_dir" && break
74065 done
74066 test -z "$as_dirs" || eval "mkdir $as_dirs"
74067 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
74070 } # as_fn_mkdir_p
74071 if mkdir -p . 2>/dev/null; then
74072 as_mkdir_p='mkdir -p "$as_dir"'
74073 else
74074 test -d ./-p && rmdir ./-p
74075 as_mkdir_p=false
74079 # as_fn_executable_p FILE
74080 # -----------------------
74081 # Test if FILE is an executable regular file.
74082 as_fn_executable_p ()
74084 test -f "$1" && test -x "$1"
74085 } # as_fn_executable_p
74086 as_test_x='test -x'
74087 as_executable_p=as_fn_executable_p
74089 # Sed expression to map a string onto a valid CPP name.
74090 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
74092 # Sed expression to map a string onto a valid variable name.
74093 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
74096 exec 6>&1
74097 ## ----------------------------------- ##
74098 ## Main body of $CONFIG_STATUS script. ##
74099 ## ----------------------------------- ##
74100 _ASEOF
74101 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
74103 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74104 # Save the log message, to keep $0 and so on meaningful, and to
74105 # report actual input values of CONFIG_FILES etc. instead of their
74106 # values after options handling.
74107 ac_log="
74108 This file was extended by package-unused $as_me version-unused, which was
74109 generated by GNU Autoconf 2.69. Invocation command line was
74111 CONFIG_FILES = $CONFIG_FILES
74112 CONFIG_HEADERS = $CONFIG_HEADERS
74113 CONFIG_LINKS = $CONFIG_LINKS
74114 CONFIG_COMMANDS = $CONFIG_COMMANDS
74115 $ $0 $@
74117 on `(hostname || uname -n) 2>/dev/null | sed 1q`
74120 _ACEOF
74122 case $ac_config_files in *"
74123 "*) set x $ac_config_files; shift; ac_config_files=$*;;
74124 esac
74126 case $ac_config_headers in *"
74127 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
74128 esac
74131 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74132 # Files that config.status was made for.
74133 config_files="$ac_config_files"
74134 config_headers="$ac_config_headers"
74135 config_commands="$ac_config_commands"
74137 _ACEOF
74139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74140 ac_cs_usage="\
74141 \`$as_me' instantiates files and other configuration actions
74142 from templates according to the current configuration. Unless the files
74143 and actions are specified as TAGs, all are instantiated by default.
74145 Usage: $0 [OPTION]... [TAG]...
74147 -h, --help print this help, then exit
74148 -V, --version print version number and configuration settings, then exit
74149 --config print configuration, then exit
74150 -q, --quiet, --silent
74151 do not print progress messages
74152 -d, --debug don't remove temporary files
74153 --recheck update $as_me by reconfiguring in the same conditions
74154 --file=FILE[:TEMPLATE]
74155 instantiate the configuration file FILE
74156 --header=FILE[:TEMPLATE]
74157 instantiate the configuration header FILE
74159 Configuration files:
74160 $config_files
74162 Configuration headers:
74163 $config_headers
74165 Configuration commands:
74166 $config_commands
74168 Report bugs to the package provider."
74170 _ACEOF
74171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74172 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
74173 ac_cs_version="\\
74174 package-unused config.status version-unused
74175 configured by $0, generated by GNU Autoconf 2.69,
74176 with options \\"\$ac_cs_config\\"
74178 Copyright (C) 2012 Free Software Foundation, Inc.
74179 This config.status script is free software; the Free Software Foundation
74180 gives unlimited permission to copy, distribute and modify it."
74182 ac_pwd='$ac_pwd'
74183 srcdir='$srcdir'
74184 INSTALL='$INSTALL'
74185 MKDIR_P='$MKDIR_P'
74186 AWK='$AWK'
74187 test -n "\$AWK" || AWK=awk
74188 _ACEOF
74190 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74191 # The default lists apply if the user does not specify any file.
74192 ac_need_defaults=:
74193 while test $# != 0
74195 case $1 in
74196 --*=?*)
74197 ac_option=`expr "X$1" : 'X\([^=]*\)='`
74198 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
74199 ac_shift=:
74201 --*=)
74202 ac_option=`expr "X$1" : 'X\([^=]*\)='`
74203 ac_optarg=
74204 ac_shift=:
74207 ac_option=$1
74208 ac_optarg=$2
74209 ac_shift=shift
74211 esac
74213 case $ac_option in
74214 # Handling of the options.
74215 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
74216 ac_cs_recheck=: ;;
74217 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
74218 $as_echo "$ac_cs_version"; exit ;;
74219 --config | --confi | --conf | --con | --co | --c )
74220 $as_echo "$ac_cs_config"; exit ;;
74221 --debug | --debu | --deb | --de | --d | -d )
74222 debug=: ;;
74223 --file | --fil | --fi | --f )
74224 $ac_shift
74225 case $ac_optarg in
74226 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74227 '') as_fn_error $? "missing file argument" ;;
74228 esac
74229 as_fn_append CONFIG_FILES " '$ac_optarg'"
74230 ac_need_defaults=false;;
74231 --header | --heade | --head | --hea )
74232 $ac_shift
74233 case $ac_optarg in
74234 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
74235 esac
74236 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
74237 ac_need_defaults=false;;
74238 --he | --h)
74239 # Conflict between --help and --header
74240 as_fn_error $? "ambiguous option: \`$1'
74241 Try \`$0 --help' for more information.";;
74242 --help | --hel | -h )
74243 $as_echo "$ac_cs_usage"; exit ;;
74244 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
74245 | -silent | --silent | --silen | --sile | --sil | --si | --s)
74246 ac_cs_silent=: ;;
74248 # This is an error.
74249 -*) as_fn_error $? "unrecognized option: \`$1'
74250 Try \`$0 --help' for more information." ;;
74252 *) as_fn_append ac_config_targets " $1"
74253 ac_need_defaults=false ;;
74255 esac
74256 shift
74257 done
74259 ac_configure_extra_args=
74261 if $ac_cs_silent; then
74262 exec 6>/dev/null
74263 ac_configure_extra_args="$ac_configure_extra_args --silent"
74266 _ACEOF
74267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74268 if \$ac_cs_recheck; then
74269 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
74270 shift
74271 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
74272 CONFIG_SHELL='$SHELL'
74273 export CONFIG_SHELL
74274 exec "\$@"
74277 _ACEOF
74278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74279 exec 5>>config.log
74281 echo
74282 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
74283 ## Running $as_me. ##
74284 _ASBOX
74285 $as_echo "$ac_log"
74286 } >&5
74288 _ACEOF
74289 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74291 # INIT-COMMANDS
74294 srcdir="$srcdir"
74295 host="$host"
74296 target="$target"
74297 with_multisubdir="$with_multisubdir"
74298 with_multisrctop="$with_multisrctop"
74299 with_target_subdir="$with_target_subdir"
74300 ac_configure_args="${multilib_arg} ${ac_configure_args}"
74301 multi_basedir="$multi_basedir"
74302 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
74303 CC="$CC"
74304 CXX="$CXX"
74305 GFORTRAN="$GFORTRAN"
74306 GDC="$GDC"
74309 # The HP-UX ksh and POSIX shell print the target directory to stdout
74310 # if CDPATH is set.
74311 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
74313 sed_quote_subst='$sed_quote_subst'
74314 double_quote_subst='$double_quote_subst'
74315 delay_variable_subst='$delay_variable_subst'
74316 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
74317 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
74318 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
74319 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
74320 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
74321 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
74322 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
74323 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
74324 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
74325 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
74326 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
74327 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
74328 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
74329 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
74330 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
74331 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
74332 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
74333 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
74334 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
74335 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
74336 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
74337 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
74338 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
74339 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
74340 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
74341 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
74342 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
74343 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
74344 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
74345 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
74346 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
74347 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
74348 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
74349 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
74350 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
74351 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
74352 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
74353 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74354 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74355 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
74356 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
74357 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
74358 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
74359 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
74360 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
74361 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
74362 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
74363 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
74364 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"`'
74365 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
74366 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
74367 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
74368 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
74369 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
74370 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
74371 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
74372 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
74373 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
74374 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
74375 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
74376 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
74377 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
74378 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
74379 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
74380 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74381 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
74382 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
74383 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
74384 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
74385 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
74386 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
74387 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
74388 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
74389 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74390 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
74391 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
74392 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
74393 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
74394 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
74395 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
74396 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
74397 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
74398 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
74399 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
74400 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
74401 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
74402 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
74403 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
74404 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
74405 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
74406 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
74407 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
74408 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
74409 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
74410 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
74411 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
74412 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
74413 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
74414 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
74415 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
74416 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
74417 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
74418 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
74419 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
74420 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
74421 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
74422 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
74423 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
74424 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
74425 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
74426 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
74427 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
74428 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
74429 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
74430 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
74431 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
74432 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
74433 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
74434 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
74435 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
74436 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
74437 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
74438 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
74439 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
74440 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
74441 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
74442 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
74443 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
74444 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74445 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74446 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
74447 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
74448 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
74449 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
74450 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
74451 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
74452 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
74453 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
74454 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
74455 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74456 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74457 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
74458 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74459 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74460 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74461 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74462 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74463 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74464 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
74465 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74466 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
74467 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
74468 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
74469 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
74470 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
74471 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
74472 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
74473 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
74474 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
74475 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
74476 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
74477 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
74478 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
74479 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74480 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74481 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
74482 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
74483 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
74484 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
74485 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
74486 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74487 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
74488 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
74489 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
74490 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
74492 LTCC='$LTCC'
74493 LTCFLAGS='$LTCFLAGS'
74494 compiler='$compiler_DEFAULT'
74496 # A function that is used when there is no print builtin or printf.
74497 func_fallback_echo ()
74499 eval 'cat <<_LTECHO_EOF
74501 _LTECHO_EOF'
74504 # Quote evaled strings.
74505 for var in SHELL \
74506 ECHO \
74507 SED \
74508 GREP \
74509 EGREP \
74510 FGREP \
74511 LD \
74512 NM \
74513 LN_S \
74514 lt_SP2NL \
74515 lt_NL2SP \
74516 reload_flag \
74517 OBJDUMP \
74518 deplibs_check_method \
74519 file_magic_cmd \
74520 AR \
74521 AR_FLAGS \
74522 STRIP \
74523 RANLIB \
74524 CC \
74525 CFLAGS \
74526 compiler \
74527 lt_cv_sys_global_symbol_pipe \
74528 lt_cv_sys_global_symbol_to_cdecl \
74529 lt_cv_sys_global_symbol_to_c_name_address \
74530 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
74531 lt_prog_compiler_no_builtin_flag \
74532 lt_prog_compiler_wl \
74533 lt_prog_compiler_pic \
74534 lt_prog_compiler_static \
74535 lt_cv_prog_compiler_c_o \
74536 need_locks \
74537 DSYMUTIL \
74538 NMEDIT \
74539 LIPO \
74540 OTOOL \
74541 OTOOL64 \
74542 shrext_cmds \
74543 export_dynamic_flag_spec \
74544 whole_archive_flag_spec \
74545 compiler_needs_object \
74546 with_gnu_ld \
74547 allow_undefined_flag \
74548 no_undefined_flag \
74549 hardcode_libdir_flag_spec \
74550 hardcode_libdir_flag_spec_ld \
74551 hardcode_libdir_separator \
74552 fix_srcfile_path \
74553 exclude_expsyms \
74554 include_expsyms \
74555 file_list_spec \
74556 variables_saved_for_relink \
74557 libname_spec \
74558 library_names_spec \
74559 soname_spec \
74560 install_override_mode \
74561 finish_eval \
74562 old_striplib \
74563 striplib \
74564 compiler_lib_search_dirs \
74565 predep_objects \
74566 postdep_objects \
74567 predeps \
74568 postdeps \
74569 compiler_lib_search_path \
74570 LD_CXX \
74571 reload_flag_CXX \
74572 compiler_CXX \
74573 lt_prog_compiler_no_builtin_flag_CXX \
74574 lt_prog_compiler_wl_CXX \
74575 lt_prog_compiler_pic_CXX \
74576 lt_prog_compiler_static_CXX \
74577 lt_cv_prog_compiler_c_o_CXX \
74578 export_dynamic_flag_spec_CXX \
74579 whole_archive_flag_spec_CXX \
74580 compiler_needs_object_CXX \
74581 with_gnu_ld_CXX \
74582 allow_undefined_flag_CXX \
74583 no_undefined_flag_CXX \
74584 hardcode_libdir_flag_spec_CXX \
74585 hardcode_libdir_flag_spec_ld_CXX \
74586 hardcode_libdir_separator_CXX \
74587 fix_srcfile_path_CXX \
74588 exclude_expsyms_CXX \
74589 include_expsyms_CXX \
74590 file_list_spec_CXX \
74591 compiler_lib_search_dirs_CXX \
74592 predep_objects_CXX \
74593 postdep_objects_CXX \
74594 predeps_CXX \
74595 postdeps_CXX \
74596 compiler_lib_search_path_CXX; do
74597 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74598 *[\\\\\\\`\\"\\\$]*)
74599 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
74602 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74604 esac
74605 done
74607 # Double-quote double-evaled strings.
74608 for var in reload_cmds \
74609 old_postinstall_cmds \
74610 old_postuninstall_cmds \
74611 old_archive_cmds \
74612 extract_expsyms_cmds \
74613 old_archive_from_new_cmds \
74614 old_archive_from_expsyms_cmds \
74615 archive_cmds \
74616 archive_expsym_cmds \
74617 module_cmds \
74618 module_expsym_cmds \
74619 export_symbols_cmds \
74620 prelink_cmds \
74621 postinstall_cmds \
74622 postuninstall_cmds \
74623 finish_cmds \
74624 sys_lib_search_path_spec \
74625 sys_lib_dlsearch_path_spec \
74626 reload_cmds_CXX \
74627 old_archive_cmds_CXX \
74628 old_archive_from_new_cmds_CXX \
74629 old_archive_from_expsyms_cmds_CXX \
74630 archive_cmds_CXX \
74631 archive_expsym_cmds_CXX \
74632 module_cmds_CXX \
74633 module_expsym_cmds_CXX \
74634 export_symbols_cmds_CXX \
74635 prelink_cmds_CXX; do
74636 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
74637 *[\\\\\\\`\\"\\\$]*)
74638 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
74641 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
74643 esac
74644 done
74646 ac_aux_dir='$ac_aux_dir'
74647 xsi_shell='$xsi_shell'
74648 lt_shell_append='$lt_shell_append'
74650 # See if we are running on zsh, and set the options which allow our
74651 # commands through without removal of \ escapes INIT.
74652 if test -n "\${ZSH_VERSION+set}" ; then
74653 setopt NO_GLOB_SUBST
74657 PACKAGE='$PACKAGE'
74658 VERSION='$VERSION'
74659 TIMESTAMP='$TIMESTAMP'
74660 RM='$RM'
74661 ofile='$ofile'
74668 _ACEOF
74670 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74672 # Handling of arguments.
74673 for ac_config_target in $ac_config_targets
74675 case $ac_config_target in
74676 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
74677 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
74678 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
74679 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
74680 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
74681 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
74682 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
74683 "src/libbacktrace/backtrace-supported.h") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/backtrace-supported.h" ;;
74684 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
74685 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
74686 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
74687 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
74688 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
74689 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
74690 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
74691 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
74692 "src/libbacktrace/Makefile") CONFIG_FILES="$CONFIG_FILES src/libbacktrace/Makefile" ;;
74693 "src/experimental/Makefile") CONFIG_FILES="$CONFIG_FILES src/experimental/Makefile" ;;
74694 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
74695 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
74696 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
74697 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
74698 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
74700 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
74701 esac
74702 done
74705 # If the user did not use the arguments to specify the items to instantiate,
74706 # then the envvar interface is used. Set only those that are not.
74707 # We use the long form for the default assignment because of an extremely
74708 # bizarre bug on SunOS 4.1.3.
74709 if $ac_need_defaults; then
74710 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
74711 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
74712 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
74715 # Have a temporary directory for convenience. Make it in the build tree
74716 # simply because there is no reason against having it here, and in addition,
74717 # creating and moving files from /tmp can sometimes cause problems.
74718 # Hook for its removal unless debugging.
74719 # Note that there is a small window in which the directory will not be cleaned:
74720 # after its creation but before its name has been assigned to `$tmp'.
74721 $debug ||
74723 tmp= ac_tmp=
74724 trap 'exit_status=$?
74725 : "${ac_tmp:=$tmp}"
74726 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
74728 trap 'as_fn_exit 1' 1 2 13 15
74730 # Create a (secure) tmp directory for tmp files.
74733 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
74734 test -d "$tmp"
74735 } ||
74737 tmp=./conf$$-$RANDOM
74738 (umask 077 && mkdir "$tmp")
74739 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
74740 ac_tmp=$tmp
74742 # Set up the scripts for CONFIG_FILES section.
74743 # No need to generate them if there are no CONFIG_FILES.
74744 # This happens for instance with `./config.status config.h'.
74745 if test -n "$CONFIG_FILES"; then
74748 ac_cr=`echo X | tr X '\015'`
74749 # On cygwin, bash can eat \r inside `` if the user requested igncr.
74750 # But we know of no other shell where ac_cr would be empty at this
74751 # point, so we can use a bashism as a fallback.
74752 if test "x$ac_cr" = x; then
74753 eval ac_cr=\$\'\\r\'
74755 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
74756 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
74757 ac_cs_awk_cr='\\r'
74758 else
74759 ac_cs_awk_cr=$ac_cr
74762 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
74763 _ACEOF
74767 echo "cat >conf$$subs.awk <<_ACEOF" &&
74768 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
74769 echo "_ACEOF"
74770 } >conf$$subs.sh ||
74771 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74772 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
74773 ac_delim='%!_!# '
74774 for ac_last_try in false false false false false :; do
74775 . ./conf$$subs.sh ||
74776 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74778 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
74779 if test $ac_delim_n = $ac_delim_num; then
74780 break
74781 elif $ac_last_try; then
74782 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
74783 else
74784 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74786 done
74787 rm -f conf$$subs.sh
74789 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74790 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
74791 _ACEOF
74792 sed -n '
74794 s/^/S["/; s/!.*/"]=/
74797 s/^[^!]*!//
74798 :repl
74799 t repl
74800 s/'"$ac_delim"'$//
74801 t delim
74804 s/\(.\{148\}\)..*/\1/
74805 t more1
74806 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
74809 b repl
74810 :more1
74811 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74814 s/.\{148\}//
74815 t nl
74816 :delim
74818 s/\(.\{148\}\)..*/\1/
74819 t more2
74820 s/["\\]/\\&/g; s/^/"/; s/$/"/
74823 :more2
74824 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
74827 s/.\{148\}//
74828 t delim
74829 ' <conf$$subs.awk | sed '
74830 /^[^""]/{
74832 s/\n//
74834 ' >>$CONFIG_STATUS || ac_write_fail=1
74835 rm -f conf$$subs.awk
74836 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74837 _ACAWK
74838 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
74839 for (key in S) S_is_set[key] = 1
74840 FS = "\a"
74844 line = $ 0
74845 nfields = split(line, field, "@")
74846 substed = 0
74847 len = length(field[1])
74848 for (i = 2; i < nfields; i++) {
74849 key = field[i]
74850 keylen = length(key)
74851 if (S_is_set[key]) {
74852 value = S[key]
74853 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
74854 len += length(value) + length(field[++i])
74855 substed = 1
74856 } else
74857 len += 1 + keylen
74860 print line
74863 _ACAWK
74864 _ACEOF
74865 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74866 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
74867 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
74868 else
74870 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
74871 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
74872 _ACEOF
74874 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
74875 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
74876 # trailing colons and then remove the whole line if VPATH becomes empty
74877 # (actually we leave an empty line to preserve line numbers).
74878 if test "x$srcdir" = x.; then
74879 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
74881 s///
74882 s/^/:/
74883 s/[ ]*$/:/
74884 s/:\$(srcdir):/:/g
74885 s/:\${srcdir}:/:/g
74886 s/:@srcdir@:/:/g
74887 s/^:*//
74888 s/:*$//
74890 s/\(=[ ]*\).*/\1/
74892 s/\n//
74893 s/^[^=]*=[ ]*$//
74897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
74898 fi # test -n "$CONFIG_FILES"
74900 # Set up the scripts for CONFIG_HEADERS section.
74901 # No need to generate them if there are no CONFIG_HEADERS.
74902 # This happens for instance with `./config.status Makefile'.
74903 if test -n "$CONFIG_HEADERS"; then
74904 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
74905 BEGIN {
74906 _ACEOF
74908 # Transform confdefs.h into an awk script `defines.awk', embedded as
74909 # here-document in config.status, that substitutes the proper values into
74910 # config.h.in to produce config.h.
74912 # Create a delimiter string that does not exist in confdefs.h, to ease
74913 # handling of long lines.
74914 ac_delim='%!_!# '
74915 for ac_last_try in false false :; do
74916 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
74917 if test -z "$ac_tt"; then
74918 break
74919 elif $ac_last_try; then
74920 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
74921 else
74922 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
74924 done
74926 # For the awk script, D is an array of macro values keyed by name,
74927 # likewise P contains macro parameters if any. Preserve backslash
74928 # newline sequences.
74930 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
74931 sed -n '
74932 s/.\{148\}/&'"$ac_delim"'/g
74933 t rset
74934 :rset
74935 s/^[ ]*#[ ]*define[ ][ ]*/ /
74936 t def
74938 :def
74939 s/\\$//
74940 t bsnl
74941 s/["\\]/\\&/g
74942 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74943 D["\1"]=" \3"/p
74944 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
74946 :bsnl
74947 s/["\\]/\\&/g
74948 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
74949 D["\1"]=" \3\\\\\\n"\\/p
74950 t cont
74951 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
74952 t cont
74954 :cont
74956 s/.\{148\}/&'"$ac_delim"'/g
74957 t clear
74958 :clear
74959 s/\\$//
74960 t bsnlc
74961 s/["\\]/\\&/g; s/^/"/; s/$/"/p
74963 :bsnlc
74964 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
74965 b cont
74966 ' <confdefs.h | sed '
74967 s/'"$ac_delim"'/"\\\
74968 "/g' >>$CONFIG_STATUS || ac_write_fail=1
74970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
74971 for (key in D) D_is_set[key] = 1
74972 FS = "\a"
74974 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
74975 line = \$ 0
74976 split(line, arg, " ")
74977 if (arg[1] == "#") {
74978 defundef = arg[2]
74979 mac1 = arg[3]
74980 } else {
74981 defundef = substr(arg[1], 2)
74982 mac1 = arg[2]
74984 split(mac1, mac2, "(") #)
74985 macro = mac2[1]
74986 prefix = substr(line, 1, index(line, defundef) - 1)
74987 if (D_is_set[macro]) {
74988 # Preserve the white space surrounding the "#".
74989 print prefix "define", macro P[macro] D[macro]
74990 next
74991 } else {
74992 # Replace #undef with comments. This is necessary, for example,
74993 # in the case of _POSIX_SOURCE, which is predefined and required
74994 # on some systems where configure will not decide to define it.
74995 if (defundef == "undef") {
74996 print "/*", prefix defundef, macro, "*/"
74997 next
75001 { print }
75002 _ACAWK
75003 _ACEOF
75004 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75005 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
75006 fi # test -n "$CONFIG_HEADERS"
75009 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
75010 shift
75011 for ac_tag
75013 case $ac_tag in
75014 :[FHLC]) ac_mode=$ac_tag; continue;;
75015 esac
75016 case $ac_mode$ac_tag in
75017 :[FHL]*:*);;
75018 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
75019 :[FH]-) ac_tag=-:-;;
75020 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
75021 esac
75022 ac_save_IFS=$IFS
75023 IFS=:
75024 set x $ac_tag
75025 IFS=$ac_save_IFS
75026 shift
75027 ac_file=$1
75028 shift
75030 case $ac_mode in
75031 :L) ac_source=$1;;
75032 :[FH])
75033 ac_file_inputs=
75034 for ac_f
75036 case $ac_f in
75037 -) ac_f="$ac_tmp/stdin";;
75038 *) # Look for the file first in the build tree, then in the source tree
75039 # (if the path is not absolute). The absolute path cannot be DOS-style,
75040 # because $ac_f cannot contain `:'.
75041 test -f "$ac_f" ||
75042 case $ac_f in
75043 [\\/$]*) false;;
75044 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
75045 esac ||
75046 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
75047 esac
75048 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
75049 as_fn_append ac_file_inputs " '$ac_f'"
75050 done
75052 # Let's still pretend it is `configure' which instantiates (i.e., don't
75053 # use $as_me), people would be surprised to read:
75054 # /* config.h. Generated by config.status. */
75055 configure_input='Generated from '`
75056 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
75057 `' by configure.'
75058 if test x"$ac_file" != x-; then
75059 configure_input="$ac_file. $configure_input"
75060 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
75061 $as_echo "$as_me: creating $ac_file" >&6;}
75063 # Neutralize special characters interpreted by sed in replacement strings.
75064 case $configure_input in #(
75065 *\&* | *\|* | *\\* )
75066 ac_sed_conf_input=`$as_echo "$configure_input" |
75067 sed 's/[\\\\&|]/\\\\&/g'`;; #(
75068 *) ac_sed_conf_input=$configure_input;;
75069 esac
75071 case $ac_tag in
75072 *:-:* | *:-) cat >"$ac_tmp/stdin" \
75073 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
75074 esac
75076 esac
75078 ac_dir=`$as_dirname -- "$ac_file" ||
75079 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75080 X"$ac_file" : 'X\(//\)[^/]' \| \
75081 X"$ac_file" : 'X\(//\)$' \| \
75082 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
75083 $as_echo X"$ac_file" |
75084 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75085 s//\1/
75088 /^X\(\/\/\)[^/].*/{
75089 s//\1/
75092 /^X\(\/\/\)$/{
75093 s//\1/
75096 /^X\(\/\).*/{
75097 s//\1/
75100 s/.*/./; q'`
75101 as_dir="$ac_dir"; as_fn_mkdir_p
75102 ac_builddir=.
75104 case "$ac_dir" in
75105 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
75107 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
75108 # A ".." for each directory in $ac_dir_suffix.
75109 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
75110 case $ac_top_builddir_sub in
75111 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
75112 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
75113 esac ;;
75114 esac
75115 ac_abs_top_builddir=$ac_pwd
75116 ac_abs_builddir=$ac_pwd$ac_dir_suffix
75117 # for backward compatibility:
75118 ac_top_builddir=$ac_top_build_prefix
75120 case $srcdir in
75121 .) # We are building in place.
75122 ac_srcdir=.
75123 ac_top_srcdir=$ac_top_builddir_sub
75124 ac_abs_top_srcdir=$ac_pwd ;;
75125 [\\/]* | ?:[\\/]* ) # Absolute name.
75126 ac_srcdir=$srcdir$ac_dir_suffix;
75127 ac_top_srcdir=$srcdir
75128 ac_abs_top_srcdir=$srcdir ;;
75129 *) # Relative name.
75130 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
75131 ac_top_srcdir=$ac_top_build_prefix$srcdir
75132 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
75133 esac
75134 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
75137 case $ac_mode in
75140 # CONFIG_FILE
75143 case $INSTALL in
75144 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
75145 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
75146 esac
75147 ac_MKDIR_P=$MKDIR_P
75148 case $MKDIR_P in
75149 [\\/$]* | ?:[\\/]* ) ;;
75150 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
75151 esac
75152 _ACEOF
75154 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75155 # If the template does not know about datarootdir, expand it.
75156 # FIXME: This hack should be removed a few years after 2.60.
75157 ac_datarootdir_hack=; ac_datarootdir_seen=
75158 ac_sed_dataroot='
75159 /datarootdir/ {
75163 /@datadir@/p
75164 /@docdir@/p
75165 /@infodir@/p
75166 /@localedir@/p
75167 /@mandir@/p'
75168 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
75169 *datarootdir*) ac_datarootdir_seen=yes;;
75170 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
75171 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
75172 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
75173 _ACEOF
75174 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75175 ac_datarootdir_hack='
75176 s&@datadir@&$datadir&g
75177 s&@docdir@&$docdir&g
75178 s&@infodir@&$infodir&g
75179 s&@localedir@&$localedir&g
75180 s&@mandir@&$mandir&g
75181 s&\\\${datarootdir}&$datarootdir&g' ;;
75182 esac
75183 _ACEOF
75185 # Neutralize VPATH when `$srcdir' = `.'.
75186 # Shell code in configure.ac might set extrasub.
75187 # FIXME: do we really want to maintain this feature?
75188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
75189 ac_sed_extra="$ac_vpsub
75190 $extrasub
75191 _ACEOF
75192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
75194 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
75195 s|@configure_input@|$ac_sed_conf_input|;t t
75196 s&@top_builddir@&$ac_top_builddir_sub&;t t
75197 s&@top_build_prefix@&$ac_top_build_prefix&;t t
75198 s&@srcdir@&$ac_srcdir&;t t
75199 s&@abs_srcdir@&$ac_abs_srcdir&;t t
75200 s&@top_srcdir@&$ac_top_srcdir&;t t
75201 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
75202 s&@builddir@&$ac_builddir&;t t
75203 s&@abs_builddir@&$ac_abs_builddir&;t t
75204 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
75205 s&@INSTALL@&$ac_INSTALL&;t t
75206 s&@MKDIR_P@&$ac_MKDIR_P&;t t
75207 $ac_datarootdir_hack
75209 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
75210 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
75212 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
75213 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
75214 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
75215 "$ac_tmp/out"`; test -z "$ac_out"; } &&
75216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75217 which seems to be undefined. Please make sure it is defined" >&5
75218 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
75219 which seems to be undefined. Please make sure it is defined" >&2;}
75221 rm -f "$ac_tmp/stdin"
75222 case $ac_file in
75223 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
75224 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
75225 esac \
75226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
75230 # CONFIG_HEADER
75232 if test x"$ac_file" != x-; then
75234 $as_echo "/* $configure_input */" \
75235 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
75236 } >"$ac_tmp/config.h" \
75237 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
75238 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
75239 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
75240 $as_echo "$as_me: $ac_file is unchanged" >&6;}
75241 else
75242 rm -f "$ac_file"
75243 mv "$ac_tmp/config.h" "$ac_file" \
75244 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
75246 else
75247 $as_echo "/* $configure_input */" \
75248 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
75249 || as_fn_error $? "could not create -" "$LINENO" 5
75251 # Compute "$ac_file"'s index in $config_headers.
75252 _am_arg="$ac_file"
75253 _am_stamp_count=1
75254 for _am_header in $config_headers :; do
75255 case $_am_header in
75256 $_am_arg | $_am_arg:* )
75257 break ;;
75259 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
75260 esac
75261 done
75262 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
75263 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
75264 X"$_am_arg" : 'X\(//\)[^/]' \| \
75265 X"$_am_arg" : 'X\(//\)$' \| \
75266 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
75267 $as_echo X"$_am_arg" |
75268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
75269 s//\1/
75272 /^X\(\/\/\)[^/].*/{
75273 s//\1/
75276 /^X\(\/\/\)$/{
75277 s//\1/
75280 /^X\(\/\).*/{
75281 s//\1/
75284 s/.*/./; q'`/stamp-h$_am_stamp_count
75287 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
75288 $as_echo "$as_me: executing $ac_file commands" >&6;}
75290 esac
75293 case $ac_file$ac_mode in
75294 "default-1":C)
75295 # Only add multilib support code if we just rebuilt the top-level
75296 # Makefile.
75297 case " $CONFIG_FILES " in
75298 *" Makefile "*)
75299 ac_file=Makefile . ${multi_basedir}/config-ml.in
75301 esac ;;
75302 "libtool":C)
75304 # See if we are running on zsh, and set the options which allow our
75305 # commands through without removal of \ escapes.
75306 if test -n "${ZSH_VERSION+set}" ; then
75307 setopt NO_GLOB_SUBST
75310 cfgfile="${ofile}T"
75311 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
75312 $RM "$cfgfile"
75314 cat <<_LT_EOF >> "$cfgfile"
75315 #! $SHELL
75317 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
75318 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
75319 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
75320 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
75322 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
75323 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
75324 # Written by Gordon Matzigkeit, 1996
75326 # This file is part of GNU Libtool.
75328 # GNU Libtool is free software; you can redistribute it and/or
75329 # modify it under the terms of the GNU General Public License as
75330 # published by the Free Software Foundation; either version 2 of
75331 # the License, or (at your option) any later version.
75333 # As a special exception to the GNU General Public License,
75334 # if you distribute this file as part of a program or library that
75335 # is built using GNU Libtool, you may include this file under the
75336 # same distribution terms that you use for the rest of that program.
75338 # GNU Libtool is distributed in the hope that it will be useful,
75339 # but WITHOUT ANY WARRANTY; without even the implied warranty of
75340 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
75341 # GNU General Public License for more details.
75343 # You should have received a copy of the GNU General Public License
75344 # along with GNU Libtool; see the file COPYING. If not, a copy
75345 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
75346 # obtained by writing to the Free Software Foundation, Inc.,
75347 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
75350 # The names of the tagged configurations supported by this script.
75351 available_tags="CXX "
75353 # ### BEGIN LIBTOOL CONFIG
75355 # Which release of libtool.m4 was used?
75356 macro_version=$macro_version
75357 macro_revision=$macro_revision
75359 # Whether or not to build shared libraries.
75360 build_libtool_libs=$enable_shared
75362 # Whether or not to build static libraries.
75363 build_old_libs=$enable_static
75365 # What type of objects to build.
75366 pic_mode=$pic_mode
75368 # Whether or not to optimize for fast installation.
75369 fast_install=$enable_fast_install
75371 # Shell to use when invoking shell scripts.
75372 SHELL=$lt_SHELL
75374 # An echo program that protects backslashes.
75375 ECHO=$lt_ECHO
75377 # The host system.
75378 host_alias=$host_alias
75379 host=$host
75380 host_os=$host_os
75382 # The build system.
75383 build_alias=$build_alias
75384 build=$build
75385 build_os=$build_os
75387 # A sed program that does not truncate output.
75388 SED=$lt_SED
75390 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
75391 Xsed="\$SED -e 1s/^X//"
75393 # A grep program that handles long lines.
75394 GREP=$lt_GREP
75396 # An ERE matcher.
75397 EGREP=$lt_EGREP
75399 # A literal string matcher.
75400 FGREP=$lt_FGREP
75402 # A BSD- or MS-compatible name lister.
75403 NM=$lt_NM
75405 # Whether we need soft or hard links.
75406 LN_S=$lt_LN_S
75408 # What is the maximum length of a command?
75409 max_cmd_len=$max_cmd_len
75411 # Object file suffix (normally "o").
75412 objext=$ac_objext
75414 # Executable file suffix (normally "").
75415 exeext=$exeext
75417 # whether the shell understands "unset".
75418 lt_unset=$lt_unset
75420 # turn spaces into newlines.
75421 SP2NL=$lt_lt_SP2NL
75423 # turn newlines into spaces.
75424 NL2SP=$lt_lt_NL2SP
75426 # An object symbol dumper.
75427 OBJDUMP=$lt_OBJDUMP
75429 # Method to check whether dependent libraries are shared objects.
75430 deplibs_check_method=$lt_deplibs_check_method
75432 # Command to use when deplibs_check_method == "file_magic".
75433 file_magic_cmd=$lt_file_magic_cmd
75435 # The archiver.
75436 AR=$lt_AR
75437 AR_FLAGS=$lt_AR_FLAGS
75439 # A symbol stripping program.
75440 STRIP=$lt_STRIP
75442 # Commands used to install an old-style archive.
75443 RANLIB=$lt_RANLIB
75444 old_postinstall_cmds=$lt_old_postinstall_cmds
75445 old_postuninstall_cmds=$lt_old_postuninstall_cmds
75447 # Whether to use a lock for old archive extraction.
75448 lock_old_archive_extraction=$lock_old_archive_extraction
75450 # A C compiler.
75451 LTCC=$lt_CC
75453 # LTCC compiler flags.
75454 LTCFLAGS=$lt_CFLAGS
75456 # Take the output of nm and produce a listing of raw symbols and C names.
75457 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
75459 # Transform the output of nm in a proper C declaration.
75460 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
75462 # Transform the output of nm in a C name address pair.
75463 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
75465 # Transform the output of nm in a C name address pair when lib prefix is needed.
75466 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
75468 # The name of the directory that contains temporary libtool files.
75469 objdir=$objdir
75471 # Used to examine libraries when file_magic_cmd begins with "file".
75472 MAGIC_CMD=$MAGIC_CMD
75474 # Must we lock files when doing compilation?
75475 need_locks=$lt_need_locks
75477 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
75478 DSYMUTIL=$lt_DSYMUTIL
75480 # Tool to change global to local symbols on Mac OS X.
75481 NMEDIT=$lt_NMEDIT
75483 # Tool to manipulate fat objects and archives on Mac OS X.
75484 LIPO=$lt_LIPO
75486 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
75487 OTOOL=$lt_OTOOL
75489 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
75490 OTOOL64=$lt_OTOOL64
75492 # Old archive suffix (normally "a").
75493 libext=$libext
75495 # Shared library suffix (normally ".so").
75496 shrext_cmds=$lt_shrext_cmds
75498 # The commands to extract the exported symbol list from a shared archive.
75499 extract_expsyms_cmds=$lt_extract_expsyms_cmds
75501 # Variables whose values should be saved in libtool wrapper scripts and
75502 # restored at link time.
75503 variables_saved_for_relink=$lt_variables_saved_for_relink
75505 # Do we need the "lib" prefix for modules?
75506 need_lib_prefix=$need_lib_prefix
75508 # Do we need a version for libraries?
75509 need_version=$need_version
75511 # Library versioning type.
75512 version_type=$version_type
75514 # Shared library runtime path variable.
75515 runpath_var=$runpath_var
75517 # Shared library path variable.
75518 shlibpath_var=$shlibpath_var
75520 # Is shlibpath searched before the hard-coded library search path?
75521 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
75523 # Format of library name prefix.
75524 libname_spec=$lt_libname_spec
75526 # List of archive names. First name is the real one, the rest are links.
75527 # The last name is the one that the linker finds with -lNAME
75528 library_names_spec=$lt_library_names_spec
75530 # The coded name of the library, if different from the real name.
75531 soname_spec=$lt_soname_spec
75533 # Permission mode override for installation of shared libraries.
75534 install_override_mode=$lt_install_override_mode
75536 # Command to use after installation of a shared archive.
75537 postinstall_cmds=$lt_postinstall_cmds
75539 # Command to use after uninstallation of a shared archive.
75540 postuninstall_cmds=$lt_postuninstall_cmds
75542 # Commands used to finish a libtool library installation in a directory.
75543 finish_cmds=$lt_finish_cmds
75545 # As "finish_cmds", except a single script fragment to be evaled but
75546 # not shown.
75547 finish_eval=$lt_finish_eval
75549 # Whether we should hardcode library paths into libraries.
75550 hardcode_into_libs=$hardcode_into_libs
75552 # Compile-time system search path for libraries.
75553 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
75555 # Run-time system search path for libraries.
75556 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
75558 # Whether dlopen is supported.
75559 dlopen_support=$enable_dlopen
75561 # Whether dlopen of programs is supported.
75562 dlopen_self=$enable_dlopen_self
75564 # Whether dlopen of statically linked programs is supported.
75565 dlopen_self_static=$enable_dlopen_self_static
75567 # Commands to strip libraries.
75568 old_striplib=$lt_old_striplib
75569 striplib=$lt_striplib
75572 # The linker used to build libraries.
75573 LD=$lt_LD
75575 # How to create reloadable object files.
75576 reload_flag=$lt_reload_flag
75577 reload_cmds=$lt_reload_cmds
75579 # Commands used to build an old-style archive.
75580 old_archive_cmds=$lt_old_archive_cmds
75582 # A language specific compiler.
75583 CC=$lt_compiler
75585 # Is the compiler the GNU compiler?
75586 with_gcc=$GCC
75588 # Compiler flag to turn off builtin functions.
75589 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
75591 # How to pass a linker flag through the compiler.
75592 wl=$lt_lt_prog_compiler_wl
75594 # Additional compiler flags for building library objects.
75595 pic_flag=$lt_lt_prog_compiler_pic
75597 # Compiler flag to prevent dynamic linking.
75598 link_static_flag=$lt_lt_prog_compiler_static
75600 # Does compiler simultaneously support -c and -o options?
75601 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
75603 # Whether or not to add -lc for building shared libraries.
75604 build_libtool_need_lc=$archive_cmds_need_lc
75606 # Whether or not to disallow shared libs when runtime libs are static.
75607 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
75609 # Compiler flag to allow reflexive dlopens.
75610 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
75612 # Compiler flag to generate shared objects directly from archives.
75613 whole_archive_flag_spec=$lt_whole_archive_flag_spec
75615 # Whether the compiler copes with passing no objects directly.
75616 compiler_needs_object=$lt_compiler_needs_object
75618 # Create an old-style archive from a shared archive.
75619 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
75621 # Create a temporary old-style archive to link instead of a shared archive.
75622 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
75624 # Commands used to build a shared archive.
75625 archive_cmds=$lt_archive_cmds
75626 archive_expsym_cmds=$lt_archive_expsym_cmds
75628 # Commands used to build a loadable module if different from building
75629 # a shared archive.
75630 module_cmds=$lt_module_cmds
75631 module_expsym_cmds=$lt_module_expsym_cmds
75633 # Whether we are building with GNU ld or not.
75634 with_gnu_ld=$lt_with_gnu_ld
75636 # Flag that allows shared libraries with undefined symbols to be built.
75637 allow_undefined_flag=$lt_allow_undefined_flag
75639 # Flag that enforces no undefined symbols.
75640 no_undefined_flag=$lt_no_undefined_flag
75642 # Flag to hardcode \$libdir into a binary during linking.
75643 # This must work even if \$libdir does not exist
75644 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
75646 # If ld is used when linking, flag to hardcode \$libdir into a binary
75647 # during linking. This must work even if \$libdir does not exist.
75648 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
75650 # Whether we need a single "-rpath" flag with a separated argument.
75651 hardcode_libdir_separator=$lt_hardcode_libdir_separator
75653 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75654 # DIR into the resulting binary.
75655 hardcode_direct=$hardcode_direct
75657 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
75658 # DIR into the resulting binary and the resulting library dependency is
75659 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
75660 # library is relocated.
75661 hardcode_direct_absolute=$hardcode_direct_absolute
75663 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
75664 # into the resulting binary.
75665 hardcode_minus_L=$hardcode_minus_L
75667 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
75668 # into the resulting binary.
75669 hardcode_shlibpath_var=$hardcode_shlibpath_var
75671 # Set to "yes" if building a shared library automatically hardcodes DIR
75672 # into the library and all subsequent libraries and executables linked
75673 # against it.
75674 hardcode_automatic=$hardcode_automatic
75676 # Set to yes if linker adds runtime paths of dependent libraries
75677 # to runtime path list.
75678 inherit_rpath=$inherit_rpath
75680 # Whether libtool must link a program against all its dependency libraries.
75681 link_all_deplibs=$link_all_deplibs
75683 # Fix the shell variable \$srcfile for the compiler.
75684 fix_srcfile_path=$lt_fix_srcfile_path
75686 # Set to "yes" if exported symbols are required.
75687 always_export_symbols=$always_export_symbols
75689 # The commands to list exported symbols.
75690 export_symbols_cmds=$lt_export_symbols_cmds
75692 # Symbols that should not be listed in the preloaded symbols.
75693 exclude_expsyms=$lt_exclude_expsyms
75695 # Symbols that must always be exported.
75696 include_expsyms=$lt_include_expsyms
75698 # Commands necessary for linking programs (against libraries) with templates.
75699 prelink_cmds=$lt_prelink_cmds
75701 # Specify filename containing input files.
75702 file_list_spec=$lt_file_list_spec
75704 # How to hardcode a shared library path into an executable.
75705 hardcode_action=$hardcode_action
75707 # The directories searched by this compiler when creating a shared library.
75708 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
75710 # Dependencies to place before and after the objects being linked to
75711 # create a shared library.
75712 predep_objects=$lt_predep_objects
75713 postdep_objects=$lt_postdep_objects
75714 predeps=$lt_predeps
75715 postdeps=$lt_postdeps
75717 # The library search path used internally by the compiler when linking
75718 # a shared library.
75719 compiler_lib_search_path=$lt_compiler_lib_search_path
75721 # ### END LIBTOOL CONFIG
75723 _LT_EOF
75725 case $host_os in
75726 aix3*)
75727 cat <<\_LT_EOF >> "$cfgfile"
75728 # AIX sometimes has problems with the GCC collect2 program. For some
75729 # reason, if we set the COLLECT_NAMES environment variable, the problems
75730 # vanish in a puff of smoke.
75731 if test "X${COLLECT_NAMES+set}" != Xset; then
75732 COLLECT_NAMES=
75733 export COLLECT_NAMES
75735 _LT_EOF
75737 esac
75740 ltmain="$ac_aux_dir/ltmain.sh"
75743 # We use sed instead of cat because bash on DJGPP gets confused if
75744 # if finds mixed CR/LF and LF-only lines. Since sed operates in
75745 # text mode, it properly converts lines to CR/LF. This bash problem
75746 # is reportedly fixed, but why not run on old versions too?
75747 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
75748 || (rm -f "$cfgfile"; exit 1)
75750 case $xsi_shell in
75751 yes)
75752 cat << \_LT_EOF >> "$cfgfile"
75754 # func_dirname file append nondir_replacement
75755 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75756 # otherwise set result to NONDIR_REPLACEMENT.
75757 func_dirname ()
75759 case ${1} in
75760 */*) func_dirname_result="${1%/*}${2}" ;;
75761 * ) func_dirname_result="${3}" ;;
75762 esac
75765 # func_basename file
75766 func_basename ()
75768 func_basename_result="${1##*/}"
75771 # func_dirname_and_basename file append nondir_replacement
75772 # perform func_basename and func_dirname in a single function
75773 # call:
75774 # dirname: Compute the dirname of FILE. If nonempty,
75775 # add APPEND to the result, otherwise set result
75776 # to NONDIR_REPLACEMENT.
75777 # value returned in "$func_dirname_result"
75778 # basename: Compute filename of FILE.
75779 # value retuned in "$func_basename_result"
75780 # Implementation must be kept synchronized with func_dirname
75781 # and func_basename. For efficiency, we do not delegate to
75782 # those functions but instead duplicate the functionality here.
75783 func_dirname_and_basename ()
75785 case ${1} in
75786 */*) func_dirname_result="${1%/*}${2}" ;;
75787 * ) func_dirname_result="${3}" ;;
75788 esac
75789 func_basename_result="${1##*/}"
75792 # func_stripname prefix suffix name
75793 # strip PREFIX and SUFFIX off of NAME.
75794 # PREFIX and SUFFIX must not contain globbing or regex special
75795 # characters, hashes, percent signs, but SUFFIX may contain a leading
75796 # dot (in which case that matches only a dot).
75797 func_stripname ()
75799 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
75800 # positional parameters, so assign one to ordinary parameter first.
75801 func_stripname_result=${3}
75802 func_stripname_result=${func_stripname_result#"${1}"}
75803 func_stripname_result=${func_stripname_result%"${2}"}
75806 # func_opt_split
75807 func_opt_split ()
75809 func_opt_split_opt=${1%%=*}
75810 func_opt_split_arg=${1#*=}
75813 # func_lo2o object
75814 func_lo2o ()
75816 case ${1} in
75817 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
75818 *) func_lo2o_result=${1} ;;
75819 esac
75822 # func_xform libobj-or-source
75823 func_xform ()
75825 func_xform_result=${1%.*}.lo
75828 # func_arith arithmetic-term...
75829 func_arith ()
75831 func_arith_result=$(( $* ))
75834 # func_len string
75835 # STRING may not start with a hyphen.
75836 func_len ()
75838 func_len_result=${#1}
75841 _LT_EOF
75843 *) # Bourne compatible functions.
75844 cat << \_LT_EOF >> "$cfgfile"
75846 # func_dirname file append nondir_replacement
75847 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
75848 # otherwise set result to NONDIR_REPLACEMENT.
75849 func_dirname ()
75851 # Extract subdirectory from the argument.
75852 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
75853 if test "X$func_dirname_result" = "X${1}"; then
75854 func_dirname_result="${3}"
75855 else
75856 func_dirname_result="$func_dirname_result${2}"
75860 # func_basename file
75861 func_basename ()
75863 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
75867 # func_stripname prefix suffix name
75868 # strip PREFIX and SUFFIX off of NAME.
75869 # PREFIX and SUFFIX must not contain globbing or regex special
75870 # characters, hashes, percent signs, but SUFFIX may contain a leading
75871 # dot (in which case that matches only a dot).
75872 # func_strip_suffix prefix name
75873 func_stripname ()
75875 case ${2} in
75876 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
75877 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
75878 esac
75881 # sed scripts:
75882 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
75883 my_sed_long_arg='1s/^-[^=]*=//'
75885 # func_opt_split
75886 func_opt_split ()
75888 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
75889 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
75892 # func_lo2o object
75893 func_lo2o ()
75895 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
75898 # func_xform libobj-or-source
75899 func_xform ()
75901 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
75904 # func_arith arithmetic-term...
75905 func_arith ()
75907 func_arith_result=`expr "$@"`
75910 # func_len string
75911 # STRING may not start with a hyphen.
75912 func_len ()
75914 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
75917 _LT_EOF
75918 esac
75920 case $lt_shell_append in
75921 yes)
75922 cat << \_LT_EOF >> "$cfgfile"
75924 # func_append var value
75925 # Append VALUE to the end of shell variable VAR.
75926 func_append ()
75928 eval "$1+=\$2"
75930 _LT_EOF
75933 cat << \_LT_EOF >> "$cfgfile"
75935 # func_append var value
75936 # Append VALUE to the end of shell variable VAR.
75937 func_append ()
75939 eval "$1=\$$1\$2"
75942 _LT_EOF
75944 esac
75947 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
75948 || (rm -f "$cfgfile"; exit 1)
75950 mv -f "$cfgfile" "$ofile" ||
75951 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
75952 chmod +x "$ofile"
75955 cat <<_LT_EOF >> "$ofile"
75957 # ### BEGIN LIBTOOL TAG CONFIG: CXX
75959 # The linker used to build libraries.
75960 LD=$lt_LD_CXX
75962 # How to create reloadable object files.
75963 reload_flag=$lt_reload_flag_CXX
75964 reload_cmds=$lt_reload_cmds_CXX
75966 # Commands used to build an old-style archive.
75967 old_archive_cmds=$lt_old_archive_cmds_CXX
75969 # A language specific compiler.
75970 CC=$lt_compiler_CXX
75972 # Is the compiler the GNU compiler?
75973 with_gcc=$GCC_CXX
75975 # Compiler flag to turn off builtin functions.
75976 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
75978 # How to pass a linker flag through the compiler.
75979 wl=$lt_lt_prog_compiler_wl_CXX
75981 # Additional compiler flags for building library objects.
75982 pic_flag=$lt_lt_prog_compiler_pic_CXX
75984 # Compiler flag to prevent dynamic linking.
75985 link_static_flag=$lt_lt_prog_compiler_static_CXX
75987 # Does compiler simultaneously support -c and -o options?
75988 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
75990 # Whether or not to add -lc for building shared libraries.
75991 build_libtool_need_lc=$archive_cmds_need_lc_CXX
75993 # Whether or not to disallow shared libs when runtime libs are static.
75994 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
75996 # Compiler flag to allow reflexive dlopens.
75997 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
75999 # Compiler flag to generate shared objects directly from archives.
76000 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
76002 # Whether the compiler copes with passing no objects directly.
76003 compiler_needs_object=$lt_compiler_needs_object_CXX
76005 # Create an old-style archive from a shared archive.
76006 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
76008 # Create a temporary old-style archive to link instead of a shared archive.
76009 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
76011 # Commands used to build a shared archive.
76012 archive_cmds=$lt_archive_cmds_CXX
76013 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
76015 # Commands used to build a loadable module if different from building
76016 # a shared archive.
76017 module_cmds=$lt_module_cmds_CXX
76018 module_expsym_cmds=$lt_module_expsym_cmds_CXX
76020 # Whether we are building with GNU ld or not.
76021 with_gnu_ld=$lt_with_gnu_ld_CXX
76023 # Flag that allows shared libraries with undefined symbols to be built.
76024 allow_undefined_flag=$lt_allow_undefined_flag_CXX
76026 # Flag that enforces no undefined symbols.
76027 no_undefined_flag=$lt_no_undefined_flag_CXX
76029 # Flag to hardcode \$libdir into a binary during linking.
76030 # This must work even if \$libdir does not exist
76031 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
76033 # If ld is used when linking, flag to hardcode \$libdir into a binary
76034 # during linking. This must work even if \$libdir does not exist.
76035 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
76037 # Whether we need a single "-rpath" flag with a separated argument.
76038 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
76040 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
76041 # DIR into the resulting binary.
76042 hardcode_direct=$hardcode_direct_CXX
76044 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
76045 # DIR into the resulting binary and the resulting library dependency is
76046 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
76047 # library is relocated.
76048 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
76050 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
76051 # into the resulting binary.
76052 hardcode_minus_L=$hardcode_minus_L_CXX
76054 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
76055 # into the resulting binary.
76056 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
76058 # Set to "yes" if building a shared library automatically hardcodes DIR
76059 # into the library and all subsequent libraries and executables linked
76060 # against it.
76061 hardcode_automatic=$hardcode_automatic_CXX
76063 # Set to yes if linker adds runtime paths of dependent libraries
76064 # to runtime path list.
76065 inherit_rpath=$inherit_rpath_CXX
76067 # Whether libtool must link a program against all its dependency libraries.
76068 link_all_deplibs=$link_all_deplibs_CXX
76070 # Fix the shell variable \$srcfile for the compiler.
76071 fix_srcfile_path=$lt_fix_srcfile_path_CXX
76073 # Set to "yes" if exported symbols are required.
76074 always_export_symbols=$always_export_symbols_CXX
76076 # The commands to list exported symbols.
76077 export_symbols_cmds=$lt_export_symbols_cmds_CXX
76079 # Symbols that should not be listed in the preloaded symbols.
76080 exclude_expsyms=$lt_exclude_expsyms_CXX
76082 # Symbols that must always be exported.
76083 include_expsyms=$lt_include_expsyms_CXX
76085 # Commands necessary for linking programs (against libraries) with templates.
76086 prelink_cmds=$lt_prelink_cmds_CXX
76088 # Specify filename containing input files.
76089 file_list_spec=$lt_file_list_spec_CXX
76091 # How to hardcode a shared library path into an executable.
76092 hardcode_action=$hardcode_action_CXX
76094 # The directories searched by this compiler when creating a shared library.
76095 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
76097 # Dependencies to place before and after the objects being linked to
76098 # create a shared library.
76099 predep_objects=$lt_predep_objects_CXX
76100 postdep_objects=$lt_postdep_objects_CXX
76101 predeps=$lt_predeps_CXX
76102 postdeps=$lt_postdeps_CXX
76104 # The library search path used internally by the compiler when linking
76105 # a shared library.
76106 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
76108 # ### END LIBTOOL TAG CONFIG: CXX
76109 _LT_EOF
76112 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
76113 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
76114 "include/Makefile":F) cat > vpsed$$ << \_EOF
76115 s!`test -f '$<' || echo '$(srcdir)/'`!!
76116 _EOF
76117 sed -f vpsed$$ $ac_file > tmp$$
76118 mv tmp$$ $ac_file
76119 rm vpsed$$
76120 echo 'MULTISUBDIR =' >> $ac_file
76121 ml_norecursion=yes
76122 . ${multi_basedir}/config-ml.in
76123 { ml_norecursion=; unset ml_norecursion;}
76125 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
76126 s!`test -f '$<' || echo '$(srcdir)/'`!!
76127 _EOF
76128 sed -f vpsed$$ $ac_file > tmp$$
76129 mv tmp$$ $ac_file
76130 rm vpsed$$
76131 echo 'MULTISUBDIR =' >> $ac_file
76132 ml_norecursion=yes
76133 . ${multi_basedir}/config-ml.in
76134 { ml_norecursion=; unset ml_norecursion;}
76136 "src/Makefile":F) cat > vpsed$$ << \_EOF
76137 s!`test -f '$<' || echo '$(srcdir)/'`!!
76138 _EOF
76139 sed -f vpsed$$ $ac_file > tmp$$
76140 mv tmp$$ $ac_file
76141 rm vpsed$$
76142 echo 'MULTISUBDIR =' >> $ac_file
76143 ml_norecursion=yes
76144 . ${multi_basedir}/config-ml.in
76145 { ml_norecursion=; unset ml_norecursion;}
76147 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
76148 s!`test -f '$<' || echo '$(srcdir)/'`!!
76149 _EOF
76150 sed -f vpsed$$ $ac_file > tmp$$
76151 mv tmp$$ $ac_file
76152 rm vpsed$$
76153 echo 'MULTISUBDIR =' >> $ac_file
76154 ml_norecursion=yes
76155 . ${multi_basedir}/config-ml.in
76156 { ml_norecursion=; unset ml_norecursion;}
76158 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
76159 s!`test -f '$<' || echo '$(srcdir)/'`!!
76160 _EOF
76161 sed -f vpsed$$ $ac_file > tmp$$
76162 mv tmp$$ $ac_file
76163 rm vpsed$$
76164 echo 'MULTISUBDIR =' >> $ac_file
76165 ml_norecursion=yes
76166 . ${multi_basedir}/config-ml.in
76167 { ml_norecursion=; unset ml_norecursion;}
76169 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
76170 s!`test -f '$<' || echo '$(srcdir)/'`!!
76171 _EOF
76172 sed -f vpsed$$ $ac_file > tmp$$
76173 mv tmp$$ $ac_file
76174 rm vpsed$$
76175 echo 'MULTISUBDIR =' >> $ac_file
76176 ml_norecursion=yes
76177 . ${multi_basedir}/config-ml.in
76178 { ml_norecursion=; unset ml_norecursion;}
76180 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
76181 s!`test -f '$<' || echo '$(srcdir)/'`!!
76182 _EOF
76183 sed -f vpsed$$ $ac_file > tmp$$
76184 mv tmp$$ $ac_file
76185 rm vpsed$$
76186 echo 'MULTISUBDIR =' >> $ac_file
76187 ml_norecursion=yes
76188 . ${multi_basedir}/config-ml.in
76189 { ml_norecursion=; unset ml_norecursion;}
76191 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
76192 s!`test -f '$<' || echo '$(srcdir)/'`!!
76193 _EOF
76194 sed -f vpsed$$ $ac_file > tmp$$
76195 mv tmp$$ $ac_file
76196 rm vpsed$$
76197 echo 'MULTISUBDIR =' >> $ac_file
76198 ml_norecursion=yes
76199 . ${multi_basedir}/config-ml.in
76200 { ml_norecursion=; unset ml_norecursion;}
76202 "src/libbacktrace/Makefile":F) cat > vpsed$$ << \_EOF
76203 s!`test -f '$<' || echo '$(srcdir)/'`!!
76204 _EOF
76205 sed -f vpsed$$ $ac_file > tmp$$
76206 mv tmp$$ $ac_file
76207 rm vpsed$$
76208 echo 'MULTISUBDIR =' >> $ac_file
76209 ml_norecursion=yes
76210 . ${multi_basedir}/config-ml.in
76211 { ml_norecursion=; unset ml_norecursion;}
76213 "src/experimental/Makefile":F) cat > vpsed$$ << \_EOF
76214 s!`test -f '$<' || echo '$(srcdir)/'`!!
76215 _EOF
76216 sed -f vpsed$$ $ac_file > tmp$$
76217 mv tmp$$ $ac_file
76218 rm vpsed$$
76219 echo 'MULTISUBDIR =' >> $ac_file
76220 ml_norecursion=yes
76221 . ${multi_basedir}/config-ml.in
76222 { ml_norecursion=; unset ml_norecursion;}
76224 "doc/Makefile":F) cat > vpsed$$ << \_EOF
76225 s!`test -f '$<' || echo '$(srcdir)/'`!!
76226 _EOF
76227 sed -f vpsed$$ $ac_file > tmp$$
76228 mv tmp$$ $ac_file
76229 rm vpsed$$
76230 echo 'MULTISUBDIR =' >> $ac_file
76231 ml_norecursion=yes
76232 . ${multi_basedir}/config-ml.in
76233 { ml_norecursion=; unset ml_norecursion;}
76235 "po/Makefile":F) cat > vpsed$$ << \_EOF
76236 s!`test -f '$<' || echo '$(srcdir)/'`!!
76237 _EOF
76238 sed -f vpsed$$ $ac_file > tmp$$
76239 mv tmp$$ $ac_file
76240 rm vpsed$$
76241 echo 'MULTISUBDIR =' >> $ac_file
76242 ml_norecursion=yes
76243 . ${multi_basedir}/config-ml.in
76244 { ml_norecursion=; unset ml_norecursion;}
76246 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
76247 s!`test -f '$<' || echo '$(srcdir)/'`!!
76248 _EOF
76249 sed -f vpsed$$ $ac_file > tmp$$
76250 mv tmp$$ $ac_file
76251 rm vpsed$$
76252 echo 'MULTISUBDIR =' >> $ac_file
76253 ml_norecursion=yes
76254 . ${multi_basedir}/config-ml.in
76255 { ml_norecursion=; unset ml_norecursion;}
76257 "python/Makefile":F) cat > vpsed$$ << \_EOF
76258 s!`test -f '$<' || echo '$(srcdir)/'`!!
76259 _EOF
76260 sed -f vpsed$$ $ac_file > tmp$$
76261 mv tmp$$ $ac_file
76262 rm vpsed$$
76263 echo 'MULTISUBDIR =' >> $ac_file
76264 ml_norecursion=yes
76265 . ${multi_basedir}/config-ml.in
76266 { ml_norecursion=; unset ml_norecursion;}
76268 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
76270 esac
76271 done # for ac_tag
76274 as_fn_exit 0
76275 _ACEOF
76276 ac_clean_files=$ac_clean_files_save
76278 test $ac_write_fail = 0 ||
76279 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
76282 # configure is writing to config.log, and then calls config.status.
76283 # config.status does its own redirection, appending to config.log.
76284 # Unfortunately, on DOS this fails, as config.log is still kept open
76285 # by configure, so config.status won't be able to write to it; its
76286 # output is simply discarded. So we exec the FD to /dev/null,
76287 # effectively closing config.log, so it can be properly (re)opened and
76288 # appended to by config.status. When coming back to configure, we
76289 # need to make the FD available again.
76290 if test "$no_create" != yes; then
76291 ac_cs_success=:
76292 ac_config_status_args=
76293 test "$silent" = yes &&
76294 ac_config_status_args="$ac_config_status_args --quiet"
76295 exec 5>/dev/null
76296 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
76297 exec 5>>config.log
76298 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
76299 # would make configure fail if this is the last instruction.
76300 $ac_cs_success || as_fn_exit 1
76302 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
76303 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
76304 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}