* testsuite/30_threads/async/54297.cc: Add dg-require-nanosleep.
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
4 #
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
8 #
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 ## -------------------- ##
14
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 *) :
29 ;;
30 esac
31 fi
32
33
34 as_nl='
35 '
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"
64 '
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
67 fi
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
70 fi
71
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=';'
78 }
79 fi
80
81
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"
88
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
94 do
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
100
101 ;;
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
107 fi
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
111 fi
112
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
124
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
130
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148 esac
149 fi
150 "
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
156
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164 else
165 exitcode=1; echo positional parameters were not saved.
166 fi
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
173
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
185 fi
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
187
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
192 do
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
197 /*)
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
206 fi
207 fi
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
217
218
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
228 fi
229
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
241 fi
242 exit 1
243 fi
244 fi
245 fi
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
251
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
259 {
260 { eval $1=; unset $1;}
261 }
262 as_unset=as_fn_unset
263
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
268 {
269 return $1
270 } # as_fn_set_status
271
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
276 {
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
281
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
286 {
287
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
311 q
312 }
313 /^X\(\/\/\)$/{
314 s//\1/
315 q
316 }
317 /^X\(\/\).*/{
318 s//\1/
319 q
320 }
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
326
327
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
337 {
338 eval $1+=\$2
339 }'
340 else
341 as_fn_append ()
342 {
343 eval $1=\$$1\$2
344 }
345 fi # as_fn_append
346
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
354 {
355 as_val=$(( $* ))
356 }'
357 else
358 as_fn_arith ()
359 {
360 as_val=`expr "$@" || test $? -eq 1`
361 }
362 fi # as_fn_arith
363
364
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
371 {
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
376 fi
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
380
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
386 fi
387
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
392 fi
393
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
398 fi
399
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
407 q
408 }
409 /^X\/\(\/\/\)$/{
410 s//\1/
411 q
412 }
413 /^X\/\(\/\).*/{
414 s//\1/
415 q
416 }
417 s/.*/./; q'`
418
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
425
426
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
433 p
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
439 b
440 :lineno
441 N
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
449
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
456 }
457
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
467 *)
468 ECHO_N='-n';;
469 esac
470
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
477 fi
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
491 fi
492 else
493 as_ln_s='cp -p'
494 fi
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
497
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
503 fi
504
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
512 fi
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
524 '
525 fi
526 as_executable_p=$as_test_x
527
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
530
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533
534 SHELL=${CONFIG_SHELL-/bin/sh}
535
536
537 exec 7<&0 </dev/null 6>&1
538
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
543
544 #
545 # Initializations.
546 #
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
555
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
563
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 PIC_CXXFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_PDF_FALSE
622 BUILD_PDF_TRUE
623 PDFLATEX
624 DBLATEX
625 BUILD_MAN_FALSE
626 BUILD_MAN_TRUE
627 BUILD_HTML_FALSE
628 BUILD_HTML_TRUE
629 BUILD_XML_FALSE
630 BUILD_XML_TRUE
631 BUILD_EPUB_FALSE
632 BUILD_EPUB_TRUE
633 XSL_STYLE_DIR
634 XMLLINT
635 XSLTPROC
636 DOT
637 DOXYGEN
638 BUILD_INFO_FALSE
639 BUILD_INFO_TRUE
640 baseline_subdir_switch
641 baseline_dir
642 GLIBCXX_LDBL_COMPAT_FALSE
643 GLIBCXX_LDBL_COMPAT_TRUE
644 ENABLE_VISIBILITY_FALSE
645 ENABLE_VISIBILITY_TRUE
646 libtool_VERSION
647 ENABLE_SYMVERS_SUN_FALSE
648 ENABLE_SYMVERS_SUN_TRUE
649 ENABLE_SYMVERS_DARWIN_FALSE
650 ENABLE_SYMVERS_DARWIN_TRUE
651 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
652 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
653 ENABLE_SYMVERS_GNU_FALSE
654 ENABLE_SYMVERS_GNU_TRUE
655 ENABLE_SYMVERS_FALSE
656 ENABLE_SYMVERS_TRUE
657 port_specific_symbol_files
658 SYMVER_FILE
659 CXXFILT
660 LTLIBICONV
661 LIBICONV
662 OPT_LDFLAGS
663 SECTION_LDFLAGS
664 GLIBCXX_LIBS
665 ENABLE_WERROR_FALSE
666 ENABLE_WERROR_TRUE
667 ENABLE_PYTHONDIR_FALSE
668 ENABLE_PYTHONDIR_TRUE
669 python_mod_dir
670 ENABLE_EXTERN_TEMPLATE_FALSE
671 ENABLE_EXTERN_TEMPLATE_TRUE
672 EXTRA_CXX_FLAGS
673 ENABLE_PARALLEL_FALSE
674 ENABLE_PARALLEL_TRUE
675 GLIBCXX_BUILD_DEBUG_FALSE
676 GLIBCXX_BUILD_DEBUG_TRUE
677 DEBUG_FLAGS
678 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
679 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
680 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
681 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
682 GLIBCXX_C_HEADERS_C_STD_FALSE
683 GLIBCXX_C_HEADERS_C_STD_TRUE
684 GLIBCXX_C_HEADERS_C_FALSE
685 GLIBCXX_C_HEADERS_C_TRUE
686 C_INCLUDE_DIR
687 ALLOCATOR_NAME
688 ALLOCATOR_H
689 CLOCALE_INTERNAL_H
690 CLOCALE_CC
691 CTIME_CC
692 CTIME_H
693 CNUMERIC_CC
694 CMONEY_CC
695 CMESSAGES_CC
696 CCTYPE_CC
697 CCOLLATE_CC
698 CCODECVT_CC
699 CMESSAGES_H
700 CLOCALE_H
701 USE_NLS
702 glibcxx_localedir
703 glibcxx_POFILES
704 glibcxx_MOFILES
705 check_msgfmt
706 BASIC_FILE_CC
707 BASIC_FILE_H
708 CSTDIO_H
709 SECTION_FLAGS
710 WERROR
711 glibcxx_PCHFLAGS
712 GLIBCXX_BUILD_PCH_FALSE
713 GLIBCXX_BUILD_PCH_TRUE
714 GLIBCXX_HOSTED_FALSE
715 GLIBCXX_HOSTED_TRUE
716 enable_static
717 enable_shared
718 lt_host_flags
719 CXXCPP
720 OTOOL64
721 OTOOL
722 LIPO
723 NMEDIT
724 DSYMUTIL
725 OBJDUMP
726 NM
727 ac_ct_DUMPBIN
728 DUMPBIN
729 LD
730 FGREP
731 SED
732 LIBTOOL
733 EGREP
734 GREP
735 CPP
736 MAINT
737 MAINTAINER_MODE_FALSE
738 MAINTAINER_MODE_TRUE
739 RANLIB
740 AR
741 AS
742 LN_S
743 toplevel_srcdir
744 toplevel_builddir
745 glibcxx_srcdir
746 glibcxx_builddir
747 ac_ct_CXX
748 CXXFLAGS
749 CXX
750 OBJEXT
751 EXEEXT
752 ac_ct_CC
753 CPPFLAGS
754 LDFLAGS
755 CFLAGS
756 CC
757 am__untar
758 am__tar
759 AMTAR
760 am__leading_dot
761 SET_MAKE
762 AWK
763 mkdir_p
764 MKDIR_P
765 INSTALL_STRIP_PROGRAM
766 STRIP
767 install_sh
768 MAKEINFO
769 AUTOHEADER
770 AUTOMAKE
771 AUTOCONF
772 ACLOCAL
773 VERSION
774 PACKAGE
775 CYGPATH_W
776 am__isrc
777 INSTALL_DATA
778 INSTALL_SCRIPT
779 INSTALL_PROGRAM
780 target_os
781 target_vendor
782 target_cpu
783 target
784 host_os
785 host_vendor
786 host_cpu
787 host
788 build_os
789 build_vendor
790 build_cpu
791 build
792 multi_basedir
793 target_alias
794 host_alias
795 build_alias
796 LIBS
797 ECHO_T
798 ECHO_N
799 ECHO_C
800 DEFS
801 mandir
802 localedir
803 libdir
804 psdir
805 pdfdir
806 dvidir
807 htmldir
808 infodir
809 docdir
810 oldincludedir
811 includedir
812 localstatedir
813 sharedstatedir
814 sysconfdir
815 datadir
816 datarootdir
817 libexecdir
818 sbindir
819 bindir
820 program_transform_name
821 prefix
822 exec_prefix
823 PACKAGE_URL
824 PACKAGE_BUGREPORT
825 PACKAGE_STRING
826 PACKAGE_VERSION
827 PACKAGE_TARNAME
828 PACKAGE_NAME
829 PATH_SEPARATOR
830 SHELL'
831 ac_subst_files=''
832 ac_user_opts='
833 enable_option_checking
834 enable_multilib
835 with_target_subdir
836 with_cross_host
837 with_newlib
838 enable_maintainer_mode
839 enable_shared
840 enable_static
841 with_pic
842 enable_fast_install
843 with_gnu_ld
844 enable_libtool_lock
845 enable_hosted_libstdcxx
846 enable_sjlj_exceptions
847 enable_libstdcxx_pch
848 enable_cstdio
849 enable_clocale
850 enable_nls
851 enable_libstdcxx_allocator
852 enable_cheaders
853 enable_long_long
854 enable_wchar_t
855 enable_c99
856 enable_concept_checks
857 enable_libstdcxx_debug_flags
858 enable_libstdcxx_debug
859 enable_cxx_flags
860 enable_fully_dynamic_string
861 enable_extern_template
862 with_python_dir
863 enable_werror
864 enable_libstdcxx_time
865 enable_tls
866 enable_rpath
867 with_libiconv_prefix
868 with_system_libunwind
869 enable_linux_futex
870 enable_symvers
871 enable_libstdcxx_visibility
872 enable_libstdcxx_threads
873 with_gxx_include_dir
874 enable_version_specific_runtime_libs
875 '
876 ac_precious_vars='build_alias
877 host_alias
878 target_alias
879 CC
880 CFLAGS
881 LDFLAGS
882 LIBS
883 CPPFLAGS
884 CXX
885 CXXFLAGS
886 CCC
887 CPP
888 CXXCPP
889 CXXFILT'
890
891
892 # Initialize some variables set by options.
893 ac_init_help=
894 ac_init_version=false
895 ac_unrecognized_opts=
896 ac_unrecognized_sep=
897 # The variables have the same names as the options, with
898 # dashes changed to underlines.
899 cache_file=/dev/null
900 exec_prefix=NONE
901 no_create=
902 no_recursion=
903 prefix=NONE
904 program_prefix=NONE
905 program_suffix=NONE
906 program_transform_name=s,x,x,
907 silent=
908 site=
909 srcdir=
910 verbose=
911 x_includes=NONE
912 x_libraries=NONE
913
914 # Installation directory options.
915 # These are left unexpanded so users can "make install exec_prefix=/foo"
916 # and all the variables that are supposed to be based on exec_prefix
917 # by default will actually change.
918 # Use braces instead of parens because sh, perl, etc. also accept them.
919 # (The list follows the same order as the GNU Coding Standards.)
920 bindir='${exec_prefix}/bin'
921 sbindir='${exec_prefix}/sbin'
922 libexecdir='${exec_prefix}/libexec'
923 datarootdir='${prefix}/share'
924 datadir='${datarootdir}'
925 sysconfdir='${prefix}/etc'
926 sharedstatedir='${prefix}/com'
927 localstatedir='${prefix}/var'
928 includedir='${prefix}/include'
929 oldincludedir='/usr/include'
930 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
931 infodir='${datarootdir}/info'
932 htmldir='${docdir}'
933 dvidir='${docdir}'
934 pdfdir='${docdir}'
935 psdir='${docdir}'
936 libdir='${exec_prefix}/lib'
937 localedir='${datarootdir}/locale'
938 mandir='${datarootdir}/man'
939
940 ac_prev=
941 ac_dashdash=
942 for ac_option
943 do
944 # If the previous option needs an argument, assign it.
945 if test -n "$ac_prev"; then
946 eval $ac_prev=\$ac_option
947 ac_prev=
948 continue
949 fi
950
951 case $ac_option in
952 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953 *) ac_optarg=yes ;;
954 esac
955
956 # Accept the important Cygnus configure options, so we can diagnose typos.
957
958 case $ac_dashdash$ac_option in
959 --)
960 ac_dashdash=yes ;;
961
962 -bindir | --bindir | --bindi | --bind | --bin | --bi)
963 ac_prev=bindir ;;
964 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
965 bindir=$ac_optarg ;;
966
967 -build | --build | --buil | --bui | --bu)
968 ac_prev=build_alias ;;
969 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
970 build_alias=$ac_optarg ;;
971
972 -cache-file | --cache-file | --cache-fil | --cache-fi \
973 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
974 ac_prev=cache_file ;;
975 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
976 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
977 cache_file=$ac_optarg ;;
978
979 --config-cache | -C)
980 cache_file=config.cache ;;
981
982 -datadir | --datadir | --datadi | --datad)
983 ac_prev=datadir ;;
984 -datadir=* | --datadir=* | --datadi=* | --datad=*)
985 datadir=$ac_optarg ;;
986
987 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
988 | --dataroo | --dataro | --datar)
989 ac_prev=datarootdir ;;
990 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
991 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
992 datarootdir=$ac_optarg ;;
993
994 -disable-* | --disable-*)
995 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
996 # Reject names that are not valid shell variable names.
997 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
998 as_fn_error "invalid feature name: $ac_useropt"
999 ac_useropt_orig=$ac_useropt
1000 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1001 case $ac_user_opts in
1002 *"
1003 "enable_$ac_useropt"
1004 "*) ;;
1005 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1006 ac_unrecognized_sep=', ';;
1007 esac
1008 eval enable_$ac_useropt=no ;;
1009
1010 -docdir | --docdir | --docdi | --doc | --do)
1011 ac_prev=docdir ;;
1012 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1013 docdir=$ac_optarg ;;
1014
1015 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1016 ac_prev=dvidir ;;
1017 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1018 dvidir=$ac_optarg ;;
1019
1020 -enable-* | --enable-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error "invalid feature name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1028 *"
1029 "enable_$ac_useropt"
1030 "*) ;;
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1033 esac
1034 eval enable_$ac_useropt=\$ac_optarg ;;
1035
1036 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1037 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1038 | --exec | --exe | --ex)
1039 ac_prev=exec_prefix ;;
1040 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1041 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1042 | --exec=* | --exe=* | --ex=*)
1043 exec_prefix=$ac_optarg ;;
1044
1045 -gas | --gas | --ga | --g)
1046 # Obsolete; use --with-gas.
1047 with_gas=yes ;;
1048
1049 -help | --help | --hel | --he | -h)
1050 ac_init_help=long ;;
1051 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1052 ac_init_help=recursive ;;
1053 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1054 ac_init_help=short ;;
1055
1056 -host | --host | --hos | --ho)
1057 ac_prev=host_alias ;;
1058 -host=* | --host=* | --hos=* | --ho=*)
1059 host_alias=$ac_optarg ;;
1060
1061 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1062 ac_prev=htmldir ;;
1063 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1064 | --ht=*)
1065 htmldir=$ac_optarg ;;
1066
1067 -includedir | --includedir | --includedi | --included | --include \
1068 | --includ | --inclu | --incl | --inc)
1069 ac_prev=includedir ;;
1070 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1071 | --includ=* | --inclu=* | --incl=* | --inc=*)
1072 includedir=$ac_optarg ;;
1073
1074 -infodir | --infodir | --infodi | --infod | --info | --inf)
1075 ac_prev=infodir ;;
1076 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1077 infodir=$ac_optarg ;;
1078
1079 -libdir | --libdir | --libdi | --libd)
1080 ac_prev=libdir ;;
1081 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1082 libdir=$ac_optarg ;;
1083
1084 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1085 | --libexe | --libex | --libe)
1086 ac_prev=libexecdir ;;
1087 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1088 | --libexe=* | --libex=* | --libe=*)
1089 libexecdir=$ac_optarg ;;
1090
1091 -localedir | --localedir | --localedi | --localed | --locale)
1092 ac_prev=localedir ;;
1093 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1094 localedir=$ac_optarg ;;
1095
1096 -localstatedir | --localstatedir | --localstatedi | --localstated \
1097 | --localstate | --localstat | --localsta | --localst | --locals)
1098 ac_prev=localstatedir ;;
1099 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1100 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1101 localstatedir=$ac_optarg ;;
1102
1103 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1104 ac_prev=mandir ;;
1105 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1106 mandir=$ac_optarg ;;
1107
1108 -nfp | --nfp | --nf)
1109 # Obsolete; use --without-fp.
1110 with_fp=no ;;
1111
1112 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1113 | --no-cr | --no-c | -n)
1114 no_create=yes ;;
1115
1116 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1117 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1118 no_recursion=yes ;;
1119
1120 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1121 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1122 | --oldin | --oldi | --old | --ol | --o)
1123 ac_prev=oldincludedir ;;
1124 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1125 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1126 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1127 oldincludedir=$ac_optarg ;;
1128
1129 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1130 ac_prev=prefix ;;
1131 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1132 prefix=$ac_optarg ;;
1133
1134 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1135 | --program-pre | --program-pr | --program-p)
1136 ac_prev=program_prefix ;;
1137 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1138 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1139 program_prefix=$ac_optarg ;;
1140
1141 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1142 | --program-suf | --program-su | --program-s)
1143 ac_prev=program_suffix ;;
1144 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1145 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1146 program_suffix=$ac_optarg ;;
1147
1148 -program-transform-name | --program-transform-name \
1149 | --program-transform-nam | --program-transform-na \
1150 | --program-transform-n | --program-transform- \
1151 | --program-transform | --program-transfor \
1152 | --program-transfo | --program-transf \
1153 | --program-trans | --program-tran \
1154 | --progr-tra | --program-tr | --program-t)
1155 ac_prev=program_transform_name ;;
1156 -program-transform-name=* | --program-transform-name=* \
1157 | --program-transform-nam=* | --program-transform-na=* \
1158 | --program-transform-n=* | --program-transform-=* \
1159 | --program-transform=* | --program-transfor=* \
1160 | --program-transfo=* | --program-transf=* \
1161 | --program-trans=* | --program-tran=* \
1162 | --progr-tra=* | --program-tr=* | --program-t=*)
1163 program_transform_name=$ac_optarg ;;
1164
1165 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1166 ac_prev=pdfdir ;;
1167 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1168 pdfdir=$ac_optarg ;;
1169
1170 -psdir | --psdir | --psdi | --psd | --ps)
1171 ac_prev=psdir ;;
1172 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1173 psdir=$ac_optarg ;;
1174
1175 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1176 | -silent | --silent | --silen | --sile | --sil)
1177 silent=yes ;;
1178
1179 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1180 ac_prev=sbindir ;;
1181 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1182 | --sbi=* | --sb=*)
1183 sbindir=$ac_optarg ;;
1184
1185 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1186 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1187 | --sharedst | --shareds | --shared | --share | --shar \
1188 | --sha | --sh)
1189 ac_prev=sharedstatedir ;;
1190 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1191 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1192 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1193 | --sha=* | --sh=*)
1194 sharedstatedir=$ac_optarg ;;
1195
1196 -site | --site | --sit)
1197 ac_prev=site ;;
1198 -site=* | --site=* | --sit=*)
1199 site=$ac_optarg ;;
1200
1201 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1202 ac_prev=srcdir ;;
1203 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1204 srcdir=$ac_optarg ;;
1205
1206 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1207 | --syscon | --sysco | --sysc | --sys | --sy)
1208 ac_prev=sysconfdir ;;
1209 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1210 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1211 sysconfdir=$ac_optarg ;;
1212
1213 -target | --target | --targe | --targ | --tar | --ta | --t)
1214 ac_prev=target_alias ;;
1215 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1216 target_alias=$ac_optarg ;;
1217
1218 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1219 verbose=yes ;;
1220
1221 -version | --version | --versio | --versi | --vers | -V)
1222 ac_init_version=: ;;
1223
1224 -with-* | --with-*)
1225 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1226 # Reject names that are not valid shell variable names.
1227 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1228 as_fn_error "invalid package name: $ac_useropt"
1229 ac_useropt_orig=$ac_useropt
1230 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1231 case $ac_user_opts in
1232 *"
1233 "with_$ac_useropt"
1234 "*) ;;
1235 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1236 ac_unrecognized_sep=', ';;
1237 esac
1238 eval with_$ac_useropt=\$ac_optarg ;;
1239
1240 -without-* | --without-*)
1241 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1242 # Reject names that are not valid shell variable names.
1243 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1244 as_fn_error "invalid package name: $ac_useropt"
1245 ac_useropt_orig=$ac_useropt
1246 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1247 case $ac_user_opts in
1248 *"
1249 "with_$ac_useropt"
1250 "*) ;;
1251 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1252 ac_unrecognized_sep=', ';;
1253 esac
1254 eval with_$ac_useropt=no ;;
1255
1256 --x)
1257 # Obsolete; use --with-x.
1258 with_x=yes ;;
1259
1260 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1261 | --x-incl | --x-inc | --x-in | --x-i)
1262 ac_prev=x_includes ;;
1263 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1264 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1265 x_includes=$ac_optarg ;;
1266
1267 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1268 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1269 ac_prev=x_libraries ;;
1270 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1271 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1272 x_libraries=$ac_optarg ;;
1273
1274 -*) as_fn_error "unrecognized option: \`$ac_option'
1275 Try \`$0 --help' for more information."
1276 ;;
1277
1278 *=*)
1279 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1280 # Reject names that are not valid shell variable names.
1281 case $ac_envvar in #(
1282 '' | [0-9]* | *[!_$as_cr_alnum]* )
1283 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1284 esac
1285 eval $ac_envvar=\$ac_optarg
1286 export $ac_envvar ;;
1287
1288 *)
1289 # FIXME: should be removed in autoconf 3.0.
1290 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1292 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1294 ;;
1295
1296 esac
1297 done
1298
1299 if test -n "$ac_prev"; then
1300 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1301 as_fn_error "missing argument to $ac_option"
1302 fi
1303
1304 if test -n "$ac_unrecognized_opts"; then
1305 case $enable_option_checking in
1306 no) ;;
1307 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1308 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1309 esac
1310 fi
1311
1312 # Check all directory arguments for consistency.
1313 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1314 datadir sysconfdir sharedstatedir localstatedir includedir \
1315 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1316 libdir localedir mandir
1317 do
1318 eval ac_val=\$$ac_var
1319 # Remove trailing slashes.
1320 case $ac_val in
1321 */ )
1322 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1323 eval $ac_var=\$ac_val;;
1324 esac
1325 # Be sure to have absolute directory names.
1326 case $ac_val in
1327 [\\/$]* | ?:[\\/]* ) continue;;
1328 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1329 esac
1330 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1331 done
1332
1333 # There might be people who depend on the old broken behavior: `$host'
1334 # used to hold the argument of --host etc.
1335 # FIXME: To remove some day.
1336 build=$build_alias
1337 host=$host_alias
1338 target=$target_alias
1339
1340 # FIXME: To remove some day.
1341 if test "x$host_alias" != x; then
1342 if test "x$build_alias" = x; then
1343 cross_compiling=maybe
1344 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1345 If a cross compiler is detected then cross compile mode will be used." >&2
1346 elif test "x$build_alias" != "x$host_alias"; then
1347 cross_compiling=yes
1348 fi
1349 fi
1350
1351 ac_tool_prefix=
1352 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1353
1354 test "$silent" = yes && exec 6>/dev/null
1355
1356
1357 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1358 ac_ls_di=`ls -di .` &&
1359 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1360 as_fn_error "working directory cannot be determined"
1361 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1362 as_fn_error "pwd does not report name of working directory"
1363
1364
1365 # Find the source files, if location was not specified.
1366 if test -z "$srcdir"; then
1367 ac_srcdir_defaulted=yes
1368 # Try the directory containing this script, then the parent directory.
1369 ac_confdir=`$as_dirname -- "$as_myself" ||
1370 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1371 X"$as_myself" : 'X\(//\)[^/]' \| \
1372 X"$as_myself" : 'X\(//\)$' \| \
1373 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1374 $as_echo X"$as_myself" |
1375 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1376 s//\1/
1377 q
1378 }
1379 /^X\(\/\/\)[^/].*/{
1380 s//\1/
1381 q
1382 }
1383 /^X\(\/\/\)$/{
1384 s//\1/
1385 q
1386 }
1387 /^X\(\/\).*/{
1388 s//\1/
1389 q
1390 }
1391 s/.*/./; q'`
1392 srcdir=$ac_confdir
1393 if test ! -r "$srcdir/$ac_unique_file"; then
1394 srcdir=..
1395 fi
1396 else
1397 ac_srcdir_defaulted=no
1398 fi
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1401 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1402 fi
1403 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1404 ac_abs_confdir=`(
1405 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1406 pwd)`
1407 # When building in place, set srcdir=.
1408 if test "$ac_abs_confdir" = "$ac_pwd"; then
1409 srcdir=.
1410 fi
1411 # Remove unnecessary trailing slashes from srcdir.
1412 # Double slashes in file names in object file debugging info
1413 # mess up M-x gdb in Emacs.
1414 case $srcdir in
1415 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1416 esac
1417 for ac_var in $ac_precious_vars; do
1418 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1419 eval ac_env_${ac_var}_value=\$${ac_var}
1420 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1421 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1422 done
1423
1424 #
1425 # Report the --help message.
1426 #
1427 if test "$ac_init_help" = "long"; then
1428 # Omit some internal or obsolete options to make the list less imposing.
1429 # This message is too long to be a string in the A/UX 3.1 sh.
1430 cat <<_ACEOF
1431 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1432
1433 Usage: $0 [OPTION]... [VAR=VALUE]...
1434
1435 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1436 VAR=VALUE. See below for descriptions of some of the useful variables.
1437
1438 Defaults for the options are specified in brackets.
1439
1440 Configuration:
1441 -h, --help display this help and exit
1442 --help=short display options specific to this package
1443 --help=recursive display the short help of all the included packages
1444 -V, --version display version information and exit
1445 -q, --quiet, --silent do not print \`checking...' messages
1446 --cache-file=FILE cache test results in FILE [disabled]
1447 -C, --config-cache alias for \`--cache-file=config.cache'
1448 -n, --no-create do not create output files
1449 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1450
1451 Installation directories:
1452 --prefix=PREFIX install architecture-independent files in PREFIX
1453 [$ac_default_prefix]
1454 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1455 [PREFIX]
1456
1457 By default, \`make install' will install all the files in
1458 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1459 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1460 for instance \`--prefix=\$HOME'.
1461
1462 For better control, use the options below.
1463
1464 Fine tuning of the installation directories:
1465 --bindir=DIR user executables [EPREFIX/bin]
1466 --sbindir=DIR system admin executables [EPREFIX/sbin]
1467 --libexecdir=DIR program executables [EPREFIX/libexec]
1468 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1469 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1470 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1471 --libdir=DIR object code libraries [EPREFIX/lib]
1472 --includedir=DIR C header files [PREFIX/include]
1473 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1474 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1475 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1476 --infodir=DIR info documentation [DATAROOTDIR/info]
1477 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1478 --mandir=DIR man documentation [DATAROOTDIR/man]
1479 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1480 --htmldir=DIR html documentation [DOCDIR]
1481 --dvidir=DIR dvi documentation [DOCDIR]
1482 --pdfdir=DIR pdf documentation [DOCDIR]
1483 --psdir=DIR ps documentation [DOCDIR]
1484 _ACEOF
1485
1486 cat <<\_ACEOF
1487
1488 Program names:
1489 --program-prefix=PREFIX prepend PREFIX to installed program names
1490 --program-suffix=SUFFIX append SUFFIX to installed program names
1491 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1492
1493 System types:
1494 --build=BUILD configure for building on BUILD [guessed]
1495 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1496 --target=TARGET configure for building compilers for TARGET [HOST]
1497 _ACEOF
1498 fi
1499
1500 if test -n "$ac_init_help"; then
1501 case $ac_init_help in
1502 short | recursive ) echo "Configuration of package-unused version-unused:";;
1503 esac
1504 cat <<\_ACEOF
1505
1506 Optional Features:
1507 --disable-option-checking ignore unrecognized --enable/--with options
1508 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1509 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1510 --enable-multilib build many library versions (default)
1511 --enable-maintainer-mode enable make rules and dependencies not useful
1512 (and sometimes confusing) to the casual installer
1513 --enable-shared[=PKGS] build shared libraries [default=yes]
1514 --enable-static[=PKGS] build static libraries [default=yes]
1515 --enable-fast-install[=PKGS]
1516 optimize for fast installation [default=yes]
1517 --disable-libtool-lock avoid locking (might break parallel builds)
1518 --disable-hosted-libstdcxx
1519 only build freestanding C++ runtime support
1520 --enable-sjlj-exceptions
1521 force use of builtin_setjmp for exceptions
1522 [default=auto]
1523 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1524 [default=$is_hosted]
1525 --enable-cstdio[=PACKAGE]
1526 use target-specific I/O package [default=stdio]
1527 --enable-clocale[=MODEL]
1528 use MODEL for target locale package [default=auto]
1529 --enable-nls use Native Language Support (default)
1530 --enable-libstdcxx-allocator[=KIND]
1531 use KIND for target std::allocator base
1532 [default=auto]
1533 --enable-cheaders[=KIND]
1534 construct "C" headers for g++ [default=$c_model]
1535 --enable-long-long enable template specializations for 'long long'
1536 [default=yes]
1537 --enable-wchar_t enable template specializations for 'wchar_t'
1538 [default=yes]
1539 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1540 --enable-concept-checks use Boost-derived template checks [default=no]
1541 --enable-libstdcxx-debug-flags=FLAGS
1542 pass compiler FLAGS when building debug library
1543 [default="-gdwarf-4 -g3 -O0"]
1544 --enable-libstdcxx-debug
1545 build extra debug library [default=no]
1546 --enable-cxx-flags=FLAGS
1547 pass compiler FLAGS when building library [default=]
1548 --enable-fully-dynamic-string
1549 do not put empty strings in per-process static
1550 memory [default=no]
1551 --enable-extern-template
1552 enable extern template [default=yes]
1553 --enable-werror turns on -Werror [default=yes]
1554 --enable-libstdcxx-time[=KIND]
1555 use KIND for check type [default=no]
1556 --enable-tls Use thread-local storage [default=yes]
1557 --disable-rpath do not hardcode runtime library paths
1558 --enable-linux-futex use the Linux futex system call [default=default]
1559 --enable-symvers[=STYLE]
1560 enables symbol versioning of the shared library
1561 [default=yes]
1562 --enable-libstdcxx-visibility
1563 enables visibility safe usage [default=yes]
1564 --enable-libstdcxx-threads
1565 enable C++11 threads support [default=auto]
1566 --enable-version-specific-runtime-libs
1567 Specify that runtime libraries should be installed
1568 in a compiler-specific directory
1569
1570 Optional Packages:
1571 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1572 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1573 --with-target-subdir=SUBDIR
1574 configuring in a subdirectory
1575 --with-cross-host=HOST configuring with a cross compiler
1576 --with-newlib assume newlib as a system C library
1577 --with-pic try to use only PIC/non-PIC objects [default=use
1578 both]
1579 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1580 --with-python-dir the location to install Python modules. This path is
1581 relative starting from the prefix.
1582 --with-gnu-ld assume the C compiler uses GNU ld default=no
1583 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1584 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1585 --with-system-libunwind use installed libunwind
1586 --with-gxx-include-dir=DIR
1587 installation directory for include files
1588
1589 Some influential environment variables:
1590 CC C compiler command
1591 CFLAGS C compiler flags
1592 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1593 nonstandard directory <lib dir>
1594 LIBS libraries to pass to the linker, e.g. -l<library>
1595 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1596 you have headers in a nonstandard directory <include dir>
1597 CXX C++ compiler command
1598 CXXFLAGS C++ compiler flags
1599 CPP C preprocessor
1600 CXXCPP C++ preprocessor
1601 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1602 `c++filt', `gc++filt' on PATH.
1603
1604 Use these variables to override the choices made by `configure' or to help
1605 it to find libraries and programs with nonstandard names/locations.
1606
1607 Report bugs to the package provider.
1608 _ACEOF
1609 ac_status=$?
1610 fi
1611
1612 if test "$ac_init_help" = "recursive"; then
1613 # If there are subdirs, report their specific --help.
1614 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1615 test -d "$ac_dir" ||
1616 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1617 continue
1618 ac_builddir=.
1619
1620 case "$ac_dir" in
1621 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1622 *)
1623 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1624 # A ".." for each directory in $ac_dir_suffix.
1625 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1626 case $ac_top_builddir_sub in
1627 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1628 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1629 esac ;;
1630 esac
1631 ac_abs_top_builddir=$ac_pwd
1632 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1633 # for backward compatibility:
1634 ac_top_builddir=$ac_top_build_prefix
1635
1636 case $srcdir in
1637 .) # We are building in place.
1638 ac_srcdir=.
1639 ac_top_srcdir=$ac_top_builddir_sub
1640 ac_abs_top_srcdir=$ac_pwd ;;
1641 [\\/]* | ?:[\\/]* ) # Absolute name.
1642 ac_srcdir=$srcdir$ac_dir_suffix;
1643 ac_top_srcdir=$srcdir
1644 ac_abs_top_srcdir=$srcdir ;;
1645 *) # Relative name.
1646 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1647 ac_top_srcdir=$ac_top_build_prefix$srcdir
1648 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1649 esac
1650 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1651
1652 cd "$ac_dir" || { ac_status=$?; continue; }
1653 # Check for guested configure.
1654 if test -f "$ac_srcdir/configure.gnu"; then
1655 echo &&
1656 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1657 elif test -f "$ac_srcdir/configure"; then
1658 echo &&
1659 $SHELL "$ac_srcdir/configure" --help=recursive
1660 else
1661 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1662 fi || ac_status=$?
1663 cd "$ac_pwd" || { ac_status=$?; break; }
1664 done
1665 fi
1666
1667 test -n "$ac_init_help" && exit $ac_status
1668 if $ac_init_version; then
1669 cat <<\_ACEOF
1670 package-unused configure version-unused
1671 generated by GNU Autoconf 2.64
1672
1673 Copyright (C) 2009 Free Software Foundation, Inc.
1674 This configure script is free software; the Free Software Foundation
1675 gives unlimited permission to copy, distribute and modify it.
1676 _ACEOF
1677 exit
1678 fi
1679
1680 ## ------------------------ ##
1681 ## Autoconf initialization. ##
1682 ## ------------------------ ##
1683
1684 # ac_fn_c_try_compile LINENO
1685 # --------------------------
1686 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1687 ac_fn_c_try_compile ()
1688 {
1689 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1690 rm -f conftest.$ac_objext
1691 if { { ac_try="$ac_compile"
1692 case "(($ac_try" in
1693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1694 *) ac_try_echo=$ac_try;;
1695 esac
1696 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1697 $as_echo "$ac_try_echo"; } >&5
1698 (eval "$ac_compile") 2>conftest.err
1699 ac_status=$?
1700 if test -s conftest.err; then
1701 grep -v '^ *+' conftest.err >conftest.er1
1702 cat conftest.er1 >&5
1703 mv -f conftest.er1 conftest.err
1704 fi
1705 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1706 test $ac_status = 0; } && {
1707 test -z "$ac_c_werror_flag" ||
1708 test ! -s conftest.err
1709 } && test -s conftest.$ac_objext; then :
1710 ac_retval=0
1711 else
1712 $as_echo "$as_me: failed program was:" >&5
1713 sed 's/^/| /' conftest.$ac_ext >&5
1714
1715 ac_retval=1
1716 fi
1717 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1718 return $ac_retval
1719
1720 } # ac_fn_c_try_compile
1721
1722 # ac_fn_cxx_try_compile LINENO
1723 # ----------------------------
1724 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1725 ac_fn_cxx_try_compile ()
1726 {
1727 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1728 rm -f conftest.$ac_objext
1729 if { { ac_try="$ac_compile"
1730 case "(($ac_try" in
1731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1732 *) ac_try_echo=$ac_try;;
1733 esac
1734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1735 $as_echo "$ac_try_echo"; } >&5
1736 (eval "$ac_compile") 2>conftest.err
1737 ac_status=$?
1738 if test -s conftest.err; then
1739 grep -v '^ *+' conftest.err >conftest.er1
1740 cat conftest.er1 >&5
1741 mv -f conftest.er1 conftest.err
1742 fi
1743 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1744 test $ac_status = 0; } && {
1745 test -z "$ac_cxx_werror_flag" ||
1746 test ! -s conftest.err
1747 } && test -s conftest.$ac_objext; then :
1748 ac_retval=0
1749 else
1750 $as_echo "$as_me: failed program was:" >&5
1751 sed 's/^/| /' conftest.$ac_ext >&5
1752
1753 ac_retval=1
1754 fi
1755 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1756 return $ac_retval
1757
1758 } # ac_fn_cxx_try_compile
1759
1760 # ac_fn_c_try_cpp LINENO
1761 # ----------------------
1762 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1763 ac_fn_c_try_cpp ()
1764 {
1765 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1766 if { { ac_try="$ac_cpp conftest.$ac_ext"
1767 case "(($ac_try" in
1768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1769 *) ac_try_echo=$ac_try;;
1770 esac
1771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1772 $as_echo "$ac_try_echo"; } >&5
1773 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1774 ac_status=$?
1775 if test -s conftest.err; then
1776 grep -v '^ *+' conftest.err >conftest.er1
1777 cat conftest.er1 >&5
1778 mv -f conftest.er1 conftest.err
1779 fi
1780 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1781 test $ac_status = 0; } >/dev/null && {
1782 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1783 test ! -s conftest.err
1784 }; then :
1785 ac_retval=0
1786 else
1787 $as_echo "$as_me: failed program was:" >&5
1788 sed 's/^/| /' conftest.$ac_ext >&5
1789
1790 ac_retval=1
1791 fi
1792 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1793 return $ac_retval
1794
1795 } # ac_fn_c_try_cpp
1796
1797 # ac_fn_c_try_link LINENO
1798 # -----------------------
1799 # Try to link conftest.$ac_ext, and return whether this succeeded.
1800 ac_fn_c_try_link ()
1801 {
1802 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1803 rm -f conftest.$ac_objext conftest$ac_exeext
1804 if { { ac_try="$ac_link"
1805 case "(($ac_try" in
1806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1807 *) ac_try_echo=$ac_try;;
1808 esac
1809 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1810 $as_echo "$ac_try_echo"; } >&5
1811 (eval "$ac_link") 2>conftest.err
1812 ac_status=$?
1813 if test -s conftest.err; then
1814 grep -v '^ *+' conftest.err >conftest.er1
1815 cat conftest.er1 >&5
1816 mv -f conftest.er1 conftest.err
1817 fi
1818 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1819 test $ac_status = 0; } && {
1820 test -z "$ac_c_werror_flag" ||
1821 test ! -s conftest.err
1822 } && test -s conftest$ac_exeext && {
1823 test "$cross_compiling" = yes ||
1824 $as_test_x conftest$ac_exeext
1825 }; then :
1826 ac_retval=0
1827 else
1828 $as_echo "$as_me: failed program was:" >&5
1829 sed 's/^/| /' conftest.$ac_ext >&5
1830
1831 ac_retval=1
1832 fi
1833 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1834 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1835 # interfere with the next link command; also delete a directory that is
1836 # left behind by Apple's compiler. We do this before executing the actions.
1837 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1838 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1839 return $ac_retval
1840
1841 } # ac_fn_c_try_link
1842
1843 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1844 # -------------------------------------------------------
1845 # Tests whether HEADER exists and can be compiled using the include files in
1846 # INCLUDES, setting the cache variable VAR accordingly.
1847 ac_fn_c_check_header_compile ()
1848 {
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1851 $as_echo_n "checking for $2... " >&6; }
1852 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1853 $as_echo_n "(cached) " >&6
1854 else
1855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1856 /* end confdefs.h. */
1857 $4
1858 #include <$2>
1859 _ACEOF
1860 if ac_fn_c_try_compile "$LINENO"; then :
1861 eval "$3=yes"
1862 else
1863 eval "$3=no"
1864 fi
1865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1866 fi
1867 eval ac_res=\$$3
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1869 $as_echo "$ac_res" >&6; }
1870 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1871
1872 } # ac_fn_c_check_header_compile
1873
1874 # ac_fn_c_try_run LINENO
1875 # ----------------------
1876 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1877 # that executables *can* be run.
1878 ac_fn_c_try_run ()
1879 {
1880 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1881 if { { ac_try="$ac_link"
1882 case "(($ac_try" in
1883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1884 *) ac_try_echo=$ac_try;;
1885 esac
1886 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1887 $as_echo "$ac_try_echo"; } >&5
1888 (eval "$ac_link") 2>&5
1889 ac_status=$?
1890 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1891 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1892 { { case "(($ac_try" in
1893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1894 *) ac_try_echo=$ac_try;;
1895 esac
1896 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1897 $as_echo "$ac_try_echo"; } >&5
1898 (eval "$ac_try") 2>&5
1899 ac_status=$?
1900 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1901 test $ac_status = 0; }; }; then :
1902 ac_retval=0
1903 else
1904 $as_echo "$as_me: program exited with status $ac_status" >&5
1905 $as_echo "$as_me: failed program was:" >&5
1906 sed 's/^/| /' conftest.$ac_ext >&5
1907
1908 ac_retval=$ac_status
1909 fi
1910 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1911 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1912 return $ac_retval
1913
1914 } # ac_fn_c_try_run
1915
1916 # ac_fn_c_check_func LINENO FUNC VAR
1917 # ----------------------------------
1918 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1919 ac_fn_c_check_func ()
1920 {
1921 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1923 $as_echo_n "checking for $2... " >&6; }
1924 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1925 $as_echo_n "(cached) " >&6
1926 else
1927 if test x$gcc_no_link = xyes; then
1928 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1929 fi
1930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1931 /* end confdefs.h. */
1932 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1934 #define $2 innocuous_$2
1935
1936 /* System header to define __stub macros and hopefully few prototypes,
1937 which can conflict with char $2 (); below.
1938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1939 <limits.h> exists even on freestanding compilers. */
1940
1941 #ifdef __STDC__
1942 # include <limits.h>
1943 #else
1944 # include <assert.h>
1945 #endif
1946
1947 #undef $2
1948
1949 /* Override any GCC internal prototype to avoid an error.
1950 Use char because int might match the return type of a GCC
1951 builtin and then its argument prototype would still apply. */
1952 #ifdef __cplusplus
1953 extern "C"
1954 #endif
1955 char $2 ();
1956 /* The GNU C library defines this for functions which it implements
1957 to always fail with ENOSYS. Some functions are actually named
1958 something starting with __ and the normal name is an alias. */
1959 #if defined __stub_$2 || defined __stub___$2
1960 choke me
1961 #endif
1962
1963 int
1964 main ()
1965 {
1966 return $2 ();
1967 ;
1968 return 0;
1969 }
1970 _ACEOF
1971 if ac_fn_c_try_link "$LINENO"; then :
1972 eval "$3=yes"
1973 else
1974 eval "$3=no"
1975 fi
1976 rm -f core conftest.err conftest.$ac_objext \
1977 conftest$ac_exeext conftest.$ac_ext
1978 fi
1979 eval ac_res=\$$3
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1983
1984 } # ac_fn_c_check_func
1985
1986 # ac_fn_cxx_try_cpp LINENO
1987 # ------------------------
1988 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_cpp ()
1990 {
1991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1992 if { { ac_try="$ac_cpp conftest.$ac_ext"
1993 case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2000 ac_status=$?
2001 if test -s conftest.err; then
2002 grep -v '^ *+' conftest.err >conftest.er1
2003 cat conftest.er1 >&5
2004 mv -f conftest.er1 conftest.err
2005 fi
2006 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2007 test $ac_status = 0; } >/dev/null && {
2008 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2009 test ! -s conftest.err
2010 }; then :
2011 ac_retval=0
2012 else
2013 $as_echo "$as_me: failed program was:" >&5
2014 sed 's/^/| /' conftest.$ac_ext >&5
2015
2016 ac_retval=1
2017 fi
2018 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2019 return $ac_retval
2020
2021 } # ac_fn_cxx_try_cpp
2022
2023 # ac_fn_cxx_try_link LINENO
2024 # -------------------------
2025 # Try to link conftest.$ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_link ()
2027 {
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 rm -f conftest.$ac_objext conftest$ac_exeext
2030 if { { ac_try="$ac_link"
2031 case "(($ac_try" in
2032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2033 *) ac_try_echo=$ac_try;;
2034 esac
2035 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2036 $as_echo "$ac_try_echo"; } >&5
2037 (eval "$ac_link") 2>conftest.err
2038 ac_status=$?
2039 if test -s conftest.err; then
2040 grep -v '^ *+' conftest.err >conftest.er1
2041 cat conftest.er1 >&5
2042 mv -f conftest.er1 conftest.err
2043 fi
2044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2045 test $ac_status = 0; } && {
2046 test -z "$ac_cxx_werror_flag" ||
2047 test ! -s conftest.err
2048 } && test -s conftest$ac_exeext && {
2049 test "$cross_compiling" = yes ||
2050 $as_test_x conftest$ac_exeext
2051 }; then :
2052 ac_retval=0
2053 else
2054 $as_echo "$as_me: failed program was:" >&5
2055 sed 's/^/| /' conftest.$ac_ext >&5
2056
2057 ac_retval=1
2058 fi
2059 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2060 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2061 # interfere with the next link command; also delete a directory that is
2062 # left behind by Apple's compiler. We do this before executing the actions.
2063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2064 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2065 return $ac_retval
2066
2067 } # ac_fn_cxx_try_link
2068
2069 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2070 # -------------------------------------------------------
2071 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2072 # the include files in INCLUDES and setting the cache variable VAR
2073 # accordingly.
2074 ac_fn_c_check_header_mongrel ()
2075 {
2076 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2077 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2079 $as_echo_n "checking for $2... " >&6; }
2080 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2081 $as_echo_n "(cached) " >&6
2082 fi
2083 eval ac_res=\$$3
2084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2085 $as_echo "$ac_res" >&6; }
2086 else
2087 # Is the header compilable?
2088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2089 $as_echo_n "checking $2 usability... " >&6; }
2090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2091 /* end confdefs.h. */
2092 $4
2093 #include <$2>
2094 _ACEOF
2095 if ac_fn_c_try_compile "$LINENO"; then :
2096 ac_header_compiler=yes
2097 else
2098 ac_header_compiler=no
2099 fi
2100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2102 $as_echo "$ac_header_compiler" >&6; }
2103
2104 # Is the header present?
2105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2106 $as_echo_n "checking $2 presence... " >&6; }
2107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2108 /* end confdefs.h. */
2109 #include <$2>
2110 _ACEOF
2111 if ac_fn_c_try_cpp "$LINENO"; then :
2112 ac_header_preproc=yes
2113 else
2114 ac_header_preproc=no
2115 fi
2116 rm -f conftest.err conftest.$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2118 $as_echo "$ac_header_preproc" >&6; }
2119
2120 # So? What about this header?
2121 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2122 yes:no: )
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2124 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2126 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2127 ;;
2128 no:yes:* )
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2130 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2132 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2134 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2136 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2138 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2139 ;;
2140 esac
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2142 $as_echo_n "checking for $2... " >&6; }
2143 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2144 $as_echo_n "(cached) " >&6
2145 else
2146 eval "$3=\$ac_header_compiler"
2147 fi
2148 eval ac_res=\$$3
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2150 $as_echo "$ac_res" >&6; }
2151 fi
2152 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2153
2154 } # ac_fn_c_check_header_mongrel
2155
2156 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2157 # ---------------------------------------------------------
2158 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2159 # the include files in INCLUDES and setting the cache variable VAR
2160 # accordingly.
2161 ac_fn_cxx_check_header_mongrel ()
2162 {
2163 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2164 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2166 $as_echo_n "checking for $2... " >&6; }
2167 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2168 $as_echo_n "(cached) " >&6
2169 fi
2170 eval ac_res=\$$3
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2172 $as_echo "$ac_res" >&6; }
2173 else
2174 # Is the header compilable?
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2176 $as_echo_n "checking $2 usability... " >&6; }
2177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2178 /* end confdefs.h. */
2179 $4
2180 #include <$2>
2181 _ACEOF
2182 if ac_fn_cxx_try_compile "$LINENO"; then :
2183 ac_header_compiler=yes
2184 else
2185 ac_header_compiler=no
2186 fi
2187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2189 $as_echo "$ac_header_compiler" >&6; }
2190
2191 # Is the header present?
2192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2193 $as_echo_n "checking $2 presence... " >&6; }
2194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2195 /* end confdefs.h. */
2196 #include <$2>
2197 _ACEOF
2198 if ac_fn_cxx_try_cpp "$LINENO"; then :
2199 ac_header_preproc=yes
2200 else
2201 ac_header_preproc=no
2202 fi
2203 rm -f conftest.err conftest.$ac_ext
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2205 $as_echo "$ac_header_preproc" >&6; }
2206
2207 # So? What about this header?
2208 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2209 yes:no: )
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2211 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2213 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2214 ;;
2215 no:yes:* )
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2217 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2219 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2221 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2223 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2225 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2226 ;;
2227 esac
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2229 $as_echo_n "checking for $2... " >&6; }
2230 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2231 $as_echo_n "(cached) " >&6
2232 else
2233 eval "$3=\$ac_header_compiler"
2234 fi
2235 eval ac_res=\$$3
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2237 $as_echo "$ac_res" >&6; }
2238 fi
2239 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2240
2241 } # ac_fn_cxx_check_header_mongrel
2242
2243 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2244 # --------------------------------------------
2245 # Tries to find the compile-time value of EXPR in a program that includes
2246 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2247 # computed
2248 ac_fn_c_compute_int ()
2249 {
2250 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2251 if test "$cross_compiling" = yes; then
2252 # Depending upon the size, compute the lo and hi bounds.
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2255 $4
2256 int
2257 main ()
2258 {
2259 static int test_array [1 - 2 * !(($2) >= 0)];
2260 test_array [0] = 0
2261
2262 ;
2263 return 0;
2264 }
2265 _ACEOF
2266 if ac_fn_c_try_compile "$LINENO"; then :
2267 ac_lo=0 ac_mid=0
2268 while :; do
2269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2270 /* end confdefs.h. */
2271 $4
2272 int
2273 main ()
2274 {
2275 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2276 test_array [0] = 0
2277
2278 ;
2279 return 0;
2280 }
2281 _ACEOF
2282 if ac_fn_c_try_compile "$LINENO"; then :
2283 ac_hi=$ac_mid; break
2284 else
2285 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2286 if test $ac_lo -le $ac_mid; then
2287 ac_lo= ac_hi=
2288 break
2289 fi
2290 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2291 fi
2292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2293 done
2294 else
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2297 $4
2298 int
2299 main ()
2300 {
2301 static int test_array [1 - 2 * !(($2) < 0)];
2302 test_array [0] = 0
2303
2304 ;
2305 return 0;
2306 }
2307 _ACEOF
2308 if ac_fn_c_try_compile "$LINENO"; then :
2309 ac_hi=-1 ac_mid=-1
2310 while :; do
2311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2312 /* end confdefs.h. */
2313 $4
2314 int
2315 main ()
2316 {
2317 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2318 test_array [0] = 0
2319
2320 ;
2321 return 0;
2322 }
2323 _ACEOF
2324 if ac_fn_c_try_compile "$LINENO"; then :
2325 ac_lo=$ac_mid; break
2326 else
2327 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2328 if test $ac_mid -le $ac_hi; then
2329 ac_lo= ac_hi=
2330 break
2331 fi
2332 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2333 fi
2334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2335 done
2336 else
2337 ac_lo= ac_hi=
2338 fi
2339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2340 fi
2341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2342 # Binary search between lo and hi bounds.
2343 while test "x$ac_lo" != "x$ac_hi"; do
2344 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2346 /* end confdefs.h. */
2347 $4
2348 int
2349 main ()
2350 {
2351 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2352 test_array [0] = 0
2353
2354 ;
2355 return 0;
2356 }
2357 _ACEOF
2358 if ac_fn_c_try_compile "$LINENO"; then :
2359 ac_hi=$ac_mid
2360 else
2361 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2362 fi
2363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2364 done
2365 case $ac_lo in #((
2366 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2367 '') ac_retval=1 ;;
2368 esac
2369 else
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2372 $4
2373 static long int longval () { return $2; }
2374 static unsigned long int ulongval () { return $2; }
2375 #include <stdio.h>
2376 #include <stdlib.h>
2377 int
2378 main ()
2379 {
2380
2381 FILE *f = fopen ("conftest.val", "w");
2382 if (! f)
2383 return 1;
2384 if (($2) < 0)
2385 {
2386 long int i = longval ();
2387 if (i != ($2))
2388 return 1;
2389 fprintf (f, "%ld", i);
2390 }
2391 else
2392 {
2393 unsigned long int i = ulongval ();
2394 if (i != ($2))
2395 return 1;
2396 fprintf (f, "%lu", i);
2397 }
2398 /* Do not output a trailing newline, as this causes \r\n confusion
2399 on some platforms. */
2400 return ferror (f) || fclose (f) != 0;
2401
2402 ;
2403 return 0;
2404 }
2405 _ACEOF
2406 if ac_fn_c_try_run "$LINENO"; then :
2407 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2408 else
2409 ac_retval=1
2410 fi
2411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2412 conftest.$ac_objext conftest.beam conftest.$ac_ext
2413 rm -f conftest.val
2414
2415 fi
2416 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2417 return $ac_retval
2418
2419 } # ac_fn_c_compute_int
2420
2421 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2422 # -------------------------------------------
2423 # Tests whether TYPE exists after having included INCLUDES, setting cache
2424 # variable VAR accordingly.
2425 ac_fn_c_check_type ()
2426 {
2427 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2429 $as_echo_n "checking for $2... " >&6; }
2430 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2431 $as_echo_n "(cached) " >&6
2432 else
2433 eval "$3=no"
2434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2435 /* end confdefs.h. */
2436 $4
2437 int
2438 main ()
2439 {
2440 if (sizeof ($2))
2441 return 0;
2442 ;
2443 return 0;
2444 }
2445 _ACEOF
2446 if ac_fn_c_try_compile "$LINENO"; then :
2447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2449 $4
2450 int
2451 main ()
2452 {
2453 if (sizeof (($2)))
2454 return 0;
2455 ;
2456 return 0;
2457 }
2458 _ACEOF
2459 if ac_fn_c_try_compile "$LINENO"; then :
2460
2461 else
2462 eval "$3=yes"
2463 fi
2464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2465 fi
2466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2467 fi
2468 eval ac_res=\$$3
2469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2470 $as_echo "$ac_res" >&6; }
2471 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2472
2473 } # ac_fn_c_check_type
2474 cat >config.log <<_ACEOF
2475 This file contains any messages produced by compilers while
2476 running configure, to aid debugging if configure makes a mistake.
2477
2478 It was created by package-unused $as_me version-unused, which was
2479 generated by GNU Autoconf 2.64. Invocation command line was
2480
2481 $ $0 $@
2482
2483 _ACEOF
2484 exec 5>>config.log
2485 {
2486 cat <<_ASUNAME
2487 ## --------- ##
2488 ## Platform. ##
2489 ## --------- ##
2490
2491 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2492 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2493 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2494 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2495 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2496
2497 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2498 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2499
2500 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2501 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2502 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2503 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2504 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2505 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2506 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2507
2508 _ASUNAME
2509
2510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2511 for as_dir in $PATH
2512 do
2513 IFS=$as_save_IFS
2514 test -z "$as_dir" && as_dir=.
2515 $as_echo "PATH: $as_dir"
2516 done
2517 IFS=$as_save_IFS
2518
2519 } >&5
2520
2521 cat >&5 <<_ACEOF
2522
2523
2524 ## ----------- ##
2525 ## Core tests. ##
2526 ## ----------- ##
2527
2528 _ACEOF
2529
2530
2531 # Keep a trace of the command line.
2532 # Strip out --no-create and --no-recursion so they do not pile up.
2533 # Strip out --silent because we don't want to record it for future runs.
2534 # Also quote any args containing shell meta-characters.
2535 # Make two passes to allow for proper duplicate-argument suppression.
2536 ac_configure_args=
2537 ac_configure_args0=
2538 ac_configure_args1=
2539 ac_must_keep_next=false
2540 for ac_pass in 1 2
2541 do
2542 for ac_arg
2543 do
2544 case $ac_arg in
2545 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2546 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2547 | -silent | --silent | --silen | --sile | --sil)
2548 continue ;;
2549 *\'*)
2550 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2551 esac
2552 case $ac_pass in
2553 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2554 2)
2555 as_fn_append ac_configure_args1 " '$ac_arg'"
2556 if test $ac_must_keep_next = true; then
2557 ac_must_keep_next=false # Got value, back to normal.
2558 else
2559 case $ac_arg in
2560 *=* | --config-cache | -C | -disable-* | --disable-* \
2561 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2562 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2563 | -with-* | --with-* | -without-* | --without-* | --x)
2564 case "$ac_configure_args0 " in
2565 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2566 esac
2567 ;;
2568 -* ) ac_must_keep_next=true ;;
2569 esac
2570 fi
2571 as_fn_append ac_configure_args " '$ac_arg'"
2572 ;;
2573 esac
2574 done
2575 done
2576 { ac_configure_args0=; unset ac_configure_args0;}
2577 { ac_configure_args1=; unset ac_configure_args1;}
2578
2579 # When interrupted or exit'd, cleanup temporary files, and complete
2580 # config.log. We remove comments because anyway the quotes in there
2581 # would cause problems or look ugly.
2582 # WARNING: Use '\'' to represent an apostrophe within the trap.
2583 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2584 trap 'exit_status=$?
2585 # Save into config.log some information that might help in debugging.
2586 {
2587 echo
2588
2589 cat <<\_ASBOX
2590 ## ---------------- ##
2591 ## Cache variables. ##
2592 ## ---------------- ##
2593 _ASBOX
2594 echo
2595 # The following way of writing the cache mishandles newlines in values,
2596 (
2597 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2598 eval ac_val=\$$ac_var
2599 case $ac_val in #(
2600 *${as_nl}*)
2601 case $ac_var in #(
2602 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2603 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2604 esac
2605 case $ac_var in #(
2606 _ | IFS | as_nl) ;; #(
2607 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2608 *) { eval $ac_var=; unset $ac_var;} ;;
2609 esac ;;
2610 esac
2611 done
2612 (set) 2>&1 |
2613 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2614 *${as_nl}ac_space=\ *)
2615 sed -n \
2616 "s/'\''/'\''\\\\'\'''\''/g;
2617 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2618 ;; #(
2619 *)
2620 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2621 ;;
2622 esac |
2623 sort
2624 )
2625 echo
2626
2627 cat <<\_ASBOX
2628 ## ----------------- ##
2629 ## Output variables. ##
2630 ## ----------------- ##
2631 _ASBOX
2632 echo
2633 for ac_var in $ac_subst_vars
2634 do
2635 eval ac_val=\$$ac_var
2636 case $ac_val in
2637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2638 esac
2639 $as_echo "$ac_var='\''$ac_val'\''"
2640 done | sort
2641 echo
2642
2643 if test -n "$ac_subst_files"; then
2644 cat <<\_ASBOX
2645 ## ------------------- ##
2646 ## File substitutions. ##
2647 ## ------------------- ##
2648 _ASBOX
2649 echo
2650 for ac_var in $ac_subst_files
2651 do
2652 eval ac_val=\$$ac_var
2653 case $ac_val in
2654 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2655 esac
2656 $as_echo "$ac_var='\''$ac_val'\''"
2657 done | sort
2658 echo
2659 fi
2660
2661 if test -s confdefs.h; then
2662 cat <<\_ASBOX
2663 ## ----------- ##
2664 ## confdefs.h. ##
2665 ## ----------- ##
2666 _ASBOX
2667 echo
2668 cat confdefs.h
2669 echo
2670 fi
2671 test "$ac_signal" != 0 &&
2672 $as_echo "$as_me: caught signal $ac_signal"
2673 $as_echo "$as_me: exit $exit_status"
2674 } >&5
2675 rm -f core *.core core.conftest.* &&
2676 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2677 exit $exit_status
2678 ' 0
2679 for ac_signal in 1 2 13 15; do
2680 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2681 done
2682 ac_signal=0
2683
2684 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2685 rm -f -r conftest* confdefs.h
2686
2687 $as_echo "/* confdefs.h */" > confdefs.h
2688
2689 # Predefined preprocessor variables.
2690
2691 cat >>confdefs.h <<_ACEOF
2692 #define PACKAGE_NAME "$PACKAGE_NAME"
2693 _ACEOF
2694
2695 cat >>confdefs.h <<_ACEOF
2696 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2697 _ACEOF
2698
2699 cat >>confdefs.h <<_ACEOF
2700 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2701 _ACEOF
2702
2703 cat >>confdefs.h <<_ACEOF
2704 #define PACKAGE_STRING "$PACKAGE_STRING"
2705 _ACEOF
2706
2707 cat >>confdefs.h <<_ACEOF
2708 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2709 _ACEOF
2710
2711 cat >>confdefs.h <<_ACEOF
2712 #define PACKAGE_URL "$PACKAGE_URL"
2713 _ACEOF
2714
2715
2716 # Let the site file select an alternate cache file if it wants to.
2717 # Prefer an explicitly selected file to automatically selected ones.
2718 ac_site_file1=NONE
2719 ac_site_file2=NONE
2720 if test -n "$CONFIG_SITE"; then
2721 ac_site_file1=$CONFIG_SITE
2722 elif test "x$prefix" != xNONE; then
2723 ac_site_file1=$prefix/share/config.site
2724 ac_site_file2=$prefix/etc/config.site
2725 else
2726 ac_site_file1=$ac_default_prefix/share/config.site
2727 ac_site_file2=$ac_default_prefix/etc/config.site
2728 fi
2729 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2730 do
2731 test "x$ac_site_file" = xNONE && continue
2732 if test -r "$ac_site_file"; then
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2734 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2735 sed 's/^/| /' "$ac_site_file" >&5
2736 . "$ac_site_file"
2737 fi
2738 done
2739
2740 if test -r "$cache_file"; then
2741 # Some versions of bash will fail to source /dev/null (special
2742 # files actually), so we avoid doing that.
2743 if test -f "$cache_file"; then
2744 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2745 $as_echo "$as_me: loading cache $cache_file" >&6;}
2746 case $cache_file in
2747 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2748 *) . "./$cache_file";;
2749 esac
2750 fi
2751 else
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2753 $as_echo "$as_me: creating cache $cache_file" >&6;}
2754 >$cache_file
2755 fi
2756
2757 # Check that the precious variables saved in the cache have kept the same
2758 # value.
2759 ac_cache_corrupted=false
2760 for ac_var in $ac_precious_vars; do
2761 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2762 eval ac_new_set=\$ac_env_${ac_var}_set
2763 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2764 eval ac_new_val=\$ac_env_${ac_var}_value
2765 case $ac_old_set,$ac_new_set in
2766 set,)
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2768 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2769 ac_cache_corrupted=: ;;
2770 ,set)
2771 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2772 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2773 ac_cache_corrupted=: ;;
2774 ,);;
2775 *)
2776 if test "x$ac_old_val" != "x$ac_new_val"; then
2777 # differences in whitespace do not lead to failure.
2778 ac_old_val_w=`echo x $ac_old_val`
2779 ac_new_val_w=`echo x $ac_new_val`
2780 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2782 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2783 ac_cache_corrupted=:
2784 else
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2786 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2787 eval $ac_var=\$ac_old_val
2788 fi
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2790 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2791 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2792 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2793 fi;;
2794 esac
2795 # Pass precious variables to config.status.
2796 if test "$ac_new_set" = set; then
2797 case $ac_new_val in
2798 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2799 *) ac_arg=$ac_var=$ac_new_val ;;
2800 esac
2801 case " $ac_configure_args " in
2802 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2803 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2804 esac
2805 fi
2806 done
2807 if $ac_cache_corrupted; then
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2809 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2811 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2812 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2813 fi
2814 ## -------------------- ##
2815 ## Main body of script. ##
2816 ## -------------------- ##
2817
2818 ac_ext=c
2819 ac_cpp='$CPP $CPPFLAGS'
2820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2823
2824
2825
2826
2827
2828
2829 ac_config_headers="$ac_config_headers config.h"
2830
2831
2832 # This works around the fact that libtool configuration may change LD
2833 # for this particular configuration, but some shells, instead of
2834 # keeping the changes in LD private, export them just because LD is
2835 # exported. Only used at the end of this file.
2836 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2837
2838 # Find the rest of the source tree framework.
2839 # Default to --enable-multilib
2840 # Check whether --enable-multilib was given.
2841 if test "${enable_multilib+set}" = set; then :
2842 enableval=$enable_multilib; case "$enableval" in
2843 yes) multilib=yes ;;
2844 no) multilib=no ;;
2845 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2846 esac
2847 else
2848 multilib=yes
2849 fi
2850
2851
2852 # We may get other options which we leave undocumented:
2853 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2854 # See config-ml.in if you want the gory details.
2855
2856 if test "$srcdir" = "."; then
2857 if test "$with_target_subdir" != "."; then
2858 multi_basedir="$srcdir/$with_multisrctop../.."
2859 else
2860 multi_basedir="$srcdir/$with_multisrctop.."
2861 fi
2862 else
2863 multi_basedir="$srcdir/.."
2864 fi
2865
2866
2867 # Even if the default multilib is not a cross compilation,
2868 # it may be that some of the other multilibs are.
2869 if test $cross_compiling = no && test $multilib = yes \
2870 && test "x${with_multisubdir}" != x ; then
2871 cross_compiling=maybe
2872 fi
2873
2874 ac_config_commands="$ac_config_commands default-1"
2875
2876
2877 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2878 #
2879 # You will slowly go insane if you do not grok the following fact: when
2880 # building v3 as part of the compiler, the top-level /target/ becomes the
2881 # library's /host/. configure then causes --target to default to --host,
2882 # exactly like any other package using autoconf. Therefore, 'target' and
2883 # 'host' will always be the same. This makes sense both for native and
2884 # cross compilers, just think about it for a little while. :-)
2885 #
2886 # Also, if v3 is being configured as part of a cross compiler, the top-level
2887 # configure script will pass the "real" host as $with_cross_host.
2888 #
2889 # Do not delete or change the following two lines. For why, see
2890 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2891 ac_aux_dir=
2892 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2893 for ac_t in install-sh install.sh shtool; do
2894 if test -f "$ac_dir/$ac_t"; then
2895 ac_aux_dir=$ac_dir
2896 ac_install_sh="$ac_aux_dir/$ac_t -c"
2897 break 2
2898 fi
2899 done
2900 done
2901 if test -z "$ac_aux_dir"; then
2902 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2903 fi
2904
2905 # These three variables are undocumented and unsupported,
2906 # and are intended to be withdrawn in a future Autoconf release.
2907 # They can cause serious problems if a builder's source tree is in a directory
2908 # whose full name contains unusual characters.
2909 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2910 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2911 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2912
2913
2914 # Make sure we can run config.sub.
2915 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2916 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2917
2918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2919 $as_echo_n "checking build system type... " >&6; }
2920 if test "${ac_cv_build+set}" = set; then :
2921 $as_echo_n "(cached) " >&6
2922 else
2923 ac_build_alias=$build_alias
2924 test "x$ac_build_alias" = x &&
2925 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2926 test "x$ac_build_alias" = x &&
2927 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2928 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2929 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2930
2931 fi
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2933 $as_echo "$ac_cv_build" >&6; }
2934 case $ac_cv_build in
2935 *-*-*) ;;
2936 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2937 esac
2938 build=$ac_cv_build
2939 ac_save_IFS=$IFS; IFS='-'
2940 set x $ac_cv_build
2941 shift
2942 build_cpu=$1
2943 build_vendor=$2
2944 shift; shift
2945 # Remember, the first character of IFS is used to create $*,
2946 # except with old shells:
2947 build_os=$*
2948 IFS=$ac_save_IFS
2949 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2950
2951
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2953 $as_echo_n "checking host system type... " >&6; }
2954 if test "${ac_cv_host+set}" = set; then :
2955 $as_echo_n "(cached) " >&6
2956 else
2957 if test "x$host_alias" = x; then
2958 ac_cv_host=$ac_cv_build
2959 else
2960 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2961 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2962 fi
2963
2964 fi
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2966 $as_echo "$ac_cv_host" >&6; }
2967 case $ac_cv_host in
2968 *-*-*) ;;
2969 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2970 esac
2971 host=$ac_cv_host
2972 ac_save_IFS=$IFS; IFS='-'
2973 set x $ac_cv_host
2974 shift
2975 host_cpu=$1
2976 host_vendor=$2
2977 shift; shift
2978 # Remember, the first character of IFS is used to create $*,
2979 # except with old shells:
2980 host_os=$*
2981 IFS=$ac_save_IFS
2982 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2983
2984
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2986 $as_echo_n "checking target system type... " >&6; }
2987 if test "${ac_cv_target+set}" = set; then :
2988 $as_echo_n "(cached) " >&6
2989 else
2990 if test "x$target_alias" = x; then
2991 ac_cv_target=$ac_cv_host
2992 else
2993 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2994 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2995 fi
2996
2997 fi
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2999 $as_echo "$ac_cv_target" >&6; }
3000 case $ac_cv_target in
3001 *-*-*) ;;
3002 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3003 esac
3004 target=$ac_cv_target
3005 ac_save_IFS=$IFS; IFS='-'
3006 set x $ac_cv_target
3007 shift
3008 target_cpu=$1
3009 target_vendor=$2
3010 shift; shift
3011 # Remember, the first character of IFS is used to create $*,
3012 # except with old shells:
3013 target_os=$*
3014 IFS=$ac_save_IFS
3015 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3016
3017
3018 # The aliases save the names the user supplied, while $host etc.
3019 # will get canonicalized.
3020 test -n "$target_alias" &&
3021 test "$program_prefix$program_suffix$program_transform_name" = \
3022 NONENONEs,x,x, &&
3023 program_prefix=${target_alias}-
3024
3025 target_alias=${target_alias-$host_alias}
3026
3027 # Handy for debugging:
3028 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3029
3030 if test "$build" != "$host"; then
3031 # We are being configured with some form of cross compiler.
3032 GLIBCXX_IS_NATIVE=false
3033 case "$host","$target" in
3034 # Darwin crosses can use the host system's libraries and headers,
3035 # because of the fat library support. Of course, it must be the
3036 # same version of Darwin on both sides. Allow the user to
3037 # just say --target=foo-darwin without a version number to mean
3038 # "the version on this system".
3039 *-*-darwin*,*-*-darwin*)
3040 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3041 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3042 if test $hostos = $targetos -o $targetos = darwin ; then
3043 GLIBCXX_IS_NATIVE=true
3044 fi
3045 ;;
3046
3047 *)
3048
3049 ;;
3050 esac
3051 else
3052 GLIBCXX_IS_NATIVE=true
3053 fi
3054
3055 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3056 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3057 # 1.x: minimum required version
3058 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3059 # of other PACKAGE_* variables will, however, and there's nothing
3060 # we can do about that; they come from AC_INIT).
3061 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3062 # file in the top srcdir, etc, etc), so stop complaining.
3063 # no-dependencies: turns off auto dependency generation (just for now)
3064 # no-dist: we don't want 'dist' and related rules.
3065 # -Wall: turns on all automake warnings...
3066 # -Wno-portability: ...except this one, since GNU make is now required.
3067 am__api_version='1.11'
3068
3069 # Find a good install program. We prefer a C program (faster),
3070 # so one script is as good as another. But avoid the broken or
3071 # incompatible versions:
3072 # SysV /etc/install, /usr/sbin/install
3073 # SunOS /usr/etc/install
3074 # IRIX /sbin/install
3075 # AIX /bin/install
3076 # AmigaOS /C/install, which installs bootblocks on floppy discs
3077 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3078 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3079 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3080 # OS/2's system install, which has a completely different semantic
3081 # ./install, which can be erroneously created by make from ./install.sh.
3082 # Reject install programs that cannot install multiple files.
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3084 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3085 if test -z "$INSTALL"; then
3086 if test "${ac_cv_path_install+set}" = set; then :
3087 $as_echo_n "(cached) " >&6
3088 else
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3090 for as_dir in $PATH
3091 do
3092 IFS=$as_save_IFS
3093 test -z "$as_dir" && as_dir=.
3094 # Account for people who put trailing slashes in PATH elements.
3095 case $as_dir/ in #((
3096 ./ | .// | /[cC]/* | \
3097 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3098 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3099 /usr/ucb/* ) ;;
3100 *)
3101 # OSF1 and SCO ODT 3.0 have their own names for install.
3102 # Don't use installbsd from OSF since it installs stuff as root
3103 # by default.
3104 for ac_prog in ginstall scoinst install; do
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3107 if test $ac_prog = install &&
3108 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3109 # AIX install. It has an incompatible calling convention.
3110 :
3111 elif test $ac_prog = install &&
3112 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3113 # program-specific install script used by HP pwplus--don't use.
3114 :
3115 else
3116 rm -rf conftest.one conftest.two conftest.dir
3117 echo one > conftest.one
3118 echo two > conftest.two
3119 mkdir conftest.dir
3120 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3121 test -s conftest.one && test -s conftest.two &&
3122 test -s conftest.dir/conftest.one &&
3123 test -s conftest.dir/conftest.two
3124 then
3125 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3126 break 3
3127 fi
3128 fi
3129 fi
3130 done
3131 done
3132 ;;
3133 esac
3134
3135 done
3136 IFS=$as_save_IFS
3137
3138 rm -rf conftest.one conftest.two conftest.dir
3139
3140 fi
3141 if test "${ac_cv_path_install+set}" = set; then
3142 INSTALL=$ac_cv_path_install
3143 else
3144 # As a last resort, use the slow shell script. Don't cache a
3145 # value for INSTALL within a source directory, because that will
3146 # break other packages using the cache if that directory is
3147 # removed, or if the value is a relative name.
3148 INSTALL=$ac_install_sh
3149 fi
3150 fi
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3152 $as_echo "$INSTALL" >&6; }
3153
3154 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3155 # It thinks the first close brace ends the variable substitution.
3156 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3157
3158 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3159
3160 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3161
3162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3163 $as_echo_n "checking whether build environment is sane... " >&6; }
3164 # Just in case
3165 sleep 1
3166 echo timestamp > conftest.file
3167 # Reject unsafe characters in $srcdir or the absolute working directory
3168 # name. Accept space and tab only in the latter.
3169 am_lf='
3170 '
3171 case `pwd` in
3172 *[\\\"\#\$\&\'\`$am_lf]*)
3173 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3174 esac
3175 case $srcdir in
3176 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3177 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3178 esac
3179
3180 # Do `set' in a subshell so we don't clobber the current shell's
3181 # arguments. Must try -L first in case configure is actually a
3182 # symlink; some systems play weird games with the mod time of symlinks
3183 # (eg FreeBSD returns the mod time of the symlink's containing
3184 # directory).
3185 if (
3186 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3187 if test "$*" = "X"; then
3188 # -L didn't work.
3189 set X `ls -t "$srcdir/configure" conftest.file`
3190 fi
3191 rm -f conftest.file
3192 if test "$*" != "X $srcdir/configure conftest.file" \
3193 && test "$*" != "X conftest.file $srcdir/configure"; then
3194
3195 # If neither matched, then we have a broken ls. This can happen
3196 # if, for instance, CONFIG_SHELL is bash and it inherits a
3197 # broken ls alias from the environment. This has actually
3198 # happened. Such a system could not be considered "sane".
3199 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3200 alias in your environment" "$LINENO" 5
3201 fi
3202
3203 test "$2" = conftest.file
3204 )
3205 then
3206 # Ok.
3207 :
3208 else
3209 as_fn_error "newly created file is older than distributed files!
3210 Check your system clock" "$LINENO" 5
3211 fi
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3213 $as_echo "yes" >&6; }
3214 test "$program_prefix" != NONE &&
3215 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3216 # Use a double $ so make ignores it.
3217 test "$program_suffix" != NONE &&
3218 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3219 # Double any \ or $.
3220 # By default was `s,x,x', remove it if useless.
3221 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3222 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3223
3224 # expand $ac_aux_dir to an absolute path
3225 am_aux_dir=`cd $ac_aux_dir && pwd`
3226
3227 if test x"${MISSING+set}" != xset; then
3228 case $am_aux_dir in
3229 *\ * | *\ *)
3230 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3231 *)
3232 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3233 esac
3234 fi
3235 # Use eval to expand $SHELL
3236 if eval "$MISSING --run true"; then
3237 am_missing_run="$MISSING --run "
3238 else
3239 am_missing_run=
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3241 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3242 fi
3243
3244 if test x"${install_sh}" != xset; then
3245 case $am_aux_dir in
3246 *\ * | *\ *)
3247 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3248 *)
3249 install_sh="\${SHELL} $am_aux_dir/install-sh"
3250 esac
3251 fi
3252
3253 # Installed binaries are usually stripped using `strip' when the user
3254 # run `make install-strip'. However `strip' might not be the right
3255 # tool to use in cross-compilation environments, therefore Automake
3256 # will honor the `STRIP' environment variable to overrule this program.
3257 if test "$cross_compiling" != no; then
3258 if test -n "$ac_tool_prefix"; then
3259 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}strip; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if test "${ac_cv_prog_STRIP+set}" = set; then :
3264 $as_echo_n "(cached) " >&6
3265 else
3266 if test -n "$STRIP"; then
3267 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3268 else
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3270 for as_dir in $PATH
3271 do
3272 IFS=$as_save_IFS
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3276 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3278 break 2
3279 fi
3280 done
3281 done
3282 IFS=$as_save_IFS
3283
3284 fi
3285 fi
3286 STRIP=$ac_cv_prog_STRIP
3287 if test -n "$STRIP"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3289 $as_echo "$STRIP" >&6; }
3290 else
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3293 fi
3294
3295
3296 fi
3297 if test -z "$ac_cv_prog_STRIP"; then
3298 ac_ct_STRIP=$STRIP
3299 # Extract the first word of "strip", so it can be a program name with args.
3300 set dummy strip; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3304 $as_echo_n "(cached) " >&6
3305 else
3306 if test -n "$ac_ct_STRIP"; then
3307 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3308 else
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3310 for as_dir in $PATH
3311 do
3312 IFS=$as_save_IFS
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3316 ac_cv_prog_ac_ct_STRIP="strip"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3318 break 2
3319 fi
3320 done
3321 done
3322 IFS=$as_save_IFS
3323
3324 fi
3325 fi
3326 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3327 if test -n "$ac_ct_STRIP"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3329 $as_echo "$ac_ct_STRIP" >&6; }
3330 else
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3333 fi
3334
3335 if test "x$ac_ct_STRIP" = x; then
3336 STRIP=":"
3337 else
3338 case $cross_compiling:$ac_tool_warned in
3339 yes:)
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3343 esac
3344 STRIP=$ac_ct_STRIP
3345 fi
3346 else
3347 STRIP="$ac_cv_prog_STRIP"
3348 fi
3349
3350 fi
3351 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3352
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3354 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3355 if test -z "$MKDIR_P"; then
3356 if test "${ac_cv_path_mkdir+set}" = set; then :
3357 $as_echo_n "(cached) " >&6
3358 else
3359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3360 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3361 do
3362 IFS=$as_save_IFS
3363 test -z "$as_dir" && as_dir=.
3364 for ac_prog in mkdir gmkdir; do
3365 for ac_exec_ext in '' $ac_executable_extensions; do
3366 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3367 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3368 'mkdir (GNU coreutils) '* | \
3369 'mkdir (coreutils) '* | \
3370 'mkdir (fileutils) '4.1*)
3371 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3372 break 3;;
3373 esac
3374 done
3375 done
3376 done
3377 IFS=$as_save_IFS
3378
3379 fi
3380
3381 if test "${ac_cv_path_mkdir+set}" = set; then
3382 MKDIR_P="$ac_cv_path_mkdir -p"
3383 else
3384 # As a last resort, use the slow shell script. Don't cache a
3385 # value for MKDIR_P within a source directory, because that will
3386 # break other packages using the cache if that directory is
3387 # removed, or if the value is a relative name.
3388 test -d ./--version && rmdir ./--version
3389 MKDIR_P="$ac_install_sh -d"
3390 fi
3391 fi
3392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3393 $as_echo "$MKDIR_P" >&6; }
3394
3395 mkdir_p="$MKDIR_P"
3396 case $mkdir_p in
3397 [\\/$]* | ?:[\\/]*) ;;
3398 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3399 esac
3400
3401 for ac_prog in gawk mawk nawk awk
3402 do
3403 # Extract the first word of "$ac_prog", so it can be a program name with args.
3404 set dummy $ac_prog; ac_word=$2
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3406 $as_echo_n "checking for $ac_word... " >&6; }
3407 if test "${ac_cv_prog_AWK+set}" = set; then :
3408 $as_echo_n "(cached) " >&6
3409 else
3410 if test -n "$AWK"; then
3411 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3412 else
3413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3414 for as_dir in $PATH
3415 do
3416 IFS=$as_save_IFS
3417 test -z "$as_dir" && as_dir=.
3418 for ac_exec_ext in '' $ac_executable_extensions; do
3419 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3420 ac_cv_prog_AWK="$ac_prog"
3421 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 break 2
3423 fi
3424 done
3425 done
3426 IFS=$as_save_IFS
3427
3428 fi
3429 fi
3430 AWK=$ac_cv_prog_AWK
3431 if test -n "$AWK"; then
3432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3433 $as_echo "$AWK" >&6; }
3434 else
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3436 $as_echo "no" >&6; }
3437 fi
3438
3439
3440 test -n "$AWK" && break
3441 done
3442
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3444 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3445 set x ${MAKE-make}
3446 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3447 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3448 $as_echo_n "(cached) " >&6
3449 else
3450 cat >conftest.make <<\_ACEOF
3451 SHELL = /bin/sh
3452 all:
3453 @echo '@@@%%%=$(MAKE)=@@@%%%'
3454 _ACEOF
3455 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3456 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3457 *@@@%%%=?*=@@@%%%*)
3458 eval ac_cv_prog_make_${ac_make}_set=yes;;
3459 *)
3460 eval ac_cv_prog_make_${ac_make}_set=no;;
3461 esac
3462 rm -f conftest.make
3463 fi
3464 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3466 $as_echo "yes" >&6; }
3467 SET_MAKE=
3468 else
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3471 SET_MAKE="MAKE=${MAKE-make}"
3472 fi
3473
3474 rm -rf .tst 2>/dev/null
3475 mkdir .tst 2>/dev/null
3476 if test -d .tst; then
3477 am__leading_dot=.
3478 else
3479 am__leading_dot=_
3480 fi
3481 rmdir .tst 2>/dev/null
3482
3483 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3484 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3485 # is not polluted with repeated "-I."
3486 am__isrc=' -I$(srcdir)'
3487 # test to see if srcdir already configured
3488 if test -f $srcdir/config.status; then
3489 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3490 fi
3491 fi
3492
3493 # test whether we have cygpath
3494 if test -z "$CYGPATH_W"; then
3495 if (cygpath --version) >/dev/null 2>/dev/null; then
3496 CYGPATH_W='cygpath -w'
3497 else
3498 CYGPATH_W=echo
3499 fi
3500 fi
3501
3502
3503 # Define the identity of the package.
3504 PACKAGE='libstdc++'
3505 VERSION='version-unused'
3506
3507
3508 # Some tools Automake needs.
3509
3510 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3511
3512
3513 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3514
3515
3516 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3517
3518
3519 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3520
3521
3522 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3523
3524 # We need awk for the "check" target. The system "awk" is bad on
3525 # some platforms.
3526 # Always define AMTAR for backward compatibility.
3527
3528 AMTAR=${AMTAR-"${am_missing_run}tar"}
3529
3530 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3531
3532
3533
3534
3535
3536
3537
3538
3539 # -fno-builtin must be present here so that a non-conflicting form of
3540 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3541
3542 save_CXXFLAGS="$CXXFLAGS"
3543 CXXFLAGS="$CXXFLAGS -fno-builtin"
3544 ac_ext=c
3545 ac_cpp='$CPP $CPPFLAGS'
3546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 if test -n "$ac_tool_prefix"; then
3550 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3551 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3553 $as_echo_n "checking for $ac_word... " >&6; }
3554 if test "${ac_cv_prog_CC+set}" = set; then :
3555 $as_echo_n "(cached) " >&6
3556 else
3557 if test -n "$CC"; then
3558 ac_cv_prog_CC="$CC" # Let the user override the test.
3559 else
3560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3561 for as_dir in $PATH
3562 do
3563 IFS=$as_save_IFS
3564 test -z "$as_dir" && as_dir=.
3565 for ac_exec_ext in '' $ac_executable_extensions; do
3566 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3567 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3568 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3569 break 2
3570 fi
3571 done
3572 done
3573 IFS=$as_save_IFS
3574
3575 fi
3576 fi
3577 CC=$ac_cv_prog_CC
3578 if test -n "$CC"; then
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3580 $as_echo "$CC" >&6; }
3581 else
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3583 $as_echo "no" >&6; }
3584 fi
3585
3586
3587 fi
3588 if test -z "$ac_cv_prog_CC"; then
3589 ac_ct_CC=$CC
3590 # Extract the first word of "gcc", so it can be a program name with args.
3591 set dummy gcc; ac_word=$2
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3593 $as_echo_n "checking for $ac_word... " >&6; }
3594 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3595 $as_echo_n "(cached) " >&6
3596 else
3597 if test -n "$ac_ct_CC"; then
3598 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3599 else
3600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3601 for as_dir in $PATH
3602 do
3603 IFS=$as_save_IFS
3604 test -z "$as_dir" && as_dir=.
3605 for ac_exec_ext in '' $ac_executable_extensions; do
3606 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3607 ac_cv_prog_ac_ct_CC="gcc"
3608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3609 break 2
3610 fi
3611 done
3612 done
3613 IFS=$as_save_IFS
3614
3615 fi
3616 fi
3617 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3618 if test -n "$ac_ct_CC"; then
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3620 $as_echo "$ac_ct_CC" >&6; }
3621 else
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3623 $as_echo "no" >&6; }
3624 fi
3625
3626 if test "x$ac_ct_CC" = x; then
3627 CC=""
3628 else
3629 case $cross_compiling:$ac_tool_warned in
3630 yes:)
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3632 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3633 ac_tool_warned=yes ;;
3634 esac
3635 CC=$ac_ct_CC
3636 fi
3637 else
3638 CC="$ac_cv_prog_CC"
3639 fi
3640
3641 if test -z "$CC"; then
3642 if test -n "$ac_tool_prefix"; then
3643 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3644 set dummy ${ac_tool_prefix}cc; ac_word=$2
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3646 $as_echo_n "checking for $ac_word... " >&6; }
3647 if test "${ac_cv_prog_CC+set}" = set; then :
3648 $as_echo_n "(cached) " >&6
3649 else
3650 if test -n "$CC"; then
3651 ac_cv_prog_CC="$CC" # Let the user override the test.
3652 else
3653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3654 for as_dir in $PATH
3655 do
3656 IFS=$as_save_IFS
3657 test -z "$as_dir" && as_dir=.
3658 for ac_exec_ext in '' $ac_executable_extensions; do
3659 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3660 ac_cv_prog_CC="${ac_tool_prefix}cc"
3661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3662 break 2
3663 fi
3664 done
3665 done
3666 IFS=$as_save_IFS
3667
3668 fi
3669 fi
3670 CC=$ac_cv_prog_CC
3671 if test -n "$CC"; then
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3673 $as_echo "$CC" >&6; }
3674 else
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3676 $as_echo "no" >&6; }
3677 fi
3678
3679
3680 fi
3681 fi
3682 if test -z "$CC"; then
3683 # Extract the first word of "cc", so it can be a program name with args.
3684 set dummy cc; ac_word=$2
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3686 $as_echo_n "checking for $ac_word... " >&6; }
3687 if test "${ac_cv_prog_CC+set}" = set; then :
3688 $as_echo_n "(cached) " >&6
3689 else
3690 if test -n "$CC"; then
3691 ac_cv_prog_CC="$CC" # Let the user override the test.
3692 else
3693 ac_prog_rejected=no
3694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3695 for as_dir in $PATH
3696 do
3697 IFS=$as_save_IFS
3698 test -z "$as_dir" && as_dir=.
3699 for ac_exec_ext in '' $ac_executable_extensions; do
3700 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3701 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3702 ac_prog_rejected=yes
3703 continue
3704 fi
3705 ac_cv_prog_CC="cc"
3706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3707 break 2
3708 fi
3709 done
3710 done
3711 IFS=$as_save_IFS
3712
3713 if test $ac_prog_rejected = yes; then
3714 # We found a bogon in the path, so make sure we never use it.
3715 set dummy $ac_cv_prog_CC
3716 shift
3717 if test $# != 0; then
3718 # We chose a different compiler from the bogus one.
3719 # However, it has the same basename, so the bogon will be chosen
3720 # first if we set CC to just the basename; use the full file name.
3721 shift
3722 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3723 fi
3724 fi
3725 fi
3726 fi
3727 CC=$ac_cv_prog_CC
3728 if test -n "$CC"; then
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3730 $as_echo "$CC" >&6; }
3731 else
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3733 $as_echo "no" >&6; }
3734 fi
3735
3736
3737 fi
3738 if test -z "$CC"; then
3739 if test -n "$ac_tool_prefix"; then
3740 for ac_prog in cl.exe
3741 do
3742 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3743 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3745 $as_echo_n "checking for $ac_word... " >&6; }
3746 if test "${ac_cv_prog_CC+set}" = set; then :
3747 $as_echo_n "(cached) " >&6
3748 else
3749 if test -n "$CC"; then
3750 ac_cv_prog_CC="$CC" # Let the user override the test.
3751 else
3752 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3753 for as_dir in $PATH
3754 do
3755 IFS=$as_save_IFS
3756 test -z "$as_dir" && as_dir=.
3757 for ac_exec_ext in '' $ac_executable_extensions; do
3758 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3759 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3760 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3761 break 2
3762 fi
3763 done
3764 done
3765 IFS=$as_save_IFS
3766
3767 fi
3768 fi
3769 CC=$ac_cv_prog_CC
3770 if test -n "$CC"; then
3771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3772 $as_echo "$CC" >&6; }
3773 else
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3775 $as_echo "no" >&6; }
3776 fi
3777
3778
3779 test -n "$CC" && break
3780 done
3781 fi
3782 if test -z "$CC"; then
3783 ac_ct_CC=$CC
3784 for ac_prog in cl.exe
3785 do
3786 # Extract the first word of "$ac_prog", so it can be a program name with args.
3787 set dummy $ac_prog; ac_word=$2
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3789 $as_echo_n "checking for $ac_word... " >&6; }
3790 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3791 $as_echo_n "(cached) " >&6
3792 else
3793 if test -n "$ac_ct_CC"; then
3794 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3795 else
3796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3797 for as_dir in $PATH
3798 do
3799 IFS=$as_save_IFS
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 ac_cv_prog_ac_ct_CC="$ac_prog"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3805 break 2
3806 fi
3807 done
3808 done
3809 IFS=$as_save_IFS
3810
3811 fi
3812 fi
3813 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3814 if test -n "$ac_ct_CC"; then
3815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3816 $as_echo "$ac_ct_CC" >&6; }
3817 else
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3819 $as_echo "no" >&6; }
3820 fi
3821
3822
3823 test -n "$ac_ct_CC" && break
3824 done
3825
3826 if test "x$ac_ct_CC" = x; then
3827 CC=""
3828 else
3829 case $cross_compiling:$ac_tool_warned in
3830 yes:)
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3832 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3833 ac_tool_warned=yes ;;
3834 esac
3835 CC=$ac_ct_CC
3836 fi
3837 fi
3838
3839 fi
3840
3841
3842 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3843 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3844 as_fn_error "no acceptable C compiler found in \$PATH
3845 See \`config.log' for more details." "$LINENO" 5; }
3846
3847 # Provide some information about the compiler.
3848 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3849 set X $ac_compile
3850 ac_compiler=$2
3851 for ac_option in --version -v -V -qversion; do
3852 { { ac_try="$ac_compiler $ac_option >&5"
3853 case "(($ac_try" in
3854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3855 *) ac_try_echo=$ac_try;;
3856 esac
3857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3858 $as_echo "$ac_try_echo"; } >&5
3859 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3860 ac_status=$?
3861 if test -s conftest.err; then
3862 sed '10a\
3863 ... rest of stderr output deleted ...
3864 10q' conftest.err >conftest.er1
3865 cat conftest.er1 >&5
3866 rm -f conftest.er1 conftest.err
3867 fi
3868 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3869 test $ac_status = 0; }
3870 done
3871
3872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3873 /* end confdefs.h. */
3874
3875 int
3876 main ()
3877 {
3878
3879 ;
3880 return 0;
3881 }
3882 _ACEOF
3883 # FIXME: Cleanup?
3884 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3885 (eval $ac_link) 2>&5
3886 ac_status=$?
3887 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3888 test $ac_status = 0; }; then :
3889 gcc_no_link=no
3890 else
3891 gcc_no_link=yes
3892 fi
3893 if test x$gcc_no_link = xyes; then
3894 # Setting cross_compile will disable run tests; it will
3895 # also disable AC_CHECK_FILE but that's generally
3896 # correct if we can't link.
3897 cross_compiling=yes
3898 EXEEXT=
3899 else
3900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3901 /* end confdefs.h. */
3902
3903 int
3904 main ()
3905 {
3906
3907 ;
3908 return 0;
3909 }
3910 _ACEOF
3911 ac_clean_files_save=$ac_clean_files
3912 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3913 # Try to create an executable without -o first, disregard a.out.
3914 # It will help us diagnose broken compilers, and finding out an intuition
3915 # of exeext.
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3917 $as_echo_n "checking for C compiler default output file name... " >&6; }
3918 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3919
3920 # The possible output files:
3921 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3922
3923 ac_rmfiles=
3924 for ac_file in $ac_files
3925 do
3926 case $ac_file in
3927 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3928 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3929 esac
3930 done
3931 rm -f $ac_rmfiles
3932
3933 if { { ac_try="$ac_link_default"
3934 case "(($ac_try" in
3935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3936 *) ac_try_echo=$ac_try;;
3937 esac
3938 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3939 $as_echo "$ac_try_echo"; } >&5
3940 (eval "$ac_link_default") 2>&5
3941 ac_status=$?
3942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3943 test $ac_status = 0; }; then :
3944 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3945 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3946 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3947 # so that the user can short-circuit this test for compilers unknown to
3948 # Autoconf.
3949 for ac_file in $ac_files ''
3950 do
3951 test -f "$ac_file" || continue
3952 case $ac_file in
3953 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3954 ;;
3955 [ab].out )
3956 # We found the default executable, but exeext='' is most
3957 # certainly right.
3958 break;;
3959 *.* )
3960 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3961 then :; else
3962 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3963 fi
3964 # We set ac_cv_exeext here because the later test for it is not
3965 # safe: cross compilers may not add the suffix if given an `-o'
3966 # argument, so we may need to know it at that point already.
3967 # Even if this section looks crufty: it has the advantage of
3968 # actually working.
3969 break;;
3970 * )
3971 break;;
3972 esac
3973 done
3974 test "$ac_cv_exeext" = no && ac_cv_exeext=
3975
3976 else
3977 ac_file=''
3978 fi
3979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3980 $as_echo "$ac_file" >&6; }
3981 if test -z "$ac_file"; then :
3982 $as_echo "$as_me: failed program was:" >&5
3983 sed 's/^/| /' conftest.$ac_ext >&5
3984
3985 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3986 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3987 { as_fn_set_status 77
3988 as_fn_error "C compiler cannot create executables
3989 See \`config.log' for more details." "$LINENO" 5; }; }
3990 fi
3991 ac_exeext=$ac_cv_exeext
3992
3993 # Check that the compiler produces executables we can run. If not, either
3994 # the compiler is broken, or we cross compile.
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3996 $as_echo_n "checking whether the C compiler works... " >&6; }
3997 # If not cross compiling, check that we can run a simple program.
3998 if test "$cross_compiling" != yes; then
3999 if { ac_try='./$ac_file'
4000 { { case "(($ac_try" in
4001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4002 *) ac_try_echo=$ac_try;;
4003 esac
4004 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4005 $as_echo "$ac_try_echo"; } >&5
4006 (eval "$ac_try") 2>&5
4007 ac_status=$?
4008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4009 test $ac_status = 0; }; }; then
4010 cross_compiling=no
4011 else
4012 if test "$cross_compiling" = maybe; then
4013 cross_compiling=yes
4014 else
4015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4017 as_fn_error "cannot run C compiled programs.
4018 If you meant to cross compile, use \`--host'.
4019 See \`config.log' for more details." "$LINENO" 5; }
4020 fi
4021 fi
4022 fi
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4024 $as_echo "yes" >&6; }
4025
4026 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4027 ac_clean_files=$ac_clean_files_save
4028 # Check that the compiler produces executables we can run. If not, either
4029 # the compiler is broken, or we cross compile.
4030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4031 $as_echo_n "checking whether we are cross compiling... " >&6; }
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4033 $as_echo "$cross_compiling" >&6; }
4034
4035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4036 $as_echo_n "checking for suffix of executables... " >&6; }
4037 if { { ac_try="$ac_link"
4038 case "(($ac_try" in
4039 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4040 *) ac_try_echo=$ac_try;;
4041 esac
4042 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4043 $as_echo "$ac_try_echo"; } >&5
4044 (eval "$ac_link") 2>&5
4045 ac_status=$?
4046 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4047 test $ac_status = 0; }; then :
4048 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4049 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4050 # work properly (i.e., refer to `conftest.exe'), while it won't with
4051 # `rm'.
4052 for ac_file in conftest.exe conftest conftest.*; do
4053 test -f "$ac_file" || continue
4054 case $ac_file in
4055 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4056 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4057 break;;
4058 * ) break;;
4059 esac
4060 done
4061 else
4062 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4063 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4064 as_fn_error "cannot compute suffix of executables: cannot compile and link
4065 See \`config.log' for more details." "$LINENO" 5; }
4066 fi
4067 rm -f conftest$ac_cv_exeext
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4069 $as_echo "$ac_cv_exeext" >&6; }
4070
4071 rm -f conftest.$ac_ext
4072 EXEEXT=$ac_cv_exeext
4073 ac_exeext=$EXEEXT
4074 fi
4075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4076 $as_echo_n "checking for suffix of object files... " >&6; }
4077 if test "${ac_cv_objext+set}" = set; then :
4078 $as_echo_n "(cached) " >&6
4079 else
4080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4081 /* end confdefs.h. */
4082
4083 int
4084 main ()
4085 {
4086
4087 ;
4088 return 0;
4089 }
4090 _ACEOF
4091 rm -f conftest.o conftest.obj
4092 if { { ac_try="$ac_compile"
4093 case "(($ac_try" in
4094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4095 *) ac_try_echo=$ac_try;;
4096 esac
4097 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4098 $as_echo "$ac_try_echo"; } >&5
4099 (eval "$ac_compile") 2>&5
4100 ac_status=$?
4101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4102 test $ac_status = 0; }; then :
4103 for ac_file in conftest.o conftest.obj conftest.*; do
4104 test -f "$ac_file" || continue;
4105 case $ac_file in
4106 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4107 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4108 break;;
4109 esac
4110 done
4111 else
4112 $as_echo "$as_me: failed program was:" >&5
4113 sed 's/^/| /' conftest.$ac_ext >&5
4114
4115 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4116 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4117 as_fn_error "cannot compute suffix of object files: cannot compile
4118 See \`config.log' for more details." "$LINENO" 5; }
4119 fi
4120 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4121 fi
4122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4123 $as_echo "$ac_cv_objext" >&6; }
4124 OBJEXT=$ac_cv_objext
4125 ac_objext=$OBJEXT
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4127 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4128 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4132 /* end confdefs.h. */
4133
4134 int
4135 main ()
4136 {
4137 #ifndef __GNUC__
4138 choke me
4139 #endif
4140
4141 ;
4142 return 0;
4143 }
4144 _ACEOF
4145 if ac_fn_c_try_compile "$LINENO"; then :
4146 ac_compiler_gnu=yes
4147 else
4148 ac_compiler_gnu=no
4149 fi
4150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4151 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4152
4153 fi
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4155 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4156 if test $ac_compiler_gnu = yes; then
4157 GCC=yes
4158 else
4159 GCC=
4160 fi
4161 ac_test_CFLAGS=${CFLAGS+set}
4162 ac_save_CFLAGS=$CFLAGS
4163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4164 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4165 if test "${ac_cv_prog_cc_g+set}" = set; then :
4166 $as_echo_n "(cached) " >&6
4167 else
4168 ac_save_c_werror_flag=$ac_c_werror_flag
4169 ac_c_werror_flag=yes
4170 ac_cv_prog_cc_g=no
4171 CFLAGS="-g"
4172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4173 /* end confdefs.h. */
4174
4175 int
4176 main ()
4177 {
4178
4179 ;
4180 return 0;
4181 }
4182 _ACEOF
4183 if ac_fn_c_try_compile "$LINENO"; then :
4184 ac_cv_prog_cc_g=yes
4185 else
4186 CFLAGS=""
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189
4190 int
4191 main ()
4192 {
4193
4194 ;
4195 return 0;
4196 }
4197 _ACEOF
4198 if ac_fn_c_try_compile "$LINENO"; then :
4199
4200 else
4201 ac_c_werror_flag=$ac_save_c_werror_flag
4202 CFLAGS="-g"
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4204 /* end confdefs.h. */
4205
4206 int
4207 main ()
4208 {
4209
4210 ;
4211 return 0;
4212 }
4213 _ACEOF
4214 if ac_fn_c_try_compile "$LINENO"; then :
4215 ac_cv_prog_cc_g=yes
4216 fi
4217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4218 fi
4219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4220 fi
4221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4222 ac_c_werror_flag=$ac_save_c_werror_flag
4223 fi
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4225 $as_echo "$ac_cv_prog_cc_g" >&6; }
4226 if test "$ac_test_CFLAGS" = set; then
4227 CFLAGS=$ac_save_CFLAGS
4228 elif test $ac_cv_prog_cc_g = yes; then
4229 if test "$GCC" = yes; then
4230 CFLAGS="-g -O2"
4231 else
4232 CFLAGS="-g"
4233 fi
4234 else
4235 if test "$GCC" = yes; then
4236 CFLAGS="-O2"
4237 else
4238 CFLAGS=
4239 fi
4240 fi
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4242 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4243 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4244 $as_echo_n "(cached) " >&6
4245 else
4246 ac_cv_prog_cc_c89=no
4247 ac_save_CC=$CC
4248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4249 /* end confdefs.h. */
4250 #include <stdarg.h>
4251 #include <stdio.h>
4252 #include <sys/types.h>
4253 #include <sys/stat.h>
4254 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4255 struct buf { int x; };
4256 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4257 static char *e (p, i)
4258 char **p;
4259 int i;
4260 {
4261 return p[i];
4262 }
4263 static char *f (char * (*g) (char **, int), char **p, ...)
4264 {
4265 char *s;
4266 va_list v;
4267 va_start (v,p);
4268 s = g (p, va_arg (v,int));
4269 va_end (v);
4270 return s;
4271 }
4272
4273 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4274 function prototypes and stuff, but not '\xHH' hex character constants.
4275 These don't provoke an error unfortunately, instead are silently treated
4276 as 'x'. The following induces an error, until -std is added to get
4277 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4278 array size at least. It's necessary to write '\x00'==0 to get something
4279 that's true only with -std. */
4280 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4281
4282 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4283 inside strings and character constants. */
4284 #define FOO(x) 'x'
4285 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4286
4287 int test (int i, double x);
4288 struct s1 {int (*f) (int a);};
4289 struct s2 {int (*f) (double a);};
4290 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4291 int argc;
4292 char **argv;
4293 int
4294 main ()
4295 {
4296 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4297 ;
4298 return 0;
4299 }
4300 _ACEOF
4301 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4302 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4303 do
4304 CC="$ac_save_CC $ac_arg"
4305 if ac_fn_c_try_compile "$LINENO"; then :
4306 ac_cv_prog_cc_c89=$ac_arg
4307 fi
4308 rm -f core conftest.err conftest.$ac_objext
4309 test "x$ac_cv_prog_cc_c89" != "xno" && break
4310 done
4311 rm -f conftest.$ac_ext
4312 CC=$ac_save_CC
4313
4314 fi
4315 # AC_CACHE_VAL
4316 case "x$ac_cv_prog_cc_c89" in
4317 x)
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4319 $as_echo "none needed" >&6; } ;;
4320 xno)
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4322 $as_echo "unsupported" >&6; } ;;
4323 *)
4324 CC="$CC $ac_cv_prog_cc_c89"
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4326 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4327 esac
4328 if test "x$ac_cv_prog_cc_c89" != xno; then :
4329
4330 fi
4331
4332 ac_ext=c
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4337
4338 ac_ext=cpp
4339 ac_cpp='$CXXCPP $CPPFLAGS'
4340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4343 if test -z "$CXX"; then
4344 if test -n "$CCC"; then
4345 CXX=$CCC
4346 else
4347 if test -n "$ac_tool_prefix"; then
4348 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4349 do
4350 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4351 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4353 $as_echo_n "checking for $ac_word... " >&6; }
4354 if test "${ac_cv_prog_CXX+set}" = set; then :
4355 $as_echo_n "(cached) " >&6
4356 else
4357 if test -n "$CXX"; then
4358 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4359 else
4360 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4361 for as_dir in $PATH
4362 do
4363 IFS=$as_save_IFS
4364 test -z "$as_dir" && as_dir=.
4365 for ac_exec_ext in '' $ac_executable_extensions; do
4366 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4367 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4368 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4369 break 2
4370 fi
4371 done
4372 done
4373 IFS=$as_save_IFS
4374
4375 fi
4376 fi
4377 CXX=$ac_cv_prog_CXX
4378 if test -n "$CXX"; then
4379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4380 $as_echo "$CXX" >&6; }
4381 else
4382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4383 $as_echo "no" >&6; }
4384 fi
4385
4386
4387 test -n "$CXX" && break
4388 done
4389 fi
4390 if test -z "$CXX"; then
4391 ac_ct_CXX=$CXX
4392 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4393 do
4394 # Extract the first word of "$ac_prog", so it can be a program name with args.
4395 set dummy $ac_prog; ac_word=$2
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4397 $as_echo_n "checking for $ac_word... " >&6; }
4398 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4399 $as_echo_n "(cached) " >&6
4400 else
4401 if test -n "$ac_ct_CXX"; then
4402 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4403 else
4404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4405 for as_dir in $PATH
4406 do
4407 IFS=$as_save_IFS
4408 test -z "$as_dir" && as_dir=.
4409 for ac_exec_ext in '' $ac_executable_extensions; do
4410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4411 ac_cv_prog_ac_ct_CXX="$ac_prog"
4412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4413 break 2
4414 fi
4415 done
4416 done
4417 IFS=$as_save_IFS
4418
4419 fi
4420 fi
4421 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4422 if test -n "$ac_ct_CXX"; then
4423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4424 $as_echo "$ac_ct_CXX" >&6; }
4425 else
4426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4427 $as_echo "no" >&6; }
4428 fi
4429
4430
4431 test -n "$ac_ct_CXX" && break
4432 done
4433
4434 if test "x$ac_ct_CXX" = x; then
4435 CXX="g++"
4436 else
4437 case $cross_compiling:$ac_tool_warned in
4438 yes:)
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4440 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4441 ac_tool_warned=yes ;;
4442 esac
4443 CXX=$ac_ct_CXX
4444 fi
4445 fi
4446
4447 fi
4448 fi
4449 # Provide some information about the compiler.
4450 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4451 set X $ac_compile
4452 ac_compiler=$2
4453 for ac_option in --version -v -V -qversion; do
4454 { { ac_try="$ac_compiler $ac_option >&5"
4455 case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4462 ac_status=$?
4463 if test -s conftest.err; then
4464 sed '10a\
4465 ... rest of stderr output deleted ...
4466 10q' conftest.err >conftest.er1
4467 cat conftest.er1 >&5
4468 rm -f conftest.er1 conftest.err
4469 fi
4470 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4471 test $ac_status = 0; }
4472 done
4473
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4475 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4476 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4477 $as_echo_n "(cached) " >&6
4478 else
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4481
4482 int
4483 main ()
4484 {
4485 #ifndef __GNUC__
4486 choke me
4487 #endif
4488
4489 ;
4490 return 0;
4491 }
4492 _ACEOF
4493 if ac_fn_cxx_try_compile "$LINENO"; then :
4494 ac_compiler_gnu=yes
4495 else
4496 ac_compiler_gnu=no
4497 fi
4498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4499 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4500
4501 fi
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4503 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4504 if test $ac_compiler_gnu = yes; then
4505 GXX=yes
4506 else
4507 GXX=
4508 fi
4509 ac_test_CXXFLAGS=${CXXFLAGS+set}
4510 ac_save_CXXFLAGS=$CXXFLAGS
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4512 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4513 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4514 $as_echo_n "(cached) " >&6
4515 else
4516 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4517 ac_cxx_werror_flag=yes
4518 ac_cv_prog_cxx_g=no
4519 CXXFLAGS="-g"
4520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4521 /* end confdefs.h. */
4522
4523 int
4524 main ()
4525 {
4526
4527 ;
4528 return 0;
4529 }
4530 _ACEOF
4531 if ac_fn_cxx_try_compile "$LINENO"; then :
4532 ac_cv_prog_cxx_g=yes
4533 else
4534 CXXFLAGS=""
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4537
4538 int
4539 main ()
4540 {
4541
4542 ;
4543 return 0;
4544 }
4545 _ACEOF
4546 if ac_fn_cxx_try_compile "$LINENO"; then :
4547
4548 else
4549 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4550 CXXFLAGS="-g"
4551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4552 /* end confdefs.h. */
4553
4554 int
4555 main ()
4556 {
4557
4558 ;
4559 return 0;
4560 }
4561 _ACEOF
4562 if ac_fn_cxx_try_compile "$LINENO"; then :
4563 ac_cv_prog_cxx_g=yes
4564 fi
4565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4566 fi
4567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4568 fi
4569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4570 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4571 fi
4572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4573 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4574 if test "$ac_test_CXXFLAGS" = set; then
4575 CXXFLAGS=$ac_save_CXXFLAGS
4576 elif test $ac_cv_prog_cxx_g = yes; then
4577 if test "$GXX" = yes; then
4578 CXXFLAGS="-g -O2"
4579 else
4580 CXXFLAGS="-g"
4581 fi
4582 else
4583 if test "$GXX" = yes; then
4584 CXXFLAGS="-O2"
4585 else
4586 CXXFLAGS=
4587 fi
4588 fi
4589 ac_ext=c
4590 ac_cpp='$CPP $CPPFLAGS'
4591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4594
4595 CXXFLAGS="$save_CXXFLAGS"
4596
4597 # Runs configure.host, and assorted other critical bits. Sets
4598 # up critical shell variables.
4599
4600 ac_ext=c
4601 ac_cpp='$CPP $CPPFLAGS'
4602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4606 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4607 # On Suns, sometimes $CPP names a directory.
4608 if test -n "$CPP" && test -d "$CPP"; then
4609 CPP=
4610 fi
4611 if test -z "$CPP"; then
4612 if test "${ac_cv_prog_CPP+set}" = set; then :
4613 $as_echo_n "(cached) " >&6
4614 else
4615 # Double quotes because CPP needs to be expanded
4616 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4617 do
4618 ac_preproc_ok=false
4619 for ac_c_preproc_warn_flag in '' yes
4620 do
4621 # Use a header file that comes with gcc, so configuring glibc
4622 # with a fresh cross-compiler works.
4623 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4624 # <limits.h> exists even on freestanding compilers.
4625 # On the NeXT, cc -E runs the code through the compiler's parser,
4626 # not just through cpp. "Syntax error" is here to catch this case.
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4629 #ifdef __STDC__
4630 # include <limits.h>
4631 #else
4632 # include <assert.h>
4633 #endif
4634 Syntax error
4635 _ACEOF
4636 if ac_fn_c_try_cpp "$LINENO"; then :
4637
4638 else
4639 # Broken: fails on valid input.
4640 continue
4641 fi
4642 rm -f conftest.err conftest.$ac_ext
4643
4644 # OK, works on sane cases. Now check whether nonexistent headers
4645 # can be detected and how.
4646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4647 /* end confdefs.h. */
4648 #include <ac_nonexistent.h>
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4651 # Broken: success on invalid input.
4652 continue
4653 else
4654 # Passes both tests.
4655 ac_preproc_ok=:
4656 break
4657 fi
4658 rm -f conftest.err conftest.$ac_ext
4659
4660 done
4661 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4662 rm -f conftest.err conftest.$ac_ext
4663 if $ac_preproc_ok; then :
4664 break
4665 fi
4666
4667 done
4668 ac_cv_prog_CPP=$CPP
4669
4670 fi
4671 CPP=$ac_cv_prog_CPP
4672 else
4673 ac_cv_prog_CPP=$CPP
4674 fi
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4676 $as_echo "$CPP" >&6; }
4677 ac_preproc_ok=false
4678 for ac_c_preproc_warn_flag in '' yes
4679 do
4680 # Use a header file that comes with gcc, so configuring glibc
4681 # with a fresh cross-compiler works.
4682 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4683 # <limits.h> exists even on freestanding compilers.
4684 # On the NeXT, cc -E runs the code through the compiler's parser,
4685 # not just through cpp. "Syntax error" is here to catch this case.
4686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4687 /* end confdefs.h. */
4688 #ifdef __STDC__
4689 # include <limits.h>
4690 #else
4691 # include <assert.h>
4692 #endif
4693 Syntax error
4694 _ACEOF
4695 if ac_fn_c_try_cpp "$LINENO"; then :
4696
4697 else
4698 # Broken: fails on valid input.
4699 continue
4700 fi
4701 rm -f conftest.err conftest.$ac_ext
4702
4703 # OK, works on sane cases. Now check whether nonexistent headers
4704 # can be detected and how.
4705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4706 /* end confdefs.h. */
4707 #include <ac_nonexistent.h>
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4710 # Broken: success on invalid input.
4711 continue
4712 else
4713 # Passes both tests.
4714 ac_preproc_ok=:
4715 break
4716 fi
4717 rm -f conftest.err conftest.$ac_ext
4718
4719 done
4720 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4721 rm -f conftest.err conftest.$ac_ext
4722 if $ac_preproc_ok; then :
4723
4724 else
4725 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4726 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4727 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4728 See \`config.log' for more details." "$LINENO" 5; }
4729 fi
4730
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
4737
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4739 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4740 if test "${ac_cv_path_GREP+set}" = set; then :
4741 $as_echo_n "(cached) " >&6
4742 else
4743 if test -z "$GREP"; then
4744 ac_path_GREP_found=false
4745 # Loop through the user's path and test for each of PROGNAME-LIST
4746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4747 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4748 do
4749 IFS=$as_save_IFS
4750 test -z "$as_dir" && as_dir=.
4751 for ac_prog in grep ggrep; do
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4754 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4755 # Check for GNU ac_path_GREP and select it if it is found.
4756 # Check for GNU $ac_path_GREP
4757 case `"$ac_path_GREP" --version 2>&1` in
4758 *GNU*)
4759 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4760 *)
4761 ac_count=0
4762 $as_echo_n 0123456789 >"conftest.in"
4763 while :
4764 do
4765 cat "conftest.in" "conftest.in" >"conftest.tmp"
4766 mv "conftest.tmp" "conftest.in"
4767 cp "conftest.in" "conftest.nl"
4768 $as_echo 'GREP' >> "conftest.nl"
4769 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4770 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4771 as_fn_arith $ac_count + 1 && ac_count=$as_val
4772 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4773 # Best one so far, save it but keep looking for a better one
4774 ac_cv_path_GREP="$ac_path_GREP"
4775 ac_path_GREP_max=$ac_count
4776 fi
4777 # 10*(2^10) chars as input seems more than enough
4778 test $ac_count -gt 10 && break
4779 done
4780 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4781 esac
4782
4783 $ac_path_GREP_found && break 3
4784 done
4785 done
4786 done
4787 IFS=$as_save_IFS
4788 if test -z "$ac_cv_path_GREP"; then
4789 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4790 fi
4791 else
4792 ac_cv_path_GREP=$GREP
4793 fi
4794
4795 fi
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4797 $as_echo "$ac_cv_path_GREP" >&6; }
4798 GREP="$ac_cv_path_GREP"
4799
4800
4801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4802 $as_echo_n "checking for egrep... " >&6; }
4803 if test "${ac_cv_path_EGREP+set}" = set; then :
4804 $as_echo_n "(cached) " >&6
4805 else
4806 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4807 then ac_cv_path_EGREP="$GREP -E"
4808 else
4809 if test -z "$EGREP"; then
4810 ac_path_EGREP_found=false
4811 # Loop through the user's path and test for each of PROGNAME-LIST
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4814 do
4815 IFS=$as_save_IFS
4816 test -z "$as_dir" && as_dir=.
4817 for ac_prog in egrep; do
4818 for ac_exec_ext in '' $ac_executable_extensions; do
4819 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4820 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4821 # Check for GNU ac_path_EGREP and select it if it is found.
4822 # Check for GNU $ac_path_EGREP
4823 case `"$ac_path_EGREP" --version 2>&1` in
4824 *GNU*)
4825 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4826 *)
4827 ac_count=0
4828 $as_echo_n 0123456789 >"conftest.in"
4829 while :
4830 do
4831 cat "conftest.in" "conftest.in" >"conftest.tmp"
4832 mv "conftest.tmp" "conftest.in"
4833 cp "conftest.in" "conftest.nl"
4834 $as_echo 'EGREP' >> "conftest.nl"
4835 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4836 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4837 as_fn_arith $ac_count + 1 && ac_count=$as_val
4838 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4839 # Best one so far, save it but keep looking for a better one
4840 ac_cv_path_EGREP="$ac_path_EGREP"
4841 ac_path_EGREP_max=$ac_count
4842 fi
4843 # 10*(2^10) chars as input seems more than enough
4844 test $ac_count -gt 10 && break
4845 done
4846 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4847 esac
4848
4849 $ac_path_EGREP_found && break 3
4850 done
4851 done
4852 done
4853 IFS=$as_save_IFS
4854 if test -z "$ac_cv_path_EGREP"; then
4855 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4856 fi
4857 else
4858 ac_cv_path_EGREP=$EGREP
4859 fi
4860
4861 fi
4862 fi
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4864 $as_echo "$ac_cv_path_EGREP" >&6; }
4865 EGREP="$ac_cv_path_EGREP"
4866
4867
4868
4869 # Keep these sync'd with the list in Makefile.am. The first provides an
4870 # expandable list at autoconf time; the second provides an expandable list
4871 # (i.e., shell variable) at configure time.
4872
4873 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4874
4875 # These need to be absolute paths, yet at the same time need to
4876 # canonicalize only relative paths, because then amd will not unmount
4877 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4878 glibcxx_builddir=`${PWDCMD-pwd}`
4879 case $srcdir in
4880 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4881 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4882 esac
4883 toplevel_builddir=${glibcxx_builddir}/..
4884 toplevel_srcdir=${glibcxx_srcdir}/..
4885
4886
4887
4888
4889
4890 # We use these options to decide which functions to include. They are
4891 # set from the top level.
4892
4893 # Check whether --with-target-subdir was given.
4894 if test "${with_target_subdir+set}" = set; then :
4895 withval=$with_target_subdir;
4896 fi
4897
4898
4899
4900 # Check whether --with-cross-host was given.
4901 if test "${with_cross_host+set}" = set; then :
4902 withval=$with_cross_host;
4903 fi
4904
4905
4906
4907 # Check whether --with-newlib was given.
4908 if test "${with_newlib+set}" = set; then :
4909 withval=$with_newlib;
4910 fi
4911
4912
4913 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4914 # available). Uncomment the next line to force a particular method.
4915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4916 $as_echo_n "checking whether ln -s works... " >&6; }
4917 LN_S=$as_ln_s
4918 if test "$LN_S" = "ln -s"; then
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4920 $as_echo "yes" >&6; }
4921 else
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4923 $as_echo "no, using $LN_S" >&6; }
4924 fi
4925
4926 #LN_S='cp -p'
4927
4928 if test -n "$ac_tool_prefix"; then
4929 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4930 set dummy ${ac_tool_prefix}as; ac_word=$2
4931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4932 $as_echo_n "checking for $ac_word... " >&6; }
4933 if test "${ac_cv_prog_AS+set}" = set; then :
4934 $as_echo_n "(cached) " >&6
4935 else
4936 if test -n "$AS"; then
4937 ac_cv_prog_AS="$AS" # Let the user override the test.
4938 else
4939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4940 for as_dir in $PATH
4941 do
4942 IFS=$as_save_IFS
4943 test -z "$as_dir" && as_dir=.
4944 for ac_exec_ext in '' $ac_executable_extensions; do
4945 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4946 ac_cv_prog_AS="${ac_tool_prefix}as"
4947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4948 break 2
4949 fi
4950 done
4951 done
4952 IFS=$as_save_IFS
4953
4954 fi
4955 fi
4956 AS=$ac_cv_prog_AS
4957 if test -n "$AS"; then
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4959 $as_echo "$AS" >&6; }
4960 else
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 $as_echo "no" >&6; }
4963 fi
4964
4965
4966 fi
4967 if test -z "$ac_cv_prog_AS"; then
4968 ac_ct_AS=$AS
4969 # Extract the first word of "as", so it can be a program name with args.
4970 set dummy as; ac_word=$2
4971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4972 $as_echo_n "checking for $ac_word... " >&6; }
4973 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4974 $as_echo_n "(cached) " >&6
4975 else
4976 if test -n "$ac_ct_AS"; then
4977 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4978 else
4979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4980 for as_dir in $PATH
4981 do
4982 IFS=$as_save_IFS
4983 test -z "$as_dir" && as_dir=.
4984 for ac_exec_ext in '' $ac_executable_extensions; do
4985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4986 ac_cv_prog_ac_ct_AS="as"
4987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4988 break 2
4989 fi
4990 done
4991 done
4992 IFS=$as_save_IFS
4993
4994 fi
4995 fi
4996 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4997 if test -n "$ac_ct_AS"; then
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4999 $as_echo "$ac_ct_AS" >&6; }
5000 else
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5002 $as_echo "no" >&6; }
5003 fi
5004
5005 if test "x$ac_ct_AS" = x; then
5006 AS=""
5007 else
5008 case $cross_compiling:$ac_tool_warned in
5009 yes:)
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5011 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5012 ac_tool_warned=yes ;;
5013 esac
5014 AS=$ac_ct_AS
5015 fi
5016 else
5017 AS="$ac_cv_prog_AS"
5018 fi
5019
5020 if test -n "$ac_tool_prefix"; then
5021 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5022 set dummy ${ac_tool_prefix}ar; ac_word=$2
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 $as_echo_n "checking for $ac_word... " >&6; }
5025 if test "${ac_cv_prog_AR+set}" = set; then :
5026 $as_echo_n "(cached) " >&6
5027 else
5028 if test -n "$AR"; then
5029 ac_cv_prog_AR="$AR" # Let the user override the test.
5030 else
5031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5032 for as_dir in $PATH
5033 do
5034 IFS=$as_save_IFS
5035 test -z "$as_dir" && as_dir=.
5036 for ac_exec_ext in '' $ac_executable_extensions; do
5037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5038 ac_cv_prog_AR="${ac_tool_prefix}ar"
5039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5040 break 2
5041 fi
5042 done
5043 done
5044 IFS=$as_save_IFS
5045
5046 fi
5047 fi
5048 AR=$ac_cv_prog_AR
5049 if test -n "$AR"; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5051 $as_echo "$AR" >&6; }
5052 else
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5054 $as_echo "no" >&6; }
5055 fi
5056
5057
5058 fi
5059 if test -z "$ac_cv_prog_AR"; then
5060 ac_ct_AR=$AR
5061 # Extract the first word of "ar", so it can be a program name with args.
5062 set dummy ar; ac_word=$2
5063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5064 $as_echo_n "checking for $ac_word... " >&6; }
5065 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5066 $as_echo_n "(cached) " >&6
5067 else
5068 if test -n "$ac_ct_AR"; then
5069 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5070 else
5071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5072 for as_dir in $PATH
5073 do
5074 IFS=$as_save_IFS
5075 test -z "$as_dir" && as_dir=.
5076 for ac_exec_ext in '' $ac_executable_extensions; do
5077 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5078 ac_cv_prog_ac_ct_AR="ar"
5079 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5080 break 2
5081 fi
5082 done
5083 done
5084 IFS=$as_save_IFS
5085
5086 fi
5087 fi
5088 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5089 if test -n "$ac_ct_AR"; then
5090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5091 $as_echo "$ac_ct_AR" >&6; }
5092 else
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5094 $as_echo "no" >&6; }
5095 fi
5096
5097 if test "x$ac_ct_AR" = x; then
5098 AR=""
5099 else
5100 case $cross_compiling:$ac_tool_warned in
5101 yes:)
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5103 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5104 ac_tool_warned=yes ;;
5105 esac
5106 AR=$ac_ct_AR
5107 fi
5108 else
5109 AR="$ac_cv_prog_AR"
5110 fi
5111
5112 if test -n "$ac_tool_prefix"; then
5113 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5114 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5116 $as_echo_n "checking for $ac_word... " >&6; }
5117 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5118 $as_echo_n "(cached) " >&6
5119 else
5120 if test -n "$RANLIB"; then
5121 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5122 else
5123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5124 for as_dir in $PATH
5125 do
5126 IFS=$as_save_IFS
5127 test -z "$as_dir" && as_dir=.
5128 for ac_exec_ext in '' $ac_executable_extensions; do
5129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5130 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5132 break 2
5133 fi
5134 done
5135 done
5136 IFS=$as_save_IFS
5137
5138 fi
5139 fi
5140 RANLIB=$ac_cv_prog_RANLIB
5141 if test -n "$RANLIB"; then
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5143 $as_echo "$RANLIB" >&6; }
5144 else
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5146 $as_echo "no" >&6; }
5147 fi
5148
5149
5150 fi
5151 if test -z "$ac_cv_prog_RANLIB"; then
5152 ac_ct_RANLIB=$RANLIB
5153 # Extract the first word of "ranlib", so it can be a program name with args.
5154 set dummy ranlib; ac_word=$2
5155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5156 $as_echo_n "checking for $ac_word... " >&6; }
5157 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5158 $as_echo_n "(cached) " >&6
5159 else
5160 if test -n "$ac_ct_RANLIB"; then
5161 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5162 else
5163 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5164 for as_dir in $PATH
5165 do
5166 IFS=$as_save_IFS
5167 test -z "$as_dir" && as_dir=.
5168 for ac_exec_ext in '' $ac_executable_extensions; do
5169 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5170 ac_cv_prog_ac_ct_RANLIB="ranlib"
5171 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5172 break 2
5173 fi
5174 done
5175 done
5176 IFS=$as_save_IFS
5177
5178 fi
5179 fi
5180 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5181 if test -n "$ac_ct_RANLIB"; then
5182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5183 $as_echo "$ac_ct_RANLIB" >&6; }
5184 else
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5186 $as_echo "no" >&6; }
5187 fi
5188
5189 if test "x$ac_ct_RANLIB" = x; then
5190 RANLIB="ranlib-not-found-in-path-error"
5191 else
5192 case $cross_compiling:$ac_tool_warned in
5193 yes:)
5194 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5195 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5196 ac_tool_warned=yes ;;
5197 esac
5198 RANLIB=$ac_ct_RANLIB
5199 fi
5200 else
5201 RANLIB="$ac_cv_prog_RANLIB"
5202 fi
5203
5204
5205
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5207 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5208 # Check whether --enable-maintainer-mode was given.
5209 if test "${enable_maintainer_mode+set}" = set; then :
5210 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5211 else
5212 USE_MAINTAINER_MODE=no
5213 fi
5214
5215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5216 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5217 if test $USE_MAINTAINER_MODE = yes; then
5218 MAINTAINER_MODE_TRUE=
5219 MAINTAINER_MODE_FALSE='#'
5220 else
5221 MAINTAINER_MODE_TRUE='#'
5222 MAINTAINER_MODE_FALSE=
5223 fi
5224
5225 MAINT=$MAINTAINER_MODE_TRUE
5226
5227
5228
5229 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5230 # which are themselves conditionally expanded.
5231 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5232 ## other macros from doing the same. This should be automated.) -pme
5233
5234 # Check for C library flavor since GNU/Linux platforms use different
5235 # configuration directories depending on the C library in use.
5236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5237 /* end confdefs.h. */
5238
5239 #include <stdio.h>
5240 #if __UCLIBC__
5241 _using_uclibc
5242 #endif
5243
5244 _ACEOF
5245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5246 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5247 uclibc=yes
5248 else
5249 uclibc=no
5250 fi
5251 rm -f conftest*
5252
5253
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5256
5257 #include <stdio.h>
5258 #if __BIONIC__
5259 _using_bionic
5260 #endif
5261
5262 _ACEOF
5263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5264 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5265 bionic=yes
5266 else
5267 bionic=no
5268 fi
5269 rm -f conftest*
5270
5271
5272 # Find platform-specific directories containing configuration info.
5273 # Also possibly modify flags used elsewhere, as needed by the platform.
5274
5275 . $glibcxx_srcdir/configure.host
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5277 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5279 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5280
5281
5282
5283 if test "x${with_newlib}" != "xyes"; then
5284 enable_dlopen=yes
5285
5286
5287
5288 fi
5289 case `pwd` in
5290 *\ * | *\ *)
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5292 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5293 esac
5294
5295
5296
5297 macro_version='2.2.7a'
5298 macro_revision='1.3134'
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312 ltmain="$ac_aux_dir/ltmain.sh"
5313
5314 # Backslashify metacharacters that are still active within
5315 # double-quoted strings.
5316 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5317
5318 # Same as above, but do not quote variable references.
5319 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5320
5321 # Sed substitution to delay expansion of an escaped shell variable in a
5322 # double_quote_subst'ed string.
5323 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5324
5325 # Sed substitution to delay expansion of an escaped single quote.
5326 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5327
5328 # Sed substitution to avoid accidental globbing in evaled expressions
5329 no_glob_subst='s/\*/\\\*/g'
5330
5331 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5332 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5333 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5334
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5336 $as_echo_n "checking how to print strings... " >&6; }
5337 # Test print first, because it will be a builtin if present.
5338 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5339 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5340 ECHO='print -r --'
5341 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5342 ECHO='printf %s\n'
5343 else
5344 # Use this function as a fallback that always works.
5345 func_fallback_echo ()
5346 {
5347 eval 'cat <<_LTECHO_EOF
5348 $1
5349 _LTECHO_EOF'
5350 }
5351 ECHO='func_fallback_echo'
5352 fi
5353
5354 # func_echo_all arg...
5355 # Invoke $ECHO with all args, space-separated.
5356 func_echo_all ()
5357 {
5358 $ECHO ""
5359 }
5360
5361 case "$ECHO" in
5362 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5363 $as_echo "printf" >&6; } ;;
5364 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5365 $as_echo "print -r" >&6; } ;;
5366 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5367 $as_echo "cat" >&6; } ;;
5368 esac
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5384 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5385 if test "${ac_cv_path_SED+set}" = set; then :
5386 $as_echo_n "(cached) " >&6
5387 else
5388 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5389 for ac_i in 1 2 3 4 5 6 7; do
5390 ac_script="$ac_script$as_nl$ac_script"
5391 done
5392 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5393 { ac_script=; unset ac_script;}
5394 if test -z "$SED"; then
5395 ac_path_SED_found=false
5396 # Loop through the user's path and test for each of PROGNAME-LIST
5397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5398 for as_dir in $PATH
5399 do
5400 IFS=$as_save_IFS
5401 test -z "$as_dir" && as_dir=.
5402 for ac_prog in sed gsed; do
5403 for ac_exec_ext in '' $ac_executable_extensions; do
5404 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5405 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5406 # Check for GNU ac_path_SED and select it if it is found.
5407 # Check for GNU $ac_path_SED
5408 case `"$ac_path_SED" --version 2>&1` in
5409 *GNU*)
5410 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5411 *)
5412 ac_count=0
5413 $as_echo_n 0123456789 >"conftest.in"
5414 while :
5415 do
5416 cat "conftest.in" "conftest.in" >"conftest.tmp"
5417 mv "conftest.tmp" "conftest.in"
5418 cp "conftest.in" "conftest.nl"
5419 $as_echo '' >> "conftest.nl"
5420 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5421 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5422 as_fn_arith $ac_count + 1 && ac_count=$as_val
5423 if test $ac_count -gt ${ac_path_SED_max-0}; then
5424 # Best one so far, save it but keep looking for a better one
5425 ac_cv_path_SED="$ac_path_SED"
5426 ac_path_SED_max=$ac_count
5427 fi
5428 # 10*(2^10) chars as input seems more than enough
5429 test $ac_count -gt 10 && break
5430 done
5431 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5432 esac
5433
5434 $ac_path_SED_found && break 3
5435 done
5436 done
5437 done
5438 IFS=$as_save_IFS
5439 if test -z "$ac_cv_path_SED"; then
5440 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5441 fi
5442 else
5443 ac_cv_path_SED=$SED
5444 fi
5445
5446 fi
5447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5448 $as_echo "$ac_cv_path_SED" >&6; }
5449 SED="$ac_cv_path_SED"
5450 rm -f conftest.sed
5451
5452 test -z "$SED" && SED=sed
5453 Xsed="$SED -e 1s/^X//"
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5466 $as_echo_n "checking for fgrep... " >&6; }
5467 if test "${ac_cv_path_FGREP+set}" = set; then :
5468 $as_echo_n "(cached) " >&6
5469 else
5470 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5471 then ac_cv_path_FGREP="$GREP -F"
5472 else
5473 if test -z "$FGREP"; then
5474 ac_path_FGREP_found=false
5475 # Loop through the user's path and test for each of PROGNAME-LIST
5476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5477 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5478 do
5479 IFS=$as_save_IFS
5480 test -z "$as_dir" && as_dir=.
5481 for ac_prog in fgrep; do
5482 for ac_exec_ext in '' $ac_executable_extensions; do
5483 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5484 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5485 # Check for GNU ac_path_FGREP and select it if it is found.
5486 # Check for GNU $ac_path_FGREP
5487 case `"$ac_path_FGREP" --version 2>&1` in
5488 *GNU*)
5489 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5490 *)
5491 ac_count=0
5492 $as_echo_n 0123456789 >"conftest.in"
5493 while :
5494 do
5495 cat "conftest.in" "conftest.in" >"conftest.tmp"
5496 mv "conftest.tmp" "conftest.in"
5497 cp "conftest.in" "conftest.nl"
5498 $as_echo 'FGREP' >> "conftest.nl"
5499 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5500 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5501 as_fn_arith $ac_count + 1 && ac_count=$as_val
5502 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5503 # Best one so far, save it but keep looking for a better one
5504 ac_cv_path_FGREP="$ac_path_FGREP"
5505 ac_path_FGREP_max=$ac_count
5506 fi
5507 # 10*(2^10) chars as input seems more than enough
5508 test $ac_count -gt 10 && break
5509 done
5510 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5511 esac
5512
5513 $ac_path_FGREP_found && break 3
5514 done
5515 done
5516 done
5517 IFS=$as_save_IFS
5518 if test -z "$ac_cv_path_FGREP"; then
5519 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5520 fi
5521 else
5522 ac_cv_path_FGREP=$FGREP
5523 fi
5524
5525 fi
5526 fi
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5528 $as_echo "$ac_cv_path_FGREP" >&6; }
5529 FGREP="$ac_cv_path_FGREP"
5530
5531
5532 test -z "$GREP" && GREP=grep
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552 # Check whether --with-gnu-ld was given.
5553 if test "${with_gnu_ld+set}" = set; then :
5554 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5555 else
5556 with_gnu_ld=no
5557 fi
5558
5559 ac_prog=ld
5560 if test "$GCC" = yes; then
5561 # Check if gcc -print-prog-name=ld gives a path.
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5563 $as_echo_n "checking for ld used by $CC... " >&6; }
5564 case $host in
5565 *-*-mingw*)
5566 # gcc leaves a trailing carriage return which upsets mingw
5567 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5568 *)
5569 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5570 esac
5571 case $ac_prog in
5572 # Accept absolute paths.
5573 [\\/]* | ?:[\\/]*)
5574 re_direlt='/[^/][^/]*/\.\./'
5575 # Canonicalize the pathname of ld
5576 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5577 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5578 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5579 done
5580 test -z "$LD" && LD="$ac_prog"
5581 ;;
5582 "")
5583 # If it fails, then pretend we aren't using GCC.
5584 ac_prog=ld
5585 ;;
5586 *)
5587 # If it is relative, then search for the first ld in PATH.
5588 with_gnu_ld=unknown
5589 ;;
5590 esac
5591 elif test "$with_gnu_ld" = yes; then
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5593 $as_echo_n "checking for GNU ld... " >&6; }
5594 else
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5596 $as_echo_n "checking for non-GNU ld... " >&6; }
5597 fi
5598 if test "${lt_cv_path_LD+set}" = set; then :
5599 $as_echo_n "(cached) " >&6
5600 else
5601 if test -z "$LD"; then
5602 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5603 for ac_dir in $PATH; do
5604 IFS="$lt_save_ifs"
5605 test -z "$ac_dir" && ac_dir=.
5606 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5607 lt_cv_path_LD="$ac_dir/$ac_prog"
5608 # Check to see if the program is GNU ld. I'd rather use --version,
5609 # but apparently some variants of GNU ld only accept -v.
5610 # Break only if it was the GNU/non-GNU ld that we prefer.
5611 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5612 *GNU* | *'with BFD'*)
5613 test "$with_gnu_ld" != no && break
5614 ;;
5615 *)
5616 test "$with_gnu_ld" != yes && break
5617 ;;
5618 esac
5619 fi
5620 done
5621 IFS="$lt_save_ifs"
5622 else
5623 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5624 fi
5625 fi
5626
5627 LD="$lt_cv_path_LD"
5628 if test -n "$LD"; then
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5630 $as_echo "$LD" >&6; }
5631 else
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5633 $as_echo "no" >&6; }
5634 fi
5635 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5637 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5638 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5642 case `$LD -v 2>&1 </dev/null` in
5643 *GNU* | *'with BFD'*)
5644 lt_cv_prog_gnu_ld=yes
5645 ;;
5646 *)
5647 lt_cv_prog_gnu_ld=no
5648 ;;
5649 esac
5650 fi
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5652 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5653 with_gnu_ld=$lt_cv_prog_gnu_ld
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5664 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5665 if test "${lt_cv_path_NM+set}" = set; then :
5666 $as_echo_n "(cached) " >&6
5667 else
5668 if test -n "$NM"; then
5669 # Let the user override the test.
5670 lt_cv_path_NM="$NM"
5671 else
5672 lt_nm_to_check="${ac_tool_prefix}nm"
5673 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5674 lt_nm_to_check="$lt_nm_to_check nm"
5675 fi
5676 for lt_tmp_nm in $lt_nm_to_check; do
5677 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5678 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5679 IFS="$lt_save_ifs"
5680 test -z "$ac_dir" && ac_dir=.
5681 tmp_nm="$ac_dir/$lt_tmp_nm"
5682 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5683 # Check to see if the nm accepts a BSD-compat flag.
5684 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5685 # nm: unknown option "B" ignored
5686 # Tru64's nm complains that /dev/null is an invalid object file
5687 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5688 */dev/null* | *'Invalid file or object type'*)
5689 lt_cv_path_NM="$tmp_nm -B"
5690 break
5691 ;;
5692 *)
5693 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5694 */dev/null*)
5695 lt_cv_path_NM="$tmp_nm -p"
5696 break
5697 ;;
5698 *)
5699 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5700 continue # so that we can try to find one that supports BSD flags
5701 ;;
5702 esac
5703 ;;
5704 esac
5705 fi
5706 done
5707 IFS="$lt_save_ifs"
5708 done
5709 : ${lt_cv_path_NM=no}
5710 fi
5711 fi
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5713 $as_echo "$lt_cv_path_NM" >&6; }
5714 if test "$lt_cv_path_NM" != "no"; then
5715 NM="$lt_cv_path_NM"
5716 else
5717 # Didn't find any BSD compatible name lister, look for dumpbin.
5718 if test -n "$DUMPBIN"; then :
5719 # Let the user override the test.
5720 else
5721 if test -n "$ac_tool_prefix"; then
5722 for ac_prog in dumpbin "link -dump"
5723 do
5724 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5725 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5727 $as_echo_n "checking for $ac_word... " >&6; }
5728 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5729 $as_echo_n "(cached) " >&6
5730 else
5731 if test -n "$DUMPBIN"; then
5732 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5733 else
5734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5735 for as_dir in $PATH
5736 do
5737 IFS=$as_save_IFS
5738 test -z "$as_dir" && as_dir=.
5739 for ac_exec_ext in '' $ac_executable_extensions; do
5740 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5741 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5742 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5743 break 2
5744 fi
5745 done
5746 done
5747 IFS=$as_save_IFS
5748
5749 fi
5750 fi
5751 DUMPBIN=$ac_cv_prog_DUMPBIN
5752 if test -n "$DUMPBIN"; then
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5754 $as_echo "$DUMPBIN" >&6; }
5755 else
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5758 fi
5759
5760
5761 test -n "$DUMPBIN" && break
5762 done
5763 fi
5764 if test -z "$DUMPBIN"; then
5765 ac_ct_DUMPBIN=$DUMPBIN
5766 for ac_prog in dumpbin "link -dump"
5767 do
5768 # Extract the first word of "$ac_prog", so it can be a program name with args.
5769 set dummy $ac_prog; ac_word=$2
5770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5771 $as_echo_n "checking for $ac_word... " >&6; }
5772 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5773 $as_echo_n "(cached) " >&6
5774 else
5775 if test -n "$ac_ct_DUMPBIN"; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5777 else
5778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5779 for as_dir in $PATH
5780 do
5781 IFS=$as_save_IFS
5782 test -z "$as_dir" && as_dir=.
5783 for ac_exec_ext in '' $ac_executable_extensions; do
5784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5785 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5786 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5787 break 2
5788 fi
5789 done
5790 done
5791 IFS=$as_save_IFS
5792
5793 fi
5794 fi
5795 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5796 if test -n "$ac_ct_DUMPBIN"; then
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5798 $as_echo "$ac_ct_DUMPBIN" >&6; }
5799 else
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5801 $as_echo "no" >&6; }
5802 fi
5803
5804
5805 test -n "$ac_ct_DUMPBIN" && break
5806 done
5807
5808 if test "x$ac_ct_DUMPBIN" = x; then
5809 DUMPBIN=":"
5810 else
5811 case $cross_compiling:$ac_tool_warned in
5812 yes:)
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5814 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5815 ac_tool_warned=yes ;;
5816 esac
5817 DUMPBIN=$ac_ct_DUMPBIN
5818 fi
5819 fi
5820
5821 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5822 *COFF*)
5823 DUMPBIN="$DUMPBIN -symbols"
5824 ;;
5825 *)
5826 DUMPBIN=:
5827 ;;
5828 esac
5829 fi
5830
5831 if test "$DUMPBIN" != ":"; then
5832 NM="$DUMPBIN"
5833 fi
5834 fi
5835 test -z "$NM" && NM=nm
5836
5837
5838
5839
5840
5841
5842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5843 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5844 if test "${lt_cv_nm_interface+set}" = set; then :
5845 $as_echo_n "(cached) " >&6
5846 else
5847 lt_cv_nm_interface="BSD nm"
5848 echo "int some_variable = 0;" > conftest.$ac_ext
5849 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5850 (eval "$ac_compile" 2>conftest.err)
5851 cat conftest.err >&5
5852 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5853 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5854 cat conftest.err >&5
5855 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5856 cat conftest.out >&5
5857 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5858 lt_cv_nm_interface="MS dumpbin"
5859 fi
5860 rm -f conftest*
5861 fi
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5863 $as_echo "$lt_cv_nm_interface" >&6; }
5864
5865 # find the maximum length of command line arguments
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5867 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5868 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 i=0
5872 teststring="ABCD"
5873
5874 case $build_os in
5875 msdosdjgpp*)
5876 # On DJGPP, this test can blow up pretty badly due to problems in libc
5877 # (any single argument exceeding 2000 bytes causes a buffer overrun
5878 # during glob expansion). Even if it were fixed, the result of this
5879 # check would be larger than it should be.
5880 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5881 ;;
5882
5883 gnu*)
5884 # Under GNU Hurd, this test is not required because there is
5885 # no limit to the length of command line arguments.
5886 # Libtool will interpret -1 as no limit whatsoever
5887 lt_cv_sys_max_cmd_len=-1;
5888 ;;
5889
5890 cygwin* | mingw* | cegcc*)
5891 # On Win9x/ME, this test blows up -- it succeeds, but takes
5892 # about 5 minutes as the teststring grows exponentially.
5893 # Worse, since 9x/ME are not pre-emptively multitasking,
5894 # you end up with a "frozen" computer, even though with patience
5895 # the test eventually succeeds (with a max line length of 256k).
5896 # Instead, let's just punt: use the minimum linelength reported by
5897 # all of the supported platforms: 8192 (on NT/2K/XP).
5898 lt_cv_sys_max_cmd_len=8192;
5899 ;;
5900
5901 mint*)
5902 # On MiNT this can take a long time and run out of memory.
5903 lt_cv_sys_max_cmd_len=8192;
5904 ;;
5905
5906 amigaos*)
5907 # On AmigaOS with pdksh, this test takes hours, literally.
5908 # So we just punt and use a minimum line length of 8192.
5909 lt_cv_sys_max_cmd_len=8192;
5910 ;;
5911
5912 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5913 # This has been around since 386BSD, at least. Likely further.
5914 if test -x /sbin/sysctl; then
5915 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5916 elif test -x /usr/sbin/sysctl; then
5917 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5918 else
5919 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5920 fi
5921 # And add a safety zone
5922 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5923 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5924 ;;
5925
5926 interix*)
5927 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5928 lt_cv_sys_max_cmd_len=196608
5929 ;;
5930
5931 osf*)
5932 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5933 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5934 # nice to cause kernel panics so lets avoid the loop below.
5935 # First set a reasonable default.
5936 lt_cv_sys_max_cmd_len=16384
5937 #
5938 if test -x /sbin/sysconfig; then
5939 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5940 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5941 esac
5942 fi
5943 ;;
5944 sco3.2v5*)
5945 lt_cv_sys_max_cmd_len=102400
5946 ;;
5947 sysv5* | sco5v6* | sysv4.2uw2*)
5948 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5949 if test -n "$kargmax"; then
5950 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5951 else
5952 lt_cv_sys_max_cmd_len=32768
5953 fi
5954 ;;
5955 *)
5956 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5957 if test -n "$lt_cv_sys_max_cmd_len"; then
5958 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5959 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5960 else
5961 # Make teststring a little bigger before we do anything with it.
5962 # a 1K string should be a reasonable start.
5963 for i in 1 2 3 4 5 6 7 8 ; do
5964 teststring=$teststring$teststring
5965 done
5966 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5967 # If test is not a shell built-in, we'll probably end up computing a
5968 # maximum length that is only half of the actual maximum length, but
5969 # we can't tell.
5970 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5971 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5972 test $i != 17 # 1/2 MB should be enough
5973 do
5974 i=`expr $i + 1`
5975 teststring=$teststring$teststring
5976 done
5977 # Only check the string length outside the loop.
5978 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5979 teststring=
5980 # Add a significant safety factor because C++ compilers can tack on
5981 # massive amounts of additional arguments before passing them to the
5982 # linker. It appears as though 1/2 is a usable value.
5983 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5984 fi
5985 ;;
5986 esac
5987
5988 fi
5989
5990 if test -n $lt_cv_sys_max_cmd_len ; then
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5992 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5993 else
5994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5995 $as_echo "none" >&6; }
5996 fi
5997 max_cmd_len=$lt_cv_sys_max_cmd_len
5998
5999
6000
6001
6002
6003
6004 : ${CP="cp -f"}
6005 : ${MV="mv -f"}
6006 : ${RM="rm -f"}
6007
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6009 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6010 # Try some XSI features
6011 xsi_shell=no
6012 ( _lt_dummy="a/b/c"
6013 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6014 = c,a/b,, \
6015 && eval 'test $(( 1 + 1 )) -eq 2 \
6016 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6017 && xsi_shell=yes
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6019 $as_echo "$xsi_shell" >&6; }
6020
6021
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6023 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6024 lt_shell_append=no
6025 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6026 >/dev/null 2>&1 \
6027 && lt_shell_append=yes
6028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6029 $as_echo "$lt_shell_append" >&6; }
6030
6031
6032 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6033 lt_unset=unset
6034 else
6035 lt_unset=false
6036 fi
6037
6038
6039
6040
6041
6042 # test EBCDIC or ASCII
6043 case `echo X|tr X '\101'` in
6044 A) # ASCII based system
6045 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6046 lt_SP2NL='tr \040 \012'
6047 lt_NL2SP='tr \015\012 \040\040'
6048 ;;
6049 *) # EBCDIC based system
6050 lt_SP2NL='tr \100 \n'
6051 lt_NL2SP='tr \r\n \100\100'
6052 ;;
6053 esac
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6064 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6065 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6066 $as_echo_n "(cached) " >&6
6067 else
6068 lt_cv_ld_reload_flag='-r'
6069 fi
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6071 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6072 reload_flag=$lt_cv_ld_reload_flag
6073 case $reload_flag in
6074 "" | " "*) ;;
6075 *) reload_flag=" $reload_flag" ;;
6076 esac
6077 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6078 case $host_os in
6079 darwin*)
6080 if test "$GCC" = yes; then
6081 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6082 else
6083 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6084 fi
6085 ;;
6086 esac
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096 if test -n "$ac_tool_prefix"; then
6097 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6098 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test -n "$OBJDUMP"; then
6105 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6109 do
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6114 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 break 2
6117 fi
6118 done
6119 done
6120 IFS=$as_save_IFS
6121
6122 fi
6123 fi
6124 OBJDUMP=$ac_cv_prog_OBJDUMP
6125 if test -n "$OBJDUMP"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6127 $as_echo "$OBJDUMP" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6131 fi
6132
6133
6134 fi
6135 if test -z "$ac_cv_prog_OBJDUMP"; then
6136 ac_ct_OBJDUMP=$OBJDUMP
6137 # Extract the first word of "objdump", so it can be a program name with args.
6138 set dummy objdump; ac_word=$2
6139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6140 $as_echo_n "checking for $ac_word... " >&6; }
6141 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6142 $as_echo_n "(cached) " >&6
6143 else
6144 if test -n "$ac_ct_OBJDUMP"; then
6145 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6146 else
6147 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6148 for as_dir in $PATH
6149 do
6150 IFS=$as_save_IFS
6151 test -z "$as_dir" && as_dir=.
6152 for ac_exec_ext in '' $ac_executable_extensions; do
6153 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6154 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6155 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6156 break 2
6157 fi
6158 done
6159 done
6160 IFS=$as_save_IFS
6161
6162 fi
6163 fi
6164 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6165 if test -n "$ac_ct_OBJDUMP"; then
6166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6167 $as_echo "$ac_ct_OBJDUMP" >&6; }
6168 else
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6170 $as_echo "no" >&6; }
6171 fi
6172
6173 if test "x$ac_ct_OBJDUMP" = x; then
6174 OBJDUMP="false"
6175 else
6176 case $cross_compiling:$ac_tool_warned in
6177 yes:)
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6179 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6180 ac_tool_warned=yes ;;
6181 esac
6182 OBJDUMP=$ac_ct_OBJDUMP
6183 fi
6184 else
6185 OBJDUMP="$ac_cv_prog_OBJDUMP"
6186 fi
6187
6188 test -z "$OBJDUMP" && OBJDUMP=objdump
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6199 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6200 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6201 $as_echo_n "(cached) " >&6
6202 else
6203 lt_cv_file_magic_cmd='$MAGIC_CMD'
6204 lt_cv_file_magic_test_file=
6205 lt_cv_deplibs_check_method='unknown'
6206 # Need to set the preceding variable on all platforms that support
6207 # interlibrary dependencies.
6208 # 'none' -- dependencies not supported.
6209 # `unknown' -- same as none, but documents that we really don't know.
6210 # 'pass_all' -- all dependencies passed with no checks.
6211 # 'test_compile' -- check by making test program.
6212 # 'file_magic [[regex]]' -- check by looking for files in library path
6213 # which responds to the $file_magic_cmd with a given extended regex.
6214 # If you have `file' or equivalent on your system and you're not sure
6215 # whether `pass_all' will *always* work, you probably want this one.
6216
6217 case $host_os in
6218 aix[4-9]*)
6219 lt_cv_deplibs_check_method=pass_all
6220 ;;
6221
6222 beos*)
6223 lt_cv_deplibs_check_method=pass_all
6224 ;;
6225
6226 bsdi[45]*)
6227 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6228 lt_cv_file_magic_cmd='/usr/bin/file -L'
6229 lt_cv_file_magic_test_file=/shlib/libc.so
6230 ;;
6231
6232 cygwin*)
6233 # func_win32_libid is a shell function defined in ltmain.sh
6234 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6235 lt_cv_file_magic_cmd='func_win32_libid'
6236 ;;
6237
6238 mingw* | pw32*)
6239 # Base MSYS/MinGW do not provide the 'file' command needed by
6240 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6241 # unless we find 'file', for example because we are cross-compiling.
6242 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6243 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6244 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6245 lt_cv_file_magic_cmd='func_win32_libid'
6246 else
6247 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6248 lt_cv_file_magic_cmd='$OBJDUMP -f'
6249 fi
6250 ;;
6251
6252 cegcc*)
6253 # use the weaker test based on 'objdump'. See mingw*.
6254 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6255 lt_cv_file_magic_cmd='$OBJDUMP -f'
6256 ;;
6257
6258 darwin* | rhapsody*)
6259 lt_cv_deplibs_check_method=pass_all
6260 ;;
6261
6262 freebsd* | dragonfly*)
6263 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6264 case $host_cpu in
6265 i*86 )
6266 # Not sure whether the presence of OpenBSD here was a mistake.
6267 # Let's accept both of them until this is cleared up.
6268 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6269 lt_cv_file_magic_cmd=/usr/bin/file
6270 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6271 ;;
6272 esac
6273 else
6274 lt_cv_deplibs_check_method=pass_all
6275 fi
6276 ;;
6277
6278 gnu*)
6279 lt_cv_deplibs_check_method=pass_all
6280 ;;
6281
6282 haiku*)
6283 lt_cv_deplibs_check_method=pass_all
6284 ;;
6285
6286 hpux10.20* | hpux11*)
6287 lt_cv_file_magic_cmd=/usr/bin/file
6288 case $host_cpu in
6289 ia64*)
6290 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6291 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6292 ;;
6293 hppa*64*)
6294 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]'
6295 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6296 ;;
6297 *)
6298 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6299 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6300 ;;
6301 esac
6302 ;;
6303
6304 interix[3-9]*)
6305 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6306 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6307 ;;
6308
6309 irix5* | irix6* | nonstopux*)
6310 case $LD in
6311 *-32|*"-32 ") libmagic=32-bit;;
6312 *-n32|*"-n32 ") libmagic=N32;;
6313 *-64|*"-64 ") libmagic=64-bit;;
6314 *) libmagic=never-match;;
6315 esac
6316 lt_cv_deplibs_check_method=pass_all
6317 ;;
6318
6319 # This must be Linux ELF.
6320 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6321 lt_cv_deplibs_check_method=pass_all
6322 ;;
6323
6324 netbsd*)
6325 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6326 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6327 else
6328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6329 fi
6330 ;;
6331
6332 newos6*)
6333 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6334 lt_cv_file_magic_cmd=/usr/bin/file
6335 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6336 ;;
6337
6338 *nto* | *qnx*)
6339 lt_cv_deplibs_check_method=pass_all
6340 ;;
6341
6342 openbsd*)
6343 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6344 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6345 else
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6347 fi
6348 ;;
6349
6350 osf3* | osf4* | osf5*)
6351 lt_cv_deplibs_check_method=pass_all
6352 ;;
6353
6354 rdos*)
6355 lt_cv_deplibs_check_method=pass_all
6356 ;;
6357
6358 solaris*)
6359 lt_cv_deplibs_check_method=pass_all
6360 ;;
6361
6362 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6363 lt_cv_deplibs_check_method=pass_all
6364 ;;
6365
6366 sysv4 | sysv4.3*)
6367 case $host_vendor in
6368 motorola)
6369 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]'
6370 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6371 ;;
6372 ncr)
6373 lt_cv_deplibs_check_method=pass_all
6374 ;;
6375 sequent)
6376 lt_cv_file_magic_cmd='/bin/file'
6377 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6378 ;;
6379 sni)
6380 lt_cv_file_magic_cmd='/bin/file'
6381 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6382 lt_cv_file_magic_test_file=/lib/libc.so
6383 ;;
6384 siemens)
6385 lt_cv_deplibs_check_method=pass_all
6386 ;;
6387 pc)
6388 lt_cv_deplibs_check_method=pass_all
6389 ;;
6390 esac
6391 ;;
6392
6393 tpf*)
6394 lt_cv_deplibs_check_method=pass_all
6395 ;;
6396 esac
6397
6398 fi
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6400 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6401 file_magic_cmd=$lt_cv_file_magic_cmd
6402 deplibs_check_method=$lt_cv_deplibs_check_method
6403 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416 if test -n "$ac_tool_prefix"; then
6417 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6418 set dummy ${ac_tool_prefix}ar; ac_word=$2
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6420 $as_echo_n "checking for $ac_word... " >&6; }
6421 if test "${ac_cv_prog_AR+set}" = set; then :
6422 $as_echo_n "(cached) " >&6
6423 else
6424 if test -n "$AR"; then
6425 ac_cv_prog_AR="$AR" # Let the user override the test.
6426 else
6427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6428 for as_dir in $PATH
6429 do
6430 IFS=$as_save_IFS
6431 test -z "$as_dir" && as_dir=.
6432 for ac_exec_ext in '' $ac_executable_extensions; do
6433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6434 ac_cv_prog_AR="${ac_tool_prefix}ar"
6435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6436 break 2
6437 fi
6438 done
6439 done
6440 IFS=$as_save_IFS
6441
6442 fi
6443 fi
6444 AR=$ac_cv_prog_AR
6445 if test -n "$AR"; then
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6447 $as_echo "$AR" >&6; }
6448 else
6449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6450 $as_echo "no" >&6; }
6451 fi
6452
6453
6454 fi
6455 if test -z "$ac_cv_prog_AR"; then
6456 ac_ct_AR=$AR
6457 # Extract the first word of "ar", so it can be a program name with args.
6458 set dummy ar; ac_word=$2
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6460 $as_echo_n "checking for $ac_word... " >&6; }
6461 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 if test -n "$ac_ct_AR"; then
6465 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6466 else
6467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6468 for as_dir in $PATH
6469 do
6470 IFS=$as_save_IFS
6471 test -z "$as_dir" && as_dir=.
6472 for ac_exec_ext in '' $ac_executable_extensions; do
6473 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6474 ac_cv_prog_ac_ct_AR="ar"
6475 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6476 break 2
6477 fi
6478 done
6479 done
6480 IFS=$as_save_IFS
6481
6482 fi
6483 fi
6484 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6485 if test -n "$ac_ct_AR"; then
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6487 $as_echo "$ac_ct_AR" >&6; }
6488 else
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6490 $as_echo "no" >&6; }
6491 fi
6492
6493 if test "x$ac_ct_AR" = x; then
6494 AR="false"
6495 else
6496 case $cross_compiling:$ac_tool_warned in
6497 yes:)
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6500 ac_tool_warned=yes ;;
6501 esac
6502 AR=$ac_ct_AR
6503 fi
6504 else
6505 AR="$ac_cv_prog_AR"
6506 fi
6507
6508 test -z "$AR" && AR=ar
6509 test -z "$AR_FLAGS" && AR_FLAGS=cru
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521 if test -n "$ac_tool_prefix"; then
6522 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6523 set dummy ${ac_tool_prefix}strip; ac_word=$2
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6525 $as_echo_n "checking for $ac_word... " >&6; }
6526 if test "${ac_cv_prog_STRIP+set}" = set; then :
6527 $as_echo_n "(cached) " >&6
6528 else
6529 if test -n "$STRIP"; then
6530 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6531 else
6532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6533 for as_dir in $PATH
6534 do
6535 IFS=$as_save_IFS
6536 test -z "$as_dir" && as_dir=.
6537 for ac_exec_ext in '' $ac_executable_extensions; do
6538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6539 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6541 break 2
6542 fi
6543 done
6544 done
6545 IFS=$as_save_IFS
6546
6547 fi
6548 fi
6549 STRIP=$ac_cv_prog_STRIP
6550 if test -n "$STRIP"; then
6551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6552 $as_echo "$STRIP" >&6; }
6553 else
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6555 $as_echo "no" >&6; }
6556 fi
6557
6558
6559 fi
6560 if test -z "$ac_cv_prog_STRIP"; then
6561 ac_ct_STRIP=$STRIP
6562 # Extract the first word of "strip", so it can be a program name with args.
6563 set dummy strip; ac_word=$2
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6565 $as_echo_n "checking for $ac_word... " >&6; }
6566 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6567 $as_echo_n "(cached) " >&6
6568 else
6569 if test -n "$ac_ct_STRIP"; then
6570 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6571 else
6572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6573 for as_dir in $PATH
6574 do
6575 IFS=$as_save_IFS
6576 test -z "$as_dir" && as_dir=.
6577 for ac_exec_ext in '' $ac_executable_extensions; do
6578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6579 ac_cv_prog_ac_ct_STRIP="strip"
6580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6581 break 2
6582 fi
6583 done
6584 done
6585 IFS=$as_save_IFS
6586
6587 fi
6588 fi
6589 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6590 if test -n "$ac_ct_STRIP"; then
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6592 $as_echo "$ac_ct_STRIP" >&6; }
6593 else
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6595 $as_echo "no" >&6; }
6596 fi
6597
6598 if test "x$ac_ct_STRIP" = x; then
6599 STRIP=":"
6600 else
6601 case $cross_compiling:$ac_tool_warned in
6602 yes:)
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6605 ac_tool_warned=yes ;;
6606 esac
6607 STRIP=$ac_ct_STRIP
6608 fi
6609 else
6610 STRIP="$ac_cv_prog_STRIP"
6611 fi
6612
6613 test -z "$STRIP" && STRIP=:
6614
6615
6616
6617
6618
6619
6620 if test -n "$ac_tool_prefix"; then
6621 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6622 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6624 $as_echo_n "checking for $ac_word... " >&6; }
6625 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6626 $as_echo_n "(cached) " >&6
6627 else
6628 if test -n "$RANLIB"; then
6629 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6630 else
6631 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6632 for as_dir in $PATH
6633 do
6634 IFS=$as_save_IFS
6635 test -z "$as_dir" && as_dir=.
6636 for ac_exec_ext in '' $ac_executable_extensions; do
6637 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6638 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6639 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6640 break 2
6641 fi
6642 done
6643 done
6644 IFS=$as_save_IFS
6645
6646 fi
6647 fi
6648 RANLIB=$ac_cv_prog_RANLIB
6649 if test -n "$RANLIB"; then
6650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6651 $as_echo "$RANLIB" >&6; }
6652 else
6653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6654 $as_echo "no" >&6; }
6655 fi
6656
6657
6658 fi
6659 if test -z "$ac_cv_prog_RANLIB"; then
6660 ac_ct_RANLIB=$RANLIB
6661 # Extract the first word of "ranlib", so it can be a program name with args.
6662 set dummy ranlib; ac_word=$2
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6664 $as_echo_n "checking for $ac_word... " >&6; }
6665 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6666 $as_echo_n "(cached) " >&6
6667 else
6668 if test -n "$ac_ct_RANLIB"; then
6669 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6670 else
6671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6672 for as_dir in $PATH
6673 do
6674 IFS=$as_save_IFS
6675 test -z "$as_dir" && as_dir=.
6676 for ac_exec_ext in '' $ac_executable_extensions; do
6677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6678 ac_cv_prog_ac_ct_RANLIB="ranlib"
6679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6680 break 2
6681 fi
6682 done
6683 done
6684 IFS=$as_save_IFS
6685
6686 fi
6687 fi
6688 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6689 if test -n "$ac_ct_RANLIB"; then
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6691 $as_echo "$ac_ct_RANLIB" >&6; }
6692 else
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6694 $as_echo "no" >&6; }
6695 fi
6696
6697 if test "x$ac_ct_RANLIB" = x; then
6698 RANLIB=":"
6699 else
6700 case $cross_compiling:$ac_tool_warned in
6701 yes:)
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6703 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6704 ac_tool_warned=yes ;;
6705 esac
6706 RANLIB=$ac_ct_RANLIB
6707 fi
6708 else
6709 RANLIB="$ac_cv_prog_RANLIB"
6710 fi
6711
6712 test -z "$RANLIB" && RANLIB=:
6713
6714
6715
6716
6717
6718
6719 # Determine commands to create old-style static archives.
6720 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6721 old_postinstall_cmds='chmod 644 $oldlib'
6722 old_postuninstall_cmds=
6723
6724 if test -n "$RANLIB"; then
6725 case $host_os in
6726 openbsd*)
6727 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6728 ;;
6729 *)
6730 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6731 ;;
6732 esac
6733 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6734 fi
6735
6736 case $host_os in
6737 darwin*)
6738 lock_old_archive_extraction=yes ;;
6739 *)
6740 lock_old_archive_extraction=no ;;
6741 esac
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781 # If no C compiler was specified, use CC.
6782 LTCC=${LTCC-"$CC"}
6783
6784 # If no C compiler flags were specified, use CFLAGS.
6785 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6786
6787 # Allow CC to be a program name with arguments.
6788 compiler=$CC
6789
6790
6791 # Check for command to grab the raw symbol name followed by C symbol from nm.
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6793 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6794 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6795 $as_echo_n "(cached) " >&6
6796 else
6797
6798 # These are sane defaults that work on at least a few old systems.
6799 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6800
6801 # Character class describing NM global symbol codes.
6802 symcode='[BCDEGRST]'
6803
6804 # Regexp to match symbols that can be accessed directly from C.
6805 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6806
6807 # Define system-specific variables.
6808 case $host_os in
6809 aix*)
6810 symcode='[BCDT]'
6811 ;;
6812 cygwin* | mingw* | pw32* | cegcc*)
6813 symcode='[ABCDGISTW]'
6814 ;;
6815 hpux*)
6816 if test "$host_cpu" = ia64; then
6817 symcode='[ABCDEGRST]'
6818 fi
6819 ;;
6820 irix* | nonstopux*)
6821 symcode='[BCDEGRST]'
6822 ;;
6823 osf*)
6824 symcode='[BCDEGQRST]'
6825 ;;
6826 solaris*)
6827 symcode='[BDRT]'
6828 ;;
6829 sco3.2v5*)
6830 symcode='[DT]'
6831 ;;
6832 sysv4.2uw2*)
6833 symcode='[DT]'
6834 ;;
6835 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6836 symcode='[ABDT]'
6837 ;;
6838 sysv4)
6839 symcode='[DFNSTU]'
6840 ;;
6841 esac
6842
6843 # If we're using GNU nm, then use its standard symbol codes.
6844 case `$NM -V 2>&1` in
6845 *GNU* | *'with BFD'*)
6846 symcode='[ABCDGIRSTW]' ;;
6847 esac
6848
6849 # Transform an extracted symbol line into a proper C declaration.
6850 # Some systems (esp. on ia64) link data and code symbols differently,
6851 # so use this general approach.
6852 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6853
6854 # Transform an extracted symbol line into symbol name and symbol address
6855 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6856 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'"
6857
6858 # Handle CRLF in mingw tool chain
6859 opt_cr=
6860 case $build_os in
6861 mingw*)
6862 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6863 ;;
6864 esac
6865
6866 # Try without a prefix underscore, then with it.
6867 for ac_symprfx in "" "_"; do
6868
6869 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6870 symxfrm="\\1 $ac_symprfx\\2 \\2"
6871
6872 # Write the raw and C identifiers.
6873 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6874 # Fake it for dumpbin and say T for any non-static function
6875 # and D for any global variable.
6876 # Also find C++ and __fastcall symbols from MSVC++,
6877 # which start with @ or ?.
6878 lt_cv_sys_global_symbol_pipe="$AWK '"\
6879 " {last_section=section; section=\$ 3};"\
6880 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6881 " \$ 0!~/External *\|/{next};"\
6882 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6883 " {if(hide[section]) next};"\
6884 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6885 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6886 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6887 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6888 " ' prfx=^$ac_symprfx"
6889 else
6890 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6891 fi
6892
6893 # Check to see that the pipe works correctly.
6894 pipe_works=no
6895
6896 rm -f conftest*
6897 cat > conftest.$ac_ext <<_LT_EOF
6898 #ifdef __cplusplus
6899 extern "C" {
6900 #endif
6901 char nm_test_var;
6902 void nm_test_func(void);
6903 void nm_test_func(void){}
6904 #ifdef __cplusplus
6905 }
6906 #endif
6907 int main(){nm_test_var='a';nm_test_func();return(0);}
6908 _LT_EOF
6909
6910 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6911 (eval $ac_compile) 2>&5
6912 ac_status=$?
6913 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6914 test $ac_status = 0; }; then
6915 # Now try to grab the symbols.
6916 nlist=conftest.nm
6917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6918 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6919 ac_status=$?
6920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6921 test $ac_status = 0; } && test -s "$nlist"; then
6922 # Try sorting and uniquifying the output.
6923 if sort "$nlist" | uniq > "$nlist"T; then
6924 mv -f "$nlist"T "$nlist"
6925 else
6926 rm -f "$nlist"T
6927 fi
6928
6929 # Make sure that we snagged all the symbols we need.
6930 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6931 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6932 cat <<_LT_EOF > conftest.$ac_ext
6933 #ifdef __cplusplus
6934 extern "C" {
6935 #endif
6936
6937 _LT_EOF
6938 # Now generate the symbol file.
6939 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6940
6941 cat <<_LT_EOF >> conftest.$ac_ext
6942
6943 /* The mapping between symbol names and symbols. */
6944 const struct {
6945 const char *name;
6946 void *address;
6947 }
6948 lt__PROGRAM__LTX_preloaded_symbols[] =
6949 {
6950 { "@PROGRAM@", (void *) 0 },
6951 _LT_EOF
6952 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6953 cat <<\_LT_EOF >> conftest.$ac_ext
6954 {0, (void *) 0}
6955 };
6956
6957 /* This works around a problem in FreeBSD linker */
6958 #ifdef FREEBSD_WORKAROUND
6959 static const void *lt_preloaded_setup() {
6960 return lt__PROGRAM__LTX_preloaded_symbols;
6961 }
6962 #endif
6963
6964 #ifdef __cplusplus
6965 }
6966 #endif
6967 _LT_EOF
6968 # Now try linking the two files.
6969 mv conftest.$ac_objext conftstm.$ac_objext
6970 lt_save_LIBS="$LIBS"
6971 lt_save_CFLAGS="$CFLAGS"
6972 LIBS="conftstm.$ac_objext"
6973 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6974 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6975 (eval $ac_link) 2>&5
6976 ac_status=$?
6977 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6978 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6979 pipe_works=yes
6980 fi
6981 LIBS="$lt_save_LIBS"
6982 CFLAGS="$lt_save_CFLAGS"
6983 else
6984 echo "cannot find nm_test_func in $nlist" >&5
6985 fi
6986 else
6987 echo "cannot find nm_test_var in $nlist" >&5
6988 fi
6989 else
6990 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6991 fi
6992 else
6993 echo "$progname: failed program was:" >&5
6994 cat conftest.$ac_ext >&5
6995 fi
6996 rm -rf conftest* conftst*
6997
6998 # Do not use the global_symbol_pipe unless it works.
6999 if test "$pipe_works" = yes; then
7000 break
7001 else
7002 lt_cv_sys_global_symbol_pipe=
7003 fi
7004 done
7005
7006 fi
7007
7008 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7009 lt_cv_sys_global_symbol_to_cdecl=
7010 fi
7011 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7013 $as_echo "failed" >&6; }
7014 else
7015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7016 $as_echo "ok" >&6; }
7017 fi
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040 # Check whether --enable-libtool-lock was given.
7041 if test "${enable_libtool_lock+set}" = set; then :
7042 enableval=$enable_libtool_lock;
7043 fi
7044
7045 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7046
7047 # Some flags need to be propagated to the compiler or linker for good
7048 # libtool support.
7049 case $host in
7050 ia64-*-hpux*)
7051 # Find out which ABI we are using.
7052 echo 'int i;' > conftest.$ac_ext
7053 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7054 (eval $ac_compile) 2>&5
7055 ac_status=$?
7056 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7057 test $ac_status = 0; }; then
7058 case `/usr/bin/file conftest.$ac_objext` in
7059 *ELF-32*)
7060 HPUX_IA64_MODE="32"
7061 ;;
7062 *ELF-64*)
7063 HPUX_IA64_MODE="64"
7064 ;;
7065 esac
7066 fi
7067 rm -rf conftest*
7068 ;;
7069 *-*-irix6*)
7070 # Find out which ABI we are using.
7071 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7073 (eval $ac_compile) 2>&5
7074 ac_status=$?
7075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7076 test $ac_status = 0; }; then
7077 if test "$lt_cv_prog_gnu_ld" = yes; then
7078 case `/usr/bin/file conftest.$ac_objext` in
7079 *32-bit*)
7080 LD="${LD-ld} -melf32bsmip"
7081 ;;
7082 *N32*)
7083 LD="${LD-ld} -melf32bmipn32"
7084 ;;
7085 *64-bit*)
7086 LD="${LD-ld} -melf64bmip"
7087 ;;
7088 esac
7089 else
7090 case `/usr/bin/file conftest.$ac_objext` in
7091 *32-bit*)
7092 LD="${LD-ld} -32"
7093 ;;
7094 *N32*)
7095 LD="${LD-ld} -n32"
7096 ;;
7097 *64-bit*)
7098 LD="${LD-ld} -64"
7099 ;;
7100 esac
7101 fi
7102 fi
7103 rm -rf conftest*
7104 ;;
7105
7106 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7107 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7108 # Find out which ABI we are using.
7109 echo 'int i;' > conftest.$ac_ext
7110 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7111 (eval $ac_compile) 2>&5
7112 ac_status=$?
7113 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7114 test $ac_status = 0; }; then
7115 case `/usr/bin/file conftest.o` in
7116 *32-bit*)
7117 case $host in
7118 x86_64-*kfreebsd*-gnu)
7119 LD="${LD-ld} -m elf_i386_fbsd"
7120 ;;
7121 x86_64-*linux*)
7122 case `/usr/bin/file conftest.o` in
7123 *x86-64*)
7124 LD="${LD-ld} -m elf32_x86_64"
7125 ;;
7126 *)
7127 LD="${LD-ld} -m elf_i386"
7128 ;;
7129 esac
7130 ;;
7131 ppc64-*linux*|powerpc64-*linux*)
7132 LD="${LD-ld} -m elf32ppclinux"
7133 ;;
7134 s390x-*linux*)
7135 LD="${LD-ld} -m elf_s390"
7136 ;;
7137 sparc64-*linux*)
7138 LD="${LD-ld} -m elf32_sparc"
7139 ;;
7140 esac
7141 ;;
7142 *64-bit*)
7143 case $host in
7144 x86_64-*kfreebsd*-gnu)
7145 LD="${LD-ld} -m elf_x86_64_fbsd"
7146 ;;
7147 x86_64-*linux*)
7148 LD="${LD-ld} -m elf_x86_64"
7149 ;;
7150 ppc*-*linux*|powerpc*-*linux*)
7151 LD="${LD-ld} -m elf64ppc"
7152 ;;
7153 s390*-*linux*|s390*-*tpf*)
7154 LD="${LD-ld} -m elf64_s390"
7155 ;;
7156 sparc*-*linux*)
7157 LD="${LD-ld} -m elf64_sparc"
7158 ;;
7159 esac
7160 ;;
7161 esac
7162 fi
7163 rm -rf conftest*
7164 ;;
7165
7166 *-*-sco3.2v5*)
7167 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7168 SAVE_CFLAGS="$CFLAGS"
7169 CFLAGS="$CFLAGS -belf"
7170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7171 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7172 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7173 $as_echo_n "(cached) " >&6
7174 else
7175 ac_ext=c
7176 ac_cpp='$CPP $CPPFLAGS'
7177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7180
7181 if test x$gcc_no_link = xyes; then
7182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7183 fi
7184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7185 /* end confdefs.h. */
7186
7187 int
7188 main ()
7189 {
7190
7191 ;
7192 return 0;
7193 }
7194 _ACEOF
7195 if ac_fn_c_try_link "$LINENO"; then :
7196 lt_cv_cc_needs_belf=yes
7197 else
7198 lt_cv_cc_needs_belf=no
7199 fi
7200 rm -f core conftest.err conftest.$ac_objext \
7201 conftest$ac_exeext conftest.$ac_ext
7202 ac_ext=c
7203 ac_cpp='$CPP $CPPFLAGS'
7204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7207
7208 fi
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7210 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7211 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7212 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7213 CFLAGS="$SAVE_CFLAGS"
7214 fi
7215 ;;
7216 sparc*-*solaris*)
7217 # Find out which ABI we are using.
7218 echo 'int i;' > conftest.$ac_ext
7219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7220 (eval $ac_compile) 2>&5
7221 ac_status=$?
7222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7223 test $ac_status = 0; }; then
7224 case `/usr/bin/file conftest.o` in
7225 *64-bit*)
7226 case $lt_cv_prog_gnu_ld in
7227 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7228 *)
7229 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7230 LD="${LD-ld} -64"
7231 fi
7232 ;;
7233 esac
7234 ;;
7235 esac
7236 fi
7237 rm -rf conftest*
7238 ;;
7239 esac
7240
7241 need_locks="$enable_libtool_lock"
7242
7243
7244 case $host_os in
7245 rhapsody* | darwin*)
7246 if test -n "$ac_tool_prefix"; then
7247 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7248 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7250 $as_echo_n "checking for $ac_word... " >&6; }
7251 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7252 $as_echo_n "(cached) " >&6
7253 else
7254 if test -n "$DSYMUTIL"; then
7255 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7256 else
7257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7258 for as_dir in $PATH
7259 do
7260 IFS=$as_save_IFS
7261 test -z "$as_dir" && as_dir=.
7262 for ac_exec_ext in '' $ac_executable_extensions; do
7263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7264 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7265 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7266 break 2
7267 fi
7268 done
7269 done
7270 IFS=$as_save_IFS
7271
7272 fi
7273 fi
7274 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7275 if test -n "$DSYMUTIL"; then
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7277 $as_echo "$DSYMUTIL" >&6; }
7278 else
7279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7280 $as_echo "no" >&6; }
7281 fi
7282
7283
7284 fi
7285 if test -z "$ac_cv_prog_DSYMUTIL"; then
7286 ac_ct_DSYMUTIL=$DSYMUTIL
7287 # Extract the first word of "dsymutil", so it can be a program name with args.
7288 set dummy dsymutil; ac_word=$2
7289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7290 $as_echo_n "checking for $ac_word... " >&6; }
7291 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7292 $as_echo_n "(cached) " >&6
7293 else
7294 if test -n "$ac_ct_DSYMUTIL"; then
7295 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7296 else
7297 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7298 for as_dir in $PATH
7299 do
7300 IFS=$as_save_IFS
7301 test -z "$as_dir" && as_dir=.
7302 for ac_exec_ext in '' $ac_executable_extensions; do
7303 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7304 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7305 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7306 break 2
7307 fi
7308 done
7309 done
7310 IFS=$as_save_IFS
7311
7312 fi
7313 fi
7314 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7315 if test -n "$ac_ct_DSYMUTIL"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7317 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7318 else
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7320 $as_echo "no" >&6; }
7321 fi
7322
7323 if test "x$ac_ct_DSYMUTIL" = x; then
7324 DSYMUTIL=":"
7325 else
7326 case $cross_compiling:$ac_tool_warned in
7327 yes:)
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7329 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7330 ac_tool_warned=yes ;;
7331 esac
7332 DSYMUTIL=$ac_ct_DSYMUTIL
7333 fi
7334 else
7335 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7336 fi
7337
7338 if test -n "$ac_tool_prefix"; then
7339 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7340 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7342 $as_echo_n "checking for $ac_word... " >&6; }
7343 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7344 $as_echo_n "(cached) " >&6
7345 else
7346 if test -n "$NMEDIT"; then
7347 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7348 else
7349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7350 for as_dir in $PATH
7351 do
7352 IFS=$as_save_IFS
7353 test -z "$as_dir" && as_dir=.
7354 for ac_exec_ext in '' $ac_executable_extensions; do
7355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7356 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7358 break 2
7359 fi
7360 done
7361 done
7362 IFS=$as_save_IFS
7363
7364 fi
7365 fi
7366 NMEDIT=$ac_cv_prog_NMEDIT
7367 if test -n "$NMEDIT"; then
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7369 $as_echo "$NMEDIT" >&6; }
7370 else
7371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7372 $as_echo "no" >&6; }
7373 fi
7374
7375
7376 fi
7377 if test -z "$ac_cv_prog_NMEDIT"; then
7378 ac_ct_NMEDIT=$NMEDIT
7379 # Extract the first word of "nmedit", so it can be a program name with args.
7380 set dummy nmedit; ac_word=$2
7381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7382 $as_echo_n "checking for $ac_word... " >&6; }
7383 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7384 $as_echo_n "(cached) " >&6
7385 else
7386 if test -n "$ac_ct_NMEDIT"; then
7387 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7388 else
7389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7390 for as_dir in $PATH
7391 do
7392 IFS=$as_save_IFS
7393 test -z "$as_dir" && as_dir=.
7394 for ac_exec_ext in '' $ac_executable_extensions; do
7395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7396 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7398 break 2
7399 fi
7400 done
7401 done
7402 IFS=$as_save_IFS
7403
7404 fi
7405 fi
7406 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7407 if test -n "$ac_ct_NMEDIT"; then
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7409 $as_echo "$ac_ct_NMEDIT" >&6; }
7410 else
7411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7412 $as_echo "no" >&6; }
7413 fi
7414
7415 if test "x$ac_ct_NMEDIT" = x; then
7416 NMEDIT=":"
7417 else
7418 case $cross_compiling:$ac_tool_warned in
7419 yes:)
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7421 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7422 ac_tool_warned=yes ;;
7423 esac
7424 NMEDIT=$ac_ct_NMEDIT
7425 fi
7426 else
7427 NMEDIT="$ac_cv_prog_NMEDIT"
7428 fi
7429
7430 if test -n "$ac_tool_prefix"; then
7431 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7432 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7434 $as_echo_n "checking for $ac_word... " >&6; }
7435 if test "${ac_cv_prog_LIPO+set}" = set; then :
7436 $as_echo_n "(cached) " >&6
7437 else
7438 if test -n "$LIPO"; then
7439 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7440 else
7441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7442 for as_dir in $PATH
7443 do
7444 IFS=$as_save_IFS
7445 test -z "$as_dir" && as_dir=.
7446 for ac_exec_ext in '' $ac_executable_extensions; do
7447 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7448 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7449 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7450 break 2
7451 fi
7452 done
7453 done
7454 IFS=$as_save_IFS
7455
7456 fi
7457 fi
7458 LIPO=$ac_cv_prog_LIPO
7459 if test -n "$LIPO"; then
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7461 $as_echo "$LIPO" >&6; }
7462 else
7463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7464 $as_echo "no" >&6; }
7465 fi
7466
7467
7468 fi
7469 if test -z "$ac_cv_prog_LIPO"; then
7470 ac_ct_LIPO=$LIPO
7471 # Extract the first word of "lipo", so it can be a program name with args.
7472 set dummy lipo; ac_word=$2
7473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7474 $as_echo_n "checking for $ac_word... " >&6; }
7475 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7476 $as_echo_n "(cached) " >&6
7477 else
7478 if test -n "$ac_ct_LIPO"; then
7479 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7480 else
7481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7482 for as_dir in $PATH
7483 do
7484 IFS=$as_save_IFS
7485 test -z "$as_dir" && as_dir=.
7486 for ac_exec_ext in '' $ac_executable_extensions; do
7487 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7488 ac_cv_prog_ac_ct_LIPO="lipo"
7489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7490 break 2
7491 fi
7492 done
7493 done
7494 IFS=$as_save_IFS
7495
7496 fi
7497 fi
7498 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7499 if test -n "$ac_ct_LIPO"; then
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7501 $as_echo "$ac_ct_LIPO" >&6; }
7502 else
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7504 $as_echo "no" >&6; }
7505 fi
7506
7507 if test "x$ac_ct_LIPO" = x; then
7508 LIPO=":"
7509 else
7510 case $cross_compiling:$ac_tool_warned in
7511 yes:)
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7514 ac_tool_warned=yes ;;
7515 esac
7516 LIPO=$ac_ct_LIPO
7517 fi
7518 else
7519 LIPO="$ac_cv_prog_LIPO"
7520 fi
7521
7522 if test -n "$ac_tool_prefix"; then
7523 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7524 set dummy ${ac_tool_prefix}otool; ac_word=$2
7525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7526 $as_echo_n "checking for $ac_word... " >&6; }
7527 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7528 $as_echo_n "(cached) " >&6
7529 else
7530 if test -n "$OTOOL"; then
7531 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7532 else
7533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7534 for as_dir in $PATH
7535 do
7536 IFS=$as_save_IFS
7537 test -z "$as_dir" && as_dir=.
7538 for ac_exec_ext in '' $ac_executable_extensions; do
7539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7540 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7542 break 2
7543 fi
7544 done
7545 done
7546 IFS=$as_save_IFS
7547
7548 fi
7549 fi
7550 OTOOL=$ac_cv_prog_OTOOL
7551 if test -n "$OTOOL"; then
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7553 $as_echo "$OTOOL" >&6; }
7554 else
7555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7556 $as_echo "no" >&6; }
7557 fi
7558
7559
7560 fi
7561 if test -z "$ac_cv_prog_OTOOL"; then
7562 ac_ct_OTOOL=$OTOOL
7563 # Extract the first word of "otool", so it can be a program name with args.
7564 set dummy otool; ac_word=$2
7565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7566 $as_echo_n "checking for $ac_word... " >&6; }
7567 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7568 $as_echo_n "(cached) " >&6
7569 else
7570 if test -n "$ac_ct_OTOOL"; then
7571 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7572 else
7573 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7574 for as_dir in $PATH
7575 do
7576 IFS=$as_save_IFS
7577 test -z "$as_dir" && as_dir=.
7578 for ac_exec_ext in '' $ac_executable_extensions; do
7579 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7580 ac_cv_prog_ac_ct_OTOOL="otool"
7581 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7582 break 2
7583 fi
7584 done
7585 done
7586 IFS=$as_save_IFS
7587
7588 fi
7589 fi
7590 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7591 if test -n "$ac_ct_OTOOL"; then
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7593 $as_echo "$ac_ct_OTOOL" >&6; }
7594 else
7595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7596 $as_echo "no" >&6; }
7597 fi
7598
7599 if test "x$ac_ct_OTOOL" = x; then
7600 OTOOL=":"
7601 else
7602 case $cross_compiling:$ac_tool_warned in
7603 yes:)
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7605 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7606 ac_tool_warned=yes ;;
7607 esac
7608 OTOOL=$ac_ct_OTOOL
7609 fi
7610 else
7611 OTOOL="$ac_cv_prog_OTOOL"
7612 fi
7613
7614 if test -n "$ac_tool_prefix"; then
7615 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7616 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7618 $as_echo_n "checking for $ac_word... " >&6; }
7619 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7620 $as_echo_n "(cached) " >&6
7621 else
7622 if test -n "$OTOOL64"; then
7623 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7624 else
7625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7626 for as_dir in $PATH
7627 do
7628 IFS=$as_save_IFS
7629 test -z "$as_dir" && as_dir=.
7630 for ac_exec_ext in '' $ac_executable_extensions; do
7631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7632 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7634 break 2
7635 fi
7636 done
7637 done
7638 IFS=$as_save_IFS
7639
7640 fi
7641 fi
7642 OTOOL64=$ac_cv_prog_OTOOL64
7643 if test -n "$OTOOL64"; then
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7645 $as_echo "$OTOOL64" >&6; }
7646 else
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7648 $as_echo "no" >&6; }
7649 fi
7650
7651
7652 fi
7653 if test -z "$ac_cv_prog_OTOOL64"; then
7654 ac_ct_OTOOL64=$OTOOL64
7655 # Extract the first word of "otool64", so it can be a program name with args.
7656 set dummy otool64; ac_word=$2
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7658 $as_echo_n "checking for $ac_word... " >&6; }
7659 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7660 $as_echo_n "(cached) " >&6
7661 else
7662 if test -n "$ac_ct_OTOOL64"; then
7663 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7664 else
7665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666 for as_dir in $PATH
7667 do
7668 IFS=$as_save_IFS
7669 test -z "$as_dir" && as_dir=.
7670 for ac_exec_ext in '' $ac_executable_extensions; do
7671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7672 ac_cv_prog_ac_ct_OTOOL64="otool64"
7673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7674 break 2
7675 fi
7676 done
7677 done
7678 IFS=$as_save_IFS
7679
7680 fi
7681 fi
7682 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7683 if test -n "$ac_ct_OTOOL64"; then
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7685 $as_echo "$ac_ct_OTOOL64" >&6; }
7686 else
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7688 $as_echo "no" >&6; }
7689 fi
7690
7691 if test "x$ac_ct_OTOOL64" = x; then
7692 OTOOL64=":"
7693 else
7694 case $cross_compiling:$ac_tool_warned in
7695 yes:)
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7698 ac_tool_warned=yes ;;
7699 esac
7700 OTOOL64=$ac_ct_OTOOL64
7701 fi
7702 else
7703 OTOOL64="$ac_cv_prog_OTOOL64"
7704 fi
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7733 $as_echo_n "checking for -single_module linker flag... " >&6; }
7734 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7735 $as_echo_n "(cached) " >&6
7736 else
7737 lt_cv_apple_cc_single_mod=no
7738 if test -z "${LT_MULTI_MODULE}"; then
7739 # By default we will add the -single_module flag. You can override
7740 # by either setting the environment variable LT_MULTI_MODULE
7741 # non-empty at configure time, or by adding -multi_module to the
7742 # link flags.
7743 rm -rf libconftest.dylib*
7744 echo "int foo(void){return 1;}" > conftest.c
7745 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7746 -dynamiclib -Wl,-single_module conftest.c" >&5
7747 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7748 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7749 _lt_result=$?
7750 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7751 lt_cv_apple_cc_single_mod=yes
7752 else
7753 cat conftest.err >&5
7754 fi
7755 rm -rf libconftest.dylib*
7756 rm -f conftest.*
7757 fi
7758 fi
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7760 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7762 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7763 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7764 $as_echo_n "(cached) " >&6
7765 else
7766 lt_cv_ld_exported_symbols_list=no
7767 save_LDFLAGS=$LDFLAGS
7768 echo "_main" > conftest.sym
7769 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7770 if test x$gcc_no_link = xyes; then
7771 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7772 fi
7773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7774 /* end confdefs.h. */
7775
7776 int
7777 main ()
7778 {
7779
7780 ;
7781 return 0;
7782 }
7783 _ACEOF
7784 if ac_fn_c_try_link "$LINENO"; then :
7785 lt_cv_ld_exported_symbols_list=yes
7786 else
7787 lt_cv_ld_exported_symbols_list=no
7788 fi
7789 rm -f core conftest.err conftest.$ac_objext \
7790 conftest$ac_exeext conftest.$ac_ext
7791 LDFLAGS="$save_LDFLAGS"
7792
7793 fi
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7795 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7797 $as_echo_n "checking for -force_load linker flag... " >&6; }
7798 if test "${lt_cv_ld_force_load+set}" = set; then :
7799 $as_echo_n "(cached) " >&6
7800 else
7801 lt_cv_ld_force_load=no
7802 cat > conftest.c << _LT_EOF
7803 int forced_loaded() { return 2;}
7804 _LT_EOF
7805 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7806 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7807 echo "$AR cru libconftest.a conftest.o" >&5
7808 $AR cru libconftest.a conftest.o 2>&5
7809 cat > conftest.c << _LT_EOF
7810 int main() { return 0;}
7811 _LT_EOF
7812 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7813 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7814 _lt_result=$?
7815 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7816 lt_cv_ld_force_load=yes
7817 else
7818 cat conftest.err >&5
7819 fi
7820 rm -f conftest.err libconftest.a conftest conftest.c
7821 rm -rf conftest.dSYM
7822
7823 fi
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7825 $as_echo "$lt_cv_ld_force_load" >&6; }
7826 case $host_os in
7827 rhapsody* | darwin1.[012])
7828 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7829 darwin1.*)
7830 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7831 darwin*) # darwin 5.x on
7832 # if running on 10.5 or later, the deployment target defaults
7833 # to the OS version, if on x86, and 10.4, the deployment
7834 # target defaults to 10.4. Don't you love it?
7835 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7836 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7837 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7838 10.[012]*)
7839 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7840 10.*)
7841 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7842 esac
7843 ;;
7844 esac
7845 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7846 _lt_dar_single_mod='$single_module'
7847 fi
7848 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7849 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7850 else
7851 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7852 fi
7853 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7854 _lt_dsymutil='~$DSYMUTIL $lib || :'
7855 else
7856 _lt_dsymutil=
7857 fi
7858 ;;
7859 esac
7860
7861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7862 $as_echo_n "checking for ANSI C header files... " >&6; }
7863 if test "${ac_cv_header_stdc+set}" = set; then :
7864 $as_echo_n "(cached) " >&6
7865 else
7866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7867 /* end confdefs.h. */
7868 #include <stdlib.h>
7869 #include <stdarg.h>
7870 #include <string.h>
7871 #include <float.h>
7872
7873 int
7874 main ()
7875 {
7876
7877 ;
7878 return 0;
7879 }
7880 _ACEOF
7881 if ac_fn_c_try_compile "$LINENO"; then :
7882 ac_cv_header_stdc=yes
7883 else
7884 ac_cv_header_stdc=no
7885 fi
7886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7887
7888 if test $ac_cv_header_stdc = yes; then
7889 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7891 /* end confdefs.h. */
7892 #include <string.h>
7893
7894 _ACEOF
7895 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7896 $EGREP "memchr" >/dev/null 2>&1; then :
7897
7898 else
7899 ac_cv_header_stdc=no
7900 fi
7901 rm -f conftest*
7902
7903 fi
7904
7905 if test $ac_cv_header_stdc = yes; then
7906 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7908 /* end confdefs.h. */
7909 #include <stdlib.h>
7910
7911 _ACEOF
7912 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7913 $EGREP "free" >/dev/null 2>&1; then :
7914
7915 else
7916 ac_cv_header_stdc=no
7917 fi
7918 rm -f conftest*
7919
7920 fi
7921
7922 if test $ac_cv_header_stdc = yes; then
7923 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7924 if test "$cross_compiling" = yes; then :
7925 :
7926 else
7927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7928 /* end confdefs.h. */
7929 #include <ctype.h>
7930 #include <stdlib.h>
7931 #if ((' ' & 0x0FF) == 0x020)
7932 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7933 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7934 #else
7935 # define ISLOWER(c) \
7936 (('a' <= (c) && (c) <= 'i') \
7937 || ('j' <= (c) && (c) <= 'r') \
7938 || ('s' <= (c) && (c) <= 'z'))
7939 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7940 #endif
7941
7942 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7943 int
7944 main ()
7945 {
7946 int i;
7947 for (i = 0; i < 256; i++)
7948 if (XOR (islower (i), ISLOWER (i))
7949 || toupper (i) != TOUPPER (i))
7950 return 2;
7951 return 0;
7952 }
7953 _ACEOF
7954 if ac_fn_c_try_run "$LINENO"; then :
7955
7956 else
7957 ac_cv_header_stdc=no
7958 fi
7959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7960 conftest.$ac_objext conftest.beam conftest.$ac_ext
7961 fi
7962
7963 fi
7964 fi
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7966 $as_echo "$ac_cv_header_stdc" >&6; }
7967 if test $ac_cv_header_stdc = yes; then
7968
7969 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7970
7971 fi
7972
7973 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7974 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7975 inttypes.h stdint.h unistd.h
7976 do :
7977 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7978 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7979 "
7980 eval as_val=\$$as_ac_Header
7981 if test "x$as_val" = x""yes; then :
7982 cat >>confdefs.h <<_ACEOF
7983 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7984 _ACEOF
7985
7986 fi
7987
7988 done
7989
7990
7991 for ac_header in dlfcn.h
7992 do :
7993 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7994 "
7995 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7996 cat >>confdefs.h <<_ACEOF
7997 #define HAVE_DLFCN_H 1
7998 _ACEOF
7999
8000 fi
8001
8002 done
8003
8004
8005
8006
8007
8008
8009 # Set options
8010
8011
8012
8013
8014 enable_win32_dll=no
8015
8016
8017 # Check whether --enable-shared was given.
8018 if test "${enable_shared+set}" = set; then :
8019 enableval=$enable_shared; p=${PACKAGE-default}
8020 case $enableval in
8021 yes) enable_shared=yes ;;
8022 no) enable_shared=no ;;
8023 *)
8024 enable_shared=no
8025 # Look at the argument we got. We use all the common list separators.
8026 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8027 for pkg in $enableval; do
8028 IFS="$lt_save_ifs"
8029 if test "X$pkg" = "X$p"; then
8030 enable_shared=yes
8031 fi
8032 done
8033 IFS="$lt_save_ifs"
8034 ;;
8035 esac
8036 else
8037 enable_shared=yes
8038 fi
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048 # Check whether --enable-static was given.
8049 if test "${enable_static+set}" = set; then :
8050 enableval=$enable_static; p=${PACKAGE-default}
8051 case $enableval in
8052 yes) enable_static=yes ;;
8053 no) enable_static=no ;;
8054 *)
8055 enable_static=no
8056 # Look at the argument we got. We use all the common list separators.
8057 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8058 for pkg in $enableval; do
8059 IFS="$lt_save_ifs"
8060 if test "X$pkg" = "X$p"; then
8061 enable_static=yes
8062 fi
8063 done
8064 IFS="$lt_save_ifs"
8065 ;;
8066 esac
8067 else
8068 enable_static=yes
8069 fi
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080 # Check whether --with-pic was given.
8081 if test "${with_pic+set}" = set; then :
8082 withval=$with_pic; pic_mode="$withval"
8083 else
8084 pic_mode=default
8085 fi
8086
8087
8088 test -z "$pic_mode" && pic_mode=default
8089
8090
8091
8092
8093
8094
8095
8096 # Check whether --enable-fast-install was given.
8097 if test "${enable_fast_install+set}" = set; then :
8098 enableval=$enable_fast_install; p=${PACKAGE-default}
8099 case $enableval in
8100 yes) enable_fast_install=yes ;;
8101 no) enable_fast_install=no ;;
8102 *)
8103 enable_fast_install=no
8104 # Look at the argument we got. We use all the common list separators.
8105 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8106 for pkg in $enableval; do
8107 IFS="$lt_save_ifs"
8108 if test "X$pkg" = "X$p"; then
8109 enable_fast_install=yes
8110 fi
8111 done
8112 IFS="$lt_save_ifs"
8113 ;;
8114 esac
8115 else
8116 enable_fast_install=yes
8117 fi
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129 # This can be used to rebuild libtool when needed
8130 LIBTOOL_DEPS="$ltmain"
8131
8132 # Always use our own libtool.
8133 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160 test -z "$LN_S" && LN_S="ln -s"
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175 if test -n "${ZSH_VERSION+set}" ; then
8176 setopt NO_GLOB_SUBST
8177 fi
8178
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8180 $as_echo_n "checking for objdir... " >&6; }
8181 if test "${lt_cv_objdir+set}" = set; then :
8182 $as_echo_n "(cached) " >&6
8183 else
8184 rm -f .libs 2>/dev/null
8185 mkdir .libs 2>/dev/null
8186 if test -d .libs; then
8187 lt_cv_objdir=.libs
8188 else
8189 # MS-DOS does not allow filenames that begin with a dot.
8190 lt_cv_objdir=_libs
8191 fi
8192 rmdir .libs 2>/dev/null
8193 fi
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8195 $as_echo "$lt_cv_objdir" >&6; }
8196 objdir=$lt_cv_objdir
8197
8198
8199
8200
8201
8202 cat >>confdefs.h <<_ACEOF
8203 #define LT_OBJDIR "$lt_cv_objdir/"
8204 _ACEOF
8205
8206
8207
8208
8209 case $host_os in
8210 aix3*)
8211 # AIX sometimes has problems with the GCC collect2 program. For some
8212 # reason, if we set the COLLECT_NAMES environment variable, the problems
8213 # vanish in a puff of smoke.
8214 if test "X${COLLECT_NAMES+set}" != Xset; then
8215 COLLECT_NAMES=
8216 export COLLECT_NAMES
8217 fi
8218 ;;
8219 esac
8220
8221 # Global variables:
8222 ofile=libtool
8223 can_build_shared=yes
8224
8225 # All known linkers require a `.a' archive for static linking (except MSVC,
8226 # which needs '.lib').
8227 libext=a
8228
8229 with_gnu_ld="$lt_cv_prog_gnu_ld"
8230
8231 old_CC="$CC"
8232 old_CFLAGS="$CFLAGS"
8233
8234 # Set sane defaults for various variables
8235 test -z "$CC" && CC=cc
8236 test -z "$LTCC" && LTCC=$CC
8237 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8238 test -z "$LD" && LD=ld
8239 test -z "$ac_objext" && ac_objext=o
8240
8241 for cc_temp in $compiler""; do
8242 case $cc_temp in
8243 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8244 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8245 \-*) ;;
8246 *) break;;
8247 esac
8248 done
8249 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8250
8251
8252 # Only perform the check for file, if the check method requires it
8253 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8254 case $deplibs_check_method in
8255 file_magic*)
8256 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8258 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8259 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 case $MAGIC_CMD in
8263 [\\/*] | ?:[\\/]*)
8264 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8265 ;;
8266 *)
8267 lt_save_MAGIC_CMD="$MAGIC_CMD"
8268 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8269 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8270 for ac_dir in $ac_dummy; do
8271 IFS="$lt_save_ifs"
8272 test -z "$ac_dir" && ac_dir=.
8273 if test -f $ac_dir/${ac_tool_prefix}file; then
8274 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8275 if test -n "$file_magic_test_file"; then
8276 case $deplibs_check_method in
8277 "file_magic "*)
8278 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8279 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8280 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8281 $EGREP "$file_magic_regex" > /dev/null; then
8282 :
8283 else
8284 cat <<_LT_EOF 1>&2
8285
8286 *** Warning: the command libtool uses to detect shared libraries,
8287 *** $file_magic_cmd, produces output that libtool cannot recognize.
8288 *** The result is that libtool may fail to recognize shared libraries
8289 *** as such. This will affect the creation of libtool libraries that
8290 *** depend on shared libraries, but programs linked with such libtool
8291 *** libraries will work regardless of this problem. Nevertheless, you
8292 *** may want to report the problem to your system manager and/or to
8293 *** bug-libtool@gnu.org
8294
8295 _LT_EOF
8296 fi ;;
8297 esac
8298 fi
8299 break
8300 fi
8301 done
8302 IFS="$lt_save_ifs"
8303 MAGIC_CMD="$lt_save_MAGIC_CMD"
8304 ;;
8305 esac
8306 fi
8307
8308 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8309 if test -n "$MAGIC_CMD"; then
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8311 $as_echo "$MAGIC_CMD" >&6; }
8312 else
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8314 $as_echo "no" >&6; }
8315 fi
8316
8317
8318
8319
8320
8321 if test -z "$lt_cv_path_MAGIC_CMD"; then
8322 if test -n "$ac_tool_prefix"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8324 $as_echo_n "checking for file... " >&6; }
8325 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8326 $as_echo_n "(cached) " >&6
8327 else
8328 case $MAGIC_CMD in
8329 [\\/*] | ?:[\\/]*)
8330 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8331 ;;
8332 *)
8333 lt_save_MAGIC_CMD="$MAGIC_CMD"
8334 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8335 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8336 for ac_dir in $ac_dummy; do
8337 IFS="$lt_save_ifs"
8338 test -z "$ac_dir" && ac_dir=.
8339 if test -f $ac_dir/file; then
8340 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8341 if test -n "$file_magic_test_file"; then
8342 case $deplibs_check_method in
8343 "file_magic "*)
8344 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8345 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8346 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8347 $EGREP "$file_magic_regex" > /dev/null; then
8348 :
8349 else
8350 cat <<_LT_EOF 1>&2
8351
8352 *** Warning: the command libtool uses to detect shared libraries,
8353 *** $file_magic_cmd, produces output that libtool cannot recognize.
8354 *** The result is that libtool may fail to recognize shared libraries
8355 *** as such. This will affect the creation of libtool libraries that
8356 *** depend on shared libraries, but programs linked with such libtool
8357 *** libraries will work regardless of this problem. Nevertheless, you
8358 *** may want to report the problem to your system manager and/or to
8359 *** bug-libtool@gnu.org
8360
8361 _LT_EOF
8362 fi ;;
8363 esac
8364 fi
8365 break
8366 fi
8367 done
8368 IFS="$lt_save_ifs"
8369 MAGIC_CMD="$lt_save_MAGIC_CMD"
8370 ;;
8371 esac
8372 fi
8373
8374 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8375 if test -n "$MAGIC_CMD"; then
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8377 $as_echo "$MAGIC_CMD" >&6; }
8378 else
8379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8380 $as_echo "no" >&6; }
8381 fi
8382
8383
8384 else
8385 MAGIC_CMD=:
8386 fi
8387 fi
8388
8389 fi
8390 ;;
8391 esac
8392
8393 # Use C for the default configuration in the libtool script
8394
8395 lt_save_CC="$CC"
8396 ac_ext=c
8397 ac_cpp='$CPP $CPPFLAGS'
8398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8401
8402
8403 # Source file extension for C test sources.
8404 ac_ext=c
8405
8406 # Object file extension for compiled C test sources.
8407 objext=o
8408 objext=$objext
8409
8410 # Code to be used in simple compile tests
8411 lt_simple_compile_test_code="int some_variable = 0;"
8412
8413 # Code to be used in simple link tests
8414 lt_simple_link_test_code='int main(){return(0);}'
8415
8416
8417
8418
8419
8420
8421
8422 # If no C compiler was specified, use CC.
8423 LTCC=${LTCC-"$CC"}
8424
8425 # If no C compiler flags were specified, use CFLAGS.
8426 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8427
8428 # Allow CC to be a program name with arguments.
8429 compiler=$CC
8430
8431 # Save the default compiler, since it gets overwritten when the other
8432 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8433 compiler_DEFAULT=$CC
8434
8435 # save warnings/boilerplate of simple test code
8436 ac_outfile=conftest.$ac_objext
8437 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8438 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8439 _lt_compiler_boilerplate=`cat conftest.err`
8440 $RM conftest*
8441
8442 ac_outfile=conftest.$ac_objext
8443 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8444 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8445 _lt_linker_boilerplate=`cat conftest.err`
8446 $RM -r conftest*
8447
8448
8449 ## CAVEAT EMPTOR:
8450 ## There is no encapsulation within the following macros, do not change
8451 ## the running order or otherwise move them around unless you know exactly
8452 ## what you are doing...
8453 if test -n "$compiler"; then
8454
8455 lt_prog_compiler_no_builtin_flag=
8456
8457 if test "$GCC" = yes; then
8458 case $cc_basename in
8459 nvcc*)
8460 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8461 *)
8462 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8463 esac
8464
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8466 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8467 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8468 $as_echo_n "(cached) " >&6
8469 else
8470 lt_cv_prog_compiler_rtti_exceptions=no
8471 ac_outfile=conftest.$ac_objext
8472 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8473 lt_compiler_flag="-fno-rtti -fno-exceptions"
8474 # Insert the option either (1) after the last *FLAGS variable, or
8475 # (2) before a word containing "conftest.", or (3) at the end.
8476 # Note that $ac_compile itself does not contain backslashes and begins
8477 # with a dollar sign (not a hyphen), so the echo should work correctly.
8478 # The option is referenced via a variable to avoid confusing sed.
8479 lt_compile=`echo "$ac_compile" | $SED \
8480 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8481 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8482 -e 's:$: $lt_compiler_flag:'`
8483 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8484 (eval "$lt_compile" 2>conftest.err)
8485 ac_status=$?
8486 cat conftest.err >&5
8487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8488 if (exit $ac_status) && test -s "$ac_outfile"; then
8489 # The compiler can only warn and ignore the option if not recognized
8490 # So say no if there are warnings other than the usual output.
8491 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8492 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8493 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8494 lt_cv_prog_compiler_rtti_exceptions=yes
8495 fi
8496 fi
8497 $RM conftest*
8498
8499 fi
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8501 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8502
8503 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8504 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8505 else
8506 :
8507 fi
8508
8509 fi
8510
8511
8512
8513
8514
8515
8516 lt_prog_compiler_wl=
8517 lt_prog_compiler_pic=
8518 lt_prog_compiler_static=
8519
8520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8521 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8522
8523 if test "$GCC" = yes; then
8524 lt_prog_compiler_wl='-Wl,'
8525 lt_prog_compiler_static='-static'
8526
8527 case $host_os in
8528 aix*)
8529 # All AIX code is PIC.
8530 if test "$host_cpu" = ia64; then
8531 # AIX 5 now supports IA64 processor
8532 lt_prog_compiler_static='-Bstatic'
8533 fi
8534 ;;
8535
8536 amigaos*)
8537 case $host_cpu in
8538 powerpc)
8539 # see comment about AmigaOS4 .so support
8540 lt_prog_compiler_pic='-fPIC'
8541 ;;
8542 m68k)
8543 # FIXME: we need at least 68020 code to build shared libraries, but
8544 # adding the `-m68020' flag to GCC prevents building anything better,
8545 # like `-m68040'.
8546 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8547 ;;
8548 esac
8549 ;;
8550
8551 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8552 # PIC is the default for these OSes.
8553 ;;
8554
8555 mingw* | cygwin* | pw32* | os2* | cegcc*)
8556 # This hack is so that the source file can tell whether it is being
8557 # built for inclusion in a dll (and should export symbols for example).
8558 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8559 # (--disable-auto-import) libraries
8560 lt_prog_compiler_pic='-DDLL_EXPORT'
8561 ;;
8562
8563 darwin* | rhapsody*)
8564 # PIC is the default on this platform
8565 # Common symbols not allowed in MH_DYLIB files
8566 lt_prog_compiler_pic='-fno-common'
8567 ;;
8568
8569 haiku*)
8570 # PIC is the default for Haiku.
8571 # The "-static" flag exists, but is broken.
8572 lt_prog_compiler_static=
8573 ;;
8574
8575 hpux*)
8576 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8577 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8578 # sets the default TLS model and affects inlining.
8579 case $host_cpu in
8580 hppa*64*)
8581 # +Z the default
8582 ;;
8583 *)
8584 lt_prog_compiler_pic='-fPIC'
8585 ;;
8586 esac
8587 ;;
8588
8589 interix[3-9]*)
8590 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8591 # Instead, we relocate shared libraries at runtime.
8592 ;;
8593
8594 msdosdjgpp*)
8595 # Just because we use GCC doesn't mean we suddenly get shared libraries
8596 # on systems that don't support them.
8597 lt_prog_compiler_can_build_shared=no
8598 enable_shared=no
8599 ;;
8600
8601 *nto* | *qnx*)
8602 # QNX uses GNU C++, but need to define -shared option too, otherwise
8603 # it will coredump.
8604 lt_prog_compiler_pic='-fPIC -shared'
8605 ;;
8606
8607 sysv4*MP*)
8608 if test -d /usr/nec; then
8609 lt_prog_compiler_pic=-Kconform_pic
8610 fi
8611 ;;
8612
8613 *)
8614 lt_prog_compiler_pic='-fPIC'
8615 ;;
8616 esac
8617
8618 case $cc_basename in
8619 nvcc*) # Cuda Compiler Driver 2.2
8620 lt_prog_compiler_wl='-Xlinker '
8621 lt_prog_compiler_pic='-Xcompiler -fPIC'
8622 ;;
8623 esac
8624 else
8625 # PORTME Check for flag to pass linker flags through the system compiler.
8626 case $host_os in
8627 aix*)
8628 lt_prog_compiler_wl='-Wl,'
8629 if test "$host_cpu" = ia64; then
8630 # AIX 5 now supports IA64 processor
8631 lt_prog_compiler_static='-Bstatic'
8632 else
8633 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8634 fi
8635 ;;
8636
8637 mingw* | cygwin* | pw32* | os2* | cegcc*)
8638 # This hack is so that the source file can tell whether it is being
8639 # built for inclusion in a dll (and should export symbols for example).
8640 lt_prog_compiler_pic='-DDLL_EXPORT'
8641 ;;
8642
8643 hpux9* | hpux10* | hpux11*)
8644 lt_prog_compiler_wl='-Wl,'
8645 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8646 # not for PA HP-UX.
8647 case $host_cpu in
8648 hppa*64*|ia64*)
8649 # +Z the default
8650 ;;
8651 *)
8652 lt_prog_compiler_pic='+Z'
8653 ;;
8654 esac
8655 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8656 lt_prog_compiler_static='${wl}-a ${wl}archive'
8657 ;;
8658
8659 irix5* | irix6* | nonstopux*)
8660 lt_prog_compiler_wl='-Wl,'
8661 # PIC (with -KPIC) is the default.
8662 lt_prog_compiler_static='-non_shared'
8663 ;;
8664
8665 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8666 case $cc_basename in
8667 # old Intel for x86_64 which still supported -KPIC.
8668 ecc*)
8669 lt_prog_compiler_wl='-Wl,'
8670 lt_prog_compiler_pic='-KPIC'
8671 lt_prog_compiler_static='-static'
8672 ;;
8673 # icc used to be incompatible with GCC.
8674 # ICC 10 doesn't accept -KPIC any more.
8675 icc* | ifort*)
8676 lt_prog_compiler_wl='-Wl,'
8677 lt_prog_compiler_pic='-fPIC'
8678 lt_prog_compiler_static='-static'
8679 ;;
8680 # Lahey Fortran 8.1.
8681 lf95*)
8682 lt_prog_compiler_wl='-Wl,'
8683 lt_prog_compiler_pic='--shared'
8684 lt_prog_compiler_static='--static'
8685 ;;
8686 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8687 # Portland Group compilers (*not* the Pentium gcc compiler,
8688 # which looks to be a dead project)
8689 lt_prog_compiler_wl='-Wl,'
8690 lt_prog_compiler_pic='-fpic'
8691 lt_prog_compiler_static='-Bstatic'
8692 ;;
8693 ccc*)
8694 lt_prog_compiler_wl='-Wl,'
8695 # All Alpha code is PIC.
8696 lt_prog_compiler_static='-non_shared'
8697 ;;
8698 xl* | bgxl* | bgf* | mpixl*)
8699 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8700 lt_prog_compiler_wl='-Wl,'
8701 lt_prog_compiler_pic='-qpic'
8702 lt_prog_compiler_static='-qstaticlink'
8703 ;;
8704 *)
8705 case `$CC -V 2>&1 | sed 5q` in
8706 *Sun\ F* | *Sun*Fortran*)
8707 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-Bstatic'
8710 lt_prog_compiler_wl=''
8711 ;;
8712 *Sun\ C*)
8713 # Sun C 5.9
8714 lt_prog_compiler_pic='-KPIC'
8715 lt_prog_compiler_static='-Bstatic'
8716 lt_prog_compiler_wl='-Wl,'
8717 ;;
8718 esac
8719 ;;
8720 esac
8721 ;;
8722
8723 newsos6)
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8726 ;;
8727
8728 *nto* | *qnx*)
8729 # QNX uses GNU C++, but need to define -shared option too, otherwise
8730 # it will coredump.
8731 lt_prog_compiler_pic='-fPIC -shared'
8732 ;;
8733
8734 osf3* | osf4* | osf5*)
8735 lt_prog_compiler_wl='-Wl,'
8736 # All OSF/1 code is PIC.
8737 lt_prog_compiler_static='-non_shared'
8738 ;;
8739
8740 rdos*)
8741 lt_prog_compiler_static='-non_shared'
8742 ;;
8743
8744 solaris*)
8745 lt_prog_compiler_pic='-KPIC'
8746 lt_prog_compiler_static='-Bstatic'
8747 case $cc_basename in
8748 f77* | f90* | f95*)
8749 lt_prog_compiler_wl='-Qoption ld ';;
8750 *)
8751 lt_prog_compiler_wl='-Wl,';;
8752 esac
8753 ;;
8754
8755 sunos4*)
8756 lt_prog_compiler_wl='-Qoption ld '
8757 lt_prog_compiler_pic='-PIC'
8758 lt_prog_compiler_static='-Bstatic'
8759 ;;
8760
8761 sysv4 | sysv4.2uw2* | sysv4.3*)
8762 lt_prog_compiler_wl='-Wl,'
8763 lt_prog_compiler_pic='-KPIC'
8764 lt_prog_compiler_static='-Bstatic'
8765 ;;
8766
8767 sysv4*MP*)
8768 if test -d /usr/nec ;then
8769 lt_prog_compiler_pic='-Kconform_pic'
8770 lt_prog_compiler_static='-Bstatic'
8771 fi
8772 ;;
8773
8774 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8775 lt_prog_compiler_wl='-Wl,'
8776 lt_prog_compiler_pic='-KPIC'
8777 lt_prog_compiler_static='-Bstatic'
8778 ;;
8779
8780 unicos*)
8781 lt_prog_compiler_wl='-Wl,'
8782 lt_prog_compiler_can_build_shared=no
8783 ;;
8784
8785 uts4*)
8786 lt_prog_compiler_pic='-pic'
8787 lt_prog_compiler_static='-Bstatic'
8788 ;;
8789
8790 *)
8791 lt_prog_compiler_can_build_shared=no
8792 ;;
8793 esac
8794 fi
8795
8796 case $host_os in
8797 # For platforms which do not support PIC, -DPIC is meaningless:
8798 *djgpp*)
8799 lt_prog_compiler_pic=
8800 ;;
8801 *)
8802 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8803 ;;
8804 esac
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8806 $as_echo "$lt_prog_compiler_pic" >&6; }
8807
8808
8809
8810
8811
8812
8813 #
8814 # Check to make sure the PIC flag actually works.
8815 #
8816 if test -n "$lt_prog_compiler_pic"; then
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8818 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8819 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8820 $as_echo_n "(cached) " >&6
8821 else
8822 lt_cv_prog_compiler_pic_works=no
8823 ac_outfile=conftest.$ac_objext
8824 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8825 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8826 # Insert the option either (1) after the last *FLAGS variable, or
8827 # (2) before a word containing "conftest.", or (3) at the end.
8828 # Note that $ac_compile itself does not contain backslashes and begins
8829 # with a dollar sign (not a hyphen), so the echo should work correctly.
8830 # The option is referenced via a variable to avoid confusing sed.
8831 lt_compile=`echo "$ac_compile" | $SED \
8832 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8833 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8834 -e 's:$: $lt_compiler_flag:'`
8835 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8836 (eval "$lt_compile" 2>conftest.err)
8837 ac_status=$?
8838 cat conftest.err >&5
8839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8840 if (exit $ac_status) && test -s "$ac_outfile"; then
8841 # The compiler can only warn and ignore the option if not recognized
8842 # So say no if there are warnings other than the usual output.
8843 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8844 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8845 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8846 lt_cv_prog_compiler_pic_works=yes
8847 fi
8848 fi
8849 $RM conftest*
8850
8851 fi
8852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8853 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8854
8855 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8856 case $lt_prog_compiler_pic in
8857 "" | " "*) ;;
8858 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8859 esac
8860 else
8861 lt_prog_compiler_pic=
8862 lt_prog_compiler_can_build_shared=no
8863 fi
8864
8865 fi
8866
8867
8868
8869
8870
8871
8872 #
8873 # Check to make sure the static flag actually works.
8874 #
8875 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8877 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8878 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8879 $as_echo_n "(cached) " >&6
8880 else
8881 lt_cv_prog_compiler_static_works=no
8882 save_LDFLAGS="$LDFLAGS"
8883 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8884 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8885 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8886 # The linker can only warn and ignore the option if not recognized
8887 # So say no if there are warnings
8888 if test -s conftest.err; then
8889 # Append any errors to the config.log.
8890 cat conftest.err 1>&5
8891 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8892 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8893 if diff conftest.exp conftest.er2 >/dev/null; then
8894 lt_cv_prog_compiler_static_works=yes
8895 fi
8896 else
8897 lt_cv_prog_compiler_static_works=yes
8898 fi
8899 fi
8900 $RM -r conftest*
8901 LDFLAGS="$save_LDFLAGS"
8902
8903 fi
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8905 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8906
8907 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8908 :
8909 else
8910 lt_prog_compiler_static=
8911 fi
8912
8913
8914
8915
8916
8917
8918
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8921 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8922 $as_echo_n "(cached) " >&6
8923 else
8924 lt_cv_prog_compiler_c_o=no
8925 $RM -r conftest 2>/dev/null
8926 mkdir conftest
8927 cd conftest
8928 mkdir out
8929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8930
8931 lt_compiler_flag="-o out/conftest2.$ac_objext"
8932 # Insert the option either (1) after the last *FLAGS variable, or
8933 # (2) before a word containing "conftest.", or (3) at the end.
8934 # Note that $ac_compile itself does not contain backslashes and begins
8935 # with a dollar sign (not a hyphen), so the echo should work correctly.
8936 lt_compile=`echo "$ac_compile" | $SED \
8937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8939 -e 's:$: $lt_compiler_flag:'`
8940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8941 (eval "$lt_compile" 2>out/conftest.err)
8942 ac_status=$?
8943 cat out/conftest.err >&5
8944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8946 then
8947 # The compiler can only warn and ignore the option if not recognized
8948 # So say no if there are warnings
8949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8952 lt_cv_prog_compiler_c_o=yes
8953 fi
8954 fi
8955 chmod u+w . 2>&5
8956 $RM conftest*
8957 # SGI C++ compiler will create directory out/ii_files/ for
8958 # template instantiation
8959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8960 $RM out/* && rmdir out
8961 cd ..
8962 $RM -r conftest
8963 $RM conftest*
8964
8965 fi
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8967 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8968
8969
8970
8971
8972
8973
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8975 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8976 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8977 $as_echo_n "(cached) " >&6
8978 else
8979 lt_cv_prog_compiler_c_o=no
8980 $RM -r conftest 2>/dev/null
8981 mkdir conftest
8982 cd conftest
8983 mkdir out
8984 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8985
8986 lt_compiler_flag="-o out/conftest2.$ac_objext"
8987 # Insert the option either (1) after the last *FLAGS variable, or
8988 # (2) before a word containing "conftest.", or (3) at the end.
8989 # Note that $ac_compile itself does not contain backslashes and begins
8990 # with a dollar sign (not a hyphen), so the echo should work correctly.
8991 lt_compile=`echo "$ac_compile" | $SED \
8992 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8993 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8994 -e 's:$: $lt_compiler_flag:'`
8995 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8996 (eval "$lt_compile" 2>out/conftest.err)
8997 ac_status=$?
8998 cat out/conftest.err >&5
8999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9000 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9001 then
9002 # The compiler can only warn and ignore the option if not recognized
9003 # So say no if there are warnings
9004 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9005 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9006 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9007 lt_cv_prog_compiler_c_o=yes
9008 fi
9009 fi
9010 chmod u+w . 2>&5
9011 $RM conftest*
9012 # SGI C++ compiler will create directory out/ii_files/ for
9013 # template instantiation
9014 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9015 $RM out/* && rmdir out
9016 cd ..
9017 $RM -r conftest
9018 $RM conftest*
9019
9020 fi
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9022 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9023
9024
9025
9026
9027 hard_links="nottested"
9028 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9029 # do not overwrite the value of need_locks provided by the user
9030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9031 $as_echo_n "checking if we can lock with hard links... " >&6; }
9032 hard_links=yes
9033 $RM conftest*
9034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9035 touch conftest.a
9036 ln conftest.a conftest.b 2>&5 || hard_links=no
9037 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9039 $as_echo "$hard_links" >&6; }
9040 if test "$hard_links" = no; then
9041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9042 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9043 need_locks=warn
9044 fi
9045 else
9046 need_locks=no
9047 fi
9048
9049
9050
9051
9052
9053
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9055 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9056
9057 runpath_var=
9058 allow_undefined_flag=
9059 always_export_symbols=no
9060 archive_cmds=
9061 archive_expsym_cmds=
9062 compiler_needs_object=no
9063 enable_shared_with_static_runtimes=no
9064 export_dynamic_flag_spec=
9065 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9066 hardcode_automatic=no
9067 hardcode_direct=no
9068 hardcode_direct_absolute=no
9069 hardcode_libdir_flag_spec=
9070 hardcode_libdir_flag_spec_ld=
9071 hardcode_libdir_separator=
9072 hardcode_minus_L=no
9073 hardcode_shlibpath_var=unsupported
9074 inherit_rpath=no
9075 link_all_deplibs=unknown
9076 module_cmds=
9077 module_expsym_cmds=
9078 old_archive_from_new_cmds=
9079 old_archive_from_expsyms_cmds=
9080 thread_safe_flag_spec=
9081 whole_archive_flag_spec=
9082 # include_expsyms should be a list of space-separated symbols to be *always*
9083 # included in the symbol list
9084 include_expsyms=
9085 # exclude_expsyms can be an extended regexp of symbols to exclude
9086 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9087 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9088 # as well as any symbol that contains `d'.
9089 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9090 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9091 # platforms (ab)use it in PIC code, but their linkers get confused if
9092 # the symbol is explicitly referenced. Since portable code cannot
9093 # rely on this symbol name, it's probably fine to never include it in
9094 # preloaded symbol tables.
9095 # Exclude shared library initialization/finalization symbols.
9096 extract_expsyms_cmds=
9097
9098 case $host_os in
9099 cygwin* | mingw* | pw32* | cegcc*)
9100 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9101 # When not using gcc, we currently assume that we are using
9102 # Microsoft Visual C++.
9103 if test "$GCC" != yes; then
9104 with_gnu_ld=no
9105 fi
9106 ;;
9107 interix*)
9108 # we just hope/assume this is gcc and not c89 (= MSVC++)
9109 with_gnu_ld=yes
9110 ;;
9111 openbsd*)
9112 with_gnu_ld=no
9113 ;;
9114 esac
9115
9116 ld_shlibs=yes
9117
9118 # On some targets, GNU ld is compatible enough with the native linker
9119 # that we're better off using the native interface for both.
9120 lt_use_gnu_ld_interface=no
9121 if test "$with_gnu_ld" = yes; then
9122 case $host_os in
9123 aix*)
9124 # The AIX port of GNU ld has always aspired to compatibility
9125 # with the native linker. However, as the warning in the GNU ld
9126 # block says, versions before 2.19.5* couldn't really create working
9127 # shared libraries, regardless of the interface used.
9128 case `$LD -v 2>&1` in
9129 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9130 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9131 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9132 *)
9133 lt_use_gnu_ld_interface=yes
9134 ;;
9135 esac
9136 ;;
9137 *)
9138 lt_use_gnu_ld_interface=yes
9139 ;;
9140 esac
9141 fi
9142
9143 if test "$lt_use_gnu_ld_interface" = yes; then
9144 # If archive_cmds runs LD, not CC, wlarc should be empty
9145 wlarc='${wl}'
9146
9147 # Set some defaults for GNU ld with shared library support. These
9148 # are reset later if shared libraries are not supported. Putting them
9149 # here allows them to be overridden if necessary.
9150 runpath_var=LD_RUN_PATH
9151 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9152 export_dynamic_flag_spec='${wl}--export-dynamic'
9153 # ancient GNU ld didn't support --whole-archive et. al.
9154 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9155 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9156 else
9157 whole_archive_flag_spec=
9158 fi
9159 supports_anon_versioning=no
9160 case `$LD -v 2>&1` in
9161 *GNU\ gold*) supports_anon_versioning=yes ;;
9162 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9163 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9164 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9165 *\ 2.11.*) ;; # other 2.11 versions
9166 *) supports_anon_versioning=yes ;;
9167 esac
9168
9169 # See if GNU ld supports shared libraries.
9170 case $host_os in
9171 aix[3-9]*)
9172 # On AIX/PPC, the GNU linker is very broken
9173 if test "$host_cpu" != ia64; then
9174 ld_shlibs=no
9175 cat <<_LT_EOF 1>&2
9176
9177 *** Warning: the GNU linker, at least up to release 2.19, is reported
9178 *** to be unable to reliably create shared libraries on AIX.
9179 *** Therefore, libtool is disabling shared libraries support. If you
9180 *** really care for shared libraries, you may want to install binutils
9181 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9182 *** You will then need to restart the configuration process.
9183
9184 _LT_EOF
9185 fi
9186 ;;
9187
9188 amigaos*)
9189 case $host_cpu in
9190 powerpc)
9191 # see comment about AmigaOS4 .so support
9192 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9193 archive_expsym_cmds=''
9194 ;;
9195 m68k)
9196 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)'
9197 hardcode_libdir_flag_spec='-L$libdir'
9198 hardcode_minus_L=yes
9199 ;;
9200 esac
9201 ;;
9202
9203 beos*)
9204 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9205 allow_undefined_flag=unsupported
9206 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9207 # support --undefined. This deserves some investigation. FIXME
9208 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9209 else
9210 ld_shlibs=no
9211 fi
9212 ;;
9213
9214 cygwin* | mingw* | pw32* | cegcc*)
9215 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9216 # as there is no search path for DLLs.
9217 hardcode_libdir_flag_spec='-L$libdir'
9218 export_dynamic_flag_spec='${wl}--export-all-symbols'
9219 allow_undefined_flag=unsupported
9220 always_export_symbols=no
9221 enable_shared_with_static_runtimes=yes
9222 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9223
9224 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9226 # If the export-symbols file already is a .def file (1st line
9227 # is EXPORTS), use it as is; otherwise, prepend...
9228 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9229 cp $export_symbols $output_objdir/$soname.def;
9230 else
9231 echo EXPORTS > $output_objdir/$soname.def;
9232 cat $export_symbols >> $output_objdir/$soname.def;
9233 fi~
9234 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9235 else
9236 ld_shlibs=no
9237 fi
9238 ;;
9239
9240 haiku*)
9241 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9242 link_all_deplibs=yes
9243 ;;
9244
9245 interix[3-9]*)
9246 hardcode_direct=no
9247 hardcode_shlibpath_var=no
9248 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9249 export_dynamic_flag_spec='${wl}-E'
9250 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9251 # Instead, shared libraries are loaded at an image base (0x10000000 by
9252 # default) and relocated if they conflict, which is a slow very memory
9253 # consuming and fragmenting process. To avoid this, we pick a random,
9254 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9255 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9256 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9257 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'
9258 ;;
9259
9260 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9261 tmp_diet=no
9262 if test "$host_os" = linux-dietlibc; then
9263 case $cc_basename in
9264 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9265 esac
9266 fi
9267 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9268 && test "$tmp_diet" = no
9269 then
9270 tmp_addflag=
9271 tmp_sharedflag='-shared'
9272 case $cc_basename,$host_cpu in
9273 pgcc*) # Portland Group C compiler
9274 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'
9275 tmp_addflag=' $pic_flag'
9276 ;;
9277 pgf77* | pgf90* | pgf95* | pgfortran*)
9278 # Portland Group f77 and f90 compilers
9279 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'
9280 tmp_addflag=' $pic_flag -Mnomain' ;;
9281 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9282 tmp_addflag=' -i_dynamic' ;;
9283 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9284 tmp_addflag=' -i_dynamic -nofor_main' ;;
9285 ifc* | ifort*) # Intel Fortran compiler
9286 tmp_addflag=' -nofor_main' ;;
9287 lf95*) # Lahey Fortran 8.1
9288 whole_archive_flag_spec=
9289 tmp_sharedflag='--shared' ;;
9290 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9291 tmp_sharedflag='-qmkshrobj'
9292 tmp_addflag= ;;
9293 nvcc*) # Cuda Compiler Driver 2.2
9294 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'
9295 compiler_needs_object=yes
9296 ;;
9297 esac
9298 case `$CC -V 2>&1 | sed 5q` in
9299 *Sun\ C*) # Sun C 5.9
9300 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'
9301 compiler_needs_object=yes
9302 tmp_sharedflag='-G' ;;
9303 *Sun\ F*) # Sun Fortran 8.3
9304 tmp_sharedflag='-G' ;;
9305 esac
9306 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9307
9308 if test "x$supports_anon_versioning" = xyes; then
9309 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9310 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9311 echo "local: *; };" >> $output_objdir/$libname.ver~
9312 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9313 fi
9314
9315 case $cc_basename in
9316 xlf* | bgf* | bgxlf* | mpixlf*)
9317 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9318 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9319 hardcode_libdir_flag_spec=
9320 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9321 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9322 if test "x$supports_anon_versioning" = xyes; then
9323 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9324 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9325 echo "local: *; };" >> $output_objdir/$libname.ver~
9326 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9327 fi
9328 ;;
9329 esac
9330 else
9331 ld_shlibs=no
9332 fi
9333 ;;
9334
9335 netbsd*)
9336 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9337 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9338 wlarc=
9339 else
9340 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9341 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9342 fi
9343 ;;
9344
9345 solaris*)
9346 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9347 ld_shlibs=no
9348 cat <<_LT_EOF 1>&2
9349
9350 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9351 *** create shared libraries on Solaris systems. Therefore, libtool
9352 *** is disabling shared libraries support. We urge you to upgrade GNU
9353 *** binutils to release 2.9.1 or newer. Another option is to modify
9354 *** your PATH or compiler configuration so that the native linker is
9355 *** used, and then restart.
9356
9357 _LT_EOF
9358 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9359 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9360 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9361 else
9362 ld_shlibs=no
9363 fi
9364 ;;
9365
9366 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9367 case `$LD -v 2>&1` in
9368 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9369 ld_shlibs=no
9370 cat <<_LT_EOF 1>&2
9371
9372 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9373 *** reliably create shared libraries on SCO systems. Therefore, libtool
9374 *** is disabling shared libraries support. We urge you to upgrade GNU
9375 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9378
9379 _LT_EOF
9380 ;;
9381 *)
9382 # For security reasons, it is highly recommended that you always
9383 # use absolute paths for naming shared libraries, and exclude the
9384 # DT_RUNPATH tag from executables and libraries. But doing so
9385 # requires that you compile everything twice, which is a pain.
9386 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9387 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9388 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9389 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9390 else
9391 ld_shlibs=no
9392 fi
9393 ;;
9394 esac
9395 ;;
9396
9397 sunos4*)
9398 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9399 wlarc=
9400 hardcode_direct=yes
9401 hardcode_shlibpath_var=no
9402 ;;
9403
9404 *)
9405 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9406 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9407 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9408 else
9409 ld_shlibs=no
9410 fi
9411 ;;
9412 esac
9413
9414 if test "$ld_shlibs" = no; then
9415 runpath_var=
9416 hardcode_libdir_flag_spec=
9417 export_dynamic_flag_spec=
9418 whole_archive_flag_spec=
9419 fi
9420 else
9421 # PORTME fill in a description of your system's linker (not GNU ld)
9422 case $host_os in
9423 aix3*)
9424 allow_undefined_flag=unsupported
9425 always_export_symbols=yes
9426 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'
9427 # Note: this linker hardcodes the directories in LIBPATH if there
9428 # are no directories specified by -L.
9429 hardcode_minus_L=yes
9430 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9431 # Neither direct hardcoding nor static linking is supported with a
9432 # broken collect2.
9433 hardcode_direct=unsupported
9434 fi
9435 ;;
9436
9437 aix[4-9]*)
9438 if test "$host_cpu" = ia64; then
9439 # On IA64, the linker does run time linking by default, so we don't
9440 # have to do anything special.
9441 aix_use_runtimelinking=no
9442 exp_sym_flag='-Bexport'
9443 no_entry_flag=""
9444 else
9445 # If we're using GNU nm, then we don't want the "-C" option.
9446 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9447 # Also, AIX nm treats weak defined symbols like other global
9448 # defined symbols, whereas GNU nm marks them as "W".
9449 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9450 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'
9451 else
9452 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9453 fi
9454 aix_use_runtimelinking=no
9455
9456 # Test if we are trying to use run time linking or normal
9457 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9458 # need to do runtime linking.
9459 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9460 for ld_flag in $LDFLAGS; do
9461 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9462 aix_use_runtimelinking=yes
9463 break
9464 fi
9465 done
9466 ;;
9467 esac
9468
9469 exp_sym_flag='-bexport'
9470 no_entry_flag='-bnoentry'
9471 fi
9472
9473 # When large executables or shared objects are built, AIX ld can
9474 # have problems creating the table of contents. If linking a library
9475 # or program results in "error TOC overflow" add -mminimal-toc to
9476 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9477 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9478
9479 archive_cmds=''
9480 hardcode_direct=yes
9481 hardcode_direct_absolute=yes
9482 hardcode_libdir_separator=':'
9483 link_all_deplibs=yes
9484 file_list_spec='${wl}-f,'
9485
9486 if test "$GCC" = yes; then
9487 case $host_os in aix4.[012]|aix4.[012].*)
9488 # We only want to do this on AIX 4.2 and lower, the check
9489 # below for broken collect2 doesn't work under 4.3+
9490 collect2name=`${CC} -print-prog-name=collect2`
9491 if test -f "$collect2name" &&
9492 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9493 then
9494 # We have reworked collect2
9495 :
9496 else
9497 # We have old collect2
9498 hardcode_direct=unsupported
9499 # It fails to find uninstalled libraries when the uninstalled
9500 # path is not listed in the libpath. Setting hardcode_minus_L
9501 # to unsupported forces relinking
9502 hardcode_minus_L=yes
9503 hardcode_libdir_flag_spec='-L$libdir'
9504 hardcode_libdir_separator=
9505 fi
9506 ;;
9507 esac
9508 shared_flag='-shared'
9509 if test "$aix_use_runtimelinking" = yes; then
9510 shared_flag="$shared_flag "'${wl}-G'
9511 fi
9512 else
9513 # not using gcc
9514 if test "$host_cpu" = ia64; then
9515 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9516 # chokes on -Wl,-G. The following line is correct:
9517 shared_flag='-G'
9518 else
9519 if test "$aix_use_runtimelinking" = yes; then
9520 shared_flag='${wl}-G'
9521 else
9522 shared_flag='${wl}-bM:SRE'
9523 fi
9524 fi
9525 fi
9526
9527 export_dynamic_flag_spec='${wl}-bexpall'
9528 # It seems that -bexpall does not export symbols beginning with
9529 # underscore (_), so it is better to generate a list of symbols to export.
9530 always_export_symbols=yes
9531 if test "$aix_use_runtimelinking" = yes; then
9532 # Warning - without using the other runtime loading flags (-brtl),
9533 # -berok will link without error, but may produce a broken library.
9534 allow_undefined_flag='-berok'
9535 # Determine the default libpath from the value encoded in an
9536 # empty executable.
9537 if test x$gcc_no_link = xyes; then
9538 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9539 fi
9540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9541 /* end confdefs.h. */
9542
9543 int
9544 main ()
9545 {
9546
9547 ;
9548 return 0;
9549 }
9550 _ACEOF
9551 if ac_fn_c_try_link "$LINENO"; then :
9552
9553 lt_aix_libpath_sed='
9554 /Import File Strings/,/^$/ {
9555 /^0/ {
9556 s/^0 *\(.*\)$/\1/
9557 p
9558 }
9559 }'
9560 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9561 # Check for a 64-bit object if we didn't find anything.
9562 if test -z "$aix_libpath"; then
9563 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9564 fi
9565 fi
9566 rm -f core conftest.err conftest.$ac_objext \
9567 conftest$ac_exeext conftest.$ac_ext
9568 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9569
9570 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9571 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"
9572 else
9573 if test "$host_cpu" = ia64; then
9574 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9575 allow_undefined_flag="-z nodefs"
9576 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"
9577 else
9578 # Determine the default libpath from the value encoded in an
9579 # empty executable.
9580 if test x$gcc_no_link = xyes; then
9581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9582 fi
9583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9584 /* end confdefs.h. */
9585
9586 int
9587 main ()
9588 {
9589
9590 ;
9591 return 0;
9592 }
9593 _ACEOF
9594 if ac_fn_c_try_link "$LINENO"; then :
9595
9596 lt_aix_libpath_sed='
9597 /Import File Strings/,/^$/ {
9598 /^0/ {
9599 s/^0 *\(.*\)$/\1/
9600 p
9601 }
9602 }'
9603 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9604 # Check for a 64-bit object if we didn't find anything.
9605 if test -z "$aix_libpath"; then
9606 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9607 fi
9608 fi
9609 rm -f core conftest.err conftest.$ac_objext \
9610 conftest$ac_exeext conftest.$ac_ext
9611 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9612
9613 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9614 # Warning - without using the other run time loading flags,
9615 # -berok will link without error, but may produce a broken library.
9616 no_undefined_flag=' ${wl}-bernotok'
9617 allow_undefined_flag=' ${wl}-berok'
9618 if test "$with_gnu_ld" = yes; then
9619 # We only use this code for GNU lds that support --whole-archive.
9620 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9621 else
9622 # Exported symbols can be pulled into shared objects from archives
9623 whole_archive_flag_spec='$convenience'
9624 fi
9625 archive_cmds_need_lc=yes
9626 # This is similar to how AIX traditionally builds its shared libraries.
9627 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'
9628 fi
9629 fi
9630 ;;
9631
9632 amigaos*)
9633 case $host_cpu in
9634 powerpc)
9635 # see comment about AmigaOS4 .so support
9636 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9637 archive_expsym_cmds=''
9638 ;;
9639 m68k)
9640 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)'
9641 hardcode_libdir_flag_spec='-L$libdir'
9642 hardcode_minus_L=yes
9643 ;;
9644 esac
9645 ;;
9646
9647 bsdi[45]*)
9648 export_dynamic_flag_spec=-rdynamic
9649 ;;
9650
9651 cygwin* | mingw* | pw32* | cegcc*)
9652 # When not using gcc, we currently assume that we are using
9653 # Microsoft Visual C++.
9654 # hardcode_libdir_flag_spec is actually meaningless, as there is
9655 # no search path for DLLs.
9656 hardcode_libdir_flag_spec=' '
9657 allow_undefined_flag=unsupported
9658 # Tell ltmain to make .lib files, not .a files.
9659 libext=lib
9660 # Tell ltmain to make .dll files, not .so files.
9661 shrext_cmds=".dll"
9662 # FIXME: Setting linknames here is a bad hack.
9663 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9664 # The linker will automatically build a .lib file if we build a DLL.
9665 old_archive_from_new_cmds='true'
9666 # FIXME: Should let the user specify the lib program.
9667 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9668 fix_srcfile_path='`cygpath -w "$srcfile"`'
9669 enable_shared_with_static_runtimes=yes
9670 ;;
9671
9672 darwin* | rhapsody*)
9673
9674
9675 archive_cmds_need_lc=no
9676 hardcode_direct=no
9677 hardcode_automatic=yes
9678 hardcode_shlibpath_var=unsupported
9679 if test "$lt_cv_ld_force_load" = "yes"; then
9680 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\"`'
9681 else
9682 whole_archive_flag_spec=''
9683 fi
9684 link_all_deplibs=yes
9685 allow_undefined_flag="$_lt_dar_allow_undefined"
9686 case $cc_basename in
9687 ifort*) _lt_dar_can_shared=yes ;;
9688 *) _lt_dar_can_shared=$GCC ;;
9689 esac
9690 if test "$_lt_dar_can_shared" = "yes"; then
9691 output_verbose_link_cmd=func_echo_all
9692 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9693 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9694 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}"
9695 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}"
9696
9697 else
9698 ld_shlibs=no
9699 fi
9700
9701 ;;
9702
9703 dgux*)
9704 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9705 hardcode_libdir_flag_spec='-L$libdir'
9706 hardcode_shlibpath_var=no
9707 ;;
9708
9709 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9710 # support. Future versions do this automatically, but an explicit c++rt0.o
9711 # does not break anything, and helps significantly (at the cost of a little
9712 # extra space).
9713 freebsd2.2*)
9714 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9715 hardcode_libdir_flag_spec='-R$libdir'
9716 hardcode_direct=yes
9717 hardcode_shlibpath_var=no
9718 ;;
9719
9720 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9721 freebsd2.*)
9722 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9723 hardcode_direct=yes
9724 hardcode_minus_L=yes
9725 hardcode_shlibpath_var=no
9726 ;;
9727
9728 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9729 freebsd* | dragonfly*)
9730 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9731 hardcode_libdir_flag_spec='-R$libdir'
9732 hardcode_direct=yes
9733 hardcode_shlibpath_var=no
9734 ;;
9735
9736 hpux9*)
9737 if test "$GCC" = yes; then
9738 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'
9739 else
9740 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'
9741 fi
9742 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9743 hardcode_libdir_separator=:
9744 hardcode_direct=yes
9745
9746 # hardcode_minus_L: Not really in the search PATH,
9747 # but as the default location of the library.
9748 hardcode_minus_L=yes
9749 export_dynamic_flag_spec='${wl}-E'
9750 ;;
9751
9752 hpux10*)
9753 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9754 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9755 else
9756 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9757 fi
9758 if test "$with_gnu_ld" = no; then
9759 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9760 hardcode_libdir_flag_spec_ld='+b $libdir'
9761 hardcode_libdir_separator=:
9762 hardcode_direct=yes
9763 hardcode_direct_absolute=yes
9764 export_dynamic_flag_spec='${wl}-E'
9765 # hardcode_minus_L: Not really in the search PATH,
9766 # but as the default location of the library.
9767 hardcode_minus_L=yes
9768 fi
9769 ;;
9770
9771 hpux11*)
9772 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9773 case $host_cpu in
9774 hppa*64*)
9775 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9776 ;;
9777 ia64*)
9778 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9779 ;;
9780 *)
9781 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9782 ;;
9783 esac
9784 else
9785 case $host_cpu in
9786 hppa*64*)
9787 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9788 ;;
9789 ia64*)
9790 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9791 ;;
9792 *)
9793
9794 # Older versions of the 11.00 compiler do not understand -b yet
9795 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9797 $as_echo_n "checking if $CC understands -b... " >&6; }
9798 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9799 $as_echo_n "(cached) " >&6
9800 else
9801 lt_cv_prog_compiler__b=no
9802 save_LDFLAGS="$LDFLAGS"
9803 LDFLAGS="$LDFLAGS -b"
9804 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9805 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9806 # The linker can only warn and ignore the option if not recognized
9807 # So say no if there are warnings
9808 if test -s conftest.err; then
9809 # Append any errors to the config.log.
9810 cat conftest.err 1>&5
9811 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9812 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9813 if diff conftest.exp conftest.er2 >/dev/null; then
9814 lt_cv_prog_compiler__b=yes
9815 fi
9816 else
9817 lt_cv_prog_compiler__b=yes
9818 fi
9819 fi
9820 $RM -r conftest*
9821 LDFLAGS="$save_LDFLAGS"
9822
9823 fi
9824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9825 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9826
9827 if test x"$lt_cv_prog_compiler__b" = xyes; then
9828 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9829 else
9830 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9831 fi
9832
9833 ;;
9834 esac
9835 fi
9836 if test "$with_gnu_ld" = no; then
9837 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9838 hardcode_libdir_separator=:
9839
9840 case $host_cpu in
9841 hppa*64*|ia64*)
9842 hardcode_direct=no
9843 hardcode_shlibpath_var=no
9844 ;;
9845 *)
9846 hardcode_direct=yes
9847 hardcode_direct_absolute=yes
9848 export_dynamic_flag_spec='${wl}-E'
9849
9850 # hardcode_minus_L: Not really in the search PATH,
9851 # but as the default location of the library.
9852 hardcode_minus_L=yes
9853 ;;
9854 esac
9855 fi
9856 ;;
9857
9858 irix5* | irix6* | nonstopux*)
9859 if test "$GCC" = yes; then
9860 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'
9861 # Try to use the -exported_symbol ld option, if it does not
9862 # work, assume that -exports_file does not work either and
9863 # implicitly export all symbols.
9864 save_LDFLAGS="$LDFLAGS"
9865 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9866 if test x$gcc_no_link = xyes; then
9867 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9868 fi
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9871 int foo(void) {}
9872 _ACEOF
9873 if ac_fn_c_try_link "$LINENO"; then :
9874 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'
9875
9876 fi
9877 rm -f core conftest.err conftest.$ac_objext \
9878 conftest$ac_exeext conftest.$ac_ext
9879 LDFLAGS="$save_LDFLAGS"
9880 else
9881 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'
9882 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'
9883 fi
9884 archive_cmds_need_lc='no'
9885 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9886 hardcode_libdir_separator=:
9887 inherit_rpath=yes
9888 link_all_deplibs=yes
9889 ;;
9890
9891 netbsd*)
9892 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9893 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9894 else
9895 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9896 fi
9897 hardcode_libdir_flag_spec='-R$libdir'
9898 hardcode_direct=yes
9899 hardcode_shlibpath_var=no
9900 ;;
9901
9902 newsos6)
9903 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9904 hardcode_direct=yes
9905 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9906 hardcode_libdir_separator=:
9907 hardcode_shlibpath_var=no
9908 ;;
9909
9910 *nto* | *qnx*)
9911 ;;
9912
9913 openbsd*)
9914 if test -f /usr/libexec/ld.so; then
9915 hardcode_direct=yes
9916 hardcode_shlibpath_var=no
9917 hardcode_direct_absolute=yes
9918 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9919 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9920 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9921 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9922 export_dynamic_flag_spec='${wl}-E'
9923 else
9924 case $host_os in
9925 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9926 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9927 hardcode_libdir_flag_spec='-R$libdir'
9928 ;;
9929 *)
9930 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9931 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9932 ;;
9933 esac
9934 fi
9935 else
9936 ld_shlibs=no
9937 fi
9938 ;;
9939
9940 os2*)
9941 hardcode_libdir_flag_spec='-L$libdir'
9942 hardcode_minus_L=yes
9943 allow_undefined_flag=unsupported
9944 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'
9945 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9946 ;;
9947
9948 osf3*)
9949 if test "$GCC" = yes; then
9950 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9951 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'
9952 else
9953 allow_undefined_flag=' -expect_unresolved \*'
9954 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'
9955 fi
9956 archive_cmds_need_lc='no'
9957 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9958 hardcode_libdir_separator=:
9959 ;;
9960
9961 osf4* | osf5*) # as osf3* with the addition of -msym flag
9962 if test "$GCC" = yes; then
9963 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9964 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'
9965 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9966 else
9967 allow_undefined_flag=' -expect_unresolved \*'
9968 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'
9969 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~
9970 $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'
9971
9972 # Both c and cxx compiler support -rpath directly
9973 hardcode_libdir_flag_spec='-rpath $libdir'
9974 fi
9975 archive_cmds_need_lc='no'
9976 hardcode_libdir_separator=:
9977 ;;
9978
9979 solaris*)
9980 no_undefined_flag=' -z defs'
9981 if test "$GCC" = yes; then
9982 wlarc='${wl}'
9983 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9984 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9985 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9986 else
9987 case `$CC -V 2>&1` in
9988 *"Compilers 5.0"*)
9989 wlarc=''
9990 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9991 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9992 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9993 ;;
9994 *)
9995 wlarc='${wl}'
9996 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9997 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9998 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9999 ;;
10000 esac
10001 fi
10002 hardcode_libdir_flag_spec='-R$libdir'
10003 hardcode_shlibpath_var=no
10004 case $host_os in
10005 solaris2.[0-5] | solaris2.[0-5].*) ;;
10006 *)
10007 # The compiler driver will combine and reorder linker options,
10008 # but understands `-z linker_flag'. GCC discards it without `$wl',
10009 # but is careful enough not to reorder.
10010 # Supported since Solaris 2.6 (maybe 2.5.1?)
10011 if test "$GCC" = yes; then
10012 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10013 else
10014 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10015 fi
10016 ;;
10017 esac
10018 link_all_deplibs=yes
10019 ;;
10020
10021 sunos4*)
10022 if test "x$host_vendor" = xsequent; then
10023 # Use $CC to link under sequent, because it throws in some extra .o
10024 # files that make .init and .fini sections work.
10025 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10026 else
10027 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10028 fi
10029 hardcode_libdir_flag_spec='-L$libdir'
10030 hardcode_direct=yes
10031 hardcode_minus_L=yes
10032 hardcode_shlibpath_var=no
10033 ;;
10034
10035 sysv4)
10036 case $host_vendor in
10037 sni)
10038 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10039 hardcode_direct=yes # is this really true???
10040 ;;
10041 siemens)
10042 ## LD is ld it makes a PLAMLIB
10043 ## CC just makes a GrossModule.
10044 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10045 reload_cmds='$CC -r -o $output$reload_objs'
10046 hardcode_direct=no
10047 ;;
10048 motorola)
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10051 ;;
10052 esac
10053 runpath_var='LD_RUN_PATH'
10054 hardcode_shlibpath_var=no
10055 ;;
10056
10057 sysv4.3*)
10058 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10059 hardcode_shlibpath_var=no
10060 export_dynamic_flag_spec='-Bexport'
10061 ;;
10062
10063 sysv4*MP*)
10064 if test -d /usr/nec; then
10065 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10066 hardcode_shlibpath_var=no
10067 runpath_var=LD_RUN_PATH
10068 hardcode_runpath_var=yes
10069 ld_shlibs=yes
10070 fi
10071 ;;
10072
10073 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10074 no_undefined_flag='${wl}-z,text'
10075 archive_cmds_need_lc=no
10076 hardcode_shlibpath_var=no
10077 runpath_var='LD_RUN_PATH'
10078
10079 if test "$GCC" = yes; then
10080 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10081 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10082 else
10083 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10084 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10085 fi
10086 ;;
10087
10088 sysv5* | sco3.2v5* | sco5v6*)
10089 # Note: We can NOT use -z defs as we might desire, because we do not
10090 # link with -lc, and that would cause any symbols used from libc to
10091 # always be unresolved, which means just about no library would
10092 # ever link correctly. If we're not using GNU ld we use -z text
10093 # though, which does catch some bad symbols but isn't as heavy-handed
10094 # as -z defs.
10095 no_undefined_flag='${wl}-z,text'
10096 allow_undefined_flag='${wl}-z,nodefs'
10097 archive_cmds_need_lc=no
10098 hardcode_shlibpath_var=no
10099 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10100 hardcode_libdir_separator=':'
10101 link_all_deplibs=yes
10102 export_dynamic_flag_spec='${wl}-Bexport'
10103 runpath_var='LD_RUN_PATH'
10104
10105 if test "$GCC" = yes; then
10106 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10108 else
10109 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10110 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10111 fi
10112 ;;
10113
10114 uts4*)
10115 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10116 hardcode_libdir_flag_spec='-L$libdir'
10117 hardcode_shlibpath_var=no
10118 ;;
10119
10120 *)
10121 ld_shlibs=no
10122 ;;
10123 esac
10124
10125 if test x$host_vendor = xsni; then
10126 case $host in
10127 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10128 export_dynamic_flag_spec='${wl}-Blargedynsym'
10129 ;;
10130 esac
10131 fi
10132 fi
10133
10134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10135 $as_echo "$ld_shlibs" >&6; }
10136 test "$ld_shlibs" = no && can_build_shared=no
10137
10138 with_gnu_ld=$with_gnu_ld
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154 #
10155 # Do we need to explicitly link libc?
10156 #
10157 case "x$archive_cmds_need_lc" in
10158 x|xyes)
10159 # Assume -lc should be added
10160 archive_cmds_need_lc=yes
10161
10162 if test "$enable_shared" = yes && test "$GCC" = yes; then
10163 case $archive_cmds in
10164 *'~'*)
10165 # FIXME: we may have to deal with multi-command sequences.
10166 ;;
10167 '$CC '*)
10168 # Test whether the compiler implicitly links with -lc since on some
10169 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10170 # to ld, don't add -lc before -lgcc.
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10172 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10173 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 $RM conftest*
10177 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10178
10179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10180 (eval $ac_compile) 2>&5
10181 ac_status=$?
10182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10183 test $ac_status = 0; } 2>conftest.err; then
10184 soname=conftest
10185 lib=conftest
10186 libobjs=conftest.$ac_objext
10187 deplibs=
10188 wl=$lt_prog_compiler_wl
10189 pic_flag=$lt_prog_compiler_pic
10190 compiler_flags=-v
10191 linker_flags=-v
10192 verstring=
10193 output_objdir=.
10194 libname=conftest
10195 lt_save_allow_undefined_flag=$allow_undefined_flag
10196 allow_undefined_flag=
10197 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10198 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10199 ac_status=$?
10200 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10201 test $ac_status = 0; }
10202 then
10203 lt_cv_archive_cmds_need_lc=no
10204 else
10205 lt_cv_archive_cmds_need_lc=yes
10206 fi
10207 allow_undefined_flag=$lt_save_allow_undefined_flag
10208 else
10209 cat conftest.err 1>&5
10210 fi
10211 $RM conftest*
10212
10213 fi
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10215 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10216 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10217 ;;
10218 esac
10219 fi
10220 ;;
10221 esac
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10380 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10381
10382 if test "$GCC" = yes; then
10383 case $host_os in
10384 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10385 *) lt_awk_arg="/^libraries:/" ;;
10386 esac
10387 case $host_os in
10388 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10389 *) lt_sed_strip_eq="s,=/,/,g" ;;
10390 esac
10391 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10392 case $lt_search_path_spec in
10393 *\;*)
10394 # if the path contains ";" then we assume it to be the separator
10395 # otherwise default to the standard path separator (i.e. ":") - it is
10396 # assumed that no part of a normal pathname contains ";" but that should
10397 # okay in the real world where ";" in dirpaths is itself problematic.
10398 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10399 ;;
10400 *)
10401 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10402 ;;
10403 esac
10404 # Ok, now we have the path, separated by spaces, we can step through it
10405 # and add multilib dir if necessary.
10406 lt_tmp_lt_search_path_spec=
10407 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10408 for lt_sys_path in $lt_search_path_spec; do
10409 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10410 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10411 else
10412 test -d "$lt_sys_path" && \
10413 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10414 fi
10415 done
10416 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10417 BEGIN {RS=" "; FS="/|\n";} {
10418 lt_foo="";
10419 lt_count=0;
10420 for (lt_i = NF; lt_i > 0; lt_i--) {
10421 if ($lt_i != "" && $lt_i != ".") {
10422 if ($lt_i == "..") {
10423 lt_count++;
10424 } else {
10425 if (lt_count == 0) {
10426 lt_foo="/" $lt_i lt_foo;
10427 } else {
10428 lt_count--;
10429 }
10430 }
10431 }
10432 }
10433 if (lt_foo != "") { lt_freq[lt_foo]++; }
10434 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10435 }'`
10436 # AWK program above erroneously prepends '/' to C:/dos/paths
10437 # for these hosts.
10438 case $host_os in
10439 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10440 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10441 esac
10442 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10443 else
10444 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10445 fi
10446 library_names_spec=
10447 libname_spec='lib$name'
10448 soname_spec=
10449 shrext_cmds=".so"
10450 postinstall_cmds=
10451 postuninstall_cmds=
10452 finish_cmds=
10453 finish_eval=
10454 shlibpath_var=
10455 shlibpath_overrides_runpath=unknown
10456 version_type=none
10457 dynamic_linker="$host_os ld.so"
10458 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10459 need_lib_prefix=unknown
10460 hardcode_into_libs=no
10461
10462 # when you set need_version to no, make sure it does not cause -set_version
10463 # flags to be left without arguments
10464 need_version=unknown
10465
10466 case $host_os in
10467 aix3*)
10468 version_type=linux
10469 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10470 shlibpath_var=LIBPATH
10471
10472 # AIX 3 has no versioning support, so we append a major version to the name.
10473 soname_spec='${libname}${release}${shared_ext}$major'
10474 ;;
10475
10476 aix[4-9]*)
10477 version_type=linux
10478 need_lib_prefix=no
10479 need_version=no
10480 hardcode_into_libs=yes
10481 if test "$host_cpu" = ia64; then
10482 # AIX 5 supports IA64
10483 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10484 shlibpath_var=LD_LIBRARY_PATH
10485 else
10486 # With GCC up to 2.95.x, collect2 would create an import file
10487 # for dependence libraries. The import file would start with
10488 # the line `#! .'. This would cause the generated library to
10489 # depend on `.', always an invalid library. This was fixed in
10490 # development snapshots of GCC prior to 3.0.
10491 case $host_os in
10492 aix4 | aix4.[01] | aix4.[01].*)
10493 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10494 echo ' yes '
10495 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10496 :
10497 else
10498 can_build_shared=no
10499 fi
10500 ;;
10501 esac
10502 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10503 # soname into executable. Probably we can add versioning support to
10504 # collect2, so additional links can be useful in future.
10505 if test "$aix_use_runtimelinking" = yes; then
10506 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10507 # instead of lib<name>.a to let people know that these are not
10508 # typical AIX shared libraries.
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 else
10511 # We preserve .a as extension for shared libraries through AIX4.2
10512 # and later when we are not doing run time linking.
10513 library_names_spec='${libname}${release}.a $libname.a'
10514 soname_spec='${libname}${release}${shared_ext}$major'
10515 fi
10516 shlibpath_var=LIBPATH
10517 fi
10518 ;;
10519
10520 amigaos*)
10521 case $host_cpu in
10522 powerpc)
10523 # Since July 2007 AmigaOS4 officially supports .so libraries.
10524 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10526 ;;
10527 m68k)
10528 library_names_spec='$libname.ixlibrary $libname.a'
10529 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10530 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'
10531 ;;
10532 esac
10533 ;;
10534
10535 beos*)
10536 library_names_spec='${libname}${shared_ext}'
10537 dynamic_linker="$host_os ld.so"
10538 shlibpath_var=LIBRARY_PATH
10539 ;;
10540
10541 bsdi[45]*)
10542 version_type=linux
10543 need_version=no
10544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10545 soname_spec='${libname}${release}${shared_ext}$major'
10546 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10547 shlibpath_var=LD_LIBRARY_PATH
10548 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10549 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10550 # the default ld.so.conf also contains /usr/contrib/lib and
10551 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10552 # libtool to hard-code these into programs
10553 ;;
10554
10555 cygwin* | mingw* | pw32* | cegcc*)
10556 version_type=windows
10557 shrext_cmds=".dll"
10558 need_version=no
10559 need_lib_prefix=no
10560
10561 case $GCC,$host_os in
10562 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10563 library_names_spec='$libname.dll.a'
10564 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10565 postinstall_cmds='base_file=`basename \${file}`~
10566 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10567 dldir=$destdir/`dirname \$dlpath`~
10568 test -d \$dldir || mkdir -p \$dldir~
10569 $install_prog $dir/$dlname \$dldir/$dlname~
10570 chmod a+x \$dldir/$dlname~
10571 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10572 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10573 fi'
10574 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10575 dlpath=$dir/\$dldll~
10576 $RM \$dlpath'
10577 shlibpath_overrides_runpath=yes
10578
10579 case $host_os in
10580 cygwin*)
10581 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10582 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10583
10584 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10585 ;;
10586 mingw* | cegcc*)
10587 # MinGW DLLs use traditional 'lib' prefix
10588 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10589 ;;
10590 pw32*)
10591 # pw32 DLLs use 'pw' prefix rather than 'lib'
10592 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10593 ;;
10594 esac
10595 ;;
10596
10597 *)
10598 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10599 ;;
10600 esac
10601 dynamic_linker='Win32 ld.exe'
10602 # FIXME: first we should search . and the directory the executable is in
10603 shlibpath_var=PATH
10604 ;;
10605
10606 darwin* | rhapsody*)
10607 dynamic_linker="$host_os dyld"
10608 version_type=darwin
10609 need_lib_prefix=no
10610 need_version=no
10611 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10612 soname_spec='${libname}${release}${major}$shared_ext'
10613 shlibpath_overrides_runpath=yes
10614 shlibpath_var=DYLD_LIBRARY_PATH
10615 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10616
10617 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10618 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10619 ;;
10620
10621 dgux*)
10622 version_type=linux
10623 need_lib_prefix=no
10624 need_version=no
10625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10626 soname_spec='${libname}${release}${shared_ext}$major'
10627 shlibpath_var=LD_LIBRARY_PATH
10628 ;;
10629
10630 freebsd* | dragonfly*)
10631 # DragonFly does not have aout. When/if they implement a new
10632 # versioning mechanism, adjust this.
10633 if test -x /usr/bin/objformat; then
10634 objformat=`/usr/bin/objformat`
10635 else
10636 case $host_os in
10637 freebsd[23].*) objformat=aout ;;
10638 *) objformat=elf ;;
10639 esac
10640 fi
10641 version_type=freebsd-$objformat
10642 case $version_type in
10643 freebsd-elf*)
10644 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10645 need_version=no
10646 need_lib_prefix=no
10647 ;;
10648 freebsd-*)
10649 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10650 need_version=yes
10651 ;;
10652 esac
10653 shlibpath_var=LD_LIBRARY_PATH
10654 case $host_os in
10655 freebsd2.*)
10656 shlibpath_overrides_runpath=yes
10657 ;;
10658 freebsd3.[01]* | freebsdelf3.[01]*)
10659 shlibpath_overrides_runpath=yes
10660 hardcode_into_libs=yes
10661 ;;
10662 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10663 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10664 shlibpath_overrides_runpath=no
10665 hardcode_into_libs=yes
10666 ;;
10667 *) # from 4.6 on, and DragonFly
10668 shlibpath_overrides_runpath=yes
10669 hardcode_into_libs=yes
10670 ;;
10671 esac
10672 ;;
10673
10674 gnu*)
10675 version_type=linux
10676 need_lib_prefix=no
10677 need_version=no
10678 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10679 soname_spec='${libname}${release}${shared_ext}$major'
10680 shlibpath_var=LD_LIBRARY_PATH
10681 hardcode_into_libs=yes
10682 ;;
10683
10684 haiku*)
10685 version_type=linux
10686 need_lib_prefix=no
10687 need_version=no
10688 dynamic_linker="$host_os runtime_loader"
10689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10690 soname_spec='${libname}${release}${shared_ext}$major'
10691 shlibpath_var=LIBRARY_PATH
10692 shlibpath_overrides_runpath=yes
10693 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10694 hardcode_into_libs=yes
10695 ;;
10696
10697 hpux9* | hpux10* | hpux11*)
10698 # Give a soname corresponding to the major version so that dld.sl refuses to
10699 # link against other versions.
10700 version_type=sunos
10701 need_lib_prefix=no
10702 need_version=no
10703 case $host_cpu in
10704 ia64*)
10705 shrext_cmds='.so'
10706 hardcode_into_libs=yes
10707 dynamic_linker="$host_os dld.so"
10708 shlibpath_var=LD_LIBRARY_PATH
10709 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10710 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10711 soname_spec='${libname}${release}${shared_ext}$major'
10712 if test "X$HPUX_IA64_MODE" = X32; then
10713 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10714 else
10715 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10716 fi
10717 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10718 ;;
10719 hppa*64*)
10720 shrext_cmds='.sl'
10721 hardcode_into_libs=yes
10722 dynamic_linker="$host_os dld.sl"
10723 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10724 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10725 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10726 soname_spec='${libname}${release}${shared_ext}$major'
10727 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10728 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10729 ;;
10730 *)
10731 shrext_cmds='.sl'
10732 dynamic_linker="$host_os dld.sl"
10733 shlibpath_var=SHLIB_PATH
10734 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10736 soname_spec='${libname}${release}${shared_ext}$major'
10737 ;;
10738 esac
10739 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10740 postinstall_cmds='chmod 555 $lib'
10741 # or fails outright, so override atomically:
10742 install_override_mode=555
10743 ;;
10744
10745 interix[3-9]*)
10746 version_type=linux
10747 need_lib_prefix=no
10748 need_version=no
10749 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10750 soname_spec='${libname}${release}${shared_ext}$major'
10751 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10752 shlibpath_var=LD_LIBRARY_PATH
10753 shlibpath_overrides_runpath=no
10754 hardcode_into_libs=yes
10755 ;;
10756
10757 irix5* | irix6* | nonstopux*)
10758 case $host_os in
10759 nonstopux*) version_type=nonstopux ;;
10760 *)
10761 if test "$lt_cv_prog_gnu_ld" = yes; then
10762 version_type=linux
10763 else
10764 version_type=irix
10765 fi ;;
10766 esac
10767 need_lib_prefix=no
10768 need_version=no
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10771 case $host_os in
10772 irix5* | nonstopux*)
10773 libsuff= shlibsuff=
10774 ;;
10775 *)
10776 case $LD in # libtool.m4 will add one of these switches to LD
10777 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10778 libsuff= shlibsuff= libmagic=32-bit;;
10779 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10780 libsuff=32 shlibsuff=N32 libmagic=N32;;
10781 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10782 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10783 *) libsuff= shlibsuff= libmagic=never-match;;
10784 esac
10785 ;;
10786 esac
10787 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10788 shlibpath_overrides_runpath=no
10789 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10790 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10791 hardcode_into_libs=yes
10792 ;;
10793
10794 # No shared lib support for Linux oldld, aout, or coff.
10795 linux*oldld* | linux*aout* | linux*coff*)
10796 dynamic_linker=no
10797 ;;
10798
10799 # This must be Linux ELF.
10800 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10801 version_type=linux
10802 need_lib_prefix=no
10803 need_version=no
10804 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10805 soname_spec='${libname}${release}${shared_ext}$major'
10806 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10807 shlibpath_var=LD_LIBRARY_PATH
10808 shlibpath_overrides_runpath=no
10809
10810 # Some binutils ld are patched to set DT_RUNPATH
10811 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10812 $as_echo_n "(cached) " >&6
10813 else
10814 lt_cv_shlibpath_overrides_runpath=no
10815 save_LDFLAGS=$LDFLAGS
10816 save_libdir=$libdir
10817 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10818 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10819 if test x$gcc_no_link = xyes; then
10820 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10821 fi
10822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10823 /* end confdefs.h. */
10824
10825 int
10826 main ()
10827 {
10828
10829 ;
10830 return 0;
10831 }
10832 _ACEOF
10833 if ac_fn_c_try_link "$LINENO"; then :
10834 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10835 lt_cv_shlibpath_overrides_runpath=yes
10836 fi
10837 fi
10838 rm -f core conftest.err conftest.$ac_objext \
10839 conftest$ac_exeext conftest.$ac_ext
10840 LDFLAGS=$save_LDFLAGS
10841 libdir=$save_libdir
10842
10843 fi
10844
10845 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10846
10847 # This implies no fast_install, which is unacceptable.
10848 # Some rework will be needed to allow for fast_install
10849 # before this can be enabled.
10850 hardcode_into_libs=yes
10851
10852 # Append ld.so.conf contents to the search path
10853 if test -f /etc/ld.so.conf; then
10854 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' ' '`
10855 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10856 fi
10857
10858 # We used to test for /lib/ld.so.1 and disable shared libraries on
10859 # powerpc, because MkLinux only supported shared libraries with the
10860 # GNU dynamic linker. Since this was broken with cross compilers,
10861 # most powerpc-linux boxes support dynamic linking these days and
10862 # people can always --disable-shared, the test was removed, and we
10863 # assume the GNU/Linux dynamic linker is in use.
10864 dynamic_linker='GNU/Linux ld.so'
10865 ;;
10866
10867 netbsd*)
10868 version_type=sunos
10869 need_lib_prefix=no
10870 need_version=no
10871 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10872 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10873 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10874 dynamic_linker='NetBSD (a.out) ld.so'
10875 else
10876 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10877 soname_spec='${libname}${release}${shared_ext}$major'
10878 dynamic_linker='NetBSD ld.elf_so'
10879 fi
10880 shlibpath_var=LD_LIBRARY_PATH
10881 shlibpath_overrides_runpath=yes
10882 hardcode_into_libs=yes
10883 ;;
10884
10885 newsos6)
10886 version_type=linux
10887 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10888 shlibpath_var=LD_LIBRARY_PATH
10889 shlibpath_overrides_runpath=yes
10890 ;;
10891
10892 *nto* | *qnx*)
10893 version_type=qnx
10894 need_lib_prefix=no
10895 need_version=no
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 shlibpath_var=LD_LIBRARY_PATH
10899 shlibpath_overrides_runpath=no
10900 hardcode_into_libs=yes
10901 dynamic_linker='ldqnx.so'
10902 ;;
10903
10904 openbsd*)
10905 version_type=sunos
10906 sys_lib_dlsearch_path_spec="/usr/lib"
10907 need_lib_prefix=no
10908 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10909 case $host_os in
10910 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10911 *) need_version=no ;;
10912 esac
10913 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10914 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10915 shlibpath_var=LD_LIBRARY_PATH
10916 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10917 case $host_os in
10918 openbsd2.[89] | openbsd2.[89].*)
10919 shlibpath_overrides_runpath=no
10920 ;;
10921 *)
10922 shlibpath_overrides_runpath=yes
10923 ;;
10924 esac
10925 else
10926 shlibpath_overrides_runpath=yes
10927 fi
10928 ;;
10929
10930 os2*)
10931 libname_spec='$name'
10932 shrext_cmds=".dll"
10933 need_lib_prefix=no
10934 library_names_spec='$libname${shared_ext} $libname.a'
10935 dynamic_linker='OS/2 ld.exe'
10936 shlibpath_var=LIBPATH
10937 ;;
10938
10939 osf3* | osf4* | osf5*)
10940 version_type=osf
10941 need_lib_prefix=no
10942 need_version=no
10943 soname_spec='${libname}${release}${shared_ext}$major'
10944 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10945 shlibpath_var=LD_LIBRARY_PATH
10946 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10947 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10948 ;;
10949
10950 rdos*)
10951 dynamic_linker=no
10952 ;;
10953
10954 solaris*)
10955 version_type=linux
10956 need_lib_prefix=no
10957 need_version=no
10958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10959 soname_spec='${libname}${release}${shared_ext}$major'
10960 shlibpath_var=LD_LIBRARY_PATH
10961 shlibpath_overrides_runpath=yes
10962 hardcode_into_libs=yes
10963 # ldd complains unless libraries are executable
10964 postinstall_cmds='chmod +x $lib'
10965 ;;
10966
10967 sunos4*)
10968 version_type=sunos
10969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10970 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10971 shlibpath_var=LD_LIBRARY_PATH
10972 shlibpath_overrides_runpath=yes
10973 if test "$with_gnu_ld" = yes; then
10974 need_lib_prefix=no
10975 fi
10976 need_version=yes
10977 ;;
10978
10979 sysv4 | sysv4.3*)
10980 version_type=linux
10981 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10982 soname_spec='${libname}${release}${shared_ext}$major'
10983 shlibpath_var=LD_LIBRARY_PATH
10984 case $host_vendor in
10985 sni)
10986 shlibpath_overrides_runpath=no
10987 need_lib_prefix=no
10988 runpath_var=LD_RUN_PATH
10989 ;;
10990 siemens)
10991 need_lib_prefix=no
10992 ;;
10993 motorola)
10994 need_lib_prefix=no
10995 need_version=no
10996 shlibpath_overrides_runpath=no
10997 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10998 ;;
10999 esac
11000 ;;
11001
11002 sysv4*MP*)
11003 if test -d /usr/nec ;then
11004 version_type=linux
11005 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11006 soname_spec='$libname${shared_ext}.$major'
11007 shlibpath_var=LD_LIBRARY_PATH
11008 fi
11009 ;;
11010
11011 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11012 version_type=freebsd-elf
11013 need_lib_prefix=no
11014 need_version=no
11015 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11016 soname_spec='${libname}${release}${shared_ext}$major'
11017 shlibpath_var=LD_LIBRARY_PATH
11018 shlibpath_overrides_runpath=yes
11019 hardcode_into_libs=yes
11020 if test "$with_gnu_ld" = yes; then
11021 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11022 else
11023 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11024 case $host_os in
11025 sco3.2v5*)
11026 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11027 ;;
11028 esac
11029 fi
11030 sys_lib_dlsearch_path_spec='/usr/lib'
11031 ;;
11032
11033 tpf*)
11034 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11035 version_type=linux
11036 need_lib_prefix=no
11037 need_version=no
11038 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=no
11041 hardcode_into_libs=yes
11042 ;;
11043
11044 uts4*)
11045 version_type=linux
11046 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11047 soname_spec='${libname}${release}${shared_ext}$major'
11048 shlibpath_var=LD_LIBRARY_PATH
11049 ;;
11050
11051 *)
11052 dynamic_linker=no
11053 ;;
11054 esac
11055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11056 $as_echo "$dynamic_linker" >&6; }
11057 test "$dynamic_linker" = no && can_build_shared=no
11058
11059 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11060 if test "$GCC" = yes; then
11061 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11062 fi
11063
11064 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11065 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11066 fi
11067 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11068 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11069 fi
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11163 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11164 hardcode_action=
11165 if test -n "$hardcode_libdir_flag_spec" ||
11166 test -n "$runpath_var" ||
11167 test "X$hardcode_automatic" = "Xyes" ; then
11168
11169 # We can hardcode non-existent directories.
11170 if test "$hardcode_direct" != no &&
11171 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11172 # have to relink, otherwise we might link with an installed library
11173 # when we should be linking with a yet-to-be-installed one
11174 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11175 test "$hardcode_minus_L" != no; then
11176 # Linking always hardcodes the temporary library directory.
11177 hardcode_action=relink
11178 else
11179 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11180 hardcode_action=immediate
11181 fi
11182 else
11183 # We cannot hardcode anything, or else we can only hardcode existing
11184 # directories.
11185 hardcode_action=unsupported
11186 fi
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11188 $as_echo "$hardcode_action" >&6; }
11189
11190 if test "$hardcode_action" = relink ||
11191 test "$inherit_rpath" = yes; then
11192 # Fast installation is not supported
11193 enable_fast_install=no
11194 elif test "$shlibpath_overrides_runpath" = yes ||
11195 test "$enable_shared" = no; then
11196 # Fast installation is not necessary
11197 enable_fast_install=needless
11198 fi
11199
11200
11201
11202
11203
11204
11205 if test "x$enable_dlopen" != xyes; then
11206 enable_dlopen=unknown
11207 enable_dlopen_self=unknown
11208 enable_dlopen_self_static=unknown
11209 else
11210 lt_cv_dlopen=no
11211 lt_cv_dlopen_libs=
11212
11213 case $host_os in
11214 beos*)
11215 lt_cv_dlopen="load_add_on"
11216 lt_cv_dlopen_libs=
11217 lt_cv_dlopen_self=yes
11218 ;;
11219
11220 mingw* | pw32* | cegcc*)
11221 lt_cv_dlopen="LoadLibrary"
11222 lt_cv_dlopen_libs=
11223 ;;
11224
11225 cygwin*)
11226 lt_cv_dlopen="dlopen"
11227 lt_cv_dlopen_libs=
11228 ;;
11229
11230 darwin*)
11231 # if libdl is installed we need to link against it
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11233 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11234 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-ldl $LIBS"
11239 if test x$gcc_no_link = xyes; then
11240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11241 fi
11242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11243 /* end confdefs.h. */
11244
11245 /* Override any GCC internal prototype to avoid an error.
11246 Use char because int might match the return type of a GCC
11247 builtin and then its argument prototype would still apply. */
11248 #ifdef __cplusplus
11249 extern "C"
11250 #endif
11251 char dlopen ();
11252 int
11253 main ()
11254 {
11255 return dlopen ();
11256 ;
11257 return 0;
11258 }
11259 _ACEOF
11260 if ac_fn_c_try_link "$LINENO"; then :
11261 ac_cv_lib_dl_dlopen=yes
11262 else
11263 ac_cv_lib_dl_dlopen=no
11264 fi
11265 rm -f core conftest.err conftest.$ac_objext \
11266 conftest$ac_exeext conftest.$ac_ext
11267 LIBS=$ac_check_lib_save_LIBS
11268 fi
11269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11270 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11271 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11272 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11273 else
11274
11275 lt_cv_dlopen="dyld"
11276 lt_cv_dlopen_libs=
11277 lt_cv_dlopen_self=yes
11278
11279 fi
11280
11281 ;;
11282
11283 *)
11284 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11285 if test "x$ac_cv_func_shl_load" = x""yes; then :
11286 lt_cv_dlopen="shl_load"
11287 else
11288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11289 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11290 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11291 $as_echo_n "(cached) " >&6
11292 else
11293 ac_check_lib_save_LIBS=$LIBS
11294 LIBS="-ldld $LIBS"
11295 if test x$gcc_no_link = xyes; then
11296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11297 fi
11298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11299 /* end confdefs.h. */
11300
11301 /* Override any GCC internal prototype to avoid an error.
11302 Use char because int might match the return type of a GCC
11303 builtin and then its argument prototype would still apply. */
11304 #ifdef __cplusplus
11305 extern "C"
11306 #endif
11307 char shl_load ();
11308 int
11309 main ()
11310 {
11311 return shl_load ();
11312 ;
11313 return 0;
11314 }
11315 _ACEOF
11316 if ac_fn_c_try_link "$LINENO"; then :
11317 ac_cv_lib_dld_shl_load=yes
11318 else
11319 ac_cv_lib_dld_shl_load=no
11320 fi
11321 rm -f core conftest.err conftest.$ac_objext \
11322 conftest$ac_exeext conftest.$ac_ext
11323 LIBS=$ac_check_lib_save_LIBS
11324 fi
11325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11326 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11327 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11328 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11329 else
11330 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11331 if test "x$ac_cv_func_dlopen" = x""yes; then :
11332 lt_cv_dlopen="dlopen"
11333 else
11334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11335 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11336 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11337 $as_echo_n "(cached) " >&6
11338 else
11339 ac_check_lib_save_LIBS=$LIBS
11340 LIBS="-ldl $LIBS"
11341 if test x$gcc_no_link = xyes; then
11342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11343 fi
11344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11345 /* end confdefs.h. */
11346
11347 /* Override any GCC internal prototype to avoid an error.
11348 Use char because int might match the return type of a GCC
11349 builtin and then its argument prototype would still apply. */
11350 #ifdef __cplusplus
11351 extern "C"
11352 #endif
11353 char dlopen ();
11354 int
11355 main ()
11356 {
11357 return dlopen ();
11358 ;
11359 return 0;
11360 }
11361 _ACEOF
11362 if ac_fn_c_try_link "$LINENO"; then :
11363 ac_cv_lib_dl_dlopen=yes
11364 else
11365 ac_cv_lib_dl_dlopen=no
11366 fi
11367 rm -f core conftest.err conftest.$ac_objext \
11368 conftest$ac_exeext conftest.$ac_ext
11369 LIBS=$ac_check_lib_save_LIBS
11370 fi
11371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11372 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11373 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11374 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11375 else
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11377 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11378 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11379 $as_echo_n "(cached) " >&6
11380 else
11381 ac_check_lib_save_LIBS=$LIBS
11382 LIBS="-lsvld $LIBS"
11383 if test x$gcc_no_link = xyes; then
11384 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11385 fi
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11388
11389 /* Override any GCC internal prototype to avoid an error.
11390 Use char because int might match the return type of a GCC
11391 builtin and then its argument prototype would still apply. */
11392 #ifdef __cplusplus
11393 extern "C"
11394 #endif
11395 char dlopen ();
11396 int
11397 main ()
11398 {
11399 return dlopen ();
11400 ;
11401 return 0;
11402 }
11403 _ACEOF
11404 if ac_fn_c_try_link "$LINENO"; then :
11405 ac_cv_lib_svld_dlopen=yes
11406 else
11407 ac_cv_lib_svld_dlopen=no
11408 fi
11409 rm -f core conftest.err conftest.$ac_objext \
11410 conftest$ac_exeext conftest.$ac_ext
11411 LIBS=$ac_check_lib_save_LIBS
11412 fi
11413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11414 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11415 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11416 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11417 else
11418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11419 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11420 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11421 $as_echo_n "(cached) " >&6
11422 else
11423 ac_check_lib_save_LIBS=$LIBS
11424 LIBS="-ldld $LIBS"
11425 if test x$gcc_no_link = xyes; then
11426 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11427 fi
11428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h. */
11430
11431 /* Override any GCC internal prototype to avoid an error.
11432 Use char because int might match the return type of a GCC
11433 builtin and then its argument prototype would still apply. */
11434 #ifdef __cplusplus
11435 extern "C"
11436 #endif
11437 char dld_link ();
11438 int
11439 main ()
11440 {
11441 return dld_link ();
11442 ;
11443 return 0;
11444 }
11445 _ACEOF
11446 if ac_fn_c_try_link "$LINENO"; then :
11447 ac_cv_lib_dld_dld_link=yes
11448 else
11449 ac_cv_lib_dld_dld_link=no
11450 fi
11451 rm -f core conftest.err conftest.$ac_objext \
11452 conftest$ac_exeext conftest.$ac_ext
11453 LIBS=$ac_check_lib_save_LIBS
11454 fi
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11456 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11457 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11458 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11459 fi
11460
11461
11462 fi
11463
11464
11465 fi
11466
11467
11468 fi
11469
11470
11471 fi
11472
11473
11474 fi
11475
11476 ;;
11477 esac
11478
11479 if test "x$lt_cv_dlopen" != xno; then
11480 enable_dlopen=yes
11481 else
11482 enable_dlopen=no
11483 fi
11484
11485 case $lt_cv_dlopen in
11486 dlopen)
11487 save_CPPFLAGS="$CPPFLAGS"
11488 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11489
11490 save_LDFLAGS="$LDFLAGS"
11491 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11492
11493 save_LIBS="$LIBS"
11494 LIBS="$lt_cv_dlopen_libs $LIBS"
11495
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11497 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11498 if test "${lt_cv_dlopen_self+set}" = set; then :
11499 $as_echo_n "(cached) " >&6
11500 else
11501 if test "$cross_compiling" = yes; then :
11502 lt_cv_dlopen_self=cross
11503 else
11504 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11505 lt_status=$lt_dlunknown
11506 cat > conftest.$ac_ext <<_LT_EOF
11507 #line 11507 "configure"
11508 #include "confdefs.h"
11509
11510 #if HAVE_DLFCN_H
11511 #include <dlfcn.h>
11512 #endif
11513
11514 #include <stdio.h>
11515
11516 #ifdef RTLD_GLOBAL
11517 # define LT_DLGLOBAL RTLD_GLOBAL
11518 #else
11519 # ifdef DL_GLOBAL
11520 # define LT_DLGLOBAL DL_GLOBAL
11521 # else
11522 # define LT_DLGLOBAL 0
11523 # endif
11524 #endif
11525
11526 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11527 find out it does not work in some platform. */
11528 #ifndef LT_DLLAZY_OR_NOW
11529 # ifdef RTLD_LAZY
11530 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11531 # else
11532 # ifdef DL_LAZY
11533 # define LT_DLLAZY_OR_NOW DL_LAZY
11534 # else
11535 # ifdef RTLD_NOW
11536 # define LT_DLLAZY_OR_NOW RTLD_NOW
11537 # else
11538 # ifdef DL_NOW
11539 # define LT_DLLAZY_OR_NOW DL_NOW
11540 # else
11541 # define LT_DLLAZY_OR_NOW 0
11542 # endif
11543 # endif
11544 # endif
11545 # endif
11546 #endif
11547
11548 /* When -fvisbility=hidden is used, assume the code has been annotated
11549 correspondingly for the symbols needed. */
11550 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11551 void fnord () __attribute__((visibility("default")));
11552 #endif
11553
11554 void fnord () { int i=42; }
11555 int main ()
11556 {
11557 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11558 int status = $lt_dlunknown;
11559
11560 if (self)
11561 {
11562 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11563 else
11564 {
11565 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11566 else puts (dlerror ());
11567 }
11568 /* dlclose (self); */
11569 }
11570 else
11571 puts (dlerror ());
11572
11573 return status;
11574 }
11575 _LT_EOF
11576 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11577 (eval $ac_link) 2>&5
11578 ac_status=$?
11579 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11580 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11581 (./conftest; exit; ) >&5 2>/dev/null
11582 lt_status=$?
11583 case x$lt_status in
11584 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11585 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11586 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11587 esac
11588 else :
11589 # compilation failed
11590 lt_cv_dlopen_self=no
11591 fi
11592 fi
11593 rm -fr conftest*
11594
11595
11596 fi
11597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11598 $as_echo "$lt_cv_dlopen_self" >&6; }
11599
11600 if test "x$lt_cv_dlopen_self" = xyes; then
11601 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11603 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11604 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11605 $as_echo_n "(cached) " >&6
11606 else
11607 if test "$cross_compiling" = yes; then :
11608 lt_cv_dlopen_self_static=cross
11609 else
11610 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11611 lt_status=$lt_dlunknown
11612 cat > conftest.$ac_ext <<_LT_EOF
11613 #line 11613 "configure"
11614 #include "confdefs.h"
11615
11616 #if HAVE_DLFCN_H
11617 #include <dlfcn.h>
11618 #endif
11619
11620 #include <stdio.h>
11621
11622 #ifdef RTLD_GLOBAL
11623 # define LT_DLGLOBAL RTLD_GLOBAL
11624 #else
11625 # ifdef DL_GLOBAL
11626 # define LT_DLGLOBAL DL_GLOBAL
11627 # else
11628 # define LT_DLGLOBAL 0
11629 # endif
11630 #endif
11631
11632 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11633 find out it does not work in some platform. */
11634 #ifndef LT_DLLAZY_OR_NOW
11635 # ifdef RTLD_LAZY
11636 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11637 # else
11638 # ifdef DL_LAZY
11639 # define LT_DLLAZY_OR_NOW DL_LAZY
11640 # else
11641 # ifdef RTLD_NOW
11642 # define LT_DLLAZY_OR_NOW RTLD_NOW
11643 # else
11644 # ifdef DL_NOW
11645 # define LT_DLLAZY_OR_NOW DL_NOW
11646 # else
11647 # define LT_DLLAZY_OR_NOW 0
11648 # endif
11649 # endif
11650 # endif
11651 # endif
11652 #endif
11653
11654 /* When -fvisbility=hidden is used, assume the code has been annotated
11655 correspondingly for the symbols needed. */
11656 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11657 void fnord () __attribute__((visibility("default")));
11658 #endif
11659
11660 void fnord () { int i=42; }
11661 int main ()
11662 {
11663 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11664 int status = $lt_dlunknown;
11665
11666 if (self)
11667 {
11668 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11669 else
11670 {
11671 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11672 else puts (dlerror ());
11673 }
11674 /* dlclose (self); */
11675 }
11676 else
11677 puts (dlerror ());
11678
11679 return status;
11680 }
11681 _LT_EOF
11682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11683 (eval $ac_link) 2>&5
11684 ac_status=$?
11685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11686 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11687 (./conftest; exit; ) >&5 2>/dev/null
11688 lt_status=$?
11689 case x$lt_status in
11690 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11691 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11692 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11693 esac
11694 else :
11695 # compilation failed
11696 lt_cv_dlopen_self_static=no
11697 fi
11698 fi
11699 rm -fr conftest*
11700
11701
11702 fi
11703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11704 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11705 fi
11706
11707 CPPFLAGS="$save_CPPFLAGS"
11708 LDFLAGS="$save_LDFLAGS"
11709 LIBS="$save_LIBS"
11710 ;;
11711 esac
11712
11713 case $lt_cv_dlopen_self in
11714 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11715 *) enable_dlopen_self=unknown ;;
11716 esac
11717
11718 case $lt_cv_dlopen_self_static in
11719 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11720 *) enable_dlopen_self_static=unknown ;;
11721 esac
11722 fi
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740 striplib=
11741 old_striplib=
11742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11743 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11744 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11745 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11746 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11748 $as_echo "yes" >&6; }
11749 else
11750 # FIXME - insert some real tests, host_os isn't really good enough
11751 case $host_os in
11752 darwin*)
11753 if test -n "$STRIP" ; then
11754 striplib="$STRIP -x"
11755 old_striplib="$STRIP -S"
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11757 $as_echo "yes" >&6; }
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11760 $as_echo "no" >&6; }
11761 fi
11762 ;;
11763 *)
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11765 $as_echo "no" >&6; }
11766 ;;
11767 esac
11768 fi
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781 # Report which library types will actually be built
11782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11783 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11785 $as_echo "$can_build_shared" >&6; }
11786
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11788 $as_echo_n "checking whether to build shared libraries... " >&6; }
11789 test "$can_build_shared" = "no" && enable_shared=no
11790
11791 # On AIX, shared libraries and static libraries use the same namespace, and
11792 # are all built from PIC.
11793 case $host_os in
11794 aix3*)
11795 test "$enable_shared" = yes && enable_static=no
11796 if test -n "$RANLIB"; then
11797 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11798 postinstall_cmds='$RANLIB $lib'
11799 fi
11800 ;;
11801
11802 aix[4-9]*)
11803 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11804 test "$enable_shared" = yes && enable_static=no
11805 fi
11806 ;;
11807 esac
11808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11809 $as_echo "$enable_shared" >&6; }
11810
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11812 $as_echo_n "checking whether to build static libraries... " >&6; }
11813 # Make sure either enable_shared or enable_static is yes.
11814 test "$enable_shared" = yes || enable_static=yes
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11816 $as_echo "$enable_static" >&6; }
11817
11818
11819
11820
11821 fi
11822 ac_ext=c
11823 ac_cpp='$CPP $CPPFLAGS'
11824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11827
11828 CC="$lt_save_CC"
11829
11830 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11831 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11832 (test "X$CXX" != "Xg++"))) ; then
11833 ac_ext=cpp
11834 ac_cpp='$CXXCPP $CPPFLAGS'
11835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11839 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11840 if test -z "$CXXCPP"; then
11841 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11842 $as_echo_n "(cached) " >&6
11843 else
11844 # Double quotes because CXXCPP needs to be expanded
11845 for CXXCPP in "$CXX -E" "/lib/cpp"
11846 do
11847 ac_preproc_ok=false
11848 for ac_cxx_preproc_warn_flag in '' yes
11849 do
11850 # Use a header file that comes with gcc, so configuring glibc
11851 # with a fresh cross-compiler works.
11852 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11853 # <limits.h> exists even on freestanding compilers.
11854 # On the NeXT, cc -E runs the code through the compiler's parser,
11855 # not just through cpp. "Syntax error" is here to catch this case.
11856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11857 /* end confdefs.h. */
11858 #ifdef __STDC__
11859 # include <limits.h>
11860 #else
11861 # include <assert.h>
11862 #endif
11863 Syntax error
11864 _ACEOF
11865 if ac_fn_cxx_try_cpp "$LINENO"; then :
11866
11867 else
11868 # Broken: fails on valid input.
11869 continue
11870 fi
11871 rm -f conftest.err conftest.$ac_ext
11872
11873 # OK, works on sane cases. Now check whether nonexistent headers
11874 # can be detected and how.
11875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11876 /* end confdefs.h. */
11877 #include <ac_nonexistent.h>
11878 _ACEOF
11879 if ac_fn_cxx_try_cpp "$LINENO"; then :
11880 # Broken: success on invalid input.
11881 continue
11882 else
11883 # Passes both tests.
11884 ac_preproc_ok=:
11885 break
11886 fi
11887 rm -f conftest.err conftest.$ac_ext
11888
11889 done
11890 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11891 rm -f conftest.err conftest.$ac_ext
11892 if $ac_preproc_ok; then :
11893 break
11894 fi
11895
11896 done
11897 ac_cv_prog_CXXCPP=$CXXCPP
11898
11899 fi
11900 CXXCPP=$ac_cv_prog_CXXCPP
11901 else
11902 ac_cv_prog_CXXCPP=$CXXCPP
11903 fi
11904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11905 $as_echo "$CXXCPP" >&6; }
11906 ac_preproc_ok=false
11907 for ac_cxx_preproc_warn_flag in '' yes
11908 do
11909 # Use a header file that comes with gcc, so configuring glibc
11910 # with a fresh cross-compiler works.
11911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11912 # <limits.h> exists even on freestanding compilers.
11913 # On the NeXT, cc -E runs the code through the compiler's parser,
11914 # not just through cpp. "Syntax error" is here to catch this case.
11915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11916 /* end confdefs.h. */
11917 #ifdef __STDC__
11918 # include <limits.h>
11919 #else
11920 # include <assert.h>
11921 #endif
11922 Syntax error
11923 _ACEOF
11924 if ac_fn_cxx_try_cpp "$LINENO"; then :
11925
11926 else
11927 # Broken: fails on valid input.
11928 continue
11929 fi
11930 rm -f conftest.err conftest.$ac_ext
11931
11932 # OK, works on sane cases. Now check whether nonexistent headers
11933 # can be detected and how.
11934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11935 /* end confdefs.h. */
11936 #include <ac_nonexistent.h>
11937 _ACEOF
11938 if ac_fn_cxx_try_cpp "$LINENO"; then :
11939 # Broken: success on invalid input.
11940 continue
11941 else
11942 # Passes both tests.
11943 ac_preproc_ok=:
11944 break
11945 fi
11946 rm -f conftest.err conftest.$ac_ext
11947
11948 done
11949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11950 rm -f conftest.err conftest.$ac_ext
11951 if $ac_preproc_ok; then :
11952
11953 else
11954 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11955 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11956 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11957 See \`config.log' for more details." "$LINENO" 5; }
11958 fi
11959
11960 ac_ext=c
11961 ac_cpp='$CPP $CPPFLAGS'
11962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11965
11966 else
11967 _lt_caught_CXX_error=yes
11968 fi
11969
11970 ac_ext=cpp
11971 ac_cpp='$CXXCPP $CPPFLAGS'
11972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11975
11976 archive_cmds_need_lc_CXX=no
11977 allow_undefined_flag_CXX=
11978 always_export_symbols_CXX=no
11979 archive_expsym_cmds_CXX=
11980 compiler_needs_object_CXX=no
11981 export_dynamic_flag_spec_CXX=
11982 hardcode_direct_CXX=no
11983 hardcode_direct_absolute_CXX=no
11984 hardcode_libdir_flag_spec_CXX=
11985 hardcode_libdir_flag_spec_ld_CXX=
11986 hardcode_libdir_separator_CXX=
11987 hardcode_minus_L_CXX=no
11988 hardcode_shlibpath_var_CXX=unsupported
11989 hardcode_automatic_CXX=no
11990 inherit_rpath_CXX=no
11991 module_cmds_CXX=
11992 module_expsym_cmds_CXX=
11993 link_all_deplibs_CXX=unknown
11994 old_archive_cmds_CXX=$old_archive_cmds
11995 reload_flag_CXX=$reload_flag
11996 reload_cmds_CXX=$reload_cmds
11997 no_undefined_flag_CXX=
11998 whole_archive_flag_spec_CXX=
11999 enable_shared_with_static_runtimes_CXX=no
12000
12001 # Source file extension for C++ test sources.
12002 ac_ext=cpp
12003
12004 # Object file extension for compiled C++ test sources.
12005 objext=o
12006 objext_CXX=$objext
12007
12008 # No sense in running all these tests if we already determined that
12009 # the CXX compiler isn't working. Some variables (like enable_shared)
12010 # are currently assumed to apply to all compilers on this platform,
12011 # and will be corrupted by setting them based on a non-working compiler.
12012 if test "$_lt_caught_CXX_error" != yes; then
12013 # Code to be used in simple compile tests
12014 lt_simple_compile_test_code="int some_variable = 0;"
12015
12016 # Code to be used in simple link tests
12017 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12018
12019 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12020
12021
12022
12023
12024
12025
12026 # If no C compiler was specified, use CC.
12027 LTCC=${LTCC-"$CC"}
12028
12029 # If no C compiler flags were specified, use CFLAGS.
12030 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12031
12032 # Allow CC to be a program name with arguments.
12033 compiler=$CC
12034
12035
12036 # save warnings/boilerplate of simple test code
12037 ac_outfile=conftest.$ac_objext
12038 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12039 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12040 _lt_compiler_boilerplate=`cat conftest.err`
12041 $RM conftest*
12042
12043 ac_outfile=conftest.$ac_objext
12044 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12045 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12046 _lt_linker_boilerplate=`cat conftest.err`
12047 $RM -r conftest*
12048
12049
12050 # Allow CC to be a program name with arguments.
12051 lt_save_CC=$CC
12052 lt_save_LD=$LD
12053 lt_save_GCC=$GCC
12054 GCC=$GXX
12055 lt_save_with_gnu_ld=$with_gnu_ld
12056 lt_save_path_LD=$lt_cv_path_LD
12057 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12058 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12059 else
12060 $as_unset lt_cv_prog_gnu_ld
12061 fi
12062 if test -n "${lt_cv_path_LDCXX+set}"; then
12063 lt_cv_path_LD=$lt_cv_path_LDCXX
12064 else
12065 $as_unset lt_cv_path_LD
12066 fi
12067 test -z "${LDCXX+set}" || LD=$LDCXX
12068 CC=${CXX-"c++"}
12069 compiler=$CC
12070 compiler_CXX=$CC
12071 for cc_temp in $compiler""; do
12072 case $cc_temp in
12073 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12074 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12075 \-*) ;;
12076 *) break;;
12077 esac
12078 done
12079 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12080
12081
12082 if test -n "$compiler"; then
12083 # We don't want -fno-exception when compiling C++ code, so set the
12084 # no_builtin_flag separately
12085 if test "$GXX" = yes; then
12086 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12087 else
12088 lt_prog_compiler_no_builtin_flag_CXX=
12089 fi
12090
12091 if test "$GXX" = yes; then
12092 # Set up default GNU C++ configuration
12093
12094
12095
12096 # Check whether --with-gnu-ld was given.
12097 if test "${with_gnu_ld+set}" = set; then :
12098 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12099 else
12100 with_gnu_ld=no
12101 fi
12102
12103 ac_prog=ld
12104 if test "$GCC" = yes; then
12105 # Check if gcc -print-prog-name=ld gives a path.
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12107 $as_echo_n "checking for ld used by $CC... " >&6; }
12108 case $host in
12109 *-*-mingw*)
12110 # gcc leaves a trailing carriage return which upsets mingw
12111 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12112 *)
12113 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12114 esac
12115 case $ac_prog in
12116 # Accept absolute paths.
12117 [\\/]* | ?:[\\/]*)
12118 re_direlt='/[^/][^/]*/\.\./'
12119 # Canonicalize the pathname of ld
12120 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12121 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12122 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12123 done
12124 test -z "$LD" && LD="$ac_prog"
12125 ;;
12126 "")
12127 # If it fails, then pretend we aren't using GCC.
12128 ac_prog=ld
12129 ;;
12130 *)
12131 # If it is relative, then search for the first ld in PATH.
12132 with_gnu_ld=unknown
12133 ;;
12134 esac
12135 elif test "$with_gnu_ld" = yes; then
12136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12137 $as_echo_n "checking for GNU ld... " >&6; }
12138 else
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12140 $as_echo_n "checking for non-GNU ld... " >&6; }
12141 fi
12142 if test "${lt_cv_path_LD+set}" = set; then :
12143 $as_echo_n "(cached) " >&6
12144 else
12145 if test -z "$LD"; then
12146 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12147 for ac_dir in $PATH; do
12148 IFS="$lt_save_ifs"
12149 test -z "$ac_dir" && ac_dir=.
12150 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12151 lt_cv_path_LD="$ac_dir/$ac_prog"
12152 # Check to see if the program is GNU ld. I'd rather use --version,
12153 # but apparently some variants of GNU ld only accept -v.
12154 # Break only if it was the GNU/non-GNU ld that we prefer.
12155 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12156 *GNU* | *'with BFD'*)
12157 test "$with_gnu_ld" != no && break
12158 ;;
12159 *)
12160 test "$with_gnu_ld" != yes && break
12161 ;;
12162 esac
12163 fi
12164 done
12165 IFS="$lt_save_ifs"
12166 else
12167 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12168 fi
12169 fi
12170
12171 LD="$lt_cv_path_LD"
12172 if test -n "$LD"; then
12173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12174 $as_echo "$LD" >&6; }
12175 else
12176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12177 $as_echo "no" >&6; }
12178 fi
12179 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12181 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12182 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12186 case `$LD -v 2>&1 </dev/null` in
12187 *GNU* | *'with BFD'*)
12188 lt_cv_prog_gnu_ld=yes
12189 ;;
12190 *)
12191 lt_cv_prog_gnu_ld=no
12192 ;;
12193 esac
12194 fi
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12196 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12197 with_gnu_ld=$lt_cv_prog_gnu_ld
12198
12199
12200
12201
12202
12203
12204
12205 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12206 # archiving commands below assume that GNU ld is being used.
12207 if test "$with_gnu_ld" = yes; then
12208 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12209 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12210
12211 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12212 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12213
12214 # If archive_cmds runs LD, not CC, wlarc should be empty
12215 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12216 # investigate it a little bit more. (MM)
12217 wlarc='${wl}'
12218
12219 # ancient GNU ld didn't support --whole-archive et. al.
12220 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12221 $GREP 'no-whole-archive' > /dev/null; then
12222 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12223 else
12224 whole_archive_flag_spec_CXX=
12225 fi
12226 else
12227 with_gnu_ld=no
12228 wlarc=
12229
12230 # A generic and very simple default shared library creation
12231 # command for GNU C++ for the case where it uses the native
12232 # linker, instead of GNU ld. If possible, this setting should
12233 # overridden to take advantage of the native linker features on
12234 # the platform it is being used on.
12235 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12236 fi
12237
12238 # Commands to make compiler produce verbose output that lists
12239 # what "hidden" libraries, object files and flags are used when
12240 # linking a shared library.
12241 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12242
12243 else
12244 GXX=no
12245 with_gnu_ld=no
12246 wlarc=
12247 fi
12248
12249 # PORTME: fill in a description of your system's C++ link characteristics
12250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12251 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12252 ld_shlibs_CXX=yes
12253 case $host_os in
12254 aix3*)
12255 # FIXME: insert proper C++ library support
12256 ld_shlibs_CXX=no
12257 ;;
12258 aix[4-9]*)
12259 if test "$host_cpu" = ia64; then
12260 # On IA64, the linker does run time linking by default, so we don't
12261 # have to do anything special.
12262 aix_use_runtimelinking=no
12263 exp_sym_flag='-Bexport'
12264 no_entry_flag=""
12265 else
12266 aix_use_runtimelinking=no
12267
12268 # Test if we are trying to use run time linking or normal
12269 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12270 # need to do runtime linking.
12271 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12272 for ld_flag in $LDFLAGS; do
12273 case $ld_flag in
12274 *-brtl*)
12275 aix_use_runtimelinking=yes
12276 break
12277 ;;
12278 esac
12279 done
12280 ;;
12281 esac
12282
12283 exp_sym_flag='-bexport'
12284 no_entry_flag='-bnoentry'
12285 fi
12286
12287 # When large executables or shared objects are built, AIX ld can
12288 # have problems creating the table of contents. If linking a library
12289 # or program results in "error TOC overflow" add -mminimal-toc to
12290 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12291 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12292
12293 archive_cmds_CXX=''
12294 hardcode_direct_CXX=yes
12295 hardcode_direct_absolute_CXX=yes
12296 hardcode_libdir_separator_CXX=':'
12297 link_all_deplibs_CXX=yes
12298 file_list_spec_CXX='${wl}-f,'
12299
12300 if test "$GXX" = yes; then
12301 case $host_os in aix4.[012]|aix4.[012].*)
12302 # We only want to do this on AIX 4.2 and lower, the check
12303 # below for broken collect2 doesn't work under 4.3+
12304 collect2name=`${CC} -print-prog-name=collect2`
12305 if test -f "$collect2name" &&
12306 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12307 then
12308 # We have reworked collect2
12309 :
12310 else
12311 # We have old collect2
12312 hardcode_direct_CXX=unsupported
12313 # It fails to find uninstalled libraries when the uninstalled
12314 # path is not listed in the libpath. Setting hardcode_minus_L
12315 # to unsupported forces relinking
12316 hardcode_minus_L_CXX=yes
12317 hardcode_libdir_flag_spec_CXX='-L$libdir'
12318 hardcode_libdir_separator_CXX=
12319 fi
12320 esac
12321 shared_flag='-shared'
12322 if test "$aix_use_runtimelinking" = yes; then
12323 shared_flag="$shared_flag "'${wl}-G'
12324 fi
12325 else
12326 # not using gcc
12327 if test "$host_cpu" = ia64; then
12328 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12329 # chokes on -Wl,-G. The following line is correct:
12330 shared_flag='-G'
12331 else
12332 if test "$aix_use_runtimelinking" = yes; then
12333 shared_flag='${wl}-G'
12334 else
12335 shared_flag='${wl}-bM:SRE'
12336 fi
12337 fi
12338 fi
12339
12340 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12341 # It seems that -bexpall does not export symbols beginning with
12342 # underscore (_), so it is better to generate a list of symbols to
12343 # export.
12344 always_export_symbols_CXX=yes
12345 if test "$aix_use_runtimelinking" = yes; then
12346 # Warning - without using the other runtime loading flags (-brtl),
12347 # -berok will link without error, but may produce a broken library.
12348 allow_undefined_flag_CXX='-berok'
12349 # Determine the default libpath from the value encoded in an empty
12350 # executable.
12351 if test x$gcc_no_link = xyes; then
12352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12353 fi
12354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12355 /* end confdefs.h. */
12356
12357 int
12358 main ()
12359 {
12360
12361 ;
12362 return 0;
12363 }
12364 _ACEOF
12365 if ac_fn_cxx_try_link "$LINENO"; then :
12366
12367 lt_aix_libpath_sed='
12368 /Import File Strings/,/^$/ {
12369 /^0/ {
12370 s/^0 *\(.*\)$/\1/
12371 p
12372 }
12373 }'
12374 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12375 # Check for a 64-bit object if we didn't find anything.
12376 if test -z "$aix_libpath"; then
12377 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12378 fi
12379 fi
12380 rm -f core conftest.err conftest.$ac_objext \
12381 conftest$ac_exeext conftest.$ac_ext
12382 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12383
12384 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12385
12386 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"
12387 else
12388 if test "$host_cpu" = ia64; then
12389 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12390 allow_undefined_flag_CXX="-z nodefs"
12391 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"
12392 else
12393 # Determine the default libpath from the value encoded in an
12394 # empty executable.
12395 if test x$gcc_no_link = xyes; then
12396 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12397 fi
12398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12399 /* end confdefs.h. */
12400
12401 int
12402 main ()
12403 {
12404
12405 ;
12406 return 0;
12407 }
12408 _ACEOF
12409 if ac_fn_cxx_try_link "$LINENO"; then :
12410
12411 lt_aix_libpath_sed='
12412 /Import File Strings/,/^$/ {
12413 /^0/ {
12414 s/^0 *\(.*\)$/\1/
12415 p
12416 }
12417 }'
12418 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12419 # Check for a 64-bit object if we didn't find anything.
12420 if test -z "$aix_libpath"; then
12421 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12422 fi
12423 fi
12424 rm -f core conftest.err conftest.$ac_objext \
12425 conftest$ac_exeext conftest.$ac_ext
12426 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12427
12428 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12429 # Warning - without using the other run time loading flags,
12430 # -berok will link without error, but may produce a broken library.
12431 no_undefined_flag_CXX=' ${wl}-bernotok'
12432 allow_undefined_flag_CXX=' ${wl}-berok'
12433 if test "$with_gnu_ld" = yes; then
12434 # We only use this code for GNU lds that support --whole-archive.
12435 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12436 else
12437 # Exported symbols can be pulled into shared objects from archives
12438 whole_archive_flag_spec_CXX='$convenience'
12439 fi
12440 archive_cmds_need_lc_CXX=yes
12441 # This is similar to how AIX traditionally builds its shared
12442 # libraries.
12443 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'
12444 fi
12445 fi
12446 ;;
12447
12448 beos*)
12449 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12450 allow_undefined_flag_CXX=unsupported
12451 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12452 # support --undefined. This deserves some investigation. FIXME
12453 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12454 else
12455 ld_shlibs_CXX=no
12456 fi
12457 ;;
12458
12459 chorus*)
12460 case $cc_basename in
12461 *)
12462 # FIXME: insert proper C++ library support
12463 ld_shlibs_CXX=no
12464 ;;
12465 esac
12466 ;;
12467
12468 cygwin* | mingw* | pw32* | cegcc*)
12469 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12470 # as there is no search path for DLLs.
12471 hardcode_libdir_flag_spec_CXX='-L$libdir'
12472 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12473 allow_undefined_flag_CXX=unsupported
12474 always_export_symbols_CXX=no
12475 enable_shared_with_static_runtimes_CXX=yes
12476
12477 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12478 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'
12479 # If the export-symbols file already is a .def file (1st line
12480 # is EXPORTS), use it as is; otherwise, prepend...
12481 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12482 cp $export_symbols $output_objdir/$soname.def;
12483 else
12484 echo EXPORTS > $output_objdir/$soname.def;
12485 cat $export_symbols >> $output_objdir/$soname.def;
12486 fi~
12487 $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'
12488 else
12489 ld_shlibs_CXX=no
12490 fi
12491 ;;
12492 darwin* | rhapsody*)
12493
12494
12495 archive_cmds_need_lc_CXX=no
12496 hardcode_direct_CXX=no
12497 hardcode_automatic_CXX=yes
12498 hardcode_shlibpath_var_CXX=unsupported
12499 if test "$lt_cv_ld_force_load" = "yes"; then
12500 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\"`'
12501 else
12502 whole_archive_flag_spec_CXX=''
12503 fi
12504 link_all_deplibs_CXX=yes
12505 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12506 case $cc_basename in
12507 ifort*) _lt_dar_can_shared=yes ;;
12508 *) _lt_dar_can_shared=$GCC ;;
12509 esac
12510 if test "$_lt_dar_can_shared" = "yes"; then
12511 output_verbose_link_cmd=func_echo_all
12512 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}"
12513 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12514 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}"
12515 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}"
12516 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12517 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}"
12518 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}"
12519 fi
12520
12521 else
12522 ld_shlibs_CXX=no
12523 fi
12524
12525 ;;
12526
12527 dgux*)
12528 case $cc_basename in
12529 ec++*)
12530 # FIXME: insert proper C++ library support
12531 ld_shlibs_CXX=no
12532 ;;
12533 ghcx*)
12534 # Green Hills C++ Compiler
12535 # FIXME: insert proper C++ library support
12536 ld_shlibs_CXX=no
12537 ;;
12538 *)
12539 # FIXME: insert proper C++ library support
12540 ld_shlibs_CXX=no
12541 ;;
12542 esac
12543 ;;
12544
12545 freebsd2.*)
12546 # C++ shared libraries reported to be fairly broken before
12547 # switch to ELF
12548 ld_shlibs_CXX=no
12549 ;;
12550
12551 freebsd-elf*)
12552 archive_cmds_need_lc_CXX=no
12553 ;;
12554
12555 freebsd* | dragonfly*)
12556 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12557 # conventions
12558 ld_shlibs_CXX=yes
12559 ;;
12560
12561 gnu*)
12562 ;;
12563
12564 haiku*)
12565 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12566 link_all_deplibs_CXX=yes
12567 ;;
12568
12569 hpux9*)
12570 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12571 hardcode_libdir_separator_CXX=:
12572 export_dynamic_flag_spec_CXX='${wl}-E'
12573 hardcode_direct_CXX=yes
12574 hardcode_minus_L_CXX=yes # Not in the search PATH,
12575 # but as the default
12576 # location of the library.
12577
12578 case $cc_basename in
12579 CC*)
12580 # FIXME: insert proper C++ library support
12581 ld_shlibs_CXX=no
12582 ;;
12583 aCC*)
12584 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'
12585 # Commands to make compiler produce verbose output that lists
12586 # what "hidden" libraries, object files and flags are used when
12587 # linking a shared library.
12588 #
12589 # There doesn't appear to be a way to prevent this compiler from
12590 # explicitly linking system object files so we need to strip them
12591 # from the output so that they don't get included in the library
12592 # dependencies.
12593 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"'
12594 ;;
12595 *)
12596 if test "$GXX" = yes; then
12597 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'
12598 else
12599 # FIXME: insert proper C++ library support
12600 ld_shlibs_CXX=no
12601 fi
12602 ;;
12603 esac
12604 ;;
12605
12606 hpux10*|hpux11*)
12607 if test $with_gnu_ld = no; then
12608 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12609 hardcode_libdir_separator_CXX=:
12610
12611 case $host_cpu in
12612 hppa*64*|ia64*)
12613 ;;
12614 *)
12615 export_dynamic_flag_spec_CXX='${wl}-E'
12616 ;;
12617 esac
12618 fi
12619 case $host_cpu in
12620 hppa*64*|ia64*)
12621 hardcode_direct_CXX=no
12622 hardcode_shlibpath_var_CXX=no
12623 ;;
12624 *)
12625 hardcode_direct_CXX=yes
12626 hardcode_direct_absolute_CXX=yes
12627 hardcode_minus_L_CXX=yes # Not in the search PATH,
12628 # but as the default
12629 # location of the library.
12630 ;;
12631 esac
12632
12633 case $cc_basename in
12634 CC*)
12635 # FIXME: insert proper C++ library support
12636 ld_shlibs_CXX=no
12637 ;;
12638 aCC*)
12639 case $host_cpu in
12640 hppa*64*)
12641 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12642 ;;
12643 ia64*)
12644 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12645 ;;
12646 *)
12647 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12648 ;;
12649 esac
12650 # Commands to make compiler produce verbose output that lists
12651 # what "hidden" libraries, object files and flags are used when
12652 # linking a shared library.
12653 #
12654 # There doesn't appear to be a way to prevent this compiler from
12655 # explicitly linking system object files so we need to strip them
12656 # from the output so that they don't get included in the library
12657 # dependencies.
12658 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"'
12659 ;;
12660 *)
12661 if test "$GXX" = yes; then
12662 if test $with_gnu_ld = no; then
12663 case $host_cpu in
12664 hppa*64*)
12665 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12666 ;;
12667 ia64*)
12668 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 ;;
12670 *)
12671 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'
12672 ;;
12673 esac
12674 fi
12675 else
12676 # FIXME: insert proper C++ library support
12677 ld_shlibs_CXX=no
12678 fi
12679 ;;
12680 esac
12681 ;;
12682
12683 interix[3-9]*)
12684 hardcode_direct_CXX=no
12685 hardcode_shlibpath_var_CXX=no
12686 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12687 export_dynamic_flag_spec_CXX='${wl}-E'
12688 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12689 # Instead, shared libraries are loaded at an image base (0x10000000 by
12690 # default) and relocated if they conflict, which is a slow very memory
12691 # consuming and fragmenting process. To avoid this, we pick a random,
12692 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12693 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12694 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'
12695 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'
12696 ;;
12697 irix5* | irix6*)
12698 case $cc_basename in
12699 CC*)
12700 # SGI C++
12701 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'
12702
12703 # Archives containing C++ object files must be created using
12704 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12705 # necessary to make sure instantiated templates are included
12706 # in the archive.
12707 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12708 ;;
12709 *)
12710 if test "$GXX" = yes; then
12711 if test "$with_gnu_ld" = no; then
12712 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'
12713 else
12714 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'
12715 fi
12716 fi
12717 link_all_deplibs_CXX=yes
12718 ;;
12719 esac
12720 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12721 hardcode_libdir_separator_CXX=:
12722 inherit_rpath_CXX=yes
12723 ;;
12724
12725 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12726 case $cc_basename in
12727 KCC*)
12728 # Kuck and Associates, Inc. (KAI) C++ Compiler
12729
12730 # KCC will only create a shared library if the output file
12731 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12732 # to its proper name (with version) after linking.
12733 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'
12734 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'
12735 # Commands to make compiler produce verbose output that lists
12736 # what "hidden" libraries, object files and flags are used when
12737 # linking a shared library.
12738 #
12739 # There doesn't appear to be a way to prevent this compiler from
12740 # explicitly linking system object files so we need to strip them
12741 # from the output so that they don't get included in the library
12742 # dependencies.
12743 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"'
12744
12745 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12746 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12747
12748 # Archives containing C++ object files must be created using
12749 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12750 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12751 ;;
12752 icpc* | ecpc* )
12753 # Intel C++
12754 with_gnu_ld=yes
12755 # version 8.0 and above of icpc choke on multiply defined symbols
12756 # if we add $predep_objects and $postdep_objects, however 7.1 and
12757 # earlier do not add the objects themselves.
12758 case `$CC -V 2>&1` in
12759 *"Version 7."*)
12760 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12761 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'
12762 ;;
12763 *) # Version 8.0 or newer
12764 tmp_idyn=
12765 case $host_cpu in
12766 ia64*) tmp_idyn=' -i_dynamic';;
12767 esac
12768 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12769 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'
12770 ;;
12771 esac
12772 archive_cmds_need_lc_CXX=no
12773 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12774 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12775 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12776 ;;
12777 pgCC* | pgcpp*)
12778 # Portland Group C++ compiler
12779 case `$CC -V` in
12780 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12781 prelink_cmds_CXX='tpldir=Template.dir~
12782 rm -rf $tpldir~
12783 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12784 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12785 old_archive_cmds_CXX='tpldir=Template.dir~
12786 rm -rf $tpldir~
12787 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12788 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12789 $RANLIB $oldlib'
12790 archive_cmds_CXX='tpldir=Template.dir~
12791 rm -rf $tpldir~
12792 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12793 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12794 archive_expsym_cmds_CXX='tpldir=Template.dir~
12795 rm -rf $tpldir~
12796 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12797 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12798 ;;
12799 *) # Version 6 and above use weak symbols
12800 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12801 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'
12802 ;;
12803 esac
12804
12805 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12806 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12807 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'
12808 ;;
12809 cxx*)
12810 # Compaq C++
12811 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12812 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'
12813
12814 runpath_var=LD_RUN_PATH
12815 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12816 hardcode_libdir_separator_CXX=:
12817
12818 # Commands to make compiler produce verbose output that lists
12819 # what "hidden" libraries, object files and flags are used when
12820 # linking a shared library.
12821 #
12822 # There doesn't appear to be a way to prevent this compiler from
12823 # explicitly linking system object files so we need to strip them
12824 # from the output so that they don't get included in the library
12825 # dependencies.
12826 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'
12827 ;;
12828 xl* | mpixl* | bgxl*)
12829 # IBM XL 8.0 on PPC, with GNU ld
12830 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12831 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12832 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12833 if test "x$supports_anon_versioning" = xyes; then
12834 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12835 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12836 echo "local: *; };" >> $output_objdir/$libname.ver~
12837 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12838 fi
12839 ;;
12840 *)
12841 case `$CC -V 2>&1 | sed 5q` in
12842 *Sun\ C*)
12843 # Sun C++ 5.9
12844 no_undefined_flag_CXX=' -zdefs'
12845 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12846 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'
12847 hardcode_libdir_flag_spec_CXX='-R$libdir'
12848 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'
12849 compiler_needs_object_CXX=yes
12850
12851 # Not sure whether something based on
12852 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12853 # would be better.
12854 output_verbose_link_cmd='func_echo_all'
12855
12856 # Archives containing C++ object files must be created using
12857 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12858 # necessary to make sure instantiated templates are included
12859 # in the archive.
12860 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12861 ;;
12862 esac
12863 ;;
12864 esac
12865 ;;
12866
12867 lynxos*)
12868 # FIXME: insert proper C++ library support
12869 ld_shlibs_CXX=no
12870 ;;
12871
12872 m88k*)
12873 # FIXME: insert proper C++ library support
12874 ld_shlibs_CXX=no
12875 ;;
12876
12877 mvs*)
12878 case $cc_basename in
12879 cxx*)
12880 # FIXME: insert proper C++ library support
12881 ld_shlibs_CXX=no
12882 ;;
12883 *)
12884 # FIXME: insert proper C++ library support
12885 ld_shlibs_CXX=no
12886 ;;
12887 esac
12888 ;;
12889
12890 netbsd*)
12891 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12892 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12893 wlarc=
12894 hardcode_libdir_flag_spec_CXX='-R$libdir'
12895 hardcode_direct_CXX=yes
12896 hardcode_shlibpath_var_CXX=no
12897 fi
12898 # Workaround some broken pre-1.5 toolchains
12899 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12900 ;;
12901
12902 *nto* | *qnx*)
12903 ld_shlibs_CXX=yes
12904 ;;
12905
12906 openbsd2*)
12907 # C++ shared libraries are fairly broken
12908 ld_shlibs_CXX=no
12909 ;;
12910
12911 openbsd*)
12912 if test -f /usr/libexec/ld.so; then
12913 hardcode_direct_CXX=yes
12914 hardcode_shlibpath_var_CXX=no
12915 hardcode_direct_absolute_CXX=yes
12916 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12917 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12918 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12919 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12920 export_dynamic_flag_spec_CXX='${wl}-E'
12921 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12922 fi
12923 output_verbose_link_cmd=func_echo_all
12924 else
12925 ld_shlibs_CXX=no
12926 fi
12927 ;;
12928
12929 osf3* | osf4* | osf5*)
12930 case $cc_basename in
12931 KCC*)
12932 # Kuck and Associates, Inc. (KAI) C++ Compiler
12933
12934 # KCC will only create a shared library if the output file
12935 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12936 # to its proper name (with version) after linking.
12937 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'
12938
12939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940 hardcode_libdir_separator_CXX=:
12941
12942 # Archives containing C++ object files must be created using
12943 # the KAI C++ compiler.
12944 case $host in
12945 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12946 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12947 esac
12948 ;;
12949 RCC*)
12950 # Rational C++ 2.4.1
12951 # FIXME: insert proper C++ library support
12952 ld_shlibs_CXX=no
12953 ;;
12954 cxx*)
12955 case $host in
12956 osf3*)
12957 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12958 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'
12959 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12960 ;;
12961 *)
12962 allow_undefined_flag_CXX=' -expect_unresolved \*'
12963 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'
12964 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12965 echo "-hidden">> $lib.exp~
12966 $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~
12967 $RM $lib.exp'
12968 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12969 ;;
12970 esac
12971
12972 hardcode_libdir_separator_CXX=:
12973
12974 # Commands to make compiler produce verbose output that lists
12975 # what "hidden" libraries, object files and flags are used when
12976 # linking a shared library.
12977 #
12978 # There doesn't appear to be a way to prevent this compiler from
12979 # explicitly linking system object files so we need to strip them
12980 # from the output so that they don't get included in the library
12981 # dependencies.
12982 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"'
12983 ;;
12984 *)
12985 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12986 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12987 case $host in
12988 osf3*)
12989 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'
12990 ;;
12991 *)
12992 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'
12993 ;;
12994 esac
12995
12996 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12997 hardcode_libdir_separator_CXX=:
12998
12999 # Commands to make compiler produce verbose output that lists
13000 # what "hidden" libraries, object files and flags are used when
13001 # linking a shared library.
13002 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13003
13004 else
13005 # FIXME: insert proper C++ library support
13006 ld_shlibs_CXX=no
13007 fi
13008 ;;
13009 esac
13010 ;;
13011
13012 psos*)
13013 # FIXME: insert proper C++ library support
13014 ld_shlibs_CXX=no
13015 ;;
13016
13017 sunos4*)
13018 case $cc_basename in
13019 CC*)
13020 # Sun C++ 4.x
13021 # FIXME: insert proper C++ library support
13022 ld_shlibs_CXX=no
13023 ;;
13024 lcc*)
13025 # Lucid
13026 # FIXME: insert proper C++ library support
13027 ld_shlibs_CXX=no
13028 ;;
13029 *)
13030 # FIXME: insert proper C++ library support
13031 ld_shlibs_CXX=no
13032 ;;
13033 esac
13034 ;;
13035
13036 solaris*)
13037 case $cc_basename in
13038 CC*)
13039 # Sun C++ 4.2, 5.x and Centerline C++
13040 archive_cmds_need_lc_CXX=yes
13041 no_undefined_flag_CXX=' -zdefs'
13042 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13043 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13044 $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'
13045
13046 hardcode_libdir_flag_spec_CXX='-R$libdir'
13047 hardcode_shlibpath_var_CXX=no
13048 case $host_os in
13049 solaris2.[0-5] | solaris2.[0-5].*) ;;
13050 *)
13051 # The compiler driver will combine and reorder linker options,
13052 # but understands `-z linker_flag'.
13053 # Supported since Solaris 2.6 (maybe 2.5.1?)
13054 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13055 ;;
13056 esac
13057 link_all_deplibs_CXX=yes
13058
13059 output_verbose_link_cmd='func_echo_all'
13060
13061 # Archives containing C++ object files must be created using
13062 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13063 # necessary to make sure instantiated templates are included
13064 # in the archive.
13065 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13066 ;;
13067 gcx*)
13068 # Green Hills C++ Compiler
13069 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13070
13071 # The C++ compiler must be used to create the archive.
13072 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13073 ;;
13074 *)
13075 # GNU C++ compiler with Solaris linker
13076 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13077 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13078 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13079 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13080 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13081 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13082
13083 # Commands to make compiler produce verbose output that lists
13084 # what "hidden" libraries, object files and flags are used when
13085 # linking a shared library.
13086 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13087 else
13088 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13089 # platform.
13090 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13091 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13092 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13093
13094 # Commands to make compiler produce verbose output that lists
13095 # what "hidden" libraries, object files and flags are used when
13096 # linking a shared library.
13097 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13098 fi
13099
13100 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13101 case $host_os in
13102 solaris2.[0-5] | solaris2.[0-5].*) ;;
13103 *)
13104 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13105 ;;
13106 esac
13107 fi
13108 ;;
13109 esac
13110 ;;
13111
13112 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13113 no_undefined_flag_CXX='${wl}-z,text'
13114 archive_cmds_need_lc_CXX=no
13115 hardcode_shlibpath_var_CXX=no
13116 runpath_var='LD_RUN_PATH'
13117
13118 case $cc_basename in
13119 CC*)
13120 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13121 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13122 ;;
13123 *)
13124 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13125 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13126 ;;
13127 esac
13128 ;;
13129
13130 sysv5* | sco3.2v5* | sco5v6*)
13131 # Note: We can NOT use -z defs as we might desire, because we do not
13132 # link with -lc, and that would cause any symbols used from libc to
13133 # always be unresolved, which means just about no library would
13134 # ever link correctly. If we're not using GNU ld we use -z text
13135 # though, which does catch some bad symbols but isn't as heavy-handed
13136 # as -z defs.
13137 no_undefined_flag_CXX='${wl}-z,text'
13138 allow_undefined_flag_CXX='${wl}-z,nodefs'
13139 archive_cmds_need_lc_CXX=no
13140 hardcode_shlibpath_var_CXX=no
13141 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13142 hardcode_libdir_separator_CXX=':'
13143 link_all_deplibs_CXX=yes
13144 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13145 runpath_var='LD_RUN_PATH'
13146
13147 case $cc_basename in
13148 CC*)
13149 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13150 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13151 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13152 '"$old_archive_cmds_CXX"
13153 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13154 '"$reload_cmds_CXX"
13155 ;;
13156 *)
13157 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13158 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 ;;
13160 esac
13161 ;;
13162
13163 tandem*)
13164 case $cc_basename in
13165 NCC*)
13166 # NonStop-UX NCC 3.20
13167 # FIXME: insert proper C++ library support
13168 ld_shlibs_CXX=no
13169 ;;
13170 *)
13171 # FIXME: insert proper C++ library support
13172 ld_shlibs_CXX=no
13173 ;;
13174 esac
13175 ;;
13176
13177 vxworks*)
13178 # FIXME: insert proper C++ library support
13179 ld_shlibs_CXX=no
13180 ;;
13181
13182 *)
13183 # FIXME: insert proper C++ library support
13184 ld_shlibs_CXX=no
13185 ;;
13186 esac
13187
13188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13189 $as_echo "$ld_shlibs_CXX" >&6; }
13190 test "$ld_shlibs_CXX" = no && can_build_shared=no
13191
13192 GCC_CXX="$GXX"
13193 LD_CXX="$LD"
13194
13195 ## CAVEAT EMPTOR:
13196 ## There is no encapsulation within the following macros, do not change
13197 ## the running order or otherwise move them around unless you know exactly
13198 ## what you are doing...
13199 # Dependencies to place before and after the object being linked:
13200 predep_objects_CXX=
13201 postdep_objects_CXX=
13202 predeps_CXX=
13203 postdeps_CXX=
13204 compiler_lib_search_path_CXX=
13205
13206 cat > conftest.$ac_ext <<_LT_EOF
13207 class Foo
13208 {
13209 public:
13210 Foo (void) { a = 0; }
13211 private:
13212 int a;
13213 };
13214 _LT_EOF
13215
13216 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13217 (eval $ac_compile) 2>&5
13218 ac_status=$?
13219 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13220 test $ac_status = 0; }; then
13221 # Parse the compiler output and extract the necessary
13222 # objects, libraries and library flags.
13223
13224 # Sentinel used to keep track of whether or not we are before
13225 # the conftest object file.
13226 pre_test_object_deps_done=no
13227
13228 for p in `eval "$output_verbose_link_cmd"`; do
13229 case $p in
13230
13231 -L* | -R* | -l*)
13232 # Some compilers place space between "-{L,R}" and the path.
13233 # Remove the space.
13234 if test $p = "-L" ||
13235 test $p = "-R"; then
13236 prev=$p
13237 continue
13238 else
13239 prev=
13240 fi
13241
13242 if test "$pre_test_object_deps_done" = no; then
13243 case $p in
13244 -L* | -R*)
13245 # Internal compiler library paths should come after those
13246 # provided the user. The postdeps already come after the
13247 # user supplied libs so there is no need to process them.
13248 if test -z "$compiler_lib_search_path_CXX"; then
13249 compiler_lib_search_path_CXX="${prev}${p}"
13250 else
13251 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13252 fi
13253 ;;
13254 # The "-l" case would never come before the object being
13255 # linked, so don't bother handling this case.
13256 esac
13257 else
13258 if test -z "$postdeps_CXX"; then
13259 postdeps_CXX="${prev}${p}"
13260 else
13261 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13262 fi
13263 fi
13264 ;;
13265
13266 *.$objext)
13267 # This assumes that the test object file only shows up
13268 # once in the compiler output.
13269 if test "$p" = "conftest.$objext"; then
13270 pre_test_object_deps_done=yes
13271 continue
13272 fi
13273
13274 if test "$pre_test_object_deps_done" = no; then
13275 if test -z "$predep_objects_CXX"; then
13276 predep_objects_CXX="$p"
13277 else
13278 predep_objects_CXX="$predep_objects_CXX $p"
13279 fi
13280 else
13281 if test -z "$postdep_objects_CXX"; then
13282 postdep_objects_CXX="$p"
13283 else
13284 postdep_objects_CXX="$postdep_objects_CXX $p"
13285 fi
13286 fi
13287 ;;
13288
13289 *) ;; # Ignore the rest.
13290
13291 esac
13292 done
13293
13294 # Clean up.
13295 rm -f a.out a.exe
13296 else
13297 echo "libtool.m4: error: problem compiling CXX test program"
13298 fi
13299
13300 $RM -f confest.$objext
13301
13302 # PORTME: override above test on systems where it is broken
13303 case $host_os in
13304 interix[3-9]*)
13305 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13306 # hack all around it, let's just trust "g++" to DTRT.
13307 predep_objects_CXX=
13308 postdep_objects_CXX=
13309 postdeps_CXX=
13310 ;;
13311
13312 linux*)
13313 case `$CC -V 2>&1 | sed 5q` in
13314 *Sun\ C*)
13315 # Sun C++ 5.9
13316
13317 # The more standards-conforming stlport4 library is
13318 # incompatible with the Cstd library. Avoid specifying
13319 # it if it's in CXXFLAGS. Ignore libCrun as
13320 # -library=stlport4 depends on it.
13321 case " $CXX $CXXFLAGS " in
13322 *" -library=stlport4 "*)
13323 solaris_use_stlport4=yes
13324 ;;
13325 esac
13326
13327 if test "$solaris_use_stlport4" != yes; then
13328 postdeps_CXX='-library=Cstd -library=Crun'
13329 fi
13330 ;;
13331 esac
13332 ;;
13333
13334 solaris*)
13335 case $cc_basename in
13336 CC*)
13337 # The more standards-conforming stlport4 library is
13338 # incompatible with the Cstd library. Avoid specifying
13339 # it if it's in CXXFLAGS. Ignore libCrun as
13340 # -library=stlport4 depends on it.
13341 case " $CXX $CXXFLAGS " in
13342 *" -library=stlport4 "*)
13343 solaris_use_stlport4=yes
13344 ;;
13345 esac
13346
13347 # Adding this requires a known-good setup of shared libraries for
13348 # Sun compiler versions before 5.6, else PIC objects from an old
13349 # archive will be linked into the output, leading to subtle bugs.
13350 if test "$solaris_use_stlport4" != yes; then
13351 postdeps_CXX='-library=Cstd -library=Crun'
13352 fi
13353 ;;
13354 esac
13355 ;;
13356 esac
13357
13358
13359 case " $postdeps_CXX " in
13360 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13361 esac
13362 compiler_lib_search_dirs_CXX=
13363 if test -n "${compiler_lib_search_path_CXX}"; then
13364 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13365 fi
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397 lt_prog_compiler_wl_CXX=
13398 lt_prog_compiler_pic_CXX=
13399 lt_prog_compiler_static_CXX=
13400
13401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13402 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13403
13404 # C++ specific cases for pic, static, wl, etc.
13405 if test "$GXX" = yes; then
13406 lt_prog_compiler_wl_CXX='-Wl,'
13407 lt_prog_compiler_static_CXX='-static'
13408
13409 case $host_os in
13410 aix*)
13411 # All AIX code is PIC.
13412 if test "$host_cpu" = ia64; then
13413 # AIX 5 now supports IA64 processor
13414 lt_prog_compiler_static_CXX='-Bstatic'
13415 fi
13416 ;;
13417
13418 amigaos*)
13419 case $host_cpu in
13420 powerpc)
13421 # see comment about AmigaOS4 .so support
13422 lt_prog_compiler_pic_CXX='-fPIC'
13423 ;;
13424 m68k)
13425 # FIXME: we need at least 68020 code to build shared libraries, but
13426 # adding the `-m68020' flag to GCC prevents building anything better,
13427 # like `-m68040'.
13428 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13429 ;;
13430 esac
13431 ;;
13432
13433 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13434 # PIC is the default for these OSes.
13435 ;;
13436 mingw* | cygwin* | os2* | pw32* | cegcc*)
13437 # This hack is so that the source file can tell whether it is being
13438 # built for inclusion in a dll (and should export symbols for example).
13439 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13440 # (--disable-auto-import) libraries
13441 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13442 ;;
13443 darwin* | rhapsody*)
13444 # PIC is the default on this platform
13445 # Common symbols not allowed in MH_DYLIB files
13446 lt_prog_compiler_pic_CXX='-fno-common'
13447 ;;
13448 *djgpp*)
13449 # DJGPP does not support shared libraries at all
13450 lt_prog_compiler_pic_CXX=
13451 ;;
13452 haiku*)
13453 # PIC is the default for Haiku.
13454 # The "-static" flag exists, but is broken.
13455 lt_prog_compiler_static_CXX=
13456 ;;
13457 interix[3-9]*)
13458 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13459 # Instead, we relocate shared libraries at runtime.
13460 ;;
13461 sysv4*MP*)
13462 if test -d /usr/nec; then
13463 lt_prog_compiler_pic_CXX=-Kconform_pic
13464 fi
13465 ;;
13466 hpux*)
13467 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13468 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13469 # sets the default TLS model and affects inlining.
13470 case $host_cpu in
13471 hppa*64*)
13472 ;;
13473 *)
13474 lt_prog_compiler_pic_CXX='-fPIC'
13475 ;;
13476 esac
13477 ;;
13478 *qnx* | *nto*)
13479 # QNX uses GNU C++, but need to define -shared option too, otherwise
13480 # it will coredump.
13481 lt_prog_compiler_pic_CXX='-fPIC -shared'
13482 ;;
13483 *)
13484 lt_prog_compiler_pic_CXX='-fPIC'
13485 ;;
13486 esac
13487 else
13488 case $host_os in
13489 aix[4-9]*)
13490 # All AIX code is PIC.
13491 if test "$host_cpu" = ia64; then
13492 # AIX 5 now supports IA64 processor
13493 lt_prog_compiler_static_CXX='-Bstatic'
13494 else
13495 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13496 fi
13497 ;;
13498 chorus*)
13499 case $cc_basename in
13500 cxch68*)
13501 # Green Hills C++ Compiler
13502 # _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"
13503 ;;
13504 esac
13505 ;;
13506 dgux*)
13507 case $cc_basename in
13508 ec++*)
13509 lt_prog_compiler_pic_CXX='-KPIC'
13510 ;;
13511 ghcx*)
13512 # Green Hills C++ Compiler
13513 lt_prog_compiler_pic_CXX='-pic'
13514 ;;
13515 *)
13516 ;;
13517 esac
13518 ;;
13519 freebsd* | dragonfly*)
13520 # FreeBSD uses GNU C++
13521 ;;
13522 hpux9* | hpux10* | hpux11*)
13523 case $cc_basename in
13524 CC*)
13525 lt_prog_compiler_wl_CXX='-Wl,'
13526 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13527 if test "$host_cpu" != ia64; then
13528 lt_prog_compiler_pic_CXX='+Z'
13529 fi
13530 ;;
13531 aCC*)
13532 lt_prog_compiler_wl_CXX='-Wl,'
13533 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13534 case $host_cpu in
13535 hppa*64*|ia64*)
13536 # +Z the default
13537 ;;
13538 *)
13539 lt_prog_compiler_pic_CXX='+Z'
13540 ;;
13541 esac
13542 ;;
13543 *)
13544 ;;
13545 esac
13546 ;;
13547 interix*)
13548 # This is c89, which is MS Visual C++ (no shared libs)
13549 # Anyone wants to do a port?
13550 ;;
13551 irix5* | irix6* | nonstopux*)
13552 case $cc_basename in
13553 CC*)
13554 lt_prog_compiler_wl_CXX='-Wl,'
13555 lt_prog_compiler_static_CXX='-non_shared'
13556 # CC pic flag -KPIC is the default.
13557 ;;
13558 *)
13559 ;;
13560 esac
13561 ;;
13562 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13563 case $cc_basename in
13564 KCC*)
13565 # KAI C++ Compiler
13566 lt_prog_compiler_wl_CXX='--backend -Wl,'
13567 lt_prog_compiler_pic_CXX='-fPIC'
13568 ;;
13569 ecpc* )
13570 # old Intel C++ for x86_64 which still supported -KPIC.
13571 lt_prog_compiler_wl_CXX='-Wl,'
13572 lt_prog_compiler_pic_CXX='-KPIC'
13573 lt_prog_compiler_static_CXX='-static'
13574 ;;
13575 icpc* )
13576 # Intel C++, used to be incompatible with GCC.
13577 # ICC 10 doesn't accept -KPIC any more.
13578 lt_prog_compiler_wl_CXX='-Wl,'
13579 lt_prog_compiler_pic_CXX='-fPIC'
13580 lt_prog_compiler_static_CXX='-static'
13581 ;;
13582 pgCC* | pgcpp*)
13583 # Portland Group C++ compiler
13584 lt_prog_compiler_wl_CXX='-Wl,'
13585 lt_prog_compiler_pic_CXX='-fpic'
13586 lt_prog_compiler_static_CXX='-Bstatic'
13587 ;;
13588 cxx*)
13589 # Compaq C++
13590 # Make sure the PIC flag is empty. It appears that all Alpha
13591 # Linux and Compaq Tru64 Unix objects are PIC.
13592 lt_prog_compiler_pic_CXX=
13593 lt_prog_compiler_static_CXX='-non_shared'
13594 ;;
13595 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13596 # IBM XL 8.0, 9.0 on PPC and BlueGene
13597 lt_prog_compiler_wl_CXX='-Wl,'
13598 lt_prog_compiler_pic_CXX='-qpic'
13599 lt_prog_compiler_static_CXX='-qstaticlink'
13600 ;;
13601 *)
13602 case `$CC -V 2>&1 | sed 5q` in
13603 *Sun\ C*)
13604 # Sun C++ 5.9
13605 lt_prog_compiler_pic_CXX='-KPIC'
13606 lt_prog_compiler_static_CXX='-Bstatic'
13607 lt_prog_compiler_wl_CXX='-Qoption ld '
13608 ;;
13609 esac
13610 ;;
13611 esac
13612 ;;
13613 lynxos*)
13614 ;;
13615 m88k*)
13616 ;;
13617 mvs*)
13618 case $cc_basename in
13619 cxx*)
13620 lt_prog_compiler_pic_CXX='-W c,exportall'
13621 ;;
13622 *)
13623 ;;
13624 esac
13625 ;;
13626 netbsd*)
13627 ;;
13628 *qnx* | *nto*)
13629 # QNX uses GNU C++, but need to define -shared option too, otherwise
13630 # it will coredump.
13631 lt_prog_compiler_pic_CXX='-fPIC -shared'
13632 ;;
13633 osf3* | osf4* | osf5*)
13634 case $cc_basename in
13635 KCC*)
13636 lt_prog_compiler_wl_CXX='--backend -Wl,'
13637 ;;
13638 RCC*)
13639 # Rational C++ 2.4.1
13640 lt_prog_compiler_pic_CXX='-pic'
13641 ;;
13642 cxx*)
13643 # Digital/Compaq C++
13644 lt_prog_compiler_wl_CXX='-Wl,'
13645 # Make sure the PIC flag is empty. It appears that all Alpha
13646 # Linux and Compaq Tru64 Unix objects are PIC.
13647 lt_prog_compiler_pic_CXX=
13648 lt_prog_compiler_static_CXX='-non_shared'
13649 ;;
13650 *)
13651 ;;
13652 esac
13653 ;;
13654 psos*)
13655 ;;
13656 solaris*)
13657 case $cc_basename in
13658 CC*)
13659 # Sun C++ 4.2, 5.x and Centerline C++
13660 lt_prog_compiler_pic_CXX='-KPIC'
13661 lt_prog_compiler_static_CXX='-Bstatic'
13662 lt_prog_compiler_wl_CXX='-Qoption ld '
13663 ;;
13664 gcx*)
13665 # Green Hills C++ Compiler
13666 lt_prog_compiler_pic_CXX='-PIC'
13667 ;;
13668 *)
13669 ;;
13670 esac
13671 ;;
13672 sunos4*)
13673 case $cc_basename in
13674 CC*)
13675 # Sun C++ 4.x
13676 lt_prog_compiler_pic_CXX='-pic'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13678 ;;
13679 lcc*)
13680 # Lucid
13681 lt_prog_compiler_pic_CXX='-pic'
13682 ;;
13683 *)
13684 ;;
13685 esac
13686 ;;
13687 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13688 case $cc_basename in
13689 CC*)
13690 lt_prog_compiler_wl_CXX='-Wl,'
13691 lt_prog_compiler_pic_CXX='-KPIC'
13692 lt_prog_compiler_static_CXX='-Bstatic'
13693 ;;
13694 esac
13695 ;;
13696 tandem*)
13697 case $cc_basename in
13698 NCC*)
13699 # NonStop-UX NCC 3.20
13700 lt_prog_compiler_pic_CXX='-KPIC'
13701 ;;
13702 *)
13703 ;;
13704 esac
13705 ;;
13706 vxworks*)
13707 ;;
13708 *)
13709 lt_prog_compiler_can_build_shared_CXX=no
13710 ;;
13711 esac
13712 fi
13713
13714 case $host_os in
13715 # For platforms which do not support PIC, -DPIC is meaningless:
13716 *djgpp*)
13717 lt_prog_compiler_pic_CXX=
13718 ;;
13719 *)
13720 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13721 ;;
13722 esac
13723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13724 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13725
13726
13727
13728 #
13729 # Check to make sure the PIC flag actually works.
13730 #
13731 if test -n "$lt_prog_compiler_pic_CXX"; then
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13733 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13734 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13735 $as_echo_n "(cached) " >&6
13736 else
13737 lt_cv_prog_compiler_pic_works_CXX=no
13738 ac_outfile=conftest.$ac_objext
13739 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13740 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13741 # Insert the option either (1) after the last *FLAGS variable, or
13742 # (2) before a word containing "conftest.", or (3) at the end.
13743 # Note that $ac_compile itself does not contain backslashes and begins
13744 # with a dollar sign (not a hyphen), so the echo should work correctly.
13745 # The option is referenced via a variable to avoid confusing sed.
13746 lt_compile=`echo "$ac_compile" | $SED \
13747 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13748 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13749 -e 's:$: $lt_compiler_flag:'`
13750 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13751 (eval "$lt_compile" 2>conftest.err)
13752 ac_status=$?
13753 cat conftest.err >&5
13754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13755 if (exit $ac_status) && test -s "$ac_outfile"; then
13756 # The compiler can only warn and ignore the option if not recognized
13757 # So say no if there are warnings other than the usual output.
13758 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13759 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13760 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13761 lt_cv_prog_compiler_pic_works_CXX=yes
13762 fi
13763 fi
13764 $RM conftest*
13765
13766 fi
13767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13768 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13769
13770 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13771 case $lt_prog_compiler_pic_CXX in
13772 "" | " "*) ;;
13773 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13774 esac
13775 else
13776 lt_prog_compiler_pic_CXX=
13777 lt_prog_compiler_can_build_shared_CXX=no
13778 fi
13779
13780 fi
13781
13782
13783
13784 #
13785 # Check to make sure the static flag actually works.
13786 #
13787 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13789 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13790 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13791 $as_echo_n "(cached) " >&6
13792 else
13793 lt_cv_prog_compiler_static_works_CXX=no
13794 save_LDFLAGS="$LDFLAGS"
13795 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13796 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13797 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13798 # The linker can only warn and ignore the option if not recognized
13799 # So say no if there are warnings
13800 if test -s conftest.err; then
13801 # Append any errors to the config.log.
13802 cat conftest.err 1>&5
13803 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13804 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13805 if diff conftest.exp conftest.er2 >/dev/null; then
13806 lt_cv_prog_compiler_static_works_CXX=yes
13807 fi
13808 else
13809 lt_cv_prog_compiler_static_works_CXX=yes
13810 fi
13811 fi
13812 $RM -r conftest*
13813 LDFLAGS="$save_LDFLAGS"
13814
13815 fi
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13817 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13818
13819 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13820 :
13821 else
13822 lt_prog_compiler_static_CXX=
13823 fi
13824
13825
13826
13827
13828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13829 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13830 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13831 $as_echo_n "(cached) " >&6
13832 else
13833 lt_cv_prog_compiler_c_o_CXX=no
13834 $RM -r conftest 2>/dev/null
13835 mkdir conftest
13836 cd conftest
13837 mkdir out
13838 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13839
13840 lt_compiler_flag="-o out/conftest2.$ac_objext"
13841 # Insert the option either (1) after the last *FLAGS variable, or
13842 # (2) before a word containing "conftest.", or (3) at the end.
13843 # Note that $ac_compile itself does not contain backslashes and begins
13844 # with a dollar sign (not a hyphen), so the echo should work correctly.
13845 lt_compile=`echo "$ac_compile" | $SED \
13846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13848 -e 's:$: $lt_compiler_flag:'`
13849 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13850 (eval "$lt_compile" 2>out/conftest.err)
13851 ac_status=$?
13852 cat out/conftest.err >&5
13853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13854 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13855 then
13856 # The compiler can only warn and ignore the option if not recognized
13857 # So say no if there are warnings
13858 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13859 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13860 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13861 lt_cv_prog_compiler_c_o_CXX=yes
13862 fi
13863 fi
13864 chmod u+w . 2>&5
13865 $RM conftest*
13866 # SGI C++ compiler will create directory out/ii_files/ for
13867 # template instantiation
13868 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13869 $RM out/* && rmdir out
13870 cd ..
13871 $RM -r conftest
13872 $RM conftest*
13873
13874 fi
13875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13876 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13877
13878
13879
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13881 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13882 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13883 $as_echo_n "(cached) " >&6
13884 else
13885 lt_cv_prog_compiler_c_o_CXX=no
13886 $RM -r conftest 2>/dev/null
13887 mkdir conftest
13888 cd conftest
13889 mkdir out
13890 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13891
13892 lt_compiler_flag="-o out/conftest2.$ac_objext"
13893 # Insert the option either (1) after the last *FLAGS variable, or
13894 # (2) before a word containing "conftest.", or (3) at the end.
13895 # Note that $ac_compile itself does not contain backslashes and begins
13896 # with a dollar sign (not a hyphen), so the echo should work correctly.
13897 lt_compile=`echo "$ac_compile" | $SED \
13898 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13899 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13900 -e 's:$: $lt_compiler_flag:'`
13901 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13902 (eval "$lt_compile" 2>out/conftest.err)
13903 ac_status=$?
13904 cat out/conftest.err >&5
13905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13906 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13907 then
13908 # The compiler can only warn and ignore the option if not recognized
13909 # So say no if there are warnings
13910 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13911 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13912 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13913 lt_cv_prog_compiler_c_o_CXX=yes
13914 fi
13915 fi
13916 chmod u+w . 2>&5
13917 $RM conftest*
13918 # SGI C++ compiler will create directory out/ii_files/ for
13919 # template instantiation
13920 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13921 $RM out/* && rmdir out
13922 cd ..
13923 $RM -r conftest
13924 $RM conftest*
13925
13926 fi
13927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13928 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13929
13930
13931
13932
13933 hard_links="nottested"
13934 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13935 # do not overwrite the value of need_locks provided by the user
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13937 $as_echo_n "checking if we can lock with hard links... " >&6; }
13938 hard_links=yes
13939 $RM conftest*
13940 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13941 touch conftest.a
13942 ln conftest.a conftest.b 2>&5 || hard_links=no
13943 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13945 $as_echo "$hard_links" >&6; }
13946 if test "$hard_links" = no; then
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13948 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13949 need_locks=warn
13950 fi
13951 else
13952 need_locks=no
13953 fi
13954
13955
13956
13957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13958 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13959
13960 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13961 case $host_os in
13962 aix[4-9]*)
13963 # If we're using GNU nm, then we don't want the "-C" option.
13964 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13965 # Also, AIX nm treats weak defined symbols like other global defined
13966 # symbols, whereas GNU nm marks them as "W".
13967 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13968 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'
13969 else
13970 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
13971 fi
13972 ;;
13973 pw32*)
13974 export_symbols_cmds_CXX="$ltdll_cmds"
13975 ;;
13976 cygwin* | mingw* | cegcc*)
13977 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'
13978 ;;
13979 *)
13980 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13981 ;;
13982 esac
13983 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13984
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13986 $as_echo "$ld_shlibs_CXX" >&6; }
13987 test "$ld_shlibs_CXX" = no && can_build_shared=no
13988
13989 with_gnu_ld_CXX=$with_gnu_ld
13990
13991
13992
13993
13994
13995
13996 #
13997 # Do we need to explicitly link libc?
13998 #
13999 case "x$archive_cmds_need_lc_CXX" in
14000 x|xyes)
14001 # Assume -lc should be added
14002 archive_cmds_need_lc_CXX=yes
14003
14004 if test "$enable_shared" = yes && test "$GCC" = yes; then
14005 case $archive_cmds_CXX in
14006 *'~'*)
14007 # FIXME: we may have to deal with multi-command sequences.
14008 ;;
14009 '$CC '*)
14010 # Test whether the compiler implicitly links with -lc since on some
14011 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14012 # to ld, don't add -lc before -lgcc.
14013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14014 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14015 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14016 $as_echo_n "(cached) " >&6
14017 else
14018 $RM conftest*
14019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14020
14021 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14022 (eval $ac_compile) 2>&5
14023 ac_status=$?
14024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14025 test $ac_status = 0; } 2>conftest.err; then
14026 soname=conftest
14027 lib=conftest
14028 libobjs=conftest.$ac_objext
14029 deplibs=
14030 wl=$lt_prog_compiler_wl_CXX
14031 pic_flag=$lt_prog_compiler_pic_CXX
14032 compiler_flags=-v
14033 linker_flags=-v
14034 verstring=
14035 output_objdir=.
14036 libname=conftest
14037 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14038 allow_undefined_flag_CXX=
14039 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14040 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14041 ac_status=$?
14042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14043 test $ac_status = 0; }
14044 then
14045 lt_cv_archive_cmds_need_lc_CXX=no
14046 else
14047 lt_cv_archive_cmds_need_lc_CXX=yes
14048 fi
14049 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14050 else
14051 cat conftest.err 1>&5
14052 fi
14053 $RM conftest*
14054
14055 fi
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14057 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14058 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14059 ;;
14060 esac
14061 fi
14062 ;;
14063 esac
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14129 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14130
14131 library_names_spec=
14132 libname_spec='lib$name'
14133 soname_spec=
14134 shrext_cmds=".so"
14135 postinstall_cmds=
14136 postuninstall_cmds=
14137 finish_cmds=
14138 finish_eval=
14139 shlibpath_var=
14140 shlibpath_overrides_runpath=unknown
14141 version_type=none
14142 dynamic_linker="$host_os ld.so"
14143 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14144 need_lib_prefix=unknown
14145 hardcode_into_libs=no
14146
14147 # when you set need_version to no, make sure it does not cause -set_version
14148 # flags to be left without arguments
14149 need_version=unknown
14150
14151 case $host_os in
14152 aix3*)
14153 version_type=linux
14154 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14155 shlibpath_var=LIBPATH
14156
14157 # AIX 3 has no versioning support, so we append a major version to the name.
14158 soname_spec='${libname}${release}${shared_ext}$major'
14159 ;;
14160
14161 aix[4-9]*)
14162 version_type=linux
14163 need_lib_prefix=no
14164 need_version=no
14165 hardcode_into_libs=yes
14166 if test "$host_cpu" = ia64; then
14167 # AIX 5 supports IA64
14168 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14169 shlibpath_var=LD_LIBRARY_PATH
14170 else
14171 # With GCC up to 2.95.x, collect2 would create an import file
14172 # for dependence libraries. The import file would start with
14173 # the line `#! .'. This would cause the generated library to
14174 # depend on `.', always an invalid library. This was fixed in
14175 # development snapshots of GCC prior to 3.0.
14176 case $host_os in
14177 aix4 | aix4.[01] | aix4.[01].*)
14178 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14179 echo ' yes '
14180 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14181 :
14182 else
14183 can_build_shared=no
14184 fi
14185 ;;
14186 esac
14187 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14188 # soname into executable. Probably we can add versioning support to
14189 # collect2, so additional links can be useful in future.
14190 if test "$aix_use_runtimelinking" = yes; then
14191 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14192 # instead of lib<name>.a to let people know that these are not
14193 # typical AIX shared libraries.
14194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14195 else
14196 # We preserve .a as extension for shared libraries through AIX4.2
14197 # and later when we are not doing run time linking.
14198 library_names_spec='${libname}${release}.a $libname.a'
14199 soname_spec='${libname}${release}${shared_ext}$major'
14200 fi
14201 shlibpath_var=LIBPATH
14202 fi
14203 ;;
14204
14205 amigaos*)
14206 case $host_cpu in
14207 powerpc)
14208 # Since July 2007 AmigaOS4 officially supports .so libraries.
14209 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14210 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14211 ;;
14212 m68k)
14213 library_names_spec='$libname.ixlibrary $libname.a'
14214 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14215 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'
14216 ;;
14217 esac
14218 ;;
14219
14220 beos*)
14221 library_names_spec='${libname}${shared_ext}'
14222 dynamic_linker="$host_os ld.so"
14223 shlibpath_var=LIBRARY_PATH
14224 ;;
14225
14226 bsdi[45]*)
14227 version_type=linux
14228 need_version=no
14229 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14230 soname_spec='${libname}${release}${shared_ext}$major'
14231 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14232 shlibpath_var=LD_LIBRARY_PATH
14233 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14234 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14235 # the default ld.so.conf also contains /usr/contrib/lib and
14236 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14237 # libtool to hard-code these into programs
14238 ;;
14239
14240 cygwin* | mingw* | pw32* | cegcc*)
14241 version_type=windows
14242 shrext_cmds=".dll"
14243 need_version=no
14244 need_lib_prefix=no
14245
14246 case $GCC,$host_os in
14247 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14248 library_names_spec='$libname.dll.a'
14249 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14250 postinstall_cmds='base_file=`basename \${file}`~
14251 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14252 dldir=$destdir/`dirname \$dlpath`~
14253 test -d \$dldir || mkdir -p \$dldir~
14254 $install_prog $dir/$dlname \$dldir/$dlname~
14255 chmod a+x \$dldir/$dlname~
14256 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14257 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14258 fi'
14259 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14260 dlpath=$dir/\$dldll~
14261 $RM \$dlpath'
14262 shlibpath_overrides_runpath=yes
14263
14264 case $host_os in
14265 cygwin*)
14266 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14267 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14268
14269 ;;
14270 mingw* | cegcc*)
14271 # MinGW DLLs use traditional 'lib' prefix
14272 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14273 ;;
14274 pw32*)
14275 # pw32 DLLs use 'pw' prefix rather than 'lib'
14276 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14277 ;;
14278 esac
14279 ;;
14280
14281 *)
14282 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14283 ;;
14284 esac
14285 dynamic_linker='Win32 ld.exe'
14286 # FIXME: first we should search . and the directory the executable is in
14287 shlibpath_var=PATH
14288 ;;
14289
14290 darwin* | rhapsody*)
14291 dynamic_linker="$host_os dyld"
14292 version_type=darwin
14293 need_lib_prefix=no
14294 need_version=no
14295 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14296 soname_spec='${libname}${release}${major}$shared_ext'
14297 shlibpath_overrides_runpath=yes
14298 shlibpath_var=DYLD_LIBRARY_PATH
14299 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14300
14301 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14302 ;;
14303
14304 dgux*)
14305 version_type=linux
14306 need_lib_prefix=no
14307 need_version=no
14308 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14309 soname_spec='${libname}${release}${shared_ext}$major'
14310 shlibpath_var=LD_LIBRARY_PATH
14311 ;;
14312
14313 freebsd* | dragonfly*)
14314 # DragonFly does not have aout. When/if they implement a new
14315 # versioning mechanism, adjust this.
14316 if test -x /usr/bin/objformat; then
14317 objformat=`/usr/bin/objformat`
14318 else
14319 case $host_os in
14320 freebsd[23].*) objformat=aout ;;
14321 *) objformat=elf ;;
14322 esac
14323 fi
14324 version_type=freebsd-$objformat
14325 case $version_type in
14326 freebsd-elf*)
14327 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14328 need_version=no
14329 need_lib_prefix=no
14330 ;;
14331 freebsd-*)
14332 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14333 need_version=yes
14334 ;;
14335 esac
14336 shlibpath_var=LD_LIBRARY_PATH
14337 case $host_os in
14338 freebsd2.*)
14339 shlibpath_overrides_runpath=yes
14340 ;;
14341 freebsd3.[01]* | freebsdelf3.[01]*)
14342 shlibpath_overrides_runpath=yes
14343 hardcode_into_libs=yes
14344 ;;
14345 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14346 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14347 shlibpath_overrides_runpath=no
14348 hardcode_into_libs=yes
14349 ;;
14350 *) # from 4.6 on, and DragonFly
14351 shlibpath_overrides_runpath=yes
14352 hardcode_into_libs=yes
14353 ;;
14354 esac
14355 ;;
14356
14357 gnu*)
14358 version_type=linux
14359 need_lib_prefix=no
14360 need_version=no
14361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14362 soname_spec='${libname}${release}${shared_ext}$major'
14363 shlibpath_var=LD_LIBRARY_PATH
14364 hardcode_into_libs=yes
14365 ;;
14366
14367 haiku*)
14368 version_type=linux
14369 need_lib_prefix=no
14370 need_version=no
14371 dynamic_linker="$host_os runtime_loader"
14372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14373 soname_spec='${libname}${release}${shared_ext}$major'
14374 shlibpath_var=LIBRARY_PATH
14375 shlibpath_overrides_runpath=yes
14376 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14377 hardcode_into_libs=yes
14378 ;;
14379
14380 hpux9* | hpux10* | hpux11*)
14381 # Give a soname corresponding to the major version so that dld.sl refuses to
14382 # link against other versions.
14383 version_type=sunos
14384 need_lib_prefix=no
14385 need_version=no
14386 case $host_cpu in
14387 ia64*)
14388 shrext_cmds='.so'
14389 hardcode_into_libs=yes
14390 dynamic_linker="$host_os dld.so"
14391 shlibpath_var=LD_LIBRARY_PATH
14392 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14394 soname_spec='${libname}${release}${shared_ext}$major'
14395 if test "X$HPUX_IA64_MODE" = X32; then
14396 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14397 else
14398 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14399 fi
14400 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14401 ;;
14402 hppa*64*)
14403 shrext_cmds='.sl'
14404 hardcode_into_libs=yes
14405 dynamic_linker="$host_os dld.sl"
14406 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14407 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14409 soname_spec='${libname}${release}${shared_ext}$major'
14410 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14411 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14412 ;;
14413 *)
14414 shrext_cmds='.sl'
14415 dynamic_linker="$host_os dld.sl"
14416 shlibpath_var=SHLIB_PATH
14417 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14419 soname_spec='${libname}${release}${shared_ext}$major'
14420 ;;
14421 esac
14422 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14423 postinstall_cmds='chmod 555 $lib'
14424 # or fails outright, so override atomically:
14425 install_override_mode=555
14426 ;;
14427
14428 interix[3-9]*)
14429 version_type=linux
14430 need_lib_prefix=no
14431 need_version=no
14432 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14433 soname_spec='${libname}${release}${shared_ext}$major'
14434 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14435 shlibpath_var=LD_LIBRARY_PATH
14436 shlibpath_overrides_runpath=no
14437 hardcode_into_libs=yes
14438 ;;
14439
14440 irix5* | irix6* | nonstopux*)
14441 case $host_os in
14442 nonstopux*) version_type=nonstopux ;;
14443 *)
14444 if test "$lt_cv_prog_gnu_ld" = yes; then
14445 version_type=linux
14446 else
14447 version_type=irix
14448 fi ;;
14449 esac
14450 need_lib_prefix=no
14451 need_version=no
14452 soname_spec='${libname}${release}${shared_ext}$major'
14453 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14454 case $host_os in
14455 irix5* | nonstopux*)
14456 libsuff= shlibsuff=
14457 ;;
14458 *)
14459 case $LD in # libtool.m4 will add one of these switches to LD
14460 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14461 libsuff= shlibsuff= libmagic=32-bit;;
14462 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14463 libsuff=32 shlibsuff=N32 libmagic=N32;;
14464 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14465 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14466 *) libsuff= shlibsuff= libmagic=never-match;;
14467 esac
14468 ;;
14469 esac
14470 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14471 shlibpath_overrides_runpath=no
14472 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14473 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14474 hardcode_into_libs=yes
14475 ;;
14476
14477 # No shared lib support for Linux oldld, aout, or coff.
14478 linux*oldld* | linux*aout* | linux*coff*)
14479 dynamic_linker=no
14480 ;;
14481
14482 # This must be Linux ELF.
14483 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14484 version_type=linux
14485 need_lib_prefix=no
14486 need_version=no
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14488 soname_spec='${libname}${release}${shared_ext}$major'
14489 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14490 shlibpath_var=LD_LIBRARY_PATH
14491 shlibpath_overrides_runpath=no
14492
14493 # Some binutils ld are patched to set DT_RUNPATH
14494 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14495 $as_echo_n "(cached) " >&6
14496 else
14497 lt_cv_shlibpath_overrides_runpath=no
14498 save_LDFLAGS=$LDFLAGS
14499 save_libdir=$libdir
14500 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14501 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14502 if test x$gcc_no_link = xyes; then
14503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14504 fi
14505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14506 /* end confdefs.h. */
14507
14508 int
14509 main ()
14510 {
14511
14512 ;
14513 return 0;
14514 }
14515 _ACEOF
14516 if ac_fn_cxx_try_link "$LINENO"; then :
14517 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14518 lt_cv_shlibpath_overrides_runpath=yes
14519 fi
14520 fi
14521 rm -f core conftest.err conftest.$ac_objext \
14522 conftest$ac_exeext conftest.$ac_ext
14523 LDFLAGS=$save_LDFLAGS
14524 libdir=$save_libdir
14525
14526 fi
14527
14528 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14529
14530 # This implies no fast_install, which is unacceptable.
14531 # Some rework will be needed to allow for fast_install
14532 # before this can be enabled.
14533 hardcode_into_libs=yes
14534
14535 # Append ld.so.conf contents to the search path
14536 if test -f /etc/ld.so.conf; then
14537 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' ' '`
14538 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14539 fi
14540
14541 # We used to test for /lib/ld.so.1 and disable shared libraries on
14542 # powerpc, because MkLinux only supported shared libraries with the
14543 # GNU dynamic linker. Since this was broken with cross compilers,
14544 # most powerpc-linux boxes support dynamic linking these days and
14545 # people can always --disable-shared, the test was removed, and we
14546 # assume the GNU/Linux dynamic linker is in use.
14547 dynamic_linker='GNU/Linux ld.so'
14548 ;;
14549
14550 netbsd*)
14551 version_type=sunos
14552 need_lib_prefix=no
14553 need_version=no
14554 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14555 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14556 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14557 dynamic_linker='NetBSD (a.out) ld.so'
14558 else
14559 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14560 soname_spec='${libname}${release}${shared_ext}$major'
14561 dynamic_linker='NetBSD ld.elf_so'
14562 fi
14563 shlibpath_var=LD_LIBRARY_PATH
14564 shlibpath_overrides_runpath=yes
14565 hardcode_into_libs=yes
14566 ;;
14567
14568 newsos6)
14569 version_type=linux
14570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14571 shlibpath_var=LD_LIBRARY_PATH
14572 shlibpath_overrides_runpath=yes
14573 ;;
14574
14575 *nto* | *qnx*)
14576 version_type=qnx
14577 need_lib_prefix=no
14578 need_version=no
14579 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14580 soname_spec='${libname}${release}${shared_ext}$major'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=no
14583 hardcode_into_libs=yes
14584 dynamic_linker='ldqnx.so'
14585 ;;
14586
14587 openbsd*)
14588 version_type=sunos
14589 sys_lib_dlsearch_path_spec="/usr/lib"
14590 need_lib_prefix=no
14591 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14592 case $host_os in
14593 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14594 *) need_version=no ;;
14595 esac
14596 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14597 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14598 shlibpath_var=LD_LIBRARY_PATH
14599 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14600 case $host_os in
14601 openbsd2.[89] | openbsd2.[89].*)
14602 shlibpath_overrides_runpath=no
14603 ;;
14604 *)
14605 shlibpath_overrides_runpath=yes
14606 ;;
14607 esac
14608 else
14609 shlibpath_overrides_runpath=yes
14610 fi
14611 ;;
14612
14613 os2*)
14614 libname_spec='$name'
14615 shrext_cmds=".dll"
14616 need_lib_prefix=no
14617 library_names_spec='$libname${shared_ext} $libname.a'
14618 dynamic_linker='OS/2 ld.exe'
14619 shlibpath_var=LIBPATH
14620 ;;
14621
14622 osf3* | osf4* | osf5*)
14623 version_type=osf
14624 need_lib_prefix=no
14625 need_version=no
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14628 shlibpath_var=LD_LIBRARY_PATH
14629 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14630 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14631 ;;
14632
14633 rdos*)
14634 dynamic_linker=no
14635 ;;
14636
14637 solaris*)
14638 version_type=linux
14639 need_lib_prefix=no
14640 need_version=no
14641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14642 soname_spec='${libname}${release}${shared_ext}$major'
14643 shlibpath_var=LD_LIBRARY_PATH
14644 shlibpath_overrides_runpath=yes
14645 hardcode_into_libs=yes
14646 # ldd complains unless libraries are executable
14647 postinstall_cmds='chmod +x $lib'
14648 ;;
14649
14650 sunos4*)
14651 version_type=sunos
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14653 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 if test "$with_gnu_ld" = yes; then
14657 need_lib_prefix=no
14658 fi
14659 need_version=yes
14660 ;;
14661
14662 sysv4 | sysv4.3*)
14663 version_type=linux
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 shlibpath_var=LD_LIBRARY_PATH
14667 case $host_vendor in
14668 sni)
14669 shlibpath_overrides_runpath=no
14670 need_lib_prefix=no
14671 runpath_var=LD_RUN_PATH
14672 ;;
14673 siemens)
14674 need_lib_prefix=no
14675 ;;
14676 motorola)
14677 need_lib_prefix=no
14678 need_version=no
14679 shlibpath_overrides_runpath=no
14680 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14681 ;;
14682 esac
14683 ;;
14684
14685 sysv4*MP*)
14686 if test -d /usr/nec ;then
14687 version_type=linux
14688 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14689 soname_spec='$libname${shared_ext}.$major'
14690 shlibpath_var=LD_LIBRARY_PATH
14691 fi
14692 ;;
14693
14694 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14695 version_type=freebsd-elf
14696 need_lib_prefix=no
14697 need_version=no
14698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14699 soname_spec='${libname}${release}${shared_ext}$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 shlibpath_overrides_runpath=yes
14702 hardcode_into_libs=yes
14703 if test "$with_gnu_ld" = yes; then
14704 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14705 else
14706 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14707 case $host_os in
14708 sco3.2v5*)
14709 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14710 ;;
14711 esac
14712 fi
14713 sys_lib_dlsearch_path_spec='/usr/lib'
14714 ;;
14715
14716 tpf*)
14717 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14718 version_type=linux
14719 need_lib_prefix=no
14720 need_version=no
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14722 shlibpath_var=LD_LIBRARY_PATH
14723 shlibpath_overrides_runpath=no
14724 hardcode_into_libs=yes
14725 ;;
14726
14727 uts4*)
14728 version_type=linux
14729 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14730 soname_spec='${libname}${release}${shared_ext}$major'
14731 shlibpath_var=LD_LIBRARY_PATH
14732 ;;
14733
14734 *)
14735 dynamic_linker=no
14736 ;;
14737 esac
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14739 $as_echo "$dynamic_linker" >&6; }
14740 test "$dynamic_linker" = no && can_build_shared=no
14741
14742 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14743 if test "$GCC" = yes; then
14744 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14745 fi
14746
14747 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14748 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14749 fi
14750 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14751 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14752 fi
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14792 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14793 hardcode_action_CXX=
14794 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14795 test -n "$runpath_var_CXX" ||
14796 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14797
14798 # We can hardcode non-existent directories.
14799 if test "$hardcode_direct_CXX" != no &&
14800 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14801 # have to relink, otherwise we might link with an installed library
14802 # when we should be linking with a yet-to-be-installed one
14803 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14804 test "$hardcode_minus_L_CXX" != no; then
14805 # Linking always hardcodes the temporary library directory.
14806 hardcode_action_CXX=relink
14807 else
14808 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14809 hardcode_action_CXX=immediate
14810 fi
14811 else
14812 # We cannot hardcode anything, or else we can only hardcode existing
14813 # directories.
14814 hardcode_action_CXX=unsupported
14815 fi
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14817 $as_echo "$hardcode_action_CXX" >&6; }
14818
14819 if test "$hardcode_action_CXX" = relink ||
14820 test "$inherit_rpath_CXX" = yes; then
14821 # Fast installation is not supported
14822 enable_fast_install=no
14823 elif test "$shlibpath_overrides_runpath" = yes ||
14824 test "$enable_shared" = no; then
14825 # Fast installation is not necessary
14826 enable_fast_install=needless
14827 fi
14828
14829
14830
14831
14832
14833
14834
14835 fi # test -n "$compiler"
14836
14837 CC=$lt_save_CC
14838 LDCXX=$LD
14839 LD=$lt_save_LD
14840 GCC=$lt_save_GCC
14841 with_gnu_ld=$lt_save_with_gnu_ld
14842 lt_cv_path_LDCXX=$lt_cv_path_LD
14843 lt_cv_path_LD=$lt_save_path_LD
14844 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14845 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14846 fi # test "$_lt_caught_CXX_error" != yes
14847
14848 ac_ext=c
14849 ac_cpp='$CPP $CPPFLAGS'
14850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866 ac_config_commands="$ac_config_commands libtool"
14867
14868
14869
14870
14871 # Only expand once:
14872
14873
14874
14875
14876
14877 case $host in
14878 *-cygwin* | *-mingw*)
14879 # 'host' will be top-level target in the case of a target lib,
14880 # we must compare to with_cross_host to decide if this is a native
14881 # or cross-compiler and select where to install dlls appropriately.
14882 if test -n "$with_cross_host" &&
14883 test x"$with_cross_host" != x"no"; then
14884 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14885 else
14886 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14887 fi
14888 ;;
14889 *)
14890 lt_host_flags=
14891 ;;
14892 esac
14893
14894
14895
14896
14897
14898
14899 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14900 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14901
14902 # Possibly disable most of the library.
14903 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14904 ## than just ignoring the results. Faster /and/ more correct, win win.
14905
14906 # Check whether --enable-hosted-libstdcxx was given.
14907 if test "${enable_hosted_libstdcxx+set}" = set; then :
14908 enableval=$enable_hosted_libstdcxx;
14909 else
14910 case "$host" in
14911 arm*-*-symbianelf*)
14912 enable_hosted_libstdcxx=no
14913 ;;
14914 *)
14915 enable_hosted_libstdcxx=yes
14916 ;;
14917 esac
14918 fi
14919
14920 if test "$enable_hosted_libstdcxx" = no; then
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14922 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14923 is_hosted=no
14924 hosted_define=0
14925 enable_abi_check=no
14926 enable_libstdcxx_pch=no
14927 else
14928 is_hosted=yes
14929 hosted_define=1
14930 fi
14931
14932
14933 cat >>confdefs.h <<_ACEOF
14934 #define _GLIBCXX_HOSTED $hosted_define
14935 _ACEOF
14936
14937
14938
14939 # Enable compiler support that doesn't require linking.
14940
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14942 $as_echo_n "checking for exception model to use... " >&6; }
14943
14944 ac_ext=cpp
14945 ac_cpp='$CXXCPP $CPPFLAGS'
14946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14949
14950 # Check whether --enable-sjlj-exceptions was given.
14951 if test "${enable_sjlj_exceptions+set}" = set; then :
14952 enableval=$enable_sjlj_exceptions;
14953 case "$enableval" in
14954 yes|no|auto) ;;
14955 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14956 esac
14957
14958 else
14959 enable_sjlj_exceptions=auto
14960 fi
14961
14962
14963
14964 if test $enable_sjlj_exceptions = auto; then
14965 # Botheration. Now we've got to detect the exception model. Link tests
14966 # against libgcc.a are problematic since we've not been given proper -L
14967 # bits for single-tree newlib and libgloss.
14968 #
14969 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14970 cat > conftest.$ac_ext << EOF
14971 #line 14971 "configure"
14972 struct S { ~S(); };
14973 void bar();
14974 void foo()
14975 {
14976 S s;
14977 bar();
14978 }
14979 EOF
14980 old_CXXFLAGS="$CXXFLAGS"
14981 CXXFLAGS=-S
14982 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14983 (eval $ac_compile) 2>&5
14984 ac_status=$?
14985 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14986 test $ac_status = 0; }; then
14987 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14988 enable_sjlj_exceptions=yes
14989 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14990 enable_sjlj_exceptions=no
14991 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14992 enable_sjlj_exceptions=no
14993 fi
14994 fi
14995 CXXFLAGS="$old_CXXFLAGS"
14996 rm -f conftest*
14997 fi
14998
14999 # This is a tad weird, for hysterical raisins. We have to map
15000 # enable/disable to two different models.
15001 case $enable_sjlj_exceptions in
15002 yes)
15003
15004 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15005
15006 ac_exception_model_name=sjlj
15007 ;;
15008 no)
15009 ac_exception_model_name="call frame"
15010 ;;
15011 *)
15012 as_fn_error "unable to detect exception model" "$LINENO" 5
15013 ;;
15014 esac
15015 ac_ext=c
15016 ac_cpp='$CPP $CPPFLAGS'
15017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15020
15021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15022 $as_echo "$ac_exception_model_name" >&6; }
15023
15024
15025 # Check whether --enable-libstdcxx-pch was given.
15026 if test "${enable_libstdcxx_pch+set}" = set; then :
15027 enableval=$enable_libstdcxx_pch;
15028 case "$enableval" in
15029 yes|no) ;;
15030 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15031 esac
15032
15033 else
15034 enable_libstdcxx_pch=$is_hosted
15035 fi
15036
15037
15038 if test $enable_libstdcxx_pch = yes; then
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15040 $as_echo_n "checking for compiler with PCH support... " >&6; }
15041 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15042 $as_echo_n "(cached) " >&6
15043 else
15044 ac_save_CXXFLAGS="$CXXFLAGS"
15045 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15046
15047 ac_ext=cpp
15048 ac_cpp='$CXXCPP $CPPFLAGS'
15049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15052
15053 echo '#include <math.h>' > conftest.h
15054 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15055 -o conftest.h.gch 1>&5 2>&1 &&
15056 echo '#error "pch failed"' > conftest.h &&
15057 echo '#include "conftest.h"' > conftest.cc &&
15058 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15059 then
15060 glibcxx_cv_prog_CXX_pch=yes
15061 else
15062 glibcxx_cv_prog_CXX_pch=no
15063 fi
15064 rm -f conftest*
15065 CXXFLAGS=$ac_save_CXXFLAGS
15066 ac_ext=c
15067 ac_cpp='$CPP $CPPFLAGS'
15068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15071
15072
15073 fi
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15075 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15076 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15077 fi
15078
15079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15080 $as_echo_n "checking for enabled PCH... " >&6; }
15081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15082 $as_echo "$enable_libstdcxx_pch" >&6; }
15083
15084
15085 if test $enable_libstdcxx_pch = yes; then
15086 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15087 else
15088 glibcxx_PCHFLAGS=""
15089 fi
15090
15091
15092
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15094 $as_echo_n "checking for thread model used by GCC... " >&6; }
15095 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15097 $as_echo "$target_thread_file" >&6; }
15098
15099
15100
15101 ac_ext=cpp
15102 ac_cpp='$CXXCPP $CPPFLAGS'
15103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15106
15107 old_CXXFLAGS="$CXXFLAGS"
15108
15109 # Do link tests if possible, instead asm tests, limited to some platforms
15110 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15111 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15112 atomic_builtins_link_tests=no
15113 if test x$gcc_no_link != xyes; then
15114 # Can do link tests. Limit to some tested platforms
15115 case "$host" in
15116 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15117 atomic_builtins_link_tests=yes
15118 ;;
15119 esac
15120 fi
15121
15122 if test x$atomic_builtins_link_tests = xyes; then
15123
15124 # Do link tests.
15125
15126 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15127
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15129 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15130 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15131 $as_echo_n "(cached) " >&6
15132 else
15133
15134 if test x$gcc_no_link = xyes; then
15135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15136 fi
15137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15138 /* end confdefs.h. */
15139
15140 int
15141 main ()
15142 {
15143 typedef bool atomic_type;
15144 atomic_type c1;
15145 atomic_type c2;
15146 atomic_type c3(0);
15147 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15148 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15149 __ATOMIC_RELAXED);
15150 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15151 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15152
15153 ;
15154 return 0;
15155 }
15156 _ACEOF
15157 if ac_fn_cxx_try_link "$LINENO"; then :
15158 glibcxx_cv_atomic_bool=yes
15159 else
15160 glibcxx_cv_atomic_bool=no
15161 fi
15162 rm -f core conftest.err conftest.$ac_objext \
15163 conftest$ac_exeext conftest.$ac_ext
15164
15165 fi
15166
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15168 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15169
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15171 $as_echo_n "checking for atomic builtins for short... " >&6; }
15172 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15173 $as_echo_n "(cached) " >&6
15174 else
15175
15176 if test x$gcc_no_link = xyes; then
15177 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15178 fi
15179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15180 /* end confdefs.h. */
15181
15182 int
15183 main ()
15184 {
15185 typedef short atomic_type;
15186 atomic_type c1;
15187 atomic_type c2;
15188 atomic_type c3(0);
15189 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15190 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15191 __ATOMIC_RELAXED);
15192 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15193 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15194
15195 ;
15196 return 0;
15197 }
15198 _ACEOF
15199 if ac_fn_cxx_try_link "$LINENO"; then :
15200 glibcxx_cv_atomic_short=yes
15201 else
15202 glibcxx_cv_atomic_short=no
15203 fi
15204 rm -f core conftest.err conftest.$ac_objext \
15205 conftest$ac_exeext conftest.$ac_ext
15206
15207 fi
15208
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15210 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15211
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15213 $as_echo_n "checking for atomic builtins for int... " >&6; }
15214 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217
15218 if test x$gcc_no_link = xyes; then
15219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15220 fi
15221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15222 /* end confdefs.h. */
15223
15224 int
15225 main ()
15226 {
15227 typedef int atomic_type;
15228 atomic_type c1;
15229 atomic_type c2;
15230 atomic_type c3(0);
15231 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15232 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15233 __ATOMIC_RELAXED);
15234 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15235 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15236
15237 ;
15238 return 0;
15239 }
15240 _ACEOF
15241 if ac_fn_cxx_try_link "$LINENO"; then :
15242 glibcxx_cv_atomic_int=yes
15243 else
15244 glibcxx_cv_atomic_int=no
15245 fi
15246 rm -f core conftest.err conftest.$ac_objext \
15247 conftest$ac_exeext conftest.$ac_ext
15248
15249 fi
15250
15251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15252 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15253
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15255 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15256 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15257 $as_echo_n "(cached) " >&6
15258 else
15259
15260 if test x$gcc_no_link = xyes; then
15261 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15262 fi
15263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15264 /* end confdefs.h. */
15265
15266 int
15267 main ()
15268 {
15269 typedef long long atomic_type;
15270 atomic_type c1;
15271 atomic_type c2;
15272 atomic_type c3(0);
15273 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15274 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15275 __ATOMIC_RELAXED);
15276 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15277 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15278
15279 ;
15280 return 0;
15281 }
15282 _ACEOF
15283 if ac_fn_cxx_try_link "$LINENO"; then :
15284 glibcxx_cv_atomic_long_long=yes
15285 else
15286 glibcxx_cv_atomic_long_long=no
15287 fi
15288 rm -f core conftest.err conftest.$ac_objext \
15289 conftest$ac_exeext conftest.$ac_ext
15290
15291 fi
15292
15293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15294 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15295
15296 else
15297
15298 # Do asm tests.
15299
15300 # Compile unoptimized.
15301 CXXFLAGS='-O0 -S'
15302
15303 # Fake what AC_TRY_COMPILE does.
15304
15305 cat > conftest.$ac_ext << EOF
15306 #line 15306 "configure"
15307 int main()
15308 {
15309 typedef bool atomic_type;
15310 atomic_type c1;
15311 atomic_type c2;
15312 atomic_type c3(0);
15313 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15314 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15315 __ATOMIC_RELAXED);
15316 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15317 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15318
15319 return 0;
15320 }
15321 EOF
15322
15323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15324 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15325 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15326 (eval $ac_compile) 2>&5
15327 ac_status=$?
15328 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15329 test $ac_status = 0; }; then
15330 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15331 glibcxx_cv_atomic_bool=no
15332 else
15333 glibcxx_cv_atomic_bool=yes
15334 fi
15335 fi
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15337 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15338 rm -f conftest*
15339
15340 cat > conftest.$ac_ext << EOF
15341 #line 15341 "configure"
15342 int main()
15343 {
15344 typedef short atomic_type;
15345 atomic_type c1;
15346 atomic_type c2;
15347 atomic_type c3(0);
15348 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15349 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15350 __ATOMIC_RELAXED);
15351 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15352 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15353
15354 return 0;
15355 }
15356 EOF
15357
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15359 $as_echo_n "checking for atomic builtins for short... " >&6; }
15360 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15361 (eval $ac_compile) 2>&5
15362 ac_status=$?
15363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15364 test $ac_status = 0; }; then
15365 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15366 glibcxx_cv_atomic_short=no
15367 else
15368 glibcxx_cv_atomic_short=yes
15369 fi
15370 fi
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15372 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15373 rm -f conftest*
15374
15375 cat > conftest.$ac_ext << EOF
15376 #line 15376 "configure"
15377 int main()
15378 {
15379 // NB: _Atomic_word not necessarily int.
15380 typedef int atomic_type;
15381 atomic_type c1;
15382 atomic_type c2;
15383 atomic_type c3(0);
15384 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15385 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15386 __ATOMIC_RELAXED);
15387 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15388 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15389
15390 return 0;
15391 }
15392 EOF
15393
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15395 $as_echo_n "checking for atomic builtins for int... " >&6; }
15396 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15397 (eval $ac_compile) 2>&5
15398 ac_status=$?
15399 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15400 test $ac_status = 0; }; then
15401 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15402 glibcxx_cv_atomic_int=no
15403 else
15404 glibcxx_cv_atomic_int=yes
15405 fi
15406 fi
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15408 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15409 rm -f conftest*
15410
15411 cat > conftest.$ac_ext << EOF
15412 #line 15412 "configure"
15413 int main()
15414 {
15415 typedef long long atomic_type;
15416 atomic_type c1;
15417 atomic_type c2;
15418 atomic_type c3(0);
15419 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15420 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15421 __ATOMIC_RELAXED);
15422 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15423 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15424
15425 return 0;
15426 }
15427 EOF
15428
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15430 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15431 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15432 (eval $ac_compile) 2>&5
15433 ac_status=$?
15434 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15435 test $ac_status = 0; }; then
15436 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15437 glibcxx_cv_atomic_long_long=no
15438 else
15439 glibcxx_cv_atomic_long_long=yes
15440 fi
15441 fi
15442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15443 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15444 rm -f conftest*
15445
15446 fi
15447
15448 CXXFLAGS="$old_CXXFLAGS"
15449 ac_ext=c
15450 ac_cpp='$CPP $CPPFLAGS'
15451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15454
15455
15456 # Set atomicity_dir to builtins if all but the long long test above passes.
15457 if test $glibcxx_cv_atomic_bool = yes \
15458 && test $glibcxx_cv_atomic_short = yes \
15459 && test $glibcxx_cv_atomic_int = yes; then
15460
15461 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15462
15463 atomicity_dir=cpu/generic/atomicity_builtins
15464 fi
15465
15466 # If still generic, set to mutex.
15467 if test $atomicity_dir = "cpu/generic" ; then
15468 atomicity_dir=cpu/generic/atomicity_mutex
15469 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15470 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15471 if test "x$target_thread_file" = xsingle; then
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15473 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15475 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15476 else
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15478 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15480 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15481 fi
15482 fi
15483
15484
15485
15486
15487 # Fake what AC_TRY_COMPILE does, without linking as this is
15488 # unnecessary for this test.
15489
15490 cat > conftest.$ac_ext << EOF
15491 #line 15491 "configure"
15492 int main()
15493 {
15494 _Decimal32 d1;
15495 _Decimal64 d2;
15496 _Decimal128 d3;
15497 return 0;
15498 }
15499 EOF
15500
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15502 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15503 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15504 (eval $ac_compile) 2>&5
15505 ac_status=$?
15506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15507 test $ac_status = 0; }; then
15508
15509 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15510
15511 enable_dfp=yes
15512 else
15513 enable_dfp=no
15514 fi
15515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15516 $as_echo "$enable_dfp" >&6; }
15517 rm -f conftest*
15518
15519
15520
15521
15522 ac_ext=cpp
15523 ac_cpp='$CXXCPP $CPPFLAGS'
15524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15527
15528
15529 # Fake what AC_TRY_COMPILE does, without linking as this is
15530 # unnecessary for this test.
15531
15532 cat > conftest.$ac_ext << EOF
15533 #line 15533 "configure"
15534 template<typename T1, typename T2>
15535 struct same
15536 { typedef T2 type; };
15537
15538 template<typename T>
15539 struct same<T, T>;
15540
15541 int main()
15542 {
15543 typename same<long, __int128>::type i1;
15544 typename same<long long, __int128>::type i2;
15545 }
15546 EOF
15547
15548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15549 $as_echo_n "checking for __int128... " >&6; }
15550 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15551 (eval $ac_compile) 2>&5
15552 ac_status=$?
15553 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15554 test $ac_status = 0; }; then
15555
15556 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15557
15558 enable_int128=yes
15559 else
15560 enable_int128=no
15561 fi
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15563 $as_echo "$enable_int128" >&6; }
15564 rm -f conftest*
15565
15566 cat > conftest.$ac_ext << EOF
15567 #line 15567 "configure"
15568 template<typename T1, typename T2>
15569 struct same
15570 { typedef T2 type; };
15571
15572 template<typename T>
15573 struct same<T, T>;
15574
15575 int main()
15576 {
15577 typename same<double, __float128>::type f1;
15578 typename same<long double, __float128>::type f2;
15579 }
15580 EOF
15581
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15583 $as_echo_n "checking for __float128... " >&6; }
15584 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15585 (eval $ac_compile) 2>&5
15586 ac_status=$?
15587 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15588 test $ac_status = 0; }; then
15589
15590 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15591
15592 enable_float128=yes
15593 else
15594 enable_float128=no
15595 fi
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15597 $as_echo "$enable_float128" >&6; }
15598 rm -f conftest*
15599
15600 ac_ext=c
15601 ac_cpp='$CPP $CPPFLAGS'
15602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605
15606
15607
15608 # Checks for compiler support that doesn't require linking.
15609
15610 # All these tests are for C++; save the language and the compiler flags.
15611 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15612 # found in GLIBCXX_CONFIGURE.
15613
15614 ac_ext=cpp
15615 ac_cpp='$CXXCPP $CPPFLAGS'
15616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15619
15620 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15621 ac_save_CXXFLAGS="$CXXFLAGS"
15622
15623 # Check for maintainer-mode bits.
15624 if test x"$USE_MAINTAINER_MODE" = xno; then
15625 WERROR=''
15626 else
15627 WERROR='-Werror'
15628 fi
15629
15630 # Check for -ffunction-sections -fdata-sections
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15632 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15633 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15635 /* end confdefs.h. */
15636 int foo; void bar() { };
15637 int
15638 main ()
15639 {
15640
15641 ;
15642 return 0;
15643 }
15644 _ACEOF
15645 if ac_fn_cxx_try_compile "$LINENO"; then :
15646 ac_fdsections=yes
15647 else
15648 ac_fdsections=no
15649 fi
15650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15651 if test "$ac_test_CXXFLAGS" = set; then
15652 CXXFLAGS="$ac_save_CXXFLAGS"
15653 else
15654 # this is the suspicious part
15655 CXXFLAGS=''
15656 fi
15657 if test x"$ac_fdsections" = x"yes"; then
15658 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15659 fi
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15661 $as_echo "$ac_fdsections" >&6; }
15662
15663 ac_ext=c
15664 ac_cpp='$CPP $CPPFLAGS'
15665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15668
15669
15670
15671
15672
15673 # Enable all the variable C++ runtime options that don't require linking.
15674
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15676 $as_echo_n "checking for underlying I/O to use... " >&6; }
15677 # Check whether --enable-cstdio was given.
15678 if test "${enable_cstdio+set}" = set; then :
15679 enableval=$enable_cstdio;
15680 case "$enableval" in
15681 stdio) ;;
15682 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15683 esac
15684
15685 else
15686 enable_cstdio=stdio
15687 fi
15688
15689
15690
15691 # Now that libio has been removed, you can have any color you want as long
15692 # as it's black. This is one big no-op until other packages are added, but
15693 # showing the framework never hurts.
15694 case ${enable_cstdio} in
15695 stdio)
15696 CSTDIO_H=config/io/c_io_stdio.h
15697 BASIC_FILE_H=config/io/basic_file_stdio.h
15698 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15700 $as_echo "stdio" >&6; }
15701 ;;
15702 esac
15703
15704
15705
15706
15707
15708
15709 # Check whether --enable-clocale was given.
15710 if test "${enable_clocale+set}" = set; then :
15711 enableval=$enable_clocale;
15712 case "$enableval" in
15713 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15714 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15715 esac
15716
15717 else
15718 enable_clocale=auto
15719 fi
15720
15721
15722
15723 # Deal with gettext issues. Default to not using it (=no) until we detect
15724 # support for it later. Let the user turn it off via --e/d, but let that
15725 # default to on for easier handling.
15726 USE_NLS=no
15727 # Check whether --enable-nls was given.
15728 if test "${enable_nls+set}" = set; then :
15729 enableval=$enable_nls;
15730 else
15731 enable_nls=yes
15732 fi
15733
15734
15735 # Either a known package, or "auto"
15736 if test $enable_clocale = no || test $enable_clocale = yes; then
15737 enable_clocale=auto
15738 fi
15739 enable_clocale_flag=$enable_clocale
15740
15741 # Probe for locale model to use if none specified.
15742 # Default to "generic".
15743 if test $enable_clocale_flag = auto; then
15744 case ${target_os} in
15745 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15746 enable_clocale_flag=gnu
15747 ;;
15748 darwin* | freebsd*)
15749 enable_clocale_flag=darwin
15750 ;;
15751 *)
15752 if test x"$with_newlib" = x"yes"; then
15753 enable_clocale_flag=newlib
15754 else
15755 enable_clocale_flag=generic
15756 fi
15757 ;;
15758 esac
15759 fi
15760
15761 # Sanity check model, and test for special functionality.
15762 if test $enable_clocale_flag = gnu; then
15763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15764 /* end confdefs.h. */
15765
15766 #include <features.h>
15767 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15768 _GLIBCXX_ok
15769 #endif
15770
15771 _ACEOF
15772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15773 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15774 enable_clocale_flag=gnu
15775 else
15776 enable_clocale_flag=generic
15777 fi
15778 rm -f conftest*
15779
15780
15781 # Set it to scream when it hurts.
15782 ac_save_CFLAGS="$CFLAGS"
15783 CFLAGS="-Wimplicit-function-declaration -Werror"
15784
15785 # Use strxfrm_l if available.
15786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15787 /* end confdefs.h. */
15788 #define _GNU_SOURCE 1
15789 #include <string.h>
15790 #include <locale.h>
15791 int
15792 main ()
15793 {
15794 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15795 ;
15796 return 0;
15797 }
15798 _ACEOF
15799 if ac_fn_c_try_compile "$LINENO"; then :
15800
15801 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15802
15803 fi
15804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15805
15806 # Use strerror_l if available.
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15809 #define _GNU_SOURCE 1
15810 #include <string.h>
15811 #include <locale.h>
15812 int
15813 main ()
15814 {
15815 __locale_t loc; strerror_l(5, loc);
15816 ;
15817 return 0;
15818 }
15819 _ACEOF
15820 if ac_fn_c_try_compile "$LINENO"; then :
15821
15822 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15823
15824 fi
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15826
15827 CFLAGS="$ac_save_CFLAGS"
15828 fi
15829
15830 # Perhaps use strerror_r if available, and strerror_l isn't.
15831 ac_save_CFLAGS="$CFLAGS"
15832 CFLAGS="-Wimplicit-function-declaration -Werror"
15833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15834 /* end confdefs.h. */
15835 #define _GNU_SOURCE 1
15836 #include <string.h>
15837 #include <locale.h>
15838 int
15839 main ()
15840 {
15841 char s[128]; strerror_r(5, s, 128);
15842 ;
15843 return 0;
15844 }
15845 _ACEOF
15846 if ac_fn_c_try_compile "$LINENO"; then :
15847
15848 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15849
15850 fi
15851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15852 CFLAGS="$ac_save_CFLAGS"
15853
15854 # Set configure bits for specified locale package
15855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15856 $as_echo_n "checking for C locale to use... " >&6; }
15857 case ${enable_clocale_flag} in
15858 generic)
15859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15860 $as_echo "generic" >&6; }
15861
15862 CLOCALE_H=config/locale/generic/c_locale.h
15863 CLOCALE_CC=config/locale/generic/c_locale.cc
15864 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15865 CCOLLATE_CC=config/locale/generic/collate_members.cc
15866 CCTYPE_CC=config/locale/generic/ctype_members.cc
15867 CMESSAGES_H=config/locale/generic/messages_members.h
15868 CMESSAGES_CC=config/locale/generic/messages_members.cc
15869 CMONEY_CC=config/locale/generic/monetary_members.cc
15870 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15871 CTIME_H=config/locale/generic/time_members.h
15872 CTIME_CC=config/locale/generic/time_members.cc
15873 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15874 ;;
15875 darwin)
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15877 $as_echo "darwin or freebsd" >&6; }
15878
15879 CLOCALE_H=config/locale/generic/c_locale.h
15880 CLOCALE_CC=config/locale/generic/c_locale.cc
15881 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15882 CCOLLATE_CC=config/locale/generic/collate_members.cc
15883 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15884 CMESSAGES_H=config/locale/generic/messages_members.h
15885 CMESSAGES_CC=config/locale/generic/messages_members.cc
15886 CMONEY_CC=config/locale/generic/monetary_members.cc
15887 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15888 CTIME_H=config/locale/generic/time_members.h
15889 CTIME_CC=config/locale/generic/time_members.cc
15890 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15891 ;;
15892
15893 gnu)
15894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15895 $as_echo "gnu" >&6; }
15896
15897 # Declare intention to use gettext, and add support for specific
15898 # languages.
15899 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15900 ALL_LINGUAS="de fr"
15901
15902 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15903 # Extract the first word of "msgfmt", so it can be a program name with args.
15904 set dummy msgfmt; ac_word=$2
15905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15906 $as_echo_n "checking for $ac_word... " >&6; }
15907 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15908 $as_echo_n "(cached) " >&6
15909 else
15910 if test -n "$check_msgfmt"; then
15911 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15912 else
15913 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15914 for as_dir in $PATH
15915 do
15916 IFS=$as_save_IFS
15917 test -z "$as_dir" && as_dir=.
15918 for ac_exec_ext in '' $ac_executable_extensions; do
15919 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15920 ac_cv_prog_check_msgfmt="yes"
15921 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15922 break 2
15923 fi
15924 done
15925 done
15926 IFS=$as_save_IFS
15927
15928 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15929 fi
15930 fi
15931 check_msgfmt=$ac_cv_prog_check_msgfmt
15932 if test -n "$check_msgfmt"; then
15933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15934 $as_echo "$check_msgfmt" >&6; }
15935 else
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15937 $as_echo "no" >&6; }
15938 fi
15939
15940
15941 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15942 USE_NLS=yes
15943 fi
15944 # Export the build objects.
15945 for ling in $ALL_LINGUAS; do \
15946 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15947 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15948 done
15949
15950
15951
15952 CLOCALE_H=config/locale/gnu/c_locale.h
15953 CLOCALE_CC=config/locale/gnu/c_locale.cc
15954 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15955 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15956 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15957 CMESSAGES_H=config/locale/gnu/messages_members.h
15958 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15959 CMONEY_CC=config/locale/gnu/monetary_members.cc
15960 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15961 CTIME_H=config/locale/gnu/time_members.h
15962 CTIME_CC=config/locale/gnu/time_members.cc
15963 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15964 ;;
15965 ieee_1003.1-2001)
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15967 $as_echo "IEEE 1003.1" >&6; }
15968
15969 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15970 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15971 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15972 CCOLLATE_CC=config/locale/generic/collate_members.cc
15973 CCTYPE_CC=config/locale/generic/ctype_members.cc
15974 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15975 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15976 CMONEY_CC=config/locale/generic/monetary_members.cc
15977 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15978 CTIME_H=config/locale/generic/time_members.h
15979 CTIME_CC=config/locale/generic/time_members.cc
15980 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15981 ;;
15982 newlib)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15984 $as_echo "newlib" >&6; }
15985
15986 CLOCALE_H=config/locale/generic/c_locale.h
15987 CLOCALE_CC=config/locale/generic/c_locale.cc
15988 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989 CCOLLATE_CC=config/locale/generic/collate_members.cc
15990 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15991 CMESSAGES_H=config/locale/generic/messages_members.h
15992 CMESSAGES_CC=config/locale/generic/messages_members.cc
15993 CMONEY_CC=config/locale/generic/monetary_members.cc
15994 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995 CTIME_H=config/locale/generic/time_members.h
15996 CTIME_CC=config/locale/generic/time_members.cc
15997 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15998 ;;
15999 esac
16000
16001 # This is where the testsuite looks for locale catalogs, using the
16002 # -DLOCALEDIR define during testsuite compilation.
16003 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16004
16005
16006 # A standalone libintl (e.g., GNU libintl) may be in use.
16007 if test $USE_NLS = yes; then
16008 for ac_header in libintl.h
16009 do :
16010 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16011 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16012 cat >>confdefs.h <<_ACEOF
16013 #define HAVE_LIBINTL_H 1
16014 _ACEOF
16015
16016 else
16017 USE_NLS=no
16018 fi
16019
16020 done
16021
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16023 $as_echo_n "checking for library containing gettext... " >&6; }
16024 if test "${ac_cv_search_gettext+set}" = set; then :
16025 $as_echo_n "(cached) " >&6
16026 else
16027 ac_func_search_save_LIBS=$LIBS
16028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16029 /* end confdefs.h. */
16030
16031 /* Override any GCC internal prototype to avoid an error.
16032 Use char because int might match the return type of a GCC
16033 builtin and then its argument prototype would still apply. */
16034 #ifdef __cplusplus
16035 extern "C"
16036 #endif
16037 char gettext ();
16038 int
16039 main ()
16040 {
16041 return gettext ();
16042 ;
16043 return 0;
16044 }
16045 _ACEOF
16046 for ac_lib in '' intl; do
16047 if test -z "$ac_lib"; then
16048 ac_res="none required"
16049 else
16050 ac_res=-l$ac_lib
16051 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16052 fi
16053 if test x$gcc_no_link = xyes; then
16054 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16055 fi
16056 if ac_fn_c_try_link "$LINENO"; then :
16057 ac_cv_search_gettext=$ac_res
16058 fi
16059 rm -f core conftest.err conftest.$ac_objext \
16060 conftest$ac_exeext
16061 if test "${ac_cv_search_gettext+set}" = set; then :
16062 break
16063 fi
16064 done
16065 if test "${ac_cv_search_gettext+set}" = set; then :
16066
16067 else
16068 ac_cv_search_gettext=no
16069 fi
16070 rm conftest.$ac_ext
16071 LIBS=$ac_func_search_save_LIBS
16072 fi
16073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16074 $as_echo "$ac_cv_search_gettext" >&6; }
16075 ac_res=$ac_cv_search_gettext
16076 if test "$ac_res" != no; then :
16077 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16078
16079 else
16080 USE_NLS=no
16081 fi
16082
16083 fi
16084 if test $USE_NLS = yes; then
16085
16086 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16087
16088 fi
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16106 $as_echo_n "checking for std::allocator base class... " >&6; }
16107 # Check whether --enable-libstdcxx-allocator was given.
16108 if test "${enable_libstdcxx_allocator+set}" = set; then :
16109 enableval=$enable_libstdcxx_allocator;
16110 case "$enableval" in
16111 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16112 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16113 esac
16114
16115 else
16116 enable_libstdcxx_allocator=auto
16117 fi
16118
16119
16120
16121 # If they didn't use this option switch, or if they specified --enable
16122 # with no specific model, we'll have to look for one. If they
16123 # specified --disable (???), do likewise.
16124 if test $enable_libstdcxx_allocator = no ||
16125 test $enable_libstdcxx_allocator = yes;
16126 then
16127 enable_libstdcxx_allocator=auto
16128 fi
16129
16130 # Either a known package, or "auto". Auto implies the default choice
16131 # for a particular platform.
16132 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16133
16134 # Probe for host-specific support if no specific model is specified.
16135 # Default to "new".
16136 if test $enable_libstdcxx_allocator_flag = auto; then
16137 case ${target_os} in
16138 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16139 enable_libstdcxx_allocator_flag=new
16140 ;;
16141 *)
16142 enable_libstdcxx_allocator_flag=new
16143 ;;
16144 esac
16145 fi
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16147 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16148
16149
16150 # Set configure bits for specified locale package
16151 case ${enable_libstdcxx_allocator_flag} in
16152 bitmap)
16153 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16154 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16155 ;;
16156 malloc)
16157 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16158 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16159 ;;
16160 mt)
16161 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16162 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16163 ;;
16164 new)
16165 ALLOCATOR_H=config/allocator/new_allocator_base.h
16166 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16167 ;;
16168 pool)
16169 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16170 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16171 ;;
16172 esac
16173
16174
16175
16176
16177
16178 # Check whether --enable-cheaders was given.
16179 if test "${enable_cheaders+set}" = set; then :
16180 enableval=$enable_cheaders;
16181 case "$enableval" in
16182 c|c_std|c_global) ;;
16183 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16184 esac
16185
16186 else
16187 enable_cheaders=$c_model
16188 fi
16189
16190
16191 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16192 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16193
16194 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16195
16196 # Allow overrides to configure.host here.
16197 if test $enable_cheaders = c_global; then
16198 c_compatibility=yes
16199 fi
16200
16201
16202
16203
16204
16205
16206
16207 # Check whether --enable-long-long was given.
16208 if test "${enable_long_long+set}" = set; then :
16209 enableval=$enable_long_long;
16210 case "$enableval" in
16211 yes|no) ;;
16212 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16213 esac
16214
16215 else
16216 enable_long_long=yes
16217 fi
16218
16219
16220 if test $enable_long_long = yes; then
16221
16222 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16223
16224 fi
16225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16226 $as_echo_n "checking for enabled long long specializations... " >&6; }
16227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16228 $as_echo "$enable_long_long" >&6; }
16229
16230
16231 # Check whether --enable-wchar_t was given.
16232 if test "${enable_wchar_t+set}" = set; then :
16233 enableval=$enable_wchar_t;
16234 case "$enableval" in
16235 yes|no) ;;
16236 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16237 esac
16238
16239 else
16240 enable_wchar_t=yes
16241 fi
16242
16243
16244
16245 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16246 for ac_header in wchar.h
16247 do :
16248 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16249 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16250 cat >>confdefs.h <<_ACEOF
16251 #define HAVE_WCHAR_H 1
16252 _ACEOF
16253 ac_has_wchar_h=yes
16254 else
16255 ac_has_wchar_h=no
16256 fi
16257
16258 done
16259
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16261 $as_echo_n "checking for mbstate_t... " >&6; }
16262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16263 /* end confdefs.h. */
16264 #include <wchar.h>
16265 int
16266 main ()
16267 {
16268 mbstate_t teststate;
16269 ;
16270 return 0;
16271 }
16272 _ACEOF
16273 if ac_fn_c_try_compile "$LINENO"; then :
16274 have_mbstate_t=yes
16275 else
16276 have_mbstate_t=no
16277 fi
16278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16280 $as_echo "$have_mbstate_t" >&6; }
16281 if test x"$have_mbstate_t" = xyes; then
16282
16283 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16284
16285 fi
16286
16287 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16288 # ac_has_wchar_h.
16289 for ac_header in wctype.h
16290 do :
16291 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16292 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16293 cat >>confdefs.h <<_ACEOF
16294 #define HAVE_WCTYPE_H 1
16295 _ACEOF
16296 ac_has_wctype_h=yes
16297 else
16298 ac_has_wctype_h=no
16299 fi
16300
16301 done
16302
16303
16304 if test x"$enable_wchar_t" = x"yes"; then
16305
16306
16307 ac_ext=cpp
16308 ac_cpp='$CXXCPP $CPPFLAGS'
16309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16312
16313
16314 if test x"$ac_has_wchar_h" = xyes &&
16315 test x"$ac_has_wctype_h" = xyes; then
16316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16317 /* end confdefs.h. */
16318 #include <wchar.h>
16319 #include <stddef.h>
16320 wint_t i;
16321 long l = WEOF;
16322 long j = WCHAR_MIN;
16323 long k = WCHAR_MAX;
16324 namespace test
16325 {
16326 using ::btowc;
16327 using ::fgetwc;
16328 using ::fgetws;
16329 using ::fputwc;
16330 using ::fputws;
16331 using ::fwide;
16332 using ::fwprintf;
16333 using ::fwscanf;
16334 using ::getwc;
16335 using ::getwchar;
16336 using ::mbrlen;
16337 using ::mbrtowc;
16338 using ::mbsinit;
16339 using ::mbsrtowcs;
16340 using ::putwc;
16341 using ::putwchar;
16342 using ::swprintf;
16343 using ::swscanf;
16344 using ::ungetwc;
16345 using ::vfwprintf;
16346 using ::vswprintf;
16347 using ::vwprintf;
16348 using ::wcrtomb;
16349 using ::wcscat;
16350 using ::wcschr;
16351 using ::wcscmp;
16352 using ::wcscoll;
16353 using ::wcscpy;
16354 using ::wcscspn;
16355 using ::wcsftime;
16356 using ::wcslen;
16357 using ::wcsncat;
16358 using ::wcsncmp;
16359 using ::wcsncpy;
16360 using ::wcspbrk;
16361 using ::wcsrchr;
16362 using ::wcsrtombs;
16363 using ::wcsspn;
16364 using ::wcsstr;
16365 using ::wcstod;
16366 using ::wcstok;
16367 using ::wcstol;
16368 using ::wcstoul;
16369 using ::wcsxfrm;
16370 using ::wctob;
16371 using ::wmemchr;
16372 using ::wmemcmp;
16373 using ::wmemcpy;
16374 using ::wmemmove;
16375 using ::wmemset;
16376 using ::wprintf;
16377 using ::wscanf;
16378 }
16379
16380 int
16381 main ()
16382 {
16383
16384 ;
16385 return 0;
16386 }
16387 _ACEOF
16388 if ac_fn_cxx_try_compile "$LINENO"; then :
16389
16390 else
16391 enable_wchar_t=no
16392 fi
16393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16394 else
16395 enable_wchar_t=no
16396 fi
16397
16398 ac_ext=c
16399 ac_cpp='$CPP $CPPFLAGS'
16400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16403
16404 fi
16405
16406 if test x"$enable_wchar_t" = x"yes"; then
16407
16408 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16409
16410 fi
16411
16412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16413 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16415 $as_echo "$enable_wchar_t" >&6; }
16416
16417
16418
16419 # Check whether --enable-c99 was given.
16420 if test "${enable_c99+set}" = set; then :
16421 enableval=$enable_c99;
16422 case "$enableval" in
16423 yes|no) ;;
16424 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16425 esac
16426
16427 else
16428 enable_c99=yes
16429 fi
16430
16431
16432
16433 if test x"$enable_c99" = x"yes"; then
16434
16435
16436 ac_ext=cpp
16437 ac_cpp='$CXXCPP $CPPFLAGS'
16438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16441
16442
16443 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16444 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16445 # spuriously enabled.
16446 # Long term, -std=c++0x could be even better, could manage to explicitely
16447 # request C99 facilities to the underlying C headers.
16448 ac_save_CXXFLAGS="$CXXFLAGS"
16449 CXXFLAGS="$CXXFLAGS -std=c++98"
16450 ac_save_LIBS="$LIBS"
16451 ac_save_gcc_no_link="$gcc_no_link"
16452
16453 if test x$gcc_no_link != xyes; then
16454 # Use -fno-exceptions to that the C driver can link these tests without
16455 # hitting undefined references to personality routines.
16456 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16458 $as_echo_n "checking for sin in -lm... " >&6; }
16459 if test "${ac_cv_lib_m_sin+set}" = set; then :
16460 $as_echo_n "(cached) " >&6
16461 else
16462 ac_check_lib_save_LIBS=$LIBS
16463 LIBS="-lm $LIBS"
16464 if test x$gcc_no_link = xyes; then
16465 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16466 fi
16467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16468 /* end confdefs.h. */
16469
16470 /* Override any GCC internal prototype to avoid an error.
16471 Use char because int might match the return type of a GCC
16472 builtin and then its argument prototype would still apply. */
16473 #ifdef __cplusplus
16474 extern "C"
16475 #endif
16476 char sin ();
16477 int
16478 main ()
16479 {
16480 return sin ();
16481 ;
16482 return 0;
16483 }
16484 _ACEOF
16485 if ac_fn_cxx_try_link "$LINENO"; then :
16486 ac_cv_lib_m_sin=yes
16487 else
16488 ac_cv_lib_m_sin=no
16489 fi
16490 rm -f core conftest.err conftest.$ac_objext \
16491 conftest$ac_exeext conftest.$ac_ext
16492 LIBS=$ac_check_lib_save_LIBS
16493 fi
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16495 $as_echo "$ac_cv_lib_m_sin" >&6; }
16496 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16497
16498 LIBS="$LIBS -lm"
16499
16500 else
16501
16502 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16503 gcc_no_link=yes
16504
16505 fi
16506
16507 fi
16508
16509 # Check for the existence of <math.h> functions used if C99 is enabled.
16510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16511 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16512 if test "${glibcxx_cv_c99_math+set}" = set; then :
16513 $as_echo_n "(cached) " >&6
16514 else
16515
16516 if test x$gcc_no_link = xyes; then
16517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16518 /* end confdefs.h. */
16519 #include <math.h>
16520 volatile double d1, d2;
16521 volatile int i;
16522 int
16523 main ()
16524 {
16525 i = fpclassify(d1);
16526 i = isfinite(d1);
16527 i = isinf(d1);
16528 i = isnan(d1);
16529 i = isnormal(d1);
16530 i = signbit(d1);
16531 i = isgreater(d1, d2);
16532 i = isgreaterequal(d1, d2);
16533 i = isless(d1, d2);
16534 i = islessequal(d1, d2);
16535 i = islessgreater(d1, d2);
16536 i = islessgreater(d1, d2);
16537 i = isunordered(d1, d2);
16538
16539 ;
16540 return 0;
16541 }
16542 _ACEOF
16543 if ac_fn_cxx_try_compile "$LINENO"; then :
16544 glibcxx_cv_c99_math=yes
16545 else
16546 glibcxx_cv_c99_math=no
16547 fi
16548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16549 else
16550 if test x$gcc_no_link = xyes; then
16551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16552 fi
16553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16554 /* end confdefs.h. */
16555 #include <math.h>
16556 volatile double d1, d2;
16557 volatile int i;
16558 int
16559 main ()
16560 {
16561 i = fpclassify(d1);
16562 i = isfinite(d1);
16563 i = isinf(d1);
16564 i = isnan(d1);
16565 i = isnormal(d1);
16566 i = signbit(d1);
16567 i = isgreater(d1, d2);
16568 i = isgreaterequal(d1, d2);
16569 i = isless(d1, d2);
16570 i = islessequal(d1, d2);
16571 i = islessgreater(d1, d2);
16572 i = islessgreater(d1, d2);
16573 i = isunordered(d1, d2);
16574
16575 ;
16576 return 0;
16577 }
16578 _ACEOF
16579 if ac_fn_cxx_try_link "$LINENO"; then :
16580 glibcxx_cv_c99_math=yes
16581 else
16582 glibcxx_cv_c99_math=no
16583 fi
16584 rm -f core conftest.err conftest.$ac_objext \
16585 conftest$ac_exeext conftest.$ac_ext
16586 fi
16587
16588 fi
16589
16590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16591 $as_echo "$glibcxx_cv_c99_math" >&6; }
16592 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16593
16594 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16595
16596 fi
16597
16598 # Check for the existence of <complex.h> complex math functions.
16599 # This is necessary even though libstdc++ uses the builtin versions
16600 # of these functions, because if the builtin cannot be used, a reference
16601 # to the library function is emitted.
16602 for ac_header in tgmath.h
16603 do :
16604 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16605 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16606 cat >>confdefs.h <<_ACEOF
16607 #define HAVE_TGMATH_H 1
16608 _ACEOF
16609 ac_has_tgmath_h=yes
16610 else
16611 ac_has_tgmath_h=no
16612 fi
16613
16614 done
16615
16616 for ac_header in complex.h
16617 do :
16618 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16619 if test "x$ac_cv_header_complex_h" = x""yes; then :
16620 cat >>confdefs.h <<_ACEOF
16621 #define HAVE_COMPLEX_H 1
16622 _ACEOF
16623 ac_has_complex_h=yes
16624 else
16625 ac_has_complex_h=no
16626 fi
16627
16628 done
16629
16630 glibcxx_cv_c99_complex=no;
16631 if test x"$ac_has_complex_h" = x"yes"; then
16632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16633 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16634 if test x$gcc_no_link = xyes; then
16635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16636 /* end confdefs.h. */
16637 #include <complex.h>
16638 typedef __complex__ float float_type;
16639 typedef __complex__ double double_type;
16640 typedef __complex__ long double ld_type;
16641 volatile float_type tmpf;
16642 volatile double_type tmpd;
16643 volatile ld_type tmpld;
16644 volatile float f;
16645 volatile double d;
16646 volatile long double ld;
16647 int
16648 main ()
16649 {
16650 f = cabsf(tmpf);
16651 f = cargf(tmpf);
16652 tmpf = ccosf(tmpf);
16653 tmpf = ccoshf(tmpf);
16654 tmpf = cexpf(tmpf);
16655 tmpf = clogf(tmpf);
16656 tmpf = csinf(tmpf);
16657 tmpf = csinhf(tmpf);
16658 tmpf = csqrtf(tmpf);
16659 tmpf = ctanf(tmpf);
16660 tmpf = ctanhf(tmpf);
16661 tmpf = cpowf(tmpf, tmpf);
16662 tmpf = cprojf(tmpf);
16663 d = cabs(tmpd);
16664 d = carg(tmpd);
16665 tmpd = ccos(tmpd);
16666 tmpd = ccosh(tmpd);
16667 tmpd = cexp(tmpd);
16668 tmpd = clog(tmpd);
16669 tmpd = csin(tmpd);
16670 tmpd = csinh(tmpd);
16671 tmpd = csqrt(tmpd);
16672 tmpd = ctan(tmpd);
16673 tmpd = ctanh(tmpd);
16674 tmpd = cpow(tmpd, tmpd);
16675 tmpd = cproj(tmpd);
16676 ld = cabsl(tmpld);
16677 ld = cargl(tmpld);
16678 tmpld = ccosl(tmpld);
16679 tmpld = ccoshl(tmpld);
16680 tmpld = cexpl(tmpld);
16681 tmpld = clogl(tmpld);
16682 tmpld = csinl(tmpld);
16683 tmpld = csinhl(tmpld);
16684 tmpld = csqrtl(tmpld);
16685 tmpld = ctanl(tmpld);
16686 tmpld = ctanhl(tmpld);
16687 tmpld = cpowl(tmpld, tmpld);
16688 tmpld = cprojl(tmpld);
16689
16690 ;
16691 return 0;
16692 }
16693 _ACEOF
16694 if ac_fn_cxx_try_compile "$LINENO"; then :
16695 glibcxx_cv_c99_complex=yes
16696 else
16697 glibcxx_cv_c99_complex=no
16698 fi
16699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16700 else
16701 if test x$gcc_no_link = xyes; then
16702 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16703 fi
16704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16705 /* end confdefs.h. */
16706 #include <complex.h>
16707 typedef __complex__ float float_type;
16708 typedef __complex__ double double_type;
16709 typedef __complex__ long double ld_type;
16710 volatile float_type tmpf;
16711 volatile double_type tmpd;
16712 volatile ld_type tmpld;
16713 volatile float f;
16714 volatile double d;
16715 volatile long double ld;
16716 int
16717 main ()
16718 {
16719 f = cabsf(tmpf);
16720 f = cargf(tmpf);
16721 tmpf = ccosf(tmpf);
16722 tmpf = ccoshf(tmpf);
16723 tmpf = cexpf(tmpf);
16724 tmpf = clogf(tmpf);
16725 tmpf = csinf(tmpf);
16726 tmpf = csinhf(tmpf);
16727 tmpf = csqrtf(tmpf);
16728 tmpf = ctanf(tmpf);
16729 tmpf = ctanhf(tmpf);
16730 tmpf = cpowf(tmpf, tmpf);
16731 tmpf = cprojf(tmpf);
16732 d = cabs(tmpd);
16733 d = carg(tmpd);
16734 tmpd = ccos(tmpd);
16735 tmpd = ccosh(tmpd);
16736 tmpd = cexp(tmpd);
16737 tmpd = clog(tmpd);
16738 tmpd = csin(tmpd);
16739 tmpd = csinh(tmpd);
16740 tmpd = csqrt(tmpd);
16741 tmpd = ctan(tmpd);
16742 tmpd = ctanh(tmpd);
16743 tmpd = cpow(tmpd, tmpd);
16744 tmpd = cproj(tmpd);
16745 ld = cabsl(tmpld);
16746 ld = cargl(tmpld);
16747 tmpld = ccosl(tmpld);
16748 tmpld = ccoshl(tmpld);
16749 tmpld = cexpl(tmpld);
16750 tmpld = clogl(tmpld);
16751 tmpld = csinl(tmpld);
16752 tmpld = csinhl(tmpld);
16753 tmpld = csqrtl(tmpld);
16754 tmpld = ctanl(tmpld);
16755 tmpld = ctanhl(tmpld);
16756 tmpld = cpowl(tmpld, tmpld);
16757 tmpld = cprojl(tmpld);
16758
16759 ;
16760 return 0;
16761 }
16762 _ACEOF
16763 if ac_fn_cxx_try_link "$LINENO"; then :
16764 glibcxx_cv_c99_complex=yes
16765 else
16766 glibcxx_cv_c99_complex=no
16767 fi
16768 rm -f core conftest.err conftest.$ac_objext \
16769 conftest$ac_exeext conftest.$ac_ext
16770 fi
16771 fi
16772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16773 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16774 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16775
16776 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16777
16778 fi
16779
16780 # Check for the existence in <stdio.h> of vscanf, et. al.
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16782 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16783 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16784 $as_echo_n "(cached) " >&6
16785 else
16786
16787 if test x$gcc_no_link = xyes; then
16788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16789 /* end confdefs.h. */
16790 #include <stdio.h>
16791 #include <stdarg.h>
16792 void foo(char* fmt, ...)
16793 {
16794 va_list args; va_start(args, fmt);
16795 vfscanf(stderr, "%i", args);
16796 vscanf("%i", args);
16797 vsnprintf(fmt, 0, "%i", args);
16798 vsscanf(fmt, "%i", args);
16799 }
16800 int
16801 main ()
16802 {
16803 snprintf("12", 0, "%i");
16804 ;
16805 return 0;
16806 }
16807 _ACEOF
16808 if ac_fn_cxx_try_compile "$LINENO"; then :
16809 glibcxx_cv_c99_stdio=yes
16810 else
16811 glibcxx_cv_c99_stdio=no
16812 fi
16813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16814 else
16815 if test x$gcc_no_link = xyes; then
16816 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16817 fi
16818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16819 /* end confdefs.h. */
16820 #include <stdio.h>
16821 #include <stdarg.h>
16822 void foo(char* fmt, ...)
16823 {
16824 va_list args; va_start(args, fmt);
16825 vfscanf(stderr, "%i", args);
16826 vscanf("%i", args);
16827 vsnprintf(fmt, 0, "%i", args);
16828 vsscanf(fmt, "%i", args);
16829 }
16830 int
16831 main ()
16832 {
16833 snprintf("12", 0, "%i");
16834 ;
16835 return 0;
16836 }
16837 _ACEOF
16838 if ac_fn_cxx_try_link "$LINENO"; then :
16839 glibcxx_cv_c99_stdio=yes
16840 else
16841 glibcxx_cv_c99_stdio=no
16842 fi
16843 rm -f core conftest.err conftest.$ac_objext \
16844 conftest$ac_exeext conftest.$ac_ext
16845 fi
16846
16847 fi
16848
16849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16850 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16851
16852 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16854 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16855 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16856 $as_echo_n "(cached) " >&6
16857 else
16858
16859 if test x$gcc_no_link = xyes; then
16860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16861 /* end confdefs.h. */
16862 #include <stdlib.h>
16863 volatile float f;
16864 volatile long double ld;
16865 volatile unsigned long long ll;
16866 lldiv_t mydivt;
16867 int
16868 main ()
16869 {
16870 char* tmp;
16871 f = strtof("gnu", &tmp);
16872 ld = strtold("gnu", &tmp);
16873 ll = strtoll("gnu", &tmp, 10);
16874 ll = strtoull("gnu", &tmp, 10);
16875 ll = llabs(10);
16876 mydivt = lldiv(10,1);
16877 ll = mydivt.quot;
16878 ll = mydivt.rem;
16879 ll = atoll("10");
16880 _Exit(0);
16881
16882 ;
16883 return 0;
16884 }
16885 _ACEOF
16886 if ac_fn_cxx_try_compile "$LINENO"; then :
16887 glibcxx_cv_c99_stdlib=yes
16888 else
16889 glibcxx_cv_c99_stdlib=no
16890 fi
16891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16892 else
16893 if test x$gcc_no_link = xyes; then
16894 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16895 fi
16896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16897 /* end confdefs.h. */
16898 #include <stdlib.h>
16899 volatile float f;
16900 volatile long double ld;
16901 volatile unsigned long long ll;
16902 lldiv_t mydivt;
16903 int
16904 main ()
16905 {
16906 char* tmp;
16907 f = strtof("gnu", &tmp);
16908 ld = strtold("gnu", &tmp);
16909 ll = strtoll("gnu", &tmp, 10);
16910 ll = strtoull("gnu", &tmp, 10);
16911 ll = llabs(10);
16912 mydivt = lldiv(10,1);
16913 ll = mydivt.quot;
16914 ll = mydivt.rem;
16915 ll = atoll("10");
16916 _Exit(0);
16917
16918 ;
16919 return 0;
16920 }
16921 _ACEOF
16922 if ac_fn_cxx_try_link "$LINENO"; then :
16923 glibcxx_cv_c99_stdlib=yes
16924 else
16925 glibcxx_cv_c99_stdlib=no
16926 fi
16927 rm -f core conftest.err conftest.$ac_objext \
16928 conftest$ac_exeext conftest.$ac_ext
16929 fi
16930
16931 fi
16932
16933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16934 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16935
16936 # Check for the existence in <wchar.h> of wcstold, etc.
16937 glibcxx_cv_c99_wchar=no;
16938 if test x"$ac_has_wchar_h" = xyes &&
16939 test x"$ac_has_wctype_h" = xyes; then
16940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16941 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16943 /* end confdefs.h. */
16944 #include <wchar.h>
16945 namespace test
16946 {
16947 using ::wcstold;
16948 using ::wcstoll;
16949 using ::wcstoull;
16950 }
16951
16952 int
16953 main ()
16954 {
16955
16956 ;
16957 return 0;
16958 }
16959 _ACEOF
16960 if ac_fn_cxx_try_compile "$LINENO"; then :
16961 glibcxx_cv_c99_wchar=yes
16962 else
16963 glibcxx_cv_c99_wchar=no
16964 fi
16965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16966
16967 # Checks for wide character functions that may not be present.
16968 # Injection of these is wrapped with guard macros.
16969 # NB: only put functions here, instead of immediately above, if
16970 # absolutely necessary.
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16973 #include <wchar.h>
16974 namespace test { using ::vfwscanf; }
16975 int
16976 main ()
16977 {
16978
16979 ;
16980 return 0;
16981 }
16982 _ACEOF
16983 if ac_fn_cxx_try_compile "$LINENO"; then :
16984
16985 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16986
16987 fi
16988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16989
16990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16991 /* end confdefs.h. */
16992 #include <wchar.h>
16993 namespace test { using ::vswscanf; }
16994 int
16995 main ()
16996 {
16997
16998 ;
16999 return 0;
17000 }
17001 _ACEOF
17002 if ac_fn_cxx_try_compile "$LINENO"; then :
17003
17004 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17005
17006 fi
17007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17008
17009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17010 /* end confdefs.h. */
17011 #include <wchar.h>
17012 namespace test { using ::vwscanf; }
17013 int
17014 main ()
17015 {
17016
17017 ;
17018 return 0;
17019 }
17020 _ACEOF
17021 if ac_fn_cxx_try_compile "$LINENO"; then :
17022
17023 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17024
17025 fi
17026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17027
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 #include <wchar.h>
17031 namespace test { using ::wcstof; }
17032 int
17033 main ()
17034 {
17035
17036 ;
17037 return 0;
17038 }
17039 _ACEOF
17040 if ac_fn_cxx_try_compile "$LINENO"; then :
17041
17042 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17043
17044 fi
17045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17046
17047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17048 /* end confdefs.h. */
17049 #include <wctype.h>
17050 int
17051 main ()
17052 {
17053 wint_t t; int i = iswblank(t);
17054 ;
17055 return 0;
17056 }
17057 _ACEOF
17058 if ac_fn_cxx_try_compile "$LINENO"; then :
17059
17060 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17061
17062 fi
17063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17064
17065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17066 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17067 fi
17068
17069 # Option parsed, now set things appropriately.
17070 if test x"$glibcxx_cv_c99_math" = x"no" ||
17071 test x"$glibcxx_cv_c99_complex" = x"no" ||
17072 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17073 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17074 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17075 enable_c99=no;
17076 else
17077
17078 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17079
17080 fi
17081
17082 gcc_no_link="$ac_save_gcc_no_link"
17083 LIBS="$ac_save_LIBS"
17084 CXXFLAGS="$ac_save_CXXFLAGS"
17085 ac_ext=c
17086 ac_cpp='$CPP $CPPFLAGS'
17087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17090
17091 fi
17092
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17094 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17096 $as_echo "$enable_c99" >&6; }
17097
17098
17099 # Check whether --enable-concept-checks was given.
17100 if test "${enable_concept_checks+set}" = set; then :
17101 enableval=$enable_concept_checks;
17102 case "$enableval" in
17103 yes|no) ;;
17104 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17105 esac
17106
17107 else
17108 enable_concept_checks=no
17109 fi
17110
17111
17112 if test $enable_concept_checks = yes; then
17113
17114 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17115
17116 fi
17117
17118
17119 # Check whether --enable-libstdcxx-debug-flags was given.
17120 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17121 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17122 xno | x) enable_libstdcxx_debug_flags= ;;
17123 x-*) ;;
17124 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17125 esac
17126 else
17127 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17128 fi
17129
17130
17131
17132 # Option parsed, now set things appropriately
17133 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17134
17135
17136 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17137 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17138
17139
17140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17141 $as_echo_n "checking for additional debug build... " >&6; }
17142 # Check whether --enable-libstdcxx-debug was given.
17143 if test "${enable_libstdcxx_debug+set}" = set; then :
17144 enableval=$enable_libstdcxx_debug;
17145 case "$enableval" in
17146 yes|no) ;;
17147 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17148 esac
17149
17150 else
17151 enable_libstdcxx_debug=no
17152 fi
17153
17154
17155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17156 $as_echo "$enable_libstdcxx_debug" >&6; }
17157
17158
17159
17160
17161 enable_parallel=no;
17162
17163 # See if configured libgomp/omp.h exists. (libgomp may be in
17164 # noconfigdirs but not explicitly disabled.)
17165 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17166 enable_parallel=yes;
17167 else
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17169 $as_echo "$as_me: target-libgomp not built" >&6;}
17170 fi
17171
17172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17173 $as_echo_n "checking for parallel mode support... " >&6; }
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17175 $as_echo "$enable_parallel" >&6; }
17176
17177
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17179 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17180 # Check whether --enable-cxx-flags was given.
17181 if test "${enable_cxx_flags+set}" = set; then :
17182 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17183 xno | x) enable_cxx_flags= ;;
17184 x-*) ;;
17185 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17186 esac
17187 else
17188 enable_cxx_flags=
17189 fi
17190
17191
17192
17193 # Run through flags (either default or command-line) and set anything
17194 # extra (e.g., #defines) that must accompany particular g++ options.
17195 if test -n "$enable_cxx_flags"; then
17196 for f in $enable_cxx_flags; do
17197 case "$f" in
17198 -fhonor-std) ;;
17199 -*) ;;
17200 *) # and we're trying to pass /what/ exactly?
17201 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17202 esac
17203 done
17204 fi
17205
17206 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17208 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17209
17210
17211
17212 # Check whether --enable-fully-dynamic-string was given.
17213 if test "${enable_fully_dynamic_string+set}" = set; then :
17214 enableval=$enable_fully_dynamic_string;
17215 case "$enableval" in
17216 yes|no) ;;
17217 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17218 esac
17219
17220 else
17221 enable_fully_dynamic_string=no
17222 fi
17223
17224
17225 if test $enable_fully_dynamic_string = yes; then
17226 enable_fully_dynamic_string_def=1
17227 else
17228 enable_fully_dynamic_string_def=0
17229 fi
17230
17231 cat >>confdefs.h <<_ACEOF
17232 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17233 _ACEOF
17234
17235
17236
17237
17238 # Check whether --enable-extern-template was given.
17239 if test "${enable_extern_template+set}" = set; then :
17240 enableval=$enable_extern_template;
17241 case "$enableval" in
17242 yes|no) ;;
17243 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17244 esac
17245
17246 else
17247 enable_extern_template=yes
17248 fi
17249
17250
17251
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17253 $as_echo_n "checking for extern template support... " >&6; }
17254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17255 $as_echo "$enable_extern_template" >&6; }
17256
17257
17258
17259
17260
17261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17262 $as_echo_n "checking for custom python install directory... " >&6; }
17263
17264 # Check whether --with-python-dir was given.
17265 if test "${with_python_dir+set}" = set; then :
17266 withval=$with_python_dir; with_python_dir=$withval
17267 else
17268 with_python_dir="no"
17269 fi
17270
17271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17272 $as_echo "${with_python_dir}" >&6; }
17273
17274 # Needed for installing Python modules during make install.
17275 python_mod_dir="${with_python_dir}"
17276
17277
17278
17279
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17281 $as_echo_n "checking for -Werror... " >&6; }
17282 # Check whether --enable-werror was given.
17283 if test "${enable_werror+set}" = set; then :
17284 enableval=$enable_werror;
17285 case "$enableval" in
17286 yes|no) ;;
17287 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17288 esac
17289
17290 else
17291 enable_werror=yes
17292 fi
17293
17294
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17296 $as_echo "$enable_werror" >&6; }
17297
17298
17299
17300 # Checks for operating systems support that doesn't require linking.
17301
17302
17303
17304 ac_ext=cpp
17305 ac_cpp='$CXXCPP $CPPFLAGS'
17306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17309
17310
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17312 $as_echo_n "checking for gets declaration... " >&6; }
17313 if test "${glibcxx_cv_gets+set}" = set; then :
17314 $as_echo_n "(cached) " >&6
17315 else
17316
17317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17318 /* end confdefs.h. */
17319 #include <stdio.h>
17320 namespace test
17321 {
17322 using ::gets;
17323 }
17324
17325 _ACEOF
17326 if ac_fn_cxx_try_compile "$LINENO"; then :
17327 glibcxx_cv_gets=yes
17328 else
17329 glibcxx_cv_gets=no
17330
17331 fi
17332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17333 fi
17334
17335
17336 if test $glibcxx_cv_gets = yes; then
17337
17338 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17339
17340 fi
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17342 $as_echo "$glibcxx_cv_gets" >&6; }
17343
17344 ac_ext=c
17345 ac_cpp='$CPP $CPPFLAGS'
17346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17349
17350
17351
17352
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17354 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17355 if test "${glibcxx_cv_system_error1+set}" = set; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358
17359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17361 #include <errno.h>
17362 int
17363 main ()
17364 {
17365 int i = EOWNERDEAD;
17366 ;
17367 return 0;
17368 }
17369 _ACEOF
17370 if ac_fn_c_try_compile "$LINENO"; then :
17371 glibcxx_cv_system_error1=yes
17372 else
17373 glibcxx_cv_system_error1=no
17374 fi
17375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17376
17377 fi
17378
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17380 $as_echo "$glibcxx_cv_system_error1" >&6; }
17381 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17382
17383 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17384
17385 fi
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17387 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17388 if test "${glibcxx_cv_system_error2+set}" = set; then :
17389 $as_echo_n "(cached) " >&6
17390 else
17391
17392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17394 #include <errno.h>
17395 int
17396 main ()
17397 {
17398 int i = ENOTRECOVERABLE;
17399 ;
17400 return 0;
17401 }
17402 _ACEOF
17403 if ac_fn_c_try_compile "$LINENO"; then :
17404 glibcxx_cv_system_error2=yes
17405 else
17406 glibcxx_cv_system_error2=no
17407 fi
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17409
17410 fi
17411
17412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17413 $as_echo "$glibcxx_cv_system_error2" >&6; }
17414 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17415
17416 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17417
17418 fi
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17420 $as_echo_n "checking for ENOLINK... " >&6; }
17421 if test "${glibcxx_cv_system_error3+set}" = set; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424
17425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426 /* end confdefs.h. */
17427 #include <errno.h>
17428 int
17429 main ()
17430 {
17431 int i = ENOLINK;
17432 ;
17433 return 0;
17434 }
17435 _ACEOF
17436 if ac_fn_c_try_compile "$LINENO"; then :
17437 glibcxx_cv_system_error3=yes
17438 else
17439 glibcxx_cv_system_error3=no
17440 fi
17441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17442
17443 fi
17444
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17446 $as_echo "$glibcxx_cv_system_error3" >&6; }
17447 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17448
17449 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17450
17451 fi
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17453 $as_echo_n "checking for EPROTO... " >&6; }
17454 if test "${glibcxx_cv_system_error4+set}" = set; then :
17455 $as_echo_n "(cached) " >&6
17456 else
17457
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17460 #include <errno.h>
17461 int
17462 main ()
17463 {
17464 int i = EPROTO;
17465 ;
17466 return 0;
17467 }
17468 _ACEOF
17469 if ac_fn_c_try_compile "$LINENO"; then :
17470 glibcxx_cv_system_error4=yes
17471 else
17472 glibcxx_cv_system_error4=no
17473 fi
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475
17476 fi
17477
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17479 $as_echo "$glibcxx_cv_system_error4" >&6; }
17480 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17481
17482 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17483
17484 fi
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17486 $as_echo_n "checking for ENODATA... " >&6; }
17487 if test "${glibcxx_cv_system_error5+set}" = set; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17490
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #include <errno.h>
17494 int
17495 main ()
17496 {
17497 int i = ENODATA;
17498 ;
17499 return 0;
17500 }
17501 _ACEOF
17502 if ac_fn_c_try_compile "$LINENO"; then :
17503 glibcxx_cv_system_error5=yes
17504 else
17505 glibcxx_cv_system_error5=no
17506 fi
17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17508
17509 fi
17510
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17512 $as_echo "$glibcxx_cv_system_error5" >&6; }
17513 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17514
17515 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17516
17517 fi
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17519 $as_echo_n "checking for ENOSR... " >&6; }
17520 if test "${glibcxx_cv_system_error6+set}" = set; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17523
17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17526 #include <errno.h>
17527 int
17528 main ()
17529 {
17530 int i = ENOSR;
17531 ;
17532 return 0;
17533 }
17534 _ACEOF
17535 if ac_fn_c_try_compile "$LINENO"; then :
17536 glibcxx_cv_system_error6=yes
17537 else
17538 glibcxx_cv_system_error6=no
17539 fi
17540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17541
17542 fi
17543
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17545 $as_echo "$glibcxx_cv_system_error6" >&6; }
17546 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17547
17548 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17549
17550 fi
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17552 $as_echo_n "checking for ENOSTR... " >&6; }
17553 if test "${glibcxx_cv_system_error7+set}" = set; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17556
17557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17559 #include <errno.h>
17560 int
17561 main ()
17562 {
17563 int i = ENOSTR;
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 if ac_fn_c_try_compile "$LINENO"; then :
17569 glibcxx_cv_system_error7=yes
17570 else
17571 glibcxx_cv_system_error7=no
17572 fi
17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574
17575 fi
17576
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17578 $as_echo "$glibcxx_cv_system_error7" >&6; }
17579 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17580
17581 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17582
17583 fi
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17585 $as_echo_n "checking for ETIME... " >&6; }
17586 if test "${glibcxx_cv_system_error8+set}" = set; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 #include <errno.h>
17593 int
17594 main ()
17595 {
17596 int i = ETIME;
17597 ;
17598 return 0;
17599 }
17600 _ACEOF
17601 if ac_fn_c_try_compile "$LINENO"; then :
17602 glibcxx_cv_system_error8=yes
17603 else
17604 glibcxx_cv_system_error8=no
17605 fi
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607
17608 fi
17609
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17611 $as_echo "$glibcxx_cv_system_error8" >&6; }
17612 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17613
17614 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17615
17616 fi
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17618 $as_echo_n "checking for EBADMSG... " >&6; }
17619 if test "${glibcxx_cv_system_error9+set}" = set; then :
17620 $as_echo_n "(cached) " >&6
17621 else
17622
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 #include <errno.h>
17626 int
17627 main ()
17628 {
17629 int i = EBADMSG;
17630 ;
17631 return 0;
17632 }
17633 _ACEOF
17634 if ac_fn_c_try_compile "$LINENO"; then :
17635 glibcxx_cv_system_error9=yes
17636 else
17637 glibcxx_cv_system_error9=no
17638 fi
17639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17640
17641 fi
17642
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17644 $as_echo "$glibcxx_cv_system_error9" >&6; }
17645 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17646
17647 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17648
17649 fi
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17651 $as_echo_n "checking for ECANCELED... " >&6; }
17652 if test "${glibcxx_cv_system_error10+set}" = set; then :
17653 $as_echo_n "(cached) " >&6
17654 else
17655
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <errno.h>
17659 int
17660 main ()
17661 {
17662 int i = ECANCELED;
17663 ;
17664 return 0;
17665 }
17666 _ACEOF
17667 if ac_fn_c_try_compile "$LINENO"; then :
17668 glibcxx_cv_system_error10=yes
17669 else
17670 glibcxx_cv_system_error10=no
17671 fi
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673
17674 fi
17675
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17677 $as_echo "$glibcxx_cv_system_error10" >&6; }
17678 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17679
17680 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17681
17682 fi
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17684 $as_echo_n "checking for EOVERFLOW... " >&6; }
17685 if test "${glibcxx_cv_system_error11+set}" = set; then :
17686 $as_echo_n "(cached) " >&6
17687 else
17688
17689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17690 /* end confdefs.h. */
17691 #include <errno.h>
17692 int
17693 main ()
17694 {
17695 int i = EOVERFLOW;
17696 ;
17697 return 0;
17698 }
17699 _ACEOF
17700 if ac_fn_c_try_compile "$LINENO"; then :
17701 glibcxx_cv_system_error11=yes
17702 else
17703 glibcxx_cv_system_error11=no
17704 fi
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706
17707 fi
17708
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17710 $as_echo "$glibcxx_cv_system_error11" >&6; }
17711 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17712
17713 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17714
17715 fi
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17717 $as_echo_n "checking for ENOTSUP... " >&6; }
17718 if test "${glibcxx_cv_system_error12+set}" = set; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17721
17722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h. */
17724 #include <errno.h>
17725 int
17726 main ()
17727 {
17728 int i = ENOTSUP;
17729 ;
17730 return 0;
17731 }
17732 _ACEOF
17733 if ac_fn_c_try_compile "$LINENO"; then :
17734 glibcxx_cv_system_error12=yes
17735 else
17736 glibcxx_cv_system_error12=no
17737 fi
17738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17739
17740 fi
17741
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17743 $as_echo "$glibcxx_cv_system_error12" >&6; }
17744 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17745
17746 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17747
17748 fi
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17750 $as_echo_n "checking for EIDRM... " >&6; }
17751 if test "${glibcxx_cv_system_error13+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17754
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <errno.h>
17758 int
17759 main ()
17760 {
17761 int i = EIDRM;
17762 ;
17763 return 0;
17764 }
17765 _ACEOF
17766 if ac_fn_c_try_compile "$LINENO"; then :
17767 glibcxx_cv_system_error13=yes
17768 else
17769 glibcxx_cv_system_error13=no
17770 fi
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772
17773 fi
17774
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17776 $as_echo "$glibcxx_cv_system_error13" >&6; }
17777 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17778
17779 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17780
17781 fi
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17783 $as_echo_n "checking for ETXTBSY... " >&6; }
17784 if test "${glibcxx_cv_system_error14+set}" = set; then :
17785 $as_echo_n "(cached) " >&6
17786 else
17787
17788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17789 /* end confdefs.h. */
17790 #include <errno.h>
17791 int
17792 main ()
17793 {
17794 int i = ETXTBSY;
17795 ;
17796 return 0;
17797 }
17798 _ACEOF
17799 if ac_fn_c_try_compile "$LINENO"; then :
17800 glibcxx_cv_system_error14=yes
17801 else
17802 glibcxx_cv_system_error14=no
17803 fi
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805
17806 fi
17807
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17809 $as_echo "$glibcxx_cv_system_error14" >&6; }
17810 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17811
17812 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17813
17814 fi
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17816 $as_echo_n "checking for ECHILD... " >&6; }
17817 if test "${glibcxx_cv_system_error15+set}" = set; then :
17818 $as_echo_n "(cached) " >&6
17819 else
17820
17821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17822 /* end confdefs.h. */
17823 #include <errno.h>
17824 int
17825 main ()
17826 {
17827 int i = ECHILD;
17828 ;
17829 return 0;
17830 }
17831 _ACEOF
17832 if ac_fn_c_try_compile "$LINENO"; then :
17833 glibcxx_cv_system_error15=yes
17834 else
17835 glibcxx_cv_system_error15=no
17836 fi
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838
17839 fi
17840
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17842 $as_echo "$glibcxx_cv_system_error15" >&6; }
17843 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17844
17845 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17846
17847 fi
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17849 $as_echo_n "checking for ENOSPC... " >&6; }
17850 if test "${glibcxx_cv_system_error16+set}" = set; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17853
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 #include <errno.h>
17857 int
17858 main ()
17859 {
17860 int i = ENOSPC;
17861 ;
17862 return 0;
17863 }
17864 _ACEOF
17865 if ac_fn_c_try_compile "$LINENO"; then :
17866 glibcxx_cv_system_error16=yes
17867 else
17868 glibcxx_cv_system_error16=no
17869 fi
17870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17871
17872 fi
17873
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17875 $as_echo "$glibcxx_cv_system_error16" >&6; }
17876 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17877
17878 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17879
17880 fi
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17882 $as_echo_n "checking for EPERM... " >&6; }
17883 if test "${glibcxx_cv_system_error17+set}" = set; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17886
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17889 #include <errno.h>
17890 int
17891 main ()
17892 {
17893 int i = EPERM;
17894 ;
17895 return 0;
17896 }
17897 _ACEOF
17898 if ac_fn_c_try_compile "$LINENO"; then :
17899 glibcxx_cv_system_error17=yes
17900 else
17901 glibcxx_cv_system_error17=no
17902 fi
17903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17904
17905 fi
17906
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17908 $as_echo "$glibcxx_cv_system_error17" >&6; }
17909 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17910
17911 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17912
17913 fi
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17915 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17916 if test "${glibcxx_cv_system_error18+set}" = set; then :
17917 $as_echo_n "(cached) " >&6
17918 else
17919
17920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921 /* end confdefs.h. */
17922 #include <errno.h>
17923 int
17924 main ()
17925 {
17926 int i = ETIMEDOUT;
17927 ;
17928 return 0;
17929 }
17930 _ACEOF
17931 if ac_fn_c_try_compile "$LINENO"; then :
17932 glibcxx_cv_system_error18=yes
17933 else
17934 glibcxx_cv_system_error18=no
17935 fi
17936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17937
17938 fi
17939
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17941 $as_echo "$glibcxx_cv_system_error18" >&6; }
17942 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17943
17944 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17945
17946 fi
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17948 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17949 if test "${glibcxx_cv_system_error19+set}" = set; then :
17950 $as_echo_n "(cached) " >&6
17951 else
17952
17953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17955 #include <errno.h>
17956 int
17957 main ()
17958 {
17959 int i = EWOULDBLOCK;
17960 ;
17961 return 0;
17962 }
17963 _ACEOF
17964 if ac_fn_c_try_compile "$LINENO"; then :
17965 glibcxx_cv_system_error19=yes
17966 else
17967 glibcxx_cv_system_error19=no
17968 fi
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970
17971 fi
17972
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
17974 $as_echo "$glibcxx_cv_system_error19" >&6; }
17975 if test x"$glibcxx_cv_system_error19" = x"yes"; then
17976
17977 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
17978
17979 fi
17980
17981
17982
17983 # For the streamoff typedef.
17984
17985
17986
17987 ac_ext=cpp
17988 ac_cpp='$CXXCPP $CPPFLAGS'
17989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17992
17993
17994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
17995 $as_echo_n "checking for int64_t... " >&6; }
17996 if test "${glibcxx_cv_INT64_T+set}" = set; then :
17997 $as_echo_n "(cached) " >&6
17998 else
17999
18000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18001 /* end confdefs.h. */
18002 #include <stdint.h>
18003 int
18004 main ()
18005 {
18006 int64_t var;
18007 ;
18008 return 0;
18009 }
18010 _ACEOF
18011 if ac_fn_cxx_try_compile "$LINENO"; then :
18012 glibcxx_cv_INT64_T=yes
18013 else
18014 glibcxx_cv_INT64_T=no
18015 fi
18016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18017
18018 fi
18019
18020
18021 if test $glibcxx_cv_INT64_T = yes; then
18022
18023 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18024
18025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18026 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18027
18028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18029 $as_echo_n "checking for int64_t as long... " >&6; }
18030 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18031 $as_echo_n "(cached) " >&6
18032 else
18033
18034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18035 /* end confdefs.h. */
18036 #include <stdint.h>
18037 template<typename, typename> struct same { enum { value = -1 }; };
18038 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18039 int array[same<int64_t, long>::value];
18040 int
18041 main ()
18042 {
18043
18044 ;
18045 return 0;
18046 }
18047 _ACEOF
18048 if ac_fn_cxx_try_compile "$LINENO"; then :
18049 glibcxx_cv_int64_t_long=yes
18050 else
18051 glibcxx_cv_int64_t_long=no
18052 fi
18053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18054
18055 fi
18056
18057
18058 if test $glibcxx_cv_int64_t_long = yes; then
18059
18060 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18061
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18063 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18064 fi
18065
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18067 $as_echo_n "checking for int64_t as long long... " >&6; }
18068 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18069 $as_echo_n "(cached) " >&6
18070 else
18071
18072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18073 /* end confdefs.h. */
18074 #include <stdint.h>
18075 template<typename, typename> struct same { enum { value = -1 }; };
18076 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18077 int array[same<int64_t, long long>::value];
18078 int
18079 main ()
18080 {
18081
18082 ;
18083 return 0;
18084 }
18085 _ACEOF
18086 if ac_fn_cxx_try_compile "$LINENO"; then :
18087 glibcxx_cv_int64_t_long_long=yes
18088 else
18089 glibcxx_cv_int64_t_long_long=no
18090 fi
18091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18092
18093 fi
18094
18095
18096 if test $glibcxx_cv_int64_t_long_long = yes; then
18097
18098 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18099
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18101 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18102 fi
18103 fi
18104
18105 ac_ext=c
18106 ac_cpp='$CPP $CPPFLAGS'
18107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18110
18111
18112
18113 # For LFS support.
18114
18115
18116 ac_ext=cpp
18117 ac_cpp='$CXXCPP $CPPFLAGS'
18118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18121
18122 ac_save_CXXFLAGS="$CXXFLAGS"
18123 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18125 $as_echo_n "checking for LFS support... " >&6; }
18126 if test "${glibcxx_cv_LFS+set}" = set; then :
18127 $as_echo_n "(cached) " >&6
18128 else
18129
18130 if test x$gcc_no_link = xyes; then
18131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18132 /* end confdefs.h. */
18133 #include <unistd.h>
18134 #include <stdio.h>
18135 #include <sys/stat.h>
18136
18137 int
18138 main ()
18139 {
18140 FILE* fp;
18141 fopen64("t", "w");
18142 fseeko64(fp, 0, SEEK_CUR);
18143 ftello64(fp);
18144 lseek64(1, 0, SEEK_CUR);
18145 struct stat64 buf;
18146 fstat64(1, &buf);
18147 ;
18148 return 0;
18149 }
18150 _ACEOF
18151 if ac_fn_cxx_try_compile "$LINENO"; then :
18152 glibcxx_cv_LFS=yes
18153 else
18154 glibcxx_cv_LFS=no
18155 fi
18156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18157 else
18158 if test x$gcc_no_link = xyes; then
18159 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18160 fi
18161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18162 /* end confdefs.h. */
18163 #include <unistd.h>
18164 #include <stdio.h>
18165 #include <sys/stat.h>
18166
18167 int
18168 main ()
18169 {
18170 FILE* fp;
18171 fopen64("t", "w");
18172 fseeko64(fp, 0, SEEK_CUR);
18173 ftello64(fp);
18174 lseek64(1, 0, SEEK_CUR);
18175 struct stat64 buf;
18176 fstat64(1, &buf);
18177 ;
18178 return 0;
18179 }
18180 _ACEOF
18181 if ac_fn_cxx_try_link "$LINENO"; then :
18182 glibcxx_cv_LFS=yes
18183 else
18184 glibcxx_cv_LFS=no
18185 fi
18186 rm -f core conftest.err conftest.$ac_objext \
18187 conftest$ac_exeext conftest.$ac_ext
18188 fi
18189
18190 fi
18191
18192 if test $glibcxx_cv_LFS = yes; then
18193
18194 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18195
18196 fi
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18198 $as_echo "$glibcxx_cv_LFS" >&6; }
18199 CXXFLAGS="$ac_save_CXXFLAGS"
18200 ac_ext=c
18201 ac_cpp='$CPP $CPPFLAGS'
18202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18205
18206
18207
18208 # For showmanyc_helper().
18209 for ac_header in sys/ioctl.h sys/filio.h
18210 do :
18211 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18212 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18213 eval as_val=\$$as_ac_Header
18214 if test "x$as_val" = x""yes; then :
18215 cat >>confdefs.h <<_ACEOF
18216 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18217 _ACEOF
18218
18219 fi
18220
18221 done
18222
18223
18224
18225
18226 ac_ext=cpp
18227 ac_cpp='$CXXCPP $CPPFLAGS'
18228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18231
18232 ac_save_CXXFLAGS="$CXXFLAGS"
18233 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18234
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18236 $as_echo_n "checking for poll... " >&6; }
18237 if test "${glibcxx_cv_POLL+set}" = set; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18240
18241 if test x$gcc_no_link = xyes; then
18242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18243 /* end confdefs.h. */
18244 #include <poll.h>
18245 int
18246 main ()
18247 {
18248 struct pollfd pfd[1];
18249 pfd[0].events = POLLIN;
18250 poll(pfd, 1, 0);
18251 ;
18252 return 0;
18253 }
18254 _ACEOF
18255 if ac_fn_cxx_try_compile "$LINENO"; then :
18256 glibcxx_cv_POLL=yes
18257 else
18258 glibcxx_cv_POLL=no
18259 fi
18260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18261 else
18262 if test x$gcc_no_link = xyes; then
18263 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18264 fi
18265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18266 /* end confdefs.h. */
18267 #include <poll.h>
18268 int
18269 main ()
18270 {
18271 struct pollfd pfd[1];
18272 pfd[0].events = POLLIN;
18273 poll(pfd, 1, 0);
18274 ;
18275 return 0;
18276 }
18277 _ACEOF
18278 if ac_fn_cxx_try_link "$LINENO"; then :
18279 glibcxx_cv_POLL=yes
18280 else
18281 glibcxx_cv_POLL=no
18282 fi
18283 rm -f core conftest.err conftest.$ac_objext \
18284 conftest$ac_exeext conftest.$ac_ext
18285 fi
18286
18287 fi
18288
18289 if test $glibcxx_cv_POLL = yes; then
18290
18291 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18292
18293 fi
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18295 $as_echo "$glibcxx_cv_POLL" >&6; }
18296
18297 CXXFLAGS="$ac_save_CXXFLAGS"
18298 ac_ext=c
18299 ac_cpp='$CPP $CPPFLAGS'
18300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18303
18304
18305
18306
18307
18308 ac_ext=cpp
18309 ac_cpp='$CXXCPP $CPPFLAGS'
18310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18313
18314 ac_save_CXXFLAGS="$CXXFLAGS"
18315 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18316
18317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18318 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18319 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18320 $as_echo_n "(cached) " >&6
18321 else
18322
18323 if test x$gcc_no_link = xyes; then
18324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18325 /* end confdefs.h. */
18326 #include <sys/stat.h>
18327 int
18328 main ()
18329 {
18330 struct stat buffer;
18331 fstat(0, &buffer);
18332 S_ISREG(buffer.st_mode);
18333 ;
18334 return 0;
18335 }
18336 _ACEOF
18337 if ac_fn_cxx_try_compile "$LINENO"; then :
18338 glibcxx_cv_S_ISREG=yes
18339 else
18340 glibcxx_cv_S_ISREG=no
18341 fi
18342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18343 else
18344 if test x$gcc_no_link = xyes; then
18345 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18346 fi
18347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18348 /* end confdefs.h. */
18349 #include <sys/stat.h>
18350 int
18351 main ()
18352 {
18353 struct stat buffer;
18354 fstat(0, &buffer);
18355 S_ISREG(buffer.st_mode);
18356 ;
18357 return 0;
18358 }
18359 _ACEOF
18360 if ac_fn_cxx_try_link "$LINENO"; then :
18361 glibcxx_cv_S_ISREG=yes
18362 else
18363 glibcxx_cv_S_ISREG=no
18364 fi
18365 rm -f core conftest.err conftest.$ac_objext \
18366 conftest$ac_exeext conftest.$ac_ext
18367 fi
18368
18369 fi
18370
18371 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18372 $as_echo_n "(cached) " >&6
18373 else
18374
18375 if test x$gcc_no_link = xyes; then
18376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18377 /* end confdefs.h. */
18378 #include <sys/stat.h>
18379 int
18380 main ()
18381 {
18382 struct stat buffer;
18383 fstat(0, &buffer);
18384 S_IFREG & buffer.st_mode;
18385 ;
18386 return 0;
18387 }
18388 _ACEOF
18389 if ac_fn_cxx_try_compile "$LINENO"; then :
18390 glibcxx_cv_S_IFREG=yes
18391 else
18392 glibcxx_cv_S_IFREG=no
18393 fi
18394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18395 else
18396 if test x$gcc_no_link = xyes; then
18397 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18398 fi
18399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18400 /* end confdefs.h. */
18401 #include <sys/stat.h>
18402 int
18403 main ()
18404 {
18405 struct stat buffer;
18406 fstat(0, &buffer);
18407 S_IFREG & buffer.st_mode;
18408 ;
18409 return 0;
18410 }
18411 _ACEOF
18412 if ac_fn_cxx_try_link "$LINENO"; then :
18413 glibcxx_cv_S_IFREG=yes
18414 else
18415 glibcxx_cv_S_IFREG=no
18416 fi
18417 rm -f core conftest.err conftest.$ac_objext \
18418 conftest$ac_exeext conftest.$ac_ext
18419 fi
18420
18421 fi
18422
18423 res=no
18424 if test $glibcxx_cv_S_ISREG = yes; then
18425
18426 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18427
18428 res=S_ISREG
18429 elif test $glibcxx_cv_S_IFREG = yes; then
18430
18431 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18432
18433 res=S_IFREG
18434 fi
18435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18436 $as_echo "$res" >&6; }
18437
18438 CXXFLAGS="$ac_save_CXXFLAGS"
18439 ac_ext=c
18440 ac_cpp='$CPP $CPPFLAGS'
18441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18444
18445
18446
18447 # For xsputn_2().
18448 for ac_header in sys/uio.h
18449 do :
18450 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18451 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18452 cat >>confdefs.h <<_ACEOF
18453 #define HAVE_SYS_UIO_H 1
18454 _ACEOF
18455
18456 fi
18457
18458 done
18459
18460
18461
18462
18463 ac_ext=cpp
18464 ac_cpp='$CXXCPP $CPPFLAGS'
18465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18468
18469 ac_save_CXXFLAGS="$CXXFLAGS"
18470 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18471
18472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18473 $as_echo_n "checking for writev... " >&6; }
18474 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18475 $as_echo_n "(cached) " >&6
18476 else
18477
18478 if test x$gcc_no_link = xyes; then
18479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18480 /* end confdefs.h. */
18481 #include <sys/uio.h>
18482 int
18483 main ()
18484 {
18485 struct iovec iov[2];
18486 writev(0, iov, 0);
18487 ;
18488 return 0;
18489 }
18490 _ACEOF
18491 if ac_fn_cxx_try_compile "$LINENO"; then :
18492 glibcxx_cv_WRITEV=yes
18493 else
18494 glibcxx_cv_WRITEV=no
18495 fi
18496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18497 else
18498 if test x$gcc_no_link = xyes; then
18499 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18500 fi
18501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18502 /* end confdefs.h. */
18503 #include <sys/uio.h>
18504 int
18505 main ()
18506 {
18507 struct iovec iov[2];
18508 writev(0, iov, 0);
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 if ac_fn_cxx_try_link "$LINENO"; then :
18514 glibcxx_cv_WRITEV=yes
18515 else
18516 glibcxx_cv_WRITEV=no
18517 fi
18518 rm -f core conftest.err conftest.$ac_objext \
18519 conftest$ac_exeext conftest.$ac_ext
18520 fi
18521
18522 fi
18523
18524 if test $glibcxx_cv_WRITEV = yes; then
18525
18526 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18527
18528 fi
18529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18530 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18531
18532 CXXFLAGS="$ac_save_CXXFLAGS"
18533 ac_ext=c
18534 ac_cpp='$CPP $CPPFLAGS'
18535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18538
18539
18540
18541 # For C99 support to TR1.
18542
18543
18544
18545 ac_ext=cpp
18546 ac_cpp='$CXXCPP $CPPFLAGS'
18547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18550
18551
18552 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18553 # undefined and fake C99 facilities may be spuriously enabled.
18554 ac_save_CXXFLAGS="$CXXFLAGS"
18555 CXXFLAGS="$CXXFLAGS -std=c++98"
18556
18557 # Check for the existence of <complex.h> complex math functions used
18558 # by tr1/complex.
18559 for ac_header in complex.h
18560 do :
18561 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18562 if test "x$ac_cv_header_complex_h" = x""yes; then :
18563 cat >>confdefs.h <<_ACEOF
18564 #define HAVE_COMPLEX_H 1
18565 _ACEOF
18566 ac_has_complex_h=yes
18567 else
18568 ac_has_complex_h=no
18569 fi
18570
18571 done
18572
18573 ac_c99_complex_tr1=no;
18574 if test x"$ac_has_complex_h" = x"yes"; then
18575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18576 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18578 /* end confdefs.h. */
18579 #include <complex.h>
18580 int
18581 main ()
18582 {
18583 typedef __complex__ float float_type; float_type tmpf;
18584 cacosf(tmpf);
18585 casinf(tmpf);
18586 catanf(tmpf);
18587 cacoshf(tmpf);
18588 casinhf(tmpf);
18589 catanhf(tmpf);
18590 typedef __complex__ double double_type; double_type tmpd;
18591 cacos(tmpd);
18592 casin(tmpd);
18593 catan(tmpd);
18594 cacosh(tmpd);
18595 casinh(tmpd);
18596 catanh(tmpd);
18597 typedef __complex__ long double ld_type; ld_type tmpld;
18598 cacosl(tmpld);
18599 casinl(tmpld);
18600 catanl(tmpld);
18601 cacoshl(tmpld);
18602 casinhl(tmpld);
18603 catanhl(tmpld);
18604
18605 ;
18606 return 0;
18607 }
18608 _ACEOF
18609 if ac_fn_cxx_try_compile "$LINENO"; then :
18610 ac_c99_complex_tr1=yes
18611 else
18612 ac_c99_complex_tr1=no
18613 fi
18614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18615 fi
18616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18617 $as_echo "$ac_c99_complex_tr1" >&6; }
18618 if test x"$ac_c99_complex_tr1" = x"yes"; then
18619
18620 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18621
18622 fi
18623
18624 # Check for the existence of <ctype.h> functions.
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18626 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18627 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18628 $as_echo_n "(cached) " >&6
18629 else
18630
18631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h. */
18633 #include <ctype.h>
18634 int
18635 main ()
18636 {
18637 int ch;
18638 int ret;
18639 ret = isblank(ch);
18640
18641 ;
18642 return 0;
18643 }
18644 _ACEOF
18645 if ac_fn_cxx_try_compile "$LINENO"; then :
18646 glibcxx_cv_c99_ctype_tr1=yes
18647 else
18648 glibcxx_cv_c99_ctype_tr1=no
18649 fi
18650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18651
18652 fi
18653
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18655 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18656 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18657
18658 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18659
18660 fi
18661
18662 # Check for the existence of <fenv.h> functions.
18663 for ac_header in fenv.h
18664 do :
18665 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18666 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18667 cat >>confdefs.h <<_ACEOF
18668 #define HAVE_FENV_H 1
18669 _ACEOF
18670 ac_has_fenv_h=yes
18671 else
18672 ac_has_fenv_h=no
18673 fi
18674
18675 done
18676
18677 ac_c99_fenv_tr1=no;
18678 if test x"$ac_has_fenv_h" = x"yes"; then
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18680 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18683 #include <fenv.h>
18684 int
18685 main ()
18686 {
18687 int except, mode;
18688 fexcept_t* pflag;
18689 fenv_t* penv;
18690 int ret;
18691 ret = feclearexcept(except);
18692 ret = fegetexceptflag(pflag, except);
18693 ret = feraiseexcept(except);
18694 ret = fesetexceptflag(pflag, except);
18695 ret = fetestexcept(except);
18696 ret = fegetround();
18697 ret = fesetround(mode);
18698 ret = fegetenv(penv);
18699 ret = feholdexcept(penv);
18700 ret = fesetenv(penv);
18701 ret = feupdateenv(penv);
18702
18703 ;
18704 return 0;
18705 }
18706 _ACEOF
18707 if ac_fn_cxx_try_compile "$LINENO"; then :
18708 ac_c99_fenv_tr1=yes
18709 else
18710 ac_c99_fenv_tr1=no
18711 fi
18712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18713 fi
18714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18715 $as_echo "$ac_c99_fenv_tr1" >&6; }
18716 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18717
18718 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18719
18720 fi
18721
18722 # Check for the existence of <stdint.h> types.
18723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18724 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18725 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18726 $as_echo_n "(cached) " >&6
18727 else
18728
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18731 #define __STDC_LIMIT_MACROS
18732 #define __STDC_CONSTANT_MACROS
18733 #include <stdint.h>
18734 int
18735 main ()
18736 {
18737 typedef int8_t my_int8_t;
18738 my_int8_t i8 = INT8_MIN;
18739 i8 = INT8_MAX;
18740 typedef int16_t my_int16_t;
18741 my_int16_t i16 = INT16_MIN;
18742 i16 = INT16_MAX;
18743 typedef int32_t my_int32_t;
18744 my_int32_t i32 = INT32_MIN;
18745 i32 = INT32_MAX;
18746 typedef int64_t my_int64_t;
18747 my_int64_t i64 = INT64_MIN;
18748 i64 = INT64_MAX;
18749 typedef int_fast8_t my_int_fast8_t;
18750 my_int_fast8_t if8 = INT_FAST8_MIN;
18751 if8 = INT_FAST8_MAX;
18752 typedef int_fast16_t my_int_fast16_t;
18753 my_int_fast16_t if16 = INT_FAST16_MIN;
18754 if16 = INT_FAST16_MAX;
18755 typedef int_fast32_t my_int_fast32_t;
18756 my_int_fast32_t if32 = INT_FAST32_MIN;
18757 if32 = INT_FAST32_MAX;
18758 typedef int_fast64_t my_int_fast64_t;
18759 my_int_fast64_t if64 = INT_FAST64_MIN;
18760 if64 = INT_FAST64_MAX;
18761 typedef int_least8_t my_int_least8_t;
18762 my_int_least8_t il8 = INT_LEAST8_MIN;
18763 il8 = INT_LEAST8_MAX;
18764 typedef int_least16_t my_int_least16_t;
18765 my_int_least16_t il16 = INT_LEAST16_MIN;
18766 il16 = INT_LEAST16_MAX;
18767 typedef int_least32_t my_int_least32_t;
18768 my_int_least32_t il32 = INT_LEAST32_MIN;
18769 il32 = INT_LEAST32_MAX;
18770 typedef int_least64_t my_int_least64_t;
18771 my_int_least64_t il64 = INT_LEAST64_MIN;
18772 il64 = INT_LEAST64_MAX;
18773 typedef intmax_t my_intmax_t;
18774 my_intmax_t im = INTMAX_MAX;
18775 im = INTMAX_MIN;
18776 typedef intptr_t my_intptr_t;
18777 my_intptr_t ip = INTPTR_MAX;
18778 ip = INTPTR_MIN;
18779 typedef uint8_t my_uint8_t;
18780 my_uint8_t ui8 = UINT8_MAX;
18781 ui8 = UINT8_MAX;
18782 typedef uint16_t my_uint16_t;
18783 my_uint16_t ui16 = UINT16_MAX;
18784 ui16 = UINT16_MAX;
18785 typedef uint32_t my_uint32_t;
18786 my_uint32_t ui32 = UINT32_MAX;
18787 ui32 = UINT32_MAX;
18788 typedef uint64_t my_uint64_t;
18789 my_uint64_t ui64 = UINT64_MAX;
18790 ui64 = UINT64_MAX;
18791 typedef uint_fast8_t my_uint_fast8_t;
18792 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18793 uif8 = UINT_FAST8_MAX;
18794 typedef uint_fast16_t my_uint_fast16_t;
18795 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18796 uif16 = UINT_FAST16_MAX;
18797 typedef uint_fast32_t my_uint_fast32_t;
18798 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18799 uif32 = UINT_FAST32_MAX;
18800 typedef uint_fast64_t my_uint_fast64_t;
18801 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18802 uif64 = UINT_FAST64_MAX;
18803 typedef uint_least8_t my_uint_least8_t;
18804 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18805 uil8 = UINT_LEAST8_MAX;
18806 typedef uint_least16_t my_uint_least16_t;
18807 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18808 uil16 = UINT_LEAST16_MAX;
18809 typedef uint_least32_t my_uint_least32_t;
18810 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18811 uil32 = UINT_LEAST32_MAX;
18812 typedef uint_least64_t my_uint_least64_t;
18813 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18814 uil64 = UINT_LEAST64_MAX;
18815 typedef uintmax_t my_uintmax_t;
18816 my_uintmax_t uim = UINTMAX_MAX;
18817 uim = UINTMAX_MAX;
18818 typedef uintptr_t my_uintptr_t;
18819 my_uintptr_t uip = UINTPTR_MAX;
18820 uip = UINTPTR_MAX;
18821
18822 ;
18823 return 0;
18824 }
18825 _ACEOF
18826 if ac_fn_cxx_try_compile "$LINENO"; then :
18827 glibcxx_cv_c99_stdint_tr1=yes
18828 else
18829 glibcxx_cv_c99_stdint_tr1=no
18830 fi
18831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18832
18833 fi
18834
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18836 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18837 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18838
18839 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18840
18841 fi
18842
18843 # Check for the existence of <math.h> functions.
18844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18845 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18846 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18847 $as_echo_n "(cached) " >&6
18848 else
18849
18850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18851 /* end confdefs.h. */
18852 #include <math.h>
18853 int
18854 main ()
18855 {
18856 typedef double_t my_double_t;
18857 typedef float_t my_float_t;
18858 acosh(0.0);
18859 acoshf(0.0f);
18860 acoshl(0.0l);
18861 asinh(0.0);
18862 asinhf(0.0f);
18863 asinhl(0.0l);
18864 atanh(0.0);
18865 atanhf(0.0f);
18866 atanhl(0.0l);
18867 cbrt(0.0);
18868 cbrtf(0.0f);
18869 cbrtl(0.0l);
18870 copysign(0.0, 0.0);
18871 copysignf(0.0f, 0.0f);
18872 copysignl(0.0l, 0.0l);
18873 erf(0.0);
18874 erff(0.0f);
18875 erfl(0.0l);
18876 erfc(0.0);
18877 erfcf(0.0f);
18878 erfcl(0.0l);
18879 exp2(0.0);
18880 exp2f(0.0f);
18881 exp2l(0.0l);
18882 expm1(0.0);
18883 expm1f(0.0f);
18884 expm1l(0.0l);
18885 fdim(0.0, 0.0);
18886 fdimf(0.0f, 0.0f);
18887 fdiml(0.0l, 0.0l);
18888 fma(0.0, 0.0, 0.0);
18889 fmaf(0.0f, 0.0f, 0.0f);
18890 fmal(0.0l, 0.0l, 0.0l);
18891 fmax(0.0, 0.0);
18892 fmaxf(0.0f, 0.0f);
18893 fmaxl(0.0l, 0.0l);
18894 fmin(0.0, 0.0);
18895 fminf(0.0f, 0.0f);
18896 fminl(0.0l, 0.0l);
18897 hypot(0.0, 0.0);
18898 hypotf(0.0f, 0.0f);
18899 hypotl(0.0l, 0.0l);
18900 ilogb(0.0);
18901 ilogbf(0.0f);
18902 ilogbl(0.0l);
18903 lgamma(0.0);
18904 lgammaf(0.0f);
18905 lgammal(0.0l);
18906 llrint(0.0);
18907 llrintf(0.0f);
18908 llrintl(0.0l);
18909 llround(0.0);
18910 llroundf(0.0f);
18911 llroundl(0.0l);
18912 log1p(0.0);
18913 log1pf(0.0f);
18914 log1pl(0.0l);
18915 log2(0.0);
18916 log2f(0.0f);
18917 log2l(0.0l);
18918 logb(0.0);
18919 logbf(0.0f);
18920 logbl(0.0l);
18921 lrint(0.0);
18922 lrintf(0.0f);
18923 lrintl(0.0l);
18924 lround(0.0);
18925 lroundf(0.0f);
18926 lroundl(0.0l);
18927 nan(0);
18928 nanf(0);
18929 nanl(0);
18930 nearbyint(0.0);
18931 nearbyintf(0.0f);
18932 nearbyintl(0.0l);
18933 nextafter(0.0, 0.0);
18934 nextafterf(0.0f, 0.0f);
18935 nextafterl(0.0l, 0.0l);
18936 nexttoward(0.0, 0.0);
18937 nexttowardf(0.0f, 0.0f);
18938 nexttowardl(0.0l, 0.0l);
18939 remainder(0.0, 0.0);
18940 remainderf(0.0f, 0.0f);
18941 remainderl(0.0l, 0.0l);
18942 remquo(0.0, 0.0, 0);
18943 remquof(0.0f, 0.0f, 0);
18944 remquol(0.0l, 0.0l, 0);
18945 rint(0.0);
18946 rintf(0.0f);
18947 rintl(0.0l);
18948 round(0.0);
18949 roundf(0.0f);
18950 roundl(0.0l);
18951 scalbln(0.0, 0l);
18952 scalblnf(0.0f, 0l);
18953 scalblnl(0.0l, 0l);
18954 scalbn(0.0, 0);
18955 scalbnf(0.0f, 0);
18956 scalbnl(0.0l, 0);
18957 tgamma(0.0);
18958 tgammaf(0.0f);
18959 tgammal(0.0l);
18960 trunc(0.0);
18961 truncf(0.0f);
18962 truncl(0.0l);
18963
18964 ;
18965 return 0;
18966 }
18967 _ACEOF
18968 if ac_fn_cxx_try_compile "$LINENO"; then :
18969 glibcxx_cv_c99_math_tr1=yes
18970 else
18971 glibcxx_cv_c99_math_tr1=no
18972 fi
18973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18974
18975 fi
18976
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18978 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18979 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18980
18981 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18982
18983 fi
18984
18985 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18986 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18987 ac_c99_inttypes_tr1=no;
18988 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18990 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18992 /* end confdefs.h. */
18993 #include <inttypes.h>
18994 int
18995 main ()
18996 {
18997 intmax_t i, numer, denom, base;
18998 const char* s;
18999 char** endptr;
19000 intmax_t ret = imaxabs(i);
19001 imaxdiv_t dret = imaxdiv(numer, denom);
19002 ret = strtoimax(s, endptr, base);
19003 uintmax_t uret = strtoumax(s, endptr, base);
19004
19005 ;
19006 return 0;
19007 }
19008 _ACEOF
19009 if ac_fn_cxx_try_compile "$LINENO"; then :
19010 ac_c99_inttypes_tr1=yes
19011 else
19012 ac_c99_inttypes_tr1=no
19013 fi
19014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19015 fi
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19017 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19018 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19019
19020 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19021
19022 fi
19023
19024 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19025 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19026 ac_c99_inttypes_wchar_t_tr1=no;
19027 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19029 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19031 /* end confdefs.h. */
19032 #include <inttypes.h>
19033 int
19034 main ()
19035 {
19036 intmax_t base;
19037 const wchar_t* s;
19038 wchar_t** endptr;
19039 intmax_t ret = wcstoimax(s, endptr, base);
19040 uintmax_t uret = wcstoumax(s, endptr, base);
19041
19042 ;
19043 return 0;
19044 }
19045 _ACEOF
19046 if ac_fn_cxx_try_compile "$LINENO"; then :
19047 ac_c99_inttypes_wchar_t_tr1=yes
19048 else
19049 ac_c99_inttypes_wchar_t_tr1=no
19050 fi
19051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19052 fi
19053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19054 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19055 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19056
19057 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19058
19059 fi
19060
19061 # Check for the existence of the <stdbool.h> header.
19062 for ac_header in stdbool.h
19063 do :
19064 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19065 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19066 cat >>confdefs.h <<_ACEOF
19067 #define HAVE_STDBOOL_H 1
19068 _ACEOF
19069
19070 fi
19071
19072 done
19073
19074
19075 # Check for the existence of the <stdalign.h> header.
19076 for ac_header in stdalign.h
19077 do :
19078 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19079 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19080 cat >>confdefs.h <<_ACEOF
19081 #define HAVE_STDALIGN_H 1
19082 _ACEOF
19083
19084 fi
19085
19086 done
19087
19088
19089 CXXFLAGS="$ac_save_CXXFLAGS"
19090 ac_ext=c
19091 ac_cpp='$CPP $CPPFLAGS'
19092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19095
19096
19097
19098 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19099
19100
19101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19102 $as_echo_n "checking for the value of EOF... " >&6; }
19103 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19104 $as_echo_n "(cached) " >&6
19105 else
19106
19107 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19108
19109 else
19110 as_fn_error "computing EOF failed" "$LINENO" 5
19111 fi
19112
19113
19114 fi
19115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19116 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19117
19118 cat >>confdefs.h <<_ACEOF
19119 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19120 _ACEOF
19121
19122
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19124 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19125 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19126 $as_echo_n "(cached) " >&6
19127 else
19128
19129 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19130
19131 else
19132 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19133 fi
19134
19135
19136 fi
19137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19138 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19139
19140 cat >>confdefs.h <<_ACEOF
19141 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19142 _ACEOF
19143
19144
19145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19146 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19147 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19148 $as_echo_n "(cached) " >&6
19149 else
19150
19151 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19152
19153 else
19154 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19155 fi
19156
19157
19158 fi
19159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19160 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19161
19162 cat >>confdefs.h <<_ACEOF
19163 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19164 _ACEOF
19165
19166
19167
19168 # For gettimeofday support.
19169
19170
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19172 $as_echo_n "checking for gettimeofday... " >&6; }
19173
19174
19175 ac_ext=cpp
19176 ac_cpp='$CXXCPP $CPPFLAGS'
19177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19180
19181 ac_save_CXXFLAGS="$CXXFLAGS"
19182 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19183
19184 ac_has_gettimeofday=no;
19185 for ac_header in sys/time.h
19186 do :
19187 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19188 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19189 cat >>confdefs.h <<_ACEOF
19190 #define HAVE_SYS_TIME_H 1
19191 _ACEOF
19192 ac_has_sys_time_h=yes
19193 else
19194 ac_has_sys_time_h=no
19195 fi
19196
19197 done
19198
19199 if test x"$ac_has_sys_time_h" = x"yes"; then
19200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19201 $as_echo_n "checking for gettimeofday... " >&6; }
19202 if test x$gcc_no_link = xyes; then
19203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19204 /* end confdefs.h. */
19205 #include <sys/time.h>
19206 int
19207 main ()
19208 {
19209 timeval tv; gettimeofday(&tv, 0);
19210 ;
19211 return 0;
19212 }
19213 _ACEOF
19214 if ac_fn_cxx_try_compile "$LINENO"; then :
19215 ac_has_gettimeofday=yes
19216 else
19217 ac_has_gettimeofday=no
19218 fi
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 else
19221 if test x$gcc_no_link = xyes; then
19222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19223 fi
19224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19225 /* end confdefs.h. */
19226 #include <sys/time.h>
19227 int
19228 main ()
19229 {
19230 timeval tv; gettimeofday(&tv, 0);
19231 ;
19232 return 0;
19233 }
19234 _ACEOF
19235 if ac_fn_cxx_try_link "$LINENO"; then :
19236 ac_has_gettimeofday=yes
19237 else
19238 ac_has_gettimeofday=no
19239 fi
19240 rm -f core conftest.err conftest.$ac_objext \
19241 conftest$ac_exeext conftest.$ac_ext
19242 fi
19243
19244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19245 $as_echo "$ac_has_gettimeofday" >&6; }
19246 fi
19247
19248 if test x"$ac_has_gettimeofday" = x"yes"; then
19249
19250 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19251
19252 fi
19253
19254 CXXFLAGS="$ac_save_CXXFLAGS"
19255 ac_ext=c
19256 ac_cpp='$CPP $CPPFLAGS'
19257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19260
19261
19262
19263 # For clock_gettime, nanosleep and sched_yield support.
19264 # NB: The default is [no], because otherwise it requires linking.
19265
19266
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19268 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19269 # Check whether --enable-libstdcxx-time was given.
19270 if test "${enable_libstdcxx_time+set}" = set; then :
19271 enableval=$enable_libstdcxx_time;
19272 case "$enableval" in
19273 yes|no|rt) ;;
19274 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19275 esac
19276
19277 else
19278 enable_libstdcxx_time=no
19279 fi
19280
19281
19282
19283
19284 ac_ext=cpp
19285 ac_cpp='$CXXCPP $CPPFLAGS'
19286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19289
19290 ac_save_CXXFLAGS="$CXXFLAGS"
19291 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19292 ac_save_LIBS="$LIBS"
19293
19294 ac_has_clock_monotonic=no
19295 ac_has_clock_realtime=no
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19297 $as_echo "$enable_libstdcxx_time" >&6; }
19298
19299 if test x"$enable_libstdcxx_time" != x"no"; then
19300
19301 if test x"$enable_libstdcxx_time" = x"rt"; then
19302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19303 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19304 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19305 $as_echo_n "(cached) " >&6
19306 else
19307 ac_func_search_save_LIBS=$LIBS
19308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19309 /* end confdefs.h. */
19310
19311 /* Override any GCC internal prototype to avoid an error.
19312 Use char because int might match the return type of a GCC
19313 builtin and then its argument prototype would still apply. */
19314 #ifdef __cplusplus
19315 extern "C"
19316 #endif
19317 char clock_gettime ();
19318 int
19319 main ()
19320 {
19321 return clock_gettime ();
19322 ;
19323 return 0;
19324 }
19325 _ACEOF
19326 for ac_lib in '' rt posix4; do
19327 if test -z "$ac_lib"; then
19328 ac_res="none required"
19329 else
19330 ac_res=-l$ac_lib
19331 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19332 fi
19333 if test x$gcc_no_link = xyes; then
19334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19335 fi
19336 if ac_fn_cxx_try_link "$LINENO"; then :
19337 ac_cv_search_clock_gettime=$ac_res
19338 fi
19339 rm -f core conftest.err conftest.$ac_objext \
19340 conftest$ac_exeext
19341 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19342 break
19343 fi
19344 done
19345 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19346
19347 else
19348 ac_cv_search_clock_gettime=no
19349 fi
19350 rm conftest.$ac_ext
19351 LIBS=$ac_func_search_save_LIBS
19352 fi
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19354 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19355 ac_res=$ac_cv_search_clock_gettime
19356 if test "$ac_res" != no; then :
19357 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19358
19359 fi
19360
19361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19362 $as_echo_n "checking for library containing nanosleep... " >&6; }
19363 if test "${ac_cv_search_nanosleep+set}" = set; then :
19364 $as_echo_n "(cached) " >&6
19365 else
19366 ac_func_search_save_LIBS=$LIBS
19367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19369
19370 /* Override any GCC internal prototype to avoid an error.
19371 Use char because int might match the return type of a GCC
19372 builtin and then its argument prototype would still apply. */
19373 #ifdef __cplusplus
19374 extern "C"
19375 #endif
19376 char nanosleep ();
19377 int
19378 main ()
19379 {
19380 return nanosleep ();
19381 ;
19382 return 0;
19383 }
19384 _ACEOF
19385 for ac_lib in '' rt posix4; do
19386 if test -z "$ac_lib"; then
19387 ac_res="none required"
19388 else
19389 ac_res=-l$ac_lib
19390 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19391 fi
19392 if test x$gcc_no_link = xyes; then
19393 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19394 fi
19395 if ac_fn_cxx_try_link "$LINENO"; then :
19396 ac_cv_search_nanosleep=$ac_res
19397 fi
19398 rm -f core conftest.err conftest.$ac_objext \
19399 conftest$ac_exeext
19400 if test "${ac_cv_search_nanosleep+set}" = set; then :
19401 break
19402 fi
19403 done
19404 if test "${ac_cv_search_nanosleep+set}" = set; then :
19405
19406 else
19407 ac_cv_search_nanosleep=no
19408 fi
19409 rm conftest.$ac_ext
19410 LIBS=$ac_func_search_save_LIBS
19411 fi
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19413 $as_echo "$ac_cv_search_nanosleep" >&6; }
19414 ac_res=$ac_cv_search_nanosleep
19415 if test "$ac_res" != no; then :
19416 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19417
19418 fi
19419
19420 else
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19422 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19423 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19424 $as_echo_n "(cached) " >&6
19425 else
19426 ac_func_search_save_LIBS=$LIBS
19427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19429
19430 /* Override any GCC internal prototype to avoid an error.
19431 Use char because int might match the return type of a GCC
19432 builtin and then its argument prototype would still apply. */
19433 #ifdef __cplusplus
19434 extern "C"
19435 #endif
19436 char clock_gettime ();
19437 int
19438 main ()
19439 {
19440 return clock_gettime ();
19441 ;
19442 return 0;
19443 }
19444 _ACEOF
19445 for ac_lib in '' posix4; do
19446 if test -z "$ac_lib"; then
19447 ac_res="none required"
19448 else
19449 ac_res=-l$ac_lib
19450 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19451 fi
19452 if test x$gcc_no_link = xyes; then
19453 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19454 fi
19455 if ac_fn_cxx_try_link "$LINENO"; then :
19456 ac_cv_search_clock_gettime=$ac_res
19457 fi
19458 rm -f core conftest.err conftest.$ac_objext \
19459 conftest$ac_exeext
19460 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19461 break
19462 fi
19463 done
19464 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19465
19466 else
19467 ac_cv_search_clock_gettime=no
19468 fi
19469 rm conftest.$ac_ext
19470 LIBS=$ac_func_search_save_LIBS
19471 fi
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19473 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19474 ac_res=$ac_cv_search_clock_gettime
19475 if test "$ac_res" != no; then :
19476 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19477
19478 fi
19479
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19481 $as_echo_n "checking for library containing nanosleep... " >&6; }
19482 if test "${ac_cv_search_nanosleep+set}" = set; then :
19483 $as_echo_n "(cached) " >&6
19484 else
19485 ac_func_search_save_LIBS=$LIBS
19486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19487 /* end confdefs.h. */
19488
19489 /* Override any GCC internal prototype to avoid an error.
19490 Use char because int might match the return type of a GCC
19491 builtin and then its argument prototype would still apply. */
19492 #ifdef __cplusplus
19493 extern "C"
19494 #endif
19495 char nanosleep ();
19496 int
19497 main ()
19498 {
19499 return nanosleep ();
19500 ;
19501 return 0;
19502 }
19503 _ACEOF
19504 for ac_lib in '' posix4; do
19505 if test -z "$ac_lib"; then
19506 ac_res="none required"
19507 else
19508 ac_res=-l$ac_lib
19509 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19510 fi
19511 if test x$gcc_no_link = xyes; then
19512 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19513 fi
19514 if ac_fn_cxx_try_link "$LINENO"; then :
19515 ac_cv_search_nanosleep=$ac_res
19516 fi
19517 rm -f core conftest.err conftest.$ac_objext \
19518 conftest$ac_exeext
19519 if test "${ac_cv_search_nanosleep+set}" = set; then :
19520 break
19521 fi
19522 done
19523 if test "${ac_cv_search_nanosleep+set}" = set; then :
19524
19525 else
19526 ac_cv_search_nanosleep=no
19527 fi
19528 rm conftest.$ac_ext
19529 LIBS=$ac_func_search_save_LIBS
19530 fi
19531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19532 $as_echo "$ac_cv_search_nanosleep" >&6; }
19533 ac_res=$ac_cv_search_nanosleep
19534 if test "$ac_res" != no; then :
19535 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19536
19537 fi
19538
19539 fi
19540
19541 case "$ac_cv_search_clock_gettime" in
19542 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19543 ;;
19544 esac
19545 case "$ac_cv_search_nanosleep" in
19546 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19547 ;;
19548 esac
19549
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19551 $as_echo_n "checking for library containing sched_yield... " >&6; }
19552 if test "${ac_cv_search_sched_yield+set}" = set; then :
19553 $as_echo_n "(cached) " >&6
19554 else
19555 ac_func_search_save_LIBS=$LIBS
19556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19557 /* end confdefs.h. */
19558
19559 /* Override any GCC internal prototype to avoid an error.
19560 Use char because int might match the return type of a GCC
19561 builtin and then its argument prototype would still apply. */
19562 #ifdef __cplusplus
19563 extern "C"
19564 #endif
19565 char sched_yield ();
19566 int
19567 main ()
19568 {
19569 return sched_yield ();
19570 ;
19571 return 0;
19572 }
19573 _ACEOF
19574 for ac_lib in '' rt posix4; do
19575 if test -z "$ac_lib"; then
19576 ac_res="none required"
19577 else
19578 ac_res=-l$ac_lib
19579 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19580 fi
19581 if test x$gcc_no_link = xyes; then
19582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19583 fi
19584 if ac_fn_cxx_try_link "$LINENO"; then :
19585 ac_cv_search_sched_yield=$ac_res
19586 fi
19587 rm -f core conftest.err conftest.$ac_objext \
19588 conftest$ac_exeext
19589 if test "${ac_cv_search_sched_yield+set}" = set; then :
19590 break
19591 fi
19592 done
19593 if test "${ac_cv_search_sched_yield+set}" = set; then :
19594
19595 else
19596 ac_cv_search_sched_yield=no
19597 fi
19598 rm conftest.$ac_ext
19599 LIBS=$ac_func_search_save_LIBS
19600 fi
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19602 $as_echo "$ac_cv_search_sched_yield" >&6; }
19603 ac_res=$ac_cv_search_sched_yield
19604 if test "$ac_res" != no; then :
19605 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19606
19607 fi
19608
19609
19610 case "$ac_cv_search_sched_yield" in
19611 -lposix4*)
19612 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19613
19614 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19615
19616 ;;
19617 -lrt*)
19618 if test x"$enable_libstdcxx_time" = x"rt"; then
19619 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19620
19621 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19622
19623 fi
19624 ;;
19625 *)
19626
19627 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19628
19629 ;;
19630 esac
19631
19632 for ac_header in unistd.h
19633 do :
19634 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19635 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19636 cat >>confdefs.h <<_ACEOF
19637 #define HAVE_UNISTD_H 1
19638 _ACEOF
19639 ac_has_unistd_h=yes
19640 else
19641 ac_has_unistd_h=no
19642 fi
19643
19644 done
19645
19646
19647 if test x"$ac_has_unistd_h" = x"yes"; then
19648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19649 $as_echo_n "checking for monotonic clock... " >&6; }
19650 if test x$gcc_no_link = xyes; then
19651 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19652 fi
19653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19654 /* end confdefs.h. */
19655 #include <unistd.h>
19656 #include <time.h>
19657
19658 int
19659 main ()
19660 {
19661 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19662 timespec tp;
19663 #endif
19664 clock_gettime(CLOCK_MONOTONIC, &tp);
19665
19666 ;
19667 return 0;
19668 }
19669 _ACEOF
19670 if ac_fn_cxx_try_link "$LINENO"; then :
19671 ac_has_clock_monotonic=yes
19672 else
19673 ac_has_clock_monotonic=no
19674 fi
19675 rm -f core conftest.err conftest.$ac_objext \
19676 conftest$ac_exeext conftest.$ac_ext
19677
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19679 $as_echo "$ac_has_clock_monotonic" >&6; }
19680
19681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19682 $as_echo_n "checking for realtime clock... " >&6; }
19683 if test x$gcc_no_link = xyes; then
19684 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19685 fi
19686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19687 /* end confdefs.h. */
19688 #include <unistd.h>
19689 #include <time.h>
19690
19691 int
19692 main ()
19693 {
19694 #if _POSIX_TIMERS > 0
19695 timespec tp;
19696 #endif
19697 clock_gettime(CLOCK_REALTIME, &tp);
19698
19699 ;
19700 return 0;
19701 }
19702 _ACEOF
19703 if ac_fn_cxx_try_link "$LINENO"; then :
19704 ac_has_clock_realtime=yes
19705 else
19706 ac_has_clock_realtime=no
19707 fi
19708 rm -f core conftest.err conftest.$ac_objext \
19709 conftest$ac_exeext conftest.$ac_ext
19710
19711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19712 $as_echo "$ac_has_clock_realtime" >&6; }
19713
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19715 $as_echo_n "checking for nanosleep... " >&6; }
19716 if test x$gcc_no_link = xyes; then
19717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19718 fi
19719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19720 /* end confdefs.h. */
19721 #include <unistd.h>
19722 #include <time.h>
19723
19724 int
19725 main ()
19726 {
19727 #if _POSIX_TIMERS > 0
19728 timespec tp;
19729 #endif
19730 nanosleep(&tp, 0);
19731
19732 ;
19733 return 0;
19734 }
19735 _ACEOF
19736 if ac_fn_cxx_try_link "$LINENO"; then :
19737 ac_has_nanosleep=yes
19738 else
19739 ac_has_nanosleep=no
19740 fi
19741 rm -f core conftest.err conftest.$ac_objext \
19742 conftest$ac_exeext conftest.$ac_ext
19743
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19745 $as_echo "$ac_has_nanosleep" >&6; }
19746 fi
19747 fi
19748
19749 if test x"$ac_has_clock_monotonic" = x"yes"; then
19750
19751 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19752
19753 fi
19754
19755 if test x"$ac_has_clock_realtime" = x"yes"; then
19756
19757 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19758
19759 fi
19760
19761 if test x"$ac_has_nanosleep" = x"yes"; then
19762
19763 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19764
19765 fi
19766
19767
19768
19769 CXXFLAGS="$ac_save_CXXFLAGS"
19770 LIBS="$ac_save_LIBS"
19771 ac_ext=c
19772 ac_cpp='$CPP $CPPFLAGS'
19773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19776
19777
19778
19779
19780 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19781 if test "x$ac_cv_header_locale_h" = x""yes; then :
19782
19783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19784 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19785 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19786 $as_echo_n "(cached) " >&6
19787 else
19788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19789 /* end confdefs.h. */
19790 #include <locale.h>
19791 int
19792 main ()
19793 {
19794 return LC_MESSAGES
19795 ;
19796 return 0;
19797 }
19798 _ACEOF
19799 if ac_fn_c_try_compile "$LINENO"; then :
19800 ac_cv_val_LC_MESSAGES=yes
19801 else
19802 ac_cv_val_LC_MESSAGES=no
19803 fi
19804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19805 fi
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19807 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19808 if test $ac_cv_val_LC_MESSAGES = yes; then
19809
19810 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19811
19812 fi
19813
19814 fi
19815
19816
19817
19818
19819 # For hardware_concurrency
19820 for ac_header in sys/sysinfo.h
19821 do :
19822 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19823 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19824 cat >>confdefs.h <<_ACEOF
19825 #define HAVE_SYS_SYSINFO_H 1
19826 _ACEOF
19827
19828 fi
19829
19830 done
19831
19832
19833
19834
19835 ac_ext=cpp
19836 ac_cpp='$CXXCPP $CPPFLAGS'
19837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19840
19841 ac_save_CXXFLAGS="$CXXFLAGS"
19842 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19843
19844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19845 $as_echo_n "checking for get_nprocs... " >&6; }
19846 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19847 $as_echo_n "(cached) " >&6
19848 else
19849
19850 if test x$gcc_no_link = xyes; then
19851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19852 /* end confdefs.h. */
19853 #include <sys/sysinfo.h>
19854 int
19855 main ()
19856 {
19857 int n = get_nprocs();
19858 ;
19859 return 0;
19860 }
19861 _ACEOF
19862 if ac_fn_cxx_try_compile "$LINENO"; then :
19863 glibcxx_cv_GET_NPROCS=yes
19864 else
19865 glibcxx_cv_GET_NPROCS=no
19866 fi
19867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19868 else
19869 if test x$gcc_no_link = xyes; then
19870 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19871 fi
19872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19873 /* end confdefs.h. */
19874 #include <sys/sysinfo.h>
19875 int
19876 main ()
19877 {
19878 int n = get_nprocs();
19879 ;
19880 return 0;
19881 }
19882 _ACEOF
19883 if ac_fn_cxx_try_link "$LINENO"; then :
19884 glibcxx_cv_GET_NPROCS=yes
19885 else
19886 glibcxx_cv_GET_NPROCS=no
19887 fi
19888 rm -f core conftest.err conftest.$ac_objext \
19889 conftest$ac_exeext conftest.$ac_ext
19890 fi
19891
19892 fi
19893
19894 if test $glibcxx_cv_GET_NPROCS = yes; then
19895
19896 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19897
19898 fi
19899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19900 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19901
19902 CXXFLAGS="$ac_save_CXXFLAGS"
19903 ac_ext=c
19904 ac_cpp='$CPP $CPPFLAGS'
19905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19908
19909
19910 for ac_header in unistd.h
19911 do :
19912 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19913 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19914 cat >>confdefs.h <<_ACEOF
19915 #define HAVE_UNISTD_H 1
19916 _ACEOF
19917
19918 fi
19919
19920 done
19921
19922
19923
19924
19925 ac_ext=cpp
19926 ac_cpp='$CXXCPP $CPPFLAGS'
19927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19930
19931 ac_save_CXXFLAGS="$CXXFLAGS"
19932 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19933
19934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
19935 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
19936 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
19937 $as_echo_n "(cached) " >&6
19938 else
19939
19940 if test x$gcc_no_link = xyes; then
19941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19942 /* end confdefs.h. */
19943 #include <unistd.h>
19944 int
19945 main ()
19946 {
19947 int n = sysconf(_SC_NPROCESSORS_ONLN);
19948 ;
19949 return 0;
19950 }
19951 _ACEOF
19952 if ac_fn_cxx_try_compile "$LINENO"; then :
19953 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19954 else
19955 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19956 fi
19957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19958 else
19959 if test x$gcc_no_link = xyes; then
19960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19961 fi
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19964 #include <unistd.h>
19965 int
19966 main ()
19967 {
19968 int n = sysconf(_SC_NPROCESSORS_ONLN);
19969 ;
19970 return 0;
19971 }
19972 _ACEOF
19973 if ac_fn_cxx_try_link "$LINENO"; then :
19974 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
19975 else
19976 glibcxx_cv_SC_NPROCESSORS_ONLN=no
19977 fi
19978 rm -f core conftest.err conftest.$ac_objext \
19979 conftest$ac_exeext conftest.$ac_ext
19980 fi
19981
19982 fi
19983
19984 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
19985
19986 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
19987
19988 fi
19989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
19990 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
19991
19992 CXXFLAGS="$ac_save_CXXFLAGS"
19993 ac_ext=c
19994 ac_cpp='$CPP $CPPFLAGS'
19995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19998
19999
20000
20001
20002
20003 ac_ext=cpp
20004 ac_cpp='$CXXCPP $CPPFLAGS'
20005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20008
20009 ac_save_CXXFLAGS="$CXXFLAGS"
20010 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20011
20012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20013 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20014 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20015 $as_echo_n "(cached) " >&6
20016 else
20017
20018 if test x$gcc_no_link = xyes; then
20019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20020 /* end confdefs.h. */
20021 #include <unistd.h>
20022 int
20023 main ()
20024 {
20025 int n = sysconf(_SC_NPROC_ONLN);
20026 ;
20027 return 0;
20028 }
20029 _ACEOF
20030 if ac_fn_cxx_try_compile "$LINENO"; then :
20031 glibcxx_cv_SC_NPROC_ONLN=yes
20032 else
20033 glibcxx_cv_SC_NPROC_ONLN=no
20034 fi
20035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20036 else
20037 if test x$gcc_no_link = xyes; then
20038 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20039 fi
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20042 #include <unistd.h>
20043 int
20044 main ()
20045 {
20046 int n = sysconf(_SC_NPROC_ONLN);
20047 ;
20048 return 0;
20049 }
20050 _ACEOF
20051 if ac_fn_cxx_try_link "$LINENO"; then :
20052 glibcxx_cv_SC_NPROC_ONLN=yes
20053 else
20054 glibcxx_cv_SC_NPROC_ONLN=no
20055 fi
20056 rm -f core conftest.err conftest.$ac_objext \
20057 conftest$ac_exeext conftest.$ac_ext
20058 fi
20059
20060 fi
20061
20062 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20063
20064 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20065
20066 fi
20067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20068 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20069
20070 CXXFLAGS="$ac_save_CXXFLAGS"
20071 ac_ext=c
20072 ac_cpp='$CPP $CPPFLAGS'
20073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20076
20077
20078
20079
20080
20081 ac_ext=cpp
20082 ac_cpp='$CXXCPP $CPPFLAGS'
20083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20086
20087 ac_save_CXXFLAGS="$CXXFLAGS"
20088 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20089
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20091 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20092 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20093 $as_echo_n "(cached) " >&6
20094 else
20095
20096 if test x$gcc_no_link = xyes; then
20097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20098 /* end confdefs.h. */
20099 #include <pthread.h>
20100 int
20101 main ()
20102 {
20103 int n = pthread_num_processors_np();
20104 ;
20105 return 0;
20106 }
20107 _ACEOF
20108 if ac_fn_cxx_try_compile "$LINENO"; then :
20109 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20110 else
20111 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20112 fi
20113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20114 else
20115 if test x$gcc_no_link = xyes; then
20116 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20117 fi
20118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20119 /* end confdefs.h. */
20120 #include <pthread.h>
20121 int
20122 main ()
20123 {
20124 int n = pthread_num_processors_np();
20125 ;
20126 return 0;
20127 }
20128 _ACEOF
20129 if ac_fn_cxx_try_link "$LINENO"; then :
20130 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20131 else
20132 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20133 fi
20134 rm -f core conftest.err conftest.$ac_objext \
20135 conftest$ac_exeext conftest.$ac_ext
20136 fi
20137
20138 fi
20139
20140 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20141
20142 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20143
20144 fi
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20146 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20147
20148 CXXFLAGS="$ac_save_CXXFLAGS"
20149 ac_ext=c
20150 ac_cpp='$CPP $CPPFLAGS'
20151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20154
20155
20156
20157
20158
20159 ac_ext=cpp
20160 ac_cpp='$CXXCPP $CPPFLAGS'
20161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20164
20165 ac_save_CXXFLAGS="$CXXFLAGS"
20166 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20167
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20169 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20170 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20171 $as_echo_n "(cached) " >&6
20172 else
20173
20174 if test x$gcc_no_link = xyes; then
20175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20176 /* end confdefs.h. */
20177
20178 #include <stddef.h>
20179 #include <sys/sysctl.h>
20180
20181 int
20182 main ()
20183 {
20184
20185 int count;
20186 size_t size = sizeof(count);
20187 int mib[] = { CTL_HW, HW_NCPU };
20188 sysctl(mib, 2, &count, &size, NULL, 0);
20189
20190 ;
20191 return 0;
20192 }
20193 _ACEOF
20194 if ac_fn_cxx_try_compile "$LINENO"; then :
20195 glibcxx_cv_SYSCTL_HW_NCPU=yes
20196 else
20197 glibcxx_cv_SYSCTL_HW_NCPU=no
20198 fi
20199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20200 else
20201 if test x$gcc_no_link = xyes; then
20202 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20203 fi
20204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20205 /* end confdefs.h. */
20206
20207 #include <stddef.h>
20208 #include <sys/sysctl.h>
20209
20210 int
20211 main ()
20212 {
20213
20214 int count;
20215 size_t size = sizeof(count);
20216 int mib[] = { CTL_HW, HW_NCPU };
20217 sysctl(mib, 2, &count, &size, NULL, 0);
20218
20219 ;
20220 return 0;
20221 }
20222 _ACEOF
20223 if ac_fn_cxx_try_link "$LINENO"; then :
20224 glibcxx_cv_SYSCTL_HW_NCPU=yes
20225 else
20226 glibcxx_cv_SYSCTL_HW_NCPU=no
20227 fi
20228 rm -f core conftest.err conftest.$ac_objext \
20229 conftest$ac_exeext conftest.$ac_ext
20230 fi
20231
20232 fi
20233
20234 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20235
20236 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20237
20238 fi
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20240 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20241
20242 CXXFLAGS="$ac_save_CXXFLAGS"
20243 ac_ext=c
20244 ac_cpp='$CPP $CPPFLAGS'
20245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20248
20249
20250
20251 # Check for available headers.
20252 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20253 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20254 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20255 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20256 wchar.h wctype.h
20257 do :
20258 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20259 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20260 eval as_val=\$$as_ac_Header
20261 if test "x$as_val" = x""yes; then :
20262 cat >>confdefs.h <<_ACEOF
20263 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20264 _ACEOF
20265
20266 fi
20267
20268 done
20269
20270
20271 # Only do link tests if native. Else, hardcode.
20272 if $GLIBCXX_IS_NATIVE; then
20273
20274 # We can do more elaborate tests that assume a working linker.
20275 CANADIAN=no
20276
20277
20278
20279 # Check whether --with-gnu-ld was given.
20280 if test "${with_gnu_ld+set}" = set; then :
20281 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20282 else
20283 with_gnu_ld=no
20284 fi
20285
20286 ac_prog=ld
20287 if test "$GCC" = yes; then
20288 # Check if gcc -print-prog-name=ld gives a path.
20289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20290 $as_echo_n "checking for ld used by $CC... " >&6; }
20291 case $host in
20292 *-*-mingw*)
20293 # gcc leaves a trailing carriage return which upsets mingw
20294 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20295 *)
20296 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20297 esac
20298 case $ac_prog in
20299 # Accept absolute paths.
20300 [\\/]* | ?:[\\/]*)
20301 re_direlt='/[^/][^/]*/\.\./'
20302 # Canonicalize the pathname of ld
20303 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20304 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20305 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20306 done
20307 test -z "$LD" && LD="$ac_prog"
20308 ;;
20309 "")
20310 # If it fails, then pretend we aren't using GCC.
20311 ac_prog=ld
20312 ;;
20313 *)
20314 # If it is relative, then search for the first ld in PATH.
20315 with_gnu_ld=unknown
20316 ;;
20317 esac
20318 elif test "$with_gnu_ld" = yes; then
20319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20320 $as_echo_n "checking for GNU ld... " >&6; }
20321 else
20322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20323 $as_echo_n "checking for non-GNU ld... " >&6; }
20324 fi
20325 if test "${lt_cv_path_LD+set}" = set; then :
20326 $as_echo_n "(cached) " >&6
20327 else
20328 if test -z "$LD"; then
20329 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20330 for ac_dir in $PATH; do
20331 IFS="$lt_save_ifs"
20332 test -z "$ac_dir" && ac_dir=.
20333 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20334 lt_cv_path_LD="$ac_dir/$ac_prog"
20335 # Check to see if the program is GNU ld. I'd rather use --version,
20336 # but apparently some variants of GNU ld only accept -v.
20337 # Break only if it was the GNU/non-GNU ld that we prefer.
20338 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20339 *GNU* | *'with BFD'*)
20340 test "$with_gnu_ld" != no && break
20341 ;;
20342 *)
20343 test "$with_gnu_ld" != yes && break
20344 ;;
20345 esac
20346 fi
20347 done
20348 IFS="$lt_save_ifs"
20349 else
20350 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20351 fi
20352 fi
20353
20354 LD="$lt_cv_path_LD"
20355 if test -n "$LD"; then
20356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20357 $as_echo "$LD" >&6; }
20358 else
20359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20360 $as_echo "no" >&6; }
20361 fi
20362 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20364 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20365 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20366 $as_echo_n "(cached) " >&6
20367 else
20368 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20369 case `$LD -v 2>&1 </dev/null` in
20370 *GNU* | *'with BFD'*)
20371 lt_cv_prog_gnu_ld=yes
20372 ;;
20373 *)
20374 lt_cv_prog_gnu_ld=no
20375 ;;
20376 esac
20377 fi
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20379 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20380 with_gnu_ld=$lt_cv_prog_gnu_ld
20381
20382
20383
20384
20385
20386
20387
20388 # If we're not using GNU ld, then there's no point in even trying these
20389 # tests. Check for that first. We should have already tested for gld
20390 # by now (in libtool), but require it now just to be safe...
20391 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20392 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20393
20394
20395
20396 # The name set by libtool depends on the version of libtool. Shame on us
20397 # for depending on an impl detail, but c'est la vie. Older versions used
20398 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20399 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20400 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20401 # set (hence we're using an older libtool), then set it.
20402 if test x${with_gnu_ld+set} != xset; then
20403 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20404 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20405 with_gnu_ld=no
20406 else
20407 with_gnu_ld=$ac_cv_prog_gnu_ld
20408 fi
20409 fi
20410
20411 # Start by getting the version number. I think the libtool test already
20412 # does some of this, but throws away the result.
20413 glibcxx_ld_is_gold=no
20414 if test x"$with_gnu_ld" = x"yes"; then
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20416 $as_echo_n "checking for ld version... " >&6; }
20417
20418 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20419 glibcxx_ld_is_gold=yes
20420 fi
20421 ldver=`$LD --version 2>/dev/null |
20422 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
20423
20424 glibcxx_gnu_ld_version=`echo $ldver | \
20425 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20427 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20428 fi
20429
20430 # Set --gc-sections.
20431 glibcxx_have_gc_sections=no
20432 if test "$glibcxx_ld_is_gold" = "yes"; then
20433 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20434 glibcxx_have_gc_sections=yes
20435 fi
20436 else
20437 glibcxx_gcsections_min_ld=21602
20438 if test x"$with_gnu_ld" = x"yes" &&
20439 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20440 glibcxx_have_gc_sections=yes
20441 fi
20442 fi
20443 if test "$glibcxx_have_gc_sections" = "yes"; then
20444 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20445 # NB: This flag only works reliably after 2.16.1. Configure tests
20446 # for this are difficult, so hard wire a value that should work.
20447
20448 ac_test_CFLAGS="${CFLAGS+set}"
20449 ac_save_CFLAGS="$CFLAGS"
20450 CFLAGS='-Wl,--gc-sections'
20451
20452 # Check for -Wl,--gc-sections
20453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20454 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20455 if test x$gcc_no_link = xyes; then
20456 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20457 fi
20458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20459 /* end confdefs.h. */
20460 int one(void) { return 1; }
20461 int two(void) { return 2; }
20462
20463 int
20464 main ()
20465 {
20466 two();
20467 ;
20468 return 0;
20469 }
20470 _ACEOF
20471 if ac_fn_c_try_link "$LINENO"; then :
20472 ac_gcsections=yes
20473 else
20474 ac_gcsections=no
20475 fi
20476 rm -f core conftest.err conftest.$ac_objext \
20477 conftest$ac_exeext conftest.$ac_ext
20478 if test "$ac_gcsections" = "yes"; then
20479 rm -f conftest.c
20480 touch conftest.c
20481 if $CC -c conftest.c; then
20482 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20483 grep "Warning: gc-sections option ignored" > /dev/null; then
20484 ac_gcsections=no
20485 fi
20486 fi
20487 rm -f conftest.c conftest.o conftest
20488 fi
20489 if test "$ac_gcsections" = "yes"; then
20490 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20491 fi
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20493 $as_echo "$ac_gcsections" >&6; }
20494
20495 if test "$ac_test_CFLAGS" = set; then
20496 CFLAGS="$ac_save_CFLAGS"
20497 else
20498 # this is the suspicious part
20499 CFLAGS=''
20500 fi
20501 fi
20502
20503 # Set -z,relro.
20504 # Note this is only for shared objects.
20505 ac_ld_relro=no
20506 if test x"$with_gnu_ld" = x"yes"; then
20507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20508 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20509 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20510 if test -n "$cxx_z_relo"; then
20511 OPT_LDFLAGS="-Wl,-z,relro"
20512 ac_ld_relro=yes
20513 fi
20514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20515 $as_echo "$ac_ld_relro" >&6; }
20516 fi
20517
20518 # Set linker optimization flags.
20519 if test x"$with_gnu_ld" = x"yes"; then
20520 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20521 fi
20522
20523
20524
20525
20526
20527 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20528 ac_save_CXXFLAGS="$CXXFLAGS"
20529 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20530
20531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20532 $as_echo_n "checking for sin in -lm... " >&6; }
20533 if test "${ac_cv_lib_m_sin+set}" = set; then :
20534 $as_echo_n "(cached) " >&6
20535 else
20536 ac_check_lib_save_LIBS=$LIBS
20537 LIBS="-lm $LIBS"
20538 if test x$gcc_no_link = xyes; then
20539 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20540 fi
20541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20542 /* end confdefs.h. */
20543
20544 /* Override any GCC internal prototype to avoid an error.
20545 Use char because int might match the return type of a GCC
20546 builtin and then its argument prototype would still apply. */
20547 #ifdef __cplusplus
20548 extern "C"
20549 #endif
20550 char sin ();
20551 int
20552 main ()
20553 {
20554 return sin ();
20555 ;
20556 return 0;
20557 }
20558 _ACEOF
20559 if ac_fn_c_try_link "$LINENO"; then :
20560 ac_cv_lib_m_sin=yes
20561 else
20562 ac_cv_lib_m_sin=no
20563 fi
20564 rm -f core conftest.err conftest.$ac_objext \
20565 conftest$ac_exeext conftest.$ac_ext
20566 LIBS=$ac_check_lib_save_LIBS
20567 fi
20568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20569 $as_echo "$ac_cv_lib_m_sin" >&6; }
20570 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20571 libm="-lm"
20572 fi
20573
20574 ac_save_LIBS="$LIBS"
20575 LIBS="$LIBS $libm"
20576
20577
20578
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20580 $as_echo_n "checking for isinf declaration... " >&6; }
20581 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20582 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20583 $as_echo_n "(cached) " >&6
20584 else
20585
20586
20587 ac_ext=cpp
20588 ac_cpp='$CXXCPP $CPPFLAGS'
20589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20592
20593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20594 /* end confdefs.h. */
20595 #include <math.h>
20596 #ifdef HAVE_IEEEFP_H
20597 #include <ieeefp.h>
20598 #endif
20599
20600 int
20601 main ()
20602 {
20603 isinf(0);
20604 ;
20605 return 0;
20606 }
20607 _ACEOF
20608 if ac_fn_cxx_try_compile "$LINENO"; then :
20609 glibcxx_cv_func_isinf_use=yes
20610 else
20611 glibcxx_cv_func_isinf_use=no
20612 fi
20613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20614 ac_ext=c
20615 ac_cpp='$CPP $CPPFLAGS'
20616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20619
20620
20621 fi
20622
20623 fi
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20625 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20626
20627 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20628 for ac_func in isinf
20629 do :
20630 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20631 if test "x$ac_cv_func_isinf" = x""yes; then :
20632 cat >>confdefs.h <<_ACEOF
20633 #define HAVE_ISINF 1
20634 _ACEOF
20635
20636 fi
20637 done
20638
20639 else
20640
20641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20642 $as_echo_n "checking for _isinf declaration... " >&6; }
20643 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20644 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20645 $as_echo_n "(cached) " >&6
20646 else
20647
20648
20649 ac_ext=cpp
20650 ac_cpp='$CXXCPP $CPPFLAGS'
20651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20654
20655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h. */
20657 #include <math.h>
20658 #ifdef HAVE_IEEEFP_H
20659 #include <ieeefp.h>
20660 #endif
20661
20662 int
20663 main ()
20664 {
20665 _isinf(0);
20666 ;
20667 return 0;
20668 }
20669 _ACEOF
20670 if ac_fn_cxx_try_compile "$LINENO"; then :
20671 glibcxx_cv_func__isinf_use=yes
20672 else
20673 glibcxx_cv_func__isinf_use=no
20674 fi
20675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20676 ac_ext=c
20677 ac_cpp='$CPP $CPPFLAGS'
20678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20681
20682
20683 fi
20684
20685 fi
20686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20687 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20688
20689 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20690 for ac_func in _isinf
20691 do :
20692 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20693 if test "x$ac_cv_func__isinf" = x""yes; then :
20694 cat >>confdefs.h <<_ACEOF
20695 #define HAVE__ISINF 1
20696 _ACEOF
20697
20698 fi
20699 done
20700
20701 fi
20702 fi
20703
20704
20705
20706
20707
20708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20709 $as_echo_n "checking for isnan declaration... " >&6; }
20710 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20711 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20712 $as_echo_n "(cached) " >&6
20713 else
20714
20715
20716 ac_ext=cpp
20717 ac_cpp='$CXXCPP $CPPFLAGS'
20718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20721
20722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20723 /* end confdefs.h. */
20724 #include <math.h>
20725 #ifdef HAVE_IEEEFP_H
20726 #include <ieeefp.h>
20727 #endif
20728
20729 int
20730 main ()
20731 {
20732 isnan(0);
20733 ;
20734 return 0;
20735 }
20736 _ACEOF
20737 if ac_fn_cxx_try_compile "$LINENO"; then :
20738 glibcxx_cv_func_isnan_use=yes
20739 else
20740 glibcxx_cv_func_isnan_use=no
20741 fi
20742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20743 ac_ext=c
20744 ac_cpp='$CPP $CPPFLAGS'
20745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20748
20749
20750 fi
20751
20752 fi
20753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20754 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20755
20756 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20757 for ac_func in isnan
20758 do :
20759 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20760 if test "x$ac_cv_func_isnan" = x""yes; then :
20761 cat >>confdefs.h <<_ACEOF
20762 #define HAVE_ISNAN 1
20763 _ACEOF
20764
20765 fi
20766 done
20767
20768 else
20769
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20771 $as_echo_n "checking for _isnan declaration... " >&6; }
20772 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20773 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20774 $as_echo_n "(cached) " >&6
20775 else
20776
20777
20778 ac_ext=cpp
20779 ac_cpp='$CXXCPP $CPPFLAGS'
20780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20783
20784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h. */
20786 #include <math.h>
20787 #ifdef HAVE_IEEEFP_H
20788 #include <ieeefp.h>
20789 #endif
20790
20791 int
20792 main ()
20793 {
20794 _isnan(0);
20795 ;
20796 return 0;
20797 }
20798 _ACEOF
20799 if ac_fn_cxx_try_compile "$LINENO"; then :
20800 glibcxx_cv_func__isnan_use=yes
20801 else
20802 glibcxx_cv_func__isnan_use=no
20803 fi
20804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20805 ac_ext=c
20806 ac_cpp='$CPP $CPPFLAGS'
20807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20810
20811
20812 fi
20813
20814 fi
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20816 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20817
20818 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20819 for ac_func in _isnan
20820 do :
20821 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20822 if test "x$ac_cv_func__isnan" = x""yes; then :
20823 cat >>confdefs.h <<_ACEOF
20824 #define HAVE__ISNAN 1
20825 _ACEOF
20826
20827 fi
20828 done
20829
20830 fi
20831 fi
20832
20833
20834
20835
20836
20837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20838 $as_echo_n "checking for finite declaration... " >&6; }
20839 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20840 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20841 $as_echo_n "(cached) " >&6
20842 else
20843
20844
20845 ac_ext=cpp
20846 ac_cpp='$CXXCPP $CPPFLAGS'
20847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20850
20851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20852 /* end confdefs.h. */
20853 #include <math.h>
20854 #ifdef HAVE_IEEEFP_H
20855 #include <ieeefp.h>
20856 #endif
20857
20858 int
20859 main ()
20860 {
20861 finite(0);
20862 ;
20863 return 0;
20864 }
20865 _ACEOF
20866 if ac_fn_cxx_try_compile "$LINENO"; then :
20867 glibcxx_cv_func_finite_use=yes
20868 else
20869 glibcxx_cv_func_finite_use=no
20870 fi
20871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20872 ac_ext=c
20873 ac_cpp='$CPP $CPPFLAGS'
20874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20877
20878
20879 fi
20880
20881 fi
20882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20883 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20884
20885 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20886 for ac_func in finite
20887 do :
20888 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20889 if test "x$ac_cv_func_finite" = x""yes; then :
20890 cat >>confdefs.h <<_ACEOF
20891 #define HAVE_FINITE 1
20892 _ACEOF
20893
20894 fi
20895 done
20896
20897 else
20898
20899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20900 $as_echo_n "checking for _finite declaration... " >&6; }
20901 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20902 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20903 $as_echo_n "(cached) " >&6
20904 else
20905
20906
20907 ac_ext=cpp
20908 ac_cpp='$CXXCPP $CPPFLAGS'
20909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20912
20913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20915 #include <math.h>
20916 #ifdef HAVE_IEEEFP_H
20917 #include <ieeefp.h>
20918 #endif
20919
20920 int
20921 main ()
20922 {
20923 _finite(0);
20924 ;
20925 return 0;
20926 }
20927 _ACEOF
20928 if ac_fn_cxx_try_compile "$LINENO"; then :
20929 glibcxx_cv_func__finite_use=yes
20930 else
20931 glibcxx_cv_func__finite_use=no
20932 fi
20933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20934 ac_ext=c
20935 ac_cpp='$CPP $CPPFLAGS'
20936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20939
20940
20941 fi
20942
20943 fi
20944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
20945 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
20946
20947 if test x$glibcxx_cv_func__finite_use = x"yes"; then
20948 for ac_func in _finite
20949 do :
20950 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
20951 if test "x$ac_cv_func__finite" = x""yes; then :
20952 cat >>confdefs.h <<_ACEOF
20953 #define HAVE__FINITE 1
20954 _ACEOF
20955
20956 fi
20957 done
20958
20959 fi
20960 fi
20961
20962
20963
20964
20965
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
20967 $as_echo_n "checking for sincos declaration... " >&6; }
20968 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20969 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
20970 $as_echo_n "(cached) " >&6
20971 else
20972
20973
20974 ac_ext=cpp
20975 ac_cpp='$CXXCPP $CPPFLAGS'
20976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20979
20980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20981 /* end confdefs.h. */
20982 #include <math.h>
20983 int
20984 main ()
20985 {
20986 sincos(0, 0, 0);
20987 ;
20988 return 0;
20989 }
20990 _ACEOF
20991 if ac_fn_cxx_try_compile "$LINENO"; then :
20992 glibcxx_cv_func_sincos_use=yes
20993 else
20994 glibcxx_cv_func_sincos_use=no
20995 fi
20996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20997 ac_ext=c
20998 ac_cpp='$CPP $CPPFLAGS'
20999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21002
21003
21004 fi
21005
21006 fi
21007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21008 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21009
21010 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21011 for ac_func in sincos
21012 do :
21013 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21014 if test "x$ac_cv_func_sincos" = x""yes; then :
21015 cat >>confdefs.h <<_ACEOF
21016 #define HAVE_SINCOS 1
21017 _ACEOF
21018
21019 fi
21020 done
21021
21022 else
21023
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21025 $as_echo_n "checking for _sincos declaration... " >&6; }
21026 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21027 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21028 $as_echo_n "(cached) " >&6
21029 else
21030
21031
21032 ac_ext=cpp
21033 ac_cpp='$CXXCPP $CPPFLAGS'
21034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21037
21038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21039 /* end confdefs.h. */
21040 #include <math.h>
21041 int
21042 main ()
21043 {
21044 _sincos(0, 0, 0);
21045 ;
21046 return 0;
21047 }
21048 _ACEOF
21049 if ac_fn_cxx_try_compile "$LINENO"; then :
21050 glibcxx_cv_func__sincos_use=yes
21051 else
21052 glibcxx_cv_func__sincos_use=no
21053 fi
21054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21055 ac_ext=c
21056 ac_cpp='$CPP $CPPFLAGS'
21057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21060
21061
21062 fi
21063
21064 fi
21065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21066 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21067
21068 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21069 for ac_func in _sincos
21070 do :
21071 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21072 if test "x$ac_cv_func__sincos" = x""yes; then :
21073 cat >>confdefs.h <<_ACEOF
21074 #define HAVE__SINCOS 1
21075 _ACEOF
21076
21077 fi
21078 done
21079
21080 fi
21081 fi
21082
21083
21084
21085
21086
21087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21088 $as_echo_n "checking for fpclass declaration... " >&6; }
21089 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21090 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21091 $as_echo_n "(cached) " >&6
21092 else
21093
21094
21095 ac_ext=cpp
21096 ac_cpp='$CXXCPP $CPPFLAGS'
21097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21100
21101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21102 /* end confdefs.h. */
21103 #include <math.h>
21104 #ifdef HAVE_IEEEFP_H
21105 #include <ieeefp.h>
21106 #endif
21107
21108 int
21109 main ()
21110 {
21111 fpclass(0);
21112 ;
21113 return 0;
21114 }
21115 _ACEOF
21116 if ac_fn_cxx_try_compile "$LINENO"; then :
21117 glibcxx_cv_func_fpclass_use=yes
21118 else
21119 glibcxx_cv_func_fpclass_use=no
21120 fi
21121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21122 ac_ext=c
21123 ac_cpp='$CPP $CPPFLAGS'
21124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21127
21128
21129 fi
21130
21131 fi
21132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21133 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21134
21135 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21136 for ac_func in fpclass
21137 do :
21138 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21139 if test "x$ac_cv_func_fpclass" = x""yes; then :
21140 cat >>confdefs.h <<_ACEOF
21141 #define HAVE_FPCLASS 1
21142 _ACEOF
21143
21144 fi
21145 done
21146
21147 else
21148
21149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21150 $as_echo_n "checking for _fpclass declaration... " >&6; }
21151 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21152 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21153 $as_echo_n "(cached) " >&6
21154 else
21155
21156
21157 ac_ext=cpp
21158 ac_cpp='$CXXCPP $CPPFLAGS'
21159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21162
21163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21164 /* end confdefs.h. */
21165 #include <math.h>
21166 #ifdef HAVE_IEEEFP_H
21167 #include <ieeefp.h>
21168 #endif
21169
21170 int
21171 main ()
21172 {
21173 _fpclass(0);
21174 ;
21175 return 0;
21176 }
21177 _ACEOF
21178 if ac_fn_cxx_try_compile "$LINENO"; then :
21179 glibcxx_cv_func__fpclass_use=yes
21180 else
21181 glibcxx_cv_func__fpclass_use=no
21182 fi
21183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21184 ac_ext=c
21185 ac_cpp='$CPP $CPPFLAGS'
21186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21189
21190
21191 fi
21192
21193 fi
21194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21195 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21196
21197 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21198 for ac_func in _fpclass
21199 do :
21200 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21201 if test "x$ac_cv_func__fpclass" = x""yes; then :
21202 cat >>confdefs.h <<_ACEOF
21203 #define HAVE__FPCLASS 1
21204 _ACEOF
21205
21206 fi
21207 done
21208
21209 fi
21210 fi
21211
21212
21213
21214
21215
21216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21217 $as_echo_n "checking for qfpclass declaration... " >&6; }
21218 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21219 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21220 $as_echo_n "(cached) " >&6
21221 else
21222
21223
21224 ac_ext=cpp
21225 ac_cpp='$CXXCPP $CPPFLAGS'
21226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21229
21230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21231 /* end confdefs.h. */
21232 #include <math.h>
21233 #ifdef HAVE_IEEEFP_H
21234 #include <ieeefp.h>
21235 #endif
21236
21237 int
21238 main ()
21239 {
21240 qfpclass(0);
21241 ;
21242 return 0;
21243 }
21244 _ACEOF
21245 if ac_fn_cxx_try_compile "$LINENO"; then :
21246 glibcxx_cv_func_qfpclass_use=yes
21247 else
21248 glibcxx_cv_func_qfpclass_use=no
21249 fi
21250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21251 ac_ext=c
21252 ac_cpp='$CPP $CPPFLAGS'
21253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21256
21257
21258 fi
21259
21260 fi
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21262 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21263
21264 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21265 for ac_func in qfpclass
21266 do :
21267 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21268 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21269 cat >>confdefs.h <<_ACEOF
21270 #define HAVE_QFPCLASS 1
21271 _ACEOF
21272
21273 fi
21274 done
21275
21276 else
21277
21278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21279 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21280 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21281 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21282 $as_echo_n "(cached) " >&6
21283 else
21284
21285
21286 ac_ext=cpp
21287 ac_cpp='$CXXCPP $CPPFLAGS'
21288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21291
21292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21293 /* end confdefs.h. */
21294 #include <math.h>
21295 #ifdef HAVE_IEEEFP_H
21296 #include <ieeefp.h>
21297 #endif
21298
21299 int
21300 main ()
21301 {
21302 _qfpclass(0);
21303 ;
21304 return 0;
21305 }
21306 _ACEOF
21307 if ac_fn_cxx_try_compile "$LINENO"; then :
21308 glibcxx_cv_func__qfpclass_use=yes
21309 else
21310 glibcxx_cv_func__qfpclass_use=no
21311 fi
21312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21313 ac_ext=c
21314 ac_cpp='$CPP $CPPFLAGS'
21315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21318
21319
21320 fi
21321
21322 fi
21323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21324 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21325
21326 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21327 for ac_func in _qfpclass
21328 do :
21329 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21330 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21331 cat >>confdefs.h <<_ACEOF
21332 #define HAVE__QFPCLASS 1
21333 _ACEOF
21334
21335 fi
21336 done
21337
21338 fi
21339 fi
21340
21341
21342
21343
21344
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21346 $as_echo_n "checking for hypot declaration... " >&6; }
21347 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21348 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21349 $as_echo_n "(cached) " >&6
21350 else
21351
21352
21353 ac_ext=cpp
21354 ac_cpp='$CXXCPP $CPPFLAGS'
21355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21358
21359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21360 /* end confdefs.h. */
21361 #include <math.h>
21362 int
21363 main ()
21364 {
21365 hypot(0, 0);
21366 ;
21367 return 0;
21368 }
21369 _ACEOF
21370 if ac_fn_cxx_try_compile "$LINENO"; then :
21371 glibcxx_cv_func_hypot_use=yes
21372 else
21373 glibcxx_cv_func_hypot_use=no
21374 fi
21375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21376 ac_ext=c
21377 ac_cpp='$CPP $CPPFLAGS'
21378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21381
21382
21383 fi
21384
21385 fi
21386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21387 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21388
21389 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21390 for ac_func in hypot
21391 do :
21392 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21393 if test "x$ac_cv_func_hypot" = x""yes; then :
21394 cat >>confdefs.h <<_ACEOF
21395 #define HAVE_HYPOT 1
21396 _ACEOF
21397
21398 fi
21399 done
21400
21401 else
21402
21403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21404 $as_echo_n "checking for _hypot declaration... " >&6; }
21405 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21406 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21407 $as_echo_n "(cached) " >&6
21408 else
21409
21410
21411 ac_ext=cpp
21412 ac_cpp='$CXXCPP $CPPFLAGS'
21413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21416
21417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21418 /* end confdefs.h. */
21419 #include <math.h>
21420 int
21421 main ()
21422 {
21423 _hypot(0, 0);
21424 ;
21425 return 0;
21426 }
21427 _ACEOF
21428 if ac_fn_cxx_try_compile "$LINENO"; then :
21429 glibcxx_cv_func__hypot_use=yes
21430 else
21431 glibcxx_cv_func__hypot_use=no
21432 fi
21433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21434 ac_ext=c
21435 ac_cpp='$CPP $CPPFLAGS'
21436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21439
21440
21441 fi
21442
21443 fi
21444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21445 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21446
21447 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21448 for ac_func in _hypot
21449 do :
21450 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21451 if test "x$ac_cv_func__hypot" = x""yes; then :
21452 cat >>confdefs.h <<_ACEOF
21453 #define HAVE__HYPOT 1
21454 _ACEOF
21455
21456 fi
21457 done
21458
21459 fi
21460 fi
21461
21462
21463
21464
21465
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21467 $as_echo_n "checking for float trig functions... " >&6; }
21468 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21469 $as_echo_n "(cached) " >&6
21470 else
21471
21472
21473 ac_ext=cpp
21474 ac_cpp='$CXXCPP $CPPFLAGS'
21475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21478
21479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21480 /* end confdefs.h. */
21481 #include <math.h>
21482 int
21483 main ()
21484 {
21485 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21486 ;
21487 return 0;
21488 }
21489 _ACEOF
21490 if ac_fn_cxx_try_compile "$LINENO"; then :
21491 glibcxx_cv_func_float_trig_use=yes
21492 else
21493 glibcxx_cv_func_float_trig_use=no
21494 fi
21495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21496 ac_ext=c
21497 ac_cpp='$CPP $CPPFLAGS'
21498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21501
21502 fi
21503
21504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21505 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21506 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21507 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21508 do :
21509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21511 eval as_val=\$$as_ac_var
21512 if test "x$as_val" = x""yes; then :
21513 cat >>confdefs.h <<_ACEOF
21514 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21515 _ACEOF
21516
21517 fi
21518 done
21519
21520 else
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21522 $as_echo_n "checking for _float trig functions... " >&6; }
21523 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21524 $as_echo_n "(cached) " >&6
21525 else
21526
21527
21528 ac_ext=cpp
21529 ac_cpp='$CXXCPP $CPPFLAGS'
21530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21533
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <math.h>
21537 int
21538 main ()
21539 {
21540 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21541 ;
21542 return 0;
21543 }
21544 _ACEOF
21545 if ac_fn_cxx_try_compile "$LINENO"; then :
21546 glibcxx_cv_func__float_trig_use=yes
21547 else
21548 glibcxx_cv_func__float_trig_use=no
21549 fi
21550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21551 ac_ext=c
21552 ac_cpp='$CPP $CPPFLAGS'
21553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21556
21557 fi
21558
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21560 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21561 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21562 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21563 do :
21564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21566 eval as_val=\$$as_ac_var
21567 if test "x$as_val" = x""yes; then :
21568 cat >>confdefs.h <<_ACEOF
21569 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21570 _ACEOF
21571
21572 fi
21573 done
21574
21575 fi
21576 fi
21577
21578
21579
21580
21581
21582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21583 $as_echo_n "checking for float round functions... " >&6; }
21584 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21585 $as_echo_n "(cached) " >&6
21586 else
21587
21588
21589 ac_ext=cpp
21590 ac_cpp='$CXXCPP $CPPFLAGS'
21591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21594
21595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21596 /* end confdefs.h. */
21597 #include <math.h>
21598 int
21599 main ()
21600 {
21601 ceilf (0); floorf (0);
21602 ;
21603 return 0;
21604 }
21605 _ACEOF
21606 if ac_fn_cxx_try_compile "$LINENO"; then :
21607 glibcxx_cv_func_float_round_use=yes
21608 else
21609 glibcxx_cv_func_float_round_use=no
21610 fi
21611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21612 ac_ext=c
21613 ac_cpp='$CPP $CPPFLAGS'
21614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21617
21618 fi
21619
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21621 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21622 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21623 for ac_func in ceilf floorf
21624 do :
21625 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21626 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21627 eval as_val=\$$as_ac_var
21628 if test "x$as_val" = x""yes; then :
21629 cat >>confdefs.h <<_ACEOF
21630 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21631 _ACEOF
21632
21633 fi
21634 done
21635
21636 else
21637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21638 $as_echo_n "checking for _float round functions... " >&6; }
21639 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21640 $as_echo_n "(cached) " >&6
21641 else
21642
21643
21644 ac_ext=cpp
21645 ac_cpp='$CXXCPP $CPPFLAGS'
21646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21649
21650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21651 /* end confdefs.h. */
21652 #include <math.h>
21653 int
21654 main ()
21655 {
21656 _ceilf (0); _floorf (0);
21657 ;
21658 return 0;
21659 }
21660 _ACEOF
21661 if ac_fn_cxx_try_compile "$LINENO"; then :
21662 glibcxx_cv_func__float_round_use=yes
21663 else
21664 glibcxx_cv_func__float_round_use=no
21665 fi
21666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21667 ac_ext=c
21668 ac_cpp='$CPP $CPPFLAGS'
21669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21672
21673 fi
21674
21675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21676 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21677 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21678 for ac_func in _ceilf _floorf
21679 do :
21680 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21681 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21682 eval as_val=\$$as_ac_var
21683 if test "x$as_val" = x""yes; then :
21684 cat >>confdefs.h <<_ACEOF
21685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21686 _ACEOF
21687
21688 fi
21689 done
21690
21691 fi
21692 fi
21693
21694
21695
21696
21697
21698
21699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21700 $as_echo_n "checking for expf declaration... " >&6; }
21701 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21702 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21703 $as_echo_n "(cached) " >&6
21704 else
21705
21706
21707 ac_ext=cpp
21708 ac_cpp='$CXXCPP $CPPFLAGS'
21709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21712
21713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21714 /* end confdefs.h. */
21715 #include <math.h>
21716 #ifdef HAVE_IEEEFP_H
21717 #include <ieeefp.h>
21718 #endif
21719
21720 int
21721 main ()
21722 {
21723 expf(0);
21724 ;
21725 return 0;
21726 }
21727 _ACEOF
21728 if ac_fn_cxx_try_compile "$LINENO"; then :
21729 glibcxx_cv_func_expf_use=yes
21730 else
21731 glibcxx_cv_func_expf_use=no
21732 fi
21733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21734 ac_ext=c
21735 ac_cpp='$CPP $CPPFLAGS'
21736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21739
21740
21741 fi
21742
21743 fi
21744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21745 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21746
21747 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21748 for ac_func in expf
21749 do :
21750 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21751 if test "x$ac_cv_func_expf" = x""yes; then :
21752 cat >>confdefs.h <<_ACEOF
21753 #define HAVE_EXPF 1
21754 _ACEOF
21755
21756 fi
21757 done
21758
21759 else
21760
21761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21762 $as_echo_n "checking for _expf declaration... " >&6; }
21763 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21764 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21765 $as_echo_n "(cached) " >&6
21766 else
21767
21768
21769 ac_ext=cpp
21770 ac_cpp='$CXXCPP $CPPFLAGS'
21771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21774
21775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21776 /* end confdefs.h. */
21777 #include <math.h>
21778 #ifdef HAVE_IEEEFP_H
21779 #include <ieeefp.h>
21780 #endif
21781
21782 int
21783 main ()
21784 {
21785 _expf(0);
21786 ;
21787 return 0;
21788 }
21789 _ACEOF
21790 if ac_fn_cxx_try_compile "$LINENO"; then :
21791 glibcxx_cv_func__expf_use=yes
21792 else
21793 glibcxx_cv_func__expf_use=no
21794 fi
21795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21796 ac_ext=c
21797 ac_cpp='$CPP $CPPFLAGS'
21798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21801
21802
21803 fi
21804
21805 fi
21806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21807 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21808
21809 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21810 for ac_func in _expf
21811 do :
21812 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21813 if test "x$ac_cv_func__expf" = x""yes; then :
21814 cat >>confdefs.h <<_ACEOF
21815 #define HAVE__EXPF 1
21816 _ACEOF
21817
21818 fi
21819 done
21820
21821 fi
21822 fi
21823
21824
21825
21826
21827
21828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21829 $as_echo_n "checking for isnanf declaration... " >&6; }
21830 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21831 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21832 $as_echo_n "(cached) " >&6
21833 else
21834
21835
21836 ac_ext=cpp
21837 ac_cpp='$CXXCPP $CPPFLAGS'
21838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21841
21842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21843 /* end confdefs.h. */
21844 #include <math.h>
21845 #ifdef HAVE_IEEEFP_H
21846 #include <ieeefp.h>
21847 #endif
21848
21849 int
21850 main ()
21851 {
21852 isnanf(0);
21853 ;
21854 return 0;
21855 }
21856 _ACEOF
21857 if ac_fn_cxx_try_compile "$LINENO"; then :
21858 glibcxx_cv_func_isnanf_use=yes
21859 else
21860 glibcxx_cv_func_isnanf_use=no
21861 fi
21862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21863 ac_ext=c
21864 ac_cpp='$CPP $CPPFLAGS'
21865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21868
21869
21870 fi
21871
21872 fi
21873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21874 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21875
21876 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21877 for ac_func in isnanf
21878 do :
21879 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21880 if test "x$ac_cv_func_isnanf" = x""yes; then :
21881 cat >>confdefs.h <<_ACEOF
21882 #define HAVE_ISNANF 1
21883 _ACEOF
21884
21885 fi
21886 done
21887
21888 else
21889
21890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21891 $as_echo_n "checking for _isnanf declaration... " >&6; }
21892 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21893 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21894 $as_echo_n "(cached) " >&6
21895 else
21896
21897
21898 ac_ext=cpp
21899 ac_cpp='$CXXCPP $CPPFLAGS'
21900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21903
21904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21905 /* end confdefs.h. */
21906 #include <math.h>
21907 #ifdef HAVE_IEEEFP_H
21908 #include <ieeefp.h>
21909 #endif
21910
21911 int
21912 main ()
21913 {
21914 _isnanf(0);
21915 ;
21916 return 0;
21917 }
21918 _ACEOF
21919 if ac_fn_cxx_try_compile "$LINENO"; then :
21920 glibcxx_cv_func__isnanf_use=yes
21921 else
21922 glibcxx_cv_func__isnanf_use=no
21923 fi
21924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21925 ac_ext=c
21926 ac_cpp='$CPP $CPPFLAGS'
21927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21930
21931
21932 fi
21933
21934 fi
21935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
21936 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
21937
21938 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
21939 for ac_func in _isnanf
21940 do :
21941 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
21942 if test "x$ac_cv_func__isnanf" = x""yes; then :
21943 cat >>confdefs.h <<_ACEOF
21944 #define HAVE__ISNANF 1
21945 _ACEOF
21946
21947 fi
21948 done
21949
21950 fi
21951 fi
21952
21953
21954
21955
21956
21957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
21958 $as_echo_n "checking for isinff declaration... " >&6; }
21959 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
21960 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
21961 $as_echo_n "(cached) " >&6
21962 else
21963
21964
21965 ac_ext=cpp
21966 ac_cpp='$CXXCPP $CPPFLAGS'
21967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21970
21971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21972 /* end confdefs.h. */
21973 #include <math.h>
21974 #ifdef HAVE_IEEEFP_H
21975 #include <ieeefp.h>
21976 #endif
21977
21978 int
21979 main ()
21980 {
21981 isinff(0);
21982 ;
21983 return 0;
21984 }
21985 _ACEOF
21986 if ac_fn_cxx_try_compile "$LINENO"; then :
21987 glibcxx_cv_func_isinff_use=yes
21988 else
21989 glibcxx_cv_func_isinff_use=no
21990 fi
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992 ac_ext=c
21993 ac_cpp='$CPP $CPPFLAGS'
21994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21997
21998
21999 fi
22000
22001 fi
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22003 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22004
22005 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22006 for ac_func in isinff
22007 do :
22008 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22009 if test "x$ac_cv_func_isinff" = x""yes; then :
22010 cat >>confdefs.h <<_ACEOF
22011 #define HAVE_ISINFF 1
22012 _ACEOF
22013
22014 fi
22015 done
22016
22017 else
22018
22019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22020 $as_echo_n "checking for _isinff declaration... " >&6; }
22021 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22022 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22023 $as_echo_n "(cached) " >&6
22024 else
22025
22026
22027 ac_ext=cpp
22028 ac_cpp='$CXXCPP $CPPFLAGS'
22029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22032
22033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22034 /* end confdefs.h. */
22035 #include <math.h>
22036 #ifdef HAVE_IEEEFP_H
22037 #include <ieeefp.h>
22038 #endif
22039
22040 int
22041 main ()
22042 {
22043 _isinff(0);
22044 ;
22045 return 0;
22046 }
22047 _ACEOF
22048 if ac_fn_cxx_try_compile "$LINENO"; then :
22049 glibcxx_cv_func__isinff_use=yes
22050 else
22051 glibcxx_cv_func__isinff_use=no
22052 fi
22053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22054 ac_ext=c
22055 ac_cpp='$CPP $CPPFLAGS'
22056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22059
22060
22061 fi
22062
22063 fi
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22065 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22066
22067 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22068 for ac_func in _isinff
22069 do :
22070 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22071 if test "x$ac_cv_func__isinff" = x""yes; then :
22072 cat >>confdefs.h <<_ACEOF
22073 #define HAVE__ISINFF 1
22074 _ACEOF
22075
22076 fi
22077 done
22078
22079 fi
22080 fi
22081
22082
22083
22084
22085
22086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22087 $as_echo_n "checking for atan2f declaration... " >&6; }
22088 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22089 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22090 $as_echo_n "(cached) " >&6
22091 else
22092
22093
22094 ac_ext=cpp
22095 ac_cpp='$CXXCPP $CPPFLAGS'
22096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22099
22100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22101 /* end confdefs.h. */
22102 #include <math.h>
22103 int
22104 main ()
22105 {
22106 atan2f(0, 0);
22107 ;
22108 return 0;
22109 }
22110 _ACEOF
22111 if ac_fn_cxx_try_compile "$LINENO"; then :
22112 glibcxx_cv_func_atan2f_use=yes
22113 else
22114 glibcxx_cv_func_atan2f_use=no
22115 fi
22116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22117 ac_ext=c
22118 ac_cpp='$CPP $CPPFLAGS'
22119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22122
22123
22124 fi
22125
22126 fi
22127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22128 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22129
22130 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22131 for ac_func in atan2f
22132 do :
22133 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22134 if test "x$ac_cv_func_atan2f" = x""yes; then :
22135 cat >>confdefs.h <<_ACEOF
22136 #define HAVE_ATAN2F 1
22137 _ACEOF
22138
22139 fi
22140 done
22141
22142 else
22143
22144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22145 $as_echo_n "checking for _atan2f declaration... " >&6; }
22146 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22147 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22148 $as_echo_n "(cached) " >&6
22149 else
22150
22151
22152 ac_ext=cpp
22153 ac_cpp='$CXXCPP $CPPFLAGS'
22154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22157
22158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22159 /* end confdefs.h. */
22160 #include <math.h>
22161 int
22162 main ()
22163 {
22164 _atan2f(0, 0);
22165 ;
22166 return 0;
22167 }
22168 _ACEOF
22169 if ac_fn_cxx_try_compile "$LINENO"; then :
22170 glibcxx_cv_func__atan2f_use=yes
22171 else
22172 glibcxx_cv_func__atan2f_use=no
22173 fi
22174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22175 ac_ext=c
22176 ac_cpp='$CPP $CPPFLAGS'
22177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22180
22181
22182 fi
22183
22184 fi
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22186 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22187
22188 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22189 for ac_func in _atan2f
22190 do :
22191 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22192 if test "x$ac_cv_func__atan2f" = x""yes; then :
22193 cat >>confdefs.h <<_ACEOF
22194 #define HAVE__ATAN2F 1
22195 _ACEOF
22196
22197 fi
22198 done
22199
22200 fi
22201 fi
22202
22203
22204
22205
22206
22207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22208 $as_echo_n "checking for fabsf declaration... " >&6; }
22209 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22210 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22211 $as_echo_n "(cached) " >&6
22212 else
22213
22214
22215 ac_ext=cpp
22216 ac_cpp='$CXXCPP $CPPFLAGS'
22217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22220
22221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22222 /* end confdefs.h. */
22223 #include <math.h>
22224 #ifdef HAVE_IEEEFP_H
22225 #include <ieeefp.h>
22226 #endif
22227
22228 int
22229 main ()
22230 {
22231 fabsf(0);
22232 ;
22233 return 0;
22234 }
22235 _ACEOF
22236 if ac_fn_cxx_try_compile "$LINENO"; then :
22237 glibcxx_cv_func_fabsf_use=yes
22238 else
22239 glibcxx_cv_func_fabsf_use=no
22240 fi
22241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22242 ac_ext=c
22243 ac_cpp='$CPP $CPPFLAGS'
22244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22247
22248
22249 fi
22250
22251 fi
22252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22253 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22254
22255 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22256 for ac_func in fabsf
22257 do :
22258 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22259 if test "x$ac_cv_func_fabsf" = x""yes; then :
22260 cat >>confdefs.h <<_ACEOF
22261 #define HAVE_FABSF 1
22262 _ACEOF
22263
22264 fi
22265 done
22266
22267 else
22268
22269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22270 $as_echo_n "checking for _fabsf declaration... " >&6; }
22271 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22272 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22273 $as_echo_n "(cached) " >&6
22274 else
22275
22276
22277 ac_ext=cpp
22278 ac_cpp='$CXXCPP $CPPFLAGS'
22279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22282
22283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22284 /* end confdefs.h. */
22285 #include <math.h>
22286 #ifdef HAVE_IEEEFP_H
22287 #include <ieeefp.h>
22288 #endif
22289
22290 int
22291 main ()
22292 {
22293 _fabsf(0);
22294 ;
22295 return 0;
22296 }
22297 _ACEOF
22298 if ac_fn_cxx_try_compile "$LINENO"; then :
22299 glibcxx_cv_func__fabsf_use=yes
22300 else
22301 glibcxx_cv_func__fabsf_use=no
22302 fi
22303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22304 ac_ext=c
22305 ac_cpp='$CPP $CPPFLAGS'
22306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22309
22310
22311 fi
22312
22313 fi
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22315 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22316
22317 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22318 for ac_func in _fabsf
22319 do :
22320 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22321 if test "x$ac_cv_func__fabsf" = x""yes; then :
22322 cat >>confdefs.h <<_ACEOF
22323 #define HAVE__FABSF 1
22324 _ACEOF
22325
22326 fi
22327 done
22328
22329 fi
22330 fi
22331
22332
22333
22334
22335
22336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22337 $as_echo_n "checking for fmodf declaration... " >&6; }
22338 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22339 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22340 $as_echo_n "(cached) " >&6
22341 else
22342
22343
22344 ac_ext=cpp
22345 ac_cpp='$CXXCPP $CPPFLAGS'
22346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22349
22350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22351 /* end confdefs.h. */
22352 #include <math.h>
22353 int
22354 main ()
22355 {
22356 fmodf(0, 0);
22357 ;
22358 return 0;
22359 }
22360 _ACEOF
22361 if ac_fn_cxx_try_compile "$LINENO"; then :
22362 glibcxx_cv_func_fmodf_use=yes
22363 else
22364 glibcxx_cv_func_fmodf_use=no
22365 fi
22366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
22372
22373
22374 fi
22375
22376 fi
22377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22378 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22379
22380 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22381 for ac_func in fmodf
22382 do :
22383 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22384 if test "x$ac_cv_func_fmodf" = x""yes; then :
22385 cat >>confdefs.h <<_ACEOF
22386 #define HAVE_FMODF 1
22387 _ACEOF
22388
22389 fi
22390 done
22391
22392 else
22393
22394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22395 $as_echo_n "checking for _fmodf declaration... " >&6; }
22396 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22397 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22398 $as_echo_n "(cached) " >&6
22399 else
22400
22401
22402 ac_ext=cpp
22403 ac_cpp='$CXXCPP $CPPFLAGS'
22404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22407
22408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22409 /* end confdefs.h. */
22410 #include <math.h>
22411 int
22412 main ()
22413 {
22414 _fmodf(0, 0);
22415 ;
22416 return 0;
22417 }
22418 _ACEOF
22419 if ac_fn_cxx_try_compile "$LINENO"; then :
22420 glibcxx_cv_func__fmodf_use=yes
22421 else
22422 glibcxx_cv_func__fmodf_use=no
22423 fi
22424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22425 ac_ext=c
22426 ac_cpp='$CPP $CPPFLAGS'
22427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22430
22431
22432 fi
22433
22434 fi
22435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22436 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22437
22438 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22439 for ac_func in _fmodf
22440 do :
22441 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22442 if test "x$ac_cv_func__fmodf" = x""yes; then :
22443 cat >>confdefs.h <<_ACEOF
22444 #define HAVE__FMODF 1
22445 _ACEOF
22446
22447 fi
22448 done
22449
22450 fi
22451 fi
22452
22453
22454
22455
22456
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22458 $as_echo_n "checking for frexpf declaration... " >&6; }
22459 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22460 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22461 $as_echo_n "(cached) " >&6
22462 else
22463
22464
22465 ac_ext=cpp
22466 ac_cpp='$CXXCPP $CPPFLAGS'
22467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22470
22471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22472 /* end confdefs.h. */
22473 #include <math.h>
22474 int
22475 main ()
22476 {
22477 frexpf(0, 0);
22478 ;
22479 return 0;
22480 }
22481 _ACEOF
22482 if ac_fn_cxx_try_compile "$LINENO"; then :
22483 glibcxx_cv_func_frexpf_use=yes
22484 else
22485 glibcxx_cv_func_frexpf_use=no
22486 fi
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22493
22494
22495 fi
22496
22497 fi
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22499 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22500
22501 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22502 for ac_func in frexpf
22503 do :
22504 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22505 if test "x$ac_cv_func_frexpf" = x""yes; then :
22506 cat >>confdefs.h <<_ACEOF
22507 #define HAVE_FREXPF 1
22508 _ACEOF
22509
22510 fi
22511 done
22512
22513 else
22514
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22516 $as_echo_n "checking for _frexpf declaration... " >&6; }
22517 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22518 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22519 $as_echo_n "(cached) " >&6
22520 else
22521
22522
22523 ac_ext=cpp
22524 ac_cpp='$CXXCPP $CPPFLAGS'
22525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22528
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h. */
22531 #include <math.h>
22532 int
22533 main ()
22534 {
22535 _frexpf(0, 0);
22536 ;
22537 return 0;
22538 }
22539 _ACEOF
22540 if ac_fn_cxx_try_compile "$LINENO"; then :
22541 glibcxx_cv_func__frexpf_use=yes
22542 else
22543 glibcxx_cv_func__frexpf_use=no
22544 fi
22545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22546 ac_ext=c
22547 ac_cpp='$CPP $CPPFLAGS'
22548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22551
22552
22553 fi
22554
22555 fi
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22557 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22558
22559 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22560 for ac_func in _frexpf
22561 do :
22562 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22563 if test "x$ac_cv_func__frexpf" = x""yes; then :
22564 cat >>confdefs.h <<_ACEOF
22565 #define HAVE__FREXPF 1
22566 _ACEOF
22567
22568 fi
22569 done
22570
22571 fi
22572 fi
22573
22574
22575
22576
22577
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22579 $as_echo_n "checking for hypotf declaration... " >&6; }
22580 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22581 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22582 $as_echo_n "(cached) " >&6
22583 else
22584
22585
22586 ac_ext=cpp
22587 ac_cpp='$CXXCPP $CPPFLAGS'
22588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22591
22592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22593 /* end confdefs.h. */
22594 #include <math.h>
22595 int
22596 main ()
22597 {
22598 hypotf(0, 0);
22599 ;
22600 return 0;
22601 }
22602 _ACEOF
22603 if ac_fn_cxx_try_compile "$LINENO"; then :
22604 glibcxx_cv_func_hypotf_use=yes
22605 else
22606 glibcxx_cv_func_hypotf_use=no
22607 fi
22608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22609 ac_ext=c
22610 ac_cpp='$CPP $CPPFLAGS'
22611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22614
22615
22616 fi
22617
22618 fi
22619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22620 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22621
22622 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22623 for ac_func in hypotf
22624 do :
22625 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22626 if test "x$ac_cv_func_hypotf" = x""yes; then :
22627 cat >>confdefs.h <<_ACEOF
22628 #define HAVE_HYPOTF 1
22629 _ACEOF
22630
22631 fi
22632 done
22633
22634 else
22635
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22637 $as_echo_n "checking for _hypotf declaration... " >&6; }
22638 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22639 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22640 $as_echo_n "(cached) " >&6
22641 else
22642
22643
22644 ac_ext=cpp
22645 ac_cpp='$CXXCPP $CPPFLAGS'
22646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22649
22650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22651 /* end confdefs.h. */
22652 #include <math.h>
22653 int
22654 main ()
22655 {
22656 _hypotf(0, 0);
22657 ;
22658 return 0;
22659 }
22660 _ACEOF
22661 if ac_fn_cxx_try_compile "$LINENO"; then :
22662 glibcxx_cv_func__hypotf_use=yes
22663 else
22664 glibcxx_cv_func__hypotf_use=no
22665 fi
22666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22667 ac_ext=c
22668 ac_cpp='$CPP $CPPFLAGS'
22669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22672
22673
22674 fi
22675
22676 fi
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22678 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22679
22680 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22681 for ac_func in _hypotf
22682 do :
22683 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22684 if test "x$ac_cv_func__hypotf" = x""yes; then :
22685 cat >>confdefs.h <<_ACEOF
22686 #define HAVE__HYPOTF 1
22687 _ACEOF
22688
22689 fi
22690 done
22691
22692 fi
22693 fi
22694
22695
22696
22697
22698
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22700 $as_echo_n "checking for ldexpf declaration... " >&6; }
22701 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22702 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22703 $as_echo_n "(cached) " >&6
22704 else
22705
22706
22707 ac_ext=cpp
22708 ac_cpp='$CXXCPP $CPPFLAGS'
22709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22712
22713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22714 /* end confdefs.h. */
22715 #include <math.h>
22716 int
22717 main ()
22718 {
22719 ldexpf(0, 0);
22720 ;
22721 return 0;
22722 }
22723 _ACEOF
22724 if ac_fn_cxx_try_compile "$LINENO"; then :
22725 glibcxx_cv_func_ldexpf_use=yes
22726 else
22727 glibcxx_cv_func_ldexpf_use=no
22728 fi
22729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22730 ac_ext=c
22731 ac_cpp='$CPP $CPPFLAGS'
22732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22735
22736
22737 fi
22738
22739 fi
22740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22741 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22742
22743 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22744 for ac_func in ldexpf
22745 do :
22746 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22747 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22748 cat >>confdefs.h <<_ACEOF
22749 #define HAVE_LDEXPF 1
22750 _ACEOF
22751
22752 fi
22753 done
22754
22755 else
22756
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22758 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22759 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22760 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22761 $as_echo_n "(cached) " >&6
22762 else
22763
22764
22765 ac_ext=cpp
22766 ac_cpp='$CXXCPP $CPPFLAGS'
22767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22770
22771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22772 /* end confdefs.h. */
22773 #include <math.h>
22774 int
22775 main ()
22776 {
22777 _ldexpf(0, 0);
22778 ;
22779 return 0;
22780 }
22781 _ACEOF
22782 if ac_fn_cxx_try_compile "$LINENO"; then :
22783 glibcxx_cv_func__ldexpf_use=yes
22784 else
22785 glibcxx_cv_func__ldexpf_use=no
22786 fi
22787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22788 ac_ext=c
22789 ac_cpp='$CPP $CPPFLAGS'
22790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22793
22794
22795 fi
22796
22797 fi
22798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22799 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22800
22801 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22802 for ac_func in _ldexpf
22803 do :
22804 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22805 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22806 cat >>confdefs.h <<_ACEOF
22807 #define HAVE__LDEXPF 1
22808 _ACEOF
22809
22810 fi
22811 done
22812
22813 fi
22814 fi
22815
22816
22817
22818
22819
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22821 $as_echo_n "checking for logf declaration... " >&6; }
22822 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22823 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22824 $as_echo_n "(cached) " >&6
22825 else
22826
22827
22828 ac_ext=cpp
22829 ac_cpp='$CXXCPP $CPPFLAGS'
22830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22833
22834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22835 /* end confdefs.h. */
22836 #include <math.h>
22837 #ifdef HAVE_IEEEFP_H
22838 #include <ieeefp.h>
22839 #endif
22840
22841 int
22842 main ()
22843 {
22844 logf(0);
22845 ;
22846 return 0;
22847 }
22848 _ACEOF
22849 if ac_fn_cxx_try_compile "$LINENO"; then :
22850 glibcxx_cv_func_logf_use=yes
22851 else
22852 glibcxx_cv_func_logf_use=no
22853 fi
22854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22855 ac_ext=c
22856 ac_cpp='$CPP $CPPFLAGS'
22857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22860
22861
22862 fi
22863
22864 fi
22865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22866 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22867
22868 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22869 for ac_func in logf
22870 do :
22871 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22872 if test "x$ac_cv_func_logf" = x""yes; then :
22873 cat >>confdefs.h <<_ACEOF
22874 #define HAVE_LOGF 1
22875 _ACEOF
22876
22877 fi
22878 done
22879
22880 else
22881
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22883 $as_echo_n "checking for _logf declaration... " >&6; }
22884 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22885 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22886 $as_echo_n "(cached) " >&6
22887 else
22888
22889
22890 ac_ext=cpp
22891 ac_cpp='$CXXCPP $CPPFLAGS'
22892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22895
22896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22897 /* end confdefs.h. */
22898 #include <math.h>
22899 #ifdef HAVE_IEEEFP_H
22900 #include <ieeefp.h>
22901 #endif
22902
22903 int
22904 main ()
22905 {
22906 _logf(0);
22907 ;
22908 return 0;
22909 }
22910 _ACEOF
22911 if ac_fn_cxx_try_compile "$LINENO"; then :
22912 glibcxx_cv_func__logf_use=yes
22913 else
22914 glibcxx_cv_func__logf_use=no
22915 fi
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 ac_ext=c
22918 ac_cpp='$CPP $CPPFLAGS'
22919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22922
22923
22924 fi
22925
22926 fi
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22928 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22929
22930 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22931 for ac_func in _logf
22932 do :
22933 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
22934 if test "x$ac_cv_func__logf" = x""yes; then :
22935 cat >>confdefs.h <<_ACEOF
22936 #define HAVE__LOGF 1
22937 _ACEOF
22938
22939 fi
22940 done
22941
22942 fi
22943 fi
22944
22945
22946
22947
22948
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
22950 $as_echo_n "checking for log10f declaration... " >&6; }
22951 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
22952 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22955
22956
22957 ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962
22963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h. */
22965 #include <math.h>
22966 #ifdef HAVE_IEEEFP_H
22967 #include <ieeefp.h>
22968 #endif
22969
22970 int
22971 main ()
22972 {
22973 log10f(0);
22974 ;
22975 return 0;
22976 }
22977 _ACEOF
22978 if ac_fn_cxx_try_compile "$LINENO"; then :
22979 glibcxx_cv_func_log10f_use=yes
22980 else
22981 glibcxx_cv_func_log10f_use=no
22982 fi
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984 ac_ext=c
22985 ac_cpp='$CPP $CPPFLAGS'
22986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22989
22990
22991 fi
22992
22993 fi
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
22995 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
22996
22997 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
22998 for ac_func in log10f
22999 do :
23000 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23001 if test "x$ac_cv_func_log10f" = x""yes; then :
23002 cat >>confdefs.h <<_ACEOF
23003 #define HAVE_LOG10F 1
23004 _ACEOF
23005
23006 fi
23007 done
23008
23009 else
23010
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23012 $as_echo_n "checking for _log10f declaration... " >&6; }
23013 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23014 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23015 $as_echo_n "(cached) " >&6
23016 else
23017
23018
23019 ac_ext=cpp
23020 ac_cpp='$CXXCPP $CPPFLAGS'
23021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23024
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23027 #include <math.h>
23028 #ifdef HAVE_IEEEFP_H
23029 #include <ieeefp.h>
23030 #endif
23031
23032 int
23033 main ()
23034 {
23035 _log10f(0);
23036 ;
23037 return 0;
23038 }
23039 _ACEOF
23040 if ac_fn_cxx_try_compile "$LINENO"; then :
23041 glibcxx_cv_func__log10f_use=yes
23042 else
23043 glibcxx_cv_func__log10f_use=no
23044 fi
23045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23046 ac_ext=c
23047 ac_cpp='$CPP $CPPFLAGS'
23048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23051
23052
23053 fi
23054
23055 fi
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23057 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23058
23059 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23060 for ac_func in _log10f
23061 do :
23062 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23063 if test "x$ac_cv_func__log10f" = x""yes; then :
23064 cat >>confdefs.h <<_ACEOF
23065 #define HAVE__LOG10F 1
23066 _ACEOF
23067
23068 fi
23069 done
23070
23071 fi
23072 fi
23073
23074
23075
23076
23077
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23079 $as_echo_n "checking for modff declaration... " >&6; }
23080 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23081 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23082 $as_echo_n "(cached) " >&6
23083 else
23084
23085
23086 ac_ext=cpp
23087 ac_cpp='$CXXCPP $CPPFLAGS'
23088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23091
23092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23093 /* end confdefs.h. */
23094 #include <math.h>
23095 int
23096 main ()
23097 {
23098 modff(0, 0);
23099 ;
23100 return 0;
23101 }
23102 _ACEOF
23103 if ac_fn_cxx_try_compile "$LINENO"; then :
23104 glibcxx_cv_func_modff_use=yes
23105 else
23106 glibcxx_cv_func_modff_use=no
23107 fi
23108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23109 ac_ext=c
23110 ac_cpp='$CPP $CPPFLAGS'
23111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23114
23115
23116 fi
23117
23118 fi
23119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23120 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23121
23122 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23123 for ac_func in modff
23124 do :
23125 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23126 if test "x$ac_cv_func_modff" = x""yes; then :
23127 cat >>confdefs.h <<_ACEOF
23128 #define HAVE_MODFF 1
23129 _ACEOF
23130
23131 fi
23132 done
23133
23134 else
23135
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23137 $as_echo_n "checking for _modff declaration... " >&6; }
23138 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23139 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23140 $as_echo_n "(cached) " >&6
23141 else
23142
23143
23144 ac_ext=cpp
23145 ac_cpp='$CXXCPP $CPPFLAGS'
23146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23149
23150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23151 /* end confdefs.h. */
23152 #include <math.h>
23153 int
23154 main ()
23155 {
23156 _modff(0, 0);
23157 ;
23158 return 0;
23159 }
23160 _ACEOF
23161 if ac_fn_cxx_try_compile "$LINENO"; then :
23162 glibcxx_cv_func__modff_use=yes
23163 else
23164 glibcxx_cv_func__modff_use=no
23165 fi
23166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23167 ac_ext=c
23168 ac_cpp='$CPP $CPPFLAGS'
23169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23172
23173
23174 fi
23175
23176 fi
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23178 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23179
23180 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23181 for ac_func in _modff
23182 do :
23183 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23184 if test "x$ac_cv_func__modff" = x""yes; then :
23185 cat >>confdefs.h <<_ACEOF
23186 #define HAVE__MODFF 1
23187 _ACEOF
23188
23189 fi
23190 done
23191
23192 fi
23193 fi
23194
23195
23196
23197
23198
23199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23200 $as_echo_n "checking for modf declaration... " >&6; }
23201 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23202 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23203 $as_echo_n "(cached) " >&6
23204 else
23205
23206
23207 ac_ext=cpp
23208 ac_cpp='$CXXCPP $CPPFLAGS'
23209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23212
23213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23214 /* end confdefs.h. */
23215 #include <math.h>
23216 int
23217 main ()
23218 {
23219 modf(0, 0);
23220 ;
23221 return 0;
23222 }
23223 _ACEOF
23224 if ac_fn_cxx_try_compile "$LINENO"; then :
23225 glibcxx_cv_func_modf_use=yes
23226 else
23227 glibcxx_cv_func_modf_use=no
23228 fi
23229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23230 ac_ext=c
23231 ac_cpp='$CPP $CPPFLAGS'
23232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23235
23236
23237 fi
23238
23239 fi
23240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23241 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23242
23243 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23244 for ac_func in modf
23245 do :
23246 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23247 if test "x$ac_cv_func_modf" = x""yes; then :
23248 cat >>confdefs.h <<_ACEOF
23249 #define HAVE_MODF 1
23250 _ACEOF
23251
23252 fi
23253 done
23254
23255 else
23256
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23258 $as_echo_n "checking for _modf declaration... " >&6; }
23259 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23260 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23261 $as_echo_n "(cached) " >&6
23262 else
23263
23264
23265 ac_ext=cpp
23266 ac_cpp='$CXXCPP $CPPFLAGS'
23267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23270
23271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23272 /* end confdefs.h. */
23273 #include <math.h>
23274 int
23275 main ()
23276 {
23277 _modf(0, 0);
23278 ;
23279 return 0;
23280 }
23281 _ACEOF
23282 if ac_fn_cxx_try_compile "$LINENO"; then :
23283 glibcxx_cv_func__modf_use=yes
23284 else
23285 glibcxx_cv_func__modf_use=no
23286 fi
23287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23288 ac_ext=c
23289 ac_cpp='$CPP $CPPFLAGS'
23290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23293
23294
23295 fi
23296
23297 fi
23298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23299 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23300
23301 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23302 for ac_func in _modf
23303 do :
23304 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23305 if test "x$ac_cv_func__modf" = x""yes; then :
23306 cat >>confdefs.h <<_ACEOF
23307 #define HAVE__MODF 1
23308 _ACEOF
23309
23310 fi
23311 done
23312
23313 fi
23314 fi
23315
23316
23317
23318
23319
23320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23321 $as_echo_n "checking for powf declaration... " >&6; }
23322 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23323 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23324 $as_echo_n "(cached) " >&6
23325 else
23326
23327
23328 ac_ext=cpp
23329 ac_cpp='$CXXCPP $CPPFLAGS'
23330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23333
23334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23335 /* end confdefs.h. */
23336 #include <math.h>
23337 int
23338 main ()
23339 {
23340 powf(0, 0);
23341 ;
23342 return 0;
23343 }
23344 _ACEOF
23345 if ac_fn_cxx_try_compile "$LINENO"; then :
23346 glibcxx_cv_func_powf_use=yes
23347 else
23348 glibcxx_cv_func_powf_use=no
23349 fi
23350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_ext=c
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23356
23357
23358 fi
23359
23360 fi
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23362 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23363
23364 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23365 for ac_func in powf
23366 do :
23367 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23368 if test "x$ac_cv_func_powf" = x""yes; then :
23369 cat >>confdefs.h <<_ACEOF
23370 #define HAVE_POWF 1
23371 _ACEOF
23372
23373 fi
23374 done
23375
23376 else
23377
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23379 $as_echo_n "checking for _powf declaration... " >&6; }
23380 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23381 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23382 $as_echo_n "(cached) " >&6
23383 else
23384
23385
23386 ac_ext=cpp
23387 ac_cpp='$CXXCPP $CPPFLAGS'
23388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23391
23392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23393 /* end confdefs.h. */
23394 #include <math.h>
23395 int
23396 main ()
23397 {
23398 _powf(0, 0);
23399 ;
23400 return 0;
23401 }
23402 _ACEOF
23403 if ac_fn_cxx_try_compile "$LINENO"; then :
23404 glibcxx_cv_func__powf_use=yes
23405 else
23406 glibcxx_cv_func__powf_use=no
23407 fi
23408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23409 ac_ext=c
23410 ac_cpp='$CPP $CPPFLAGS'
23411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23414
23415
23416 fi
23417
23418 fi
23419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23420 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23421
23422 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23423 for ac_func in _powf
23424 do :
23425 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23426 if test "x$ac_cv_func__powf" = x""yes; then :
23427 cat >>confdefs.h <<_ACEOF
23428 #define HAVE__POWF 1
23429 _ACEOF
23430
23431 fi
23432 done
23433
23434 fi
23435 fi
23436
23437
23438
23439
23440
23441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23442 $as_echo_n "checking for sqrtf declaration... " >&6; }
23443 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23444 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23445 $as_echo_n "(cached) " >&6
23446 else
23447
23448
23449 ac_ext=cpp
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23454
23455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23456 /* end confdefs.h. */
23457 #include <math.h>
23458 #ifdef HAVE_IEEEFP_H
23459 #include <ieeefp.h>
23460 #endif
23461
23462 int
23463 main ()
23464 {
23465 sqrtf(0);
23466 ;
23467 return 0;
23468 }
23469 _ACEOF
23470 if ac_fn_cxx_try_compile "$LINENO"; then :
23471 glibcxx_cv_func_sqrtf_use=yes
23472 else
23473 glibcxx_cv_func_sqrtf_use=no
23474 fi
23475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23476 ac_ext=c
23477 ac_cpp='$CPP $CPPFLAGS'
23478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23481
23482
23483 fi
23484
23485 fi
23486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23487 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23488
23489 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23490 for ac_func in sqrtf
23491 do :
23492 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23493 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23494 cat >>confdefs.h <<_ACEOF
23495 #define HAVE_SQRTF 1
23496 _ACEOF
23497
23498 fi
23499 done
23500
23501 else
23502
23503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23504 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23505 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23506 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23507 $as_echo_n "(cached) " >&6
23508 else
23509
23510
23511 ac_ext=cpp
23512 ac_cpp='$CXXCPP $CPPFLAGS'
23513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23516
23517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23518 /* end confdefs.h. */
23519 #include <math.h>
23520 #ifdef HAVE_IEEEFP_H
23521 #include <ieeefp.h>
23522 #endif
23523
23524 int
23525 main ()
23526 {
23527 _sqrtf(0);
23528 ;
23529 return 0;
23530 }
23531 _ACEOF
23532 if ac_fn_cxx_try_compile "$LINENO"; then :
23533 glibcxx_cv_func__sqrtf_use=yes
23534 else
23535 glibcxx_cv_func__sqrtf_use=no
23536 fi
23537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23538 ac_ext=c
23539 ac_cpp='$CPP $CPPFLAGS'
23540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23543
23544
23545 fi
23546
23547 fi
23548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23549 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23550
23551 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23552 for ac_func in _sqrtf
23553 do :
23554 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23555 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23556 cat >>confdefs.h <<_ACEOF
23557 #define HAVE__SQRTF 1
23558 _ACEOF
23559
23560 fi
23561 done
23562
23563 fi
23564 fi
23565
23566
23567
23568
23569
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23571 $as_echo_n "checking for sincosf declaration... " >&6; }
23572 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23573 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23574 $as_echo_n "(cached) " >&6
23575 else
23576
23577
23578 ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583
23584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h. */
23586 #include <math.h>
23587 int
23588 main ()
23589 {
23590 sincosf(0, 0, 0);
23591 ;
23592 return 0;
23593 }
23594 _ACEOF
23595 if ac_fn_cxx_try_compile "$LINENO"; then :
23596 glibcxx_cv_func_sincosf_use=yes
23597 else
23598 glibcxx_cv_func_sincosf_use=no
23599 fi
23600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23601 ac_ext=c
23602 ac_cpp='$CPP $CPPFLAGS'
23603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23606
23607
23608 fi
23609
23610 fi
23611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23612 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23613
23614 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23615 for ac_func in sincosf
23616 do :
23617 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23618 if test "x$ac_cv_func_sincosf" = x""yes; then :
23619 cat >>confdefs.h <<_ACEOF
23620 #define HAVE_SINCOSF 1
23621 _ACEOF
23622
23623 fi
23624 done
23625
23626 else
23627
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23629 $as_echo_n "checking for _sincosf declaration... " >&6; }
23630 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23631 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23632 $as_echo_n "(cached) " >&6
23633 else
23634
23635
23636 ac_ext=cpp
23637 ac_cpp='$CXXCPP $CPPFLAGS'
23638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23641
23642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23643 /* end confdefs.h. */
23644 #include <math.h>
23645 int
23646 main ()
23647 {
23648 _sincosf(0, 0, 0);
23649 ;
23650 return 0;
23651 }
23652 _ACEOF
23653 if ac_fn_cxx_try_compile "$LINENO"; then :
23654 glibcxx_cv_func__sincosf_use=yes
23655 else
23656 glibcxx_cv_func__sincosf_use=no
23657 fi
23658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23659 ac_ext=c
23660 ac_cpp='$CPP $CPPFLAGS'
23661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23664
23665
23666 fi
23667
23668 fi
23669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23670 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23671
23672 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23673 for ac_func in _sincosf
23674 do :
23675 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23676 if test "x$ac_cv_func__sincosf" = x""yes; then :
23677 cat >>confdefs.h <<_ACEOF
23678 #define HAVE__SINCOSF 1
23679 _ACEOF
23680
23681 fi
23682 done
23683
23684 fi
23685 fi
23686
23687
23688
23689
23690
23691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23692 $as_echo_n "checking for finitef declaration... " >&6; }
23693 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23694 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23695 $as_echo_n "(cached) " >&6
23696 else
23697
23698
23699 ac_ext=cpp
23700 ac_cpp='$CXXCPP $CPPFLAGS'
23701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23704
23705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23706 /* end confdefs.h. */
23707 #include <math.h>
23708 #ifdef HAVE_IEEEFP_H
23709 #include <ieeefp.h>
23710 #endif
23711
23712 int
23713 main ()
23714 {
23715 finitef(0);
23716 ;
23717 return 0;
23718 }
23719 _ACEOF
23720 if ac_fn_cxx_try_compile "$LINENO"; then :
23721 glibcxx_cv_func_finitef_use=yes
23722 else
23723 glibcxx_cv_func_finitef_use=no
23724 fi
23725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23726 ac_ext=c
23727 ac_cpp='$CPP $CPPFLAGS'
23728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23731
23732
23733 fi
23734
23735 fi
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23737 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23738
23739 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23740 for ac_func in finitef
23741 do :
23742 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23743 if test "x$ac_cv_func_finitef" = x""yes; then :
23744 cat >>confdefs.h <<_ACEOF
23745 #define HAVE_FINITEF 1
23746 _ACEOF
23747
23748 fi
23749 done
23750
23751 else
23752
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23754 $as_echo_n "checking for _finitef declaration... " >&6; }
23755 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23756 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23757 $as_echo_n "(cached) " >&6
23758 else
23759
23760
23761 ac_ext=cpp
23762 ac_cpp='$CXXCPP $CPPFLAGS'
23763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23766
23767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23768 /* end confdefs.h. */
23769 #include <math.h>
23770 #ifdef HAVE_IEEEFP_H
23771 #include <ieeefp.h>
23772 #endif
23773
23774 int
23775 main ()
23776 {
23777 _finitef(0);
23778 ;
23779 return 0;
23780 }
23781 _ACEOF
23782 if ac_fn_cxx_try_compile "$LINENO"; then :
23783 glibcxx_cv_func__finitef_use=yes
23784 else
23785 glibcxx_cv_func__finitef_use=no
23786 fi
23787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23788 ac_ext=c
23789 ac_cpp='$CPP $CPPFLAGS'
23790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23793
23794
23795 fi
23796
23797 fi
23798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23799 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23800
23801 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23802 for ac_func in _finitef
23803 do :
23804 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23805 if test "x$ac_cv_func__finitef" = x""yes; then :
23806 cat >>confdefs.h <<_ACEOF
23807 #define HAVE__FINITEF 1
23808 _ACEOF
23809
23810 fi
23811 done
23812
23813 fi
23814 fi
23815
23816
23817
23818
23819
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23821 $as_echo_n "checking for long double trig functions... " >&6; }
23822 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23823 $as_echo_n "(cached) " >&6
23824 else
23825
23826
23827 ac_ext=cpp
23828 ac_cpp='$CXXCPP $CPPFLAGS'
23829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23832
23833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23834 /* end confdefs.h. */
23835 #include <math.h>
23836 int
23837 main ()
23838 {
23839 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23840 ;
23841 return 0;
23842 }
23843 _ACEOF
23844 if ac_fn_cxx_try_compile "$LINENO"; then :
23845 glibcxx_cv_func_long_double_trig_use=yes
23846 else
23847 glibcxx_cv_func_long_double_trig_use=no
23848 fi
23849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23850 ac_ext=c
23851 ac_cpp='$CPP $CPPFLAGS'
23852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23855
23856 fi
23857
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23859 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23860 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23861 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23862 do :
23863 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23864 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23865 eval as_val=\$$as_ac_var
23866 if test "x$as_val" = x""yes; then :
23867 cat >>confdefs.h <<_ACEOF
23868 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23869 _ACEOF
23870
23871 fi
23872 done
23873
23874 else
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23876 $as_echo_n "checking for _long double trig functions... " >&6; }
23877 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23878 $as_echo_n "(cached) " >&6
23879 else
23880
23881
23882 ac_ext=cpp
23883 ac_cpp='$CXXCPP $CPPFLAGS'
23884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23887
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23889 /* end confdefs.h. */
23890 #include <math.h>
23891 int
23892 main ()
23893 {
23894 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23895 ;
23896 return 0;
23897 }
23898 _ACEOF
23899 if ac_fn_cxx_try_compile "$LINENO"; then :
23900 glibcxx_cv_func__long_double_trig_use=yes
23901 else
23902 glibcxx_cv_func__long_double_trig_use=no
23903 fi
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905 ac_ext=c
23906 ac_cpp='$CPP $CPPFLAGS'
23907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23910
23911 fi
23912
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23914 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23915 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23916 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23917 do :
23918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23920 eval as_val=\$$as_ac_var
23921 if test "x$as_val" = x""yes; then :
23922 cat >>confdefs.h <<_ACEOF
23923 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23924 _ACEOF
23925
23926 fi
23927 done
23928
23929 fi
23930 fi
23931
23932
23933
23934
23935
23936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
23937 $as_echo_n "checking for long double round functions... " >&6; }
23938 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
23939 $as_echo_n "(cached) " >&6
23940 else
23941
23942
23943 ac_ext=cpp
23944 ac_cpp='$CXXCPP $CPPFLAGS'
23945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23948
23949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23950 /* end confdefs.h. */
23951 #include <math.h>
23952 int
23953 main ()
23954 {
23955 ceill (0); floorl (0);
23956 ;
23957 return 0;
23958 }
23959 _ACEOF
23960 if ac_fn_cxx_try_compile "$LINENO"; then :
23961 glibcxx_cv_func_long_double_round_use=yes
23962 else
23963 glibcxx_cv_func_long_double_round_use=no
23964 fi
23965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23966 ac_ext=c
23967 ac_cpp='$CPP $CPPFLAGS'
23968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23971
23972 fi
23973
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
23975 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
23976 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
23977 for ac_func in ceill floorl
23978 do :
23979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23981 eval as_val=\$$as_ac_var
23982 if test "x$as_val" = x""yes; then :
23983 cat >>confdefs.h <<_ACEOF
23984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23985 _ACEOF
23986
23987 fi
23988 done
23989
23990 else
23991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
23992 $as_echo_n "checking for _long double round functions... " >&6; }
23993 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
23994 $as_echo_n "(cached) " >&6
23995 else
23996
23997
23998 ac_ext=cpp
23999 ac_cpp='$CXXCPP $CPPFLAGS'
24000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24003
24004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24005 /* end confdefs.h. */
24006 #include <math.h>
24007 int
24008 main ()
24009 {
24010 _ceill (0); _floorl (0);
24011 ;
24012 return 0;
24013 }
24014 _ACEOF
24015 if ac_fn_cxx_try_compile "$LINENO"; then :
24016 glibcxx_cv_func__long_double_round_use=yes
24017 else
24018 glibcxx_cv_func__long_double_round_use=no
24019 fi
24020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24021 ac_ext=c
24022 ac_cpp='$CPP $CPPFLAGS'
24023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24026
24027 fi
24028
24029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24030 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24031 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24032 for ac_func in _ceill _floorl
24033 do :
24034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24036 eval as_val=\$$as_ac_var
24037 if test "x$as_val" = x""yes; then :
24038 cat >>confdefs.h <<_ACEOF
24039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24040 _ACEOF
24041
24042 fi
24043 done
24044
24045 fi
24046 fi
24047
24048
24049
24050
24051
24052
24053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24054 $as_echo_n "checking for isnanl declaration... " >&6; }
24055 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24056 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24057 $as_echo_n "(cached) " >&6
24058 else
24059
24060
24061 ac_ext=cpp
24062 ac_cpp='$CXXCPP $CPPFLAGS'
24063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24066
24067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24068 /* end confdefs.h. */
24069 #include <math.h>
24070 #ifdef HAVE_IEEEFP_H
24071 #include <ieeefp.h>
24072 #endif
24073
24074 int
24075 main ()
24076 {
24077 isnanl(0);
24078 ;
24079 return 0;
24080 }
24081 _ACEOF
24082 if ac_fn_cxx_try_compile "$LINENO"; then :
24083 glibcxx_cv_func_isnanl_use=yes
24084 else
24085 glibcxx_cv_func_isnanl_use=no
24086 fi
24087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24088 ac_ext=c
24089 ac_cpp='$CPP $CPPFLAGS'
24090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24093
24094
24095 fi
24096
24097 fi
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24099 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24100
24101 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24102 for ac_func in isnanl
24103 do :
24104 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24105 if test "x$ac_cv_func_isnanl" = x""yes; then :
24106 cat >>confdefs.h <<_ACEOF
24107 #define HAVE_ISNANL 1
24108 _ACEOF
24109
24110 fi
24111 done
24112
24113 else
24114
24115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24116 $as_echo_n "checking for _isnanl declaration... " >&6; }
24117 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24118 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24119 $as_echo_n "(cached) " >&6
24120 else
24121
24122
24123 ac_ext=cpp
24124 ac_cpp='$CXXCPP $CPPFLAGS'
24125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24128
24129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24130 /* end confdefs.h. */
24131 #include <math.h>
24132 #ifdef HAVE_IEEEFP_H
24133 #include <ieeefp.h>
24134 #endif
24135
24136 int
24137 main ()
24138 {
24139 _isnanl(0);
24140 ;
24141 return 0;
24142 }
24143 _ACEOF
24144 if ac_fn_cxx_try_compile "$LINENO"; then :
24145 glibcxx_cv_func__isnanl_use=yes
24146 else
24147 glibcxx_cv_func__isnanl_use=no
24148 fi
24149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24150 ac_ext=c
24151 ac_cpp='$CPP $CPPFLAGS'
24152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24155
24156
24157 fi
24158
24159 fi
24160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24161 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24162
24163 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24164 for ac_func in _isnanl
24165 do :
24166 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24167 if test "x$ac_cv_func__isnanl" = x""yes; then :
24168 cat >>confdefs.h <<_ACEOF
24169 #define HAVE__ISNANL 1
24170 _ACEOF
24171
24172 fi
24173 done
24174
24175 fi
24176 fi
24177
24178
24179
24180
24181
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24183 $as_echo_n "checking for isinfl declaration... " >&6; }
24184 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24185 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24186 $as_echo_n "(cached) " >&6
24187 else
24188
24189
24190 ac_ext=cpp
24191 ac_cpp='$CXXCPP $CPPFLAGS'
24192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24195
24196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24197 /* end confdefs.h. */
24198 #include <math.h>
24199 #ifdef HAVE_IEEEFP_H
24200 #include <ieeefp.h>
24201 #endif
24202
24203 int
24204 main ()
24205 {
24206 isinfl(0);
24207 ;
24208 return 0;
24209 }
24210 _ACEOF
24211 if ac_fn_cxx_try_compile "$LINENO"; then :
24212 glibcxx_cv_func_isinfl_use=yes
24213 else
24214 glibcxx_cv_func_isinfl_use=no
24215 fi
24216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24217 ac_ext=c
24218 ac_cpp='$CPP $CPPFLAGS'
24219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24222
24223
24224 fi
24225
24226 fi
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24228 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24229
24230 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24231 for ac_func in isinfl
24232 do :
24233 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24234 if test "x$ac_cv_func_isinfl" = x""yes; then :
24235 cat >>confdefs.h <<_ACEOF
24236 #define HAVE_ISINFL 1
24237 _ACEOF
24238
24239 fi
24240 done
24241
24242 else
24243
24244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24245 $as_echo_n "checking for _isinfl declaration... " >&6; }
24246 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24247 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24248 $as_echo_n "(cached) " >&6
24249 else
24250
24251
24252 ac_ext=cpp
24253 ac_cpp='$CXXCPP $CPPFLAGS'
24254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24257
24258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24259 /* end confdefs.h. */
24260 #include <math.h>
24261 #ifdef HAVE_IEEEFP_H
24262 #include <ieeefp.h>
24263 #endif
24264
24265 int
24266 main ()
24267 {
24268 _isinfl(0);
24269 ;
24270 return 0;
24271 }
24272 _ACEOF
24273 if ac_fn_cxx_try_compile "$LINENO"; then :
24274 glibcxx_cv_func__isinfl_use=yes
24275 else
24276 glibcxx_cv_func__isinfl_use=no
24277 fi
24278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24279 ac_ext=c
24280 ac_cpp='$CPP $CPPFLAGS'
24281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24284
24285
24286 fi
24287
24288 fi
24289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24290 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24291
24292 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24293 for ac_func in _isinfl
24294 do :
24295 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24296 if test "x$ac_cv_func__isinfl" = x""yes; then :
24297 cat >>confdefs.h <<_ACEOF
24298 #define HAVE__ISINFL 1
24299 _ACEOF
24300
24301 fi
24302 done
24303
24304 fi
24305 fi
24306
24307
24308
24309
24310
24311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24312 $as_echo_n "checking for atan2l declaration... " >&6; }
24313 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24314 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24315 $as_echo_n "(cached) " >&6
24316 else
24317
24318
24319 ac_ext=cpp
24320 ac_cpp='$CXXCPP $CPPFLAGS'
24321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24324
24325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24326 /* end confdefs.h. */
24327 #include <math.h>
24328 int
24329 main ()
24330 {
24331 atan2l(0, 0);
24332 ;
24333 return 0;
24334 }
24335 _ACEOF
24336 if ac_fn_cxx_try_compile "$LINENO"; then :
24337 glibcxx_cv_func_atan2l_use=yes
24338 else
24339 glibcxx_cv_func_atan2l_use=no
24340 fi
24341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24342 ac_ext=c
24343 ac_cpp='$CPP $CPPFLAGS'
24344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24347
24348
24349 fi
24350
24351 fi
24352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24353 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24354
24355 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24356 for ac_func in atan2l
24357 do :
24358 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24359 if test "x$ac_cv_func_atan2l" = x""yes; then :
24360 cat >>confdefs.h <<_ACEOF
24361 #define HAVE_ATAN2L 1
24362 _ACEOF
24363
24364 fi
24365 done
24366
24367 else
24368
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24370 $as_echo_n "checking for _atan2l declaration... " >&6; }
24371 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24372 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24373 $as_echo_n "(cached) " >&6
24374 else
24375
24376
24377 ac_ext=cpp
24378 ac_cpp='$CXXCPP $CPPFLAGS'
24379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24382
24383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24384 /* end confdefs.h. */
24385 #include <math.h>
24386 int
24387 main ()
24388 {
24389 _atan2l(0, 0);
24390 ;
24391 return 0;
24392 }
24393 _ACEOF
24394 if ac_fn_cxx_try_compile "$LINENO"; then :
24395 glibcxx_cv_func__atan2l_use=yes
24396 else
24397 glibcxx_cv_func__atan2l_use=no
24398 fi
24399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24400 ac_ext=c
24401 ac_cpp='$CPP $CPPFLAGS'
24402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24405
24406
24407 fi
24408
24409 fi
24410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24411 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24412
24413 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24414 for ac_func in _atan2l
24415 do :
24416 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24417 if test "x$ac_cv_func__atan2l" = x""yes; then :
24418 cat >>confdefs.h <<_ACEOF
24419 #define HAVE__ATAN2L 1
24420 _ACEOF
24421
24422 fi
24423 done
24424
24425 fi
24426 fi
24427
24428
24429
24430
24431
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24433 $as_echo_n "checking for expl declaration... " >&6; }
24434 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24435 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24436 $as_echo_n "(cached) " >&6
24437 else
24438
24439
24440 ac_ext=cpp
24441 ac_cpp='$CXXCPP $CPPFLAGS'
24442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24445
24446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24447 /* end confdefs.h. */
24448 #include <math.h>
24449 #ifdef HAVE_IEEEFP_H
24450 #include <ieeefp.h>
24451 #endif
24452
24453 int
24454 main ()
24455 {
24456 expl(0);
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462 glibcxx_cv_func_expl_use=yes
24463 else
24464 glibcxx_cv_func_expl_use=no
24465 fi
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24472
24473
24474 fi
24475
24476 fi
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24478 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24479
24480 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24481 for ac_func in expl
24482 do :
24483 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24484 if test "x$ac_cv_func_expl" = x""yes; then :
24485 cat >>confdefs.h <<_ACEOF
24486 #define HAVE_EXPL 1
24487 _ACEOF
24488
24489 fi
24490 done
24491
24492 else
24493
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24495 $as_echo_n "checking for _expl declaration... " >&6; }
24496 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24497 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24498 $as_echo_n "(cached) " >&6
24499 else
24500
24501
24502 ac_ext=cpp
24503 ac_cpp='$CXXCPP $CPPFLAGS'
24504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24507
24508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24509 /* end confdefs.h. */
24510 #include <math.h>
24511 #ifdef HAVE_IEEEFP_H
24512 #include <ieeefp.h>
24513 #endif
24514
24515 int
24516 main ()
24517 {
24518 _expl(0);
24519 ;
24520 return 0;
24521 }
24522 _ACEOF
24523 if ac_fn_cxx_try_compile "$LINENO"; then :
24524 glibcxx_cv_func__expl_use=yes
24525 else
24526 glibcxx_cv_func__expl_use=no
24527 fi
24528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24529 ac_ext=c
24530 ac_cpp='$CPP $CPPFLAGS'
24531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24534
24535
24536 fi
24537
24538 fi
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24540 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24541
24542 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24543 for ac_func in _expl
24544 do :
24545 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24546 if test "x$ac_cv_func__expl" = x""yes; then :
24547 cat >>confdefs.h <<_ACEOF
24548 #define HAVE__EXPL 1
24549 _ACEOF
24550
24551 fi
24552 done
24553
24554 fi
24555 fi
24556
24557
24558
24559
24560
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24562 $as_echo_n "checking for fabsl declaration... " >&6; }
24563 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24564 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24565 $as_echo_n "(cached) " >&6
24566 else
24567
24568
24569 ac_ext=cpp
24570 ac_cpp='$CXXCPP $CPPFLAGS'
24571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24574
24575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24576 /* end confdefs.h. */
24577 #include <math.h>
24578 #ifdef HAVE_IEEEFP_H
24579 #include <ieeefp.h>
24580 #endif
24581
24582 int
24583 main ()
24584 {
24585 fabsl(0);
24586 ;
24587 return 0;
24588 }
24589 _ACEOF
24590 if ac_fn_cxx_try_compile "$LINENO"; then :
24591 glibcxx_cv_func_fabsl_use=yes
24592 else
24593 glibcxx_cv_func_fabsl_use=no
24594 fi
24595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24596 ac_ext=c
24597 ac_cpp='$CPP $CPPFLAGS'
24598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24601
24602
24603 fi
24604
24605 fi
24606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24607 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24608
24609 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24610 for ac_func in fabsl
24611 do :
24612 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24613 if test "x$ac_cv_func_fabsl" = x""yes; then :
24614 cat >>confdefs.h <<_ACEOF
24615 #define HAVE_FABSL 1
24616 _ACEOF
24617
24618 fi
24619 done
24620
24621 else
24622
24623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24624 $as_echo_n "checking for _fabsl declaration... " >&6; }
24625 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24626 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24627 $as_echo_n "(cached) " >&6
24628 else
24629
24630
24631 ac_ext=cpp
24632 ac_cpp='$CXXCPP $CPPFLAGS'
24633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24636
24637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24638 /* end confdefs.h. */
24639 #include <math.h>
24640 #ifdef HAVE_IEEEFP_H
24641 #include <ieeefp.h>
24642 #endif
24643
24644 int
24645 main ()
24646 {
24647 _fabsl(0);
24648 ;
24649 return 0;
24650 }
24651 _ACEOF
24652 if ac_fn_cxx_try_compile "$LINENO"; then :
24653 glibcxx_cv_func__fabsl_use=yes
24654 else
24655 glibcxx_cv_func__fabsl_use=no
24656 fi
24657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24658 ac_ext=c
24659 ac_cpp='$CPP $CPPFLAGS'
24660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24663
24664
24665 fi
24666
24667 fi
24668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24669 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24670
24671 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24672 for ac_func in _fabsl
24673 do :
24674 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24675 if test "x$ac_cv_func__fabsl" = x""yes; then :
24676 cat >>confdefs.h <<_ACEOF
24677 #define HAVE__FABSL 1
24678 _ACEOF
24679
24680 fi
24681 done
24682
24683 fi
24684 fi
24685
24686
24687
24688
24689
24690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24691 $as_echo_n "checking for fmodl declaration... " >&6; }
24692 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24693 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24694 $as_echo_n "(cached) " >&6
24695 else
24696
24697
24698 ac_ext=cpp
24699 ac_cpp='$CXXCPP $CPPFLAGS'
24700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24703
24704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24705 /* end confdefs.h. */
24706 #include <math.h>
24707 int
24708 main ()
24709 {
24710 fmodl(0, 0);
24711 ;
24712 return 0;
24713 }
24714 _ACEOF
24715 if ac_fn_cxx_try_compile "$LINENO"; then :
24716 glibcxx_cv_func_fmodl_use=yes
24717 else
24718 glibcxx_cv_func_fmodl_use=no
24719 fi
24720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24721 ac_ext=c
24722 ac_cpp='$CPP $CPPFLAGS'
24723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24726
24727
24728 fi
24729
24730 fi
24731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24732 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24733
24734 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24735 for ac_func in fmodl
24736 do :
24737 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24738 if test "x$ac_cv_func_fmodl" = x""yes; then :
24739 cat >>confdefs.h <<_ACEOF
24740 #define HAVE_FMODL 1
24741 _ACEOF
24742
24743 fi
24744 done
24745
24746 else
24747
24748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24749 $as_echo_n "checking for _fmodl declaration... " >&6; }
24750 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24751 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24752 $as_echo_n "(cached) " >&6
24753 else
24754
24755
24756 ac_ext=cpp
24757 ac_cpp='$CXXCPP $CPPFLAGS'
24758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24761
24762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24763 /* end confdefs.h. */
24764 #include <math.h>
24765 int
24766 main ()
24767 {
24768 _fmodl(0, 0);
24769 ;
24770 return 0;
24771 }
24772 _ACEOF
24773 if ac_fn_cxx_try_compile "$LINENO"; then :
24774 glibcxx_cv_func__fmodl_use=yes
24775 else
24776 glibcxx_cv_func__fmodl_use=no
24777 fi
24778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24779 ac_ext=c
24780 ac_cpp='$CPP $CPPFLAGS'
24781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24784
24785
24786 fi
24787
24788 fi
24789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24790 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24791
24792 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24793 for ac_func in _fmodl
24794 do :
24795 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24796 if test "x$ac_cv_func__fmodl" = x""yes; then :
24797 cat >>confdefs.h <<_ACEOF
24798 #define HAVE__FMODL 1
24799 _ACEOF
24800
24801 fi
24802 done
24803
24804 fi
24805 fi
24806
24807
24808
24809
24810
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24812 $as_echo_n "checking for frexpl declaration... " >&6; }
24813 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24814 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24815 $as_echo_n "(cached) " >&6
24816 else
24817
24818
24819 ac_ext=cpp
24820 ac_cpp='$CXXCPP $CPPFLAGS'
24821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24824
24825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24826 /* end confdefs.h. */
24827 #include <math.h>
24828 int
24829 main ()
24830 {
24831 frexpl(0, 0);
24832 ;
24833 return 0;
24834 }
24835 _ACEOF
24836 if ac_fn_cxx_try_compile "$LINENO"; then :
24837 glibcxx_cv_func_frexpl_use=yes
24838 else
24839 glibcxx_cv_func_frexpl_use=no
24840 fi
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24842 ac_ext=c
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24847
24848
24849 fi
24850
24851 fi
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24853 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24854
24855 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24856 for ac_func in frexpl
24857 do :
24858 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24859 if test "x$ac_cv_func_frexpl" = x""yes; then :
24860 cat >>confdefs.h <<_ACEOF
24861 #define HAVE_FREXPL 1
24862 _ACEOF
24863
24864 fi
24865 done
24866
24867 else
24868
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24870 $as_echo_n "checking for _frexpl declaration... " >&6; }
24871 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24872 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24873 $as_echo_n "(cached) " >&6
24874 else
24875
24876
24877 ac_ext=cpp
24878 ac_cpp='$CXXCPP $CPPFLAGS'
24879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24882
24883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24884 /* end confdefs.h. */
24885 #include <math.h>
24886 int
24887 main ()
24888 {
24889 _frexpl(0, 0);
24890 ;
24891 return 0;
24892 }
24893 _ACEOF
24894 if ac_fn_cxx_try_compile "$LINENO"; then :
24895 glibcxx_cv_func__frexpl_use=yes
24896 else
24897 glibcxx_cv_func__frexpl_use=no
24898 fi
24899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24900 ac_ext=c
24901 ac_cpp='$CPP $CPPFLAGS'
24902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24905
24906
24907 fi
24908
24909 fi
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24911 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24912
24913 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24914 for ac_func in _frexpl
24915 do :
24916 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24917 if test "x$ac_cv_func__frexpl" = x""yes; then :
24918 cat >>confdefs.h <<_ACEOF
24919 #define HAVE__FREXPL 1
24920 _ACEOF
24921
24922 fi
24923 done
24924
24925 fi
24926 fi
24927
24928
24929
24930
24931
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24933 $as_echo_n "checking for hypotl declaration... " >&6; }
24934 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
24935 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
24936 $as_echo_n "(cached) " >&6
24937 else
24938
24939
24940 ac_ext=cpp
24941 ac_cpp='$CXXCPP $CPPFLAGS'
24942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24945
24946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24947 /* end confdefs.h. */
24948 #include <math.h>
24949 int
24950 main ()
24951 {
24952 hypotl(0, 0);
24953 ;
24954 return 0;
24955 }
24956 _ACEOF
24957 if ac_fn_cxx_try_compile "$LINENO"; then :
24958 glibcxx_cv_func_hypotl_use=yes
24959 else
24960 glibcxx_cv_func_hypotl_use=no
24961 fi
24962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24963 ac_ext=c
24964 ac_cpp='$CPP $CPPFLAGS'
24965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24968
24969
24970 fi
24971
24972 fi
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
24974 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
24975
24976 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
24977 for ac_func in hypotl
24978 do :
24979 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
24980 if test "x$ac_cv_func_hypotl" = x""yes; then :
24981 cat >>confdefs.h <<_ACEOF
24982 #define HAVE_HYPOTL 1
24983 _ACEOF
24984
24985 fi
24986 done
24987
24988 else
24989
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
24991 $as_echo_n "checking for _hypotl declaration... " >&6; }
24992 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
24993 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
24994 $as_echo_n "(cached) " >&6
24995 else
24996
24997
24998 ac_ext=cpp
24999 ac_cpp='$CXXCPP $CPPFLAGS'
25000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25003
25004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25005 /* end confdefs.h. */
25006 #include <math.h>
25007 int
25008 main ()
25009 {
25010 _hypotl(0, 0);
25011 ;
25012 return 0;
25013 }
25014 _ACEOF
25015 if ac_fn_cxx_try_compile "$LINENO"; then :
25016 glibcxx_cv_func__hypotl_use=yes
25017 else
25018 glibcxx_cv_func__hypotl_use=no
25019 fi
25020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25021 ac_ext=c
25022 ac_cpp='$CPP $CPPFLAGS'
25023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25026
25027
25028 fi
25029
25030 fi
25031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25032 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25033
25034 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25035 for ac_func in _hypotl
25036 do :
25037 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25038 if test "x$ac_cv_func__hypotl" = x""yes; then :
25039 cat >>confdefs.h <<_ACEOF
25040 #define HAVE__HYPOTL 1
25041 _ACEOF
25042
25043 fi
25044 done
25045
25046 fi
25047 fi
25048
25049
25050
25051
25052
25053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25054 $as_echo_n "checking for ldexpl declaration... " >&6; }
25055 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25056 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25057 $as_echo_n "(cached) " >&6
25058 else
25059
25060
25061 ac_ext=cpp
25062 ac_cpp='$CXXCPP $CPPFLAGS'
25063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25066
25067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25068 /* end confdefs.h. */
25069 #include <math.h>
25070 int
25071 main ()
25072 {
25073 ldexpl(0, 0);
25074 ;
25075 return 0;
25076 }
25077 _ACEOF
25078 if ac_fn_cxx_try_compile "$LINENO"; then :
25079 glibcxx_cv_func_ldexpl_use=yes
25080 else
25081 glibcxx_cv_func_ldexpl_use=no
25082 fi
25083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25084 ac_ext=c
25085 ac_cpp='$CPP $CPPFLAGS'
25086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25089
25090
25091 fi
25092
25093 fi
25094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25095 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25096
25097 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25098 for ac_func in ldexpl
25099 do :
25100 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25101 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25102 cat >>confdefs.h <<_ACEOF
25103 #define HAVE_LDEXPL 1
25104 _ACEOF
25105
25106 fi
25107 done
25108
25109 else
25110
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25112 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25113 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25114 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25115 $as_echo_n "(cached) " >&6
25116 else
25117
25118
25119 ac_ext=cpp
25120 ac_cpp='$CXXCPP $CPPFLAGS'
25121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25124
25125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25126 /* end confdefs.h. */
25127 #include <math.h>
25128 int
25129 main ()
25130 {
25131 _ldexpl(0, 0);
25132 ;
25133 return 0;
25134 }
25135 _ACEOF
25136 if ac_fn_cxx_try_compile "$LINENO"; then :
25137 glibcxx_cv_func__ldexpl_use=yes
25138 else
25139 glibcxx_cv_func__ldexpl_use=no
25140 fi
25141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25142 ac_ext=c
25143 ac_cpp='$CPP $CPPFLAGS'
25144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25147
25148
25149 fi
25150
25151 fi
25152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25153 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25154
25155 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25156 for ac_func in _ldexpl
25157 do :
25158 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25159 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25160 cat >>confdefs.h <<_ACEOF
25161 #define HAVE__LDEXPL 1
25162 _ACEOF
25163
25164 fi
25165 done
25166
25167 fi
25168 fi
25169
25170
25171
25172
25173
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25175 $as_echo_n "checking for logl declaration... " >&6; }
25176 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25177 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25178 $as_echo_n "(cached) " >&6
25179 else
25180
25181
25182 ac_ext=cpp
25183 ac_cpp='$CXXCPP $CPPFLAGS'
25184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25187
25188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25189 /* end confdefs.h. */
25190 #include <math.h>
25191 #ifdef HAVE_IEEEFP_H
25192 #include <ieeefp.h>
25193 #endif
25194
25195 int
25196 main ()
25197 {
25198 logl(0);
25199 ;
25200 return 0;
25201 }
25202 _ACEOF
25203 if ac_fn_cxx_try_compile "$LINENO"; then :
25204 glibcxx_cv_func_logl_use=yes
25205 else
25206 glibcxx_cv_func_logl_use=no
25207 fi
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209 ac_ext=c
25210 ac_cpp='$CPP $CPPFLAGS'
25211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25214
25215
25216 fi
25217
25218 fi
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25220 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25221
25222 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25223 for ac_func in logl
25224 do :
25225 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25226 if test "x$ac_cv_func_logl" = x""yes; then :
25227 cat >>confdefs.h <<_ACEOF
25228 #define HAVE_LOGL 1
25229 _ACEOF
25230
25231 fi
25232 done
25233
25234 else
25235
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25237 $as_echo_n "checking for _logl declaration... " >&6; }
25238 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25239 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25240 $as_echo_n "(cached) " >&6
25241 else
25242
25243
25244 ac_ext=cpp
25245 ac_cpp='$CXXCPP $CPPFLAGS'
25246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25249
25250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25251 /* end confdefs.h. */
25252 #include <math.h>
25253 #ifdef HAVE_IEEEFP_H
25254 #include <ieeefp.h>
25255 #endif
25256
25257 int
25258 main ()
25259 {
25260 _logl(0);
25261 ;
25262 return 0;
25263 }
25264 _ACEOF
25265 if ac_fn_cxx_try_compile "$LINENO"; then :
25266 glibcxx_cv_func__logl_use=yes
25267 else
25268 glibcxx_cv_func__logl_use=no
25269 fi
25270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25271 ac_ext=c
25272 ac_cpp='$CPP $CPPFLAGS'
25273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25276
25277
25278 fi
25279
25280 fi
25281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25282 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25283
25284 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25285 for ac_func in _logl
25286 do :
25287 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25288 if test "x$ac_cv_func__logl" = x""yes; then :
25289 cat >>confdefs.h <<_ACEOF
25290 #define HAVE__LOGL 1
25291 _ACEOF
25292
25293 fi
25294 done
25295
25296 fi
25297 fi
25298
25299
25300
25301
25302
25303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25304 $as_echo_n "checking for log10l declaration... " >&6; }
25305 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25306 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25307 $as_echo_n "(cached) " >&6
25308 else
25309
25310
25311 ac_ext=cpp
25312 ac_cpp='$CXXCPP $CPPFLAGS'
25313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25316
25317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25318 /* end confdefs.h. */
25319 #include <math.h>
25320 #ifdef HAVE_IEEEFP_H
25321 #include <ieeefp.h>
25322 #endif
25323
25324 int
25325 main ()
25326 {
25327 log10l(0);
25328 ;
25329 return 0;
25330 }
25331 _ACEOF
25332 if ac_fn_cxx_try_compile "$LINENO"; then :
25333 glibcxx_cv_func_log10l_use=yes
25334 else
25335 glibcxx_cv_func_log10l_use=no
25336 fi
25337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338 ac_ext=c
25339 ac_cpp='$CPP $CPPFLAGS'
25340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25343
25344
25345 fi
25346
25347 fi
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25349 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25350
25351 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25352 for ac_func in log10l
25353 do :
25354 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25355 if test "x$ac_cv_func_log10l" = x""yes; then :
25356 cat >>confdefs.h <<_ACEOF
25357 #define HAVE_LOG10L 1
25358 _ACEOF
25359
25360 fi
25361 done
25362
25363 else
25364
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25366 $as_echo_n "checking for _log10l declaration... " >&6; }
25367 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25368 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25369 $as_echo_n "(cached) " >&6
25370 else
25371
25372
25373 ac_ext=cpp
25374 ac_cpp='$CXXCPP $CPPFLAGS'
25375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25378
25379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25380 /* end confdefs.h. */
25381 #include <math.h>
25382 #ifdef HAVE_IEEEFP_H
25383 #include <ieeefp.h>
25384 #endif
25385
25386 int
25387 main ()
25388 {
25389 _log10l(0);
25390 ;
25391 return 0;
25392 }
25393 _ACEOF
25394 if ac_fn_cxx_try_compile "$LINENO"; then :
25395 glibcxx_cv_func__log10l_use=yes
25396 else
25397 glibcxx_cv_func__log10l_use=no
25398 fi
25399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25400 ac_ext=c
25401 ac_cpp='$CPP $CPPFLAGS'
25402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25405
25406
25407 fi
25408
25409 fi
25410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25411 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25412
25413 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25414 for ac_func in _log10l
25415 do :
25416 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25417 if test "x$ac_cv_func__log10l" = x""yes; then :
25418 cat >>confdefs.h <<_ACEOF
25419 #define HAVE__LOG10L 1
25420 _ACEOF
25421
25422 fi
25423 done
25424
25425 fi
25426 fi
25427
25428
25429
25430
25431
25432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25433 $as_echo_n "checking for modfl declaration... " >&6; }
25434 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25435 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25436 $as_echo_n "(cached) " >&6
25437 else
25438
25439
25440 ac_ext=cpp
25441 ac_cpp='$CXXCPP $CPPFLAGS'
25442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25445
25446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25447 /* end confdefs.h. */
25448 #include <math.h>
25449 int
25450 main ()
25451 {
25452 modfl(0, 0);
25453 ;
25454 return 0;
25455 }
25456 _ACEOF
25457 if ac_fn_cxx_try_compile "$LINENO"; then :
25458 glibcxx_cv_func_modfl_use=yes
25459 else
25460 glibcxx_cv_func_modfl_use=no
25461 fi
25462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25463 ac_ext=c
25464 ac_cpp='$CPP $CPPFLAGS'
25465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25468
25469
25470 fi
25471
25472 fi
25473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25474 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25475
25476 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25477 for ac_func in modfl
25478 do :
25479 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25480 if test "x$ac_cv_func_modfl" = x""yes; then :
25481 cat >>confdefs.h <<_ACEOF
25482 #define HAVE_MODFL 1
25483 _ACEOF
25484
25485 fi
25486 done
25487
25488 else
25489
25490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25491 $as_echo_n "checking for _modfl declaration... " >&6; }
25492 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25493 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25494 $as_echo_n "(cached) " >&6
25495 else
25496
25497
25498 ac_ext=cpp
25499 ac_cpp='$CXXCPP $CPPFLAGS'
25500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25503
25504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25505 /* end confdefs.h. */
25506 #include <math.h>
25507 int
25508 main ()
25509 {
25510 _modfl(0, 0);
25511 ;
25512 return 0;
25513 }
25514 _ACEOF
25515 if ac_fn_cxx_try_compile "$LINENO"; then :
25516 glibcxx_cv_func__modfl_use=yes
25517 else
25518 glibcxx_cv_func__modfl_use=no
25519 fi
25520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25521 ac_ext=c
25522 ac_cpp='$CPP $CPPFLAGS'
25523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25526
25527
25528 fi
25529
25530 fi
25531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25532 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25533
25534 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25535 for ac_func in _modfl
25536 do :
25537 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25538 if test "x$ac_cv_func__modfl" = x""yes; then :
25539 cat >>confdefs.h <<_ACEOF
25540 #define HAVE__MODFL 1
25541 _ACEOF
25542
25543 fi
25544 done
25545
25546 fi
25547 fi
25548
25549
25550
25551
25552
25553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25554 $as_echo_n "checking for powl declaration... " >&6; }
25555 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25556 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25557 $as_echo_n "(cached) " >&6
25558 else
25559
25560
25561 ac_ext=cpp
25562 ac_cpp='$CXXCPP $CPPFLAGS'
25563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25566
25567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25568 /* end confdefs.h. */
25569 #include <math.h>
25570 int
25571 main ()
25572 {
25573 powl(0, 0);
25574 ;
25575 return 0;
25576 }
25577 _ACEOF
25578 if ac_fn_cxx_try_compile "$LINENO"; then :
25579 glibcxx_cv_func_powl_use=yes
25580 else
25581 glibcxx_cv_func_powl_use=no
25582 fi
25583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25584 ac_ext=c
25585 ac_cpp='$CPP $CPPFLAGS'
25586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25589
25590
25591 fi
25592
25593 fi
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25595 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25596
25597 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25598 for ac_func in powl
25599 do :
25600 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25601 if test "x$ac_cv_func_powl" = x""yes; then :
25602 cat >>confdefs.h <<_ACEOF
25603 #define HAVE_POWL 1
25604 _ACEOF
25605
25606 fi
25607 done
25608
25609 else
25610
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25612 $as_echo_n "checking for _powl declaration... " >&6; }
25613 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25614 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25615 $as_echo_n "(cached) " >&6
25616 else
25617
25618
25619 ac_ext=cpp
25620 ac_cpp='$CXXCPP $CPPFLAGS'
25621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25624
25625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25626 /* end confdefs.h. */
25627 #include <math.h>
25628 int
25629 main ()
25630 {
25631 _powl(0, 0);
25632 ;
25633 return 0;
25634 }
25635 _ACEOF
25636 if ac_fn_cxx_try_compile "$LINENO"; then :
25637 glibcxx_cv_func__powl_use=yes
25638 else
25639 glibcxx_cv_func__powl_use=no
25640 fi
25641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25642 ac_ext=c
25643 ac_cpp='$CPP $CPPFLAGS'
25644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25647
25648
25649 fi
25650
25651 fi
25652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25653 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25654
25655 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25656 for ac_func in _powl
25657 do :
25658 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25659 if test "x$ac_cv_func__powl" = x""yes; then :
25660 cat >>confdefs.h <<_ACEOF
25661 #define HAVE__POWL 1
25662 _ACEOF
25663
25664 fi
25665 done
25666
25667 fi
25668 fi
25669
25670
25671
25672
25673
25674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25675 $as_echo_n "checking for sqrtl declaration... " >&6; }
25676 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25677 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25678 $as_echo_n "(cached) " >&6
25679 else
25680
25681
25682 ac_ext=cpp
25683 ac_cpp='$CXXCPP $CPPFLAGS'
25684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25687
25688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25689 /* end confdefs.h. */
25690 #include <math.h>
25691 #ifdef HAVE_IEEEFP_H
25692 #include <ieeefp.h>
25693 #endif
25694
25695 int
25696 main ()
25697 {
25698 sqrtl(0);
25699 ;
25700 return 0;
25701 }
25702 _ACEOF
25703 if ac_fn_cxx_try_compile "$LINENO"; then :
25704 glibcxx_cv_func_sqrtl_use=yes
25705 else
25706 glibcxx_cv_func_sqrtl_use=no
25707 fi
25708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25709 ac_ext=c
25710 ac_cpp='$CPP $CPPFLAGS'
25711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25714
25715
25716 fi
25717
25718 fi
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25720 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25721
25722 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25723 for ac_func in sqrtl
25724 do :
25725 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25726 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25727 cat >>confdefs.h <<_ACEOF
25728 #define HAVE_SQRTL 1
25729 _ACEOF
25730
25731 fi
25732 done
25733
25734 else
25735
25736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25737 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25738 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25739 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25740 $as_echo_n "(cached) " >&6
25741 else
25742
25743
25744 ac_ext=cpp
25745 ac_cpp='$CXXCPP $CPPFLAGS'
25746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25749
25750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25751 /* end confdefs.h. */
25752 #include <math.h>
25753 #ifdef HAVE_IEEEFP_H
25754 #include <ieeefp.h>
25755 #endif
25756
25757 int
25758 main ()
25759 {
25760 _sqrtl(0);
25761 ;
25762 return 0;
25763 }
25764 _ACEOF
25765 if ac_fn_cxx_try_compile "$LINENO"; then :
25766 glibcxx_cv_func__sqrtl_use=yes
25767 else
25768 glibcxx_cv_func__sqrtl_use=no
25769 fi
25770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25771 ac_ext=c
25772 ac_cpp='$CPP $CPPFLAGS'
25773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25776
25777
25778 fi
25779
25780 fi
25781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25782 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25783
25784 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25785 for ac_func in _sqrtl
25786 do :
25787 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25788 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25789 cat >>confdefs.h <<_ACEOF
25790 #define HAVE__SQRTL 1
25791 _ACEOF
25792
25793 fi
25794 done
25795
25796 fi
25797 fi
25798
25799
25800
25801
25802
25803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25804 $as_echo_n "checking for sincosl declaration... " >&6; }
25805 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25806 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25807 $as_echo_n "(cached) " >&6
25808 else
25809
25810
25811 ac_ext=cpp
25812 ac_cpp='$CXXCPP $CPPFLAGS'
25813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25816
25817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25818 /* end confdefs.h. */
25819 #include <math.h>
25820 int
25821 main ()
25822 {
25823 sincosl(0, 0, 0);
25824 ;
25825 return 0;
25826 }
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func_sincosl_use=yes
25830 else
25831 glibcxx_cv_func_sincosl_use=no
25832 fi
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25839
25840
25841 fi
25842
25843 fi
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25845 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25846
25847 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25848 for ac_func in sincosl
25849 do :
25850 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25851 if test "x$ac_cv_func_sincosl" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE_SINCOSL 1
25854 _ACEOF
25855
25856 fi
25857 done
25858
25859 else
25860
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25862 $as_echo_n "checking for _sincosl declaration... " >&6; }
25863 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25864 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25865 $as_echo_n "(cached) " >&6
25866 else
25867
25868
25869 ac_ext=cpp
25870 ac_cpp='$CXXCPP $CPPFLAGS'
25871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25874
25875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h. */
25877 #include <math.h>
25878 int
25879 main ()
25880 {
25881 _sincosl(0, 0, 0);
25882 ;
25883 return 0;
25884 }
25885 _ACEOF
25886 if ac_fn_cxx_try_compile "$LINENO"; then :
25887 glibcxx_cv_func__sincosl_use=yes
25888 else
25889 glibcxx_cv_func__sincosl_use=no
25890 fi
25891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25892 ac_ext=c
25893 ac_cpp='$CPP $CPPFLAGS'
25894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25897
25898
25899 fi
25900
25901 fi
25902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25903 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25904
25905 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25906 for ac_func in _sincosl
25907 do :
25908 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25909 if test "x$ac_cv_func__sincosl" = x""yes; then :
25910 cat >>confdefs.h <<_ACEOF
25911 #define HAVE__SINCOSL 1
25912 _ACEOF
25913
25914 fi
25915 done
25916
25917 fi
25918 fi
25919
25920
25921
25922
25923
25924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25925 $as_echo_n "checking for finitel declaration... " >&6; }
25926 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25927 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25928 $as_echo_n "(cached) " >&6
25929 else
25930
25931
25932 ac_ext=cpp
25933 ac_cpp='$CXXCPP $CPPFLAGS'
25934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25937
25938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25939 /* end confdefs.h. */
25940 #include <math.h>
25941 #ifdef HAVE_IEEEFP_H
25942 #include <ieeefp.h>
25943 #endif
25944
25945 int
25946 main ()
25947 {
25948 finitel(0);
25949 ;
25950 return 0;
25951 }
25952 _ACEOF
25953 if ac_fn_cxx_try_compile "$LINENO"; then :
25954 glibcxx_cv_func_finitel_use=yes
25955 else
25956 glibcxx_cv_func_finitel_use=no
25957 fi
25958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25959 ac_ext=c
25960 ac_cpp='$CPP $CPPFLAGS'
25961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25964
25965
25966 fi
25967
25968 fi
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
25970 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
25971
25972 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
25973 for ac_func in finitel
25974 do :
25975 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
25976 if test "x$ac_cv_func_finitel" = x""yes; then :
25977 cat >>confdefs.h <<_ACEOF
25978 #define HAVE_FINITEL 1
25979 _ACEOF
25980
25981 fi
25982 done
25983
25984 else
25985
25986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
25987 $as_echo_n "checking for _finitel declaration... " >&6; }
25988 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
25989 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
25990 $as_echo_n "(cached) " >&6
25991 else
25992
25993
25994 ac_ext=cpp
25995 ac_cpp='$CXXCPP $CPPFLAGS'
25996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25999
26000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26001 /* end confdefs.h. */
26002 #include <math.h>
26003 #ifdef HAVE_IEEEFP_H
26004 #include <ieeefp.h>
26005 #endif
26006
26007 int
26008 main ()
26009 {
26010 _finitel(0);
26011 ;
26012 return 0;
26013 }
26014 _ACEOF
26015 if ac_fn_cxx_try_compile "$LINENO"; then :
26016 glibcxx_cv_func__finitel_use=yes
26017 else
26018 glibcxx_cv_func__finitel_use=no
26019 fi
26020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26021 ac_ext=c
26022 ac_cpp='$CPP $CPPFLAGS'
26023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26026
26027
26028 fi
26029
26030 fi
26031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26032 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26033
26034 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26035 for ac_func in _finitel
26036 do :
26037 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26038 if test "x$ac_cv_func__finitel" = x""yes; then :
26039 cat >>confdefs.h <<_ACEOF
26040 #define HAVE__FINITEL 1
26041 _ACEOF
26042
26043 fi
26044 done
26045
26046 fi
26047 fi
26048
26049
26050
26051
26052 LIBS="$ac_save_LIBS"
26053 CXXFLAGS="$ac_save_CXXFLAGS"
26054
26055
26056 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26057 ac_save_CXXFLAGS="$CXXFLAGS"
26058 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26059
26060
26061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26062 $as_echo_n "checking for strtold declaration... " >&6; }
26063 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26064 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26065 $as_echo_n "(cached) " >&6
26066 else
26067
26068
26069 ac_ext=cpp
26070 ac_cpp='$CXXCPP $CPPFLAGS'
26071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26074
26075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26076 /* end confdefs.h. */
26077 #include <stdlib.h>
26078 int
26079 main ()
26080 {
26081 strtold(0, 0);
26082 ;
26083 return 0;
26084 }
26085 _ACEOF
26086 if ac_fn_cxx_try_compile "$LINENO"; then :
26087 glibcxx_cv_func_strtold_use=yes
26088 else
26089 glibcxx_cv_func_strtold_use=no
26090 fi
26091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26092 ac_ext=c
26093 ac_cpp='$CPP $CPPFLAGS'
26094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26097
26098
26099 fi
26100
26101 fi
26102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26103 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26104 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26105 for ac_func in strtold
26106 do :
26107 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26108 if test "x$ac_cv_func_strtold" = x""yes; then :
26109 cat >>confdefs.h <<_ACEOF
26110 #define HAVE_STRTOLD 1
26111 _ACEOF
26112
26113 fi
26114 done
26115
26116 fi
26117
26118
26119
26120
26121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26122 $as_echo_n "checking for strtof declaration... " >&6; }
26123 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26124 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26125 $as_echo_n "(cached) " >&6
26126 else
26127
26128
26129 ac_ext=cpp
26130 ac_cpp='$CXXCPP $CPPFLAGS'
26131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26134
26135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26136 /* end confdefs.h. */
26137 #include <stdlib.h>
26138 int
26139 main ()
26140 {
26141 strtof(0, 0);
26142 ;
26143 return 0;
26144 }
26145 _ACEOF
26146 if ac_fn_cxx_try_compile "$LINENO"; then :
26147 glibcxx_cv_func_strtof_use=yes
26148 else
26149 glibcxx_cv_func_strtof_use=no
26150 fi
26151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26152 ac_ext=c
26153 ac_cpp='$CPP $CPPFLAGS'
26154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26157
26158
26159 fi
26160
26161 fi
26162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26163 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26164 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26165 for ac_func in strtof
26166 do :
26167 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26168 if test "x$ac_cv_func_strtof" = x""yes; then :
26169 cat >>confdefs.h <<_ACEOF
26170 #define HAVE_STRTOF 1
26171 _ACEOF
26172
26173 fi
26174 done
26175
26176 fi
26177
26178
26179
26180
26181 CXXFLAGS="$ac_save_CXXFLAGS"
26182
26183
26184 # For /dev/random and /dev/urandom for TR1.
26185
26186
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26188 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26189 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26190 $as_echo_n "(cached) " >&6
26191 else
26192
26193 if test -r /dev/random && test -r /dev/urandom; then
26194 glibcxx_cv_random_tr1=yes;
26195 else
26196 glibcxx_cv_random_tr1=no;
26197 fi
26198
26199 fi
26200
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26202 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26203
26204 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26205
26206 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26207
26208 fi
26209
26210
26211
26212 # For TLS support.
26213
26214
26215 # Check whether --enable-tls was given.
26216 if test "${enable_tls+set}" = set; then :
26217 enableval=$enable_tls;
26218 case "$enableval" in
26219 yes|no) ;;
26220 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26221 esac
26222
26223 else
26224 enable_tls=yes
26225 fi
26226
26227
26228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26229 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26230 if test "${gcc_cv_have_tls+set}" = set; then :
26231 $as_echo_n "(cached) " >&6
26232 else
26233
26234 if test "$cross_compiling" = yes; then :
26235 if test x$gcc_no_link = xyes; then
26236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26237 fi
26238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26239 /* end confdefs.h. */
26240 __thread int a; int b; int main() { return a = b; }
26241 _ACEOF
26242 if ac_fn_c_try_link "$LINENO"; then :
26243 chktls_save_LDFLAGS="$LDFLAGS"
26244 case $host in
26245 *-*-linux*)
26246 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26247 ;;
26248 esac
26249 chktls_save_CFLAGS="$CFLAGS"
26250 CFLAGS="-fPIC $CFLAGS"
26251 if test x$gcc_no_link = xyes; then
26252 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26253 fi
26254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26255 /* end confdefs.h. */
26256 int f() { return 0; }
26257 _ACEOF
26258 if ac_fn_c_try_link "$LINENO"; then :
26259 if test x$gcc_no_link = xyes; then
26260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26261 fi
26262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26263 /* end confdefs.h. */
26264 __thread int a; int b; int f() { return a = b; }
26265 _ACEOF
26266 if ac_fn_c_try_link "$LINENO"; then :
26267 gcc_cv_have_tls=yes
26268 else
26269 gcc_cv_have_tls=no
26270 fi
26271 rm -f core conftest.err conftest.$ac_objext \
26272 conftest$ac_exeext conftest.$ac_ext
26273 else
26274 gcc_cv_have_tls=yes
26275 fi
26276 rm -f core conftest.err conftest.$ac_objext \
26277 conftest$ac_exeext conftest.$ac_ext
26278 CFLAGS="$chktls_save_CFLAGS"
26279 LDFLAGS="$chktls_save_LDFLAGS"
26280 else
26281 gcc_cv_have_tls=no
26282 fi
26283 rm -f core conftest.err conftest.$ac_objext \
26284 conftest$ac_exeext conftest.$ac_ext
26285
26286
26287 else
26288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26289 /* end confdefs.h. */
26290 __thread int a; int b; int main() { return a = b; }
26291 _ACEOF
26292 if ac_fn_c_try_run "$LINENO"; then :
26293 chktls_save_LDFLAGS="$LDFLAGS"
26294 LDFLAGS="-static $LDFLAGS"
26295 if test x$gcc_no_link = xyes; then
26296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26297 fi
26298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26299 /* end confdefs.h. */
26300 int main() { return 0; }
26301 _ACEOF
26302 if ac_fn_c_try_link "$LINENO"; then :
26303 if test "$cross_compiling" = yes; then :
26304 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26305 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26306 as_fn_error "cannot run test program while cross compiling
26307 See \`config.log' for more details." "$LINENO" 5; }
26308 else
26309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26310 /* end confdefs.h. */
26311 __thread int a; int b; int main() { return a = b; }
26312 _ACEOF
26313 if ac_fn_c_try_run "$LINENO"; then :
26314 gcc_cv_have_tls=yes
26315 else
26316 gcc_cv_have_tls=no
26317 fi
26318 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26319 conftest.$ac_objext conftest.beam conftest.$ac_ext
26320 fi
26321
26322 else
26323 gcc_cv_have_tls=yes
26324 fi
26325 rm -f core conftest.err conftest.$ac_objext \
26326 conftest$ac_exeext conftest.$ac_ext
26327 LDFLAGS="$chktls_save_LDFLAGS"
26328 if test $gcc_cv_have_tls = yes; then
26329 chktls_save_CFLAGS="$CFLAGS"
26330 thread_CFLAGS=failed
26331 for flag in '' '-pthread' '-lpthread'; do
26332 CFLAGS="$flag $chktls_save_CFLAGS"
26333 if test x$gcc_no_link = xyes; then
26334 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26335 fi
26336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26337 /* end confdefs.h. */
26338 #include <pthread.h>
26339 void *g(void *d) { return NULL; }
26340 int
26341 main ()
26342 {
26343 pthread_t t; pthread_create(&t,NULL,g,NULL);
26344 ;
26345 return 0;
26346 }
26347 _ACEOF
26348 if ac_fn_c_try_link "$LINENO"; then :
26349 thread_CFLAGS="$flag"
26350 fi
26351 rm -f core conftest.err conftest.$ac_objext \
26352 conftest$ac_exeext conftest.$ac_ext
26353 if test "X$thread_CFLAGS" != Xfailed; then
26354 break
26355 fi
26356 done
26357 CFLAGS="$chktls_save_CFLAGS"
26358 if test "X$thread_CFLAGS" != Xfailed; then
26359 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26360 if test "$cross_compiling" = yes; then :
26361 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26363 as_fn_error "cannot run test program while cross compiling
26364 See \`config.log' for more details." "$LINENO" 5; }
26365 else
26366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26367 /* end confdefs.h. */
26368 #include <pthread.h>
26369 __thread int a;
26370 static int *volatile a_in_other_thread;
26371 static void *
26372 thread_func (void *arg)
26373 {
26374 a_in_other_thread = &a;
26375 return (void *)0;
26376 }
26377 int
26378 main ()
26379 {
26380 pthread_t thread;
26381 void *thread_retval;
26382 int *volatile a_in_main_thread;
26383 a_in_main_thread = &a;
26384 if (pthread_create (&thread, (pthread_attr_t *)0,
26385 thread_func, (void *)0))
26386 return 0;
26387 if (pthread_join (thread, &thread_retval))
26388 return 0;
26389 return (a_in_other_thread == a_in_main_thread);
26390 ;
26391 return 0;
26392 }
26393 _ACEOF
26394 if ac_fn_c_try_run "$LINENO"; then :
26395 gcc_cv_have_tls=yes
26396 else
26397 gcc_cv_have_tls=no
26398 fi
26399 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26400 conftest.$ac_objext conftest.beam conftest.$ac_ext
26401 fi
26402
26403 CFLAGS="$chktls_save_CFLAGS"
26404 fi
26405 fi
26406 else
26407 gcc_cv_have_tls=no
26408 fi
26409 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26410 conftest.$ac_objext conftest.beam conftest.$ac_ext
26411 fi
26412
26413 fi
26414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26415 $as_echo "$gcc_cv_have_tls" >&6; }
26416 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26417
26418 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26419
26420 fi
26421
26422 # For iconv support.
26423
26424 if test "X$prefix" = "XNONE"; then
26425 acl_final_prefix="$ac_default_prefix"
26426 else
26427 acl_final_prefix="$prefix"
26428 fi
26429 if test "X$exec_prefix" = "XNONE"; then
26430 acl_final_exec_prefix='${prefix}'
26431 else
26432 acl_final_exec_prefix="$exec_prefix"
26433 fi
26434 acl_save_prefix="$prefix"
26435 prefix="$acl_final_prefix"
26436 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26437 prefix="$acl_save_prefix"
26438
26439
26440 # Check whether --with-gnu-ld was given.
26441 if test "${with_gnu_ld+set}" = set; then :
26442 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26443 else
26444 with_gnu_ld=no
26445 fi
26446
26447 # Prepare PATH_SEPARATOR.
26448 # The user is always right.
26449 if test "${PATH_SEPARATOR+set}" != set; then
26450 echo "#! /bin/sh" >conf$$.sh
26451 echo "exit 0" >>conf$$.sh
26452 chmod +x conf$$.sh
26453 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26454 PATH_SEPARATOR=';'
26455 else
26456 PATH_SEPARATOR=:
26457 fi
26458 rm -f conf$$.sh
26459 fi
26460 ac_prog=ld
26461 if test "$GCC" = yes; then
26462 # Check if gcc -print-prog-name=ld gives a path.
26463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26464 $as_echo_n "checking for ld used by GCC... " >&6; }
26465 case $host in
26466 *-*-mingw*)
26467 # gcc leaves a trailing carriage return which upsets mingw
26468 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26469 *)
26470 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26471 esac
26472 case $ac_prog in
26473 # Accept absolute paths.
26474 [\\/]* | [A-Za-z]:[\\/]*)
26475 re_direlt='/[^/][^/]*/\.\./'
26476 # Canonicalize the path of ld
26477 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26478 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26479 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26480 done
26481 test -z "$LD" && LD="$ac_prog"
26482 ;;
26483 "")
26484 # If it fails, then pretend we aren't using GCC.
26485 ac_prog=ld
26486 ;;
26487 *)
26488 # If it is relative, then search for the first ld in PATH.
26489 with_gnu_ld=unknown
26490 ;;
26491 esac
26492 elif test "$with_gnu_ld" = yes; then
26493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26494 $as_echo_n "checking for GNU ld... " >&6; }
26495 else
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26497 $as_echo_n "checking for non-GNU ld... " >&6; }
26498 fi
26499 if test "${acl_cv_path_LD+set}" = set; then :
26500 $as_echo_n "(cached) " >&6
26501 else
26502 if test -z "$LD"; then
26503 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26504 for ac_dir in $PATH; do
26505 test -z "$ac_dir" && ac_dir=.
26506 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26507 acl_cv_path_LD="$ac_dir/$ac_prog"
26508 # Check to see if the program is GNU ld. I'd rather use --version,
26509 # but apparently some GNU ld's only accept -v.
26510 # Break only if it was the GNU/non-GNU ld that we prefer.
26511 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26512 test "$with_gnu_ld" != no && break
26513 else
26514 test "$with_gnu_ld" != yes && break
26515 fi
26516 fi
26517 done
26518 IFS="$ac_save_ifs"
26519 else
26520 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26521 fi
26522 fi
26523
26524 LD="$acl_cv_path_LD"
26525 if test -n "$LD"; then
26526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26527 $as_echo "$LD" >&6; }
26528 else
26529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26530 $as_echo "no" >&6; }
26531 fi
26532 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26534 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26535 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26536 $as_echo_n "(cached) " >&6
26537 else
26538 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26539 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26540 acl_cv_prog_gnu_ld=yes
26541 else
26542 acl_cv_prog_gnu_ld=no
26543 fi
26544 fi
26545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26546 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26547 with_gnu_ld=$acl_cv_prog_gnu_ld
26548
26549
26550
26551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26552 $as_echo_n "checking for shared library run path origin... " >&6; }
26553 if test "${acl_cv_rpath+set}" = set; then :
26554 $as_echo_n "(cached) " >&6
26555 else
26556
26557 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26558 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26559 . ./conftest.sh
26560 rm -f ./conftest.sh
26561 acl_cv_rpath=done
26562
26563 fi
26564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26565 $as_echo "$acl_cv_rpath" >&6; }
26566 wl="$acl_cv_wl"
26567 libext="$acl_cv_libext"
26568 shlibext="$acl_cv_shlibext"
26569 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26570 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26571 hardcode_direct="$acl_cv_hardcode_direct"
26572 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26573 # Check whether --enable-rpath was given.
26574 if test "${enable_rpath+set}" = set; then :
26575 enableval=$enable_rpath; :
26576 else
26577 enable_rpath=yes
26578 fi
26579
26580
26581
26582
26583
26584
26585
26586
26587 use_additional=yes
26588
26589 acl_save_prefix="$prefix"
26590 prefix="$acl_final_prefix"
26591 acl_save_exec_prefix="$exec_prefix"
26592 exec_prefix="$acl_final_exec_prefix"
26593
26594 eval additional_includedir=\"$includedir\"
26595 eval additional_libdir=\"$libdir\"
26596
26597 exec_prefix="$acl_save_exec_prefix"
26598 prefix="$acl_save_prefix"
26599
26600
26601 # Check whether --with-libiconv-prefix was given.
26602 if test "${with_libiconv_prefix+set}" = set; then :
26603 withval=$with_libiconv_prefix;
26604 if test "X$withval" = "Xno"; then
26605 use_additional=no
26606 else
26607 if test "X$withval" = "X"; then
26608
26609 acl_save_prefix="$prefix"
26610 prefix="$acl_final_prefix"
26611 acl_save_exec_prefix="$exec_prefix"
26612 exec_prefix="$acl_final_exec_prefix"
26613
26614 eval additional_includedir=\"$includedir\"
26615 eval additional_libdir=\"$libdir\"
26616
26617 exec_prefix="$acl_save_exec_prefix"
26618 prefix="$acl_save_prefix"
26619
26620 else
26621 additional_includedir="$withval/include"
26622 additional_libdir="$withval/lib"
26623 fi
26624 fi
26625
26626 fi
26627
26628 LIBICONV=
26629 LTLIBICONV=
26630 INCICONV=
26631 rpathdirs=
26632 ltrpathdirs=
26633 names_already_handled=
26634 names_next_round='iconv '
26635 while test -n "$names_next_round"; do
26636 names_this_round="$names_next_round"
26637 names_next_round=
26638 for name in $names_this_round; do
26639 already_handled=
26640 for n in $names_already_handled; do
26641 if test "$n" = "$name"; then
26642 already_handled=yes
26643 break
26644 fi
26645 done
26646 if test -z "$already_handled"; then
26647 names_already_handled="$names_already_handled $name"
26648 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26649 eval value=\"\$HAVE_LIB$uppername\"
26650 if test -n "$value"; then
26651 if test "$value" = yes; then
26652 eval value=\"\$LIB$uppername\"
26653 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26654 eval value=\"\$LTLIB$uppername\"
26655 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26656 else
26657 :
26658 fi
26659 else
26660 found_dir=
26661 found_la=
26662 found_so=
26663 found_a=
26664 if test $use_additional = yes; then
26665 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26666 found_dir="$additional_libdir"
26667 found_so="$additional_libdir/lib$name.$shlibext"
26668 if test -f "$additional_libdir/lib$name.la"; then
26669 found_la="$additional_libdir/lib$name.la"
26670 fi
26671 else
26672 if test -f "$additional_libdir/lib$name.$libext"; then
26673 found_dir="$additional_libdir"
26674 found_a="$additional_libdir/lib$name.$libext"
26675 if test -f "$additional_libdir/lib$name.la"; then
26676 found_la="$additional_libdir/lib$name.la"
26677 fi
26678 fi
26679 fi
26680 fi
26681 if test "X$found_dir" = "X"; then
26682 for x in $LDFLAGS $LTLIBICONV; do
26683
26684 acl_save_prefix="$prefix"
26685 prefix="$acl_final_prefix"
26686 acl_save_exec_prefix="$exec_prefix"
26687 exec_prefix="$acl_final_exec_prefix"
26688 eval x=\"$x\"
26689 exec_prefix="$acl_save_exec_prefix"
26690 prefix="$acl_save_prefix"
26691
26692 case "$x" in
26693 -L*)
26694 dir=`echo "X$x" | sed -e 's/^X-L//'`
26695 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26696 found_dir="$dir"
26697 found_so="$dir/lib$name.$shlibext"
26698 if test -f "$dir/lib$name.la"; then
26699 found_la="$dir/lib$name.la"
26700 fi
26701 else
26702 if test -f "$dir/lib$name.$libext"; then
26703 found_dir="$dir"
26704 found_a="$dir/lib$name.$libext"
26705 if test -f "$dir/lib$name.la"; then
26706 found_la="$dir/lib$name.la"
26707 fi
26708 fi
26709 fi
26710 ;;
26711 esac
26712 if test "X$found_dir" != "X"; then
26713 break
26714 fi
26715 done
26716 fi
26717 if test "X$found_dir" != "X"; then
26718 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26719 if test "X$found_so" != "X"; then
26720 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26721 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26722 else
26723 haveit=
26724 for x in $ltrpathdirs; do
26725 if test "X$x" = "X$found_dir"; then
26726 haveit=yes
26727 break
26728 fi
26729 done
26730 if test -z "$haveit"; then
26731 ltrpathdirs="$ltrpathdirs $found_dir"
26732 fi
26733 if test "$hardcode_direct" = yes; then
26734 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26735 else
26736 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26737 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26738 haveit=
26739 for x in $rpathdirs; do
26740 if test "X$x" = "X$found_dir"; then
26741 haveit=yes
26742 break
26743 fi
26744 done
26745 if test -z "$haveit"; then
26746 rpathdirs="$rpathdirs $found_dir"
26747 fi
26748 else
26749 haveit=
26750 for x in $LDFLAGS $LIBICONV; do
26751
26752 acl_save_prefix="$prefix"
26753 prefix="$acl_final_prefix"
26754 acl_save_exec_prefix="$exec_prefix"
26755 exec_prefix="$acl_final_exec_prefix"
26756 eval x=\"$x\"
26757 exec_prefix="$acl_save_exec_prefix"
26758 prefix="$acl_save_prefix"
26759
26760 if test "X$x" = "X-L$found_dir"; then
26761 haveit=yes
26762 break
26763 fi
26764 done
26765 if test -z "$haveit"; then
26766 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26767 fi
26768 if test "$hardcode_minus_L" != no; then
26769 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26770 else
26771 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26772 fi
26773 fi
26774 fi
26775 fi
26776 else
26777 if test "X$found_a" != "X"; then
26778 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26779 else
26780 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26781 fi
26782 fi
26783 additional_includedir=
26784 case "$found_dir" in
26785 */lib | */lib/)
26786 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26787 additional_includedir="$basedir/include"
26788 ;;
26789 esac
26790 if test "X$additional_includedir" != "X"; then
26791 if test "X$additional_includedir" != "X/usr/include"; then
26792 haveit=
26793 if test "X$additional_includedir" = "X/usr/local/include"; then
26794 if test -n "$GCC"; then
26795 case $host_os in
26796 linux*) haveit=yes;;
26797 esac
26798 fi
26799 fi
26800 if test -z "$haveit"; then
26801 for x in $CPPFLAGS $INCICONV; do
26802
26803 acl_save_prefix="$prefix"
26804 prefix="$acl_final_prefix"
26805 acl_save_exec_prefix="$exec_prefix"
26806 exec_prefix="$acl_final_exec_prefix"
26807 eval x=\"$x\"
26808 exec_prefix="$acl_save_exec_prefix"
26809 prefix="$acl_save_prefix"
26810
26811 if test "X$x" = "X-I$additional_includedir"; then
26812 haveit=yes
26813 break
26814 fi
26815 done
26816 if test -z "$haveit"; then
26817 if test -d "$additional_includedir"; then
26818 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26819 fi
26820 fi
26821 fi
26822 fi
26823 fi
26824 if test -n "$found_la"; then
26825 save_libdir="$libdir"
26826 case "$found_la" in
26827 */* | *\\*) . "$found_la" ;;
26828 *) . "./$found_la" ;;
26829 esac
26830 libdir="$save_libdir"
26831 for dep in $dependency_libs; do
26832 case "$dep" in
26833 -L*)
26834 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26835 if test "X$additional_libdir" != "X/usr/lib"; then
26836 haveit=
26837 if test "X$additional_libdir" = "X/usr/local/lib"; then
26838 if test -n "$GCC"; then
26839 case $host_os in
26840 linux*) haveit=yes;;
26841 esac
26842 fi
26843 fi
26844 if test -z "$haveit"; then
26845 haveit=
26846 for x in $LDFLAGS $LIBICONV; do
26847
26848 acl_save_prefix="$prefix"
26849 prefix="$acl_final_prefix"
26850 acl_save_exec_prefix="$exec_prefix"
26851 exec_prefix="$acl_final_exec_prefix"
26852 eval x=\"$x\"
26853 exec_prefix="$acl_save_exec_prefix"
26854 prefix="$acl_save_prefix"
26855
26856 if test "X$x" = "X-L$additional_libdir"; then
26857 haveit=yes
26858 break
26859 fi
26860 done
26861 if test -z "$haveit"; then
26862 if test -d "$additional_libdir"; then
26863 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26864 fi
26865 fi
26866 haveit=
26867 for x in $LDFLAGS $LTLIBICONV; do
26868
26869 acl_save_prefix="$prefix"
26870 prefix="$acl_final_prefix"
26871 acl_save_exec_prefix="$exec_prefix"
26872 exec_prefix="$acl_final_exec_prefix"
26873 eval x=\"$x\"
26874 exec_prefix="$acl_save_exec_prefix"
26875 prefix="$acl_save_prefix"
26876
26877 if test "X$x" = "X-L$additional_libdir"; then
26878 haveit=yes
26879 break
26880 fi
26881 done
26882 if test -z "$haveit"; then
26883 if test -d "$additional_libdir"; then
26884 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26885 fi
26886 fi
26887 fi
26888 fi
26889 ;;
26890 -R*)
26891 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26892 if test "$enable_rpath" != no; then
26893 haveit=
26894 for x in $rpathdirs; do
26895 if test "X$x" = "X$dir"; then
26896 haveit=yes
26897 break
26898 fi
26899 done
26900 if test -z "$haveit"; then
26901 rpathdirs="$rpathdirs $dir"
26902 fi
26903 haveit=
26904 for x in $ltrpathdirs; do
26905 if test "X$x" = "X$dir"; then
26906 haveit=yes
26907 break
26908 fi
26909 done
26910 if test -z "$haveit"; then
26911 ltrpathdirs="$ltrpathdirs $dir"
26912 fi
26913 fi
26914 ;;
26915 -l*)
26916 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26917 ;;
26918 *.la)
26919 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26920 ;;
26921 *)
26922 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26923 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26924 ;;
26925 esac
26926 done
26927 fi
26928 else
26929 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26930 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26931 fi
26932 fi
26933 fi
26934 done
26935 done
26936 if test "X$rpathdirs" != "X"; then
26937 if test -n "$hardcode_libdir_separator"; then
26938 alldirs=
26939 for found_dir in $rpathdirs; do
26940 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
26941 done
26942 acl_save_libdir="$libdir"
26943 libdir="$alldirs"
26944 eval flag=\"$hardcode_libdir_flag_spec\"
26945 libdir="$acl_save_libdir"
26946 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26947 else
26948 for found_dir in $rpathdirs; do
26949 acl_save_libdir="$libdir"
26950 libdir="$found_dir"
26951 eval flag=\"$hardcode_libdir_flag_spec\"
26952 libdir="$acl_save_libdir"
26953 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
26954 done
26955 fi
26956 fi
26957 if test "X$ltrpathdirs" != "X"; then
26958 for found_dir in $ltrpathdirs; do
26959 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
26960 done
26961 fi
26962
26963
26964
26965
26966
26967
26968
26969 am_save_CPPFLAGS="$CPPFLAGS"
26970
26971 for element in $INCICONV; do
26972 haveit=
26973 for x in $CPPFLAGS; do
26974
26975 acl_save_prefix="$prefix"
26976 prefix="$acl_final_prefix"
26977 acl_save_exec_prefix="$exec_prefix"
26978 exec_prefix="$acl_final_exec_prefix"
26979 eval x=\"$x\"
26980 exec_prefix="$acl_save_exec_prefix"
26981 prefix="$acl_save_prefix"
26982
26983 if test "X$x" = "X$element"; then
26984 haveit=yes
26985 break
26986 fi
26987 done
26988 if test -z "$haveit"; then
26989 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
26990 fi
26991 done
26992
26993
26994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
26995 $as_echo_n "checking for iconv... " >&6; }
26996 if test "${am_cv_func_iconv+set}" = set; then :
26997 $as_echo_n "(cached) " >&6
26998 else
26999
27000 am_cv_func_iconv="no, consider installing GNU libiconv"
27001 am_cv_lib_iconv=no
27002 if test x$gcc_no_link = xyes; then
27003 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27004 fi
27005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27006 /* end confdefs.h. */
27007 #include <stdlib.h>
27008 #include <iconv.h>
27009 int
27010 main ()
27011 {
27012 iconv_t cd = iconv_open("","");
27013 iconv(cd,NULL,NULL,NULL,NULL);
27014 iconv_close(cd);
27015 ;
27016 return 0;
27017 }
27018 _ACEOF
27019 if ac_fn_c_try_link "$LINENO"; then :
27020 am_cv_func_iconv=yes
27021 fi
27022 rm -f core conftest.err conftest.$ac_objext \
27023 conftest$ac_exeext conftest.$ac_ext
27024 if test "$am_cv_func_iconv" != yes; then
27025 am_save_LIBS="$LIBS"
27026 LIBS="$LIBS $LIBICONV"
27027 if test x$gcc_no_link = xyes; then
27028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27029 fi
27030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27031 /* end confdefs.h. */
27032 #include <stdlib.h>
27033 #include <iconv.h>
27034 int
27035 main ()
27036 {
27037 iconv_t cd = iconv_open("","");
27038 iconv(cd,NULL,NULL,NULL,NULL);
27039 iconv_close(cd);
27040 ;
27041 return 0;
27042 }
27043 _ACEOF
27044 if ac_fn_c_try_link "$LINENO"; then :
27045 am_cv_lib_iconv=yes
27046 am_cv_func_iconv=yes
27047 fi
27048 rm -f core conftest.err conftest.$ac_objext \
27049 conftest$ac_exeext conftest.$ac_ext
27050 LIBS="$am_save_LIBS"
27051 fi
27052
27053 fi
27054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27055 $as_echo "$am_cv_func_iconv" >&6; }
27056 if test "$am_cv_func_iconv" = yes; then
27057
27058 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27059
27060 fi
27061 if test "$am_cv_lib_iconv" = yes; then
27062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27063 $as_echo_n "checking how to link with libiconv... " >&6; }
27064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27065 $as_echo "$LIBICONV" >&6; }
27066 else
27067 CPPFLAGS="$am_save_CPPFLAGS"
27068 LIBICONV=
27069 LTLIBICONV=
27070 fi
27071
27072
27073
27074 if test "$am_cv_func_iconv" = yes; then
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27076 $as_echo_n "checking for iconv declaration... " >&6; }
27077 if test "${am_cv_proto_iconv+set}" = set; then :
27078 $as_echo_n "(cached) " >&6
27079 else
27080
27081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27082 /* end confdefs.h. */
27083
27084 #include <stdlib.h>
27085 #include <iconv.h>
27086 extern
27087 #ifdef __cplusplus
27088 "C"
27089 #endif
27090 #if defined(__STDC__) || defined(__cplusplus)
27091 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27092 #else
27093 size_t iconv();
27094 #endif
27095
27096 int
27097 main ()
27098 {
27099
27100 ;
27101 return 0;
27102 }
27103 _ACEOF
27104 if ac_fn_c_try_compile "$LINENO"; then :
27105 am_cv_proto_iconv_arg1=""
27106 else
27107 am_cv_proto_iconv_arg1="const"
27108 fi
27109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27110 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);"
27111 fi
27112
27113 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27115 }$am_cv_proto_iconv" >&5
27116 $as_echo "${ac_t:-
27117 }$am_cv_proto_iconv" >&6; }
27118
27119 cat >>confdefs.h <<_ACEOF
27120 #define ICONV_CONST $am_cv_proto_iconv_arg1
27121 _ACEOF
27122
27123 fi
27124
27125
27126 else
27127
27128 # This lets us hard-code the functionality we know we'll have in the cross
27129 # target environment. "Let" is a sugar-coated word placed on an especially
27130 # dull and tedious hack, actually.
27131 #
27132 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27133 # that involve linking, can't be used:
27134 # "cannot open sim-crt0.o"
27135 # "cannot open crt0.o"
27136 # etc. All this is because there currently exists no unified, consistent
27137 # way for top level CC information to be passed down to target directories:
27138 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27139 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27140 # crosses can be removed.
27141
27142 # If Canadian cross, then don't pick up tools from the build directory.
27143 # Used only in GLIBCXX_EXPORT_INCLUDES.
27144 if test -n "$with_cross_host" &&
27145 test x"$build_alias" != x"$with_cross_host" &&
27146 test x"$build" != x"$target";
27147 then
27148 CANADIAN=yes
27149 else
27150 CANADIAN=no
27151 fi
27152
27153 # Construct crosses by hand, eliminating bits that need ld...
27154 # GLIBCXX_CHECK_MATH_SUPPORT
27155
27156 # First, test for "known" system libraries. We may be using newlib even
27157 # on a hosted environment.
27158 if test "x${with_newlib}" = "xyes"; then
27159 os_include_dir="os/newlib"
27160 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27161
27162
27163 # GLIBCXX_CHECK_STDLIB_SUPPORT
27164 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27165
27166
27167 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27168
27169 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27170
27171 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27172
27173 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27174
27175 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27176
27177 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27178
27179 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27180
27181 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27182
27183 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27184
27185 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27186
27187 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27188
27189 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27190
27191 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27192
27193 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27194
27195 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27196
27197 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27198
27199 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27200
27201 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27202
27203 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27204
27205 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27206
27207 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27208
27209 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27210
27211
27212 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27213
27214 else
27215
27216 # Base decisions on target environment.
27217 case "${host}" in
27218 arm*-*-symbianelf*)
27219 # This is a freestanding configuration; there is nothing to do here.
27220 ;;
27221
27222 mips*-sde-elf*)
27223 # These definitions are for the SDE C library rather than newlib.
27224 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27225
27226
27227 # All these tests are for C++; save the language and the compiler flags.
27228 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27229 # found in GLIBCXX_CONFIGURE.
27230
27231 ac_ext=cpp
27232 ac_cpp='$CXXCPP $CPPFLAGS'
27233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27236
27237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27238 ac_save_CXXFLAGS="$CXXFLAGS"
27239
27240 # Check for maintainer-mode bits.
27241 if test x"$USE_MAINTAINER_MODE" = xno; then
27242 WERROR=''
27243 else
27244 WERROR='-Werror'
27245 fi
27246
27247 # Check for -ffunction-sections -fdata-sections
27248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27249 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27250 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27252 /* end confdefs.h. */
27253 int foo; void bar() { };
27254 int
27255 main ()
27256 {
27257
27258 ;
27259 return 0;
27260 }
27261 _ACEOF
27262 if ac_fn_cxx_try_compile "$LINENO"; then :
27263 ac_fdsections=yes
27264 else
27265 ac_fdsections=no
27266 fi
27267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27268 if test "$ac_test_CXXFLAGS" = set; then
27269 CXXFLAGS="$ac_save_CXXFLAGS"
27270 else
27271 # this is the suspicious part
27272 CXXFLAGS=''
27273 fi
27274 if test x"$ac_fdsections" = x"yes"; then
27275 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27276 fi
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27278 $as_echo "$ac_fdsections" >&6; }
27279
27280 ac_ext=c
27281 ac_cpp='$CPP $CPPFLAGS'
27282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27285
27286
27287
27288
27289
27290 # If we're not using GNU ld, then there's no point in even trying these
27291 # tests. Check for that first. We should have already tested for gld
27292 # by now (in libtool), but require it now just to be safe...
27293 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27294 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27295
27296
27297
27298 # The name set by libtool depends on the version of libtool. Shame on us
27299 # for depending on an impl detail, but c'est la vie. Older versions used
27300 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27301 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27302 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27303 # set (hence we're using an older libtool), then set it.
27304 if test x${with_gnu_ld+set} != xset; then
27305 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27306 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27307 with_gnu_ld=no
27308 else
27309 with_gnu_ld=$ac_cv_prog_gnu_ld
27310 fi
27311 fi
27312
27313 # Start by getting the version number. I think the libtool test already
27314 # does some of this, but throws away the result.
27315 glibcxx_ld_is_gold=no
27316 if test x"$with_gnu_ld" = x"yes"; then
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27318 $as_echo_n "checking for ld version... " >&6; }
27319
27320 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27321 glibcxx_ld_is_gold=yes
27322 fi
27323 ldver=`$LD --version 2>/dev/null |
27324 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
27325
27326 glibcxx_gnu_ld_version=`echo $ldver | \
27327 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27329 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27330 fi
27331
27332 # Set --gc-sections.
27333 glibcxx_have_gc_sections=no
27334 if test "$glibcxx_ld_is_gold" = "yes"; then
27335 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27336 glibcxx_have_gc_sections=yes
27337 fi
27338 else
27339 glibcxx_gcsections_min_ld=21602
27340 if test x"$with_gnu_ld" = x"yes" &&
27341 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27342 glibcxx_have_gc_sections=yes
27343 fi
27344 fi
27345 if test "$glibcxx_have_gc_sections" = "yes"; then
27346 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27347 # NB: This flag only works reliably after 2.16.1. Configure tests
27348 # for this are difficult, so hard wire a value that should work.
27349
27350 ac_test_CFLAGS="${CFLAGS+set}"
27351 ac_save_CFLAGS="$CFLAGS"
27352 CFLAGS='-Wl,--gc-sections'
27353
27354 # Check for -Wl,--gc-sections
27355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27356 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27357 if test x$gcc_no_link = xyes; then
27358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27359 fi
27360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27361 /* end confdefs.h. */
27362 int one(void) { return 1; }
27363 int two(void) { return 2; }
27364
27365 int
27366 main ()
27367 {
27368 two();
27369 ;
27370 return 0;
27371 }
27372 _ACEOF
27373 if ac_fn_c_try_link "$LINENO"; then :
27374 ac_gcsections=yes
27375 else
27376 ac_gcsections=no
27377 fi
27378 rm -f core conftest.err conftest.$ac_objext \
27379 conftest$ac_exeext conftest.$ac_ext
27380 if test "$ac_gcsections" = "yes"; then
27381 rm -f conftest.c
27382 touch conftest.c
27383 if $CC -c conftest.c; then
27384 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27385 grep "Warning: gc-sections option ignored" > /dev/null; then
27386 ac_gcsections=no
27387 fi
27388 fi
27389 rm -f conftest.c conftest.o conftest
27390 fi
27391 if test "$ac_gcsections" = "yes"; then
27392 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27393 fi
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27395 $as_echo "$ac_gcsections" >&6; }
27396
27397 if test "$ac_test_CFLAGS" = set; then
27398 CFLAGS="$ac_save_CFLAGS"
27399 else
27400 # this is the suspicious part
27401 CFLAGS=''
27402 fi
27403 fi
27404
27405 # Set -z,relro.
27406 # Note this is only for shared objects.
27407 ac_ld_relro=no
27408 if test x"$with_gnu_ld" = x"yes"; then
27409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27410 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27411 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27412 if test -n "$cxx_z_relo"; then
27413 OPT_LDFLAGS="-Wl,-z,relro"
27414 ac_ld_relro=yes
27415 fi
27416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27417 $as_echo "$ac_ld_relro" >&6; }
27418 fi
27419
27420 # Set linker optimization flags.
27421 if test x"$with_gnu_ld" = x"yes"; then
27422 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27423 fi
27424
27425
27426
27427
27428
27429 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27430 ac_save_CXXFLAGS="$CXXFLAGS"
27431 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27432
27433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27434 $as_echo_n "checking for sin in -lm... " >&6; }
27435 if test "${ac_cv_lib_m_sin+set}" = set; then :
27436 $as_echo_n "(cached) " >&6
27437 else
27438 ac_check_lib_save_LIBS=$LIBS
27439 LIBS="-lm $LIBS"
27440 if test x$gcc_no_link = xyes; then
27441 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27442 fi
27443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27444 /* end confdefs.h. */
27445
27446 /* Override any GCC internal prototype to avoid an error.
27447 Use char because int might match the return type of a GCC
27448 builtin and then its argument prototype would still apply. */
27449 #ifdef __cplusplus
27450 extern "C"
27451 #endif
27452 char sin ();
27453 int
27454 main ()
27455 {
27456 return sin ();
27457 ;
27458 return 0;
27459 }
27460 _ACEOF
27461 if ac_fn_c_try_link "$LINENO"; then :
27462 ac_cv_lib_m_sin=yes
27463 else
27464 ac_cv_lib_m_sin=no
27465 fi
27466 rm -f core conftest.err conftest.$ac_objext \
27467 conftest$ac_exeext conftest.$ac_ext
27468 LIBS=$ac_check_lib_save_LIBS
27469 fi
27470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27471 $as_echo "$ac_cv_lib_m_sin" >&6; }
27472 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27473 libm="-lm"
27474 fi
27475
27476 ac_save_LIBS="$LIBS"
27477 LIBS="$LIBS $libm"
27478
27479
27480
27481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27482 $as_echo_n "checking for isinf declaration... " >&6; }
27483 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27484 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27485 $as_echo_n "(cached) " >&6
27486 else
27487
27488
27489 ac_ext=cpp
27490 ac_cpp='$CXXCPP $CPPFLAGS'
27491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27494
27495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27496 /* end confdefs.h. */
27497 #include <math.h>
27498 #ifdef HAVE_IEEEFP_H
27499 #include <ieeefp.h>
27500 #endif
27501
27502 int
27503 main ()
27504 {
27505 isinf(0);
27506 ;
27507 return 0;
27508 }
27509 _ACEOF
27510 if ac_fn_cxx_try_compile "$LINENO"; then :
27511 glibcxx_cv_func_isinf_use=yes
27512 else
27513 glibcxx_cv_func_isinf_use=no
27514 fi
27515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27516 ac_ext=c
27517 ac_cpp='$CPP $CPPFLAGS'
27518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27521
27522
27523 fi
27524
27525 fi
27526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27527 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27528
27529 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27530 for ac_func in isinf
27531 do :
27532 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27533 if test "x$ac_cv_func_isinf" = x""yes; then :
27534 cat >>confdefs.h <<_ACEOF
27535 #define HAVE_ISINF 1
27536 _ACEOF
27537
27538 fi
27539 done
27540
27541 else
27542
27543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27544 $as_echo_n "checking for _isinf declaration... " >&6; }
27545 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27546 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27547 $as_echo_n "(cached) " >&6
27548 else
27549
27550
27551 ac_ext=cpp
27552 ac_cpp='$CXXCPP $CPPFLAGS'
27553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27556
27557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27558 /* end confdefs.h. */
27559 #include <math.h>
27560 #ifdef HAVE_IEEEFP_H
27561 #include <ieeefp.h>
27562 #endif
27563
27564 int
27565 main ()
27566 {
27567 _isinf(0);
27568 ;
27569 return 0;
27570 }
27571 _ACEOF
27572 if ac_fn_cxx_try_compile "$LINENO"; then :
27573 glibcxx_cv_func__isinf_use=yes
27574 else
27575 glibcxx_cv_func__isinf_use=no
27576 fi
27577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27578 ac_ext=c
27579 ac_cpp='$CPP $CPPFLAGS'
27580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27583
27584
27585 fi
27586
27587 fi
27588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27589 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27590
27591 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27592 for ac_func in _isinf
27593 do :
27594 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27595 if test "x$ac_cv_func__isinf" = x""yes; then :
27596 cat >>confdefs.h <<_ACEOF
27597 #define HAVE__ISINF 1
27598 _ACEOF
27599
27600 fi
27601 done
27602
27603 fi
27604 fi
27605
27606
27607
27608
27609
27610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27611 $as_echo_n "checking for isnan declaration... " >&6; }
27612 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27613 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27614 $as_echo_n "(cached) " >&6
27615 else
27616
27617
27618 ac_ext=cpp
27619 ac_cpp='$CXXCPP $CPPFLAGS'
27620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27623
27624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27625 /* end confdefs.h. */
27626 #include <math.h>
27627 #ifdef HAVE_IEEEFP_H
27628 #include <ieeefp.h>
27629 #endif
27630
27631 int
27632 main ()
27633 {
27634 isnan(0);
27635 ;
27636 return 0;
27637 }
27638 _ACEOF
27639 if ac_fn_cxx_try_compile "$LINENO"; then :
27640 glibcxx_cv_func_isnan_use=yes
27641 else
27642 glibcxx_cv_func_isnan_use=no
27643 fi
27644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27645 ac_ext=c
27646 ac_cpp='$CPP $CPPFLAGS'
27647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27650
27651
27652 fi
27653
27654 fi
27655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27656 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27657
27658 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27659 for ac_func in isnan
27660 do :
27661 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27662 if test "x$ac_cv_func_isnan" = x""yes; then :
27663 cat >>confdefs.h <<_ACEOF
27664 #define HAVE_ISNAN 1
27665 _ACEOF
27666
27667 fi
27668 done
27669
27670 else
27671
27672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27673 $as_echo_n "checking for _isnan declaration... " >&6; }
27674 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27675 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27676 $as_echo_n "(cached) " >&6
27677 else
27678
27679
27680 ac_ext=cpp
27681 ac_cpp='$CXXCPP $CPPFLAGS'
27682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27685
27686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27687 /* end confdefs.h. */
27688 #include <math.h>
27689 #ifdef HAVE_IEEEFP_H
27690 #include <ieeefp.h>
27691 #endif
27692
27693 int
27694 main ()
27695 {
27696 _isnan(0);
27697 ;
27698 return 0;
27699 }
27700 _ACEOF
27701 if ac_fn_cxx_try_compile "$LINENO"; then :
27702 glibcxx_cv_func__isnan_use=yes
27703 else
27704 glibcxx_cv_func__isnan_use=no
27705 fi
27706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27707 ac_ext=c
27708 ac_cpp='$CPP $CPPFLAGS'
27709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27712
27713
27714 fi
27715
27716 fi
27717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27718 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27719
27720 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27721 for ac_func in _isnan
27722 do :
27723 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27724 if test "x$ac_cv_func__isnan" = x""yes; then :
27725 cat >>confdefs.h <<_ACEOF
27726 #define HAVE__ISNAN 1
27727 _ACEOF
27728
27729 fi
27730 done
27731
27732 fi
27733 fi
27734
27735
27736
27737
27738
27739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27740 $as_echo_n "checking for finite declaration... " >&6; }
27741 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27742 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27743 $as_echo_n "(cached) " >&6
27744 else
27745
27746
27747 ac_ext=cpp
27748 ac_cpp='$CXXCPP $CPPFLAGS'
27749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27752
27753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27754 /* end confdefs.h. */
27755 #include <math.h>
27756 #ifdef HAVE_IEEEFP_H
27757 #include <ieeefp.h>
27758 #endif
27759
27760 int
27761 main ()
27762 {
27763 finite(0);
27764 ;
27765 return 0;
27766 }
27767 _ACEOF
27768 if ac_fn_cxx_try_compile "$LINENO"; then :
27769 glibcxx_cv_func_finite_use=yes
27770 else
27771 glibcxx_cv_func_finite_use=no
27772 fi
27773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27774 ac_ext=c
27775 ac_cpp='$CPP $CPPFLAGS'
27776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27779
27780
27781 fi
27782
27783 fi
27784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27785 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27786
27787 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27788 for ac_func in finite
27789 do :
27790 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27791 if test "x$ac_cv_func_finite" = x""yes; then :
27792 cat >>confdefs.h <<_ACEOF
27793 #define HAVE_FINITE 1
27794 _ACEOF
27795
27796 fi
27797 done
27798
27799 else
27800
27801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27802 $as_echo_n "checking for _finite declaration... " >&6; }
27803 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27804 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27805 $as_echo_n "(cached) " >&6
27806 else
27807
27808
27809 ac_ext=cpp
27810 ac_cpp='$CXXCPP $CPPFLAGS'
27811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27814
27815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27816 /* end confdefs.h. */
27817 #include <math.h>
27818 #ifdef HAVE_IEEEFP_H
27819 #include <ieeefp.h>
27820 #endif
27821
27822 int
27823 main ()
27824 {
27825 _finite(0);
27826 ;
27827 return 0;
27828 }
27829 _ACEOF
27830 if ac_fn_cxx_try_compile "$LINENO"; then :
27831 glibcxx_cv_func__finite_use=yes
27832 else
27833 glibcxx_cv_func__finite_use=no
27834 fi
27835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27836 ac_ext=c
27837 ac_cpp='$CPP $CPPFLAGS'
27838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27841
27842
27843 fi
27844
27845 fi
27846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27847 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27848
27849 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27850 for ac_func in _finite
27851 do :
27852 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27853 if test "x$ac_cv_func__finite" = x""yes; then :
27854 cat >>confdefs.h <<_ACEOF
27855 #define HAVE__FINITE 1
27856 _ACEOF
27857
27858 fi
27859 done
27860
27861 fi
27862 fi
27863
27864
27865
27866
27867
27868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27869 $as_echo_n "checking for sincos declaration... " >&6; }
27870 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27871 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27872 $as_echo_n "(cached) " >&6
27873 else
27874
27875
27876 ac_ext=cpp
27877 ac_cpp='$CXXCPP $CPPFLAGS'
27878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27881
27882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27883 /* end confdefs.h. */
27884 #include <math.h>
27885 int
27886 main ()
27887 {
27888 sincos(0, 0, 0);
27889 ;
27890 return 0;
27891 }
27892 _ACEOF
27893 if ac_fn_cxx_try_compile "$LINENO"; then :
27894 glibcxx_cv_func_sincos_use=yes
27895 else
27896 glibcxx_cv_func_sincos_use=no
27897 fi
27898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27899 ac_ext=c
27900 ac_cpp='$CPP $CPPFLAGS'
27901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27904
27905
27906 fi
27907
27908 fi
27909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27910 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27911
27912 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27913 for ac_func in sincos
27914 do :
27915 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27916 if test "x$ac_cv_func_sincos" = x""yes; then :
27917 cat >>confdefs.h <<_ACEOF
27918 #define HAVE_SINCOS 1
27919 _ACEOF
27920
27921 fi
27922 done
27923
27924 else
27925
27926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27927 $as_echo_n "checking for _sincos declaration... " >&6; }
27928 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27929 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27930 $as_echo_n "(cached) " >&6
27931 else
27932
27933
27934 ac_ext=cpp
27935 ac_cpp='$CXXCPP $CPPFLAGS'
27936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27939
27940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27941 /* end confdefs.h. */
27942 #include <math.h>
27943 int
27944 main ()
27945 {
27946 _sincos(0, 0, 0);
27947 ;
27948 return 0;
27949 }
27950 _ACEOF
27951 if ac_fn_cxx_try_compile "$LINENO"; then :
27952 glibcxx_cv_func__sincos_use=yes
27953 else
27954 glibcxx_cv_func__sincos_use=no
27955 fi
27956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27957 ac_ext=c
27958 ac_cpp='$CPP $CPPFLAGS'
27959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27962
27963
27964 fi
27965
27966 fi
27967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
27968 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
27969
27970 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
27971 for ac_func in _sincos
27972 do :
27973 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
27974 if test "x$ac_cv_func__sincos" = x""yes; then :
27975 cat >>confdefs.h <<_ACEOF
27976 #define HAVE__SINCOS 1
27977 _ACEOF
27978
27979 fi
27980 done
27981
27982 fi
27983 fi
27984
27985
27986
27987
27988
27989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
27990 $as_echo_n "checking for fpclass declaration... " >&6; }
27991 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
27992 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
27993 $as_echo_n "(cached) " >&6
27994 else
27995
27996
27997 ac_ext=cpp
27998 ac_cpp='$CXXCPP $CPPFLAGS'
27999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28002
28003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28004 /* end confdefs.h. */
28005 #include <math.h>
28006 #ifdef HAVE_IEEEFP_H
28007 #include <ieeefp.h>
28008 #endif
28009
28010 int
28011 main ()
28012 {
28013 fpclass(0);
28014 ;
28015 return 0;
28016 }
28017 _ACEOF
28018 if ac_fn_cxx_try_compile "$LINENO"; then :
28019 glibcxx_cv_func_fpclass_use=yes
28020 else
28021 glibcxx_cv_func_fpclass_use=no
28022 fi
28023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28024 ac_ext=c
28025 ac_cpp='$CPP $CPPFLAGS'
28026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28029
28030
28031 fi
28032
28033 fi
28034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28035 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28036
28037 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28038 for ac_func in fpclass
28039 do :
28040 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28041 if test "x$ac_cv_func_fpclass" = x""yes; then :
28042 cat >>confdefs.h <<_ACEOF
28043 #define HAVE_FPCLASS 1
28044 _ACEOF
28045
28046 fi
28047 done
28048
28049 else
28050
28051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28052 $as_echo_n "checking for _fpclass declaration... " >&6; }
28053 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28054 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28055 $as_echo_n "(cached) " >&6
28056 else
28057
28058
28059 ac_ext=cpp
28060 ac_cpp='$CXXCPP $CPPFLAGS'
28061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28064
28065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28066 /* end confdefs.h. */
28067 #include <math.h>
28068 #ifdef HAVE_IEEEFP_H
28069 #include <ieeefp.h>
28070 #endif
28071
28072 int
28073 main ()
28074 {
28075 _fpclass(0);
28076 ;
28077 return 0;
28078 }
28079 _ACEOF
28080 if ac_fn_cxx_try_compile "$LINENO"; then :
28081 glibcxx_cv_func__fpclass_use=yes
28082 else
28083 glibcxx_cv_func__fpclass_use=no
28084 fi
28085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28086 ac_ext=c
28087 ac_cpp='$CPP $CPPFLAGS'
28088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28091
28092
28093 fi
28094
28095 fi
28096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28097 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28098
28099 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28100 for ac_func in _fpclass
28101 do :
28102 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28103 if test "x$ac_cv_func__fpclass" = x""yes; then :
28104 cat >>confdefs.h <<_ACEOF
28105 #define HAVE__FPCLASS 1
28106 _ACEOF
28107
28108 fi
28109 done
28110
28111 fi
28112 fi
28113
28114
28115
28116
28117
28118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28119 $as_echo_n "checking for qfpclass declaration... " >&6; }
28120 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28121 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28122 $as_echo_n "(cached) " >&6
28123 else
28124
28125
28126 ac_ext=cpp
28127 ac_cpp='$CXXCPP $CPPFLAGS'
28128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28131
28132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28133 /* end confdefs.h. */
28134 #include <math.h>
28135 #ifdef HAVE_IEEEFP_H
28136 #include <ieeefp.h>
28137 #endif
28138
28139 int
28140 main ()
28141 {
28142 qfpclass(0);
28143 ;
28144 return 0;
28145 }
28146 _ACEOF
28147 if ac_fn_cxx_try_compile "$LINENO"; then :
28148 glibcxx_cv_func_qfpclass_use=yes
28149 else
28150 glibcxx_cv_func_qfpclass_use=no
28151 fi
28152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28153 ac_ext=c
28154 ac_cpp='$CPP $CPPFLAGS'
28155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28158
28159
28160 fi
28161
28162 fi
28163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28164 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28165
28166 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28167 for ac_func in qfpclass
28168 do :
28169 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28170 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28171 cat >>confdefs.h <<_ACEOF
28172 #define HAVE_QFPCLASS 1
28173 _ACEOF
28174
28175 fi
28176 done
28177
28178 else
28179
28180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28181 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28182 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28183 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28184 $as_echo_n "(cached) " >&6
28185 else
28186
28187
28188 ac_ext=cpp
28189 ac_cpp='$CXXCPP $CPPFLAGS'
28190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28193
28194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28195 /* end confdefs.h. */
28196 #include <math.h>
28197 #ifdef HAVE_IEEEFP_H
28198 #include <ieeefp.h>
28199 #endif
28200
28201 int
28202 main ()
28203 {
28204 _qfpclass(0);
28205 ;
28206 return 0;
28207 }
28208 _ACEOF
28209 if ac_fn_cxx_try_compile "$LINENO"; then :
28210 glibcxx_cv_func__qfpclass_use=yes
28211 else
28212 glibcxx_cv_func__qfpclass_use=no
28213 fi
28214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28215 ac_ext=c
28216 ac_cpp='$CPP $CPPFLAGS'
28217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28220
28221
28222 fi
28223
28224 fi
28225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28226 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28227
28228 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28229 for ac_func in _qfpclass
28230 do :
28231 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28232 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28233 cat >>confdefs.h <<_ACEOF
28234 #define HAVE__QFPCLASS 1
28235 _ACEOF
28236
28237 fi
28238 done
28239
28240 fi
28241 fi
28242
28243
28244
28245
28246
28247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28248 $as_echo_n "checking for hypot declaration... " >&6; }
28249 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28250 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28251 $as_echo_n "(cached) " >&6
28252 else
28253
28254
28255 ac_ext=cpp
28256 ac_cpp='$CXXCPP $CPPFLAGS'
28257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28260
28261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28262 /* end confdefs.h. */
28263 #include <math.h>
28264 int
28265 main ()
28266 {
28267 hypot(0, 0);
28268 ;
28269 return 0;
28270 }
28271 _ACEOF
28272 if ac_fn_cxx_try_compile "$LINENO"; then :
28273 glibcxx_cv_func_hypot_use=yes
28274 else
28275 glibcxx_cv_func_hypot_use=no
28276 fi
28277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28278 ac_ext=c
28279 ac_cpp='$CPP $CPPFLAGS'
28280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28283
28284
28285 fi
28286
28287 fi
28288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28289 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28290
28291 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28292 for ac_func in hypot
28293 do :
28294 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28295 if test "x$ac_cv_func_hypot" = x""yes; then :
28296 cat >>confdefs.h <<_ACEOF
28297 #define HAVE_HYPOT 1
28298 _ACEOF
28299
28300 fi
28301 done
28302
28303 else
28304
28305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28306 $as_echo_n "checking for _hypot declaration... " >&6; }
28307 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28308 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28309 $as_echo_n "(cached) " >&6
28310 else
28311
28312
28313 ac_ext=cpp
28314 ac_cpp='$CXXCPP $CPPFLAGS'
28315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28318
28319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28320 /* end confdefs.h. */
28321 #include <math.h>
28322 int
28323 main ()
28324 {
28325 _hypot(0, 0);
28326 ;
28327 return 0;
28328 }
28329 _ACEOF
28330 if ac_fn_cxx_try_compile "$LINENO"; then :
28331 glibcxx_cv_func__hypot_use=yes
28332 else
28333 glibcxx_cv_func__hypot_use=no
28334 fi
28335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28336 ac_ext=c
28337 ac_cpp='$CPP $CPPFLAGS'
28338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28341
28342
28343 fi
28344
28345 fi
28346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28347 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28348
28349 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28350 for ac_func in _hypot
28351 do :
28352 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28353 if test "x$ac_cv_func__hypot" = x""yes; then :
28354 cat >>confdefs.h <<_ACEOF
28355 #define HAVE__HYPOT 1
28356 _ACEOF
28357
28358 fi
28359 done
28360
28361 fi
28362 fi
28363
28364
28365
28366
28367
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28369 $as_echo_n "checking for float trig functions... " >&6; }
28370 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28371 $as_echo_n "(cached) " >&6
28372 else
28373
28374
28375 ac_ext=cpp
28376 ac_cpp='$CXXCPP $CPPFLAGS'
28377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28380
28381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28382 /* end confdefs.h. */
28383 #include <math.h>
28384 int
28385 main ()
28386 {
28387 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28388 ;
28389 return 0;
28390 }
28391 _ACEOF
28392 if ac_fn_cxx_try_compile "$LINENO"; then :
28393 glibcxx_cv_func_float_trig_use=yes
28394 else
28395 glibcxx_cv_func_float_trig_use=no
28396 fi
28397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28398 ac_ext=c
28399 ac_cpp='$CPP $CPPFLAGS'
28400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28403
28404 fi
28405
28406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28407 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28408 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28409 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28410 do :
28411 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28412 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28413 eval as_val=\$$as_ac_var
28414 if test "x$as_val" = x""yes; then :
28415 cat >>confdefs.h <<_ACEOF
28416 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28417 _ACEOF
28418
28419 fi
28420 done
28421
28422 else
28423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28424 $as_echo_n "checking for _float trig functions... " >&6; }
28425 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28426 $as_echo_n "(cached) " >&6
28427 else
28428
28429
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
28435
28436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28437 /* end confdefs.h. */
28438 #include <math.h>
28439 int
28440 main ()
28441 {
28442 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28443 ;
28444 return 0;
28445 }
28446 _ACEOF
28447 if ac_fn_cxx_try_compile "$LINENO"; then :
28448 glibcxx_cv_func__float_trig_use=yes
28449 else
28450 glibcxx_cv_func__float_trig_use=no
28451 fi
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
28458
28459 fi
28460
28461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28462 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28463 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28464 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28465 do :
28466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28468 eval as_val=\$$as_ac_var
28469 if test "x$as_val" = x""yes; then :
28470 cat >>confdefs.h <<_ACEOF
28471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28472 _ACEOF
28473
28474 fi
28475 done
28476
28477 fi
28478 fi
28479
28480
28481
28482
28483
28484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28485 $as_echo_n "checking for float round functions... " >&6; }
28486 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28487 $as_echo_n "(cached) " >&6
28488 else
28489
28490
28491 ac_ext=cpp
28492 ac_cpp='$CXXCPP $CPPFLAGS'
28493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28496
28497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28498 /* end confdefs.h. */
28499 #include <math.h>
28500 int
28501 main ()
28502 {
28503 ceilf (0); floorf (0);
28504 ;
28505 return 0;
28506 }
28507 _ACEOF
28508 if ac_fn_cxx_try_compile "$LINENO"; then :
28509 glibcxx_cv_func_float_round_use=yes
28510 else
28511 glibcxx_cv_func_float_round_use=no
28512 fi
28513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28514 ac_ext=c
28515 ac_cpp='$CPP $CPPFLAGS'
28516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28519
28520 fi
28521
28522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28523 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28524 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28525 for ac_func in ceilf floorf
28526 do :
28527 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28528 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28529 eval as_val=\$$as_ac_var
28530 if test "x$as_val" = x""yes; then :
28531 cat >>confdefs.h <<_ACEOF
28532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28533 _ACEOF
28534
28535 fi
28536 done
28537
28538 else
28539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28540 $as_echo_n "checking for _float round functions... " >&6; }
28541 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28542 $as_echo_n "(cached) " >&6
28543 else
28544
28545
28546 ac_ext=cpp
28547 ac_cpp='$CXXCPP $CPPFLAGS'
28548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28551
28552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28553 /* end confdefs.h. */
28554 #include <math.h>
28555 int
28556 main ()
28557 {
28558 _ceilf (0); _floorf (0);
28559 ;
28560 return 0;
28561 }
28562 _ACEOF
28563 if ac_fn_cxx_try_compile "$LINENO"; then :
28564 glibcxx_cv_func__float_round_use=yes
28565 else
28566 glibcxx_cv_func__float_round_use=no
28567 fi
28568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28569 ac_ext=c
28570 ac_cpp='$CPP $CPPFLAGS'
28571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28574
28575 fi
28576
28577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28578 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28579 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28580 for ac_func in _ceilf _floorf
28581 do :
28582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28584 eval as_val=\$$as_ac_var
28585 if test "x$as_val" = x""yes; then :
28586 cat >>confdefs.h <<_ACEOF
28587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28588 _ACEOF
28589
28590 fi
28591 done
28592
28593 fi
28594 fi
28595
28596
28597
28598
28599
28600
28601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28602 $as_echo_n "checking for expf declaration... " >&6; }
28603 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28604 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28605 $as_echo_n "(cached) " >&6
28606 else
28607
28608
28609 ac_ext=cpp
28610 ac_cpp='$CXXCPP $CPPFLAGS'
28611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28614
28615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28616 /* end confdefs.h. */
28617 #include <math.h>
28618 #ifdef HAVE_IEEEFP_H
28619 #include <ieeefp.h>
28620 #endif
28621
28622 int
28623 main ()
28624 {
28625 expf(0);
28626 ;
28627 return 0;
28628 }
28629 _ACEOF
28630 if ac_fn_cxx_try_compile "$LINENO"; then :
28631 glibcxx_cv_func_expf_use=yes
28632 else
28633 glibcxx_cv_func_expf_use=no
28634 fi
28635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28636 ac_ext=c
28637 ac_cpp='$CPP $CPPFLAGS'
28638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28641
28642
28643 fi
28644
28645 fi
28646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28647 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28648
28649 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28650 for ac_func in expf
28651 do :
28652 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28653 if test "x$ac_cv_func_expf" = x""yes; then :
28654 cat >>confdefs.h <<_ACEOF
28655 #define HAVE_EXPF 1
28656 _ACEOF
28657
28658 fi
28659 done
28660
28661 else
28662
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28664 $as_echo_n "checking for _expf declaration... " >&6; }
28665 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28666 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28667 $as_echo_n "(cached) " >&6
28668 else
28669
28670
28671 ac_ext=cpp
28672 ac_cpp='$CXXCPP $CPPFLAGS'
28673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28676
28677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28678 /* end confdefs.h. */
28679 #include <math.h>
28680 #ifdef HAVE_IEEEFP_H
28681 #include <ieeefp.h>
28682 #endif
28683
28684 int
28685 main ()
28686 {
28687 _expf(0);
28688 ;
28689 return 0;
28690 }
28691 _ACEOF
28692 if ac_fn_cxx_try_compile "$LINENO"; then :
28693 glibcxx_cv_func__expf_use=yes
28694 else
28695 glibcxx_cv_func__expf_use=no
28696 fi
28697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28698 ac_ext=c
28699 ac_cpp='$CPP $CPPFLAGS'
28700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28703
28704
28705 fi
28706
28707 fi
28708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28709 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28710
28711 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28712 for ac_func in _expf
28713 do :
28714 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28715 if test "x$ac_cv_func__expf" = x""yes; then :
28716 cat >>confdefs.h <<_ACEOF
28717 #define HAVE__EXPF 1
28718 _ACEOF
28719
28720 fi
28721 done
28722
28723 fi
28724 fi
28725
28726
28727
28728
28729
28730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28731 $as_echo_n "checking for isnanf declaration... " >&6; }
28732 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28733 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28734 $as_echo_n "(cached) " >&6
28735 else
28736
28737
28738 ac_ext=cpp
28739 ac_cpp='$CXXCPP $CPPFLAGS'
28740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28743
28744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28745 /* end confdefs.h. */
28746 #include <math.h>
28747 #ifdef HAVE_IEEEFP_H
28748 #include <ieeefp.h>
28749 #endif
28750
28751 int
28752 main ()
28753 {
28754 isnanf(0);
28755 ;
28756 return 0;
28757 }
28758 _ACEOF
28759 if ac_fn_cxx_try_compile "$LINENO"; then :
28760 glibcxx_cv_func_isnanf_use=yes
28761 else
28762 glibcxx_cv_func_isnanf_use=no
28763 fi
28764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28765 ac_ext=c
28766 ac_cpp='$CPP $CPPFLAGS'
28767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28770
28771
28772 fi
28773
28774 fi
28775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28776 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28777
28778 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28779 for ac_func in isnanf
28780 do :
28781 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28782 if test "x$ac_cv_func_isnanf" = x""yes; then :
28783 cat >>confdefs.h <<_ACEOF
28784 #define HAVE_ISNANF 1
28785 _ACEOF
28786
28787 fi
28788 done
28789
28790 else
28791
28792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28793 $as_echo_n "checking for _isnanf declaration... " >&6; }
28794 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28795 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28796 $as_echo_n "(cached) " >&6
28797 else
28798
28799
28800 ac_ext=cpp
28801 ac_cpp='$CXXCPP $CPPFLAGS'
28802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28805
28806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28807 /* end confdefs.h. */
28808 #include <math.h>
28809 #ifdef HAVE_IEEEFP_H
28810 #include <ieeefp.h>
28811 #endif
28812
28813 int
28814 main ()
28815 {
28816 _isnanf(0);
28817 ;
28818 return 0;
28819 }
28820 _ACEOF
28821 if ac_fn_cxx_try_compile "$LINENO"; then :
28822 glibcxx_cv_func__isnanf_use=yes
28823 else
28824 glibcxx_cv_func__isnanf_use=no
28825 fi
28826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28827 ac_ext=c
28828 ac_cpp='$CPP $CPPFLAGS'
28829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28832
28833
28834 fi
28835
28836 fi
28837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28838 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28839
28840 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28841 for ac_func in _isnanf
28842 do :
28843 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28844 if test "x$ac_cv_func__isnanf" = x""yes; then :
28845 cat >>confdefs.h <<_ACEOF
28846 #define HAVE__ISNANF 1
28847 _ACEOF
28848
28849 fi
28850 done
28851
28852 fi
28853 fi
28854
28855
28856
28857
28858
28859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28860 $as_echo_n "checking for isinff declaration... " >&6; }
28861 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28862 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28863 $as_echo_n "(cached) " >&6
28864 else
28865
28866
28867 ac_ext=cpp
28868 ac_cpp='$CXXCPP $CPPFLAGS'
28869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28872
28873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28874 /* end confdefs.h. */
28875 #include <math.h>
28876 #ifdef HAVE_IEEEFP_H
28877 #include <ieeefp.h>
28878 #endif
28879
28880 int
28881 main ()
28882 {
28883 isinff(0);
28884 ;
28885 return 0;
28886 }
28887 _ACEOF
28888 if ac_fn_cxx_try_compile "$LINENO"; then :
28889 glibcxx_cv_func_isinff_use=yes
28890 else
28891 glibcxx_cv_func_isinff_use=no
28892 fi
28893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28894 ac_ext=c
28895 ac_cpp='$CPP $CPPFLAGS'
28896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28899
28900
28901 fi
28902
28903 fi
28904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28905 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28906
28907 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28908 for ac_func in isinff
28909 do :
28910 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28911 if test "x$ac_cv_func_isinff" = x""yes; then :
28912 cat >>confdefs.h <<_ACEOF
28913 #define HAVE_ISINFF 1
28914 _ACEOF
28915
28916 fi
28917 done
28918
28919 else
28920
28921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28922 $as_echo_n "checking for _isinff declaration... " >&6; }
28923 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28924 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28925 $as_echo_n "(cached) " >&6
28926 else
28927
28928
28929 ac_ext=cpp
28930 ac_cpp='$CXXCPP $CPPFLAGS'
28931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28934
28935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28936 /* end confdefs.h. */
28937 #include <math.h>
28938 #ifdef HAVE_IEEEFP_H
28939 #include <ieeefp.h>
28940 #endif
28941
28942 int
28943 main ()
28944 {
28945 _isinff(0);
28946 ;
28947 return 0;
28948 }
28949 _ACEOF
28950 if ac_fn_cxx_try_compile "$LINENO"; then :
28951 glibcxx_cv_func__isinff_use=yes
28952 else
28953 glibcxx_cv_func__isinff_use=no
28954 fi
28955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28956 ac_ext=c
28957 ac_cpp='$CPP $CPPFLAGS'
28958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28961
28962
28963 fi
28964
28965 fi
28966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
28967 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
28968
28969 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28970 for ac_func in _isinff
28971 do :
28972 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
28973 if test "x$ac_cv_func__isinff" = x""yes; then :
28974 cat >>confdefs.h <<_ACEOF
28975 #define HAVE__ISINFF 1
28976 _ACEOF
28977
28978 fi
28979 done
28980
28981 fi
28982 fi
28983
28984
28985
28986
28987
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
28989 $as_echo_n "checking for atan2f declaration... " >&6; }
28990 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28991 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
28992 $as_echo_n "(cached) " >&6
28993 else
28994
28995
28996 ac_ext=cpp
28997 ac_cpp='$CXXCPP $CPPFLAGS'
28998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29001
29002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29003 /* end confdefs.h. */
29004 #include <math.h>
29005 int
29006 main ()
29007 {
29008 atan2f(0, 0);
29009 ;
29010 return 0;
29011 }
29012 _ACEOF
29013 if ac_fn_cxx_try_compile "$LINENO"; then :
29014 glibcxx_cv_func_atan2f_use=yes
29015 else
29016 glibcxx_cv_func_atan2f_use=no
29017 fi
29018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29019 ac_ext=c
29020 ac_cpp='$CPP $CPPFLAGS'
29021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29024
29025
29026 fi
29027
29028 fi
29029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29030 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29031
29032 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29033 for ac_func in atan2f
29034 do :
29035 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29036 if test "x$ac_cv_func_atan2f" = x""yes; then :
29037 cat >>confdefs.h <<_ACEOF
29038 #define HAVE_ATAN2F 1
29039 _ACEOF
29040
29041 fi
29042 done
29043
29044 else
29045
29046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29047 $as_echo_n "checking for _atan2f declaration... " >&6; }
29048 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29049 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29050 $as_echo_n "(cached) " >&6
29051 else
29052
29053
29054 ac_ext=cpp
29055 ac_cpp='$CXXCPP $CPPFLAGS'
29056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29059
29060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29061 /* end confdefs.h. */
29062 #include <math.h>
29063 int
29064 main ()
29065 {
29066 _atan2f(0, 0);
29067 ;
29068 return 0;
29069 }
29070 _ACEOF
29071 if ac_fn_cxx_try_compile "$LINENO"; then :
29072 glibcxx_cv_func__atan2f_use=yes
29073 else
29074 glibcxx_cv_func__atan2f_use=no
29075 fi
29076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29077 ac_ext=c
29078 ac_cpp='$CPP $CPPFLAGS'
29079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29082
29083
29084 fi
29085
29086 fi
29087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29088 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29089
29090 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29091 for ac_func in _atan2f
29092 do :
29093 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29094 if test "x$ac_cv_func__atan2f" = x""yes; then :
29095 cat >>confdefs.h <<_ACEOF
29096 #define HAVE__ATAN2F 1
29097 _ACEOF
29098
29099 fi
29100 done
29101
29102 fi
29103 fi
29104
29105
29106
29107
29108
29109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29110 $as_echo_n "checking for fabsf declaration... " >&6; }
29111 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29112 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29113 $as_echo_n "(cached) " >&6
29114 else
29115
29116
29117 ac_ext=cpp
29118 ac_cpp='$CXXCPP $CPPFLAGS'
29119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29122
29123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29124 /* end confdefs.h. */
29125 #include <math.h>
29126 #ifdef HAVE_IEEEFP_H
29127 #include <ieeefp.h>
29128 #endif
29129
29130 int
29131 main ()
29132 {
29133 fabsf(0);
29134 ;
29135 return 0;
29136 }
29137 _ACEOF
29138 if ac_fn_cxx_try_compile "$LINENO"; then :
29139 glibcxx_cv_func_fabsf_use=yes
29140 else
29141 glibcxx_cv_func_fabsf_use=no
29142 fi
29143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29144 ac_ext=c
29145 ac_cpp='$CPP $CPPFLAGS'
29146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29149
29150
29151 fi
29152
29153 fi
29154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29155 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29156
29157 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29158 for ac_func in fabsf
29159 do :
29160 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29161 if test "x$ac_cv_func_fabsf" = x""yes; then :
29162 cat >>confdefs.h <<_ACEOF
29163 #define HAVE_FABSF 1
29164 _ACEOF
29165
29166 fi
29167 done
29168
29169 else
29170
29171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29172 $as_echo_n "checking for _fabsf declaration... " >&6; }
29173 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29174 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29175 $as_echo_n "(cached) " >&6
29176 else
29177
29178
29179 ac_ext=cpp
29180 ac_cpp='$CXXCPP $CPPFLAGS'
29181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29184
29185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29186 /* end confdefs.h. */
29187 #include <math.h>
29188 #ifdef HAVE_IEEEFP_H
29189 #include <ieeefp.h>
29190 #endif
29191
29192 int
29193 main ()
29194 {
29195 _fabsf(0);
29196 ;
29197 return 0;
29198 }
29199 _ACEOF
29200 if ac_fn_cxx_try_compile "$LINENO"; then :
29201 glibcxx_cv_func__fabsf_use=yes
29202 else
29203 glibcxx_cv_func__fabsf_use=no
29204 fi
29205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29206 ac_ext=c
29207 ac_cpp='$CPP $CPPFLAGS'
29208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29211
29212
29213 fi
29214
29215 fi
29216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29217 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29218
29219 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29220 for ac_func in _fabsf
29221 do :
29222 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29223 if test "x$ac_cv_func__fabsf" = x""yes; then :
29224 cat >>confdefs.h <<_ACEOF
29225 #define HAVE__FABSF 1
29226 _ACEOF
29227
29228 fi
29229 done
29230
29231 fi
29232 fi
29233
29234
29235
29236
29237
29238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29239 $as_echo_n "checking for fmodf declaration... " >&6; }
29240 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29241 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29242 $as_echo_n "(cached) " >&6
29243 else
29244
29245
29246 ac_ext=cpp
29247 ac_cpp='$CXXCPP $CPPFLAGS'
29248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29251
29252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29253 /* end confdefs.h. */
29254 #include <math.h>
29255 int
29256 main ()
29257 {
29258 fmodf(0, 0);
29259 ;
29260 return 0;
29261 }
29262 _ACEOF
29263 if ac_fn_cxx_try_compile "$LINENO"; then :
29264 glibcxx_cv_func_fmodf_use=yes
29265 else
29266 glibcxx_cv_func_fmodf_use=no
29267 fi
29268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29269 ac_ext=c
29270 ac_cpp='$CPP $CPPFLAGS'
29271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29274
29275
29276 fi
29277
29278 fi
29279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29280 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29281
29282 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29283 for ac_func in fmodf
29284 do :
29285 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29286 if test "x$ac_cv_func_fmodf" = x""yes; then :
29287 cat >>confdefs.h <<_ACEOF
29288 #define HAVE_FMODF 1
29289 _ACEOF
29290
29291 fi
29292 done
29293
29294 else
29295
29296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29297 $as_echo_n "checking for _fmodf declaration... " >&6; }
29298 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29299 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29300 $as_echo_n "(cached) " >&6
29301 else
29302
29303
29304 ac_ext=cpp
29305 ac_cpp='$CXXCPP $CPPFLAGS'
29306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29309
29310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29311 /* end confdefs.h. */
29312 #include <math.h>
29313 int
29314 main ()
29315 {
29316 _fmodf(0, 0);
29317 ;
29318 return 0;
29319 }
29320 _ACEOF
29321 if ac_fn_cxx_try_compile "$LINENO"; then :
29322 glibcxx_cv_func__fmodf_use=yes
29323 else
29324 glibcxx_cv_func__fmodf_use=no
29325 fi
29326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29327 ac_ext=c
29328 ac_cpp='$CPP $CPPFLAGS'
29329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29332
29333
29334 fi
29335
29336 fi
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29338 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29339
29340 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29341 for ac_func in _fmodf
29342 do :
29343 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29344 if test "x$ac_cv_func__fmodf" = x""yes; then :
29345 cat >>confdefs.h <<_ACEOF
29346 #define HAVE__FMODF 1
29347 _ACEOF
29348
29349 fi
29350 done
29351
29352 fi
29353 fi
29354
29355
29356
29357
29358
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29360 $as_echo_n "checking for frexpf declaration... " >&6; }
29361 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29362 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29363 $as_echo_n "(cached) " >&6
29364 else
29365
29366
29367 ac_ext=cpp
29368 ac_cpp='$CXXCPP $CPPFLAGS'
29369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29372
29373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29374 /* end confdefs.h. */
29375 #include <math.h>
29376 int
29377 main ()
29378 {
29379 frexpf(0, 0);
29380 ;
29381 return 0;
29382 }
29383 _ACEOF
29384 if ac_fn_cxx_try_compile "$LINENO"; then :
29385 glibcxx_cv_func_frexpf_use=yes
29386 else
29387 glibcxx_cv_func_frexpf_use=no
29388 fi
29389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29390 ac_ext=c
29391 ac_cpp='$CPP $CPPFLAGS'
29392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29395
29396
29397 fi
29398
29399 fi
29400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29401 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29402
29403 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29404 for ac_func in frexpf
29405 do :
29406 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29407 if test "x$ac_cv_func_frexpf" = x""yes; then :
29408 cat >>confdefs.h <<_ACEOF
29409 #define HAVE_FREXPF 1
29410 _ACEOF
29411
29412 fi
29413 done
29414
29415 else
29416
29417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29418 $as_echo_n "checking for _frexpf declaration... " >&6; }
29419 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29420 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29421 $as_echo_n "(cached) " >&6
29422 else
29423
29424
29425 ac_ext=cpp
29426 ac_cpp='$CXXCPP $CPPFLAGS'
29427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29430
29431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29432 /* end confdefs.h. */
29433 #include <math.h>
29434 int
29435 main ()
29436 {
29437 _frexpf(0, 0);
29438 ;
29439 return 0;
29440 }
29441 _ACEOF
29442 if ac_fn_cxx_try_compile "$LINENO"; then :
29443 glibcxx_cv_func__frexpf_use=yes
29444 else
29445 glibcxx_cv_func__frexpf_use=no
29446 fi
29447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29448 ac_ext=c
29449 ac_cpp='$CPP $CPPFLAGS'
29450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29453
29454
29455 fi
29456
29457 fi
29458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29459 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29460
29461 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29462 for ac_func in _frexpf
29463 do :
29464 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29465 if test "x$ac_cv_func__frexpf" = x""yes; then :
29466 cat >>confdefs.h <<_ACEOF
29467 #define HAVE__FREXPF 1
29468 _ACEOF
29469
29470 fi
29471 done
29472
29473 fi
29474 fi
29475
29476
29477
29478
29479
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29481 $as_echo_n "checking for hypotf declaration... " >&6; }
29482 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29483 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29484 $as_echo_n "(cached) " >&6
29485 else
29486
29487
29488 ac_ext=cpp
29489 ac_cpp='$CXXCPP $CPPFLAGS'
29490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29493
29494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29495 /* end confdefs.h. */
29496 #include <math.h>
29497 int
29498 main ()
29499 {
29500 hypotf(0, 0);
29501 ;
29502 return 0;
29503 }
29504 _ACEOF
29505 if ac_fn_cxx_try_compile "$LINENO"; then :
29506 glibcxx_cv_func_hypotf_use=yes
29507 else
29508 glibcxx_cv_func_hypotf_use=no
29509 fi
29510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29511 ac_ext=c
29512 ac_cpp='$CPP $CPPFLAGS'
29513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29516
29517
29518 fi
29519
29520 fi
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29522 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29523
29524 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29525 for ac_func in hypotf
29526 do :
29527 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29528 if test "x$ac_cv_func_hypotf" = x""yes; then :
29529 cat >>confdefs.h <<_ACEOF
29530 #define HAVE_HYPOTF 1
29531 _ACEOF
29532
29533 fi
29534 done
29535
29536 else
29537
29538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29539 $as_echo_n "checking for _hypotf declaration... " >&6; }
29540 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29541 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29542 $as_echo_n "(cached) " >&6
29543 else
29544
29545
29546 ac_ext=cpp
29547 ac_cpp='$CXXCPP $CPPFLAGS'
29548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29551
29552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29553 /* end confdefs.h. */
29554 #include <math.h>
29555 int
29556 main ()
29557 {
29558 _hypotf(0, 0);
29559 ;
29560 return 0;
29561 }
29562 _ACEOF
29563 if ac_fn_cxx_try_compile "$LINENO"; then :
29564 glibcxx_cv_func__hypotf_use=yes
29565 else
29566 glibcxx_cv_func__hypotf_use=no
29567 fi
29568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29569 ac_ext=c
29570 ac_cpp='$CPP $CPPFLAGS'
29571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29574
29575
29576 fi
29577
29578 fi
29579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29580 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29581
29582 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29583 for ac_func in _hypotf
29584 do :
29585 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29586 if test "x$ac_cv_func__hypotf" = x""yes; then :
29587 cat >>confdefs.h <<_ACEOF
29588 #define HAVE__HYPOTF 1
29589 _ACEOF
29590
29591 fi
29592 done
29593
29594 fi
29595 fi
29596
29597
29598
29599
29600
29601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29602 $as_echo_n "checking for ldexpf declaration... " >&6; }
29603 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29604 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29605 $as_echo_n "(cached) " >&6
29606 else
29607
29608
29609 ac_ext=cpp
29610 ac_cpp='$CXXCPP $CPPFLAGS'
29611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29614
29615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29616 /* end confdefs.h. */
29617 #include <math.h>
29618 int
29619 main ()
29620 {
29621 ldexpf(0, 0);
29622 ;
29623 return 0;
29624 }
29625 _ACEOF
29626 if ac_fn_cxx_try_compile "$LINENO"; then :
29627 glibcxx_cv_func_ldexpf_use=yes
29628 else
29629 glibcxx_cv_func_ldexpf_use=no
29630 fi
29631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29632 ac_ext=c
29633 ac_cpp='$CPP $CPPFLAGS'
29634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29637
29638
29639 fi
29640
29641 fi
29642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29643 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29644
29645 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29646 for ac_func in ldexpf
29647 do :
29648 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29649 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29650 cat >>confdefs.h <<_ACEOF
29651 #define HAVE_LDEXPF 1
29652 _ACEOF
29653
29654 fi
29655 done
29656
29657 else
29658
29659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29660 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29661 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29662 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29663 $as_echo_n "(cached) " >&6
29664 else
29665
29666
29667 ac_ext=cpp
29668 ac_cpp='$CXXCPP $CPPFLAGS'
29669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29672
29673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29674 /* end confdefs.h. */
29675 #include <math.h>
29676 int
29677 main ()
29678 {
29679 _ldexpf(0, 0);
29680 ;
29681 return 0;
29682 }
29683 _ACEOF
29684 if ac_fn_cxx_try_compile "$LINENO"; then :
29685 glibcxx_cv_func__ldexpf_use=yes
29686 else
29687 glibcxx_cv_func__ldexpf_use=no
29688 fi
29689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29690 ac_ext=c
29691 ac_cpp='$CPP $CPPFLAGS'
29692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29695
29696
29697 fi
29698
29699 fi
29700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29701 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29702
29703 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29704 for ac_func in _ldexpf
29705 do :
29706 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29707 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29708 cat >>confdefs.h <<_ACEOF
29709 #define HAVE__LDEXPF 1
29710 _ACEOF
29711
29712 fi
29713 done
29714
29715 fi
29716 fi
29717
29718
29719
29720
29721
29722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29723 $as_echo_n "checking for logf declaration... " >&6; }
29724 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29725 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29726 $as_echo_n "(cached) " >&6
29727 else
29728
29729
29730 ac_ext=cpp
29731 ac_cpp='$CXXCPP $CPPFLAGS'
29732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29735
29736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29737 /* end confdefs.h. */
29738 #include <math.h>
29739 #ifdef HAVE_IEEEFP_H
29740 #include <ieeefp.h>
29741 #endif
29742
29743 int
29744 main ()
29745 {
29746 logf(0);
29747 ;
29748 return 0;
29749 }
29750 _ACEOF
29751 if ac_fn_cxx_try_compile "$LINENO"; then :
29752 glibcxx_cv_func_logf_use=yes
29753 else
29754 glibcxx_cv_func_logf_use=no
29755 fi
29756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29757 ac_ext=c
29758 ac_cpp='$CPP $CPPFLAGS'
29759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29762
29763
29764 fi
29765
29766 fi
29767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29768 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29769
29770 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29771 for ac_func in logf
29772 do :
29773 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29774 if test "x$ac_cv_func_logf" = x""yes; then :
29775 cat >>confdefs.h <<_ACEOF
29776 #define HAVE_LOGF 1
29777 _ACEOF
29778
29779 fi
29780 done
29781
29782 else
29783
29784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29785 $as_echo_n "checking for _logf declaration... " >&6; }
29786 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29787 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29788 $as_echo_n "(cached) " >&6
29789 else
29790
29791
29792 ac_ext=cpp
29793 ac_cpp='$CXXCPP $CPPFLAGS'
29794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29797
29798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29799 /* end confdefs.h. */
29800 #include <math.h>
29801 #ifdef HAVE_IEEEFP_H
29802 #include <ieeefp.h>
29803 #endif
29804
29805 int
29806 main ()
29807 {
29808 _logf(0);
29809 ;
29810 return 0;
29811 }
29812 _ACEOF
29813 if ac_fn_cxx_try_compile "$LINENO"; then :
29814 glibcxx_cv_func__logf_use=yes
29815 else
29816 glibcxx_cv_func__logf_use=no
29817 fi
29818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29819 ac_ext=c
29820 ac_cpp='$CPP $CPPFLAGS'
29821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29824
29825
29826 fi
29827
29828 fi
29829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29830 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29831
29832 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29833 for ac_func in _logf
29834 do :
29835 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29836 if test "x$ac_cv_func__logf" = x""yes; then :
29837 cat >>confdefs.h <<_ACEOF
29838 #define HAVE__LOGF 1
29839 _ACEOF
29840
29841 fi
29842 done
29843
29844 fi
29845 fi
29846
29847
29848
29849
29850
29851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29852 $as_echo_n "checking for log10f declaration... " >&6; }
29853 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29854 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29855 $as_echo_n "(cached) " >&6
29856 else
29857
29858
29859 ac_ext=cpp
29860 ac_cpp='$CXXCPP $CPPFLAGS'
29861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29864
29865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29866 /* end confdefs.h. */
29867 #include <math.h>
29868 #ifdef HAVE_IEEEFP_H
29869 #include <ieeefp.h>
29870 #endif
29871
29872 int
29873 main ()
29874 {
29875 log10f(0);
29876 ;
29877 return 0;
29878 }
29879 _ACEOF
29880 if ac_fn_cxx_try_compile "$LINENO"; then :
29881 glibcxx_cv_func_log10f_use=yes
29882 else
29883 glibcxx_cv_func_log10f_use=no
29884 fi
29885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29886 ac_ext=c
29887 ac_cpp='$CPP $CPPFLAGS'
29888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29891
29892
29893 fi
29894
29895 fi
29896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29897 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29898
29899 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29900 for ac_func in log10f
29901 do :
29902 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29903 if test "x$ac_cv_func_log10f" = x""yes; then :
29904 cat >>confdefs.h <<_ACEOF
29905 #define HAVE_LOG10F 1
29906 _ACEOF
29907
29908 fi
29909 done
29910
29911 else
29912
29913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29914 $as_echo_n "checking for _log10f declaration... " >&6; }
29915 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29916 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29917 $as_echo_n "(cached) " >&6
29918 else
29919
29920
29921 ac_ext=cpp
29922 ac_cpp='$CXXCPP $CPPFLAGS'
29923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29926
29927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29928 /* end confdefs.h. */
29929 #include <math.h>
29930 #ifdef HAVE_IEEEFP_H
29931 #include <ieeefp.h>
29932 #endif
29933
29934 int
29935 main ()
29936 {
29937 _log10f(0);
29938 ;
29939 return 0;
29940 }
29941 _ACEOF
29942 if ac_fn_cxx_try_compile "$LINENO"; then :
29943 glibcxx_cv_func__log10f_use=yes
29944 else
29945 glibcxx_cv_func__log10f_use=no
29946 fi
29947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29948 ac_ext=c
29949 ac_cpp='$CPP $CPPFLAGS'
29950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29953
29954
29955 fi
29956
29957 fi
29958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
29959 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
29960
29961 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
29962 for ac_func in _log10f
29963 do :
29964 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
29965 if test "x$ac_cv_func__log10f" = x""yes; then :
29966 cat >>confdefs.h <<_ACEOF
29967 #define HAVE__LOG10F 1
29968 _ACEOF
29969
29970 fi
29971 done
29972
29973 fi
29974 fi
29975
29976
29977
29978
29979
29980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
29981 $as_echo_n "checking for modff declaration... " >&6; }
29982 if test x${glibcxx_cv_func_modff_use+set} != xset; then
29983 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
29984 $as_echo_n "(cached) " >&6
29985 else
29986
29987
29988 ac_ext=cpp
29989 ac_cpp='$CXXCPP $CPPFLAGS'
29990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29993
29994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29995 /* end confdefs.h. */
29996 #include <math.h>
29997 int
29998 main ()
29999 {
30000 modff(0, 0);
30001 ;
30002 return 0;
30003 }
30004 _ACEOF
30005 if ac_fn_cxx_try_compile "$LINENO"; then :
30006 glibcxx_cv_func_modff_use=yes
30007 else
30008 glibcxx_cv_func_modff_use=no
30009 fi
30010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30011 ac_ext=c
30012 ac_cpp='$CPP $CPPFLAGS'
30013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30016
30017
30018 fi
30019
30020 fi
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30022 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30023
30024 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30025 for ac_func in modff
30026 do :
30027 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30028 if test "x$ac_cv_func_modff" = x""yes; then :
30029 cat >>confdefs.h <<_ACEOF
30030 #define HAVE_MODFF 1
30031 _ACEOF
30032
30033 fi
30034 done
30035
30036 else
30037
30038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30039 $as_echo_n "checking for _modff declaration... " >&6; }
30040 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30041 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30042 $as_echo_n "(cached) " >&6
30043 else
30044
30045
30046 ac_ext=cpp
30047 ac_cpp='$CXXCPP $CPPFLAGS'
30048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30051
30052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30053 /* end confdefs.h. */
30054 #include <math.h>
30055 int
30056 main ()
30057 {
30058 _modff(0, 0);
30059 ;
30060 return 0;
30061 }
30062 _ACEOF
30063 if ac_fn_cxx_try_compile "$LINENO"; then :
30064 glibcxx_cv_func__modff_use=yes
30065 else
30066 glibcxx_cv_func__modff_use=no
30067 fi
30068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30069 ac_ext=c
30070 ac_cpp='$CPP $CPPFLAGS'
30071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30074
30075
30076 fi
30077
30078 fi
30079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30080 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30081
30082 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30083 for ac_func in _modff
30084 do :
30085 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30086 if test "x$ac_cv_func__modff" = x""yes; then :
30087 cat >>confdefs.h <<_ACEOF
30088 #define HAVE__MODFF 1
30089 _ACEOF
30090
30091 fi
30092 done
30093
30094 fi
30095 fi
30096
30097
30098
30099
30100
30101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30102 $as_echo_n "checking for modf declaration... " >&6; }
30103 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30104 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30105 $as_echo_n "(cached) " >&6
30106 else
30107
30108
30109 ac_ext=cpp
30110 ac_cpp='$CXXCPP $CPPFLAGS'
30111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30114
30115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30116 /* end confdefs.h. */
30117 #include <math.h>
30118 int
30119 main ()
30120 {
30121 modf(0, 0);
30122 ;
30123 return 0;
30124 }
30125 _ACEOF
30126 if ac_fn_cxx_try_compile "$LINENO"; then :
30127 glibcxx_cv_func_modf_use=yes
30128 else
30129 glibcxx_cv_func_modf_use=no
30130 fi
30131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30132 ac_ext=c
30133 ac_cpp='$CPP $CPPFLAGS'
30134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30137
30138
30139 fi
30140
30141 fi
30142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30143 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30144
30145 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30146 for ac_func in modf
30147 do :
30148 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30149 if test "x$ac_cv_func_modf" = x""yes; then :
30150 cat >>confdefs.h <<_ACEOF
30151 #define HAVE_MODF 1
30152 _ACEOF
30153
30154 fi
30155 done
30156
30157 else
30158
30159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30160 $as_echo_n "checking for _modf declaration... " >&6; }
30161 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30162 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30163 $as_echo_n "(cached) " >&6
30164 else
30165
30166
30167 ac_ext=cpp
30168 ac_cpp='$CXXCPP $CPPFLAGS'
30169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30172
30173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30174 /* end confdefs.h. */
30175 #include <math.h>
30176 int
30177 main ()
30178 {
30179 _modf(0, 0);
30180 ;
30181 return 0;
30182 }
30183 _ACEOF
30184 if ac_fn_cxx_try_compile "$LINENO"; then :
30185 glibcxx_cv_func__modf_use=yes
30186 else
30187 glibcxx_cv_func__modf_use=no
30188 fi
30189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30190 ac_ext=c
30191 ac_cpp='$CPP $CPPFLAGS'
30192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30195
30196
30197 fi
30198
30199 fi
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30201 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30202
30203 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30204 for ac_func in _modf
30205 do :
30206 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30207 if test "x$ac_cv_func__modf" = x""yes; then :
30208 cat >>confdefs.h <<_ACEOF
30209 #define HAVE__MODF 1
30210 _ACEOF
30211
30212 fi
30213 done
30214
30215 fi
30216 fi
30217
30218
30219
30220
30221
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30223 $as_echo_n "checking for powf declaration... " >&6; }
30224 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30225 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30226 $as_echo_n "(cached) " >&6
30227 else
30228
30229
30230 ac_ext=cpp
30231 ac_cpp='$CXXCPP $CPPFLAGS'
30232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30235
30236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30237 /* end confdefs.h. */
30238 #include <math.h>
30239 int
30240 main ()
30241 {
30242 powf(0, 0);
30243 ;
30244 return 0;
30245 }
30246 _ACEOF
30247 if ac_fn_cxx_try_compile "$LINENO"; then :
30248 glibcxx_cv_func_powf_use=yes
30249 else
30250 glibcxx_cv_func_powf_use=no
30251 fi
30252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30253 ac_ext=c
30254 ac_cpp='$CPP $CPPFLAGS'
30255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30258
30259
30260 fi
30261
30262 fi
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30264 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30265
30266 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30267 for ac_func in powf
30268 do :
30269 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30270 if test "x$ac_cv_func_powf" = x""yes; then :
30271 cat >>confdefs.h <<_ACEOF
30272 #define HAVE_POWF 1
30273 _ACEOF
30274
30275 fi
30276 done
30277
30278 else
30279
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30281 $as_echo_n "checking for _powf declaration... " >&6; }
30282 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30283 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30284 $as_echo_n "(cached) " >&6
30285 else
30286
30287
30288 ac_ext=cpp
30289 ac_cpp='$CXXCPP $CPPFLAGS'
30290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30293
30294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30295 /* end confdefs.h. */
30296 #include <math.h>
30297 int
30298 main ()
30299 {
30300 _powf(0, 0);
30301 ;
30302 return 0;
30303 }
30304 _ACEOF
30305 if ac_fn_cxx_try_compile "$LINENO"; then :
30306 glibcxx_cv_func__powf_use=yes
30307 else
30308 glibcxx_cv_func__powf_use=no
30309 fi
30310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30311 ac_ext=c
30312 ac_cpp='$CPP $CPPFLAGS'
30313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30316
30317
30318 fi
30319
30320 fi
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30322 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30323
30324 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30325 for ac_func in _powf
30326 do :
30327 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30328 if test "x$ac_cv_func__powf" = x""yes; then :
30329 cat >>confdefs.h <<_ACEOF
30330 #define HAVE__POWF 1
30331 _ACEOF
30332
30333 fi
30334 done
30335
30336 fi
30337 fi
30338
30339
30340
30341
30342
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30344 $as_echo_n "checking for sqrtf declaration... " >&6; }
30345 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30346 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30347 $as_echo_n "(cached) " >&6
30348 else
30349
30350
30351 ac_ext=cpp
30352 ac_cpp='$CXXCPP $CPPFLAGS'
30353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30356
30357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30358 /* end confdefs.h. */
30359 #include <math.h>
30360 #ifdef HAVE_IEEEFP_H
30361 #include <ieeefp.h>
30362 #endif
30363
30364 int
30365 main ()
30366 {
30367 sqrtf(0);
30368 ;
30369 return 0;
30370 }
30371 _ACEOF
30372 if ac_fn_cxx_try_compile "$LINENO"; then :
30373 glibcxx_cv_func_sqrtf_use=yes
30374 else
30375 glibcxx_cv_func_sqrtf_use=no
30376 fi
30377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30378 ac_ext=c
30379 ac_cpp='$CPP $CPPFLAGS'
30380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30383
30384
30385 fi
30386
30387 fi
30388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30389 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30390
30391 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30392 for ac_func in sqrtf
30393 do :
30394 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30395 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30396 cat >>confdefs.h <<_ACEOF
30397 #define HAVE_SQRTF 1
30398 _ACEOF
30399
30400 fi
30401 done
30402
30403 else
30404
30405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30406 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30407 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30408 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30409 $as_echo_n "(cached) " >&6
30410 else
30411
30412
30413 ac_ext=cpp
30414 ac_cpp='$CXXCPP $CPPFLAGS'
30415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30418
30419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30420 /* end confdefs.h. */
30421 #include <math.h>
30422 #ifdef HAVE_IEEEFP_H
30423 #include <ieeefp.h>
30424 #endif
30425
30426 int
30427 main ()
30428 {
30429 _sqrtf(0);
30430 ;
30431 return 0;
30432 }
30433 _ACEOF
30434 if ac_fn_cxx_try_compile "$LINENO"; then :
30435 glibcxx_cv_func__sqrtf_use=yes
30436 else
30437 glibcxx_cv_func__sqrtf_use=no
30438 fi
30439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30440 ac_ext=c
30441 ac_cpp='$CPP $CPPFLAGS'
30442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30445
30446
30447 fi
30448
30449 fi
30450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30451 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30452
30453 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30454 for ac_func in _sqrtf
30455 do :
30456 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30457 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30458 cat >>confdefs.h <<_ACEOF
30459 #define HAVE__SQRTF 1
30460 _ACEOF
30461
30462 fi
30463 done
30464
30465 fi
30466 fi
30467
30468
30469
30470
30471
30472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30473 $as_echo_n "checking for sincosf declaration... " >&6; }
30474 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30475 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30476 $as_echo_n "(cached) " >&6
30477 else
30478
30479
30480 ac_ext=cpp
30481 ac_cpp='$CXXCPP $CPPFLAGS'
30482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30485
30486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30487 /* end confdefs.h. */
30488 #include <math.h>
30489 int
30490 main ()
30491 {
30492 sincosf(0, 0, 0);
30493 ;
30494 return 0;
30495 }
30496 _ACEOF
30497 if ac_fn_cxx_try_compile "$LINENO"; then :
30498 glibcxx_cv_func_sincosf_use=yes
30499 else
30500 glibcxx_cv_func_sincosf_use=no
30501 fi
30502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30503 ac_ext=c
30504 ac_cpp='$CPP $CPPFLAGS'
30505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30508
30509
30510 fi
30511
30512 fi
30513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30514 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30515
30516 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30517 for ac_func in sincosf
30518 do :
30519 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30520 if test "x$ac_cv_func_sincosf" = x""yes; then :
30521 cat >>confdefs.h <<_ACEOF
30522 #define HAVE_SINCOSF 1
30523 _ACEOF
30524
30525 fi
30526 done
30527
30528 else
30529
30530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30531 $as_echo_n "checking for _sincosf declaration... " >&6; }
30532 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30533 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30534 $as_echo_n "(cached) " >&6
30535 else
30536
30537
30538 ac_ext=cpp
30539 ac_cpp='$CXXCPP $CPPFLAGS'
30540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30543
30544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30545 /* end confdefs.h. */
30546 #include <math.h>
30547 int
30548 main ()
30549 {
30550 _sincosf(0, 0, 0);
30551 ;
30552 return 0;
30553 }
30554 _ACEOF
30555 if ac_fn_cxx_try_compile "$LINENO"; then :
30556 glibcxx_cv_func__sincosf_use=yes
30557 else
30558 glibcxx_cv_func__sincosf_use=no
30559 fi
30560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30561 ac_ext=c
30562 ac_cpp='$CPP $CPPFLAGS'
30563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30566
30567
30568 fi
30569
30570 fi
30571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30572 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30573
30574 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30575 for ac_func in _sincosf
30576 do :
30577 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30578 if test "x$ac_cv_func__sincosf" = x""yes; then :
30579 cat >>confdefs.h <<_ACEOF
30580 #define HAVE__SINCOSF 1
30581 _ACEOF
30582
30583 fi
30584 done
30585
30586 fi
30587 fi
30588
30589
30590
30591
30592
30593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30594 $as_echo_n "checking for finitef declaration... " >&6; }
30595 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30596 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30597 $as_echo_n "(cached) " >&6
30598 else
30599
30600
30601 ac_ext=cpp
30602 ac_cpp='$CXXCPP $CPPFLAGS'
30603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30606
30607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30608 /* end confdefs.h. */
30609 #include <math.h>
30610 #ifdef HAVE_IEEEFP_H
30611 #include <ieeefp.h>
30612 #endif
30613
30614 int
30615 main ()
30616 {
30617 finitef(0);
30618 ;
30619 return 0;
30620 }
30621 _ACEOF
30622 if ac_fn_cxx_try_compile "$LINENO"; then :
30623 glibcxx_cv_func_finitef_use=yes
30624 else
30625 glibcxx_cv_func_finitef_use=no
30626 fi
30627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30628 ac_ext=c
30629 ac_cpp='$CPP $CPPFLAGS'
30630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30633
30634
30635 fi
30636
30637 fi
30638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30639 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30640
30641 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30642 for ac_func in finitef
30643 do :
30644 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30645 if test "x$ac_cv_func_finitef" = x""yes; then :
30646 cat >>confdefs.h <<_ACEOF
30647 #define HAVE_FINITEF 1
30648 _ACEOF
30649
30650 fi
30651 done
30652
30653 else
30654
30655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30656 $as_echo_n "checking for _finitef declaration... " >&6; }
30657 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30658 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30659 $as_echo_n "(cached) " >&6
30660 else
30661
30662
30663 ac_ext=cpp
30664 ac_cpp='$CXXCPP $CPPFLAGS'
30665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30668
30669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30670 /* end confdefs.h. */
30671 #include <math.h>
30672 #ifdef HAVE_IEEEFP_H
30673 #include <ieeefp.h>
30674 #endif
30675
30676 int
30677 main ()
30678 {
30679 _finitef(0);
30680 ;
30681 return 0;
30682 }
30683 _ACEOF
30684 if ac_fn_cxx_try_compile "$LINENO"; then :
30685 glibcxx_cv_func__finitef_use=yes
30686 else
30687 glibcxx_cv_func__finitef_use=no
30688 fi
30689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30690 ac_ext=c
30691 ac_cpp='$CPP $CPPFLAGS'
30692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30695
30696
30697 fi
30698
30699 fi
30700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30701 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30702
30703 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30704 for ac_func in _finitef
30705 do :
30706 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30707 if test "x$ac_cv_func__finitef" = x""yes; then :
30708 cat >>confdefs.h <<_ACEOF
30709 #define HAVE__FINITEF 1
30710 _ACEOF
30711
30712 fi
30713 done
30714
30715 fi
30716 fi
30717
30718
30719
30720
30721
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30723 $as_echo_n "checking for long double trig functions... " >&6; }
30724 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30725 $as_echo_n "(cached) " >&6
30726 else
30727
30728
30729 ac_ext=cpp
30730 ac_cpp='$CXXCPP $CPPFLAGS'
30731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30734
30735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30736 /* end confdefs.h. */
30737 #include <math.h>
30738 int
30739 main ()
30740 {
30741 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30742 ;
30743 return 0;
30744 }
30745 _ACEOF
30746 if ac_fn_cxx_try_compile "$LINENO"; then :
30747 glibcxx_cv_func_long_double_trig_use=yes
30748 else
30749 glibcxx_cv_func_long_double_trig_use=no
30750 fi
30751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30752 ac_ext=c
30753 ac_cpp='$CPP $CPPFLAGS'
30754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30757
30758 fi
30759
30760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30761 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30762 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30763 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30764 do :
30765 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30766 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30767 eval as_val=\$$as_ac_var
30768 if test "x$as_val" = x""yes; then :
30769 cat >>confdefs.h <<_ACEOF
30770 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30771 _ACEOF
30772
30773 fi
30774 done
30775
30776 else
30777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30778 $as_echo_n "checking for _long double trig functions... " >&6; }
30779 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30780 $as_echo_n "(cached) " >&6
30781 else
30782
30783
30784 ac_ext=cpp
30785 ac_cpp='$CXXCPP $CPPFLAGS'
30786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30789
30790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30791 /* end confdefs.h. */
30792 #include <math.h>
30793 int
30794 main ()
30795 {
30796 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30797 ;
30798 return 0;
30799 }
30800 _ACEOF
30801 if ac_fn_cxx_try_compile "$LINENO"; then :
30802 glibcxx_cv_func__long_double_trig_use=yes
30803 else
30804 glibcxx_cv_func__long_double_trig_use=no
30805 fi
30806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30807 ac_ext=c
30808 ac_cpp='$CPP $CPPFLAGS'
30809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30812
30813 fi
30814
30815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30816 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30817 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30818 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30819 do :
30820 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30821 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30822 eval as_val=\$$as_ac_var
30823 if test "x$as_val" = x""yes; then :
30824 cat >>confdefs.h <<_ACEOF
30825 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30826 _ACEOF
30827
30828 fi
30829 done
30830
30831 fi
30832 fi
30833
30834
30835
30836
30837
30838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30839 $as_echo_n "checking for long double round functions... " >&6; }
30840 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30841 $as_echo_n "(cached) " >&6
30842 else
30843
30844
30845 ac_ext=cpp
30846 ac_cpp='$CXXCPP $CPPFLAGS'
30847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30850
30851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30852 /* end confdefs.h. */
30853 #include <math.h>
30854 int
30855 main ()
30856 {
30857 ceill (0); floorl (0);
30858 ;
30859 return 0;
30860 }
30861 _ACEOF
30862 if ac_fn_cxx_try_compile "$LINENO"; then :
30863 glibcxx_cv_func_long_double_round_use=yes
30864 else
30865 glibcxx_cv_func_long_double_round_use=no
30866 fi
30867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30868 ac_ext=c
30869 ac_cpp='$CPP $CPPFLAGS'
30870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30873
30874 fi
30875
30876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30877 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30878 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30879 for ac_func in ceill floorl
30880 do :
30881 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30882 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30883 eval as_val=\$$as_ac_var
30884 if test "x$as_val" = x""yes; then :
30885 cat >>confdefs.h <<_ACEOF
30886 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30887 _ACEOF
30888
30889 fi
30890 done
30891
30892 else
30893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30894 $as_echo_n "checking for _long double round functions... " >&6; }
30895 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30896 $as_echo_n "(cached) " >&6
30897 else
30898
30899
30900 ac_ext=cpp
30901 ac_cpp='$CXXCPP $CPPFLAGS'
30902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30905
30906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30907 /* end confdefs.h. */
30908 #include <math.h>
30909 int
30910 main ()
30911 {
30912 _ceill (0); _floorl (0);
30913 ;
30914 return 0;
30915 }
30916 _ACEOF
30917 if ac_fn_cxx_try_compile "$LINENO"; then :
30918 glibcxx_cv_func__long_double_round_use=yes
30919 else
30920 glibcxx_cv_func__long_double_round_use=no
30921 fi
30922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30923 ac_ext=c
30924 ac_cpp='$CPP $CPPFLAGS'
30925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30928
30929 fi
30930
30931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30932 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30933 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
30934 for ac_func in _ceill _floorl
30935 do :
30936 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30937 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30938 eval as_val=\$$as_ac_var
30939 if test "x$as_val" = x""yes; then :
30940 cat >>confdefs.h <<_ACEOF
30941 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30942 _ACEOF
30943
30944 fi
30945 done
30946
30947 fi
30948 fi
30949
30950
30951
30952
30953
30954
30955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
30956 $as_echo_n "checking for isnanl declaration... " >&6; }
30957 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
30958 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
30959 $as_echo_n "(cached) " >&6
30960 else
30961
30962
30963 ac_ext=cpp
30964 ac_cpp='$CXXCPP $CPPFLAGS'
30965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30968
30969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30970 /* end confdefs.h. */
30971 #include <math.h>
30972 #ifdef HAVE_IEEEFP_H
30973 #include <ieeefp.h>
30974 #endif
30975
30976 int
30977 main ()
30978 {
30979 isnanl(0);
30980 ;
30981 return 0;
30982 }
30983 _ACEOF
30984 if ac_fn_cxx_try_compile "$LINENO"; then :
30985 glibcxx_cv_func_isnanl_use=yes
30986 else
30987 glibcxx_cv_func_isnanl_use=no
30988 fi
30989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30990 ac_ext=c
30991 ac_cpp='$CPP $CPPFLAGS'
30992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30995
30996
30997 fi
30998
30999 fi
31000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31001 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31002
31003 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31004 for ac_func in isnanl
31005 do :
31006 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31007 if test "x$ac_cv_func_isnanl" = x""yes; then :
31008 cat >>confdefs.h <<_ACEOF
31009 #define HAVE_ISNANL 1
31010 _ACEOF
31011
31012 fi
31013 done
31014
31015 else
31016
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31018 $as_echo_n "checking for _isnanl declaration... " >&6; }
31019 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31020 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31021 $as_echo_n "(cached) " >&6
31022 else
31023
31024
31025 ac_ext=cpp
31026 ac_cpp='$CXXCPP $CPPFLAGS'
31027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31030
31031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31032 /* end confdefs.h. */
31033 #include <math.h>
31034 #ifdef HAVE_IEEEFP_H
31035 #include <ieeefp.h>
31036 #endif
31037
31038 int
31039 main ()
31040 {
31041 _isnanl(0);
31042 ;
31043 return 0;
31044 }
31045 _ACEOF
31046 if ac_fn_cxx_try_compile "$LINENO"; then :
31047 glibcxx_cv_func__isnanl_use=yes
31048 else
31049 glibcxx_cv_func__isnanl_use=no
31050 fi
31051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31052 ac_ext=c
31053 ac_cpp='$CPP $CPPFLAGS'
31054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31057
31058
31059 fi
31060
31061 fi
31062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31063 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31064
31065 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31066 for ac_func in _isnanl
31067 do :
31068 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31069 if test "x$ac_cv_func__isnanl" = x""yes; then :
31070 cat >>confdefs.h <<_ACEOF
31071 #define HAVE__ISNANL 1
31072 _ACEOF
31073
31074 fi
31075 done
31076
31077 fi
31078 fi
31079
31080
31081
31082
31083
31084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31085 $as_echo_n "checking for isinfl declaration... " >&6; }
31086 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31087 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31088 $as_echo_n "(cached) " >&6
31089 else
31090
31091
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
31097
31098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31099 /* end confdefs.h. */
31100 #include <math.h>
31101 #ifdef HAVE_IEEEFP_H
31102 #include <ieeefp.h>
31103 #endif
31104
31105 int
31106 main ()
31107 {
31108 isinfl(0);
31109 ;
31110 return 0;
31111 }
31112 _ACEOF
31113 if ac_fn_cxx_try_compile "$LINENO"; then :
31114 glibcxx_cv_func_isinfl_use=yes
31115 else
31116 glibcxx_cv_func_isinfl_use=no
31117 fi
31118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31119 ac_ext=c
31120 ac_cpp='$CPP $CPPFLAGS'
31121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31124
31125
31126 fi
31127
31128 fi
31129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31130 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31131
31132 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31133 for ac_func in isinfl
31134 do :
31135 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31136 if test "x$ac_cv_func_isinfl" = x""yes; then :
31137 cat >>confdefs.h <<_ACEOF
31138 #define HAVE_ISINFL 1
31139 _ACEOF
31140
31141 fi
31142 done
31143
31144 else
31145
31146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31147 $as_echo_n "checking for _isinfl declaration... " >&6; }
31148 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31149 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31150 $as_echo_n "(cached) " >&6
31151 else
31152
31153
31154 ac_ext=cpp
31155 ac_cpp='$CXXCPP $CPPFLAGS'
31156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31159
31160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31161 /* end confdefs.h. */
31162 #include <math.h>
31163 #ifdef HAVE_IEEEFP_H
31164 #include <ieeefp.h>
31165 #endif
31166
31167 int
31168 main ()
31169 {
31170 _isinfl(0);
31171 ;
31172 return 0;
31173 }
31174 _ACEOF
31175 if ac_fn_cxx_try_compile "$LINENO"; then :
31176 glibcxx_cv_func__isinfl_use=yes
31177 else
31178 glibcxx_cv_func__isinfl_use=no
31179 fi
31180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31181 ac_ext=c
31182 ac_cpp='$CPP $CPPFLAGS'
31183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31186
31187
31188 fi
31189
31190 fi
31191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31192 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31193
31194 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31195 for ac_func in _isinfl
31196 do :
31197 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31198 if test "x$ac_cv_func__isinfl" = x""yes; then :
31199 cat >>confdefs.h <<_ACEOF
31200 #define HAVE__ISINFL 1
31201 _ACEOF
31202
31203 fi
31204 done
31205
31206 fi
31207 fi
31208
31209
31210
31211
31212
31213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31214 $as_echo_n "checking for atan2l declaration... " >&6; }
31215 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31216 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31217 $as_echo_n "(cached) " >&6
31218 else
31219
31220
31221 ac_ext=cpp
31222 ac_cpp='$CXXCPP $CPPFLAGS'
31223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31226
31227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31228 /* end confdefs.h. */
31229 #include <math.h>
31230 int
31231 main ()
31232 {
31233 atan2l(0, 0);
31234 ;
31235 return 0;
31236 }
31237 _ACEOF
31238 if ac_fn_cxx_try_compile "$LINENO"; then :
31239 glibcxx_cv_func_atan2l_use=yes
31240 else
31241 glibcxx_cv_func_atan2l_use=no
31242 fi
31243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31244 ac_ext=c
31245 ac_cpp='$CPP $CPPFLAGS'
31246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31249
31250
31251 fi
31252
31253 fi
31254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31255 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31256
31257 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31258 for ac_func in atan2l
31259 do :
31260 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31261 if test "x$ac_cv_func_atan2l" = x""yes; then :
31262 cat >>confdefs.h <<_ACEOF
31263 #define HAVE_ATAN2L 1
31264 _ACEOF
31265
31266 fi
31267 done
31268
31269 else
31270
31271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31272 $as_echo_n "checking for _atan2l declaration... " >&6; }
31273 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31274 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31275 $as_echo_n "(cached) " >&6
31276 else
31277
31278
31279 ac_ext=cpp
31280 ac_cpp='$CXXCPP $CPPFLAGS'
31281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31284
31285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31286 /* end confdefs.h. */
31287 #include <math.h>
31288 int
31289 main ()
31290 {
31291 _atan2l(0, 0);
31292 ;
31293 return 0;
31294 }
31295 _ACEOF
31296 if ac_fn_cxx_try_compile "$LINENO"; then :
31297 glibcxx_cv_func__atan2l_use=yes
31298 else
31299 glibcxx_cv_func__atan2l_use=no
31300 fi
31301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31302 ac_ext=c
31303 ac_cpp='$CPP $CPPFLAGS'
31304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31307
31308
31309 fi
31310
31311 fi
31312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31313 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31314
31315 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31316 for ac_func in _atan2l
31317 do :
31318 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31319 if test "x$ac_cv_func__atan2l" = x""yes; then :
31320 cat >>confdefs.h <<_ACEOF
31321 #define HAVE__ATAN2L 1
31322 _ACEOF
31323
31324 fi
31325 done
31326
31327 fi
31328 fi
31329
31330
31331
31332
31333
31334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31335 $as_echo_n "checking for expl declaration... " >&6; }
31336 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31337 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31338 $as_echo_n "(cached) " >&6
31339 else
31340
31341
31342 ac_ext=cpp
31343 ac_cpp='$CXXCPP $CPPFLAGS'
31344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31347
31348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31349 /* end confdefs.h. */
31350 #include <math.h>
31351 #ifdef HAVE_IEEEFP_H
31352 #include <ieeefp.h>
31353 #endif
31354
31355 int
31356 main ()
31357 {
31358 expl(0);
31359 ;
31360 return 0;
31361 }
31362 _ACEOF
31363 if ac_fn_cxx_try_compile "$LINENO"; then :
31364 glibcxx_cv_func_expl_use=yes
31365 else
31366 glibcxx_cv_func_expl_use=no
31367 fi
31368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31369 ac_ext=c
31370 ac_cpp='$CPP $CPPFLAGS'
31371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31374
31375
31376 fi
31377
31378 fi
31379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31380 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31381
31382 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31383 for ac_func in expl
31384 do :
31385 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31386 if test "x$ac_cv_func_expl" = x""yes; then :
31387 cat >>confdefs.h <<_ACEOF
31388 #define HAVE_EXPL 1
31389 _ACEOF
31390
31391 fi
31392 done
31393
31394 else
31395
31396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31397 $as_echo_n "checking for _expl declaration... " >&6; }
31398 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31399 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31400 $as_echo_n "(cached) " >&6
31401 else
31402
31403
31404 ac_ext=cpp
31405 ac_cpp='$CXXCPP $CPPFLAGS'
31406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31409
31410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31411 /* end confdefs.h. */
31412 #include <math.h>
31413 #ifdef HAVE_IEEEFP_H
31414 #include <ieeefp.h>
31415 #endif
31416
31417 int
31418 main ()
31419 {
31420 _expl(0);
31421 ;
31422 return 0;
31423 }
31424 _ACEOF
31425 if ac_fn_cxx_try_compile "$LINENO"; then :
31426 glibcxx_cv_func__expl_use=yes
31427 else
31428 glibcxx_cv_func__expl_use=no
31429 fi
31430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31431 ac_ext=c
31432 ac_cpp='$CPP $CPPFLAGS'
31433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31436
31437
31438 fi
31439
31440 fi
31441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31442 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31443
31444 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31445 for ac_func in _expl
31446 do :
31447 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31448 if test "x$ac_cv_func__expl" = x""yes; then :
31449 cat >>confdefs.h <<_ACEOF
31450 #define HAVE__EXPL 1
31451 _ACEOF
31452
31453 fi
31454 done
31455
31456 fi
31457 fi
31458
31459
31460
31461
31462
31463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31464 $as_echo_n "checking for fabsl declaration... " >&6; }
31465 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31466 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31467 $as_echo_n "(cached) " >&6
31468 else
31469
31470
31471 ac_ext=cpp
31472 ac_cpp='$CXXCPP $CPPFLAGS'
31473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31476
31477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31478 /* end confdefs.h. */
31479 #include <math.h>
31480 #ifdef HAVE_IEEEFP_H
31481 #include <ieeefp.h>
31482 #endif
31483
31484 int
31485 main ()
31486 {
31487 fabsl(0);
31488 ;
31489 return 0;
31490 }
31491 _ACEOF
31492 if ac_fn_cxx_try_compile "$LINENO"; then :
31493 glibcxx_cv_func_fabsl_use=yes
31494 else
31495 glibcxx_cv_func_fabsl_use=no
31496 fi
31497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31498 ac_ext=c
31499 ac_cpp='$CPP $CPPFLAGS'
31500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31503
31504
31505 fi
31506
31507 fi
31508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31509 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31510
31511 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31512 for ac_func in fabsl
31513 do :
31514 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31515 if test "x$ac_cv_func_fabsl" = x""yes; then :
31516 cat >>confdefs.h <<_ACEOF
31517 #define HAVE_FABSL 1
31518 _ACEOF
31519
31520 fi
31521 done
31522
31523 else
31524
31525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31526 $as_echo_n "checking for _fabsl declaration... " >&6; }
31527 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31528 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31529 $as_echo_n "(cached) " >&6
31530 else
31531
31532
31533 ac_ext=cpp
31534 ac_cpp='$CXXCPP $CPPFLAGS'
31535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31538
31539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31540 /* end confdefs.h. */
31541 #include <math.h>
31542 #ifdef HAVE_IEEEFP_H
31543 #include <ieeefp.h>
31544 #endif
31545
31546 int
31547 main ()
31548 {
31549 _fabsl(0);
31550 ;
31551 return 0;
31552 }
31553 _ACEOF
31554 if ac_fn_cxx_try_compile "$LINENO"; then :
31555 glibcxx_cv_func__fabsl_use=yes
31556 else
31557 glibcxx_cv_func__fabsl_use=no
31558 fi
31559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31560 ac_ext=c
31561 ac_cpp='$CPP $CPPFLAGS'
31562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31565
31566
31567 fi
31568
31569 fi
31570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31571 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31572
31573 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31574 for ac_func in _fabsl
31575 do :
31576 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31577 if test "x$ac_cv_func__fabsl" = x""yes; then :
31578 cat >>confdefs.h <<_ACEOF
31579 #define HAVE__FABSL 1
31580 _ACEOF
31581
31582 fi
31583 done
31584
31585 fi
31586 fi
31587
31588
31589
31590
31591
31592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31593 $as_echo_n "checking for fmodl declaration... " >&6; }
31594 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31595 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31596 $as_echo_n "(cached) " >&6
31597 else
31598
31599
31600 ac_ext=cpp
31601 ac_cpp='$CXXCPP $CPPFLAGS'
31602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31605
31606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31607 /* end confdefs.h. */
31608 #include <math.h>
31609 int
31610 main ()
31611 {
31612 fmodl(0, 0);
31613 ;
31614 return 0;
31615 }
31616 _ACEOF
31617 if ac_fn_cxx_try_compile "$LINENO"; then :
31618 glibcxx_cv_func_fmodl_use=yes
31619 else
31620 glibcxx_cv_func_fmodl_use=no
31621 fi
31622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31623 ac_ext=c
31624 ac_cpp='$CPP $CPPFLAGS'
31625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31628
31629
31630 fi
31631
31632 fi
31633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31634 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31635
31636 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31637 for ac_func in fmodl
31638 do :
31639 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31640 if test "x$ac_cv_func_fmodl" = x""yes; then :
31641 cat >>confdefs.h <<_ACEOF
31642 #define HAVE_FMODL 1
31643 _ACEOF
31644
31645 fi
31646 done
31647
31648 else
31649
31650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31651 $as_echo_n "checking for _fmodl declaration... " >&6; }
31652 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31653 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31654 $as_echo_n "(cached) " >&6
31655 else
31656
31657
31658 ac_ext=cpp
31659 ac_cpp='$CXXCPP $CPPFLAGS'
31660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31663
31664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31665 /* end confdefs.h. */
31666 #include <math.h>
31667 int
31668 main ()
31669 {
31670 _fmodl(0, 0);
31671 ;
31672 return 0;
31673 }
31674 _ACEOF
31675 if ac_fn_cxx_try_compile "$LINENO"; then :
31676 glibcxx_cv_func__fmodl_use=yes
31677 else
31678 glibcxx_cv_func__fmodl_use=no
31679 fi
31680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31681 ac_ext=c
31682 ac_cpp='$CPP $CPPFLAGS'
31683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31686
31687
31688 fi
31689
31690 fi
31691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31692 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31693
31694 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31695 for ac_func in _fmodl
31696 do :
31697 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31698 if test "x$ac_cv_func__fmodl" = x""yes; then :
31699 cat >>confdefs.h <<_ACEOF
31700 #define HAVE__FMODL 1
31701 _ACEOF
31702
31703 fi
31704 done
31705
31706 fi
31707 fi
31708
31709
31710
31711
31712
31713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31714 $as_echo_n "checking for frexpl declaration... " >&6; }
31715 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31716 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31717 $as_echo_n "(cached) " >&6
31718 else
31719
31720
31721 ac_ext=cpp
31722 ac_cpp='$CXXCPP $CPPFLAGS'
31723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31726
31727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31728 /* end confdefs.h. */
31729 #include <math.h>
31730 int
31731 main ()
31732 {
31733 frexpl(0, 0);
31734 ;
31735 return 0;
31736 }
31737 _ACEOF
31738 if ac_fn_cxx_try_compile "$LINENO"; then :
31739 glibcxx_cv_func_frexpl_use=yes
31740 else
31741 glibcxx_cv_func_frexpl_use=no
31742 fi
31743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31744 ac_ext=c
31745 ac_cpp='$CPP $CPPFLAGS'
31746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31749
31750
31751 fi
31752
31753 fi
31754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31755 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31756
31757 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31758 for ac_func in frexpl
31759 do :
31760 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31761 if test "x$ac_cv_func_frexpl" = x""yes; then :
31762 cat >>confdefs.h <<_ACEOF
31763 #define HAVE_FREXPL 1
31764 _ACEOF
31765
31766 fi
31767 done
31768
31769 else
31770
31771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31772 $as_echo_n "checking for _frexpl declaration... " >&6; }
31773 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31774 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31775 $as_echo_n "(cached) " >&6
31776 else
31777
31778
31779 ac_ext=cpp
31780 ac_cpp='$CXXCPP $CPPFLAGS'
31781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31784
31785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31786 /* end confdefs.h. */
31787 #include <math.h>
31788 int
31789 main ()
31790 {
31791 _frexpl(0, 0);
31792 ;
31793 return 0;
31794 }
31795 _ACEOF
31796 if ac_fn_cxx_try_compile "$LINENO"; then :
31797 glibcxx_cv_func__frexpl_use=yes
31798 else
31799 glibcxx_cv_func__frexpl_use=no
31800 fi
31801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31802 ac_ext=c
31803 ac_cpp='$CPP $CPPFLAGS'
31804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31807
31808
31809 fi
31810
31811 fi
31812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31813 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31814
31815 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31816 for ac_func in _frexpl
31817 do :
31818 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31819 if test "x$ac_cv_func__frexpl" = x""yes; then :
31820 cat >>confdefs.h <<_ACEOF
31821 #define HAVE__FREXPL 1
31822 _ACEOF
31823
31824 fi
31825 done
31826
31827 fi
31828 fi
31829
31830
31831
31832
31833
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31835 $as_echo_n "checking for hypotl declaration... " >&6; }
31836 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31837 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31838 $as_echo_n "(cached) " >&6
31839 else
31840
31841
31842 ac_ext=cpp
31843 ac_cpp='$CXXCPP $CPPFLAGS'
31844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31847
31848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31849 /* end confdefs.h. */
31850 #include <math.h>
31851 int
31852 main ()
31853 {
31854 hypotl(0, 0);
31855 ;
31856 return 0;
31857 }
31858 _ACEOF
31859 if ac_fn_cxx_try_compile "$LINENO"; then :
31860 glibcxx_cv_func_hypotl_use=yes
31861 else
31862 glibcxx_cv_func_hypotl_use=no
31863 fi
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
31870
31871
31872 fi
31873
31874 fi
31875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31876 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31877
31878 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31879 for ac_func in hypotl
31880 do :
31881 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31882 if test "x$ac_cv_func_hypotl" = x""yes; then :
31883 cat >>confdefs.h <<_ACEOF
31884 #define HAVE_HYPOTL 1
31885 _ACEOF
31886
31887 fi
31888 done
31889
31890 else
31891
31892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31893 $as_echo_n "checking for _hypotl declaration... " >&6; }
31894 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31895 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31896 $as_echo_n "(cached) " >&6
31897 else
31898
31899
31900 ac_ext=cpp
31901 ac_cpp='$CXXCPP $CPPFLAGS'
31902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31905
31906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31907 /* end confdefs.h. */
31908 #include <math.h>
31909 int
31910 main ()
31911 {
31912 _hypotl(0, 0);
31913 ;
31914 return 0;
31915 }
31916 _ACEOF
31917 if ac_fn_cxx_try_compile "$LINENO"; then :
31918 glibcxx_cv_func__hypotl_use=yes
31919 else
31920 glibcxx_cv_func__hypotl_use=no
31921 fi
31922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31923 ac_ext=c
31924 ac_cpp='$CPP $CPPFLAGS'
31925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31928
31929
31930 fi
31931
31932 fi
31933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
31934 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
31935
31936 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
31937 for ac_func in _hypotl
31938 do :
31939 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
31940 if test "x$ac_cv_func__hypotl" = x""yes; then :
31941 cat >>confdefs.h <<_ACEOF
31942 #define HAVE__HYPOTL 1
31943 _ACEOF
31944
31945 fi
31946 done
31947
31948 fi
31949 fi
31950
31951
31952
31953
31954
31955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
31956 $as_echo_n "checking for ldexpl declaration... " >&6; }
31957 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
31958 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
31959 $as_echo_n "(cached) " >&6
31960 else
31961
31962
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
31968
31969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31970 /* end confdefs.h. */
31971 #include <math.h>
31972 int
31973 main ()
31974 {
31975 ldexpl(0, 0);
31976 ;
31977 return 0;
31978 }
31979 _ACEOF
31980 if ac_fn_cxx_try_compile "$LINENO"; then :
31981 glibcxx_cv_func_ldexpl_use=yes
31982 else
31983 glibcxx_cv_func_ldexpl_use=no
31984 fi
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
31991
31992
31993 fi
31994
31995 fi
31996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
31997 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
31998
31999 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32000 for ac_func in ldexpl
32001 do :
32002 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32003 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32004 cat >>confdefs.h <<_ACEOF
32005 #define HAVE_LDEXPL 1
32006 _ACEOF
32007
32008 fi
32009 done
32010
32011 else
32012
32013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32014 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32015 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32016 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32017 $as_echo_n "(cached) " >&6
32018 else
32019
32020
32021 ac_ext=cpp
32022 ac_cpp='$CXXCPP $CPPFLAGS'
32023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32026
32027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32028 /* end confdefs.h. */
32029 #include <math.h>
32030 int
32031 main ()
32032 {
32033 _ldexpl(0, 0);
32034 ;
32035 return 0;
32036 }
32037 _ACEOF
32038 if ac_fn_cxx_try_compile "$LINENO"; then :
32039 glibcxx_cv_func__ldexpl_use=yes
32040 else
32041 glibcxx_cv_func__ldexpl_use=no
32042 fi
32043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32044 ac_ext=c
32045 ac_cpp='$CPP $CPPFLAGS'
32046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32049
32050
32051 fi
32052
32053 fi
32054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32055 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32056
32057 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32058 for ac_func in _ldexpl
32059 do :
32060 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32061 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32062 cat >>confdefs.h <<_ACEOF
32063 #define HAVE__LDEXPL 1
32064 _ACEOF
32065
32066 fi
32067 done
32068
32069 fi
32070 fi
32071
32072
32073
32074
32075
32076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32077 $as_echo_n "checking for logl declaration... " >&6; }
32078 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32079 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32080 $as_echo_n "(cached) " >&6
32081 else
32082
32083
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
32089
32090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32091 /* end confdefs.h. */
32092 #include <math.h>
32093 #ifdef HAVE_IEEEFP_H
32094 #include <ieeefp.h>
32095 #endif
32096
32097 int
32098 main ()
32099 {
32100 logl(0);
32101 ;
32102 return 0;
32103 }
32104 _ACEOF
32105 if ac_fn_cxx_try_compile "$LINENO"; then :
32106 glibcxx_cv_func_logl_use=yes
32107 else
32108 glibcxx_cv_func_logl_use=no
32109 fi
32110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32111 ac_ext=c
32112 ac_cpp='$CPP $CPPFLAGS'
32113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32116
32117
32118 fi
32119
32120 fi
32121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32122 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32123
32124 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32125 for ac_func in logl
32126 do :
32127 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32128 if test "x$ac_cv_func_logl" = x""yes; then :
32129 cat >>confdefs.h <<_ACEOF
32130 #define HAVE_LOGL 1
32131 _ACEOF
32132
32133 fi
32134 done
32135
32136 else
32137
32138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32139 $as_echo_n "checking for _logl declaration... " >&6; }
32140 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32141 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32142 $as_echo_n "(cached) " >&6
32143 else
32144
32145
32146 ac_ext=cpp
32147 ac_cpp='$CXXCPP $CPPFLAGS'
32148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32151
32152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32153 /* end confdefs.h. */
32154 #include <math.h>
32155 #ifdef HAVE_IEEEFP_H
32156 #include <ieeefp.h>
32157 #endif
32158
32159 int
32160 main ()
32161 {
32162 _logl(0);
32163 ;
32164 return 0;
32165 }
32166 _ACEOF
32167 if ac_fn_cxx_try_compile "$LINENO"; then :
32168 glibcxx_cv_func__logl_use=yes
32169 else
32170 glibcxx_cv_func__logl_use=no
32171 fi
32172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32173 ac_ext=c
32174 ac_cpp='$CPP $CPPFLAGS'
32175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32178
32179
32180 fi
32181
32182 fi
32183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32184 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32185
32186 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32187 for ac_func in _logl
32188 do :
32189 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32190 if test "x$ac_cv_func__logl" = x""yes; then :
32191 cat >>confdefs.h <<_ACEOF
32192 #define HAVE__LOGL 1
32193 _ACEOF
32194
32195 fi
32196 done
32197
32198 fi
32199 fi
32200
32201
32202
32203
32204
32205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32206 $as_echo_n "checking for log10l declaration... " >&6; }
32207 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32208 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32209 $as_echo_n "(cached) " >&6
32210 else
32211
32212
32213 ac_ext=cpp
32214 ac_cpp='$CXXCPP $CPPFLAGS'
32215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32218
32219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32220 /* end confdefs.h. */
32221 #include <math.h>
32222 #ifdef HAVE_IEEEFP_H
32223 #include <ieeefp.h>
32224 #endif
32225
32226 int
32227 main ()
32228 {
32229 log10l(0);
32230 ;
32231 return 0;
32232 }
32233 _ACEOF
32234 if ac_fn_cxx_try_compile "$LINENO"; then :
32235 glibcxx_cv_func_log10l_use=yes
32236 else
32237 glibcxx_cv_func_log10l_use=no
32238 fi
32239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32240 ac_ext=c
32241 ac_cpp='$CPP $CPPFLAGS'
32242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32245
32246
32247 fi
32248
32249 fi
32250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32251 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32252
32253 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32254 for ac_func in log10l
32255 do :
32256 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32257 if test "x$ac_cv_func_log10l" = x""yes; then :
32258 cat >>confdefs.h <<_ACEOF
32259 #define HAVE_LOG10L 1
32260 _ACEOF
32261
32262 fi
32263 done
32264
32265 else
32266
32267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32268 $as_echo_n "checking for _log10l declaration... " >&6; }
32269 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32270 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32271 $as_echo_n "(cached) " >&6
32272 else
32273
32274
32275 ac_ext=cpp
32276 ac_cpp='$CXXCPP $CPPFLAGS'
32277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32280
32281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32282 /* end confdefs.h. */
32283 #include <math.h>
32284 #ifdef HAVE_IEEEFP_H
32285 #include <ieeefp.h>
32286 #endif
32287
32288 int
32289 main ()
32290 {
32291 _log10l(0);
32292 ;
32293 return 0;
32294 }
32295 _ACEOF
32296 if ac_fn_cxx_try_compile "$LINENO"; then :
32297 glibcxx_cv_func__log10l_use=yes
32298 else
32299 glibcxx_cv_func__log10l_use=no
32300 fi
32301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32302 ac_ext=c
32303 ac_cpp='$CPP $CPPFLAGS'
32304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32307
32308
32309 fi
32310
32311 fi
32312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32313 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32314
32315 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32316 for ac_func in _log10l
32317 do :
32318 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32319 if test "x$ac_cv_func__log10l" = x""yes; then :
32320 cat >>confdefs.h <<_ACEOF
32321 #define HAVE__LOG10L 1
32322 _ACEOF
32323
32324 fi
32325 done
32326
32327 fi
32328 fi
32329
32330
32331
32332
32333
32334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32335 $as_echo_n "checking for modfl declaration... " >&6; }
32336 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32337 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32338 $as_echo_n "(cached) " >&6
32339 else
32340
32341
32342 ac_ext=cpp
32343 ac_cpp='$CXXCPP $CPPFLAGS'
32344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32347
32348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32349 /* end confdefs.h. */
32350 #include <math.h>
32351 int
32352 main ()
32353 {
32354 modfl(0, 0);
32355 ;
32356 return 0;
32357 }
32358 _ACEOF
32359 if ac_fn_cxx_try_compile "$LINENO"; then :
32360 glibcxx_cv_func_modfl_use=yes
32361 else
32362 glibcxx_cv_func_modfl_use=no
32363 fi
32364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32365 ac_ext=c
32366 ac_cpp='$CPP $CPPFLAGS'
32367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32370
32371
32372 fi
32373
32374 fi
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32376 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32377
32378 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32379 for ac_func in modfl
32380 do :
32381 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32382 if test "x$ac_cv_func_modfl" = x""yes; then :
32383 cat >>confdefs.h <<_ACEOF
32384 #define HAVE_MODFL 1
32385 _ACEOF
32386
32387 fi
32388 done
32389
32390 else
32391
32392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32393 $as_echo_n "checking for _modfl declaration... " >&6; }
32394 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32395 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32396 $as_echo_n "(cached) " >&6
32397 else
32398
32399
32400 ac_ext=cpp
32401 ac_cpp='$CXXCPP $CPPFLAGS'
32402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32405
32406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32407 /* end confdefs.h. */
32408 #include <math.h>
32409 int
32410 main ()
32411 {
32412 _modfl(0, 0);
32413 ;
32414 return 0;
32415 }
32416 _ACEOF
32417 if ac_fn_cxx_try_compile "$LINENO"; then :
32418 glibcxx_cv_func__modfl_use=yes
32419 else
32420 glibcxx_cv_func__modfl_use=no
32421 fi
32422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32423 ac_ext=c
32424 ac_cpp='$CPP $CPPFLAGS'
32425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32428
32429
32430 fi
32431
32432 fi
32433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32434 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32435
32436 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32437 for ac_func in _modfl
32438 do :
32439 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32440 if test "x$ac_cv_func__modfl" = x""yes; then :
32441 cat >>confdefs.h <<_ACEOF
32442 #define HAVE__MODFL 1
32443 _ACEOF
32444
32445 fi
32446 done
32447
32448 fi
32449 fi
32450
32451
32452
32453
32454
32455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32456 $as_echo_n "checking for powl declaration... " >&6; }
32457 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32458 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32459 $as_echo_n "(cached) " >&6
32460 else
32461
32462
32463 ac_ext=cpp
32464 ac_cpp='$CXXCPP $CPPFLAGS'
32465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32468
32469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32470 /* end confdefs.h. */
32471 #include <math.h>
32472 int
32473 main ()
32474 {
32475 powl(0, 0);
32476 ;
32477 return 0;
32478 }
32479 _ACEOF
32480 if ac_fn_cxx_try_compile "$LINENO"; then :
32481 glibcxx_cv_func_powl_use=yes
32482 else
32483 glibcxx_cv_func_powl_use=no
32484 fi
32485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32486 ac_ext=c
32487 ac_cpp='$CPP $CPPFLAGS'
32488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32491
32492
32493 fi
32494
32495 fi
32496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32497 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32498
32499 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32500 for ac_func in powl
32501 do :
32502 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32503 if test "x$ac_cv_func_powl" = x""yes; then :
32504 cat >>confdefs.h <<_ACEOF
32505 #define HAVE_POWL 1
32506 _ACEOF
32507
32508 fi
32509 done
32510
32511 else
32512
32513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32514 $as_echo_n "checking for _powl declaration... " >&6; }
32515 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32516 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32517 $as_echo_n "(cached) " >&6
32518 else
32519
32520
32521 ac_ext=cpp
32522 ac_cpp='$CXXCPP $CPPFLAGS'
32523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32526
32527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32528 /* end confdefs.h. */
32529 #include <math.h>
32530 int
32531 main ()
32532 {
32533 _powl(0, 0);
32534 ;
32535 return 0;
32536 }
32537 _ACEOF
32538 if ac_fn_cxx_try_compile "$LINENO"; then :
32539 glibcxx_cv_func__powl_use=yes
32540 else
32541 glibcxx_cv_func__powl_use=no
32542 fi
32543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32544 ac_ext=c
32545 ac_cpp='$CPP $CPPFLAGS'
32546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32549
32550
32551 fi
32552
32553 fi
32554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32555 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32556
32557 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32558 for ac_func in _powl
32559 do :
32560 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32561 if test "x$ac_cv_func__powl" = x""yes; then :
32562 cat >>confdefs.h <<_ACEOF
32563 #define HAVE__POWL 1
32564 _ACEOF
32565
32566 fi
32567 done
32568
32569 fi
32570 fi
32571
32572
32573
32574
32575
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32577 $as_echo_n "checking for sqrtl declaration... " >&6; }
32578 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32579 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32580 $as_echo_n "(cached) " >&6
32581 else
32582
32583
32584 ac_ext=cpp
32585 ac_cpp='$CXXCPP $CPPFLAGS'
32586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32589
32590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32591 /* end confdefs.h. */
32592 #include <math.h>
32593 #ifdef HAVE_IEEEFP_H
32594 #include <ieeefp.h>
32595 #endif
32596
32597 int
32598 main ()
32599 {
32600 sqrtl(0);
32601 ;
32602 return 0;
32603 }
32604 _ACEOF
32605 if ac_fn_cxx_try_compile "$LINENO"; then :
32606 glibcxx_cv_func_sqrtl_use=yes
32607 else
32608 glibcxx_cv_func_sqrtl_use=no
32609 fi
32610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32611 ac_ext=c
32612 ac_cpp='$CPP $CPPFLAGS'
32613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32616
32617
32618 fi
32619
32620 fi
32621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32622 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32623
32624 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32625 for ac_func in sqrtl
32626 do :
32627 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32628 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32629 cat >>confdefs.h <<_ACEOF
32630 #define HAVE_SQRTL 1
32631 _ACEOF
32632
32633 fi
32634 done
32635
32636 else
32637
32638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32639 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32640 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32641 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32642 $as_echo_n "(cached) " >&6
32643 else
32644
32645
32646 ac_ext=cpp
32647 ac_cpp='$CXXCPP $CPPFLAGS'
32648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32651
32652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32653 /* end confdefs.h. */
32654 #include <math.h>
32655 #ifdef HAVE_IEEEFP_H
32656 #include <ieeefp.h>
32657 #endif
32658
32659 int
32660 main ()
32661 {
32662 _sqrtl(0);
32663 ;
32664 return 0;
32665 }
32666 _ACEOF
32667 if ac_fn_cxx_try_compile "$LINENO"; then :
32668 glibcxx_cv_func__sqrtl_use=yes
32669 else
32670 glibcxx_cv_func__sqrtl_use=no
32671 fi
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32673 ac_ext=c
32674 ac_cpp='$CPP $CPPFLAGS'
32675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32678
32679
32680 fi
32681
32682 fi
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32684 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32685
32686 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32687 for ac_func in _sqrtl
32688 do :
32689 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32690 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32691 cat >>confdefs.h <<_ACEOF
32692 #define HAVE__SQRTL 1
32693 _ACEOF
32694
32695 fi
32696 done
32697
32698 fi
32699 fi
32700
32701
32702
32703
32704
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32706 $as_echo_n "checking for sincosl declaration... " >&6; }
32707 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32708 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32709 $as_echo_n "(cached) " >&6
32710 else
32711
32712
32713 ac_ext=cpp
32714 ac_cpp='$CXXCPP $CPPFLAGS'
32715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32718
32719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32720 /* end confdefs.h. */
32721 #include <math.h>
32722 int
32723 main ()
32724 {
32725 sincosl(0, 0, 0);
32726 ;
32727 return 0;
32728 }
32729 _ACEOF
32730 if ac_fn_cxx_try_compile "$LINENO"; then :
32731 glibcxx_cv_func_sincosl_use=yes
32732 else
32733 glibcxx_cv_func_sincosl_use=no
32734 fi
32735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32736 ac_ext=c
32737 ac_cpp='$CPP $CPPFLAGS'
32738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32741
32742
32743 fi
32744
32745 fi
32746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32747 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32748
32749 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32750 for ac_func in sincosl
32751 do :
32752 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32753 if test "x$ac_cv_func_sincosl" = x""yes; then :
32754 cat >>confdefs.h <<_ACEOF
32755 #define HAVE_SINCOSL 1
32756 _ACEOF
32757
32758 fi
32759 done
32760
32761 else
32762
32763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32764 $as_echo_n "checking for _sincosl declaration... " >&6; }
32765 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32766 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32767 $as_echo_n "(cached) " >&6
32768 else
32769
32770
32771 ac_ext=cpp
32772 ac_cpp='$CXXCPP $CPPFLAGS'
32773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32776
32777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32778 /* end confdefs.h. */
32779 #include <math.h>
32780 int
32781 main ()
32782 {
32783 _sincosl(0, 0, 0);
32784 ;
32785 return 0;
32786 }
32787 _ACEOF
32788 if ac_fn_cxx_try_compile "$LINENO"; then :
32789 glibcxx_cv_func__sincosl_use=yes
32790 else
32791 glibcxx_cv_func__sincosl_use=no
32792 fi
32793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32794 ac_ext=c
32795 ac_cpp='$CPP $CPPFLAGS'
32796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32799
32800
32801 fi
32802
32803 fi
32804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32805 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32806
32807 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32808 for ac_func in _sincosl
32809 do :
32810 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32811 if test "x$ac_cv_func__sincosl" = x""yes; then :
32812 cat >>confdefs.h <<_ACEOF
32813 #define HAVE__SINCOSL 1
32814 _ACEOF
32815
32816 fi
32817 done
32818
32819 fi
32820 fi
32821
32822
32823
32824
32825
32826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32827 $as_echo_n "checking for finitel declaration... " >&6; }
32828 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32829 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32830 $as_echo_n "(cached) " >&6
32831 else
32832
32833
32834 ac_ext=cpp
32835 ac_cpp='$CXXCPP $CPPFLAGS'
32836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32839
32840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32841 /* end confdefs.h. */
32842 #include <math.h>
32843 #ifdef HAVE_IEEEFP_H
32844 #include <ieeefp.h>
32845 #endif
32846
32847 int
32848 main ()
32849 {
32850 finitel(0);
32851 ;
32852 return 0;
32853 }
32854 _ACEOF
32855 if ac_fn_cxx_try_compile "$LINENO"; then :
32856 glibcxx_cv_func_finitel_use=yes
32857 else
32858 glibcxx_cv_func_finitel_use=no
32859 fi
32860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32861 ac_ext=c
32862 ac_cpp='$CPP $CPPFLAGS'
32863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32866
32867
32868 fi
32869
32870 fi
32871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32872 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32873
32874 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32875 for ac_func in finitel
32876 do :
32877 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32878 if test "x$ac_cv_func_finitel" = x""yes; then :
32879 cat >>confdefs.h <<_ACEOF
32880 #define HAVE_FINITEL 1
32881 _ACEOF
32882
32883 fi
32884 done
32885
32886 else
32887
32888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32889 $as_echo_n "checking for _finitel declaration... " >&6; }
32890 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32891 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32892 $as_echo_n "(cached) " >&6
32893 else
32894
32895
32896 ac_ext=cpp
32897 ac_cpp='$CXXCPP $CPPFLAGS'
32898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32901
32902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32903 /* end confdefs.h. */
32904 #include <math.h>
32905 #ifdef HAVE_IEEEFP_H
32906 #include <ieeefp.h>
32907 #endif
32908
32909 int
32910 main ()
32911 {
32912 _finitel(0);
32913 ;
32914 return 0;
32915 }
32916 _ACEOF
32917 if ac_fn_cxx_try_compile "$LINENO"; then :
32918 glibcxx_cv_func__finitel_use=yes
32919 else
32920 glibcxx_cv_func__finitel_use=no
32921 fi
32922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32923 ac_ext=c
32924 ac_cpp='$CPP $CPPFLAGS'
32925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32928
32929
32930 fi
32931
32932 fi
32933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
32934 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
32935
32936 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
32937 for ac_func in _finitel
32938 do :
32939 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
32940 if test "x$ac_cv_func__finitel" = x""yes; then :
32941 cat >>confdefs.h <<_ACEOF
32942 #define HAVE__FINITEL 1
32943 _ACEOF
32944
32945 fi
32946 done
32947
32948 fi
32949 fi
32950
32951
32952
32953
32954 LIBS="$ac_save_LIBS"
32955 CXXFLAGS="$ac_save_CXXFLAGS"
32956
32957
32958 ac_test_CXXFLAGS="${CXXFLAGS+set}"
32959 ac_save_CXXFLAGS="$CXXFLAGS"
32960 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
32961
32962
32963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
32964 $as_echo_n "checking for strtold declaration... " >&6; }
32965 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
32966 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
32967 $as_echo_n "(cached) " >&6
32968 else
32969
32970
32971 ac_ext=cpp
32972 ac_cpp='$CXXCPP $CPPFLAGS'
32973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32976
32977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32978 /* end confdefs.h. */
32979 #include <stdlib.h>
32980 int
32981 main ()
32982 {
32983 strtold(0, 0);
32984 ;
32985 return 0;
32986 }
32987 _ACEOF
32988 if ac_fn_cxx_try_compile "$LINENO"; then :
32989 glibcxx_cv_func_strtold_use=yes
32990 else
32991 glibcxx_cv_func_strtold_use=no
32992 fi
32993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32994 ac_ext=c
32995 ac_cpp='$CPP $CPPFLAGS'
32996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32999
33000
33001 fi
33002
33003 fi
33004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33005 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33006 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33007 for ac_func in strtold
33008 do :
33009 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33010 if test "x$ac_cv_func_strtold" = x""yes; then :
33011 cat >>confdefs.h <<_ACEOF
33012 #define HAVE_STRTOLD 1
33013 _ACEOF
33014
33015 fi
33016 done
33017
33018 fi
33019
33020
33021
33022
33023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33024 $as_echo_n "checking for strtof declaration... " >&6; }
33025 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33026 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33027 $as_echo_n "(cached) " >&6
33028 else
33029
33030
33031 ac_ext=cpp
33032 ac_cpp='$CXXCPP $CPPFLAGS'
33033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33036
33037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33038 /* end confdefs.h. */
33039 #include <stdlib.h>
33040 int
33041 main ()
33042 {
33043 strtof(0, 0);
33044 ;
33045 return 0;
33046 }
33047 _ACEOF
33048 if ac_fn_cxx_try_compile "$LINENO"; then :
33049 glibcxx_cv_func_strtof_use=yes
33050 else
33051 glibcxx_cv_func_strtof_use=no
33052 fi
33053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33054 ac_ext=c
33055 ac_cpp='$CPP $CPPFLAGS'
33056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33059
33060
33061 fi
33062
33063 fi
33064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33065 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33066 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33067 for ac_func in strtof
33068 do :
33069 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33070 if test "x$ac_cv_func_strtof" = x""yes; then :
33071 cat >>confdefs.h <<_ACEOF
33072 #define HAVE_STRTOF 1
33073 _ACEOF
33074
33075 fi
33076 done
33077
33078 fi
33079
33080
33081
33082
33083 CXXFLAGS="$ac_save_CXXFLAGS"
33084
33085
33086 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33087
33088 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33089
33090 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33091
33092 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33093
33094
33095 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33096
33097 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33098
33099 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33100
33101 ;;
33102
33103 *-aix*)
33104
33105 # If we're not using GNU ld, then there's no point in even trying these
33106 # tests. Check for that first. We should have already tested for gld
33107 # by now (in libtool), but require it now just to be safe...
33108 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33109 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33110
33111
33112
33113 # The name set by libtool depends on the version of libtool. Shame on us
33114 # for depending on an impl detail, but c'est la vie. Older versions used
33115 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33116 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33117 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33118 # set (hence we're using an older libtool), then set it.
33119 if test x${with_gnu_ld+set} != xset; then
33120 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33121 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33122 with_gnu_ld=no
33123 else
33124 with_gnu_ld=$ac_cv_prog_gnu_ld
33125 fi
33126 fi
33127
33128 # Start by getting the version number. I think the libtool test already
33129 # does some of this, but throws away the result.
33130 glibcxx_ld_is_gold=no
33131 if test x"$with_gnu_ld" = x"yes"; then
33132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33133 $as_echo_n "checking for ld version... " >&6; }
33134
33135 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33136 glibcxx_ld_is_gold=yes
33137 fi
33138 ldver=`$LD --version 2>/dev/null |
33139 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
33140
33141 glibcxx_gnu_ld_version=`echo $ldver | \
33142 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33144 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33145 fi
33146
33147 # Set --gc-sections.
33148 glibcxx_have_gc_sections=no
33149 if test "$glibcxx_ld_is_gold" = "yes"; then
33150 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33151 glibcxx_have_gc_sections=yes
33152 fi
33153 else
33154 glibcxx_gcsections_min_ld=21602
33155 if test x"$with_gnu_ld" = x"yes" &&
33156 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33157 glibcxx_have_gc_sections=yes
33158 fi
33159 fi
33160 if test "$glibcxx_have_gc_sections" = "yes"; then
33161 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33162 # NB: This flag only works reliably after 2.16.1. Configure tests
33163 # for this are difficult, so hard wire a value that should work.
33164
33165 ac_test_CFLAGS="${CFLAGS+set}"
33166 ac_save_CFLAGS="$CFLAGS"
33167 CFLAGS='-Wl,--gc-sections'
33168
33169 # Check for -Wl,--gc-sections
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33171 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33172 if test x$gcc_no_link = xyes; then
33173 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33174 fi
33175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33176 /* end confdefs.h. */
33177 int one(void) { return 1; }
33178 int two(void) { return 2; }
33179
33180 int
33181 main ()
33182 {
33183 two();
33184 ;
33185 return 0;
33186 }
33187 _ACEOF
33188 if ac_fn_c_try_link "$LINENO"; then :
33189 ac_gcsections=yes
33190 else
33191 ac_gcsections=no
33192 fi
33193 rm -f core conftest.err conftest.$ac_objext \
33194 conftest$ac_exeext conftest.$ac_ext
33195 if test "$ac_gcsections" = "yes"; then
33196 rm -f conftest.c
33197 touch conftest.c
33198 if $CC -c conftest.c; then
33199 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33200 grep "Warning: gc-sections option ignored" > /dev/null; then
33201 ac_gcsections=no
33202 fi
33203 fi
33204 rm -f conftest.c conftest.o conftest
33205 fi
33206 if test "$ac_gcsections" = "yes"; then
33207 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33208 fi
33209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33210 $as_echo "$ac_gcsections" >&6; }
33211
33212 if test "$ac_test_CFLAGS" = set; then
33213 CFLAGS="$ac_save_CFLAGS"
33214 else
33215 # this is the suspicious part
33216 CFLAGS=''
33217 fi
33218 fi
33219
33220 # Set -z,relro.
33221 # Note this is only for shared objects.
33222 ac_ld_relro=no
33223 if test x"$with_gnu_ld" = x"yes"; then
33224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33225 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33226 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33227 if test -n "$cxx_z_relo"; then
33228 OPT_LDFLAGS="-Wl,-z,relro"
33229 ac_ld_relro=yes
33230 fi
33231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33232 $as_echo "$ac_ld_relro" >&6; }
33233 fi
33234
33235 # Set linker optimization flags.
33236 if test x"$with_gnu_ld" = x"yes"; then
33237 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33238 fi
33239
33240
33241
33242
33243
33244 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33245 ac_save_CXXFLAGS="$CXXFLAGS"
33246 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33247
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33249 $as_echo_n "checking for sin in -lm... " >&6; }
33250 if test "${ac_cv_lib_m_sin+set}" = set; then :
33251 $as_echo_n "(cached) " >&6
33252 else
33253 ac_check_lib_save_LIBS=$LIBS
33254 LIBS="-lm $LIBS"
33255 if test x$gcc_no_link = xyes; then
33256 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33257 fi
33258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33259 /* end confdefs.h. */
33260
33261 /* Override any GCC internal prototype to avoid an error.
33262 Use char because int might match the return type of a GCC
33263 builtin and then its argument prototype would still apply. */
33264 #ifdef __cplusplus
33265 extern "C"
33266 #endif
33267 char sin ();
33268 int
33269 main ()
33270 {
33271 return sin ();
33272 ;
33273 return 0;
33274 }
33275 _ACEOF
33276 if ac_fn_c_try_link "$LINENO"; then :
33277 ac_cv_lib_m_sin=yes
33278 else
33279 ac_cv_lib_m_sin=no
33280 fi
33281 rm -f core conftest.err conftest.$ac_objext \
33282 conftest$ac_exeext conftest.$ac_ext
33283 LIBS=$ac_check_lib_save_LIBS
33284 fi
33285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33286 $as_echo "$ac_cv_lib_m_sin" >&6; }
33287 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33288 libm="-lm"
33289 fi
33290
33291 ac_save_LIBS="$LIBS"
33292 LIBS="$LIBS $libm"
33293
33294
33295
33296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33297 $as_echo_n "checking for isinf declaration... " >&6; }
33298 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33299 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33300 $as_echo_n "(cached) " >&6
33301 else
33302
33303
33304 ac_ext=cpp
33305 ac_cpp='$CXXCPP $CPPFLAGS'
33306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33309
33310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33311 /* end confdefs.h. */
33312 #include <math.h>
33313 #ifdef HAVE_IEEEFP_H
33314 #include <ieeefp.h>
33315 #endif
33316
33317 int
33318 main ()
33319 {
33320 isinf(0);
33321 ;
33322 return 0;
33323 }
33324 _ACEOF
33325 if ac_fn_cxx_try_compile "$LINENO"; then :
33326 glibcxx_cv_func_isinf_use=yes
33327 else
33328 glibcxx_cv_func_isinf_use=no
33329 fi
33330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33331 ac_ext=c
33332 ac_cpp='$CPP $CPPFLAGS'
33333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33336
33337
33338 fi
33339
33340 fi
33341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33342 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33343
33344 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33345 for ac_func in isinf
33346 do :
33347 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33348 if test "x$ac_cv_func_isinf" = x""yes; then :
33349 cat >>confdefs.h <<_ACEOF
33350 #define HAVE_ISINF 1
33351 _ACEOF
33352
33353 fi
33354 done
33355
33356 else
33357
33358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33359 $as_echo_n "checking for _isinf declaration... " >&6; }
33360 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33361 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33362 $as_echo_n "(cached) " >&6
33363 else
33364
33365
33366 ac_ext=cpp
33367 ac_cpp='$CXXCPP $CPPFLAGS'
33368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33371
33372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33373 /* end confdefs.h. */
33374 #include <math.h>
33375 #ifdef HAVE_IEEEFP_H
33376 #include <ieeefp.h>
33377 #endif
33378
33379 int
33380 main ()
33381 {
33382 _isinf(0);
33383 ;
33384 return 0;
33385 }
33386 _ACEOF
33387 if ac_fn_cxx_try_compile "$LINENO"; then :
33388 glibcxx_cv_func__isinf_use=yes
33389 else
33390 glibcxx_cv_func__isinf_use=no
33391 fi
33392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33393 ac_ext=c
33394 ac_cpp='$CPP $CPPFLAGS'
33395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33398
33399
33400 fi
33401
33402 fi
33403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33404 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33405
33406 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33407 for ac_func in _isinf
33408 do :
33409 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33410 if test "x$ac_cv_func__isinf" = x""yes; then :
33411 cat >>confdefs.h <<_ACEOF
33412 #define HAVE__ISINF 1
33413 _ACEOF
33414
33415 fi
33416 done
33417
33418 fi
33419 fi
33420
33421
33422
33423
33424
33425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33426 $as_echo_n "checking for isnan declaration... " >&6; }
33427 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33428 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33429 $as_echo_n "(cached) " >&6
33430 else
33431
33432
33433 ac_ext=cpp
33434 ac_cpp='$CXXCPP $CPPFLAGS'
33435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33438
33439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33440 /* end confdefs.h. */
33441 #include <math.h>
33442 #ifdef HAVE_IEEEFP_H
33443 #include <ieeefp.h>
33444 #endif
33445
33446 int
33447 main ()
33448 {
33449 isnan(0);
33450 ;
33451 return 0;
33452 }
33453 _ACEOF
33454 if ac_fn_cxx_try_compile "$LINENO"; then :
33455 glibcxx_cv_func_isnan_use=yes
33456 else
33457 glibcxx_cv_func_isnan_use=no
33458 fi
33459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33460 ac_ext=c
33461 ac_cpp='$CPP $CPPFLAGS'
33462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33465
33466
33467 fi
33468
33469 fi
33470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33471 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33472
33473 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33474 for ac_func in isnan
33475 do :
33476 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33477 if test "x$ac_cv_func_isnan" = x""yes; then :
33478 cat >>confdefs.h <<_ACEOF
33479 #define HAVE_ISNAN 1
33480 _ACEOF
33481
33482 fi
33483 done
33484
33485 else
33486
33487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33488 $as_echo_n "checking for _isnan declaration... " >&6; }
33489 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33490 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33491 $as_echo_n "(cached) " >&6
33492 else
33493
33494
33495 ac_ext=cpp
33496 ac_cpp='$CXXCPP $CPPFLAGS'
33497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33500
33501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33502 /* end confdefs.h. */
33503 #include <math.h>
33504 #ifdef HAVE_IEEEFP_H
33505 #include <ieeefp.h>
33506 #endif
33507
33508 int
33509 main ()
33510 {
33511 _isnan(0);
33512 ;
33513 return 0;
33514 }
33515 _ACEOF
33516 if ac_fn_cxx_try_compile "$LINENO"; then :
33517 glibcxx_cv_func__isnan_use=yes
33518 else
33519 glibcxx_cv_func__isnan_use=no
33520 fi
33521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33522 ac_ext=c
33523 ac_cpp='$CPP $CPPFLAGS'
33524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33527
33528
33529 fi
33530
33531 fi
33532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33533 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33534
33535 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33536 for ac_func in _isnan
33537 do :
33538 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33539 if test "x$ac_cv_func__isnan" = x""yes; then :
33540 cat >>confdefs.h <<_ACEOF
33541 #define HAVE__ISNAN 1
33542 _ACEOF
33543
33544 fi
33545 done
33546
33547 fi
33548 fi
33549
33550
33551
33552
33553
33554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33555 $as_echo_n "checking for finite declaration... " >&6; }
33556 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33557 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33558 $as_echo_n "(cached) " >&6
33559 else
33560
33561
33562 ac_ext=cpp
33563 ac_cpp='$CXXCPP $CPPFLAGS'
33564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33567
33568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33569 /* end confdefs.h. */
33570 #include <math.h>
33571 #ifdef HAVE_IEEEFP_H
33572 #include <ieeefp.h>
33573 #endif
33574
33575 int
33576 main ()
33577 {
33578 finite(0);
33579 ;
33580 return 0;
33581 }
33582 _ACEOF
33583 if ac_fn_cxx_try_compile "$LINENO"; then :
33584 glibcxx_cv_func_finite_use=yes
33585 else
33586 glibcxx_cv_func_finite_use=no
33587 fi
33588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33589 ac_ext=c
33590 ac_cpp='$CPP $CPPFLAGS'
33591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33594
33595
33596 fi
33597
33598 fi
33599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33600 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33601
33602 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33603 for ac_func in finite
33604 do :
33605 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33606 if test "x$ac_cv_func_finite" = x""yes; then :
33607 cat >>confdefs.h <<_ACEOF
33608 #define HAVE_FINITE 1
33609 _ACEOF
33610
33611 fi
33612 done
33613
33614 else
33615
33616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33617 $as_echo_n "checking for _finite declaration... " >&6; }
33618 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33619 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33620 $as_echo_n "(cached) " >&6
33621 else
33622
33623
33624 ac_ext=cpp
33625 ac_cpp='$CXXCPP $CPPFLAGS'
33626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33629
33630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33631 /* end confdefs.h. */
33632 #include <math.h>
33633 #ifdef HAVE_IEEEFP_H
33634 #include <ieeefp.h>
33635 #endif
33636
33637 int
33638 main ()
33639 {
33640 _finite(0);
33641 ;
33642 return 0;
33643 }
33644 _ACEOF
33645 if ac_fn_cxx_try_compile "$LINENO"; then :
33646 glibcxx_cv_func__finite_use=yes
33647 else
33648 glibcxx_cv_func__finite_use=no
33649 fi
33650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33651 ac_ext=c
33652 ac_cpp='$CPP $CPPFLAGS'
33653 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33654 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33655 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33656
33657
33658 fi
33659
33660 fi
33661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33662 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33663
33664 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33665 for ac_func in _finite
33666 do :
33667 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33668 if test "x$ac_cv_func__finite" = x""yes; then :
33669 cat >>confdefs.h <<_ACEOF
33670 #define HAVE__FINITE 1
33671 _ACEOF
33672
33673 fi
33674 done
33675
33676 fi
33677 fi
33678
33679
33680
33681
33682
33683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33684 $as_echo_n "checking for sincos declaration... " >&6; }
33685 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33686 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33687 $as_echo_n "(cached) " >&6
33688 else
33689
33690
33691 ac_ext=cpp
33692 ac_cpp='$CXXCPP $CPPFLAGS'
33693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33696
33697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33698 /* end confdefs.h. */
33699 #include <math.h>
33700 int
33701 main ()
33702 {
33703 sincos(0, 0, 0);
33704 ;
33705 return 0;
33706 }
33707 _ACEOF
33708 if ac_fn_cxx_try_compile "$LINENO"; then :
33709 glibcxx_cv_func_sincos_use=yes
33710 else
33711 glibcxx_cv_func_sincos_use=no
33712 fi
33713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33714 ac_ext=c
33715 ac_cpp='$CPP $CPPFLAGS'
33716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33719
33720
33721 fi
33722
33723 fi
33724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33725 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33726
33727 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33728 for ac_func in sincos
33729 do :
33730 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33731 if test "x$ac_cv_func_sincos" = x""yes; then :
33732 cat >>confdefs.h <<_ACEOF
33733 #define HAVE_SINCOS 1
33734 _ACEOF
33735
33736 fi
33737 done
33738
33739 else
33740
33741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33742 $as_echo_n "checking for _sincos declaration... " >&6; }
33743 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33744 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33745 $as_echo_n "(cached) " >&6
33746 else
33747
33748
33749 ac_ext=cpp
33750 ac_cpp='$CXXCPP $CPPFLAGS'
33751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33754
33755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33756 /* end confdefs.h. */
33757 #include <math.h>
33758 int
33759 main ()
33760 {
33761 _sincos(0, 0, 0);
33762 ;
33763 return 0;
33764 }
33765 _ACEOF
33766 if ac_fn_cxx_try_compile "$LINENO"; then :
33767 glibcxx_cv_func__sincos_use=yes
33768 else
33769 glibcxx_cv_func__sincos_use=no
33770 fi
33771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33772 ac_ext=c
33773 ac_cpp='$CPP $CPPFLAGS'
33774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33777
33778
33779 fi
33780
33781 fi
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33783 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33784
33785 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33786 for ac_func in _sincos
33787 do :
33788 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33789 if test "x$ac_cv_func__sincos" = x""yes; then :
33790 cat >>confdefs.h <<_ACEOF
33791 #define HAVE__SINCOS 1
33792 _ACEOF
33793
33794 fi
33795 done
33796
33797 fi
33798 fi
33799
33800
33801
33802
33803
33804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33805 $as_echo_n "checking for fpclass declaration... " >&6; }
33806 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33807 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33808 $as_echo_n "(cached) " >&6
33809 else
33810
33811
33812 ac_ext=cpp
33813 ac_cpp='$CXXCPP $CPPFLAGS'
33814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33817
33818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33819 /* end confdefs.h. */
33820 #include <math.h>
33821 #ifdef HAVE_IEEEFP_H
33822 #include <ieeefp.h>
33823 #endif
33824
33825 int
33826 main ()
33827 {
33828 fpclass(0);
33829 ;
33830 return 0;
33831 }
33832 _ACEOF
33833 if ac_fn_cxx_try_compile "$LINENO"; then :
33834 glibcxx_cv_func_fpclass_use=yes
33835 else
33836 glibcxx_cv_func_fpclass_use=no
33837 fi
33838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33839 ac_ext=c
33840 ac_cpp='$CPP $CPPFLAGS'
33841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33844
33845
33846 fi
33847
33848 fi
33849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33850 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33851
33852 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33853 for ac_func in fpclass
33854 do :
33855 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33856 if test "x$ac_cv_func_fpclass" = x""yes; then :
33857 cat >>confdefs.h <<_ACEOF
33858 #define HAVE_FPCLASS 1
33859 _ACEOF
33860
33861 fi
33862 done
33863
33864 else
33865
33866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33867 $as_echo_n "checking for _fpclass declaration... " >&6; }
33868 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33869 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33870 $as_echo_n "(cached) " >&6
33871 else
33872
33873
33874 ac_ext=cpp
33875 ac_cpp='$CXXCPP $CPPFLAGS'
33876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33879
33880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33881 /* end confdefs.h. */
33882 #include <math.h>
33883 #ifdef HAVE_IEEEFP_H
33884 #include <ieeefp.h>
33885 #endif
33886
33887 int
33888 main ()
33889 {
33890 _fpclass(0);
33891 ;
33892 return 0;
33893 }
33894 _ACEOF
33895 if ac_fn_cxx_try_compile "$LINENO"; then :
33896 glibcxx_cv_func__fpclass_use=yes
33897 else
33898 glibcxx_cv_func__fpclass_use=no
33899 fi
33900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33901 ac_ext=c
33902 ac_cpp='$CPP $CPPFLAGS'
33903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33906
33907
33908 fi
33909
33910 fi
33911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33912 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33913
33914 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33915 for ac_func in _fpclass
33916 do :
33917 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33918 if test "x$ac_cv_func__fpclass" = x""yes; then :
33919 cat >>confdefs.h <<_ACEOF
33920 #define HAVE__FPCLASS 1
33921 _ACEOF
33922
33923 fi
33924 done
33925
33926 fi
33927 fi
33928
33929
33930
33931
33932
33933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
33934 $as_echo_n "checking for qfpclass declaration... " >&6; }
33935 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
33936 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
33937 $as_echo_n "(cached) " >&6
33938 else
33939
33940
33941 ac_ext=cpp
33942 ac_cpp='$CXXCPP $CPPFLAGS'
33943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33946
33947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33948 /* end confdefs.h. */
33949 #include <math.h>
33950 #ifdef HAVE_IEEEFP_H
33951 #include <ieeefp.h>
33952 #endif
33953
33954 int
33955 main ()
33956 {
33957 qfpclass(0);
33958 ;
33959 return 0;
33960 }
33961 _ACEOF
33962 if ac_fn_cxx_try_compile "$LINENO"; then :
33963 glibcxx_cv_func_qfpclass_use=yes
33964 else
33965 glibcxx_cv_func_qfpclass_use=no
33966 fi
33967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33968 ac_ext=c
33969 ac_cpp='$CPP $CPPFLAGS'
33970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33973
33974
33975 fi
33976
33977 fi
33978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
33979 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
33980
33981 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
33982 for ac_func in qfpclass
33983 do :
33984 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
33985 if test "x$ac_cv_func_qfpclass" = x""yes; then :
33986 cat >>confdefs.h <<_ACEOF
33987 #define HAVE_QFPCLASS 1
33988 _ACEOF
33989
33990 fi
33991 done
33992
33993 else
33994
33995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
33996 $as_echo_n "checking for _qfpclass declaration... " >&6; }
33997 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
33998 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
33999 $as_echo_n "(cached) " >&6
34000 else
34001
34002
34003 ac_ext=cpp
34004 ac_cpp='$CXXCPP $CPPFLAGS'
34005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34008
34009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34010 /* end confdefs.h. */
34011 #include <math.h>
34012 #ifdef HAVE_IEEEFP_H
34013 #include <ieeefp.h>
34014 #endif
34015
34016 int
34017 main ()
34018 {
34019 _qfpclass(0);
34020 ;
34021 return 0;
34022 }
34023 _ACEOF
34024 if ac_fn_cxx_try_compile "$LINENO"; then :
34025 glibcxx_cv_func__qfpclass_use=yes
34026 else
34027 glibcxx_cv_func__qfpclass_use=no
34028 fi
34029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34030 ac_ext=c
34031 ac_cpp='$CPP $CPPFLAGS'
34032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34035
34036
34037 fi
34038
34039 fi
34040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34041 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34042
34043 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34044 for ac_func in _qfpclass
34045 do :
34046 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34047 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34048 cat >>confdefs.h <<_ACEOF
34049 #define HAVE__QFPCLASS 1
34050 _ACEOF
34051
34052 fi
34053 done
34054
34055 fi
34056 fi
34057
34058
34059
34060
34061
34062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34063 $as_echo_n "checking for hypot declaration... " >&6; }
34064 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34065 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34066 $as_echo_n "(cached) " >&6
34067 else
34068
34069
34070 ac_ext=cpp
34071 ac_cpp='$CXXCPP $CPPFLAGS'
34072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34075
34076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34077 /* end confdefs.h. */
34078 #include <math.h>
34079 int
34080 main ()
34081 {
34082 hypot(0, 0);
34083 ;
34084 return 0;
34085 }
34086 _ACEOF
34087 if ac_fn_cxx_try_compile "$LINENO"; then :
34088 glibcxx_cv_func_hypot_use=yes
34089 else
34090 glibcxx_cv_func_hypot_use=no
34091 fi
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093 ac_ext=c
34094 ac_cpp='$CPP $CPPFLAGS'
34095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34098
34099
34100 fi
34101
34102 fi
34103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34104 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34105
34106 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34107 for ac_func in hypot
34108 do :
34109 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34110 if test "x$ac_cv_func_hypot" = x""yes; then :
34111 cat >>confdefs.h <<_ACEOF
34112 #define HAVE_HYPOT 1
34113 _ACEOF
34114
34115 fi
34116 done
34117
34118 else
34119
34120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34121 $as_echo_n "checking for _hypot declaration... " >&6; }
34122 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34123 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34124 $as_echo_n "(cached) " >&6
34125 else
34126
34127
34128 ac_ext=cpp
34129 ac_cpp='$CXXCPP $CPPFLAGS'
34130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34133
34134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34135 /* end confdefs.h. */
34136 #include <math.h>
34137 int
34138 main ()
34139 {
34140 _hypot(0, 0);
34141 ;
34142 return 0;
34143 }
34144 _ACEOF
34145 if ac_fn_cxx_try_compile "$LINENO"; then :
34146 glibcxx_cv_func__hypot_use=yes
34147 else
34148 glibcxx_cv_func__hypot_use=no
34149 fi
34150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34151 ac_ext=c
34152 ac_cpp='$CPP $CPPFLAGS'
34153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34156
34157
34158 fi
34159
34160 fi
34161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34162 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34163
34164 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34165 for ac_func in _hypot
34166 do :
34167 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34168 if test "x$ac_cv_func__hypot" = x""yes; then :
34169 cat >>confdefs.h <<_ACEOF
34170 #define HAVE__HYPOT 1
34171 _ACEOF
34172
34173 fi
34174 done
34175
34176 fi
34177 fi
34178
34179
34180
34181
34182
34183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34184 $as_echo_n "checking for float trig functions... " >&6; }
34185 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34186 $as_echo_n "(cached) " >&6
34187 else
34188
34189
34190 ac_ext=cpp
34191 ac_cpp='$CXXCPP $CPPFLAGS'
34192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34195
34196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34197 /* end confdefs.h. */
34198 #include <math.h>
34199 int
34200 main ()
34201 {
34202 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34203 ;
34204 return 0;
34205 }
34206 _ACEOF
34207 if ac_fn_cxx_try_compile "$LINENO"; then :
34208 glibcxx_cv_func_float_trig_use=yes
34209 else
34210 glibcxx_cv_func_float_trig_use=no
34211 fi
34212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34213 ac_ext=c
34214 ac_cpp='$CPP $CPPFLAGS'
34215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34218
34219 fi
34220
34221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34222 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34223 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34224 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34225 do :
34226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34228 eval as_val=\$$as_ac_var
34229 if test "x$as_val" = x""yes; then :
34230 cat >>confdefs.h <<_ACEOF
34231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34232 _ACEOF
34233
34234 fi
34235 done
34236
34237 else
34238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34239 $as_echo_n "checking for _float trig functions... " >&6; }
34240 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34241 $as_echo_n "(cached) " >&6
34242 else
34243
34244
34245 ac_ext=cpp
34246 ac_cpp='$CXXCPP $CPPFLAGS'
34247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34250
34251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34252 /* end confdefs.h. */
34253 #include <math.h>
34254 int
34255 main ()
34256 {
34257 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34258 ;
34259 return 0;
34260 }
34261 _ACEOF
34262 if ac_fn_cxx_try_compile "$LINENO"; then :
34263 glibcxx_cv_func__float_trig_use=yes
34264 else
34265 glibcxx_cv_func__float_trig_use=no
34266 fi
34267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34268 ac_ext=c
34269 ac_cpp='$CPP $CPPFLAGS'
34270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34273
34274 fi
34275
34276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34277 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34278 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34279 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34280 do :
34281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34283 eval as_val=\$$as_ac_var
34284 if test "x$as_val" = x""yes; then :
34285 cat >>confdefs.h <<_ACEOF
34286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34287 _ACEOF
34288
34289 fi
34290 done
34291
34292 fi
34293 fi
34294
34295
34296
34297
34298
34299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34300 $as_echo_n "checking for float round functions... " >&6; }
34301 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34302 $as_echo_n "(cached) " >&6
34303 else
34304
34305
34306 ac_ext=cpp
34307 ac_cpp='$CXXCPP $CPPFLAGS'
34308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34311
34312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34313 /* end confdefs.h. */
34314 #include <math.h>
34315 int
34316 main ()
34317 {
34318 ceilf (0); floorf (0);
34319 ;
34320 return 0;
34321 }
34322 _ACEOF
34323 if ac_fn_cxx_try_compile "$LINENO"; then :
34324 glibcxx_cv_func_float_round_use=yes
34325 else
34326 glibcxx_cv_func_float_round_use=no
34327 fi
34328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34329 ac_ext=c
34330 ac_cpp='$CPP $CPPFLAGS'
34331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34334
34335 fi
34336
34337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34338 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34339 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34340 for ac_func in ceilf floorf
34341 do :
34342 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34343 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34344 eval as_val=\$$as_ac_var
34345 if test "x$as_val" = x""yes; then :
34346 cat >>confdefs.h <<_ACEOF
34347 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34348 _ACEOF
34349
34350 fi
34351 done
34352
34353 else
34354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34355 $as_echo_n "checking for _float round functions... " >&6; }
34356 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34357 $as_echo_n "(cached) " >&6
34358 else
34359
34360
34361 ac_ext=cpp
34362 ac_cpp='$CXXCPP $CPPFLAGS'
34363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34366
34367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34368 /* end confdefs.h. */
34369 #include <math.h>
34370 int
34371 main ()
34372 {
34373 _ceilf (0); _floorf (0);
34374 ;
34375 return 0;
34376 }
34377 _ACEOF
34378 if ac_fn_cxx_try_compile "$LINENO"; then :
34379 glibcxx_cv_func__float_round_use=yes
34380 else
34381 glibcxx_cv_func__float_round_use=no
34382 fi
34383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34384 ac_ext=c
34385 ac_cpp='$CPP $CPPFLAGS'
34386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34389
34390 fi
34391
34392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34393 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34394 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34395 for ac_func in _ceilf _floorf
34396 do :
34397 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34398 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34399 eval as_val=\$$as_ac_var
34400 if test "x$as_val" = x""yes; then :
34401 cat >>confdefs.h <<_ACEOF
34402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34403 _ACEOF
34404
34405 fi
34406 done
34407
34408 fi
34409 fi
34410
34411
34412
34413
34414
34415
34416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34417 $as_echo_n "checking for expf declaration... " >&6; }
34418 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34419 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34420 $as_echo_n "(cached) " >&6
34421 else
34422
34423
34424 ac_ext=cpp
34425 ac_cpp='$CXXCPP $CPPFLAGS'
34426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34429
34430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34431 /* end confdefs.h. */
34432 #include <math.h>
34433 #ifdef HAVE_IEEEFP_H
34434 #include <ieeefp.h>
34435 #endif
34436
34437 int
34438 main ()
34439 {
34440 expf(0);
34441 ;
34442 return 0;
34443 }
34444 _ACEOF
34445 if ac_fn_cxx_try_compile "$LINENO"; then :
34446 glibcxx_cv_func_expf_use=yes
34447 else
34448 glibcxx_cv_func_expf_use=no
34449 fi
34450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34451 ac_ext=c
34452 ac_cpp='$CPP $CPPFLAGS'
34453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34456
34457
34458 fi
34459
34460 fi
34461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34462 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34463
34464 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34465 for ac_func in expf
34466 do :
34467 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34468 if test "x$ac_cv_func_expf" = x""yes; then :
34469 cat >>confdefs.h <<_ACEOF
34470 #define HAVE_EXPF 1
34471 _ACEOF
34472
34473 fi
34474 done
34475
34476 else
34477
34478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34479 $as_echo_n "checking for _expf declaration... " >&6; }
34480 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34481 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34482 $as_echo_n "(cached) " >&6
34483 else
34484
34485
34486 ac_ext=cpp
34487 ac_cpp='$CXXCPP $CPPFLAGS'
34488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34491
34492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34493 /* end confdefs.h. */
34494 #include <math.h>
34495 #ifdef HAVE_IEEEFP_H
34496 #include <ieeefp.h>
34497 #endif
34498
34499 int
34500 main ()
34501 {
34502 _expf(0);
34503 ;
34504 return 0;
34505 }
34506 _ACEOF
34507 if ac_fn_cxx_try_compile "$LINENO"; then :
34508 glibcxx_cv_func__expf_use=yes
34509 else
34510 glibcxx_cv_func__expf_use=no
34511 fi
34512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34513 ac_ext=c
34514 ac_cpp='$CPP $CPPFLAGS'
34515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34518
34519
34520 fi
34521
34522 fi
34523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34524 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34525
34526 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34527 for ac_func in _expf
34528 do :
34529 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34530 if test "x$ac_cv_func__expf" = x""yes; then :
34531 cat >>confdefs.h <<_ACEOF
34532 #define HAVE__EXPF 1
34533 _ACEOF
34534
34535 fi
34536 done
34537
34538 fi
34539 fi
34540
34541
34542
34543
34544
34545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34546 $as_echo_n "checking for isnanf declaration... " >&6; }
34547 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34548 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34549 $as_echo_n "(cached) " >&6
34550 else
34551
34552
34553 ac_ext=cpp
34554 ac_cpp='$CXXCPP $CPPFLAGS'
34555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34558
34559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34560 /* end confdefs.h. */
34561 #include <math.h>
34562 #ifdef HAVE_IEEEFP_H
34563 #include <ieeefp.h>
34564 #endif
34565
34566 int
34567 main ()
34568 {
34569 isnanf(0);
34570 ;
34571 return 0;
34572 }
34573 _ACEOF
34574 if ac_fn_cxx_try_compile "$LINENO"; then :
34575 glibcxx_cv_func_isnanf_use=yes
34576 else
34577 glibcxx_cv_func_isnanf_use=no
34578 fi
34579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34580 ac_ext=c
34581 ac_cpp='$CPP $CPPFLAGS'
34582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34585
34586
34587 fi
34588
34589 fi
34590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34591 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34592
34593 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34594 for ac_func in isnanf
34595 do :
34596 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34597 if test "x$ac_cv_func_isnanf" = x""yes; then :
34598 cat >>confdefs.h <<_ACEOF
34599 #define HAVE_ISNANF 1
34600 _ACEOF
34601
34602 fi
34603 done
34604
34605 else
34606
34607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34608 $as_echo_n "checking for _isnanf declaration... " >&6; }
34609 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34610 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34611 $as_echo_n "(cached) " >&6
34612 else
34613
34614
34615 ac_ext=cpp
34616 ac_cpp='$CXXCPP $CPPFLAGS'
34617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34620
34621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34622 /* end confdefs.h. */
34623 #include <math.h>
34624 #ifdef HAVE_IEEEFP_H
34625 #include <ieeefp.h>
34626 #endif
34627
34628 int
34629 main ()
34630 {
34631 _isnanf(0);
34632 ;
34633 return 0;
34634 }
34635 _ACEOF
34636 if ac_fn_cxx_try_compile "$LINENO"; then :
34637 glibcxx_cv_func__isnanf_use=yes
34638 else
34639 glibcxx_cv_func__isnanf_use=no
34640 fi
34641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34642 ac_ext=c
34643 ac_cpp='$CPP $CPPFLAGS'
34644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34647
34648
34649 fi
34650
34651 fi
34652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34653 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34654
34655 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34656 for ac_func in _isnanf
34657 do :
34658 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34659 if test "x$ac_cv_func__isnanf" = x""yes; then :
34660 cat >>confdefs.h <<_ACEOF
34661 #define HAVE__ISNANF 1
34662 _ACEOF
34663
34664 fi
34665 done
34666
34667 fi
34668 fi
34669
34670
34671
34672
34673
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34675 $as_echo_n "checking for isinff declaration... " >&6; }
34676 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34677 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34678 $as_echo_n "(cached) " >&6
34679 else
34680
34681
34682 ac_ext=cpp
34683 ac_cpp='$CXXCPP $CPPFLAGS'
34684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34687
34688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34689 /* end confdefs.h. */
34690 #include <math.h>
34691 #ifdef HAVE_IEEEFP_H
34692 #include <ieeefp.h>
34693 #endif
34694
34695 int
34696 main ()
34697 {
34698 isinff(0);
34699 ;
34700 return 0;
34701 }
34702 _ACEOF
34703 if ac_fn_cxx_try_compile "$LINENO"; then :
34704 glibcxx_cv_func_isinff_use=yes
34705 else
34706 glibcxx_cv_func_isinff_use=no
34707 fi
34708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34709 ac_ext=c
34710 ac_cpp='$CPP $CPPFLAGS'
34711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34714
34715
34716 fi
34717
34718 fi
34719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34720 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34721
34722 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34723 for ac_func in isinff
34724 do :
34725 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34726 if test "x$ac_cv_func_isinff" = x""yes; then :
34727 cat >>confdefs.h <<_ACEOF
34728 #define HAVE_ISINFF 1
34729 _ACEOF
34730
34731 fi
34732 done
34733
34734 else
34735
34736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34737 $as_echo_n "checking for _isinff declaration... " >&6; }
34738 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34739 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34740 $as_echo_n "(cached) " >&6
34741 else
34742
34743
34744 ac_ext=cpp
34745 ac_cpp='$CXXCPP $CPPFLAGS'
34746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34749
34750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34751 /* end confdefs.h. */
34752 #include <math.h>
34753 #ifdef HAVE_IEEEFP_H
34754 #include <ieeefp.h>
34755 #endif
34756
34757 int
34758 main ()
34759 {
34760 _isinff(0);
34761 ;
34762 return 0;
34763 }
34764 _ACEOF
34765 if ac_fn_cxx_try_compile "$LINENO"; then :
34766 glibcxx_cv_func__isinff_use=yes
34767 else
34768 glibcxx_cv_func__isinff_use=no
34769 fi
34770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34771 ac_ext=c
34772 ac_cpp='$CPP $CPPFLAGS'
34773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34776
34777
34778 fi
34779
34780 fi
34781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34782 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34783
34784 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34785 for ac_func in _isinff
34786 do :
34787 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34788 if test "x$ac_cv_func__isinff" = x""yes; then :
34789 cat >>confdefs.h <<_ACEOF
34790 #define HAVE__ISINFF 1
34791 _ACEOF
34792
34793 fi
34794 done
34795
34796 fi
34797 fi
34798
34799
34800
34801
34802
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34804 $as_echo_n "checking for atan2f declaration... " >&6; }
34805 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34806 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34807 $as_echo_n "(cached) " >&6
34808 else
34809
34810
34811 ac_ext=cpp
34812 ac_cpp='$CXXCPP $CPPFLAGS'
34813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34816
34817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34818 /* end confdefs.h. */
34819 #include <math.h>
34820 int
34821 main ()
34822 {
34823 atan2f(0, 0);
34824 ;
34825 return 0;
34826 }
34827 _ACEOF
34828 if ac_fn_cxx_try_compile "$LINENO"; then :
34829 glibcxx_cv_func_atan2f_use=yes
34830 else
34831 glibcxx_cv_func_atan2f_use=no
34832 fi
34833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34834 ac_ext=c
34835 ac_cpp='$CPP $CPPFLAGS'
34836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34839
34840
34841 fi
34842
34843 fi
34844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34845 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34846
34847 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34848 for ac_func in atan2f
34849 do :
34850 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34851 if test "x$ac_cv_func_atan2f" = x""yes; then :
34852 cat >>confdefs.h <<_ACEOF
34853 #define HAVE_ATAN2F 1
34854 _ACEOF
34855
34856 fi
34857 done
34858
34859 else
34860
34861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34862 $as_echo_n "checking for _atan2f declaration... " >&6; }
34863 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34864 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34865 $as_echo_n "(cached) " >&6
34866 else
34867
34868
34869 ac_ext=cpp
34870 ac_cpp='$CXXCPP $CPPFLAGS'
34871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34874
34875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34876 /* end confdefs.h. */
34877 #include <math.h>
34878 int
34879 main ()
34880 {
34881 _atan2f(0, 0);
34882 ;
34883 return 0;
34884 }
34885 _ACEOF
34886 if ac_fn_cxx_try_compile "$LINENO"; then :
34887 glibcxx_cv_func__atan2f_use=yes
34888 else
34889 glibcxx_cv_func__atan2f_use=no
34890 fi
34891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34892 ac_ext=c
34893 ac_cpp='$CPP $CPPFLAGS'
34894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34897
34898
34899 fi
34900
34901 fi
34902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34903 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34904
34905 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34906 for ac_func in _atan2f
34907 do :
34908 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34909 if test "x$ac_cv_func__atan2f" = x""yes; then :
34910 cat >>confdefs.h <<_ACEOF
34911 #define HAVE__ATAN2F 1
34912 _ACEOF
34913
34914 fi
34915 done
34916
34917 fi
34918 fi
34919
34920
34921
34922
34923
34924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34925 $as_echo_n "checking for fabsf declaration... " >&6; }
34926 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34927 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34928 $as_echo_n "(cached) " >&6
34929 else
34930
34931
34932 ac_ext=cpp
34933 ac_cpp='$CXXCPP $CPPFLAGS'
34934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34937
34938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34939 /* end confdefs.h. */
34940 #include <math.h>
34941 #ifdef HAVE_IEEEFP_H
34942 #include <ieeefp.h>
34943 #endif
34944
34945 int
34946 main ()
34947 {
34948 fabsf(0);
34949 ;
34950 return 0;
34951 }
34952 _ACEOF
34953 if ac_fn_cxx_try_compile "$LINENO"; then :
34954 glibcxx_cv_func_fabsf_use=yes
34955 else
34956 glibcxx_cv_func_fabsf_use=no
34957 fi
34958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34959 ac_ext=c
34960 ac_cpp='$CPP $CPPFLAGS'
34961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34964
34965
34966 fi
34967
34968 fi
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
34970 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
34971
34972 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
34973 for ac_func in fabsf
34974 do :
34975 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
34976 if test "x$ac_cv_func_fabsf" = x""yes; then :
34977 cat >>confdefs.h <<_ACEOF
34978 #define HAVE_FABSF 1
34979 _ACEOF
34980
34981 fi
34982 done
34983
34984 else
34985
34986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
34987 $as_echo_n "checking for _fabsf declaration... " >&6; }
34988 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
34989 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
34990 $as_echo_n "(cached) " >&6
34991 else
34992
34993
34994 ac_ext=cpp
34995 ac_cpp='$CXXCPP $CPPFLAGS'
34996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34999
35000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35001 /* end confdefs.h. */
35002 #include <math.h>
35003 #ifdef HAVE_IEEEFP_H
35004 #include <ieeefp.h>
35005 #endif
35006
35007 int
35008 main ()
35009 {
35010 _fabsf(0);
35011 ;
35012 return 0;
35013 }
35014 _ACEOF
35015 if ac_fn_cxx_try_compile "$LINENO"; then :
35016 glibcxx_cv_func__fabsf_use=yes
35017 else
35018 glibcxx_cv_func__fabsf_use=no
35019 fi
35020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35021 ac_ext=c
35022 ac_cpp='$CPP $CPPFLAGS'
35023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35026
35027
35028 fi
35029
35030 fi
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35032 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35033
35034 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35035 for ac_func in _fabsf
35036 do :
35037 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35038 if test "x$ac_cv_func__fabsf" = x""yes; then :
35039 cat >>confdefs.h <<_ACEOF
35040 #define HAVE__FABSF 1
35041 _ACEOF
35042
35043 fi
35044 done
35045
35046 fi
35047 fi
35048
35049
35050
35051
35052
35053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35054 $as_echo_n "checking for fmodf declaration... " >&6; }
35055 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35056 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35057 $as_echo_n "(cached) " >&6
35058 else
35059
35060
35061 ac_ext=cpp
35062 ac_cpp='$CXXCPP $CPPFLAGS'
35063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35066
35067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35068 /* end confdefs.h. */
35069 #include <math.h>
35070 int
35071 main ()
35072 {
35073 fmodf(0, 0);
35074 ;
35075 return 0;
35076 }
35077 _ACEOF
35078 if ac_fn_cxx_try_compile "$LINENO"; then :
35079 glibcxx_cv_func_fmodf_use=yes
35080 else
35081 glibcxx_cv_func_fmodf_use=no
35082 fi
35083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35084 ac_ext=c
35085 ac_cpp='$CPP $CPPFLAGS'
35086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35089
35090
35091 fi
35092
35093 fi
35094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35095 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35096
35097 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35098 for ac_func in fmodf
35099 do :
35100 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35101 if test "x$ac_cv_func_fmodf" = x""yes; then :
35102 cat >>confdefs.h <<_ACEOF
35103 #define HAVE_FMODF 1
35104 _ACEOF
35105
35106 fi
35107 done
35108
35109 else
35110
35111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35112 $as_echo_n "checking for _fmodf declaration... " >&6; }
35113 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35114 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35115 $as_echo_n "(cached) " >&6
35116 else
35117
35118
35119 ac_ext=cpp
35120 ac_cpp='$CXXCPP $CPPFLAGS'
35121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35124
35125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35126 /* end confdefs.h. */
35127 #include <math.h>
35128 int
35129 main ()
35130 {
35131 _fmodf(0, 0);
35132 ;
35133 return 0;
35134 }
35135 _ACEOF
35136 if ac_fn_cxx_try_compile "$LINENO"; then :
35137 glibcxx_cv_func__fmodf_use=yes
35138 else
35139 glibcxx_cv_func__fmodf_use=no
35140 fi
35141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35142 ac_ext=c
35143 ac_cpp='$CPP $CPPFLAGS'
35144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35147
35148
35149 fi
35150
35151 fi
35152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35153 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35154
35155 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35156 for ac_func in _fmodf
35157 do :
35158 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35159 if test "x$ac_cv_func__fmodf" = x""yes; then :
35160 cat >>confdefs.h <<_ACEOF
35161 #define HAVE__FMODF 1
35162 _ACEOF
35163
35164 fi
35165 done
35166
35167 fi
35168 fi
35169
35170
35171
35172
35173
35174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35175 $as_echo_n "checking for frexpf declaration... " >&6; }
35176 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35177 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35178 $as_echo_n "(cached) " >&6
35179 else
35180
35181
35182 ac_ext=cpp
35183 ac_cpp='$CXXCPP $CPPFLAGS'
35184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35187
35188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35189 /* end confdefs.h. */
35190 #include <math.h>
35191 int
35192 main ()
35193 {
35194 frexpf(0, 0);
35195 ;
35196 return 0;
35197 }
35198 _ACEOF
35199 if ac_fn_cxx_try_compile "$LINENO"; then :
35200 glibcxx_cv_func_frexpf_use=yes
35201 else
35202 glibcxx_cv_func_frexpf_use=no
35203 fi
35204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35205 ac_ext=c
35206 ac_cpp='$CPP $CPPFLAGS'
35207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35210
35211
35212 fi
35213
35214 fi
35215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35216 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35217
35218 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35219 for ac_func in frexpf
35220 do :
35221 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35222 if test "x$ac_cv_func_frexpf" = x""yes; then :
35223 cat >>confdefs.h <<_ACEOF
35224 #define HAVE_FREXPF 1
35225 _ACEOF
35226
35227 fi
35228 done
35229
35230 else
35231
35232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35233 $as_echo_n "checking for _frexpf declaration... " >&6; }
35234 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35235 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35236 $as_echo_n "(cached) " >&6
35237 else
35238
35239
35240 ac_ext=cpp
35241 ac_cpp='$CXXCPP $CPPFLAGS'
35242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35245
35246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35247 /* end confdefs.h. */
35248 #include <math.h>
35249 int
35250 main ()
35251 {
35252 _frexpf(0, 0);
35253 ;
35254 return 0;
35255 }
35256 _ACEOF
35257 if ac_fn_cxx_try_compile "$LINENO"; then :
35258 glibcxx_cv_func__frexpf_use=yes
35259 else
35260 glibcxx_cv_func__frexpf_use=no
35261 fi
35262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35263 ac_ext=c
35264 ac_cpp='$CPP $CPPFLAGS'
35265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35268
35269
35270 fi
35271
35272 fi
35273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35274 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35275
35276 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35277 for ac_func in _frexpf
35278 do :
35279 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35280 if test "x$ac_cv_func__frexpf" = x""yes; then :
35281 cat >>confdefs.h <<_ACEOF
35282 #define HAVE__FREXPF 1
35283 _ACEOF
35284
35285 fi
35286 done
35287
35288 fi
35289 fi
35290
35291
35292
35293
35294
35295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35296 $as_echo_n "checking for hypotf declaration... " >&6; }
35297 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35298 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35299 $as_echo_n "(cached) " >&6
35300 else
35301
35302
35303 ac_ext=cpp
35304 ac_cpp='$CXXCPP $CPPFLAGS'
35305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35308
35309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35310 /* end confdefs.h. */
35311 #include <math.h>
35312 int
35313 main ()
35314 {
35315 hypotf(0, 0);
35316 ;
35317 return 0;
35318 }
35319 _ACEOF
35320 if ac_fn_cxx_try_compile "$LINENO"; then :
35321 glibcxx_cv_func_hypotf_use=yes
35322 else
35323 glibcxx_cv_func_hypotf_use=no
35324 fi
35325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35326 ac_ext=c
35327 ac_cpp='$CPP $CPPFLAGS'
35328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35331
35332
35333 fi
35334
35335 fi
35336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35337 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35338
35339 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35340 for ac_func in hypotf
35341 do :
35342 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35343 if test "x$ac_cv_func_hypotf" = x""yes; then :
35344 cat >>confdefs.h <<_ACEOF
35345 #define HAVE_HYPOTF 1
35346 _ACEOF
35347
35348 fi
35349 done
35350
35351 else
35352
35353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35354 $as_echo_n "checking for _hypotf declaration... " >&6; }
35355 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35356 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35357 $as_echo_n "(cached) " >&6
35358 else
35359
35360
35361 ac_ext=cpp
35362 ac_cpp='$CXXCPP $CPPFLAGS'
35363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35366
35367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35368 /* end confdefs.h. */
35369 #include <math.h>
35370 int
35371 main ()
35372 {
35373 _hypotf(0, 0);
35374 ;
35375 return 0;
35376 }
35377 _ACEOF
35378 if ac_fn_cxx_try_compile "$LINENO"; then :
35379 glibcxx_cv_func__hypotf_use=yes
35380 else
35381 glibcxx_cv_func__hypotf_use=no
35382 fi
35383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35384 ac_ext=c
35385 ac_cpp='$CPP $CPPFLAGS'
35386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35389
35390
35391 fi
35392
35393 fi
35394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35395 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35396
35397 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35398 for ac_func in _hypotf
35399 do :
35400 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35401 if test "x$ac_cv_func__hypotf" = x""yes; then :
35402 cat >>confdefs.h <<_ACEOF
35403 #define HAVE__HYPOTF 1
35404 _ACEOF
35405
35406 fi
35407 done
35408
35409 fi
35410 fi
35411
35412
35413
35414
35415
35416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35417 $as_echo_n "checking for ldexpf declaration... " >&6; }
35418 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35419 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35420 $as_echo_n "(cached) " >&6
35421 else
35422
35423
35424 ac_ext=cpp
35425 ac_cpp='$CXXCPP $CPPFLAGS'
35426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35429
35430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35431 /* end confdefs.h. */
35432 #include <math.h>
35433 int
35434 main ()
35435 {
35436 ldexpf(0, 0);
35437 ;
35438 return 0;
35439 }
35440 _ACEOF
35441 if ac_fn_cxx_try_compile "$LINENO"; then :
35442 glibcxx_cv_func_ldexpf_use=yes
35443 else
35444 glibcxx_cv_func_ldexpf_use=no
35445 fi
35446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35447 ac_ext=c
35448 ac_cpp='$CPP $CPPFLAGS'
35449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35452
35453
35454 fi
35455
35456 fi
35457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35458 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35459
35460 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35461 for ac_func in ldexpf
35462 do :
35463 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35464 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35465 cat >>confdefs.h <<_ACEOF
35466 #define HAVE_LDEXPF 1
35467 _ACEOF
35468
35469 fi
35470 done
35471
35472 else
35473
35474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35475 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35476 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35477 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35478 $as_echo_n "(cached) " >&6
35479 else
35480
35481
35482 ac_ext=cpp
35483 ac_cpp='$CXXCPP $CPPFLAGS'
35484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35487
35488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35489 /* end confdefs.h. */
35490 #include <math.h>
35491 int
35492 main ()
35493 {
35494 _ldexpf(0, 0);
35495 ;
35496 return 0;
35497 }
35498 _ACEOF
35499 if ac_fn_cxx_try_compile "$LINENO"; then :
35500 glibcxx_cv_func__ldexpf_use=yes
35501 else
35502 glibcxx_cv_func__ldexpf_use=no
35503 fi
35504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35505 ac_ext=c
35506 ac_cpp='$CPP $CPPFLAGS'
35507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35510
35511
35512 fi
35513
35514 fi
35515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35516 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35517
35518 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35519 for ac_func in _ldexpf
35520 do :
35521 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35522 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35523 cat >>confdefs.h <<_ACEOF
35524 #define HAVE__LDEXPF 1
35525 _ACEOF
35526
35527 fi
35528 done
35529
35530 fi
35531 fi
35532
35533
35534
35535
35536
35537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35538 $as_echo_n "checking for logf declaration... " >&6; }
35539 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35540 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35541 $as_echo_n "(cached) " >&6
35542 else
35543
35544
35545 ac_ext=cpp
35546 ac_cpp='$CXXCPP $CPPFLAGS'
35547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35550
35551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35552 /* end confdefs.h. */
35553 #include <math.h>
35554 #ifdef HAVE_IEEEFP_H
35555 #include <ieeefp.h>
35556 #endif
35557
35558 int
35559 main ()
35560 {
35561 logf(0);
35562 ;
35563 return 0;
35564 }
35565 _ACEOF
35566 if ac_fn_cxx_try_compile "$LINENO"; then :
35567 glibcxx_cv_func_logf_use=yes
35568 else
35569 glibcxx_cv_func_logf_use=no
35570 fi
35571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35572 ac_ext=c
35573 ac_cpp='$CPP $CPPFLAGS'
35574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35577
35578
35579 fi
35580
35581 fi
35582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35583 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35584
35585 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35586 for ac_func in logf
35587 do :
35588 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35589 if test "x$ac_cv_func_logf" = x""yes; then :
35590 cat >>confdefs.h <<_ACEOF
35591 #define HAVE_LOGF 1
35592 _ACEOF
35593
35594 fi
35595 done
35596
35597 else
35598
35599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35600 $as_echo_n "checking for _logf declaration... " >&6; }
35601 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35602 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35603 $as_echo_n "(cached) " >&6
35604 else
35605
35606
35607 ac_ext=cpp
35608 ac_cpp='$CXXCPP $CPPFLAGS'
35609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35612
35613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35614 /* end confdefs.h. */
35615 #include <math.h>
35616 #ifdef HAVE_IEEEFP_H
35617 #include <ieeefp.h>
35618 #endif
35619
35620 int
35621 main ()
35622 {
35623 _logf(0);
35624 ;
35625 return 0;
35626 }
35627 _ACEOF
35628 if ac_fn_cxx_try_compile "$LINENO"; then :
35629 glibcxx_cv_func__logf_use=yes
35630 else
35631 glibcxx_cv_func__logf_use=no
35632 fi
35633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35634 ac_ext=c
35635 ac_cpp='$CPP $CPPFLAGS'
35636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35639
35640
35641 fi
35642
35643 fi
35644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35645 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35646
35647 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35648 for ac_func in _logf
35649 do :
35650 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35651 if test "x$ac_cv_func__logf" = x""yes; then :
35652 cat >>confdefs.h <<_ACEOF
35653 #define HAVE__LOGF 1
35654 _ACEOF
35655
35656 fi
35657 done
35658
35659 fi
35660 fi
35661
35662
35663
35664
35665
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35667 $as_echo_n "checking for log10f declaration... " >&6; }
35668 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35669 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35670 $as_echo_n "(cached) " >&6
35671 else
35672
35673
35674 ac_ext=cpp
35675 ac_cpp='$CXXCPP $CPPFLAGS'
35676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35679
35680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35681 /* end confdefs.h. */
35682 #include <math.h>
35683 #ifdef HAVE_IEEEFP_H
35684 #include <ieeefp.h>
35685 #endif
35686
35687 int
35688 main ()
35689 {
35690 log10f(0);
35691 ;
35692 return 0;
35693 }
35694 _ACEOF
35695 if ac_fn_cxx_try_compile "$LINENO"; then :
35696 glibcxx_cv_func_log10f_use=yes
35697 else
35698 glibcxx_cv_func_log10f_use=no
35699 fi
35700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35701 ac_ext=c
35702 ac_cpp='$CPP $CPPFLAGS'
35703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35706
35707
35708 fi
35709
35710 fi
35711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35712 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35713
35714 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35715 for ac_func in log10f
35716 do :
35717 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35718 if test "x$ac_cv_func_log10f" = x""yes; then :
35719 cat >>confdefs.h <<_ACEOF
35720 #define HAVE_LOG10F 1
35721 _ACEOF
35722
35723 fi
35724 done
35725
35726 else
35727
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35729 $as_echo_n "checking for _log10f declaration... " >&6; }
35730 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35731 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35732 $as_echo_n "(cached) " >&6
35733 else
35734
35735
35736 ac_ext=cpp
35737 ac_cpp='$CXXCPP $CPPFLAGS'
35738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35741
35742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35743 /* end confdefs.h. */
35744 #include <math.h>
35745 #ifdef HAVE_IEEEFP_H
35746 #include <ieeefp.h>
35747 #endif
35748
35749 int
35750 main ()
35751 {
35752 _log10f(0);
35753 ;
35754 return 0;
35755 }
35756 _ACEOF
35757 if ac_fn_cxx_try_compile "$LINENO"; then :
35758 glibcxx_cv_func__log10f_use=yes
35759 else
35760 glibcxx_cv_func__log10f_use=no
35761 fi
35762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763 ac_ext=c
35764 ac_cpp='$CPP $CPPFLAGS'
35765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35768
35769
35770 fi
35771
35772 fi
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35774 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35775
35776 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35777 for ac_func in _log10f
35778 do :
35779 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35780 if test "x$ac_cv_func__log10f" = x""yes; then :
35781 cat >>confdefs.h <<_ACEOF
35782 #define HAVE__LOG10F 1
35783 _ACEOF
35784
35785 fi
35786 done
35787
35788 fi
35789 fi
35790
35791
35792
35793
35794
35795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35796 $as_echo_n "checking for modff declaration... " >&6; }
35797 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35798 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35799 $as_echo_n "(cached) " >&6
35800 else
35801
35802
35803 ac_ext=cpp
35804 ac_cpp='$CXXCPP $CPPFLAGS'
35805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35808
35809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35810 /* end confdefs.h. */
35811 #include <math.h>
35812 int
35813 main ()
35814 {
35815 modff(0, 0);
35816 ;
35817 return 0;
35818 }
35819 _ACEOF
35820 if ac_fn_cxx_try_compile "$LINENO"; then :
35821 glibcxx_cv_func_modff_use=yes
35822 else
35823 glibcxx_cv_func_modff_use=no
35824 fi
35825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35826 ac_ext=c
35827 ac_cpp='$CPP $CPPFLAGS'
35828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35831
35832
35833 fi
35834
35835 fi
35836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35837 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35838
35839 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35840 for ac_func in modff
35841 do :
35842 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35843 if test "x$ac_cv_func_modff" = x""yes; then :
35844 cat >>confdefs.h <<_ACEOF
35845 #define HAVE_MODFF 1
35846 _ACEOF
35847
35848 fi
35849 done
35850
35851 else
35852
35853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35854 $as_echo_n "checking for _modff declaration... " >&6; }
35855 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35856 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35857 $as_echo_n "(cached) " >&6
35858 else
35859
35860
35861 ac_ext=cpp
35862 ac_cpp='$CXXCPP $CPPFLAGS'
35863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35866
35867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35868 /* end confdefs.h. */
35869 #include <math.h>
35870 int
35871 main ()
35872 {
35873 _modff(0, 0);
35874 ;
35875 return 0;
35876 }
35877 _ACEOF
35878 if ac_fn_cxx_try_compile "$LINENO"; then :
35879 glibcxx_cv_func__modff_use=yes
35880 else
35881 glibcxx_cv_func__modff_use=no
35882 fi
35883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35884 ac_ext=c
35885 ac_cpp='$CPP $CPPFLAGS'
35886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35889
35890
35891 fi
35892
35893 fi
35894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35895 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35896
35897 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35898 for ac_func in _modff
35899 do :
35900 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35901 if test "x$ac_cv_func__modff" = x""yes; then :
35902 cat >>confdefs.h <<_ACEOF
35903 #define HAVE__MODFF 1
35904 _ACEOF
35905
35906 fi
35907 done
35908
35909 fi
35910 fi
35911
35912
35913
35914
35915
35916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35917 $as_echo_n "checking for modf declaration... " >&6; }
35918 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35919 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35920 $as_echo_n "(cached) " >&6
35921 else
35922
35923
35924 ac_ext=cpp
35925 ac_cpp='$CXXCPP $CPPFLAGS'
35926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35929
35930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35931 /* end confdefs.h. */
35932 #include <math.h>
35933 int
35934 main ()
35935 {
35936 modf(0, 0);
35937 ;
35938 return 0;
35939 }
35940 _ACEOF
35941 if ac_fn_cxx_try_compile "$LINENO"; then :
35942 glibcxx_cv_func_modf_use=yes
35943 else
35944 glibcxx_cv_func_modf_use=no
35945 fi
35946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35947 ac_ext=c
35948 ac_cpp='$CPP $CPPFLAGS'
35949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35952
35953
35954 fi
35955
35956 fi
35957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
35958 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
35959
35960 if test x$glibcxx_cv_func_modf_use = x"yes"; then
35961 for ac_func in modf
35962 do :
35963 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
35964 if test "x$ac_cv_func_modf" = x""yes; then :
35965 cat >>confdefs.h <<_ACEOF
35966 #define HAVE_MODF 1
35967 _ACEOF
35968
35969 fi
35970 done
35971
35972 else
35973
35974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
35975 $as_echo_n "checking for _modf declaration... " >&6; }
35976 if test x${glibcxx_cv_func__modf_use+set} != xset; then
35977 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
35978 $as_echo_n "(cached) " >&6
35979 else
35980
35981
35982 ac_ext=cpp
35983 ac_cpp='$CXXCPP $CPPFLAGS'
35984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35987
35988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35989 /* end confdefs.h. */
35990 #include <math.h>
35991 int
35992 main ()
35993 {
35994 _modf(0, 0);
35995 ;
35996 return 0;
35997 }
35998 _ACEOF
35999 if ac_fn_cxx_try_compile "$LINENO"; then :
36000 glibcxx_cv_func__modf_use=yes
36001 else
36002 glibcxx_cv_func__modf_use=no
36003 fi
36004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36005 ac_ext=c
36006 ac_cpp='$CPP $CPPFLAGS'
36007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36010
36011
36012 fi
36013
36014 fi
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36016 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36017
36018 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36019 for ac_func in _modf
36020 do :
36021 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36022 if test "x$ac_cv_func__modf" = x""yes; then :
36023 cat >>confdefs.h <<_ACEOF
36024 #define HAVE__MODF 1
36025 _ACEOF
36026
36027 fi
36028 done
36029
36030 fi
36031 fi
36032
36033
36034
36035
36036
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36038 $as_echo_n "checking for powf declaration... " >&6; }
36039 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36040 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36041 $as_echo_n "(cached) " >&6
36042 else
36043
36044
36045 ac_ext=cpp
36046 ac_cpp='$CXXCPP $CPPFLAGS'
36047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36050
36051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36052 /* end confdefs.h. */
36053 #include <math.h>
36054 int
36055 main ()
36056 {
36057 powf(0, 0);
36058 ;
36059 return 0;
36060 }
36061 _ACEOF
36062 if ac_fn_cxx_try_compile "$LINENO"; then :
36063 glibcxx_cv_func_powf_use=yes
36064 else
36065 glibcxx_cv_func_powf_use=no
36066 fi
36067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36068 ac_ext=c
36069 ac_cpp='$CPP $CPPFLAGS'
36070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36073
36074
36075 fi
36076
36077 fi
36078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36079 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36080
36081 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36082 for ac_func in powf
36083 do :
36084 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36085 if test "x$ac_cv_func_powf" = x""yes; then :
36086 cat >>confdefs.h <<_ACEOF
36087 #define HAVE_POWF 1
36088 _ACEOF
36089
36090 fi
36091 done
36092
36093 else
36094
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36096 $as_echo_n "checking for _powf declaration... " >&6; }
36097 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36098 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36099 $as_echo_n "(cached) " >&6
36100 else
36101
36102
36103 ac_ext=cpp
36104 ac_cpp='$CXXCPP $CPPFLAGS'
36105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36108
36109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36110 /* end confdefs.h. */
36111 #include <math.h>
36112 int
36113 main ()
36114 {
36115 _powf(0, 0);
36116 ;
36117 return 0;
36118 }
36119 _ACEOF
36120 if ac_fn_cxx_try_compile "$LINENO"; then :
36121 glibcxx_cv_func__powf_use=yes
36122 else
36123 glibcxx_cv_func__powf_use=no
36124 fi
36125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36126 ac_ext=c
36127 ac_cpp='$CPP $CPPFLAGS'
36128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36131
36132
36133 fi
36134
36135 fi
36136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36137 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36138
36139 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36140 for ac_func in _powf
36141 do :
36142 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36143 if test "x$ac_cv_func__powf" = x""yes; then :
36144 cat >>confdefs.h <<_ACEOF
36145 #define HAVE__POWF 1
36146 _ACEOF
36147
36148 fi
36149 done
36150
36151 fi
36152 fi
36153
36154
36155
36156
36157
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36159 $as_echo_n "checking for sqrtf declaration... " >&6; }
36160 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36161 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36162 $as_echo_n "(cached) " >&6
36163 else
36164
36165
36166 ac_ext=cpp
36167 ac_cpp='$CXXCPP $CPPFLAGS'
36168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36171
36172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36173 /* end confdefs.h. */
36174 #include <math.h>
36175 #ifdef HAVE_IEEEFP_H
36176 #include <ieeefp.h>
36177 #endif
36178
36179 int
36180 main ()
36181 {
36182 sqrtf(0);
36183 ;
36184 return 0;
36185 }
36186 _ACEOF
36187 if ac_fn_cxx_try_compile "$LINENO"; then :
36188 glibcxx_cv_func_sqrtf_use=yes
36189 else
36190 glibcxx_cv_func_sqrtf_use=no
36191 fi
36192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36193 ac_ext=c
36194 ac_cpp='$CPP $CPPFLAGS'
36195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36198
36199
36200 fi
36201
36202 fi
36203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36204 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36205
36206 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36207 for ac_func in sqrtf
36208 do :
36209 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36210 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36211 cat >>confdefs.h <<_ACEOF
36212 #define HAVE_SQRTF 1
36213 _ACEOF
36214
36215 fi
36216 done
36217
36218 else
36219
36220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36221 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36222 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36223 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36224 $as_echo_n "(cached) " >&6
36225 else
36226
36227
36228 ac_ext=cpp
36229 ac_cpp='$CXXCPP $CPPFLAGS'
36230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36233
36234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36235 /* end confdefs.h. */
36236 #include <math.h>
36237 #ifdef HAVE_IEEEFP_H
36238 #include <ieeefp.h>
36239 #endif
36240
36241 int
36242 main ()
36243 {
36244 _sqrtf(0);
36245 ;
36246 return 0;
36247 }
36248 _ACEOF
36249 if ac_fn_cxx_try_compile "$LINENO"; then :
36250 glibcxx_cv_func__sqrtf_use=yes
36251 else
36252 glibcxx_cv_func__sqrtf_use=no
36253 fi
36254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36255 ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36260
36261
36262 fi
36263
36264 fi
36265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36266 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36267
36268 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36269 for ac_func in _sqrtf
36270 do :
36271 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36272 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36273 cat >>confdefs.h <<_ACEOF
36274 #define HAVE__SQRTF 1
36275 _ACEOF
36276
36277 fi
36278 done
36279
36280 fi
36281 fi
36282
36283
36284
36285
36286
36287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36288 $as_echo_n "checking for sincosf declaration... " >&6; }
36289 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36290 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36291 $as_echo_n "(cached) " >&6
36292 else
36293
36294
36295 ac_ext=cpp
36296 ac_cpp='$CXXCPP $CPPFLAGS'
36297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36300
36301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36302 /* end confdefs.h. */
36303 #include <math.h>
36304 int
36305 main ()
36306 {
36307 sincosf(0, 0, 0);
36308 ;
36309 return 0;
36310 }
36311 _ACEOF
36312 if ac_fn_cxx_try_compile "$LINENO"; then :
36313 glibcxx_cv_func_sincosf_use=yes
36314 else
36315 glibcxx_cv_func_sincosf_use=no
36316 fi
36317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36318 ac_ext=c
36319 ac_cpp='$CPP $CPPFLAGS'
36320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36323
36324
36325 fi
36326
36327 fi
36328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36329 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36330
36331 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36332 for ac_func in sincosf
36333 do :
36334 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36335 if test "x$ac_cv_func_sincosf" = x""yes; then :
36336 cat >>confdefs.h <<_ACEOF
36337 #define HAVE_SINCOSF 1
36338 _ACEOF
36339
36340 fi
36341 done
36342
36343 else
36344
36345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36346 $as_echo_n "checking for _sincosf declaration... " >&6; }
36347 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36348 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36349 $as_echo_n "(cached) " >&6
36350 else
36351
36352
36353 ac_ext=cpp
36354 ac_cpp='$CXXCPP $CPPFLAGS'
36355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36358
36359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36360 /* end confdefs.h. */
36361 #include <math.h>
36362 int
36363 main ()
36364 {
36365 _sincosf(0, 0, 0);
36366 ;
36367 return 0;
36368 }
36369 _ACEOF
36370 if ac_fn_cxx_try_compile "$LINENO"; then :
36371 glibcxx_cv_func__sincosf_use=yes
36372 else
36373 glibcxx_cv_func__sincosf_use=no
36374 fi
36375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36376 ac_ext=c
36377 ac_cpp='$CPP $CPPFLAGS'
36378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36381
36382
36383 fi
36384
36385 fi
36386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36387 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36388
36389 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36390 for ac_func in _sincosf
36391 do :
36392 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36393 if test "x$ac_cv_func__sincosf" = x""yes; then :
36394 cat >>confdefs.h <<_ACEOF
36395 #define HAVE__SINCOSF 1
36396 _ACEOF
36397
36398 fi
36399 done
36400
36401 fi
36402 fi
36403
36404
36405
36406
36407
36408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36409 $as_echo_n "checking for finitef declaration... " >&6; }
36410 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36411 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36412 $as_echo_n "(cached) " >&6
36413 else
36414
36415
36416 ac_ext=cpp
36417 ac_cpp='$CXXCPP $CPPFLAGS'
36418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36421
36422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36423 /* end confdefs.h. */
36424 #include <math.h>
36425 #ifdef HAVE_IEEEFP_H
36426 #include <ieeefp.h>
36427 #endif
36428
36429 int
36430 main ()
36431 {
36432 finitef(0);
36433 ;
36434 return 0;
36435 }
36436 _ACEOF
36437 if ac_fn_cxx_try_compile "$LINENO"; then :
36438 glibcxx_cv_func_finitef_use=yes
36439 else
36440 glibcxx_cv_func_finitef_use=no
36441 fi
36442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36443 ac_ext=c
36444 ac_cpp='$CPP $CPPFLAGS'
36445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36448
36449
36450 fi
36451
36452 fi
36453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36454 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36455
36456 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36457 for ac_func in finitef
36458 do :
36459 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36460 if test "x$ac_cv_func_finitef" = x""yes; then :
36461 cat >>confdefs.h <<_ACEOF
36462 #define HAVE_FINITEF 1
36463 _ACEOF
36464
36465 fi
36466 done
36467
36468 else
36469
36470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36471 $as_echo_n "checking for _finitef declaration... " >&6; }
36472 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36473 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36474 $as_echo_n "(cached) " >&6
36475 else
36476
36477
36478 ac_ext=cpp
36479 ac_cpp='$CXXCPP $CPPFLAGS'
36480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36483
36484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36485 /* end confdefs.h. */
36486 #include <math.h>
36487 #ifdef HAVE_IEEEFP_H
36488 #include <ieeefp.h>
36489 #endif
36490
36491 int
36492 main ()
36493 {
36494 _finitef(0);
36495 ;
36496 return 0;
36497 }
36498 _ACEOF
36499 if ac_fn_cxx_try_compile "$LINENO"; then :
36500 glibcxx_cv_func__finitef_use=yes
36501 else
36502 glibcxx_cv_func__finitef_use=no
36503 fi
36504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36505 ac_ext=c
36506 ac_cpp='$CPP $CPPFLAGS'
36507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36510
36511
36512 fi
36513
36514 fi
36515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36516 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36517
36518 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36519 for ac_func in _finitef
36520 do :
36521 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36522 if test "x$ac_cv_func__finitef" = x""yes; then :
36523 cat >>confdefs.h <<_ACEOF
36524 #define HAVE__FINITEF 1
36525 _ACEOF
36526
36527 fi
36528 done
36529
36530 fi
36531 fi
36532
36533
36534
36535
36536
36537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36538 $as_echo_n "checking for long double trig functions... " >&6; }
36539 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36540 $as_echo_n "(cached) " >&6
36541 else
36542
36543
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36549
36550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36551 /* end confdefs.h. */
36552 #include <math.h>
36553 int
36554 main ()
36555 {
36556 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36557 ;
36558 return 0;
36559 }
36560 _ACEOF
36561 if ac_fn_cxx_try_compile "$LINENO"; then :
36562 glibcxx_cv_func_long_double_trig_use=yes
36563 else
36564 glibcxx_cv_func_long_double_trig_use=no
36565 fi
36566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36567 ac_ext=c
36568 ac_cpp='$CPP $CPPFLAGS'
36569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36572
36573 fi
36574
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36576 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36577 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36578 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36579 do :
36580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36582 eval as_val=\$$as_ac_var
36583 if test "x$as_val" = x""yes; then :
36584 cat >>confdefs.h <<_ACEOF
36585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36586 _ACEOF
36587
36588 fi
36589 done
36590
36591 else
36592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36593 $as_echo_n "checking for _long double trig functions... " >&6; }
36594 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36595 $as_echo_n "(cached) " >&6
36596 else
36597
36598
36599 ac_ext=cpp
36600 ac_cpp='$CXXCPP $CPPFLAGS'
36601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36604
36605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36606 /* end confdefs.h. */
36607 #include <math.h>
36608 int
36609 main ()
36610 {
36611 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36612 ;
36613 return 0;
36614 }
36615 _ACEOF
36616 if ac_fn_cxx_try_compile "$LINENO"; then :
36617 glibcxx_cv_func__long_double_trig_use=yes
36618 else
36619 glibcxx_cv_func__long_double_trig_use=no
36620 fi
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
36627
36628 fi
36629
36630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36631 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36632 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36633 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36634 do :
36635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36637 eval as_val=\$$as_ac_var
36638 if test "x$as_val" = x""yes; then :
36639 cat >>confdefs.h <<_ACEOF
36640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36641 _ACEOF
36642
36643 fi
36644 done
36645
36646 fi
36647 fi
36648
36649
36650
36651
36652
36653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36654 $as_echo_n "checking for long double round functions... " >&6; }
36655 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36656 $as_echo_n "(cached) " >&6
36657 else
36658
36659
36660 ac_ext=cpp
36661 ac_cpp='$CXXCPP $CPPFLAGS'
36662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36665
36666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36667 /* end confdefs.h. */
36668 #include <math.h>
36669 int
36670 main ()
36671 {
36672 ceill (0); floorl (0);
36673 ;
36674 return 0;
36675 }
36676 _ACEOF
36677 if ac_fn_cxx_try_compile "$LINENO"; then :
36678 glibcxx_cv_func_long_double_round_use=yes
36679 else
36680 glibcxx_cv_func_long_double_round_use=no
36681 fi
36682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36683 ac_ext=c
36684 ac_cpp='$CPP $CPPFLAGS'
36685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36688
36689 fi
36690
36691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36692 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36693 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36694 for ac_func in ceill floorl
36695 do :
36696 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36697 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36698 eval as_val=\$$as_ac_var
36699 if test "x$as_val" = x""yes; then :
36700 cat >>confdefs.h <<_ACEOF
36701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36702 _ACEOF
36703
36704 fi
36705 done
36706
36707 else
36708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36709 $as_echo_n "checking for _long double round functions... " >&6; }
36710 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36711 $as_echo_n "(cached) " >&6
36712 else
36713
36714
36715 ac_ext=cpp
36716 ac_cpp='$CXXCPP $CPPFLAGS'
36717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36720
36721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36722 /* end confdefs.h. */
36723 #include <math.h>
36724 int
36725 main ()
36726 {
36727 _ceill (0); _floorl (0);
36728 ;
36729 return 0;
36730 }
36731 _ACEOF
36732 if ac_fn_cxx_try_compile "$LINENO"; then :
36733 glibcxx_cv_func__long_double_round_use=yes
36734 else
36735 glibcxx_cv_func__long_double_round_use=no
36736 fi
36737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36738 ac_ext=c
36739 ac_cpp='$CPP $CPPFLAGS'
36740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36743
36744 fi
36745
36746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36747 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36748 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36749 for ac_func in _ceill _floorl
36750 do :
36751 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36752 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36753 eval as_val=\$$as_ac_var
36754 if test "x$as_val" = x""yes; then :
36755 cat >>confdefs.h <<_ACEOF
36756 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36757 _ACEOF
36758
36759 fi
36760 done
36761
36762 fi
36763 fi
36764
36765
36766
36767
36768
36769
36770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36771 $as_echo_n "checking for isnanl declaration... " >&6; }
36772 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36773 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36774 $as_echo_n "(cached) " >&6
36775 else
36776
36777
36778 ac_ext=cpp
36779 ac_cpp='$CXXCPP $CPPFLAGS'
36780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36783
36784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36785 /* end confdefs.h. */
36786 #include <math.h>
36787 #ifdef HAVE_IEEEFP_H
36788 #include <ieeefp.h>
36789 #endif
36790
36791 int
36792 main ()
36793 {
36794 isnanl(0);
36795 ;
36796 return 0;
36797 }
36798 _ACEOF
36799 if ac_fn_cxx_try_compile "$LINENO"; then :
36800 glibcxx_cv_func_isnanl_use=yes
36801 else
36802 glibcxx_cv_func_isnanl_use=no
36803 fi
36804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36805 ac_ext=c
36806 ac_cpp='$CPP $CPPFLAGS'
36807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36810
36811
36812 fi
36813
36814 fi
36815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36816 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36817
36818 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36819 for ac_func in isnanl
36820 do :
36821 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36822 if test "x$ac_cv_func_isnanl" = x""yes; then :
36823 cat >>confdefs.h <<_ACEOF
36824 #define HAVE_ISNANL 1
36825 _ACEOF
36826
36827 fi
36828 done
36829
36830 else
36831
36832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36833 $as_echo_n "checking for _isnanl declaration... " >&6; }
36834 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36835 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36836 $as_echo_n "(cached) " >&6
36837 else
36838
36839
36840 ac_ext=cpp
36841 ac_cpp='$CXXCPP $CPPFLAGS'
36842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36845
36846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36847 /* end confdefs.h. */
36848 #include <math.h>
36849 #ifdef HAVE_IEEEFP_H
36850 #include <ieeefp.h>
36851 #endif
36852
36853 int
36854 main ()
36855 {
36856 _isnanl(0);
36857 ;
36858 return 0;
36859 }
36860 _ACEOF
36861 if ac_fn_cxx_try_compile "$LINENO"; then :
36862 glibcxx_cv_func__isnanl_use=yes
36863 else
36864 glibcxx_cv_func__isnanl_use=no
36865 fi
36866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36867 ac_ext=c
36868 ac_cpp='$CPP $CPPFLAGS'
36869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36872
36873
36874 fi
36875
36876 fi
36877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36878 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36879
36880 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36881 for ac_func in _isnanl
36882 do :
36883 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36884 if test "x$ac_cv_func__isnanl" = x""yes; then :
36885 cat >>confdefs.h <<_ACEOF
36886 #define HAVE__ISNANL 1
36887 _ACEOF
36888
36889 fi
36890 done
36891
36892 fi
36893 fi
36894
36895
36896
36897
36898
36899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36900 $as_echo_n "checking for isinfl declaration... " >&6; }
36901 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36902 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36903 $as_echo_n "(cached) " >&6
36904 else
36905
36906
36907 ac_ext=cpp
36908 ac_cpp='$CXXCPP $CPPFLAGS'
36909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36912
36913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36914 /* end confdefs.h. */
36915 #include <math.h>
36916 #ifdef HAVE_IEEEFP_H
36917 #include <ieeefp.h>
36918 #endif
36919
36920 int
36921 main ()
36922 {
36923 isinfl(0);
36924 ;
36925 return 0;
36926 }
36927 _ACEOF
36928 if ac_fn_cxx_try_compile "$LINENO"; then :
36929 glibcxx_cv_func_isinfl_use=yes
36930 else
36931 glibcxx_cv_func_isinfl_use=no
36932 fi
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
36939
36940
36941 fi
36942
36943 fi
36944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
36945 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
36946
36947 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
36948 for ac_func in isinfl
36949 do :
36950 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
36951 if test "x$ac_cv_func_isinfl" = x""yes; then :
36952 cat >>confdefs.h <<_ACEOF
36953 #define HAVE_ISINFL 1
36954 _ACEOF
36955
36956 fi
36957 done
36958
36959 else
36960
36961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
36962 $as_echo_n "checking for _isinfl declaration... " >&6; }
36963 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
36964 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
36965 $as_echo_n "(cached) " >&6
36966 else
36967
36968
36969 ac_ext=cpp
36970 ac_cpp='$CXXCPP $CPPFLAGS'
36971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36974
36975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36976 /* end confdefs.h. */
36977 #include <math.h>
36978 #ifdef HAVE_IEEEFP_H
36979 #include <ieeefp.h>
36980 #endif
36981
36982 int
36983 main ()
36984 {
36985 _isinfl(0);
36986 ;
36987 return 0;
36988 }
36989 _ACEOF
36990 if ac_fn_cxx_try_compile "$LINENO"; then :
36991 glibcxx_cv_func__isinfl_use=yes
36992 else
36993 glibcxx_cv_func__isinfl_use=no
36994 fi
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
37001
37002
37003 fi
37004
37005 fi
37006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37007 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37008
37009 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37010 for ac_func in _isinfl
37011 do :
37012 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37013 if test "x$ac_cv_func__isinfl" = x""yes; then :
37014 cat >>confdefs.h <<_ACEOF
37015 #define HAVE__ISINFL 1
37016 _ACEOF
37017
37018 fi
37019 done
37020
37021 fi
37022 fi
37023
37024
37025
37026
37027
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37029 $as_echo_n "checking for atan2l declaration... " >&6; }
37030 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37031 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37032 $as_echo_n "(cached) " >&6
37033 else
37034
37035
37036 ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37041
37042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h. */
37044 #include <math.h>
37045 int
37046 main ()
37047 {
37048 atan2l(0, 0);
37049 ;
37050 return 0;
37051 }
37052 _ACEOF
37053 if ac_fn_cxx_try_compile "$LINENO"; then :
37054 glibcxx_cv_func_atan2l_use=yes
37055 else
37056 glibcxx_cv_func_atan2l_use=no
37057 fi
37058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37059 ac_ext=c
37060 ac_cpp='$CPP $CPPFLAGS'
37061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37064
37065
37066 fi
37067
37068 fi
37069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37070 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37071
37072 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37073 for ac_func in atan2l
37074 do :
37075 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37076 if test "x$ac_cv_func_atan2l" = x""yes; then :
37077 cat >>confdefs.h <<_ACEOF
37078 #define HAVE_ATAN2L 1
37079 _ACEOF
37080
37081 fi
37082 done
37083
37084 else
37085
37086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37087 $as_echo_n "checking for _atan2l declaration... " >&6; }
37088 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37089 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37090 $as_echo_n "(cached) " >&6
37091 else
37092
37093
37094 ac_ext=cpp
37095 ac_cpp='$CXXCPP $CPPFLAGS'
37096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37099
37100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37101 /* end confdefs.h. */
37102 #include <math.h>
37103 int
37104 main ()
37105 {
37106 _atan2l(0, 0);
37107 ;
37108 return 0;
37109 }
37110 _ACEOF
37111 if ac_fn_cxx_try_compile "$LINENO"; then :
37112 glibcxx_cv_func__atan2l_use=yes
37113 else
37114 glibcxx_cv_func__atan2l_use=no
37115 fi
37116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37117 ac_ext=c
37118 ac_cpp='$CPP $CPPFLAGS'
37119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37122
37123
37124 fi
37125
37126 fi
37127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37128 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37129
37130 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37131 for ac_func in _atan2l
37132 do :
37133 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37134 if test "x$ac_cv_func__atan2l" = x""yes; then :
37135 cat >>confdefs.h <<_ACEOF
37136 #define HAVE__ATAN2L 1
37137 _ACEOF
37138
37139 fi
37140 done
37141
37142 fi
37143 fi
37144
37145
37146
37147
37148
37149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37150 $as_echo_n "checking for expl declaration... " >&6; }
37151 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37152 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37153 $as_echo_n "(cached) " >&6
37154 else
37155
37156
37157 ac_ext=cpp
37158 ac_cpp='$CXXCPP $CPPFLAGS'
37159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37162
37163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37164 /* end confdefs.h. */
37165 #include <math.h>
37166 #ifdef HAVE_IEEEFP_H
37167 #include <ieeefp.h>
37168 #endif
37169
37170 int
37171 main ()
37172 {
37173 expl(0);
37174 ;
37175 return 0;
37176 }
37177 _ACEOF
37178 if ac_fn_cxx_try_compile "$LINENO"; then :
37179 glibcxx_cv_func_expl_use=yes
37180 else
37181 glibcxx_cv_func_expl_use=no
37182 fi
37183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184 ac_ext=c
37185 ac_cpp='$CPP $CPPFLAGS'
37186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37189
37190
37191 fi
37192
37193 fi
37194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37195 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37196
37197 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37198 for ac_func in expl
37199 do :
37200 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37201 if test "x$ac_cv_func_expl" = x""yes; then :
37202 cat >>confdefs.h <<_ACEOF
37203 #define HAVE_EXPL 1
37204 _ACEOF
37205
37206 fi
37207 done
37208
37209 else
37210
37211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37212 $as_echo_n "checking for _expl declaration... " >&6; }
37213 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37214 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37215 $as_echo_n "(cached) " >&6
37216 else
37217
37218
37219 ac_ext=cpp
37220 ac_cpp='$CXXCPP $CPPFLAGS'
37221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37224
37225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37226 /* end confdefs.h. */
37227 #include <math.h>
37228 #ifdef HAVE_IEEEFP_H
37229 #include <ieeefp.h>
37230 #endif
37231
37232 int
37233 main ()
37234 {
37235 _expl(0);
37236 ;
37237 return 0;
37238 }
37239 _ACEOF
37240 if ac_fn_cxx_try_compile "$LINENO"; then :
37241 glibcxx_cv_func__expl_use=yes
37242 else
37243 glibcxx_cv_func__expl_use=no
37244 fi
37245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37246 ac_ext=c
37247 ac_cpp='$CPP $CPPFLAGS'
37248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37251
37252
37253 fi
37254
37255 fi
37256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37257 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37258
37259 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37260 for ac_func in _expl
37261 do :
37262 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37263 if test "x$ac_cv_func__expl" = x""yes; then :
37264 cat >>confdefs.h <<_ACEOF
37265 #define HAVE__EXPL 1
37266 _ACEOF
37267
37268 fi
37269 done
37270
37271 fi
37272 fi
37273
37274
37275
37276
37277
37278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37279 $as_echo_n "checking for fabsl declaration... " >&6; }
37280 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37281 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37282 $as_echo_n "(cached) " >&6
37283 else
37284
37285
37286 ac_ext=cpp
37287 ac_cpp='$CXXCPP $CPPFLAGS'
37288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37291
37292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293 /* end confdefs.h. */
37294 #include <math.h>
37295 #ifdef HAVE_IEEEFP_H
37296 #include <ieeefp.h>
37297 #endif
37298
37299 int
37300 main ()
37301 {
37302 fabsl(0);
37303 ;
37304 return 0;
37305 }
37306 _ACEOF
37307 if ac_fn_cxx_try_compile "$LINENO"; then :
37308 glibcxx_cv_func_fabsl_use=yes
37309 else
37310 glibcxx_cv_func_fabsl_use=no
37311 fi
37312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37313 ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37318
37319
37320 fi
37321
37322 fi
37323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37324 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37325
37326 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37327 for ac_func in fabsl
37328 do :
37329 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37330 if test "x$ac_cv_func_fabsl" = x""yes; then :
37331 cat >>confdefs.h <<_ACEOF
37332 #define HAVE_FABSL 1
37333 _ACEOF
37334
37335 fi
37336 done
37337
37338 else
37339
37340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37341 $as_echo_n "checking for _fabsl declaration... " >&6; }
37342 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37343 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37344 $as_echo_n "(cached) " >&6
37345 else
37346
37347
37348 ac_ext=cpp
37349 ac_cpp='$CXXCPP $CPPFLAGS'
37350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37353
37354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37355 /* end confdefs.h. */
37356 #include <math.h>
37357 #ifdef HAVE_IEEEFP_H
37358 #include <ieeefp.h>
37359 #endif
37360
37361 int
37362 main ()
37363 {
37364 _fabsl(0);
37365 ;
37366 return 0;
37367 }
37368 _ACEOF
37369 if ac_fn_cxx_try_compile "$LINENO"; then :
37370 glibcxx_cv_func__fabsl_use=yes
37371 else
37372 glibcxx_cv_func__fabsl_use=no
37373 fi
37374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37375 ac_ext=c
37376 ac_cpp='$CPP $CPPFLAGS'
37377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37380
37381
37382 fi
37383
37384 fi
37385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37386 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37387
37388 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37389 for ac_func in _fabsl
37390 do :
37391 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37392 if test "x$ac_cv_func__fabsl" = x""yes; then :
37393 cat >>confdefs.h <<_ACEOF
37394 #define HAVE__FABSL 1
37395 _ACEOF
37396
37397 fi
37398 done
37399
37400 fi
37401 fi
37402
37403
37404
37405
37406
37407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37408 $as_echo_n "checking for fmodl declaration... " >&6; }
37409 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37410 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37411 $as_echo_n "(cached) " >&6
37412 else
37413
37414
37415 ac_ext=cpp
37416 ac_cpp='$CXXCPP $CPPFLAGS'
37417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37420
37421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37422 /* end confdefs.h. */
37423 #include <math.h>
37424 int
37425 main ()
37426 {
37427 fmodl(0, 0);
37428 ;
37429 return 0;
37430 }
37431 _ACEOF
37432 if ac_fn_cxx_try_compile "$LINENO"; then :
37433 glibcxx_cv_func_fmodl_use=yes
37434 else
37435 glibcxx_cv_func_fmodl_use=no
37436 fi
37437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37438 ac_ext=c
37439 ac_cpp='$CPP $CPPFLAGS'
37440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37443
37444
37445 fi
37446
37447 fi
37448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37449 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37450
37451 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37452 for ac_func in fmodl
37453 do :
37454 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37455 if test "x$ac_cv_func_fmodl" = x""yes; then :
37456 cat >>confdefs.h <<_ACEOF
37457 #define HAVE_FMODL 1
37458 _ACEOF
37459
37460 fi
37461 done
37462
37463 else
37464
37465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37466 $as_echo_n "checking for _fmodl declaration... " >&6; }
37467 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37468 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37469 $as_echo_n "(cached) " >&6
37470 else
37471
37472
37473 ac_ext=cpp
37474 ac_cpp='$CXXCPP $CPPFLAGS'
37475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37478
37479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37480 /* end confdefs.h. */
37481 #include <math.h>
37482 int
37483 main ()
37484 {
37485 _fmodl(0, 0);
37486 ;
37487 return 0;
37488 }
37489 _ACEOF
37490 if ac_fn_cxx_try_compile "$LINENO"; then :
37491 glibcxx_cv_func__fmodl_use=yes
37492 else
37493 glibcxx_cv_func__fmodl_use=no
37494 fi
37495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37496 ac_ext=c
37497 ac_cpp='$CPP $CPPFLAGS'
37498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37501
37502
37503 fi
37504
37505 fi
37506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37507 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37508
37509 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37510 for ac_func in _fmodl
37511 do :
37512 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37513 if test "x$ac_cv_func__fmodl" = x""yes; then :
37514 cat >>confdefs.h <<_ACEOF
37515 #define HAVE__FMODL 1
37516 _ACEOF
37517
37518 fi
37519 done
37520
37521 fi
37522 fi
37523
37524
37525
37526
37527
37528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37529 $as_echo_n "checking for frexpl declaration... " >&6; }
37530 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37531 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37532 $as_echo_n "(cached) " >&6
37533 else
37534
37535
37536 ac_ext=cpp
37537 ac_cpp='$CXXCPP $CPPFLAGS'
37538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37541
37542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37543 /* end confdefs.h. */
37544 #include <math.h>
37545 int
37546 main ()
37547 {
37548 frexpl(0, 0);
37549 ;
37550 return 0;
37551 }
37552 _ACEOF
37553 if ac_fn_cxx_try_compile "$LINENO"; then :
37554 glibcxx_cv_func_frexpl_use=yes
37555 else
37556 glibcxx_cv_func_frexpl_use=no
37557 fi
37558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37559 ac_ext=c
37560 ac_cpp='$CPP $CPPFLAGS'
37561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37564
37565
37566 fi
37567
37568 fi
37569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37570 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37571
37572 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37573 for ac_func in frexpl
37574 do :
37575 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37576 if test "x$ac_cv_func_frexpl" = x""yes; then :
37577 cat >>confdefs.h <<_ACEOF
37578 #define HAVE_FREXPL 1
37579 _ACEOF
37580
37581 fi
37582 done
37583
37584 else
37585
37586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37587 $as_echo_n "checking for _frexpl declaration... " >&6; }
37588 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37589 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37590 $as_echo_n "(cached) " >&6
37591 else
37592
37593
37594 ac_ext=cpp
37595 ac_cpp='$CXXCPP $CPPFLAGS'
37596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37599
37600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37601 /* end confdefs.h. */
37602 #include <math.h>
37603 int
37604 main ()
37605 {
37606 _frexpl(0, 0);
37607 ;
37608 return 0;
37609 }
37610 _ACEOF
37611 if ac_fn_cxx_try_compile "$LINENO"; then :
37612 glibcxx_cv_func__frexpl_use=yes
37613 else
37614 glibcxx_cv_func__frexpl_use=no
37615 fi
37616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37617 ac_ext=c
37618 ac_cpp='$CPP $CPPFLAGS'
37619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37622
37623
37624 fi
37625
37626 fi
37627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37628 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37629
37630 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37631 for ac_func in _frexpl
37632 do :
37633 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37634 if test "x$ac_cv_func__frexpl" = x""yes; then :
37635 cat >>confdefs.h <<_ACEOF
37636 #define HAVE__FREXPL 1
37637 _ACEOF
37638
37639 fi
37640 done
37641
37642 fi
37643 fi
37644
37645
37646
37647
37648
37649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37650 $as_echo_n "checking for hypotl declaration... " >&6; }
37651 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37652 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37653 $as_echo_n "(cached) " >&6
37654 else
37655
37656
37657 ac_ext=cpp
37658 ac_cpp='$CXXCPP $CPPFLAGS'
37659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37662
37663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37664 /* end confdefs.h. */
37665 #include <math.h>
37666 int
37667 main ()
37668 {
37669 hypotl(0, 0);
37670 ;
37671 return 0;
37672 }
37673 _ACEOF
37674 if ac_fn_cxx_try_compile "$LINENO"; then :
37675 glibcxx_cv_func_hypotl_use=yes
37676 else
37677 glibcxx_cv_func_hypotl_use=no
37678 fi
37679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37680 ac_ext=c
37681 ac_cpp='$CPP $CPPFLAGS'
37682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37685
37686
37687 fi
37688
37689 fi
37690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37691 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37692
37693 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37694 for ac_func in hypotl
37695 do :
37696 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37697 if test "x$ac_cv_func_hypotl" = x""yes; then :
37698 cat >>confdefs.h <<_ACEOF
37699 #define HAVE_HYPOTL 1
37700 _ACEOF
37701
37702 fi
37703 done
37704
37705 else
37706
37707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37708 $as_echo_n "checking for _hypotl declaration... " >&6; }
37709 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37710 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37711 $as_echo_n "(cached) " >&6
37712 else
37713
37714
37715 ac_ext=cpp
37716 ac_cpp='$CXXCPP $CPPFLAGS'
37717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37720
37721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37722 /* end confdefs.h. */
37723 #include <math.h>
37724 int
37725 main ()
37726 {
37727 _hypotl(0, 0);
37728 ;
37729 return 0;
37730 }
37731 _ACEOF
37732 if ac_fn_cxx_try_compile "$LINENO"; then :
37733 glibcxx_cv_func__hypotl_use=yes
37734 else
37735 glibcxx_cv_func__hypotl_use=no
37736 fi
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
37743
37744
37745 fi
37746
37747 fi
37748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37749 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37750
37751 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37752 for ac_func in _hypotl
37753 do :
37754 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37755 if test "x$ac_cv_func__hypotl" = x""yes; then :
37756 cat >>confdefs.h <<_ACEOF
37757 #define HAVE__HYPOTL 1
37758 _ACEOF
37759
37760 fi
37761 done
37762
37763 fi
37764 fi
37765
37766
37767
37768
37769
37770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37771 $as_echo_n "checking for ldexpl declaration... " >&6; }
37772 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37773 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37774 $as_echo_n "(cached) " >&6
37775 else
37776
37777
37778 ac_ext=cpp
37779 ac_cpp='$CXXCPP $CPPFLAGS'
37780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37783
37784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37785 /* end confdefs.h. */
37786 #include <math.h>
37787 int
37788 main ()
37789 {
37790 ldexpl(0, 0);
37791 ;
37792 return 0;
37793 }
37794 _ACEOF
37795 if ac_fn_cxx_try_compile "$LINENO"; then :
37796 glibcxx_cv_func_ldexpl_use=yes
37797 else
37798 glibcxx_cv_func_ldexpl_use=no
37799 fi
37800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37801 ac_ext=c
37802 ac_cpp='$CPP $CPPFLAGS'
37803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37806
37807
37808 fi
37809
37810 fi
37811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37812 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37813
37814 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37815 for ac_func in ldexpl
37816 do :
37817 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37818 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37819 cat >>confdefs.h <<_ACEOF
37820 #define HAVE_LDEXPL 1
37821 _ACEOF
37822
37823 fi
37824 done
37825
37826 else
37827
37828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37829 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37830 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37831 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37832 $as_echo_n "(cached) " >&6
37833 else
37834
37835
37836 ac_ext=cpp
37837 ac_cpp='$CXXCPP $CPPFLAGS'
37838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37841
37842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37843 /* end confdefs.h. */
37844 #include <math.h>
37845 int
37846 main ()
37847 {
37848 _ldexpl(0, 0);
37849 ;
37850 return 0;
37851 }
37852 _ACEOF
37853 if ac_fn_cxx_try_compile "$LINENO"; then :
37854 glibcxx_cv_func__ldexpl_use=yes
37855 else
37856 glibcxx_cv_func__ldexpl_use=no
37857 fi
37858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37859 ac_ext=c
37860 ac_cpp='$CPP $CPPFLAGS'
37861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37864
37865
37866 fi
37867
37868 fi
37869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37870 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37871
37872 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37873 for ac_func in _ldexpl
37874 do :
37875 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37876 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37877 cat >>confdefs.h <<_ACEOF
37878 #define HAVE__LDEXPL 1
37879 _ACEOF
37880
37881 fi
37882 done
37883
37884 fi
37885 fi
37886
37887
37888
37889
37890
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37892 $as_echo_n "checking for logl declaration... " >&6; }
37893 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37894 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37895 $as_echo_n "(cached) " >&6
37896 else
37897
37898
37899 ac_ext=cpp
37900 ac_cpp='$CXXCPP $CPPFLAGS'
37901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37904
37905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37906 /* end confdefs.h. */
37907 #include <math.h>
37908 #ifdef HAVE_IEEEFP_H
37909 #include <ieeefp.h>
37910 #endif
37911
37912 int
37913 main ()
37914 {
37915 logl(0);
37916 ;
37917 return 0;
37918 }
37919 _ACEOF
37920 if ac_fn_cxx_try_compile "$LINENO"; then :
37921 glibcxx_cv_func_logl_use=yes
37922 else
37923 glibcxx_cv_func_logl_use=no
37924 fi
37925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37926 ac_ext=c
37927 ac_cpp='$CPP $CPPFLAGS'
37928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37931
37932
37933 fi
37934
37935 fi
37936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
37937 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
37938
37939 if test x$glibcxx_cv_func_logl_use = x"yes"; then
37940 for ac_func in logl
37941 do :
37942 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
37943 if test "x$ac_cv_func_logl" = x""yes; then :
37944 cat >>confdefs.h <<_ACEOF
37945 #define HAVE_LOGL 1
37946 _ACEOF
37947
37948 fi
37949 done
37950
37951 else
37952
37953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
37954 $as_echo_n "checking for _logl declaration... " >&6; }
37955 if test x${glibcxx_cv_func__logl_use+set} != xset; then
37956 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
37957 $as_echo_n "(cached) " >&6
37958 else
37959
37960
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
37966
37967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37968 /* end confdefs.h. */
37969 #include <math.h>
37970 #ifdef HAVE_IEEEFP_H
37971 #include <ieeefp.h>
37972 #endif
37973
37974 int
37975 main ()
37976 {
37977 _logl(0);
37978 ;
37979 return 0;
37980 }
37981 _ACEOF
37982 if ac_fn_cxx_try_compile "$LINENO"; then :
37983 glibcxx_cv_func__logl_use=yes
37984 else
37985 glibcxx_cv_func__logl_use=no
37986 fi
37987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37988 ac_ext=c
37989 ac_cpp='$CPP $CPPFLAGS'
37990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37993
37994
37995 fi
37996
37997 fi
37998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
37999 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38000
38001 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38002 for ac_func in _logl
38003 do :
38004 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38005 if test "x$ac_cv_func__logl" = x""yes; then :
38006 cat >>confdefs.h <<_ACEOF
38007 #define HAVE__LOGL 1
38008 _ACEOF
38009
38010 fi
38011 done
38012
38013 fi
38014 fi
38015
38016
38017
38018
38019
38020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38021 $as_echo_n "checking for log10l declaration... " >&6; }
38022 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38023 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38024 $as_echo_n "(cached) " >&6
38025 else
38026
38027
38028 ac_ext=cpp
38029 ac_cpp='$CXXCPP $CPPFLAGS'
38030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38033
38034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38035 /* end confdefs.h. */
38036 #include <math.h>
38037 #ifdef HAVE_IEEEFP_H
38038 #include <ieeefp.h>
38039 #endif
38040
38041 int
38042 main ()
38043 {
38044 log10l(0);
38045 ;
38046 return 0;
38047 }
38048 _ACEOF
38049 if ac_fn_cxx_try_compile "$LINENO"; then :
38050 glibcxx_cv_func_log10l_use=yes
38051 else
38052 glibcxx_cv_func_log10l_use=no
38053 fi
38054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38055 ac_ext=c
38056 ac_cpp='$CPP $CPPFLAGS'
38057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38060
38061
38062 fi
38063
38064 fi
38065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38066 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38067
38068 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38069 for ac_func in log10l
38070 do :
38071 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38072 if test "x$ac_cv_func_log10l" = x""yes; then :
38073 cat >>confdefs.h <<_ACEOF
38074 #define HAVE_LOG10L 1
38075 _ACEOF
38076
38077 fi
38078 done
38079
38080 else
38081
38082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38083 $as_echo_n "checking for _log10l declaration... " >&6; }
38084 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38085 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38086 $as_echo_n "(cached) " >&6
38087 else
38088
38089
38090 ac_ext=cpp
38091 ac_cpp='$CXXCPP $CPPFLAGS'
38092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38095
38096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38097 /* end confdefs.h. */
38098 #include <math.h>
38099 #ifdef HAVE_IEEEFP_H
38100 #include <ieeefp.h>
38101 #endif
38102
38103 int
38104 main ()
38105 {
38106 _log10l(0);
38107 ;
38108 return 0;
38109 }
38110 _ACEOF
38111 if ac_fn_cxx_try_compile "$LINENO"; then :
38112 glibcxx_cv_func__log10l_use=yes
38113 else
38114 glibcxx_cv_func__log10l_use=no
38115 fi
38116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38117 ac_ext=c
38118 ac_cpp='$CPP $CPPFLAGS'
38119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38122
38123
38124 fi
38125
38126 fi
38127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38128 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38129
38130 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38131 for ac_func in _log10l
38132 do :
38133 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38134 if test "x$ac_cv_func__log10l" = x""yes; then :
38135 cat >>confdefs.h <<_ACEOF
38136 #define HAVE__LOG10L 1
38137 _ACEOF
38138
38139 fi
38140 done
38141
38142 fi
38143 fi
38144
38145
38146
38147
38148
38149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38150 $as_echo_n "checking for modfl declaration... " >&6; }
38151 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38152 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38153 $as_echo_n "(cached) " >&6
38154 else
38155
38156
38157 ac_ext=cpp
38158 ac_cpp='$CXXCPP $CPPFLAGS'
38159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38162
38163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38164 /* end confdefs.h. */
38165 #include <math.h>
38166 int
38167 main ()
38168 {
38169 modfl(0, 0);
38170 ;
38171 return 0;
38172 }
38173 _ACEOF
38174 if ac_fn_cxx_try_compile "$LINENO"; then :
38175 glibcxx_cv_func_modfl_use=yes
38176 else
38177 glibcxx_cv_func_modfl_use=no
38178 fi
38179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38180 ac_ext=c
38181 ac_cpp='$CPP $CPPFLAGS'
38182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38185
38186
38187 fi
38188
38189 fi
38190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38191 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38192
38193 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38194 for ac_func in modfl
38195 do :
38196 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38197 if test "x$ac_cv_func_modfl" = x""yes; then :
38198 cat >>confdefs.h <<_ACEOF
38199 #define HAVE_MODFL 1
38200 _ACEOF
38201
38202 fi
38203 done
38204
38205 else
38206
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38208 $as_echo_n "checking for _modfl declaration... " >&6; }
38209 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38210 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38211 $as_echo_n "(cached) " >&6
38212 else
38213
38214
38215 ac_ext=cpp
38216 ac_cpp='$CXXCPP $CPPFLAGS'
38217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38220
38221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38222 /* end confdefs.h. */
38223 #include <math.h>
38224 int
38225 main ()
38226 {
38227 _modfl(0, 0);
38228 ;
38229 return 0;
38230 }
38231 _ACEOF
38232 if ac_fn_cxx_try_compile "$LINENO"; then :
38233 glibcxx_cv_func__modfl_use=yes
38234 else
38235 glibcxx_cv_func__modfl_use=no
38236 fi
38237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38238 ac_ext=c
38239 ac_cpp='$CPP $CPPFLAGS'
38240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38243
38244
38245 fi
38246
38247 fi
38248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38249 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38250
38251 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38252 for ac_func in _modfl
38253 do :
38254 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38255 if test "x$ac_cv_func__modfl" = x""yes; then :
38256 cat >>confdefs.h <<_ACEOF
38257 #define HAVE__MODFL 1
38258 _ACEOF
38259
38260 fi
38261 done
38262
38263 fi
38264 fi
38265
38266
38267
38268
38269
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38271 $as_echo_n "checking for powl declaration... " >&6; }
38272 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38273 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38274 $as_echo_n "(cached) " >&6
38275 else
38276
38277
38278 ac_ext=cpp
38279 ac_cpp='$CXXCPP $CPPFLAGS'
38280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38283
38284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38285 /* end confdefs.h. */
38286 #include <math.h>
38287 int
38288 main ()
38289 {
38290 powl(0, 0);
38291 ;
38292 return 0;
38293 }
38294 _ACEOF
38295 if ac_fn_cxx_try_compile "$LINENO"; then :
38296 glibcxx_cv_func_powl_use=yes
38297 else
38298 glibcxx_cv_func_powl_use=no
38299 fi
38300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38301 ac_ext=c
38302 ac_cpp='$CPP $CPPFLAGS'
38303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38306
38307
38308 fi
38309
38310 fi
38311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38312 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38313
38314 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38315 for ac_func in powl
38316 do :
38317 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38318 if test "x$ac_cv_func_powl" = x""yes; then :
38319 cat >>confdefs.h <<_ACEOF
38320 #define HAVE_POWL 1
38321 _ACEOF
38322
38323 fi
38324 done
38325
38326 else
38327
38328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38329 $as_echo_n "checking for _powl declaration... " >&6; }
38330 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38331 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38332 $as_echo_n "(cached) " >&6
38333 else
38334
38335
38336 ac_ext=cpp
38337 ac_cpp='$CXXCPP $CPPFLAGS'
38338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38341
38342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38343 /* end confdefs.h. */
38344 #include <math.h>
38345 int
38346 main ()
38347 {
38348 _powl(0, 0);
38349 ;
38350 return 0;
38351 }
38352 _ACEOF
38353 if ac_fn_cxx_try_compile "$LINENO"; then :
38354 glibcxx_cv_func__powl_use=yes
38355 else
38356 glibcxx_cv_func__powl_use=no
38357 fi
38358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38359 ac_ext=c
38360 ac_cpp='$CPP $CPPFLAGS'
38361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38364
38365
38366 fi
38367
38368 fi
38369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38370 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38371
38372 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38373 for ac_func in _powl
38374 do :
38375 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38376 if test "x$ac_cv_func__powl" = x""yes; then :
38377 cat >>confdefs.h <<_ACEOF
38378 #define HAVE__POWL 1
38379 _ACEOF
38380
38381 fi
38382 done
38383
38384 fi
38385 fi
38386
38387
38388
38389
38390
38391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38392 $as_echo_n "checking for sqrtl declaration... " >&6; }
38393 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38394 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38395 $as_echo_n "(cached) " >&6
38396 else
38397
38398
38399 ac_ext=cpp
38400 ac_cpp='$CXXCPP $CPPFLAGS'
38401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38404
38405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38406 /* end confdefs.h. */
38407 #include <math.h>
38408 #ifdef HAVE_IEEEFP_H
38409 #include <ieeefp.h>
38410 #endif
38411
38412 int
38413 main ()
38414 {
38415 sqrtl(0);
38416 ;
38417 return 0;
38418 }
38419 _ACEOF
38420 if ac_fn_cxx_try_compile "$LINENO"; then :
38421 glibcxx_cv_func_sqrtl_use=yes
38422 else
38423 glibcxx_cv_func_sqrtl_use=no
38424 fi
38425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38426 ac_ext=c
38427 ac_cpp='$CPP $CPPFLAGS'
38428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38431
38432
38433 fi
38434
38435 fi
38436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38437 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38438
38439 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38440 for ac_func in sqrtl
38441 do :
38442 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38443 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38444 cat >>confdefs.h <<_ACEOF
38445 #define HAVE_SQRTL 1
38446 _ACEOF
38447
38448 fi
38449 done
38450
38451 else
38452
38453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38454 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38455 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38456 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38457 $as_echo_n "(cached) " >&6
38458 else
38459
38460
38461 ac_ext=cpp
38462 ac_cpp='$CXXCPP $CPPFLAGS'
38463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38466
38467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38468 /* end confdefs.h. */
38469 #include <math.h>
38470 #ifdef HAVE_IEEEFP_H
38471 #include <ieeefp.h>
38472 #endif
38473
38474 int
38475 main ()
38476 {
38477 _sqrtl(0);
38478 ;
38479 return 0;
38480 }
38481 _ACEOF
38482 if ac_fn_cxx_try_compile "$LINENO"; then :
38483 glibcxx_cv_func__sqrtl_use=yes
38484 else
38485 glibcxx_cv_func__sqrtl_use=no
38486 fi
38487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38488 ac_ext=c
38489 ac_cpp='$CPP $CPPFLAGS'
38490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38493
38494
38495 fi
38496
38497 fi
38498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38499 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38500
38501 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38502 for ac_func in _sqrtl
38503 do :
38504 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38505 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38506 cat >>confdefs.h <<_ACEOF
38507 #define HAVE__SQRTL 1
38508 _ACEOF
38509
38510 fi
38511 done
38512
38513 fi
38514 fi
38515
38516
38517
38518
38519
38520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38521 $as_echo_n "checking for sincosl declaration... " >&6; }
38522 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38523 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38524 $as_echo_n "(cached) " >&6
38525 else
38526
38527
38528 ac_ext=cpp
38529 ac_cpp='$CXXCPP $CPPFLAGS'
38530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38533
38534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38535 /* end confdefs.h. */
38536 #include <math.h>
38537 int
38538 main ()
38539 {
38540 sincosl(0, 0, 0);
38541 ;
38542 return 0;
38543 }
38544 _ACEOF
38545 if ac_fn_cxx_try_compile "$LINENO"; then :
38546 glibcxx_cv_func_sincosl_use=yes
38547 else
38548 glibcxx_cv_func_sincosl_use=no
38549 fi
38550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38551 ac_ext=c
38552 ac_cpp='$CPP $CPPFLAGS'
38553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38556
38557
38558 fi
38559
38560 fi
38561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38562 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38563
38564 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38565 for ac_func in sincosl
38566 do :
38567 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38568 if test "x$ac_cv_func_sincosl" = x""yes; then :
38569 cat >>confdefs.h <<_ACEOF
38570 #define HAVE_SINCOSL 1
38571 _ACEOF
38572
38573 fi
38574 done
38575
38576 else
38577
38578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38579 $as_echo_n "checking for _sincosl declaration... " >&6; }
38580 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38581 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38582 $as_echo_n "(cached) " >&6
38583 else
38584
38585
38586 ac_ext=cpp
38587 ac_cpp='$CXXCPP $CPPFLAGS'
38588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38591
38592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38593 /* end confdefs.h. */
38594 #include <math.h>
38595 int
38596 main ()
38597 {
38598 _sincosl(0, 0, 0);
38599 ;
38600 return 0;
38601 }
38602 _ACEOF
38603 if ac_fn_cxx_try_compile "$LINENO"; then :
38604 glibcxx_cv_func__sincosl_use=yes
38605 else
38606 glibcxx_cv_func__sincosl_use=no
38607 fi
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609 ac_ext=c
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38614
38615
38616 fi
38617
38618 fi
38619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38620 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38621
38622 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38623 for ac_func in _sincosl
38624 do :
38625 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38626 if test "x$ac_cv_func__sincosl" = x""yes; then :
38627 cat >>confdefs.h <<_ACEOF
38628 #define HAVE__SINCOSL 1
38629 _ACEOF
38630
38631 fi
38632 done
38633
38634 fi
38635 fi
38636
38637
38638
38639
38640
38641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38642 $as_echo_n "checking for finitel declaration... " >&6; }
38643 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38644 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38645 $as_echo_n "(cached) " >&6
38646 else
38647
38648
38649 ac_ext=cpp
38650 ac_cpp='$CXXCPP $CPPFLAGS'
38651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38654
38655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38656 /* end confdefs.h. */
38657 #include <math.h>
38658 #ifdef HAVE_IEEEFP_H
38659 #include <ieeefp.h>
38660 #endif
38661
38662 int
38663 main ()
38664 {
38665 finitel(0);
38666 ;
38667 return 0;
38668 }
38669 _ACEOF
38670 if ac_fn_cxx_try_compile "$LINENO"; then :
38671 glibcxx_cv_func_finitel_use=yes
38672 else
38673 glibcxx_cv_func_finitel_use=no
38674 fi
38675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38676 ac_ext=c
38677 ac_cpp='$CPP $CPPFLAGS'
38678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38681
38682
38683 fi
38684
38685 fi
38686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38687 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38688
38689 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38690 for ac_func in finitel
38691 do :
38692 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38693 if test "x$ac_cv_func_finitel" = x""yes; then :
38694 cat >>confdefs.h <<_ACEOF
38695 #define HAVE_FINITEL 1
38696 _ACEOF
38697
38698 fi
38699 done
38700
38701 else
38702
38703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38704 $as_echo_n "checking for _finitel declaration... " >&6; }
38705 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38706 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38707 $as_echo_n "(cached) " >&6
38708 else
38709
38710
38711 ac_ext=cpp
38712 ac_cpp='$CXXCPP $CPPFLAGS'
38713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38716
38717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38718 /* end confdefs.h. */
38719 #include <math.h>
38720 #ifdef HAVE_IEEEFP_H
38721 #include <ieeefp.h>
38722 #endif
38723
38724 int
38725 main ()
38726 {
38727 _finitel(0);
38728 ;
38729 return 0;
38730 }
38731 _ACEOF
38732 if ac_fn_cxx_try_compile "$LINENO"; then :
38733 glibcxx_cv_func__finitel_use=yes
38734 else
38735 glibcxx_cv_func__finitel_use=no
38736 fi
38737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38738 ac_ext=c
38739 ac_cpp='$CPP $CPPFLAGS'
38740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38743
38744
38745 fi
38746
38747 fi
38748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38749 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38750
38751 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38752 for ac_func in _finitel
38753 do :
38754 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38755 if test "x$ac_cv_func__finitel" = x""yes; then :
38756 cat >>confdefs.h <<_ACEOF
38757 #define HAVE__FINITEL 1
38758 _ACEOF
38759
38760 fi
38761 done
38762
38763 fi
38764 fi
38765
38766
38767
38768
38769 LIBS="$ac_save_LIBS"
38770 CXXFLAGS="$ac_save_CXXFLAGS"
38771
38772
38773 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38774 ac_save_CXXFLAGS="$CXXFLAGS"
38775 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38776
38777
38778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38779 $as_echo_n "checking for strtold declaration... " >&6; }
38780 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38781 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38782 $as_echo_n "(cached) " >&6
38783 else
38784
38785
38786 ac_ext=cpp
38787 ac_cpp='$CXXCPP $CPPFLAGS'
38788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38791
38792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38793 /* end confdefs.h. */
38794 #include <stdlib.h>
38795 int
38796 main ()
38797 {
38798 strtold(0, 0);
38799 ;
38800 return 0;
38801 }
38802 _ACEOF
38803 if ac_fn_cxx_try_compile "$LINENO"; then :
38804 glibcxx_cv_func_strtold_use=yes
38805 else
38806 glibcxx_cv_func_strtold_use=no
38807 fi
38808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38809 ac_ext=c
38810 ac_cpp='$CPP $CPPFLAGS'
38811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38814
38815
38816 fi
38817
38818 fi
38819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38820 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38821 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38822 for ac_func in strtold
38823 do :
38824 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38825 if test "x$ac_cv_func_strtold" = x""yes; then :
38826 cat >>confdefs.h <<_ACEOF
38827 #define HAVE_STRTOLD 1
38828 _ACEOF
38829
38830 fi
38831 done
38832
38833 fi
38834
38835
38836
38837
38838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38839 $as_echo_n "checking for strtof declaration... " >&6; }
38840 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38841 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38842 $as_echo_n "(cached) " >&6
38843 else
38844
38845
38846 ac_ext=cpp
38847 ac_cpp='$CXXCPP $CPPFLAGS'
38848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38851
38852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38853 /* end confdefs.h. */
38854 #include <stdlib.h>
38855 int
38856 main ()
38857 {
38858 strtof(0, 0);
38859 ;
38860 return 0;
38861 }
38862 _ACEOF
38863 if ac_fn_cxx_try_compile "$LINENO"; then :
38864 glibcxx_cv_func_strtof_use=yes
38865 else
38866 glibcxx_cv_func_strtof_use=no
38867 fi
38868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38869 ac_ext=c
38870 ac_cpp='$CPP $CPPFLAGS'
38871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38874
38875
38876 fi
38877
38878 fi
38879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38880 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38881 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38882 for ac_func in strtof
38883 do :
38884 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38885 if test "x$ac_cv_func_strtof" = x""yes; then :
38886 cat >>confdefs.h <<_ACEOF
38887 #define HAVE_STRTOF 1
38888 _ACEOF
38889
38890 fi
38891 done
38892
38893 fi
38894
38895
38896
38897
38898 CXXFLAGS="$ac_save_CXXFLAGS"
38899
38900 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38901
38902 # We don't yet support AIX's TLS ABI.
38903 #GCC_CHECK_TLS
38904
38905
38906
38907
38908
38909 am_save_CPPFLAGS="$CPPFLAGS"
38910
38911 for element in $INCICONV; do
38912 haveit=
38913 for x in $CPPFLAGS; do
38914
38915 acl_save_prefix="$prefix"
38916 prefix="$acl_final_prefix"
38917 acl_save_exec_prefix="$exec_prefix"
38918 exec_prefix="$acl_final_exec_prefix"
38919 eval x=\"$x\"
38920 exec_prefix="$acl_save_exec_prefix"
38921 prefix="$acl_save_prefix"
38922
38923 if test "X$x" = "X$element"; then
38924 haveit=yes
38925 break
38926 fi
38927 done
38928 if test -z "$haveit"; then
38929 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38930 fi
38931 done
38932
38933
38934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
38935 $as_echo_n "checking for iconv... " >&6; }
38936 if test "${am_cv_func_iconv+set}" = set; then :
38937 $as_echo_n "(cached) " >&6
38938 else
38939
38940 am_cv_func_iconv="no, consider installing GNU libiconv"
38941 am_cv_lib_iconv=no
38942 if test x$gcc_no_link = xyes; then
38943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38944 fi
38945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38946 /* end confdefs.h. */
38947 #include <stdlib.h>
38948 #include <iconv.h>
38949 int
38950 main ()
38951 {
38952 iconv_t cd = iconv_open("","");
38953 iconv(cd,NULL,NULL,NULL,NULL);
38954 iconv_close(cd);
38955 ;
38956 return 0;
38957 }
38958 _ACEOF
38959 if ac_fn_c_try_link "$LINENO"; then :
38960 am_cv_func_iconv=yes
38961 fi
38962 rm -f core conftest.err conftest.$ac_objext \
38963 conftest$ac_exeext conftest.$ac_ext
38964 if test "$am_cv_func_iconv" != yes; then
38965 am_save_LIBS="$LIBS"
38966 LIBS="$LIBS $LIBICONV"
38967 if test x$gcc_no_link = xyes; then
38968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
38969 fi
38970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38971 /* end confdefs.h. */
38972 #include <stdlib.h>
38973 #include <iconv.h>
38974 int
38975 main ()
38976 {
38977 iconv_t cd = iconv_open("","");
38978 iconv(cd,NULL,NULL,NULL,NULL);
38979 iconv_close(cd);
38980 ;
38981 return 0;
38982 }
38983 _ACEOF
38984 if ac_fn_c_try_link "$LINENO"; then :
38985 am_cv_lib_iconv=yes
38986 am_cv_func_iconv=yes
38987 fi
38988 rm -f core conftest.err conftest.$ac_objext \
38989 conftest$ac_exeext conftest.$ac_ext
38990 LIBS="$am_save_LIBS"
38991 fi
38992
38993 fi
38994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
38995 $as_echo "$am_cv_func_iconv" >&6; }
38996 if test "$am_cv_func_iconv" = yes; then
38997
38998 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
38999
39000 fi
39001 if test "$am_cv_lib_iconv" = yes; then
39002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39003 $as_echo_n "checking how to link with libiconv... " >&6; }
39004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39005 $as_echo "$LIBICONV" >&6; }
39006 else
39007 CPPFLAGS="$am_save_CPPFLAGS"
39008 LIBICONV=
39009 LTLIBICONV=
39010 fi
39011
39012
39013
39014 if test "$am_cv_func_iconv" = yes; then
39015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39016 $as_echo_n "checking for iconv declaration... " >&6; }
39017 if test "${am_cv_proto_iconv+set}" = set; then :
39018 $as_echo_n "(cached) " >&6
39019 else
39020
39021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39022 /* end confdefs.h. */
39023
39024 #include <stdlib.h>
39025 #include <iconv.h>
39026 extern
39027 #ifdef __cplusplus
39028 "C"
39029 #endif
39030 #if defined(__STDC__) || defined(__cplusplus)
39031 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39032 #else
39033 size_t iconv();
39034 #endif
39035
39036 int
39037 main ()
39038 {
39039
39040 ;
39041 return 0;
39042 }
39043 _ACEOF
39044 if ac_fn_c_try_compile "$LINENO"; then :
39045 am_cv_proto_iconv_arg1=""
39046 else
39047 am_cv_proto_iconv_arg1="const"
39048 fi
39049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39050 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);"
39051 fi
39052
39053 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39055 }$am_cv_proto_iconv" >&5
39056 $as_echo "${ac_t:-
39057 }$am_cv_proto_iconv" >&6; }
39058
39059 cat >>confdefs.h <<_ACEOF
39060 #define ICONV_CONST $am_cv_proto_iconv_arg1
39061 _ACEOF
39062
39063 fi
39064
39065 ;;
39066
39067 *-darwin*)
39068 # Darwin versions vary, but the linker should work in a cross environment,
39069 # so we just check for all the features here.
39070 # Check for available headers.
39071
39072 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39073
39074 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39075 ac_save_CXXFLAGS="$CXXFLAGS"
39076 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39077
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39079 $as_echo_n "checking for sin in -lm... " >&6; }
39080 if test "${ac_cv_lib_m_sin+set}" = set; then :
39081 $as_echo_n "(cached) " >&6
39082 else
39083 ac_check_lib_save_LIBS=$LIBS
39084 LIBS="-lm $LIBS"
39085 if test x$gcc_no_link = xyes; then
39086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39087 fi
39088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39089 /* end confdefs.h. */
39090
39091 /* Override any GCC internal prototype to avoid an error.
39092 Use char because int might match the return type of a GCC
39093 builtin and then its argument prototype would still apply. */
39094 #ifdef __cplusplus
39095 extern "C"
39096 #endif
39097 char sin ();
39098 int
39099 main ()
39100 {
39101 return sin ();
39102 ;
39103 return 0;
39104 }
39105 _ACEOF
39106 if ac_fn_c_try_link "$LINENO"; then :
39107 ac_cv_lib_m_sin=yes
39108 else
39109 ac_cv_lib_m_sin=no
39110 fi
39111 rm -f core conftest.err conftest.$ac_objext \
39112 conftest$ac_exeext conftest.$ac_ext
39113 LIBS=$ac_check_lib_save_LIBS
39114 fi
39115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39116 $as_echo "$ac_cv_lib_m_sin" >&6; }
39117 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39118 libm="-lm"
39119 fi
39120
39121 ac_save_LIBS="$LIBS"
39122 LIBS="$LIBS $libm"
39123
39124
39125
39126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39127 $as_echo_n "checking for isinf declaration... " >&6; }
39128 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39129 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39130 $as_echo_n "(cached) " >&6
39131 else
39132
39133
39134 ac_ext=cpp
39135 ac_cpp='$CXXCPP $CPPFLAGS'
39136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39139
39140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39141 /* end confdefs.h. */
39142 #include <math.h>
39143 #ifdef HAVE_IEEEFP_H
39144 #include <ieeefp.h>
39145 #endif
39146
39147 int
39148 main ()
39149 {
39150 isinf(0);
39151 ;
39152 return 0;
39153 }
39154 _ACEOF
39155 if ac_fn_cxx_try_compile "$LINENO"; then :
39156 glibcxx_cv_func_isinf_use=yes
39157 else
39158 glibcxx_cv_func_isinf_use=no
39159 fi
39160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39161 ac_ext=c
39162 ac_cpp='$CPP $CPPFLAGS'
39163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39166
39167
39168 fi
39169
39170 fi
39171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39172 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39173
39174 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39175 for ac_func in isinf
39176 do :
39177 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39178 if test "x$ac_cv_func_isinf" = x""yes; then :
39179 cat >>confdefs.h <<_ACEOF
39180 #define HAVE_ISINF 1
39181 _ACEOF
39182
39183 fi
39184 done
39185
39186 else
39187
39188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39189 $as_echo_n "checking for _isinf declaration... " >&6; }
39190 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39191 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39192 $as_echo_n "(cached) " >&6
39193 else
39194
39195
39196 ac_ext=cpp
39197 ac_cpp='$CXXCPP $CPPFLAGS'
39198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39201
39202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39203 /* end confdefs.h. */
39204 #include <math.h>
39205 #ifdef HAVE_IEEEFP_H
39206 #include <ieeefp.h>
39207 #endif
39208
39209 int
39210 main ()
39211 {
39212 _isinf(0);
39213 ;
39214 return 0;
39215 }
39216 _ACEOF
39217 if ac_fn_cxx_try_compile "$LINENO"; then :
39218 glibcxx_cv_func__isinf_use=yes
39219 else
39220 glibcxx_cv_func__isinf_use=no
39221 fi
39222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39223 ac_ext=c
39224 ac_cpp='$CPP $CPPFLAGS'
39225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39228
39229
39230 fi
39231
39232 fi
39233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39234 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39235
39236 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39237 for ac_func in _isinf
39238 do :
39239 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39240 if test "x$ac_cv_func__isinf" = x""yes; then :
39241 cat >>confdefs.h <<_ACEOF
39242 #define HAVE__ISINF 1
39243 _ACEOF
39244
39245 fi
39246 done
39247
39248 fi
39249 fi
39250
39251
39252
39253
39254
39255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39256 $as_echo_n "checking for isnan declaration... " >&6; }
39257 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39258 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39259 $as_echo_n "(cached) " >&6
39260 else
39261
39262
39263 ac_ext=cpp
39264 ac_cpp='$CXXCPP $CPPFLAGS'
39265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39268
39269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39270 /* end confdefs.h. */
39271 #include <math.h>
39272 #ifdef HAVE_IEEEFP_H
39273 #include <ieeefp.h>
39274 #endif
39275
39276 int
39277 main ()
39278 {
39279 isnan(0);
39280 ;
39281 return 0;
39282 }
39283 _ACEOF
39284 if ac_fn_cxx_try_compile "$LINENO"; then :
39285 glibcxx_cv_func_isnan_use=yes
39286 else
39287 glibcxx_cv_func_isnan_use=no
39288 fi
39289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39290 ac_ext=c
39291 ac_cpp='$CPP $CPPFLAGS'
39292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39295
39296
39297 fi
39298
39299 fi
39300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39301 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39302
39303 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39304 for ac_func in isnan
39305 do :
39306 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39307 if test "x$ac_cv_func_isnan" = x""yes; then :
39308 cat >>confdefs.h <<_ACEOF
39309 #define HAVE_ISNAN 1
39310 _ACEOF
39311
39312 fi
39313 done
39314
39315 else
39316
39317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39318 $as_echo_n "checking for _isnan declaration... " >&6; }
39319 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39320 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39321 $as_echo_n "(cached) " >&6
39322 else
39323
39324
39325 ac_ext=cpp
39326 ac_cpp='$CXXCPP $CPPFLAGS'
39327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39330
39331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39332 /* end confdefs.h. */
39333 #include <math.h>
39334 #ifdef HAVE_IEEEFP_H
39335 #include <ieeefp.h>
39336 #endif
39337
39338 int
39339 main ()
39340 {
39341 _isnan(0);
39342 ;
39343 return 0;
39344 }
39345 _ACEOF
39346 if ac_fn_cxx_try_compile "$LINENO"; then :
39347 glibcxx_cv_func__isnan_use=yes
39348 else
39349 glibcxx_cv_func__isnan_use=no
39350 fi
39351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39352 ac_ext=c
39353 ac_cpp='$CPP $CPPFLAGS'
39354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39357
39358
39359 fi
39360
39361 fi
39362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39363 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39364
39365 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39366 for ac_func in _isnan
39367 do :
39368 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39369 if test "x$ac_cv_func__isnan" = x""yes; then :
39370 cat >>confdefs.h <<_ACEOF
39371 #define HAVE__ISNAN 1
39372 _ACEOF
39373
39374 fi
39375 done
39376
39377 fi
39378 fi
39379
39380
39381
39382
39383
39384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39385 $as_echo_n "checking for finite declaration... " >&6; }
39386 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39387 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39388 $as_echo_n "(cached) " >&6
39389 else
39390
39391
39392 ac_ext=cpp
39393 ac_cpp='$CXXCPP $CPPFLAGS'
39394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39397
39398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39399 /* end confdefs.h. */
39400 #include <math.h>
39401 #ifdef HAVE_IEEEFP_H
39402 #include <ieeefp.h>
39403 #endif
39404
39405 int
39406 main ()
39407 {
39408 finite(0);
39409 ;
39410 return 0;
39411 }
39412 _ACEOF
39413 if ac_fn_cxx_try_compile "$LINENO"; then :
39414 glibcxx_cv_func_finite_use=yes
39415 else
39416 glibcxx_cv_func_finite_use=no
39417 fi
39418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39419 ac_ext=c
39420 ac_cpp='$CPP $CPPFLAGS'
39421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39424
39425
39426 fi
39427
39428 fi
39429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39430 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39431
39432 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39433 for ac_func in finite
39434 do :
39435 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39436 if test "x$ac_cv_func_finite" = x""yes; then :
39437 cat >>confdefs.h <<_ACEOF
39438 #define HAVE_FINITE 1
39439 _ACEOF
39440
39441 fi
39442 done
39443
39444 else
39445
39446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39447 $as_echo_n "checking for _finite declaration... " >&6; }
39448 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39449 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39450 $as_echo_n "(cached) " >&6
39451 else
39452
39453
39454 ac_ext=cpp
39455 ac_cpp='$CXXCPP $CPPFLAGS'
39456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39459
39460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39461 /* end confdefs.h. */
39462 #include <math.h>
39463 #ifdef HAVE_IEEEFP_H
39464 #include <ieeefp.h>
39465 #endif
39466
39467 int
39468 main ()
39469 {
39470 _finite(0);
39471 ;
39472 return 0;
39473 }
39474 _ACEOF
39475 if ac_fn_cxx_try_compile "$LINENO"; then :
39476 glibcxx_cv_func__finite_use=yes
39477 else
39478 glibcxx_cv_func__finite_use=no
39479 fi
39480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39481 ac_ext=c
39482 ac_cpp='$CPP $CPPFLAGS'
39483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39486
39487
39488 fi
39489
39490 fi
39491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39492 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39493
39494 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39495 for ac_func in _finite
39496 do :
39497 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39498 if test "x$ac_cv_func__finite" = x""yes; then :
39499 cat >>confdefs.h <<_ACEOF
39500 #define HAVE__FINITE 1
39501 _ACEOF
39502
39503 fi
39504 done
39505
39506 fi
39507 fi
39508
39509
39510
39511
39512
39513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39514 $as_echo_n "checking for sincos declaration... " >&6; }
39515 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39516 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39517 $as_echo_n "(cached) " >&6
39518 else
39519
39520
39521 ac_ext=cpp
39522 ac_cpp='$CXXCPP $CPPFLAGS'
39523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39526
39527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39528 /* end confdefs.h. */
39529 #include <math.h>
39530 int
39531 main ()
39532 {
39533 sincos(0, 0, 0);
39534 ;
39535 return 0;
39536 }
39537 _ACEOF
39538 if ac_fn_cxx_try_compile "$LINENO"; then :
39539 glibcxx_cv_func_sincos_use=yes
39540 else
39541 glibcxx_cv_func_sincos_use=no
39542 fi
39543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39544 ac_ext=c
39545 ac_cpp='$CPP $CPPFLAGS'
39546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39549
39550
39551 fi
39552
39553 fi
39554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39555 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39556
39557 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39558 for ac_func in sincos
39559 do :
39560 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39561 if test "x$ac_cv_func_sincos" = x""yes; then :
39562 cat >>confdefs.h <<_ACEOF
39563 #define HAVE_SINCOS 1
39564 _ACEOF
39565
39566 fi
39567 done
39568
39569 else
39570
39571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39572 $as_echo_n "checking for _sincos declaration... " >&6; }
39573 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39574 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39575 $as_echo_n "(cached) " >&6
39576 else
39577
39578
39579 ac_ext=cpp
39580 ac_cpp='$CXXCPP $CPPFLAGS'
39581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39584
39585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39586 /* end confdefs.h. */
39587 #include <math.h>
39588 int
39589 main ()
39590 {
39591 _sincos(0, 0, 0);
39592 ;
39593 return 0;
39594 }
39595 _ACEOF
39596 if ac_fn_cxx_try_compile "$LINENO"; then :
39597 glibcxx_cv_func__sincos_use=yes
39598 else
39599 glibcxx_cv_func__sincos_use=no
39600 fi
39601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39602 ac_ext=c
39603 ac_cpp='$CPP $CPPFLAGS'
39604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39607
39608
39609 fi
39610
39611 fi
39612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39613 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39614
39615 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39616 for ac_func in _sincos
39617 do :
39618 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39619 if test "x$ac_cv_func__sincos" = x""yes; then :
39620 cat >>confdefs.h <<_ACEOF
39621 #define HAVE__SINCOS 1
39622 _ACEOF
39623
39624 fi
39625 done
39626
39627 fi
39628 fi
39629
39630
39631
39632
39633
39634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39635 $as_echo_n "checking for fpclass declaration... " >&6; }
39636 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39637 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39638 $as_echo_n "(cached) " >&6
39639 else
39640
39641
39642 ac_ext=cpp
39643 ac_cpp='$CXXCPP $CPPFLAGS'
39644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39647
39648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39649 /* end confdefs.h. */
39650 #include <math.h>
39651 #ifdef HAVE_IEEEFP_H
39652 #include <ieeefp.h>
39653 #endif
39654
39655 int
39656 main ()
39657 {
39658 fpclass(0);
39659 ;
39660 return 0;
39661 }
39662 _ACEOF
39663 if ac_fn_cxx_try_compile "$LINENO"; then :
39664 glibcxx_cv_func_fpclass_use=yes
39665 else
39666 glibcxx_cv_func_fpclass_use=no
39667 fi
39668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39669 ac_ext=c
39670 ac_cpp='$CPP $CPPFLAGS'
39671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39674
39675
39676 fi
39677
39678 fi
39679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39680 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39681
39682 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39683 for ac_func in fpclass
39684 do :
39685 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39686 if test "x$ac_cv_func_fpclass" = x""yes; then :
39687 cat >>confdefs.h <<_ACEOF
39688 #define HAVE_FPCLASS 1
39689 _ACEOF
39690
39691 fi
39692 done
39693
39694 else
39695
39696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39697 $as_echo_n "checking for _fpclass declaration... " >&6; }
39698 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39699 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39700 $as_echo_n "(cached) " >&6
39701 else
39702
39703
39704 ac_ext=cpp
39705 ac_cpp='$CXXCPP $CPPFLAGS'
39706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39709
39710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39711 /* end confdefs.h. */
39712 #include <math.h>
39713 #ifdef HAVE_IEEEFP_H
39714 #include <ieeefp.h>
39715 #endif
39716
39717 int
39718 main ()
39719 {
39720 _fpclass(0);
39721 ;
39722 return 0;
39723 }
39724 _ACEOF
39725 if ac_fn_cxx_try_compile "$LINENO"; then :
39726 glibcxx_cv_func__fpclass_use=yes
39727 else
39728 glibcxx_cv_func__fpclass_use=no
39729 fi
39730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39731 ac_ext=c
39732 ac_cpp='$CPP $CPPFLAGS'
39733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39736
39737
39738 fi
39739
39740 fi
39741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39742 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39743
39744 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39745 for ac_func in _fpclass
39746 do :
39747 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39748 if test "x$ac_cv_func__fpclass" = x""yes; then :
39749 cat >>confdefs.h <<_ACEOF
39750 #define HAVE__FPCLASS 1
39751 _ACEOF
39752
39753 fi
39754 done
39755
39756 fi
39757 fi
39758
39759
39760
39761
39762
39763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39764 $as_echo_n "checking for qfpclass declaration... " >&6; }
39765 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39766 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39767 $as_echo_n "(cached) " >&6
39768 else
39769
39770
39771 ac_ext=cpp
39772 ac_cpp='$CXXCPP $CPPFLAGS'
39773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39776
39777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39778 /* end confdefs.h. */
39779 #include <math.h>
39780 #ifdef HAVE_IEEEFP_H
39781 #include <ieeefp.h>
39782 #endif
39783
39784 int
39785 main ()
39786 {
39787 qfpclass(0);
39788 ;
39789 return 0;
39790 }
39791 _ACEOF
39792 if ac_fn_cxx_try_compile "$LINENO"; then :
39793 glibcxx_cv_func_qfpclass_use=yes
39794 else
39795 glibcxx_cv_func_qfpclass_use=no
39796 fi
39797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39798 ac_ext=c
39799 ac_cpp='$CPP $CPPFLAGS'
39800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39803
39804
39805 fi
39806
39807 fi
39808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39809 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39810
39811 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39812 for ac_func in qfpclass
39813 do :
39814 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39815 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39816 cat >>confdefs.h <<_ACEOF
39817 #define HAVE_QFPCLASS 1
39818 _ACEOF
39819
39820 fi
39821 done
39822
39823 else
39824
39825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39826 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39827 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39828 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39829 $as_echo_n "(cached) " >&6
39830 else
39831
39832
39833 ac_ext=cpp
39834 ac_cpp='$CXXCPP $CPPFLAGS'
39835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39838
39839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39840 /* end confdefs.h. */
39841 #include <math.h>
39842 #ifdef HAVE_IEEEFP_H
39843 #include <ieeefp.h>
39844 #endif
39845
39846 int
39847 main ()
39848 {
39849 _qfpclass(0);
39850 ;
39851 return 0;
39852 }
39853 _ACEOF
39854 if ac_fn_cxx_try_compile "$LINENO"; then :
39855 glibcxx_cv_func__qfpclass_use=yes
39856 else
39857 glibcxx_cv_func__qfpclass_use=no
39858 fi
39859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39860 ac_ext=c
39861 ac_cpp='$CPP $CPPFLAGS'
39862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39865
39866
39867 fi
39868
39869 fi
39870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39871 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39872
39873 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39874 for ac_func in _qfpclass
39875 do :
39876 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39877 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39878 cat >>confdefs.h <<_ACEOF
39879 #define HAVE__QFPCLASS 1
39880 _ACEOF
39881
39882 fi
39883 done
39884
39885 fi
39886 fi
39887
39888
39889
39890
39891
39892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39893 $as_echo_n "checking for hypot declaration... " >&6; }
39894 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39895 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39896 $as_echo_n "(cached) " >&6
39897 else
39898
39899
39900 ac_ext=cpp
39901 ac_cpp='$CXXCPP $CPPFLAGS'
39902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39905
39906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39907 /* end confdefs.h. */
39908 #include <math.h>
39909 int
39910 main ()
39911 {
39912 hypot(0, 0);
39913 ;
39914 return 0;
39915 }
39916 _ACEOF
39917 if ac_fn_cxx_try_compile "$LINENO"; then :
39918 glibcxx_cv_func_hypot_use=yes
39919 else
39920 glibcxx_cv_func_hypot_use=no
39921 fi
39922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39923 ac_ext=c
39924 ac_cpp='$CPP $CPPFLAGS'
39925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39928
39929
39930 fi
39931
39932 fi
39933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
39934 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
39935
39936 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
39937 for ac_func in hypot
39938 do :
39939 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
39940 if test "x$ac_cv_func_hypot" = x""yes; then :
39941 cat >>confdefs.h <<_ACEOF
39942 #define HAVE_HYPOT 1
39943 _ACEOF
39944
39945 fi
39946 done
39947
39948 else
39949
39950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
39951 $as_echo_n "checking for _hypot declaration... " >&6; }
39952 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
39953 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
39954 $as_echo_n "(cached) " >&6
39955 else
39956
39957
39958 ac_ext=cpp
39959 ac_cpp='$CXXCPP $CPPFLAGS'
39960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39963
39964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39965 /* end confdefs.h. */
39966 #include <math.h>
39967 int
39968 main ()
39969 {
39970 _hypot(0, 0);
39971 ;
39972 return 0;
39973 }
39974 _ACEOF
39975 if ac_fn_cxx_try_compile "$LINENO"; then :
39976 glibcxx_cv_func__hypot_use=yes
39977 else
39978 glibcxx_cv_func__hypot_use=no
39979 fi
39980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39981 ac_ext=c
39982 ac_cpp='$CPP $CPPFLAGS'
39983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39986
39987
39988 fi
39989
39990 fi
39991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
39992 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
39993
39994 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
39995 for ac_func in _hypot
39996 do :
39997 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
39998 if test "x$ac_cv_func__hypot" = x""yes; then :
39999 cat >>confdefs.h <<_ACEOF
40000 #define HAVE__HYPOT 1
40001 _ACEOF
40002
40003 fi
40004 done
40005
40006 fi
40007 fi
40008
40009
40010
40011
40012
40013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40014 $as_echo_n "checking for float trig functions... " >&6; }
40015 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40016 $as_echo_n "(cached) " >&6
40017 else
40018
40019
40020 ac_ext=cpp
40021 ac_cpp='$CXXCPP $CPPFLAGS'
40022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40025
40026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40027 /* end confdefs.h. */
40028 #include <math.h>
40029 int
40030 main ()
40031 {
40032 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40033 ;
40034 return 0;
40035 }
40036 _ACEOF
40037 if ac_fn_cxx_try_compile "$LINENO"; then :
40038 glibcxx_cv_func_float_trig_use=yes
40039 else
40040 glibcxx_cv_func_float_trig_use=no
40041 fi
40042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40043 ac_ext=c
40044 ac_cpp='$CPP $CPPFLAGS'
40045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40048
40049 fi
40050
40051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40052 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40053 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40054 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40055 do :
40056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40058 eval as_val=\$$as_ac_var
40059 if test "x$as_val" = x""yes; then :
40060 cat >>confdefs.h <<_ACEOF
40061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40062 _ACEOF
40063
40064 fi
40065 done
40066
40067 else
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40069 $as_echo_n "checking for _float trig functions... " >&6; }
40070 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40071 $as_echo_n "(cached) " >&6
40072 else
40073
40074
40075 ac_ext=cpp
40076 ac_cpp='$CXXCPP $CPPFLAGS'
40077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40080
40081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40082 /* end confdefs.h. */
40083 #include <math.h>
40084 int
40085 main ()
40086 {
40087 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40088 ;
40089 return 0;
40090 }
40091 _ACEOF
40092 if ac_fn_cxx_try_compile "$LINENO"; then :
40093 glibcxx_cv_func__float_trig_use=yes
40094 else
40095 glibcxx_cv_func__float_trig_use=no
40096 fi
40097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40098 ac_ext=c
40099 ac_cpp='$CPP $CPPFLAGS'
40100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40103
40104 fi
40105
40106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40107 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40108 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40109 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40110 do :
40111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40113 eval as_val=\$$as_ac_var
40114 if test "x$as_val" = x""yes; then :
40115 cat >>confdefs.h <<_ACEOF
40116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40117 _ACEOF
40118
40119 fi
40120 done
40121
40122 fi
40123 fi
40124
40125
40126
40127
40128
40129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40130 $as_echo_n "checking for float round functions... " >&6; }
40131 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40132 $as_echo_n "(cached) " >&6
40133 else
40134
40135
40136 ac_ext=cpp
40137 ac_cpp='$CXXCPP $CPPFLAGS'
40138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40141
40142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40143 /* end confdefs.h. */
40144 #include <math.h>
40145 int
40146 main ()
40147 {
40148 ceilf (0); floorf (0);
40149 ;
40150 return 0;
40151 }
40152 _ACEOF
40153 if ac_fn_cxx_try_compile "$LINENO"; then :
40154 glibcxx_cv_func_float_round_use=yes
40155 else
40156 glibcxx_cv_func_float_round_use=no
40157 fi
40158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40159 ac_ext=c
40160 ac_cpp='$CPP $CPPFLAGS'
40161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40164
40165 fi
40166
40167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40168 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40169 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40170 for ac_func in ceilf floorf
40171 do :
40172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40174 eval as_val=\$$as_ac_var
40175 if test "x$as_val" = x""yes; then :
40176 cat >>confdefs.h <<_ACEOF
40177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40178 _ACEOF
40179
40180 fi
40181 done
40182
40183 else
40184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40185 $as_echo_n "checking for _float round functions... " >&6; }
40186 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40187 $as_echo_n "(cached) " >&6
40188 else
40189
40190
40191 ac_ext=cpp
40192 ac_cpp='$CXXCPP $CPPFLAGS'
40193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40196
40197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40198 /* end confdefs.h. */
40199 #include <math.h>
40200 int
40201 main ()
40202 {
40203 _ceilf (0); _floorf (0);
40204 ;
40205 return 0;
40206 }
40207 _ACEOF
40208 if ac_fn_cxx_try_compile "$LINENO"; then :
40209 glibcxx_cv_func__float_round_use=yes
40210 else
40211 glibcxx_cv_func__float_round_use=no
40212 fi
40213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40214 ac_ext=c
40215 ac_cpp='$CPP $CPPFLAGS'
40216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40219
40220 fi
40221
40222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40223 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40224 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40225 for ac_func in _ceilf _floorf
40226 do :
40227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40229 eval as_val=\$$as_ac_var
40230 if test "x$as_val" = x""yes; then :
40231 cat >>confdefs.h <<_ACEOF
40232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40233 _ACEOF
40234
40235 fi
40236 done
40237
40238 fi
40239 fi
40240
40241
40242
40243
40244
40245
40246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40247 $as_echo_n "checking for expf declaration... " >&6; }
40248 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40249 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40250 $as_echo_n "(cached) " >&6
40251 else
40252
40253
40254 ac_ext=cpp
40255 ac_cpp='$CXXCPP $CPPFLAGS'
40256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40259
40260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40261 /* end confdefs.h. */
40262 #include <math.h>
40263 #ifdef HAVE_IEEEFP_H
40264 #include <ieeefp.h>
40265 #endif
40266
40267 int
40268 main ()
40269 {
40270 expf(0);
40271 ;
40272 return 0;
40273 }
40274 _ACEOF
40275 if ac_fn_cxx_try_compile "$LINENO"; then :
40276 glibcxx_cv_func_expf_use=yes
40277 else
40278 glibcxx_cv_func_expf_use=no
40279 fi
40280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40281 ac_ext=c
40282 ac_cpp='$CPP $CPPFLAGS'
40283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40286
40287
40288 fi
40289
40290 fi
40291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40292 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40293
40294 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40295 for ac_func in expf
40296 do :
40297 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40298 if test "x$ac_cv_func_expf" = x""yes; then :
40299 cat >>confdefs.h <<_ACEOF
40300 #define HAVE_EXPF 1
40301 _ACEOF
40302
40303 fi
40304 done
40305
40306 else
40307
40308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40309 $as_echo_n "checking for _expf declaration... " >&6; }
40310 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40311 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40312 $as_echo_n "(cached) " >&6
40313 else
40314
40315
40316 ac_ext=cpp
40317 ac_cpp='$CXXCPP $CPPFLAGS'
40318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40321
40322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40323 /* end confdefs.h. */
40324 #include <math.h>
40325 #ifdef HAVE_IEEEFP_H
40326 #include <ieeefp.h>
40327 #endif
40328
40329 int
40330 main ()
40331 {
40332 _expf(0);
40333 ;
40334 return 0;
40335 }
40336 _ACEOF
40337 if ac_fn_cxx_try_compile "$LINENO"; then :
40338 glibcxx_cv_func__expf_use=yes
40339 else
40340 glibcxx_cv_func__expf_use=no
40341 fi
40342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40343 ac_ext=c
40344 ac_cpp='$CPP $CPPFLAGS'
40345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40348
40349
40350 fi
40351
40352 fi
40353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40354 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40355
40356 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40357 for ac_func in _expf
40358 do :
40359 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40360 if test "x$ac_cv_func__expf" = x""yes; then :
40361 cat >>confdefs.h <<_ACEOF
40362 #define HAVE__EXPF 1
40363 _ACEOF
40364
40365 fi
40366 done
40367
40368 fi
40369 fi
40370
40371
40372
40373
40374
40375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40376 $as_echo_n "checking for isnanf declaration... " >&6; }
40377 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40378 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40379 $as_echo_n "(cached) " >&6
40380 else
40381
40382
40383 ac_ext=cpp
40384 ac_cpp='$CXXCPP $CPPFLAGS'
40385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40388
40389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40390 /* end confdefs.h. */
40391 #include <math.h>
40392 #ifdef HAVE_IEEEFP_H
40393 #include <ieeefp.h>
40394 #endif
40395
40396 int
40397 main ()
40398 {
40399 isnanf(0);
40400 ;
40401 return 0;
40402 }
40403 _ACEOF
40404 if ac_fn_cxx_try_compile "$LINENO"; then :
40405 glibcxx_cv_func_isnanf_use=yes
40406 else
40407 glibcxx_cv_func_isnanf_use=no
40408 fi
40409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40410 ac_ext=c
40411 ac_cpp='$CPP $CPPFLAGS'
40412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40415
40416
40417 fi
40418
40419 fi
40420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40421 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40422
40423 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40424 for ac_func in isnanf
40425 do :
40426 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40427 if test "x$ac_cv_func_isnanf" = x""yes; then :
40428 cat >>confdefs.h <<_ACEOF
40429 #define HAVE_ISNANF 1
40430 _ACEOF
40431
40432 fi
40433 done
40434
40435 else
40436
40437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40438 $as_echo_n "checking for _isnanf declaration... " >&6; }
40439 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40440 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40441 $as_echo_n "(cached) " >&6
40442 else
40443
40444
40445 ac_ext=cpp
40446 ac_cpp='$CXXCPP $CPPFLAGS'
40447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40450
40451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40452 /* end confdefs.h. */
40453 #include <math.h>
40454 #ifdef HAVE_IEEEFP_H
40455 #include <ieeefp.h>
40456 #endif
40457
40458 int
40459 main ()
40460 {
40461 _isnanf(0);
40462 ;
40463 return 0;
40464 }
40465 _ACEOF
40466 if ac_fn_cxx_try_compile "$LINENO"; then :
40467 glibcxx_cv_func__isnanf_use=yes
40468 else
40469 glibcxx_cv_func__isnanf_use=no
40470 fi
40471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40472 ac_ext=c
40473 ac_cpp='$CPP $CPPFLAGS'
40474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40477
40478
40479 fi
40480
40481 fi
40482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40483 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40484
40485 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40486 for ac_func in _isnanf
40487 do :
40488 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40489 if test "x$ac_cv_func__isnanf" = x""yes; then :
40490 cat >>confdefs.h <<_ACEOF
40491 #define HAVE__ISNANF 1
40492 _ACEOF
40493
40494 fi
40495 done
40496
40497 fi
40498 fi
40499
40500
40501
40502
40503
40504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40505 $as_echo_n "checking for isinff declaration... " >&6; }
40506 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40507 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40508 $as_echo_n "(cached) " >&6
40509 else
40510
40511
40512 ac_ext=cpp
40513 ac_cpp='$CXXCPP $CPPFLAGS'
40514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40517
40518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40519 /* end confdefs.h. */
40520 #include <math.h>
40521 #ifdef HAVE_IEEEFP_H
40522 #include <ieeefp.h>
40523 #endif
40524
40525 int
40526 main ()
40527 {
40528 isinff(0);
40529 ;
40530 return 0;
40531 }
40532 _ACEOF
40533 if ac_fn_cxx_try_compile "$LINENO"; then :
40534 glibcxx_cv_func_isinff_use=yes
40535 else
40536 glibcxx_cv_func_isinff_use=no
40537 fi
40538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40539 ac_ext=c
40540 ac_cpp='$CPP $CPPFLAGS'
40541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40544
40545
40546 fi
40547
40548 fi
40549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40550 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40551
40552 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40553 for ac_func in isinff
40554 do :
40555 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40556 if test "x$ac_cv_func_isinff" = x""yes; then :
40557 cat >>confdefs.h <<_ACEOF
40558 #define HAVE_ISINFF 1
40559 _ACEOF
40560
40561 fi
40562 done
40563
40564 else
40565
40566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40567 $as_echo_n "checking for _isinff declaration... " >&6; }
40568 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40569 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40570 $as_echo_n "(cached) " >&6
40571 else
40572
40573
40574 ac_ext=cpp
40575 ac_cpp='$CXXCPP $CPPFLAGS'
40576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40579
40580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40581 /* end confdefs.h. */
40582 #include <math.h>
40583 #ifdef HAVE_IEEEFP_H
40584 #include <ieeefp.h>
40585 #endif
40586
40587 int
40588 main ()
40589 {
40590 _isinff(0);
40591 ;
40592 return 0;
40593 }
40594 _ACEOF
40595 if ac_fn_cxx_try_compile "$LINENO"; then :
40596 glibcxx_cv_func__isinff_use=yes
40597 else
40598 glibcxx_cv_func__isinff_use=no
40599 fi
40600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40601 ac_ext=c
40602 ac_cpp='$CPP $CPPFLAGS'
40603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40606
40607
40608 fi
40609
40610 fi
40611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40612 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40613
40614 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40615 for ac_func in _isinff
40616 do :
40617 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40618 if test "x$ac_cv_func__isinff" = x""yes; then :
40619 cat >>confdefs.h <<_ACEOF
40620 #define HAVE__ISINFF 1
40621 _ACEOF
40622
40623 fi
40624 done
40625
40626 fi
40627 fi
40628
40629
40630
40631
40632
40633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40634 $as_echo_n "checking for atan2f declaration... " >&6; }
40635 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40636 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40637 $as_echo_n "(cached) " >&6
40638 else
40639
40640
40641 ac_ext=cpp
40642 ac_cpp='$CXXCPP $CPPFLAGS'
40643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40646
40647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40648 /* end confdefs.h. */
40649 #include <math.h>
40650 int
40651 main ()
40652 {
40653 atan2f(0, 0);
40654 ;
40655 return 0;
40656 }
40657 _ACEOF
40658 if ac_fn_cxx_try_compile "$LINENO"; then :
40659 glibcxx_cv_func_atan2f_use=yes
40660 else
40661 glibcxx_cv_func_atan2f_use=no
40662 fi
40663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40664 ac_ext=c
40665 ac_cpp='$CPP $CPPFLAGS'
40666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40669
40670
40671 fi
40672
40673 fi
40674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40675 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40676
40677 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40678 for ac_func in atan2f
40679 do :
40680 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40681 if test "x$ac_cv_func_atan2f" = x""yes; then :
40682 cat >>confdefs.h <<_ACEOF
40683 #define HAVE_ATAN2F 1
40684 _ACEOF
40685
40686 fi
40687 done
40688
40689 else
40690
40691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40692 $as_echo_n "checking for _atan2f declaration... " >&6; }
40693 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40694 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40695 $as_echo_n "(cached) " >&6
40696 else
40697
40698
40699 ac_ext=cpp
40700 ac_cpp='$CXXCPP $CPPFLAGS'
40701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40704
40705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40706 /* end confdefs.h. */
40707 #include <math.h>
40708 int
40709 main ()
40710 {
40711 _atan2f(0, 0);
40712 ;
40713 return 0;
40714 }
40715 _ACEOF
40716 if ac_fn_cxx_try_compile "$LINENO"; then :
40717 glibcxx_cv_func__atan2f_use=yes
40718 else
40719 glibcxx_cv_func__atan2f_use=no
40720 fi
40721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40722 ac_ext=c
40723 ac_cpp='$CPP $CPPFLAGS'
40724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40727
40728
40729 fi
40730
40731 fi
40732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40733 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40734
40735 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40736 for ac_func in _atan2f
40737 do :
40738 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40739 if test "x$ac_cv_func__atan2f" = x""yes; then :
40740 cat >>confdefs.h <<_ACEOF
40741 #define HAVE__ATAN2F 1
40742 _ACEOF
40743
40744 fi
40745 done
40746
40747 fi
40748 fi
40749
40750
40751
40752
40753
40754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40755 $as_echo_n "checking for fabsf declaration... " >&6; }
40756 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40757 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40758 $as_echo_n "(cached) " >&6
40759 else
40760
40761
40762 ac_ext=cpp
40763 ac_cpp='$CXXCPP $CPPFLAGS'
40764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40767
40768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40769 /* end confdefs.h. */
40770 #include <math.h>
40771 #ifdef HAVE_IEEEFP_H
40772 #include <ieeefp.h>
40773 #endif
40774
40775 int
40776 main ()
40777 {
40778 fabsf(0);
40779 ;
40780 return 0;
40781 }
40782 _ACEOF
40783 if ac_fn_cxx_try_compile "$LINENO"; then :
40784 glibcxx_cv_func_fabsf_use=yes
40785 else
40786 glibcxx_cv_func_fabsf_use=no
40787 fi
40788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40789 ac_ext=c
40790 ac_cpp='$CPP $CPPFLAGS'
40791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40794
40795
40796 fi
40797
40798 fi
40799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40800 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40801
40802 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40803 for ac_func in fabsf
40804 do :
40805 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40806 if test "x$ac_cv_func_fabsf" = x""yes; then :
40807 cat >>confdefs.h <<_ACEOF
40808 #define HAVE_FABSF 1
40809 _ACEOF
40810
40811 fi
40812 done
40813
40814 else
40815
40816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40817 $as_echo_n "checking for _fabsf declaration... " >&6; }
40818 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40819 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40820 $as_echo_n "(cached) " >&6
40821 else
40822
40823
40824 ac_ext=cpp
40825 ac_cpp='$CXXCPP $CPPFLAGS'
40826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40829
40830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40831 /* end confdefs.h. */
40832 #include <math.h>
40833 #ifdef HAVE_IEEEFP_H
40834 #include <ieeefp.h>
40835 #endif
40836
40837 int
40838 main ()
40839 {
40840 _fabsf(0);
40841 ;
40842 return 0;
40843 }
40844 _ACEOF
40845 if ac_fn_cxx_try_compile "$LINENO"; then :
40846 glibcxx_cv_func__fabsf_use=yes
40847 else
40848 glibcxx_cv_func__fabsf_use=no
40849 fi
40850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40851 ac_ext=c
40852 ac_cpp='$CPP $CPPFLAGS'
40853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40856
40857
40858 fi
40859
40860 fi
40861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40862 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40863
40864 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40865 for ac_func in _fabsf
40866 do :
40867 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40868 if test "x$ac_cv_func__fabsf" = x""yes; then :
40869 cat >>confdefs.h <<_ACEOF
40870 #define HAVE__FABSF 1
40871 _ACEOF
40872
40873 fi
40874 done
40875
40876 fi
40877 fi
40878
40879
40880
40881
40882
40883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40884 $as_echo_n "checking for fmodf declaration... " >&6; }
40885 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40886 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40887 $as_echo_n "(cached) " >&6
40888 else
40889
40890
40891 ac_ext=cpp
40892 ac_cpp='$CXXCPP $CPPFLAGS'
40893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40896
40897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40898 /* end confdefs.h. */
40899 #include <math.h>
40900 int
40901 main ()
40902 {
40903 fmodf(0, 0);
40904 ;
40905 return 0;
40906 }
40907 _ACEOF
40908 if ac_fn_cxx_try_compile "$LINENO"; then :
40909 glibcxx_cv_func_fmodf_use=yes
40910 else
40911 glibcxx_cv_func_fmodf_use=no
40912 fi
40913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40914 ac_ext=c
40915 ac_cpp='$CPP $CPPFLAGS'
40916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40919
40920
40921 fi
40922
40923 fi
40924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40925 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40926
40927 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40928 for ac_func in fmodf
40929 do :
40930 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40931 if test "x$ac_cv_func_fmodf" = x""yes; then :
40932 cat >>confdefs.h <<_ACEOF
40933 #define HAVE_FMODF 1
40934 _ACEOF
40935
40936 fi
40937 done
40938
40939 else
40940
40941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
40942 $as_echo_n "checking for _fmodf declaration... " >&6; }
40943 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
40944 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
40945 $as_echo_n "(cached) " >&6
40946 else
40947
40948
40949 ac_ext=cpp
40950 ac_cpp='$CXXCPP $CPPFLAGS'
40951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40954
40955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40956 /* end confdefs.h. */
40957 #include <math.h>
40958 int
40959 main ()
40960 {
40961 _fmodf(0, 0);
40962 ;
40963 return 0;
40964 }
40965 _ACEOF
40966 if ac_fn_cxx_try_compile "$LINENO"; then :
40967 glibcxx_cv_func__fmodf_use=yes
40968 else
40969 glibcxx_cv_func__fmodf_use=no
40970 fi
40971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40972 ac_ext=c
40973 ac_cpp='$CPP $CPPFLAGS'
40974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40977
40978
40979 fi
40980
40981 fi
40982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
40983 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
40984
40985 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
40986 for ac_func in _fmodf
40987 do :
40988 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
40989 if test "x$ac_cv_func__fmodf" = x""yes; then :
40990 cat >>confdefs.h <<_ACEOF
40991 #define HAVE__FMODF 1
40992 _ACEOF
40993
40994 fi
40995 done
40996
40997 fi
40998 fi
40999
41000
41001
41002
41003
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41005 $as_echo_n "checking for frexpf declaration... " >&6; }
41006 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41007 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41008 $as_echo_n "(cached) " >&6
41009 else
41010
41011
41012 ac_ext=cpp
41013 ac_cpp='$CXXCPP $CPPFLAGS'
41014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41017
41018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41019 /* end confdefs.h. */
41020 #include <math.h>
41021 int
41022 main ()
41023 {
41024 frexpf(0, 0);
41025 ;
41026 return 0;
41027 }
41028 _ACEOF
41029 if ac_fn_cxx_try_compile "$LINENO"; then :
41030 glibcxx_cv_func_frexpf_use=yes
41031 else
41032 glibcxx_cv_func_frexpf_use=no
41033 fi
41034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41035 ac_ext=c
41036 ac_cpp='$CPP $CPPFLAGS'
41037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41040
41041
41042 fi
41043
41044 fi
41045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41046 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41047
41048 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41049 for ac_func in frexpf
41050 do :
41051 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41052 if test "x$ac_cv_func_frexpf" = x""yes; then :
41053 cat >>confdefs.h <<_ACEOF
41054 #define HAVE_FREXPF 1
41055 _ACEOF
41056
41057 fi
41058 done
41059
41060 else
41061
41062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41063 $as_echo_n "checking for _frexpf declaration... " >&6; }
41064 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41065 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41066 $as_echo_n "(cached) " >&6
41067 else
41068
41069
41070 ac_ext=cpp
41071 ac_cpp='$CXXCPP $CPPFLAGS'
41072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41075
41076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41077 /* end confdefs.h. */
41078 #include <math.h>
41079 int
41080 main ()
41081 {
41082 _frexpf(0, 0);
41083 ;
41084 return 0;
41085 }
41086 _ACEOF
41087 if ac_fn_cxx_try_compile "$LINENO"; then :
41088 glibcxx_cv_func__frexpf_use=yes
41089 else
41090 glibcxx_cv_func__frexpf_use=no
41091 fi
41092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41093 ac_ext=c
41094 ac_cpp='$CPP $CPPFLAGS'
41095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41098
41099
41100 fi
41101
41102 fi
41103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41104 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41105
41106 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41107 for ac_func in _frexpf
41108 do :
41109 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41110 if test "x$ac_cv_func__frexpf" = x""yes; then :
41111 cat >>confdefs.h <<_ACEOF
41112 #define HAVE__FREXPF 1
41113 _ACEOF
41114
41115 fi
41116 done
41117
41118 fi
41119 fi
41120
41121
41122
41123
41124
41125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41126 $as_echo_n "checking for hypotf declaration... " >&6; }
41127 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41128 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41129 $as_echo_n "(cached) " >&6
41130 else
41131
41132
41133 ac_ext=cpp
41134 ac_cpp='$CXXCPP $CPPFLAGS'
41135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41138
41139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41140 /* end confdefs.h. */
41141 #include <math.h>
41142 int
41143 main ()
41144 {
41145 hypotf(0, 0);
41146 ;
41147 return 0;
41148 }
41149 _ACEOF
41150 if ac_fn_cxx_try_compile "$LINENO"; then :
41151 glibcxx_cv_func_hypotf_use=yes
41152 else
41153 glibcxx_cv_func_hypotf_use=no
41154 fi
41155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41156 ac_ext=c
41157 ac_cpp='$CPP $CPPFLAGS'
41158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41161
41162
41163 fi
41164
41165 fi
41166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41167 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41168
41169 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41170 for ac_func in hypotf
41171 do :
41172 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41173 if test "x$ac_cv_func_hypotf" = x""yes; then :
41174 cat >>confdefs.h <<_ACEOF
41175 #define HAVE_HYPOTF 1
41176 _ACEOF
41177
41178 fi
41179 done
41180
41181 else
41182
41183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41184 $as_echo_n "checking for _hypotf declaration... " >&6; }
41185 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41186 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41187 $as_echo_n "(cached) " >&6
41188 else
41189
41190
41191 ac_ext=cpp
41192 ac_cpp='$CXXCPP $CPPFLAGS'
41193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41196
41197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41198 /* end confdefs.h. */
41199 #include <math.h>
41200 int
41201 main ()
41202 {
41203 _hypotf(0, 0);
41204 ;
41205 return 0;
41206 }
41207 _ACEOF
41208 if ac_fn_cxx_try_compile "$LINENO"; then :
41209 glibcxx_cv_func__hypotf_use=yes
41210 else
41211 glibcxx_cv_func__hypotf_use=no
41212 fi
41213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41214 ac_ext=c
41215 ac_cpp='$CPP $CPPFLAGS'
41216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41219
41220
41221 fi
41222
41223 fi
41224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41225 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41226
41227 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41228 for ac_func in _hypotf
41229 do :
41230 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41231 if test "x$ac_cv_func__hypotf" = x""yes; then :
41232 cat >>confdefs.h <<_ACEOF
41233 #define HAVE__HYPOTF 1
41234 _ACEOF
41235
41236 fi
41237 done
41238
41239 fi
41240 fi
41241
41242
41243
41244
41245
41246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41247 $as_echo_n "checking for ldexpf declaration... " >&6; }
41248 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41249 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41250 $as_echo_n "(cached) " >&6
41251 else
41252
41253
41254 ac_ext=cpp
41255 ac_cpp='$CXXCPP $CPPFLAGS'
41256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41259
41260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41261 /* end confdefs.h. */
41262 #include <math.h>
41263 int
41264 main ()
41265 {
41266 ldexpf(0, 0);
41267 ;
41268 return 0;
41269 }
41270 _ACEOF
41271 if ac_fn_cxx_try_compile "$LINENO"; then :
41272 glibcxx_cv_func_ldexpf_use=yes
41273 else
41274 glibcxx_cv_func_ldexpf_use=no
41275 fi
41276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41277 ac_ext=c
41278 ac_cpp='$CPP $CPPFLAGS'
41279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41282
41283
41284 fi
41285
41286 fi
41287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41288 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41289
41290 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41291 for ac_func in ldexpf
41292 do :
41293 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41294 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41295 cat >>confdefs.h <<_ACEOF
41296 #define HAVE_LDEXPF 1
41297 _ACEOF
41298
41299 fi
41300 done
41301
41302 else
41303
41304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41305 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41306 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41307 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41308 $as_echo_n "(cached) " >&6
41309 else
41310
41311
41312 ac_ext=cpp
41313 ac_cpp='$CXXCPP $CPPFLAGS'
41314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41317
41318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41319 /* end confdefs.h. */
41320 #include <math.h>
41321 int
41322 main ()
41323 {
41324 _ldexpf(0, 0);
41325 ;
41326 return 0;
41327 }
41328 _ACEOF
41329 if ac_fn_cxx_try_compile "$LINENO"; then :
41330 glibcxx_cv_func__ldexpf_use=yes
41331 else
41332 glibcxx_cv_func__ldexpf_use=no
41333 fi
41334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41335 ac_ext=c
41336 ac_cpp='$CPP $CPPFLAGS'
41337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41340
41341
41342 fi
41343
41344 fi
41345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41346 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41347
41348 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41349 for ac_func in _ldexpf
41350 do :
41351 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41352 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41353 cat >>confdefs.h <<_ACEOF
41354 #define HAVE__LDEXPF 1
41355 _ACEOF
41356
41357 fi
41358 done
41359
41360 fi
41361 fi
41362
41363
41364
41365
41366
41367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41368 $as_echo_n "checking for logf declaration... " >&6; }
41369 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41370 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41371 $as_echo_n "(cached) " >&6
41372 else
41373
41374
41375 ac_ext=cpp
41376 ac_cpp='$CXXCPP $CPPFLAGS'
41377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41380
41381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41382 /* end confdefs.h. */
41383 #include <math.h>
41384 #ifdef HAVE_IEEEFP_H
41385 #include <ieeefp.h>
41386 #endif
41387
41388 int
41389 main ()
41390 {
41391 logf(0);
41392 ;
41393 return 0;
41394 }
41395 _ACEOF
41396 if ac_fn_cxx_try_compile "$LINENO"; then :
41397 glibcxx_cv_func_logf_use=yes
41398 else
41399 glibcxx_cv_func_logf_use=no
41400 fi
41401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41402 ac_ext=c
41403 ac_cpp='$CPP $CPPFLAGS'
41404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41407
41408
41409 fi
41410
41411 fi
41412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41413 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41414
41415 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41416 for ac_func in logf
41417 do :
41418 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41419 if test "x$ac_cv_func_logf" = x""yes; then :
41420 cat >>confdefs.h <<_ACEOF
41421 #define HAVE_LOGF 1
41422 _ACEOF
41423
41424 fi
41425 done
41426
41427 else
41428
41429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41430 $as_echo_n "checking for _logf declaration... " >&6; }
41431 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41432 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41433 $as_echo_n "(cached) " >&6
41434 else
41435
41436
41437 ac_ext=cpp
41438 ac_cpp='$CXXCPP $CPPFLAGS'
41439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41442
41443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41444 /* end confdefs.h. */
41445 #include <math.h>
41446 #ifdef HAVE_IEEEFP_H
41447 #include <ieeefp.h>
41448 #endif
41449
41450 int
41451 main ()
41452 {
41453 _logf(0);
41454 ;
41455 return 0;
41456 }
41457 _ACEOF
41458 if ac_fn_cxx_try_compile "$LINENO"; then :
41459 glibcxx_cv_func__logf_use=yes
41460 else
41461 glibcxx_cv_func__logf_use=no
41462 fi
41463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41464 ac_ext=c
41465 ac_cpp='$CPP $CPPFLAGS'
41466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41469
41470
41471 fi
41472
41473 fi
41474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41475 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41476
41477 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41478 for ac_func in _logf
41479 do :
41480 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41481 if test "x$ac_cv_func__logf" = x""yes; then :
41482 cat >>confdefs.h <<_ACEOF
41483 #define HAVE__LOGF 1
41484 _ACEOF
41485
41486 fi
41487 done
41488
41489 fi
41490 fi
41491
41492
41493
41494
41495
41496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41497 $as_echo_n "checking for log10f declaration... " >&6; }
41498 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41499 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41500 $as_echo_n "(cached) " >&6
41501 else
41502
41503
41504 ac_ext=cpp
41505 ac_cpp='$CXXCPP $CPPFLAGS'
41506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41509
41510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41511 /* end confdefs.h. */
41512 #include <math.h>
41513 #ifdef HAVE_IEEEFP_H
41514 #include <ieeefp.h>
41515 #endif
41516
41517 int
41518 main ()
41519 {
41520 log10f(0);
41521 ;
41522 return 0;
41523 }
41524 _ACEOF
41525 if ac_fn_cxx_try_compile "$LINENO"; then :
41526 glibcxx_cv_func_log10f_use=yes
41527 else
41528 glibcxx_cv_func_log10f_use=no
41529 fi
41530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41531 ac_ext=c
41532 ac_cpp='$CPP $CPPFLAGS'
41533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41536
41537
41538 fi
41539
41540 fi
41541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41542 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41543
41544 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41545 for ac_func in log10f
41546 do :
41547 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41548 if test "x$ac_cv_func_log10f" = x""yes; then :
41549 cat >>confdefs.h <<_ACEOF
41550 #define HAVE_LOG10F 1
41551 _ACEOF
41552
41553 fi
41554 done
41555
41556 else
41557
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41559 $as_echo_n "checking for _log10f declaration... " >&6; }
41560 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41561 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41562 $as_echo_n "(cached) " >&6
41563 else
41564
41565
41566 ac_ext=cpp
41567 ac_cpp='$CXXCPP $CPPFLAGS'
41568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41571
41572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41573 /* end confdefs.h. */
41574 #include <math.h>
41575 #ifdef HAVE_IEEEFP_H
41576 #include <ieeefp.h>
41577 #endif
41578
41579 int
41580 main ()
41581 {
41582 _log10f(0);
41583 ;
41584 return 0;
41585 }
41586 _ACEOF
41587 if ac_fn_cxx_try_compile "$LINENO"; then :
41588 glibcxx_cv_func__log10f_use=yes
41589 else
41590 glibcxx_cv_func__log10f_use=no
41591 fi
41592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41593 ac_ext=c
41594 ac_cpp='$CPP $CPPFLAGS'
41595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41598
41599
41600 fi
41601
41602 fi
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41604 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41605
41606 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41607 for ac_func in _log10f
41608 do :
41609 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41610 if test "x$ac_cv_func__log10f" = x""yes; then :
41611 cat >>confdefs.h <<_ACEOF
41612 #define HAVE__LOG10F 1
41613 _ACEOF
41614
41615 fi
41616 done
41617
41618 fi
41619 fi
41620
41621
41622
41623
41624
41625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41626 $as_echo_n "checking for modff declaration... " >&6; }
41627 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41628 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41629 $as_echo_n "(cached) " >&6
41630 else
41631
41632
41633 ac_ext=cpp
41634 ac_cpp='$CXXCPP $CPPFLAGS'
41635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41638
41639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41640 /* end confdefs.h. */
41641 #include <math.h>
41642 int
41643 main ()
41644 {
41645 modff(0, 0);
41646 ;
41647 return 0;
41648 }
41649 _ACEOF
41650 if ac_fn_cxx_try_compile "$LINENO"; then :
41651 glibcxx_cv_func_modff_use=yes
41652 else
41653 glibcxx_cv_func_modff_use=no
41654 fi
41655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41656 ac_ext=c
41657 ac_cpp='$CPP $CPPFLAGS'
41658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41661
41662
41663 fi
41664
41665 fi
41666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41667 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41668
41669 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41670 for ac_func in modff
41671 do :
41672 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41673 if test "x$ac_cv_func_modff" = x""yes; then :
41674 cat >>confdefs.h <<_ACEOF
41675 #define HAVE_MODFF 1
41676 _ACEOF
41677
41678 fi
41679 done
41680
41681 else
41682
41683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41684 $as_echo_n "checking for _modff declaration... " >&6; }
41685 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41686 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41687 $as_echo_n "(cached) " >&6
41688 else
41689
41690
41691 ac_ext=cpp
41692 ac_cpp='$CXXCPP $CPPFLAGS'
41693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41696
41697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41698 /* end confdefs.h. */
41699 #include <math.h>
41700 int
41701 main ()
41702 {
41703 _modff(0, 0);
41704 ;
41705 return 0;
41706 }
41707 _ACEOF
41708 if ac_fn_cxx_try_compile "$LINENO"; then :
41709 glibcxx_cv_func__modff_use=yes
41710 else
41711 glibcxx_cv_func__modff_use=no
41712 fi
41713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41714 ac_ext=c
41715 ac_cpp='$CPP $CPPFLAGS'
41716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41719
41720
41721 fi
41722
41723 fi
41724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41725 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41726
41727 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41728 for ac_func in _modff
41729 do :
41730 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41731 if test "x$ac_cv_func__modff" = x""yes; then :
41732 cat >>confdefs.h <<_ACEOF
41733 #define HAVE__MODFF 1
41734 _ACEOF
41735
41736 fi
41737 done
41738
41739 fi
41740 fi
41741
41742
41743
41744
41745
41746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41747 $as_echo_n "checking for modf declaration... " >&6; }
41748 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41749 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41750 $as_echo_n "(cached) " >&6
41751 else
41752
41753
41754 ac_ext=cpp
41755 ac_cpp='$CXXCPP $CPPFLAGS'
41756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41759
41760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41761 /* end confdefs.h. */
41762 #include <math.h>
41763 int
41764 main ()
41765 {
41766 modf(0, 0);
41767 ;
41768 return 0;
41769 }
41770 _ACEOF
41771 if ac_fn_cxx_try_compile "$LINENO"; then :
41772 glibcxx_cv_func_modf_use=yes
41773 else
41774 glibcxx_cv_func_modf_use=no
41775 fi
41776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41777 ac_ext=c
41778 ac_cpp='$CPP $CPPFLAGS'
41779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41782
41783
41784 fi
41785
41786 fi
41787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41788 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41789
41790 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41791 for ac_func in modf
41792 do :
41793 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41794 if test "x$ac_cv_func_modf" = x""yes; then :
41795 cat >>confdefs.h <<_ACEOF
41796 #define HAVE_MODF 1
41797 _ACEOF
41798
41799 fi
41800 done
41801
41802 else
41803
41804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41805 $as_echo_n "checking for _modf declaration... " >&6; }
41806 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41807 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41808 $as_echo_n "(cached) " >&6
41809 else
41810
41811
41812 ac_ext=cpp
41813 ac_cpp='$CXXCPP $CPPFLAGS'
41814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41817
41818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41819 /* end confdefs.h. */
41820 #include <math.h>
41821 int
41822 main ()
41823 {
41824 _modf(0, 0);
41825 ;
41826 return 0;
41827 }
41828 _ACEOF
41829 if ac_fn_cxx_try_compile "$LINENO"; then :
41830 glibcxx_cv_func__modf_use=yes
41831 else
41832 glibcxx_cv_func__modf_use=no
41833 fi
41834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41835 ac_ext=c
41836 ac_cpp='$CPP $CPPFLAGS'
41837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41840
41841
41842 fi
41843
41844 fi
41845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41846 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41847
41848 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41849 for ac_func in _modf
41850 do :
41851 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41852 if test "x$ac_cv_func__modf" = x""yes; then :
41853 cat >>confdefs.h <<_ACEOF
41854 #define HAVE__MODF 1
41855 _ACEOF
41856
41857 fi
41858 done
41859
41860 fi
41861 fi
41862
41863
41864
41865
41866
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41868 $as_echo_n "checking for powf declaration... " >&6; }
41869 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41870 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41871 $as_echo_n "(cached) " >&6
41872 else
41873
41874
41875 ac_ext=cpp
41876 ac_cpp='$CXXCPP $CPPFLAGS'
41877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41880
41881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41882 /* end confdefs.h. */
41883 #include <math.h>
41884 int
41885 main ()
41886 {
41887 powf(0, 0);
41888 ;
41889 return 0;
41890 }
41891 _ACEOF
41892 if ac_fn_cxx_try_compile "$LINENO"; then :
41893 glibcxx_cv_func_powf_use=yes
41894 else
41895 glibcxx_cv_func_powf_use=no
41896 fi
41897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41898 ac_ext=c
41899 ac_cpp='$CPP $CPPFLAGS'
41900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41903
41904
41905 fi
41906
41907 fi
41908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41909 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41910
41911 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41912 for ac_func in powf
41913 do :
41914 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41915 if test "x$ac_cv_func_powf" = x""yes; then :
41916 cat >>confdefs.h <<_ACEOF
41917 #define HAVE_POWF 1
41918 _ACEOF
41919
41920 fi
41921 done
41922
41923 else
41924
41925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41926 $as_echo_n "checking for _powf declaration... " >&6; }
41927 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41928 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41929 $as_echo_n "(cached) " >&6
41930 else
41931
41932
41933 ac_ext=cpp
41934 ac_cpp='$CXXCPP $CPPFLAGS'
41935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41938
41939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41940 /* end confdefs.h. */
41941 #include <math.h>
41942 int
41943 main ()
41944 {
41945 _powf(0, 0);
41946 ;
41947 return 0;
41948 }
41949 _ACEOF
41950 if ac_fn_cxx_try_compile "$LINENO"; then :
41951 glibcxx_cv_func__powf_use=yes
41952 else
41953 glibcxx_cv_func__powf_use=no
41954 fi
41955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41956 ac_ext=c
41957 ac_cpp='$CPP $CPPFLAGS'
41958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41961
41962
41963 fi
41964
41965 fi
41966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
41967 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
41968
41969 if test x$glibcxx_cv_func__powf_use = x"yes"; then
41970 for ac_func in _powf
41971 do :
41972 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
41973 if test "x$ac_cv_func__powf" = x""yes; then :
41974 cat >>confdefs.h <<_ACEOF
41975 #define HAVE__POWF 1
41976 _ACEOF
41977
41978 fi
41979 done
41980
41981 fi
41982 fi
41983
41984
41985
41986
41987
41988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
41989 $as_echo_n "checking for sqrtf declaration... " >&6; }
41990 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
41991 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
41992 $as_echo_n "(cached) " >&6
41993 else
41994
41995
41996 ac_ext=cpp
41997 ac_cpp='$CXXCPP $CPPFLAGS'
41998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42001
42002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42003 /* end confdefs.h. */
42004 #include <math.h>
42005 #ifdef HAVE_IEEEFP_H
42006 #include <ieeefp.h>
42007 #endif
42008
42009 int
42010 main ()
42011 {
42012 sqrtf(0);
42013 ;
42014 return 0;
42015 }
42016 _ACEOF
42017 if ac_fn_cxx_try_compile "$LINENO"; then :
42018 glibcxx_cv_func_sqrtf_use=yes
42019 else
42020 glibcxx_cv_func_sqrtf_use=no
42021 fi
42022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42023 ac_ext=c
42024 ac_cpp='$CPP $CPPFLAGS'
42025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42028
42029
42030 fi
42031
42032 fi
42033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42034 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42035
42036 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42037 for ac_func in sqrtf
42038 do :
42039 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42040 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42041 cat >>confdefs.h <<_ACEOF
42042 #define HAVE_SQRTF 1
42043 _ACEOF
42044
42045 fi
42046 done
42047
42048 else
42049
42050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42051 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42052 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42053 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42054 $as_echo_n "(cached) " >&6
42055 else
42056
42057
42058 ac_ext=cpp
42059 ac_cpp='$CXXCPP $CPPFLAGS'
42060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42063
42064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42065 /* end confdefs.h. */
42066 #include <math.h>
42067 #ifdef HAVE_IEEEFP_H
42068 #include <ieeefp.h>
42069 #endif
42070
42071 int
42072 main ()
42073 {
42074 _sqrtf(0);
42075 ;
42076 return 0;
42077 }
42078 _ACEOF
42079 if ac_fn_cxx_try_compile "$LINENO"; then :
42080 glibcxx_cv_func__sqrtf_use=yes
42081 else
42082 glibcxx_cv_func__sqrtf_use=no
42083 fi
42084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42085 ac_ext=c
42086 ac_cpp='$CPP $CPPFLAGS'
42087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42090
42091
42092 fi
42093
42094 fi
42095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42096 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42097
42098 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42099 for ac_func in _sqrtf
42100 do :
42101 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42102 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42103 cat >>confdefs.h <<_ACEOF
42104 #define HAVE__SQRTF 1
42105 _ACEOF
42106
42107 fi
42108 done
42109
42110 fi
42111 fi
42112
42113
42114
42115
42116
42117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42118 $as_echo_n "checking for sincosf declaration... " >&6; }
42119 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42120 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42121 $as_echo_n "(cached) " >&6
42122 else
42123
42124
42125 ac_ext=cpp
42126 ac_cpp='$CXXCPP $CPPFLAGS'
42127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130
42131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42132 /* end confdefs.h. */
42133 #include <math.h>
42134 int
42135 main ()
42136 {
42137 sincosf(0, 0, 0);
42138 ;
42139 return 0;
42140 }
42141 _ACEOF
42142 if ac_fn_cxx_try_compile "$LINENO"; then :
42143 glibcxx_cv_func_sincosf_use=yes
42144 else
42145 glibcxx_cv_func_sincosf_use=no
42146 fi
42147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42148 ac_ext=c
42149 ac_cpp='$CPP $CPPFLAGS'
42150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42153
42154
42155 fi
42156
42157 fi
42158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42159 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42160
42161 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42162 for ac_func in sincosf
42163 do :
42164 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42165 if test "x$ac_cv_func_sincosf" = x""yes; then :
42166 cat >>confdefs.h <<_ACEOF
42167 #define HAVE_SINCOSF 1
42168 _ACEOF
42169
42170 fi
42171 done
42172
42173 else
42174
42175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42176 $as_echo_n "checking for _sincosf declaration... " >&6; }
42177 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42178 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42179 $as_echo_n "(cached) " >&6
42180 else
42181
42182
42183 ac_ext=cpp
42184 ac_cpp='$CXXCPP $CPPFLAGS'
42185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42188
42189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42190 /* end confdefs.h. */
42191 #include <math.h>
42192 int
42193 main ()
42194 {
42195 _sincosf(0, 0, 0);
42196 ;
42197 return 0;
42198 }
42199 _ACEOF
42200 if ac_fn_cxx_try_compile "$LINENO"; then :
42201 glibcxx_cv_func__sincosf_use=yes
42202 else
42203 glibcxx_cv_func__sincosf_use=no
42204 fi
42205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42206 ac_ext=c
42207 ac_cpp='$CPP $CPPFLAGS'
42208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42211
42212
42213 fi
42214
42215 fi
42216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42217 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42218
42219 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42220 for ac_func in _sincosf
42221 do :
42222 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42223 if test "x$ac_cv_func__sincosf" = x""yes; then :
42224 cat >>confdefs.h <<_ACEOF
42225 #define HAVE__SINCOSF 1
42226 _ACEOF
42227
42228 fi
42229 done
42230
42231 fi
42232 fi
42233
42234
42235
42236
42237
42238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42239 $as_echo_n "checking for finitef declaration... " >&6; }
42240 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42241 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42242 $as_echo_n "(cached) " >&6
42243 else
42244
42245
42246 ac_ext=cpp
42247 ac_cpp='$CXXCPP $CPPFLAGS'
42248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42251
42252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42253 /* end confdefs.h. */
42254 #include <math.h>
42255 #ifdef HAVE_IEEEFP_H
42256 #include <ieeefp.h>
42257 #endif
42258
42259 int
42260 main ()
42261 {
42262 finitef(0);
42263 ;
42264 return 0;
42265 }
42266 _ACEOF
42267 if ac_fn_cxx_try_compile "$LINENO"; then :
42268 glibcxx_cv_func_finitef_use=yes
42269 else
42270 glibcxx_cv_func_finitef_use=no
42271 fi
42272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42273 ac_ext=c
42274 ac_cpp='$CPP $CPPFLAGS'
42275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42278
42279
42280 fi
42281
42282 fi
42283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42284 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42285
42286 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42287 for ac_func in finitef
42288 do :
42289 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42290 if test "x$ac_cv_func_finitef" = x""yes; then :
42291 cat >>confdefs.h <<_ACEOF
42292 #define HAVE_FINITEF 1
42293 _ACEOF
42294
42295 fi
42296 done
42297
42298 else
42299
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42301 $as_echo_n "checking for _finitef declaration... " >&6; }
42302 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42303 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42304 $as_echo_n "(cached) " >&6
42305 else
42306
42307
42308 ac_ext=cpp
42309 ac_cpp='$CXXCPP $CPPFLAGS'
42310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42313
42314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42315 /* end confdefs.h. */
42316 #include <math.h>
42317 #ifdef HAVE_IEEEFP_H
42318 #include <ieeefp.h>
42319 #endif
42320
42321 int
42322 main ()
42323 {
42324 _finitef(0);
42325 ;
42326 return 0;
42327 }
42328 _ACEOF
42329 if ac_fn_cxx_try_compile "$LINENO"; then :
42330 glibcxx_cv_func__finitef_use=yes
42331 else
42332 glibcxx_cv_func__finitef_use=no
42333 fi
42334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42335 ac_ext=c
42336 ac_cpp='$CPP $CPPFLAGS'
42337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42340
42341
42342 fi
42343
42344 fi
42345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42346 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42347
42348 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42349 for ac_func in _finitef
42350 do :
42351 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42352 if test "x$ac_cv_func__finitef" = x""yes; then :
42353 cat >>confdefs.h <<_ACEOF
42354 #define HAVE__FINITEF 1
42355 _ACEOF
42356
42357 fi
42358 done
42359
42360 fi
42361 fi
42362
42363
42364
42365
42366
42367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42368 $as_echo_n "checking for long double trig functions... " >&6; }
42369 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42370 $as_echo_n "(cached) " >&6
42371 else
42372
42373
42374 ac_ext=cpp
42375 ac_cpp='$CXXCPP $CPPFLAGS'
42376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42379
42380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42381 /* end confdefs.h. */
42382 #include <math.h>
42383 int
42384 main ()
42385 {
42386 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42387 ;
42388 return 0;
42389 }
42390 _ACEOF
42391 if ac_fn_cxx_try_compile "$LINENO"; then :
42392 glibcxx_cv_func_long_double_trig_use=yes
42393 else
42394 glibcxx_cv_func_long_double_trig_use=no
42395 fi
42396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42397 ac_ext=c
42398 ac_cpp='$CPP $CPPFLAGS'
42399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42402
42403 fi
42404
42405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42406 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42407 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42408 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42409 do :
42410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42412 eval as_val=\$$as_ac_var
42413 if test "x$as_val" = x""yes; then :
42414 cat >>confdefs.h <<_ACEOF
42415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42416 _ACEOF
42417
42418 fi
42419 done
42420
42421 else
42422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42423 $as_echo_n "checking for _long double trig functions... " >&6; }
42424 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42425 $as_echo_n "(cached) " >&6
42426 else
42427
42428
42429 ac_ext=cpp
42430 ac_cpp='$CXXCPP $CPPFLAGS'
42431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42434
42435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42436 /* end confdefs.h. */
42437 #include <math.h>
42438 int
42439 main ()
42440 {
42441 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42442 ;
42443 return 0;
42444 }
42445 _ACEOF
42446 if ac_fn_cxx_try_compile "$LINENO"; then :
42447 glibcxx_cv_func__long_double_trig_use=yes
42448 else
42449 glibcxx_cv_func__long_double_trig_use=no
42450 fi
42451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42452 ac_ext=c
42453 ac_cpp='$CPP $CPPFLAGS'
42454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42457
42458 fi
42459
42460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42461 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42462 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42463 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42464 do :
42465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42467 eval as_val=\$$as_ac_var
42468 if test "x$as_val" = x""yes; then :
42469 cat >>confdefs.h <<_ACEOF
42470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42471 _ACEOF
42472
42473 fi
42474 done
42475
42476 fi
42477 fi
42478
42479
42480
42481
42482
42483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42484 $as_echo_n "checking for long double round functions... " >&6; }
42485 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42486 $as_echo_n "(cached) " >&6
42487 else
42488
42489
42490 ac_ext=cpp
42491 ac_cpp='$CXXCPP $CPPFLAGS'
42492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42495
42496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42497 /* end confdefs.h. */
42498 #include <math.h>
42499 int
42500 main ()
42501 {
42502 ceill (0); floorl (0);
42503 ;
42504 return 0;
42505 }
42506 _ACEOF
42507 if ac_fn_cxx_try_compile "$LINENO"; then :
42508 glibcxx_cv_func_long_double_round_use=yes
42509 else
42510 glibcxx_cv_func_long_double_round_use=no
42511 fi
42512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42513 ac_ext=c
42514 ac_cpp='$CPP $CPPFLAGS'
42515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42518
42519 fi
42520
42521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42522 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42523 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42524 for ac_func in ceill floorl
42525 do :
42526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42528 eval as_val=\$$as_ac_var
42529 if test "x$as_val" = x""yes; then :
42530 cat >>confdefs.h <<_ACEOF
42531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42532 _ACEOF
42533
42534 fi
42535 done
42536
42537 else
42538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42539 $as_echo_n "checking for _long double round functions... " >&6; }
42540 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42541 $as_echo_n "(cached) " >&6
42542 else
42543
42544
42545 ac_ext=cpp
42546 ac_cpp='$CXXCPP $CPPFLAGS'
42547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42550
42551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42552 /* end confdefs.h. */
42553 #include <math.h>
42554 int
42555 main ()
42556 {
42557 _ceill (0); _floorl (0);
42558 ;
42559 return 0;
42560 }
42561 _ACEOF
42562 if ac_fn_cxx_try_compile "$LINENO"; then :
42563 glibcxx_cv_func__long_double_round_use=yes
42564 else
42565 glibcxx_cv_func__long_double_round_use=no
42566 fi
42567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42568 ac_ext=c
42569 ac_cpp='$CPP $CPPFLAGS'
42570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42573
42574 fi
42575
42576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42577 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42578 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42579 for ac_func in _ceill _floorl
42580 do :
42581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42583 eval as_val=\$$as_ac_var
42584 if test "x$as_val" = x""yes; then :
42585 cat >>confdefs.h <<_ACEOF
42586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42587 _ACEOF
42588
42589 fi
42590 done
42591
42592 fi
42593 fi
42594
42595
42596
42597
42598
42599
42600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42601 $as_echo_n "checking for isnanl declaration... " >&6; }
42602 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42603 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42604 $as_echo_n "(cached) " >&6
42605 else
42606
42607
42608 ac_ext=cpp
42609 ac_cpp='$CXXCPP $CPPFLAGS'
42610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42613
42614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42615 /* end confdefs.h. */
42616 #include <math.h>
42617 #ifdef HAVE_IEEEFP_H
42618 #include <ieeefp.h>
42619 #endif
42620
42621 int
42622 main ()
42623 {
42624 isnanl(0);
42625 ;
42626 return 0;
42627 }
42628 _ACEOF
42629 if ac_fn_cxx_try_compile "$LINENO"; then :
42630 glibcxx_cv_func_isnanl_use=yes
42631 else
42632 glibcxx_cv_func_isnanl_use=no
42633 fi
42634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42635 ac_ext=c
42636 ac_cpp='$CPP $CPPFLAGS'
42637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42640
42641
42642 fi
42643
42644 fi
42645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42646 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42647
42648 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42649 for ac_func in isnanl
42650 do :
42651 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42652 if test "x$ac_cv_func_isnanl" = x""yes; then :
42653 cat >>confdefs.h <<_ACEOF
42654 #define HAVE_ISNANL 1
42655 _ACEOF
42656
42657 fi
42658 done
42659
42660 else
42661
42662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42663 $as_echo_n "checking for _isnanl declaration... " >&6; }
42664 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42665 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42666 $as_echo_n "(cached) " >&6
42667 else
42668
42669
42670 ac_ext=cpp
42671 ac_cpp='$CXXCPP $CPPFLAGS'
42672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42675
42676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42677 /* end confdefs.h. */
42678 #include <math.h>
42679 #ifdef HAVE_IEEEFP_H
42680 #include <ieeefp.h>
42681 #endif
42682
42683 int
42684 main ()
42685 {
42686 _isnanl(0);
42687 ;
42688 return 0;
42689 }
42690 _ACEOF
42691 if ac_fn_cxx_try_compile "$LINENO"; then :
42692 glibcxx_cv_func__isnanl_use=yes
42693 else
42694 glibcxx_cv_func__isnanl_use=no
42695 fi
42696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42697 ac_ext=c
42698 ac_cpp='$CPP $CPPFLAGS'
42699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42702
42703
42704 fi
42705
42706 fi
42707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42708 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42709
42710 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42711 for ac_func in _isnanl
42712 do :
42713 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42714 if test "x$ac_cv_func__isnanl" = x""yes; then :
42715 cat >>confdefs.h <<_ACEOF
42716 #define HAVE__ISNANL 1
42717 _ACEOF
42718
42719 fi
42720 done
42721
42722 fi
42723 fi
42724
42725
42726
42727
42728
42729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42730 $as_echo_n "checking for isinfl declaration... " >&6; }
42731 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42732 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42733 $as_echo_n "(cached) " >&6
42734 else
42735
42736
42737 ac_ext=cpp
42738 ac_cpp='$CXXCPP $CPPFLAGS'
42739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42742
42743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42744 /* end confdefs.h. */
42745 #include <math.h>
42746 #ifdef HAVE_IEEEFP_H
42747 #include <ieeefp.h>
42748 #endif
42749
42750 int
42751 main ()
42752 {
42753 isinfl(0);
42754 ;
42755 return 0;
42756 }
42757 _ACEOF
42758 if ac_fn_cxx_try_compile "$LINENO"; then :
42759 glibcxx_cv_func_isinfl_use=yes
42760 else
42761 glibcxx_cv_func_isinfl_use=no
42762 fi
42763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42764 ac_ext=c
42765 ac_cpp='$CPP $CPPFLAGS'
42766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42769
42770
42771 fi
42772
42773 fi
42774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42775 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42776
42777 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42778 for ac_func in isinfl
42779 do :
42780 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42781 if test "x$ac_cv_func_isinfl" = x""yes; then :
42782 cat >>confdefs.h <<_ACEOF
42783 #define HAVE_ISINFL 1
42784 _ACEOF
42785
42786 fi
42787 done
42788
42789 else
42790
42791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42792 $as_echo_n "checking for _isinfl declaration... " >&6; }
42793 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42794 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42795 $as_echo_n "(cached) " >&6
42796 else
42797
42798
42799 ac_ext=cpp
42800 ac_cpp='$CXXCPP $CPPFLAGS'
42801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42804
42805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42806 /* end confdefs.h. */
42807 #include <math.h>
42808 #ifdef HAVE_IEEEFP_H
42809 #include <ieeefp.h>
42810 #endif
42811
42812 int
42813 main ()
42814 {
42815 _isinfl(0);
42816 ;
42817 return 0;
42818 }
42819 _ACEOF
42820 if ac_fn_cxx_try_compile "$LINENO"; then :
42821 glibcxx_cv_func__isinfl_use=yes
42822 else
42823 glibcxx_cv_func__isinfl_use=no
42824 fi
42825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42826 ac_ext=c
42827 ac_cpp='$CPP $CPPFLAGS'
42828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42831
42832
42833 fi
42834
42835 fi
42836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42837 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42838
42839 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42840 for ac_func in _isinfl
42841 do :
42842 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42843 if test "x$ac_cv_func__isinfl" = x""yes; then :
42844 cat >>confdefs.h <<_ACEOF
42845 #define HAVE__ISINFL 1
42846 _ACEOF
42847
42848 fi
42849 done
42850
42851 fi
42852 fi
42853
42854
42855
42856
42857
42858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42859 $as_echo_n "checking for atan2l declaration... " >&6; }
42860 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42861 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42862 $as_echo_n "(cached) " >&6
42863 else
42864
42865
42866 ac_ext=cpp
42867 ac_cpp='$CXXCPP $CPPFLAGS'
42868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42871
42872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42873 /* end confdefs.h. */
42874 #include <math.h>
42875 int
42876 main ()
42877 {
42878 atan2l(0, 0);
42879 ;
42880 return 0;
42881 }
42882 _ACEOF
42883 if ac_fn_cxx_try_compile "$LINENO"; then :
42884 glibcxx_cv_func_atan2l_use=yes
42885 else
42886 glibcxx_cv_func_atan2l_use=no
42887 fi
42888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42889 ac_ext=c
42890 ac_cpp='$CPP $CPPFLAGS'
42891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42894
42895
42896 fi
42897
42898 fi
42899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42900 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42901
42902 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42903 for ac_func in atan2l
42904 do :
42905 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42906 if test "x$ac_cv_func_atan2l" = x""yes; then :
42907 cat >>confdefs.h <<_ACEOF
42908 #define HAVE_ATAN2L 1
42909 _ACEOF
42910
42911 fi
42912 done
42913
42914 else
42915
42916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42917 $as_echo_n "checking for _atan2l declaration... " >&6; }
42918 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42919 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42920 $as_echo_n "(cached) " >&6
42921 else
42922
42923
42924 ac_ext=cpp
42925 ac_cpp='$CXXCPP $CPPFLAGS'
42926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42929
42930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42931 /* end confdefs.h. */
42932 #include <math.h>
42933 int
42934 main ()
42935 {
42936 _atan2l(0, 0);
42937 ;
42938 return 0;
42939 }
42940 _ACEOF
42941 if ac_fn_cxx_try_compile "$LINENO"; then :
42942 glibcxx_cv_func__atan2l_use=yes
42943 else
42944 glibcxx_cv_func__atan2l_use=no
42945 fi
42946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42947 ac_ext=c
42948 ac_cpp='$CPP $CPPFLAGS'
42949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42952
42953
42954 fi
42955
42956 fi
42957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
42958 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
42959
42960 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
42961 for ac_func in _atan2l
42962 do :
42963 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
42964 if test "x$ac_cv_func__atan2l" = x""yes; then :
42965 cat >>confdefs.h <<_ACEOF
42966 #define HAVE__ATAN2L 1
42967 _ACEOF
42968
42969 fi
42970 done
42971
42972 fi
42973 fi
42974
42975
42976
42977
42978
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
42980 $as_echo_n "checking for expl declaration... " >&6; }
42981 if test x${glibcxx_cv_func_expl_use+set} != xset; then
42982 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
42983 $as_echo_n "(cached) " >&6
42984 else
42985
42986
42987 ac_ext=cpp
42988 ac_cpp='$CXXCPP $CPPFLAGS'
42989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42992
42993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42994 /* end confdefs.h. */
42995 #include <math.h>
42996 #ifdef HAVE_IEEEFP_H
42997 #include <ieeefp.h>
42998 #endif
42999
43000 int
43001 main ()
43002 {
43003 expl(0);
43004 ;
43005 return 0;
43006 }
43007 _ACEOF
43008 if ac_fn_cxx_try_compile "$LINENO"; then :
43009 glibcxx_cv_func_expl_use=yes
43010 else
43011 glibcxx_cv_func_expl_use=no
43012 fi
43013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43014 ac_ext=c
43015 ac_cpp='$CPP $CPPFLAGS'
43016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43019
43020
43021 fi
43022
43023 fi
43024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43025 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43026
43027 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43028 for ac_func in expl
43029 do :
43030 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43031 if test "x$ac_cv_func_expl" = x""yes; then :
43032 cat >>confdefs.h <<_ACEOF
43033 #define HAVE_EXPL 1
43034 _ACEOF
43035
43036 fi
43037 done
43038
43039 else
43040
43041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43042 $as_echo_n "checking for _expl declaration... " >&6; }
43043 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43044 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43045 $as_echo_n "(cached) " >&6
43046 else
43047
43048
43049 ac_ext=cpp
43050 ac_cpp='$CXXCPP $CPPFLAGS'
43051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43054
43055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43056 /* end confdefs.h. */
43057 #include <math.h>
43058 #ifdef HAVE_IEEEFP_H
43059 #include <ieeefp.h>
43060 #endif
43061
43062 int
43063 main ()
43064 {
43065 _expl(0);
43066 ;
43067 return 0;
43068 }
43069 _ACEOF
43070 if ac_fn_cxx_try_compile "$LINENO"; then :
43071 glibcxx_cv_func__expl_use=yes
43072 else
43073 glibcxx_cv_func__expl_use=no
43074 fi
43075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43076 ac_ext=c
43077 ac_cpp='$CPP $CPPFLAGS'
43078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43081
43082
43083 fi
43084
43085 fi
43086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43087 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43088
43089 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43090 for ac_func in _expl
43091 do :
43092 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43093 if test "x$ac_cv_func__expl" = x""yes; then :
43094 cat >>confdefs.h <<_ACEOF
43095 #define HAVE__EXPL 1
43096 _ACEOF
43097
43098 fi
43099 done
43100
43101 fi
43102 fi
43103
43104
43105
43106
43107
43108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43109 $as_echo_n "checking for fabsl declaration... " >&6; }
43110 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43111 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43112 $as_echo_n "(cached) " >&6
43113 else
43114
43115
43116 ac_ext=cpp
43117 ac_cpp='$CXXCPP $CPPFLAGS'
43118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43121
43122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43123 /* end confdefs.h. */
43124 #include <math.h>
43125 #ifdef HAVE_IEEEFP_H
43126 #include <ieeefp.h>
43127 #endif
43128
43129 int
43130 main ()
43131 {
43132 fabsl(0);
43133 ;
43134 return 0;
43135 }
43136 _ACEOF
43137 if ac_fn_cxx_try_compile "$LINENO"; then :
43138 glibcxx_cv_func_fabsl_use=yes
43139 else
43140 glibcxx_cv_func_fabsl_use=no
43141 fi
43142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43143 ac_ext=c
43144 ac_cpp='$CPP $CPPFLAGS'
43145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43148
43149
43150 fi
43151
43152 fi
43153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43154 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43155
43156 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43157 for ac_func in fabsl
43158 do :
43159 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43160 if test "x$ac_cv_func_fabsl" = x""yes; then :
43161 cat >>confdefs.h <<_ACEOF
43162 #define HAVE_FABSL 1
43163 _ACEOF
43164
43165 fi
43166 done
43167
43168 else
43169
43170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43171 $as_echo_n "checking for _fabsl declaration... " >&6; }
43172 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43173 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43174 $as_echo_n "(cached) " >&6
43175 else
43176
43177
43178 ac_ext=cpp
43179 ac_cpp='$CXXCPP $CPPFLAGS'
43180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43183
43184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43185 /* end confdefs.h. */
43186 #include <math.h>
43187 #ifdef HAVE_IEEEFP_H
43188 #include <ieeefp.h>
43189 #endif
43190
43191 int
43192 main ()
43193 {
43194 _fabsl(0);
43195 ;
43196 return 0;
43197 }
43198 _ACEOF
43199 if ac_fn_cxx_try_compile "$LINENO"; then :
43200 glibcxx_cv_func__fabsl_use=yes
43201 else
43202 glibcxx_cv_func__fabsl_use=no
43203 fi
43204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43205 ac_ext=c
43206 ac_cpp='$CPP $CPPFLAGS'
43207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43210
43211
43212 fi
43213
43214 fi
43215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43216 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43217
43218 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43219 for ac_func in _fabsl
43220 do :
43221 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43222 if test "x$ac_cv_func__fabsl" = x""yes; then :
43223 cat >>confdefs.h <<_ACEOF
43224 #define HAVE__FABSL 1
43225 _ACEOF
43226
43227 fi
43228 done
43229
43230 fi
43231 fi
43232
43233
43234
43235
43236
43237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43238 $as_echo_n "checking for fmodl declaration... " >&6; }
43239 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43240 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43241 $as_echo_n "(cached) " >&6
43242 else
43243
43244
43245 ac_ext=cpp
43246 ac_cpp='$CXXCPP $CPPFLAGS'
43247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43250
43251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43252 /* end confdefs.h. */
43253 #include <math.h>
43254 int
43255 main ()
43256 {
43257 fmodl(0, 0);
43258 ;
43259 return 0;
43260 }
43261 _ACEOF
43262 if ac_fn_cxx_try_compile "$LINENO"; then :
43263 glibcxx_cv_func_fmodl_use=yes
43264 else
43265 glibcxx_cv_func_fmodl_use=no
43266 fi
43267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43268 ac_ext=c
43269 ac_cpp='$CPP $CPPFLAGS'
43270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43273
43274
43275 fi
43276
43277 fi
43278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43279 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43280
43281 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43282 for ac_func in fmodl
43283 do :
43284 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43285 if test "x$ac_cv_func_fmodl" = x""yes; then :
43286 cat >>confdefs.h <<_ACEOF
43287 #define HAVE_FMODL 1
43288 _ACEOF
43289
43290 fi
43291 done
43292
43293 else
43294
43295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43296 $as_echo_n "checking for _fmodl declaration... " >&6; }
43297 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43298 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43299 $as_echo_n "(cached) " >&6
43300 else
43301
43302
43303 ac_ext=cpp
43304 ac_cpp='$CXXCPP $CPPFLAGS'
43305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43308
43309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43310 /* end confdefs.h. */
43311 #include <math.h>
43312 int
43313 main ()
43314 {
43315 _fmodl(0, 0);
43316 ;
43317 return 0;
43318 }
43319 _ACEOF
43320 if ac_fn_cxx_try_compile "$LINENO"; then :
43321 glibcxx_cv_func__fmodl_use=yes
43322 else
43323 glibcxx_cv_func__fmodl_use=no
43324 fi
43325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43326 ac_ext=c
43327 ac_cpp='$CPP $CPPFLAGS'
43328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43331
43332
43333 fi
43334
43335 fi
43336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43337 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43338
43339 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43340 for ac_func in _fmodl
43341 do :
43342 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43343 if test "x$ac_cv_func__fmodl" = x""yes; then :
43344 cat >>confdefs.h <<_ACEOF
43345 #define HAVE__FMODL 1
43346 _ACEOF
43347
43348 fi
43349 done
43350
43351 fi
43352 fi
43353
43354
43355
43356
43357
43358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43359 $as_echo_n "checking for frexpl declaration... " >&6; }
43360 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43361 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43362 $as_echo_n "(cached) " >&6
43363 else
43364
43365
43366 ac_ext=cpp
43367 ac_cpp='$CXXCPP $CPPFLAGS'
43368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43371
43372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43373 /* end confdefs.h. */
43374 #include <math.h>
43375 int
43376 main ()
43377 {
43378 frexpl(0, 0);
43379 ;
43380 return 0;
43381 }
43382 _ACEOF
43383 if ac_fn_cxx_try_compile "$LINENO"; then :
43384 glibcxx_cv_func_frexpl_use=yes
43385 else
43386 glibcxx_cv_func_frexpl_use=no
43387 fi
43388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43389 ac_ext=c
43390 ac_cpp='$CPP $CPPFLAGS'
43391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43394
43395
43396 fi
43397
43398 fi
43399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43400 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43401
43402 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43403 for ac_func in frexpl
43404 do :
43405 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43406 if test "x$ac_cv_func_frexpl" = x""yes; then :
43407 cat >>confdefs.h <<_ACEOF
43408 #define HAVE_FREXPL 1
43409 _ACEOF
43410
43411 fi
43412 done
43413
43414 else
43415
43416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43417 $as_echo_n "checking for _frexpl declaration... " >&6; }
43418 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43419 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43420 $as_echo_n "(cached) " >&6
43421 else
43422
43423
43424 ac_ext=cpp
43425 ac_cpp='$CXXCPP $CPPFLAGS'
43426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43429
43430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43431 /* end confdefs.h. */
43432 #include <math.h>
43433 int
43434 main ()
43435 {
43436 _frexpl(0, 0);
43437 ;
43438 return 0;
43439 }
43440 _ACEOF
43441 if ac_fn_cxx_try_compile "$LINENO"; then :
43442 glibcxx_cv_func__frexpl_use=yes
43443 else
43444 glibcxx_cv_func__frexpl_use=no
43445 fi
43446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43447 ac_ext=c
43448 ac_cpp='$CPP $CPPFLAGS'
43449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43452
43453
43454 fi
43455
43456 fi
43457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43458 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43459
43460 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43461 for ac_func in _frexpl
43462 do :
43463 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43464 if test "x$ac_cv_func__frexpl" = x""yes; then :
43465 cat >>confdefs.h <<_ACEOF
43466 #define HAVE__FREXPL 1
43467 _ACEOF
43468
43469 fi
43470 done
43471
43472 fi
43473 fi
43474
43475
43476
43477
43478
43479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43480 $as_echo_n "checking for hypotl declaration... " >&6; }
43481 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43482 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43483 $as_echo_n "(cached) " >&6
43484 else
43485
43486
43487 ac_ext=cpp
43488 ac_cpp='$CXXCPP $CPPFLAGS'
43489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43492
43493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43494 /* end confdefs.h. */
43495 #include <math.h>
43496 int
43497 main ()
43498 {
43499 hypotl(0, 0);
43500 ;
43501 return 0;
43502 }
43503 _ACEOF
43504 if ac_fn_cxx_try_compile "$LINENO"; then :
43505 glibcxx_cv_func_hypotl_use=yes
43506 else
43507 glibcxx_cv_func_hypotl_use=no
43508 fi
43509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43510 ac_ext=c
43511 ac_cpp='$CPP $CPPFLAGS'
43512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43515
43516
43517 fi
43518
43519 fi
43520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43521 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43522
43523 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43524 for ac_func in hypotl
43525 do :
43526 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43527 if test "x$ac_cv_func_hypotl" = x""yes; then :
43528 cat >>confdefs.h <<_ACEOF
43529 #define HAVE_HYPOTL 1
43530 _ACEOF
43531
43532 fi
43533 done
43534
43535 else
43536
43537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43538 $as_echo_n "checking for _hypotl declaration... " >&6; }
43539 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43540 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43541 $as_echo_n "(cached) " >&6
43542 else
43543
43544
43545 ac_ext=cpp
43546 ac_cpp='$CXXCPP $CPPFLAGS'
43547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43550
43551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43552 /* end confdefs.h. */
43553 #include <math.h>
43554 int
43555 main ()
43556 {
43557 _hypotl(0, 0);
43558 ;
43559 return 0;
43560 }
43561 _ACEOF
43562 if ac_fn_cxx_try_compile "$LINENO"; then :
43563 glibcxx_cv_func__hypotl_use=yes
43564 else
43565 glibcxx_cv_func__hypotl_use=no
43566 fi
43567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43568 ac_ext=c
43569 ac_cpp='$CPP $CPPFLAGS'
43570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43573
43574
43575 fi
43576
43577 fi
43578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43579 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43580
43581 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43582 for ac_func in _hypotl
43583 do :
43584 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43585 if test "x$ac_cv_func__hypotl" = x""yes; then :
43586 cat >>confdefs.h <<_ACEOF
43587 #define HAVE__HYPOTL 1
43588 _ACEOF
43589
43590 fi
43591 done
43592
43593 fi
43594 fi
43595
43596
43597
43598
43599
43600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43601 $as_echo_n "checking for ldexpl declaration... " >&6; }
43602 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43603 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43604 $as_echo_n "(cached) " >&6
43605 else
43606
43607
43608 ac_ext=cpp
43609 ac_cpp='$CXXCPP $CPPFLAGS'
43610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43613
43614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43615 /* end confdefs.h. */
43616 #include <math.h>
43617 int
43618 main ()
43619 {
43620 ldexpl(0, 0);
43621 ;
43622 return 0;
43623 }
43624 _ACEOF
43625 if ac_fn_cxx_try_compile "$LINENO"; then :
43626 glibcxx_cv_func_ldexpl_use=yes
43627 else
43628 glibcxx_cv_func_ldexpl_use=no
43629 fi
43630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43631 ac_ext=c
43632 ac_cpp='$CPP $CPPFLAGS'
43633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43636
43637
43638 fi
43639
43640 fi
43641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43642 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43643
43644 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43645 for ac_func in ldexpl
43646 do :
43647 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43648 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43649 cat >>confdefs.h <<_ACEOF
43650 #define HAVE_LDEXPL 1
43651 _ACEOF
43652
43653 fi
43654 done
43655
43656 else
43657
43658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43659 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43660 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43661 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43662 $as_echo_n "(cached) " >&6
43663 else
43664
43665
43666 ac_ext=cpp
43667 ac_cpp='$CXXCPP $CPPFLAGS'
43668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43671
43672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43673 /* end confdefs.h. */
43674 #include <math.h>
43675 int
43676 main ()
43677 {
43678 _ldexpl(0, 0);
43679 ;
43680 return 0;
43681 }
43682 _ACEOF
43683 if ac_fn_cxx_try_compile "$LINENO"; then :
43684 glibcxx_cv_func__ldexpl_use=yes
43685 else
43686 glibcxx_cv_func__ldexpl_use=no
43687 fi
43688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43689 ac_ext=c
43690 ac_cpp='$CPP $CPPFLAGS'
43691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43694
43695
43696 fi
43697
43698 fi
43699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43700 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43701
43702 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43703 for ac_func in _ldexpl
43704 do :
43705 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43706 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43707 cat >>confdefs.h <<_ACEOF
43708 #define HAVE__LDEXPL 1
43709 _ACEOF
43710
43711 fi
43712 done
43713
43714 fi
43715 fi
43716
43717
43718
43719
43720
43721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43722 $as_echo_n "checking for logl declaration... " >&6; }
43723 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43724 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43725 $as_echo_n "(cached) " >&6
43726 else
43727
43728
43729 ac_ext=cpp
43730 ac_cpp='$CXXCPP $CPPFLAGS'
43731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43734
43735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43736 /* end confdefs.h. */
43737 #include <math.h>
43738 #ifdef HAVE_IEEEFP_H
43739 #include <ieeefp.h>
43740 #endif
43741
43742 int
43743 main ()
43744 {
43745 logl(0);
43746 ;
43747 return 0;
43748 }
43749 _ACEOF
43750 if ac_fn_cxx_try_compile "$LINENO"; then :
43751 glibcxx_cv_func_logl_use=yes
43752 else
43753 glibcxx_cv_func_logl_use=no
43754 fi
43755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43756 ac_ext=c
43757 ac_cpp='$CPP $CPPFLAGS'
43758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43761
43762
43763 fi
43764
43765 fi
43766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43767 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43768
43769 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43770 for ac_func in logl
43771 do :
43772 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43773 if test "x$ac_cv_func_logl" = x""yes; then :
43774 cat >>confdefs.h <<_ACEOF
43775 #define HAVE_LOGL 1
43776 _ACEOF
43777
43778 fi
43779 done
43780
43781 else
43782
43783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43784 $as_echo_n "checking for _logl declaration... " >&6; }
43785 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43786 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43787 $as_echo_n "(cached) " >&6
43788 else
43789
43790
43791 ac_ext=cpp
43792 ac_cpp='$CXXCPP $CPPFLAGS'
43793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43796
43797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43798 /* end confdefs.h. */
43799 #include <math.h>
43800 #ifdef HAVE_IEEEFP_H
43801 #include <ieeefp.h>
43802 #endif
43803
43804 int
43805 main ()
43806 {
43807 _logl(0);
43808 ;
43809 return 0;
43810 }
43811 _ACEOF
43812 if ac_fn_cxx_try_compile "$LINENO"; then :
43813 glibcxx_cv_func__logl_use=yes
43814 else
43815 glibcxx_cv_func__logl_use=no
43816 fi
43817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43818 ac_ext=c
43819 ac_cpp='$CPP $CPPFLAGS'
43820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43823
43824
43825 fi
43826
43827 fi
43828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43829 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43830
43831 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43832 for ac_func in _logl
43833 do :
43834 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43835 if test "x$ac_cv_func__logl" = x""yes; then :
43836 cat >>confdefs.h <<_ACEOF
43837 #define HAVE__LOGL 1
43838 _ACEOF
43839
43840 fi
43841 done
43842
43843 fi
43844 fi
43845
43846
43847
43848
43849
43850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43851 $as_echo_n "checking for log10l declaration... " >&6; }
43852 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43853 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43854 $as_echo_n "(cached) " >&6
43855 else
43856
43857
43858 ac_ext=cpp
43859 ac_cpp='$CXXCPP $CPPFLAGS'
43860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43863
43864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43865 /* end confdefs.h. */
43866 #include <math.h>
43867 #ifdef HAVE_IEEEFP_H
43868 #include <ieeefp.h>
43869 #endif
43870
43871 int
43872 main ()
43873 {
43874 log10l(0);
43875 ;
43876 return 0;
43877 }
43878 _ACEOF
43879 if ac_fn_cxx_try_compile "$LINENO"; then :
43880 glibcxx_cv_func_log10l_use=yes
43881 else
43882 glibcxx_cv_func_log10l_use=no
43883 fi
43884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43885 ac_ext=c
43886 ac_cpp='$CPP $CPPFLAGS'
43887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43890
43891
43892 fi
43893
43894 fi
43895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43896 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43897
43898 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43899 for ac_func in log10l
43900 do :
43901 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43902 if test "x$ac_cv_func_log10l" = x""yes; then :
43903 cat >>confdefs.h <<_ACEOF
43904 #define HAVE_LOG10L 1
43905 _ACEOF
43906
43907 fi
43908 done
43909
43910 else
43911
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43913 $as_echo_n "checking for _log10l declaration... " >&6; }
43914 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43915 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43916 $as_echo_n "(cached) " >&6
43917 else
43918
43919
43920 ac_ext=cpp
43921 ac_cpp='$CXXCPP $CPPFLAGS'
43922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43925
43926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43927 /* end confdefs.h. */
43928 #include <math.h>
43929 #ifdef HAVE_IEEEFP_H
43930 #include <ieeefp.h>
43931 #endif
43932
43933 int
43934 main ()
43935 {
43936 _log10l(0);
43937 ;
43938 return 0;
43939 }
43940 _ACEOF
43941 if ac_fn_cxx_try_compile "$LINENO"; then :
43942 glibcxx_cv_func__log10l_use=yes
43943 else
43944 glibcxx_cv_func__log10l_use=no
43945 fi
43946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43947 ac_ext=c
43948 ac_cpp='$CPP $CPPFLAGS'
43949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43952
43953
43954 fi
43955
43956 fi
43957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
43958 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
43959
43960 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
43961 for ac_func in _log10l
43962 do :
43963 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
43964 if test "x$ac_cv_func__log10l" = x""yes; then :
43965 cat >>confdefs.h <<_ACEOF
43966 #define HAVE__LOG10L 1
43967 _ACEOF
43968
43969 fi
43970 done
43971
43972 fi
43973 fi
43974
43975
43976
43977
43978
43979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
43980 $as_echo_n "checking for modfl declaration... " >&6; }
43981 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
43982 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
43983 $as_echo_n "(cached) " >&6
43984 else
43985
43986
43987 ac_ext=cpp
43988 ac_cpp='$CXXCPP $CPPFLAGS'
43989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43992
43993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43994 /* end confdefs.h. */
43995 #include <math.h>
43996 int
43997 main ()
43998 {
43999 modfl(0, 0);
44000 ;
44001 return 0;
44002 }
44003 _ACEOF
44004 if ac_fn_cxx_try_compile "$LINENO"; then :
44005 glibcxx_cv_func_modfl_use=yes
44006 else
44007 glibcxx_cv_func_modfl_use=no
44008 fi
44009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44010 ac_ext=c
44011 ac_cpp='$CPP $CPPFLAGS'
44012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44015
44016
44017 fi
44018
44019 fi
44020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44021 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44022
44023 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44024 for ac_func in modfl
44025 do :
44026 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44027 if test "x$ac_cv_func_modfl" = x""yes; then :
44028 cat >>confdefs.h <<_ACEOF
44029 #define HAVE_MODFL 1
44030 _ACEOF
44031
44032 fi
44033 done
44034
44035 else
44036
44037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44038 $as_echo_n "checking for _modfl declaration... " >&6; }
44039 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44040 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44041 $as_echo_n "(cached) " >&6
44042 else
44043
44044
44045 ac_ext=cpp
44046 ac_cpp='$CXXCPP $CPPFLAGS'
44047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44050
44051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44052 /* end confdefs.h. */
44053 #include <math.h>
44054 int
44055 main ()
44056 {
44057 _modfl(0, 0);
44058 ;
44059 return 0;
44060 }
44061 _ACEOF
44062 if ac_fn_cxx_try_compile "$LINENO"; then :
44063 glibcxx_cv_func__modfl_use=yes
44064 else
44065 glibcxx_cv_func__modfl_use=no
44066 fi
44067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44068 ac_ext=c
44069 ac_cpp='$CPP $CPPFLAGS'
44070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44073
44074
44075 fi
44076
44077 fi
44078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44079 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44080
44081 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44082 for ac_func in _modfl
44083 do :
44084 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44085 if test "x$ac_cv_func__modfl" = x""yes; then :
44086 cat >>confdefs.h <<_ACEOF
44087 #define HAVE__MODFL 1
44088 _ACEOF
44089
44090 fi
44091 done
44092
44093 fi
44094 fi
44095
44096
44097
44098
44099
44100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44101 $as_echo_n "checking for powl declaration... " >&6; }
44102 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44103 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44104 $as_echo_n "(cached) " >&6
44105 else
44106
44107
44108 ac_ext=cpp
44109 ac_cpp='$CXXCPP $CPPFLAGS'
44110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44113
44114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44115 /* end confdefs.h. */
44116 #include <math.h>
44117 int
44118 main ()
44119 {
44120 powl(0, 0);
44121 ;
44122 return 0;
44123 }
44124 _ACEOF
44125 if ac_fn_cxx_try_compile "$LINENO"; then :
44126 glibcxx_cv_func_powl_use=yes
44127 else
44128 glibcxx_cv_func_powl_use=no
44129 fi
44130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44131 ac_ext=c
44132 ac_cpp='$CPP $CPPFLAGS'
44133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44136
44137
44138 fi
44139
44140 fi
44141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44142 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44143
44144 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44145 for ac_func in powl
44146 do :
44147 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44148 if test "x$ac_cv_func_powl" = x""yes; then :
44149 cat >>confdefs.h <<_ACEOF
44150 #define HAVE_POWL 1
44151 _ACEOF
44152
44153 fi
44154 done
44155
44156 else
44157
44158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44159 $as_echo_n "checking for _powl declaration... " >&6; }
44160 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44161 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44162 $as_echo_n "(cached) " >&6
44163 else
44164
44165
44166 ac_ext=cpp
44167 ac_cpp='$CXXCPP $CPPFLAGS'
44168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44171
44172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44173 /* end confdefs.h. */
44174 #include <math.h>
44175 int
44176 main ()
44177 {
44178 _powl(0, 0);
44179 ;
44180 return 0;
44181 }
44182 _ACEOF
44183 if ac_fn_cxx_try_compile "$LINENO"; then :
44184 glibcxx_cv_func__powl_use=yes
44185 else
44186 glibcxx_cv_func__powl_use=no
44187 fi
44188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44189 ac_ext=c
44190 ac_cpp='$CPP $CPPFLAGS'
44191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44194
44195
44196 fi
44197
44198 fi
44199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44200 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44201
44202 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44203 for ac_func in _powl
44204 do :
44205 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44206 if test "x$ac_cv_func__powl" = x""yes; then :
44207 cat >>confdefs.h <<_ACEOF
44208 #define HAVE__POWL 1
44209 _ACEOF
44210
44211 fi
44212 done
44213
44214 fi
44215 fi
44216
44217
44218
44219
44220
44221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44222 $as_echo_n "checking for sqrtl declaration... " >&6; }
44223 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44224 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44225 $as_echo_n "(cached) " >&6
44226 else
44227
44228
44229 ac_ext=cpp
44230 ac_cpp='$CXXCPP $CPPFLAGS'
44231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44234
44235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44236 /* end confdefs.h. */
44237 #include <math.h>
44238 #ifdef HAVE_IEEEFP_H
44239 #include <ieeefp.h>
44240 #endif
44241
44242 int
44243 main ()
44244 {
44245 sqrtl(0);
44246 ;
44247 return 0;
44248 }
44249 _ACEOF
44250 if ac_fn_cxx_try_compile "$LINENO"; then :
44251 glibcxx_cv_func_sqrtl_use=yes
44252 else
44253 glibcxx_cv_func_sqrtl_use=no
44254 fi
44255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44256 ac_ext=c
44257 ac_cpp='$CPP $CPPFLAGS'
44258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44261
44262
44263 fi
44264
44265 fi
44266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44267 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44268
44269 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44270 for ac_func in sqrtl
44271 do :
44272 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44273 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44274 cat >>confdefs.h <<_ACEOF
44275 #define HAVE_SQRTL 1
44276 _ACEOF
44277
44278 fi
44279 done
44280
44281 else
44282
44283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44284 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44285 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44286 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44287 $as_echo_n "(cached) " >&6
44288 else
44289
44290
44291 ac_ext=cpp
44292 ac_cpp='$CXXCPP $CPPFLAGS'
44293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44296
44297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44298 /* end confdefs.h. */
44299 #include <math.h>
44300 #ifdef HAVE_IEEEFP_H
44301 #include <ieeefp.h>
44302 #endif
44303
44304 int
44305 main ()
44306 {
44307 _sqrtl(0);
44308 ;
44309 return 0;
44310 }
44311 _ACEOF
44312 if ac_fn_cxx_try_compile "$LINENO"; then :
44313 glibcxx_cv_func__sqrtl_use=yes
44314 else
44315 glibcxx_cv_func__sqrtl_use=no
44316 fi
44317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44318 ac_ext=c
44319 ac_cpp='$CPP $CPPFLAGS'
44320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44323
44324
44325 fi
44326
44327 fi
44328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44329 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44330
44331 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44332 for ac_func in _sqrtl
44333 do :
44334 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44335 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44336 cat >>confdefs.h <<_ACEOF
44337 #define HAVE__SQRTL 1
44338 _ACEOF
44339
44340 fi
44341 done
44342
44343 fi
44344 fi
44345
44346
44347
44348
44349
44350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44351 $as_echo_n "checking for sincosl declaration... " >&6; }
44352 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44353 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44354 $as_echo_n "(cached) " >&6
44355 else
44356
44357
44358 ac_ext=cpp
44359 ac_cpp='$CXXCPP $CPPFLAGS'
44360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44363
44364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44365 /* end confdefs.h. */
44366 #include <math.h>
44367 int
44368 main ()
44369 {
44370 sincosl(0, 0, 0);
44371 ;
44372 return 0;
44373 }
44374 _ACEOF
44375 if ac_fn_cxx_try_compile "$LINENO"; then :
44376 glibcxx_cv_func_sincosl_use=yes
44377 else
44378 glibcxx_cv_func_sincosl_use=no
44379 fi
44380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44381 ac_ext=c
44382 ac_cpp='$CPP $CPPFLAGS'
44383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44386
44387
44388 fi
44389
44390 fi
44391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44392 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44393
44394 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44395 for ac_func in sincosl
44396 do :
44397 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44398 if test "x$ac_cv_func_sincosl" = x""yes; then :
44399 cat >>confdefs.h <<_ACEOF
44400 #define HAVE_SINCOSL 1
44401 _ACEOF
44402
44403 fi
44404 done
44405
44406 else
44407
44408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44409 $as_echo_n "checking for _sincosl declaration... " >&6; }
44410 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44411 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44412 $as_echo_n "(cached) " >&6
44413 else
44414
44415
44416 ac_ext=cpp
44417 ac_cpp='$CXXCPP $CPPFLAGS'
44418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44421
44422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44423 /* end confdefs.h. */
44424 #include <math.h>
44425 int
44426 main ()
44427 {
44428 _sincosl(0, 0, 0);
44429 ;
44430 return 0;
44431 }
44432 _ACEOF
44433 if ac_fn_cxx_try_compile "$LINENO"; then :
44434 glibcxx_cv_func__sincosl_use=yes
44435 else
44436 glibcxx_cv_func__sincosl_use=no
44437 fi
44438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44439 ac_ext=c
44440 ac_cpp='$CPP $CPPFLAGS'
44441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44444
44445
44446 fi
44447
44448 fi
44449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44450 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44451
44452 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44453 for ac_func in _sincosl
44454 do :
44455 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44456 if test "x$ac_cv_func__sincosl" = x""yes; then :
44457 cat >>confdefs.h <<_ACEOF
44458 #define HAVE__SINCOSL 1
44459 _ACEOF
44460
44461 fi
44462 done
44463
44464 fi
44465 fi
44466
44467
44468
44469
44470
44471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44472 $as_echo_n "checking for finitel declaration... " >&6; }
44473 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44474 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44475 $as_echo_n "(cached) " >&6
44476 else
44477
44478
44479 ac_ext=cpp
44480 ac_cpp='$CXXCPP $CPPFLAGS'
44481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44484
44485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44486 /* end confdefs.h. */
44487 #include <math.h>
44488 #ifdef HAVE_IEEEFP_H
44489 #include <ieeefp.h>
44490 #endif
44491
44492 int
44493 main ()
44494 {
44495 finitel(0);
44496 ;
44497 return 0;
44498 }
44499 _ACEOF
44500 if ac_fn_cxx_try_compile "$LINENO"; then :
44501 glibcxx_cv_func_finitel_use=yes
44502 else
44503 glibcxx_cv_func_finitel_use=no
44504 fi
44505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44506 ac_ext=c
44507 ac_cpp='$CPP $CPPFLAGS'
44508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44511
44512
44513 fi
44514
44515 fi
44516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44517 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44518
44519 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44520 for ac_func in finitel
44521 do :
44522 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44523 if test "x$ac_cv_func_finitel" = x""yes; then :
44524 cat >>confdefs.h <<_ACEOF
44525 #define HAVE_FINITEL 1
44526 _ACEOF
44527
44528 fi
44529 done
44530
44531 else
44532
44533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44534 $as_echo_n "checking for _finitel declaration... " >&6; }
44535 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44536 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44537 $as_echo_n "(cached) " >&6
44538 else
44539
44540
44541 ac_ext=cpp
44542 ac_cpp='$CXXCPP $CPPFLAGS'
44543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44546
44547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44548 /* end confdefs.h. */
44549 #include <math.h>
44550 #ifdef HAVE_IEEEFP_H
44551 #include <ieeefp.h>
44552 #endif
44553
44554 int
44555 main ()
44556 {
44557 _finitel(0);
44558 ;
44559 return 0;
44560 }
44561 _ACEOF
44562 if ac_fn_cxx_try_compile "$LINENO"; then :
44563 glibcxx_cv_func__finitel_use=yes
44564 else
44565 glibcxx_cv_func__finitel_use=no
44566 fi
44567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44568 ac_ext=c
44569 ac_cpp='$CPP $CPPFLAGS'
44570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44573
44574
44575 fi
44576
44577 fi
44578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44579 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44580
44581 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44582 for ac_func in _finitel
44583 do :
44584 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44585 if test "x$ac_cv_func__finitel" = x""yes; then :
44586 cat >>confdefs.h <<_ACEOF
44587 #define HAVE__FINITEL 1
44588 _ACEOF
44589
44590 fi
44591 done
44592
44593 fi
44594 fi
44595
44596
44597
44598
44599 LIBS="$ac_save_LIBS"
44600 CXXFLAGS="$ac_save_CXXFLAGS"
44601
44602
44603 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44604 ac_save_CXXFLAGS="$CXXFLAGS"
44605 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44606
44607
44608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44609 $as_echo_n "checking for strtold declaration... " >&6; }
44610 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44611 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44612 $as_echo_n "(cached) " >&6
44613 else
44614
44615
44616 ac_ext=cpp
44617 ac_cpp='$CXXCPP $CPPFLAGS'
44618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44621
44622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44623 /* end confdefs.h. */
44624 #include <stdlib.h>
44625 int
44626 main ()
44627 {
44628 strtold(0, 0);
44629 ;
44630 return 0;
44631 }
44632 _ACEOF
44633 if ac_fn_cxx_try_compile "$LINENO"; then :
44634 glibcxx_cv_func_strtold_use=yes
44635 else
44636 glibcxx_cv_func_strtold_use=no
44637 fi
44638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44639 ac_ext=c
44640 ac_cpp='$CPP $CPPFLAGS'
44641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44644
44645
44646 fi
44647
44648 fi
44649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44650 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44651 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44652 for ac_func in strtold
44653 do :
44654 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44655 if test "x$ac_cv_func_strtold" = x""yes; then :
44656 cat >>confdefs.h <<_ACEOF
44657 #define HAVE_STRTOLD 1
44658 _ACEOF
44659
44660 fi
44661 done
44662
44663 fi
44664
44665
44666
44667
44668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44669 $as_echo_n "checking for strtof declaration... " >&6; }
44670 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44671 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44672 $as_echo_n "(cached) " >&6
44673 else
44674
44675
44676 ac_ext=cpp
44677 ac_cpp='$CXXCPP $CPPFLAGS'
44678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44681
44682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44683 /* end confdefs.h. */
44684 #include <stdlib.h>
44685 int
44686 main ()
44687 {
44688 strtof(0, 0);
44689 ;
44690 return 0;
44691 }
44692 _ACEOF
44693 if ac_fn_cxx_try_compile "$LINENO"; then :
44694 glibcxx_cv_func_strtof_use=yes
44695 else
44696 glibcxx_cv_func_strtof_use=no
44697 fi
44698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44699 ac_ext=c
44700 ac_cpp='$CPP $CPPFLAGS'
44701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44704
44705
44706 fi
44707
44708 fi
44709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44710 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44711 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44712 for ac_func in strtof
44713 do :
44714 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44715 if test "x$ac_cv_func_strtof" = x""yes; then :
44716 cat >>confdefs.h <<_ACEOF
44717 #define HAVE_STRTOF 1
44718 _ACEOF
44719
44720 fi
44721 done
44722
44723 fi
44724
44725
44726
44727
44728 CXXFLAGS="$ac_save_CXXFLAGS"
44729
44730 ;;
44731
44732 *djgpp)
44733 # GLIBCXX_CHECK_MATH_SUPPORT
44734 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44735
44736 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44737
44738 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44739
44740 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44741
44742 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44743
44744 ;;
44745
44746 *-freebsd*)
44747 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44748
44749
44750 # If we're not using GNU ld, then there's no point in even trying these
44751 # tests. Check for that first. We should have already tested for gld
44752 # by now (in libtool), but require it now just to be safe...
44753 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44754 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44755
44756
44757
44758 # The name set by libtool depends on the version of libtool. Shame on us
44759 # for depending on an impl detail, but c'est la vie. Older versions used
44760 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44761 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44762 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44763 # set (hence we're using an older libtool), then set it.
44764 if test x${with_gnu_ld+set} != xset; then
44765 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44766 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44767 with_gnu_ld=no
44768 else
44769 with_gnu_ld=$ac_cv_prog_gnu_ld
44770 fi
44771 fi
44772
44773 # Start by getting the version number. I think the libtool test already
44774 # does some of this, but throws away the result.
44775 glibcxx_ld_is_gold=no
44776 if test x"$with_gnu_ld" = x"yes"; then
44777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44778 $as_echo_n "checking for ld version... " >&6; }
44779
44780 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44781 glibcxx_ld_is_gold=yes
44782 fi
44783 ldver=`$LD --version 2>/dev/null |
44784 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44785
44786 glibcxx_gnu_ld_version=`echo $ldver | \
44787 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44789 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44790 fi
44791
44792 # Set --gc-sections.
44793 glibcxx_have_gc_sections=no
44794 if test "$glibcxx_ld_is_gold" = "yes"; then
44795 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44796 glibcxx_have_gc_sections=yes
44797 fi
44798 else
44799 glibcxx_gcsections_min_ld=21602
44800 if test x"$with_gnu_ld" = x"yes" &&
44801 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44802 glibcxx_have_gc_sections=yes
44803 fi
44804 fi
44805 if test "$glibcxx_have_gc_sections" = "yes"; then
44806 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44807 # NB: This flag only works reliably after 2.16.1. Configure tests
44808 # for this are difficult, so hard wire a value that should work.
44809
44810 ac_test_CFLAGS="${CFLAGS+set}"
44811 ac_save_CFLAGS="$CFLAGS"
44812 CFLAGS='-Wl,--gc-sections'
44813
44814 # Check for -Wl,--gc-sections
44815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44816 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44817 if test x$gcc_no_link = xyes; then
44818 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44819 fi
44820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44821 /* end confdefs.h. */
44822 int one(void) { return 1; }
44823 int two(void) { return 2; }
44824
44825 int
44826 main ()
44827 {
44828 two();
44829 ;
44830 return 0;
44831 }
44832 _ACEOF
44833 if ac_fn_c_try_link "$LINENO"; then :
44834 ac_gcsections=yes
44835 else
44836 ac_gcsections=no
44837 fi
44838 rm -f core conftest.err conftest.$ac_objext \
44839 conftest$ac_exeext conftest.$ac_ext
44840 if test "$ac_gcsections" = "yes"; then
44841 rm -f conftest.c
44842 touch conftest.c
44843 if $CC -c conftest.c; then
44844 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44845 grep "Warning: gc-sections option ignored" > /dev/null; then
44846 ac_gcsections=no
44847 fi
44848 fi
44849 rm -f conftest.c conftest.o conftest
44850 fi
44851 if test "$ac_gcsections" = "yes"; then
44852 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44853 fi
44854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44855 $as_echo "$ac_gcsections" >&6; }
44856
44857 if test "$ac_test_CFLAGS" = set; then
44858 CFLAGS="$ac_save_CFLAGS"
44859 else
44860 # this is the suspicious part
44861 CFLAGS=''
44862 fi
44863 fi
44864
44865 # Set -z,relro.
44866 # Note this is only for shared objects.
44867 ac_ld_relro=no
44868 if test x"$with_gnu_ld" = x"yes"; then
44869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44870 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44871 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44872 if test -n "$cxx_z_relo"; then
44873 OPT_LDFLAGS="-Wl,-z,relro"
44874 ac_ld_relro=yes
44875 fi
44876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44877 $as_echo "$ac_ld_relro" >&6; }
44878 fi
44879
44880 # Set linker optimization flags.
44881 if test x"$with_gnu_ld" = x"yes"; then
44882 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44883 fi
44884
44885
44886
44887
44888 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44889
44890 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44891
44892 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44893
44894 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44895
44896 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44897
44898 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44899
44900 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44901
44902 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44903
44904 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44905
44906
44907 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44908
44909 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44910
44911 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44912
44913 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44914
44915 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44916
44917 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44918
44919 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44920
44921 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44922
44923 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44924
44925 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44926
44927 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44928
44929 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44930
44931 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44932
44933 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
44934
44935 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
44936
44937 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
44938
44939 $as_echo "#define HAVE_POWF 1" >>confdefs.h
44940
44941 $as_echo "#define HAVE_SINF 1" >>confdefs.h
44942
44943 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
44944
44945 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
44946
44947 $as_echo "#define HAVE_TANF 1" >>confdefs.h
44948
44949 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
44950
44951 if test x"long_double_math_on_this_cpu" = x"yes"; then
44952 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
44953
44954 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
44955
44956 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
44957
44958 fi
44959 ;;
44960 *-hpux*)
44961 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44962
44963
44964 # If we're not using GNU ld, then there's no point in even trying these
44965 # tests. Check for that first. We should have already tested for gld
44966 # by now (in libtool), but require it now just to be safe...
44967 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44968 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44969
44970
44971
44972 # The name set by libtool depends on the version of libtool. Shame on us
44973 # for depending on an impl detail, but c'est la vie. Older versions used
44974 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44975 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44976 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44977 # set (hence we're using an older libtool), then set it.
44978 if test x${with_gnu_ld+set} != xset; then
44979 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44980 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44981 with_gnu_ld=no
44982 else
44983 with_gnu_ld=$ac_cv_prog_gnu_ld
44984 fi
44985 fi
44986
44987 # Start by getting the version number. I think the libtool test already
44988 # does some of this, but throws away the result.
44989 glibcxx_ld_is_gold=no
44990 if test x"$with_gnu_ld" = x"yes"; then
44991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44992 $as_echo_n "checking for ld version... " >&6; }
44993
44994 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44995 glibcxx_ld_is_gold=yes
44996 fi
44997 ldver=`$LD --version 2>/dev/null |
44998 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
44999
45000 glibcxx_gnu_ld_version=`echo $ldver | \
45001 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45003 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45004 fi
45005
45006 # Set --gc-sections.
45007 glibcxx_have_gc_sections=no
45008 if test "$glibcxx_ld_is_gold" = "yes"; then
45009 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45010 glibcxx_have_gc_sections=yes
45011 fi
45012 else
45013 glibcxx_gcsections_min_ld=21602
45014 if test x"$with_gnu_ld" = x"yes" &&
45015 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45016 glibcxx_have_gc_sections=yes
45017 fi
45018 fi
45019 if test "$glibcxx_have_gc_sections" = "yes"; then
45020 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45021 # NB: This flag only works reliably after 2.16.1. Configure tests
45022 # for this are difficult, so hard wire a value that should work.
45023
45024 ac_test_CFLAGS="${CFLAGS+set}"
45025 ac_save_CFLAGS="$CFLAGS"
45026 CFLAGS='-Wl,--gc-sections'
45027
45028 # Check for -Wl,--gc-sections
45029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45030 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45031 if test x$gcc_no_link = xyes; then
45032 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45033 fi
45034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45035 /* end confdefs.h. */
45036 int one(void) { return 1; }
45037 int two(void) { return 2; }
45038
45039 int
45040 main ()
45041 {
45042 two();
45043 ;
45044 return 0;
45045 }
45046 _ACEOF
45047 if ac_fn_c_try_link "$LINENO"; then :
45048 ac_gcsections=yes
45049 else
45050 ac_gcsections=no
45051 fi
45052 rm -f core conftest.err conftest.$ac_objext \
45053 conftest$ac_exeext conftest.$ac_ext
45054 if test "$ac_gcsections" = "yes"; then
45055 rm -f conftest.c
45056 touch conftest.c
45057 if $CC -c conftest.c; then
45058 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45059 grep "Warning: gc-sections option ignored" > /dev/null; then
45060 ac_gcsections=no
45061 fi
45062 fi
45063 rm -f conftest.c conftest.o conftest
45064 fi
45065 if test "$ac_gcsections" = "yes"; then
45066 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45067 fi
45068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45069 $as_echo "$ac_gcsections" >&6; }
45070
45071 if test "$ac_test_CFLAGS" = set; then
45072 CFLAGS="$ac_save_CFLAGS"
45073 else
45074 # this is the suspicious part
45075 CFLAGS=''
45076 fi
45077 fi
45078
45079 # Set -z,relro.
45080 # Note this is only for shared objects.
45081 ac_ld_relro=no
45082 if test x"$with_gnu_ld" = x"yes"; then
45083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45084 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45085 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45086 if test -n "$cxx_z_relo"; then
45087 OPT_LDFLAGS="-Wl,-z,relro"
45088 ac_ld_relro=yes
45089 fi
45090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45091 $as_echo "$ac_ld_relro" >&6; }
45092 fi
45093
45094 # Set linker optimization flags.
45095 if test x"$with_gnu_ld" = x"yes"; then
45096 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45097 fi
45098
45099
45100
45101
45102
45103 # GLIBCXX_CHECK_MATH_SUPPORT
45104 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45105
45106 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45107
45108 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45109
45110 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45111
45112 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45113
45114 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45115
45116 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45117
45118 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45119
45120 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45121
45122 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45123
45124 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45125
45126 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45127
45128 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45129
45130 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45131
45132 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45133
45134 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45135
45136 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45137
45138 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45139
45140 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45141
45142 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45143
45144 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45145
45146
45147 # GLIBCXX_CHECK_STDLIB_SUPPORT
45148 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45149
45150
45151
45152
45153 # Check whether --enable-tls was given.
45154 if test "${enable_tls+set}" = set; then :
45155 enableval=$enable_tls;
45156 case "$enableval" in
45157 yes|no) ;;
45158 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45159 esac
45160
45161 else
45162 enable_tls=yes
45163 fi
45164
45165
45166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45167 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45168 if test "${gcc_cv_have_tls+set}" = set; then :
45169 $as_echo_n "(cached) " >&6
45170 else
45171
45172 if test "$cross_compiling" = yes; then :
45173 if test x$gcc_no_link = xyes; then
45174 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45175 fi
45176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45177 /* end confdefs.h. */
45178 __thread int a; int b; int main() { return a = b; }
45179 _ACEOF
45180 if ac_fn_c_try_link "$LINENO"; then :
45181 chktls_save_LDFLAGS="$LDFLAGS"
45182 case $host in
45183 *-*-linux*)
45184 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45185 ;;
45186 esac
45187 chktls_save_CFLAGS="$CFLAGS"
45188 CFLAGS="-fPIC $CFLAGS"
45189 if test x$gcc_no_link = xyes; then
45190 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45191 fi
45192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45193 /* end confdefs.h. */
45194 int f() { return 0; }
45195 _ACEOF
45196 if ac_fn_c_try_link "$LINENO"; then :
45197 if test x$gcc_no_link = xyes; then
45198 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45199 fi
45200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45201 /* end confdefs.h. */
45202 __thread int a; int b; int f() { return a = b; }
45203 _ACEOF
45204 if ac_fn_c_try_link "$LINENO"; then :
45205 gcc_cv_have_tls=yes
45206 else
45207 gcc_cv_have_tls=no
45208 fi
45209 rm -f core conftest.err conftest.$ac_objext \
45210 conftest$ac_exeext conftest.$ac_ext
45211 else
45212 gcc_cv_have_tls=yes
45213 fi
45214 rm -f core conftest.err conftest.$ac_objext \
45215 conftest$ac_exeext conftest.$ac_ext
45216 CFLAGS="$chktls_save_CFLAGS"
45217 LDFLAGS="$chktls_save_LDFLAGS"
45218 else
45219 gcc_cv_have_tls=no
45220 fi
45221 rm -f core conftest.err conftest.$ac_objext \
45222 conftest$ac_exeext conftest.$ac_ext
45223
45224
45225 else
45226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45227 /* end confdefs.h. */
45228 __thread int a; int b; int main() { return a = b; }
45229 _ACEOF
45230 if ac_fn_c_try_run "$LINENO"; then :
45231 chktls_save_LDFLAGS="$LDFLAGS"
45232 LDFLAGS="-static $LDFLAGS"
45233 if test x$gcc_no_link = xyes; then
45234 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45235 fi
45236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45237 /* end confdefs.h. */
45238 int main() { return 0; }
45239 _ACEOF
45240 if ac_fn_c_try_link "$LINENO"; then :
45241 if test "$cross_compiling" = yes; then :
45242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45244 as_fn_error "cannot run test program while cross compiling
45245 See \`config.log' for more details." "$LINENO" 5; }
45246 else
45247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45248 /* end confdefs.h. */
45249 __thread int a; int b; int main() { return a = b; }
45250 _ACEOF
45251 if ac_fn_c_try_run "$LINENO"; then :
45252 gcc_cv_have_tls=yes
45253 else
45254 gcc_cv_have_tls=no
45255 fi
45256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45257 conftest.$ac_objext conftest.beam conftest.$ac_ext
45258 fi
45259
45260 else
45261 gcc_cv_have_tls=yes
45262 fi
45263 rm -f core conftest.err conftest.$ac_objext \
45264 conftest$ac_exeext conftest.$ac_ext
45265 LDFLAGS="$chktls_save_LDFLAGS"
45266 if test $gcc_cv_have_tls = yes; then
45267 chktls_save_CFLAGS="$CFLAGS"
45268 thread_CFLAGS=failed
45269 for flag in '' '-pthread' '-lpthread'; do
45270 CFLAGS="$flag $chktls_save_CFLAGS"
45271 if test x$gcc_no_link = xyes; then
45272 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45273 fi
45274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45275 /* end confdefs.h. */
45276 #include <pthread.h>
45277 void *g(void *d) { return NULL; }
45278 int
45279 main ()
45280 {
45281 pthread_t t; pthread_create(&t,NULL,g,NULL);
45282 ;
45283 return 0;
45284 }
45285 _ACEOF
45286 if ac_fn_c_try_link "$LINENO"; then :
45287 thread_CFLAGS="$flag"
45288 fi
45289 rm -f core conftest.err conftest.$ac_objext \
45290 conftest$ac_exeext conftest.$ac_ext
45291 if test "X$thread_CFLAGS" != Xfailed; then
45292 break
45293 fi
45294 done
45295 CFLAGS="$chktls_save_CFLAGS"
45296 if test "X$thread_CFLAGS" != Xfailed; then
45297 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45298 if test "$cross_compiling" = yes; then :
45299 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45300 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45301 as_fn_error "cannot run test program while cross compiling
45302 See \`config.log' for more details." "$LINENO" 5; }
45303 else
45304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45305 /* end confdefs.h. */
45306 #include <pthread.h>
45307 __thread int a;
45308 static int *volatile a_in_other_thread;
45309 static void *
45310 thread_func (void *arg)
45311 {
45312 a_in_other_thread = &a;
45313 return (void *)0;
45314 }
45315 int
45316 main ()
45317 {
45318 pthread_t thread;
45319 void *thread_retval;
45320 int *volatile a_in_main_thread;
45321 a_in_main_thread = &a;
45322 if (pthread_create (&thread, (pthread_attr_t *)0,
45323 thread_func, (void *)0))
45324 return 0;
45325 if (pthread_join (thread, &thread_retval))
45326 return 0;
45327 return (a_in_other_thread == a_in_main_thread);
45328 ;
45329 return 0;
45330 }
45331 _ACEOF
45332 if ac_fn_c_try_run "$LINENO"; then :
45333 gcc_cv_have_tls=yes
45334 else
45335 gcc_cv_have_tls=no
45336 fi
45337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45338 conftest.$ac_objext conftest.beam conftest.$ac_ext
45339 fi
45340
45341 CFLAGS="$chktls_save_CFLAGS"
45342 fi
45343 fi
45344 else
45345 gcc_cv_have_tls=no
45346 fi
45347 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45348 conftest.$ac_objext conftest.beam conftest.$ac_ext
45349 fi
45350
45351 fi
45352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45353 $as_echo "$gcc_cv_have_tls" >&6; }
45354 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45355
45356 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45357
45358 fi
45359 case "$target" in
45360 *-hpux10*)
45361 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45362
45363 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45364
45365 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45366
45367 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45368
45369 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45370
45371 ;;
45372 esac
45373 ;;
45374 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45375
45376 # All these tests are for C++; save the language and the compiler flags.
45377 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45378 # found in GLIBCXX_CONFIGURE.
45379
45380 ac_ext=cpp
45381 ac_cpp='$CXXCPP $CPPFLAGS'
45382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45385
45386 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45387 ac_save_CXXFLAGS="$CXXFLAGS"
45388
45389 # Check for maintainer-mode bits.
45390 if test x"$USE_MAINTAINER_MODE" = xno; then
45391 WERROR=''
45392 else
45393 WERROR='-Werror'
45394 fi
45395
45396 # Check for -ffunction-sections -fdata-sections
45397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45398 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45399 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45401 /* end confdefs.h. */
45402 int foo; void bar() { };
45403 int
45404 main ()
45405 {
45406
45407 ;
45408 return 0;
45409 }
45410 _ACEOF
45411 if ac_fn_cxx_try_compile "$LINENO"; then :
45412 ac_fdsections=yes
45413 else
45414 ac_fdsections=no
45415 fi
45416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45417 if test "$ac_test_CXXFLAGS" = set; then
45418 CXXFLAGS="$ac_save_CXXFLAGS"
45419 else
45420 # this is the suspicious part
45421 CXXFLAGS=''
45422 fi
45423 if test x"$ac_fdsections" = x"yes"; then
45424 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45425 fi
45426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45427 $as_echo "$ac_fdsections" >&6; }
45428
45429 ac_ext=c
45430 ac_cpp='$CPP $CPPFLAGS'
45431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45434
45435
45436
45437
45438
45439 # If we're not using GNU ld, then there's no point in even trying these
45440 # tests. Check for that first. We should have already tested for gld
45441 # by now (in libtool), but require it now just to be safe...
45442 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45443 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45444
45445
45446
45447 # The name set by libtool depends on the version of libtool. Shame on us
45448 # for depending on an impl detail, but c'est la vie. Older versions used
45449 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45450 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45451 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45452 # set (hence we're using an older libtool), then set it.
45453 if test x${with_gnu_ld+set} != xset; then
45454 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45455 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45456 with_gnu_ld=no
45457 else
45458 with_gnu_ld=$ac_cv_prog_gnu_ld
45459 fi
45460 fi
45461
45462 # Start by getting the version number. I think the libtool test already
45463 # does some of this, but throws away the result.
45464 glibcxx_ld_is_gold=no
45465 if test x"$with_gnu_ld" = x"yes"; then
45466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45467 $as_echo_n "checking for ld version... " >&6; }
45468
45469 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45470 glibcxx_ld_is_gold=yes
45471 fi
45472 ldver=`$LD --version 2>/dev/null |
45473 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
45474
45475 glibcxx_gnu_ld_version=`echo $ldver | \
45476 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45478 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45479 fi
45480
45481 # Set --gc-sections.
45482 glibcxx_have_gc_sections=no
45483 if test "$glibcxx_ld_is_gold" = "yes"; then
45484 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45485 glibcxx_have_gc_sections=yes
45486 fi
45487 else
45488 glibcxx_gcsections_min_ld=21602
45489 if test x"$with_gnu_ld" = x"yes" &&
45490 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45491 glibcxx_have_gc_sections=yes
45492 fi
45493 fi
45494 if test "$glibcxx_have_gc_sections" = "yes"; then
45495 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45496 # NB: This flag only works reliably after 2.16.1. Configure tests
45497 # for this are difficult, so hard wire a value that should work.
45498
45499 ac_test_CFLAGS="${CFLAGS+set}"
45500 ac_save_CFLAGS="$CFLAGS"
45501 CFLAGS='-Wl,--gc-sections'
45502
45503 # Check for -Wl,--gc-sections
45504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45505 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45506 if test x$gcc_no_link = xyes; then
45507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45508 fi
45509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45510 /* end confdefs.h. */
45511 int one(void) { return 1; }
45512 int two(void) { return 2; }
45513
45514 int
45515 main ()
45516 {
45517 two();
45518 ;
45519 return 0;
45520 }
45521 _ACEOF
45522 if ac_fn_c_try_link "$LINENO"; then :
45523 ac_gcsections=yes
45524 else
45525 ac_gcsections=no
45526 fi
45527 rm -f core conftest.err conftest.$ac_objext \
45528 conftest$ac_exeext conftest.$ac_ext
45529 if test "$ac_gcsections" = "yes"; then
45530 rm -f conftest.c
45531 touch conftest.c
45532 if $CC -c conftest.c; then
45533 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45534 grep "Warning: gc-sections option ignored" > /dev/null; then
45535 ac_gcsections=no
45536 fi
45537 fi
45538 rm -f conftest.c conftest.o conftest
45539 fi
45540 if test "$ac_gcsections" = "yes"; then
45541 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45542 fi
45543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45544 $as_echo "$ac_gcsections" >&6; }
45545
45546 if test "$ac_test_CFLAGS" = set; then
45547 CFLAGS="$ac_save_CFLAGS"
45548 else
45549 # this is the suspicious part
45550 CFLAGS=''
45551 fi
45552 fi
45553
45554 # Set -z,relro.
45555 # Note this is only for shared objects.
45556 ac_ld_relro=no
45557 if test x"$with_gnu_ld" = x"yes"; then
45558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45559 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45560 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45561 if test -n "$cxx_z_relo"; then
45562 OPT_LDFLAGS="-Wl,-z,relro"
45563 ac_ld_relro=yes
45564 fi
45565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45566 $as_echo "$ac_ld_relro" >&6; }
45567 fi
45568
45569 # Set linker optimization flags.
45570 if test x"$with_gnu_ld" = x"yes"; then
45571 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45572 fi
45573
45574
45575
45576
45577
45578 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45579 ac_save_CXXFLAGS="$CXXFLAGS"
45580 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45581
45582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45583 $as_echo_n "checking for sin in -lm... " >&6; }
45584 if test "${ac_cv_lib_m_sin+set}" = set; then :
45585 $as_echo_n "(cached) " >&6
45586 else
45587 ac_check_lib_save_LIBS=$LIBS
45588 LIBS="-lm $LIBS"
45589 if test x$gcc_no_link = xyes; then
45590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45591 fi
45592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45593 /* end confdefs.h. */
45594
45595 /* Override any GCC internal prototype to avoid an error.
45596 Use char because int might match the return type of a GCC
45597 builtin and then its argument prototype would still apply. */
45598 #ifdef __cplusplus
45599 extern "C"
45600 #endif
45601 char sin ();
45602 int
45603 main ()
45604 {
45605 return sin ();
45606 ;
45607 return 0;
45608 }
45609 _ACEOF
45610 if ac_fn_c_try_link "$LINENO"; then :
45611 ac_cv_lib_m_sin=yes
45612 else
45613 ac_cv_lib_m_sin=no
45614 fi
45615 rm -f core conftest.err conftest.$ac_objext \
45616 conftest$ac_exeext conftest.$ac_ext
45617 LIBS=$ac_check_lib_save_LIBS
45618 fi
45619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45620 $as_echo "$ac_cv_lib_m_sin" >&6; }
45621 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45622 libm="-lm"
45623 fi
45624
45625 ac_save_LIBS="$LIBS"
45626 LIBS="$LIBS $libm"
45627
45628
45629
45630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45631 $as_echo_n "checking for isinf declaration... " >&6; }
45632 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45633 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45634 $as_echo_n "(cached) " >&6
45635 else
45636
45637
45638 ac_ext=cpp
45639 ac_cpp='$CXXCPP $CPPFLAGS'
45640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45643
45644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45645 /* end confdefs.h. */
45646 #include <math.h>
45647 #ifdef HAVE_IEEEFP_H
45648 #include <ieeefp.h>
45649 #endif
45650
45651 int
45652 main ()
45653 {
45654 isinf(0);
45655 ;
45656 return 0;
45657 }
45658 _ACEOF
45659 if ac_fn_cxx_try_compile "$LINENO"; then :
45660 glibcxx_cv_func_isinf_use=yes
45661 else
45662 glibcxx_cv_func_isinf_use=no
45663 fi
45664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45665 ac_ext=c
45666 ac_cpp='$CPP $CPPFLAGS'
45667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45670
45671
45672 fi
45673
45674 fi
45675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45676 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45677
45678 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45679 for ac_func in isinf
45680 do :
45681 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45682 if test "x$ac_cv_func_isinf" = x""yes; then :
45683 cat >>confdefs.h <<_ACEOF
45684 #define HAVE_ISINF 1
45685 _ACEOF
45686
45687 fi
45688 done
45689
45690 else
45691
45692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45693 $as_echo_n "checking for _isinf declaration... " >&6; }
45694 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45695 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45696 $as_echo_n "(cached) " >&6
45697 else
45698
45699
45700 ac_ext=cpp
45701 ac_cpp='$CXXCPP $CPPFLAGS'
45702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45705
45706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45707 /* end confdefs.h. */
45708 #include <math.h>
45709 #ifdef HAVE_IEEEFP_H
45710 #include <ieeefp.h>
45711 #endif
45712
45713 int
45714 main ()
45715 {
45716 _isinf(0);
45717 ;
45718 return 0;
45719 }
45720 _ACEOF
45721 if ac_fn_cxx_try_compile "$LINENO"; then :
45722 glibcxx_cv_func__isinf_use=yes
45723 else
45724 glibcxx_cv_func__isinf_use=no
45725 fi
45726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45727 ac_ext=c
45728 ac_cpp='$CPP $CPPFLAGS'
45729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45732
45733
45734 fi
45735
45736 fi
45737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45738 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45739
45740 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45741 for ac_func in _isinf
45742 do :
45743 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45744 if test "x$ac_cv_func__isinf" = x""yes; then :
45745 cat >>confdefs.h <<_ACEOF
45746 #define HAVE__ISINF 1
45747 _ACEOF
45748
45749 fi
45750 done
45751
45752 fi
45753 fi
45754
45755
45756
45757
45758
45759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45760 $as_echo_n "checking for isnan declaration... " >&6; }
45761 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45762 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45763 $as_echo_n "(cached) " >&6
45764 else
45765
45766
45767 ac_ext=cpp
45768 ac_cpp='$CXXCPP $CPPFLAGS'
45769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45772
45773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45774 /* end confdefs.h. */
45775 #include <math.h>
45776 #ifdef HAVE_IEEEFP_H
45777 #include <ieeefp.h>
45778 #endif
45779
45780 int
45781 main ()
45782 {
45783 isnan(0);
45784 ;
45785 return 0;
45786 }
45787 _ACEOF
45788 if ac_fn_cxx_try_compile "$LINENO"; then :
45789 glibcxx_cv_func_isnan_use=yes
45790 else
45791 glibcxx_cv_func_isnan_use=no
45792 fi
45793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45794 ac_ext=c
45795 ac_cpp='$CPP $CPPFLAGS'
45796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45799
45800
45801 fi
45802
45803 fi
45804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45805 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45806
45807 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45808 for ac_func in isnan
45809 do :
45810 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45811 if test "x$ac_cv_func_isnan" = x""yes; then :
45812 cat >>confdefs.h <<_ACEOF
45813 #define HAVE_ISNAN 1
45814 _ACEOF
45815
45816 fi
45817 done
45818
45819 else
45820
45821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45822 $as_echo_n "checking for _isnan declaration... " >&6; }
45823 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45824 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45825 $as_echo_n "(cached) " >&6
45826 else
45827
45828
45829 ac_ext=cpp
45830 ac_cpp='$CXXCPP $CPPFLAGS'
45831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45834
45835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45836 /* end confdefs.h. */
45837 #include <math.h>
45838 #ifdef HAVE_IEEEFP_H
45839 #include <ieeefp.h>
45840 #endif
45841
45842 int
45843 main ()
45844 {
45845 _isnan(0);
45846 ;
45847 return 0;
45848 }
45849 _ACEOF
45850 if ac_fn_cxx_try_compile "$LINENO"; then :
45851 glibcxx_cv_func__isnan_use=yes
45852 else
45853 glibcxx_cv_func__isnan_use=no
45854 fi
45855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45856 ac_ext=c
45857 ac_cpp='$CPP $CPPFLAGS'
45858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45861
45862
45863 fi
45864
45865 fi
45866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45867 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45868
45869 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45870 for ac_func in _isnan
45871 do :
45872 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45873 if test "x$ac_cv_func__isnan" = x""yes; then :
45874 cat >>confdefs.h <<_ACEOF
45875 #define HAVE__ISNAN 1
45876 _ACEOF
45877
45878 fi
45879 done
45880
45881 fi
45882 fi
45883
45884
45885
45886
45887
45888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45889 $as_echo_n "checking for finite declaration... " >&6; }
45890 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45891 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45892 $as_echo_n "(cached) " >&6
45893 else
45894
45895
45896 ac_ext=cpp
45897 ac_cpp='$CXXCPP $CPPFLAGS'
45898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45901
45902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45903 /* end confdefs.h. */
45904 #include <math.h>
45905 #ifdef HAVE_IEEEFP_H
45906 #include <ieeefp.h>
45907 #endif
45908
45909 int
45910 main ()
45911 {
45912 finite(0);
45913 ;
45914 return 0;
45915 }
45916 _ACEOF
45917 if ac_fn_cxx_try_compile "$LINENO"; then :
45918 glibcxx_cv_func_finite_use=yes
45919 else
45920 glibcxx_cv_func_finite_use=no
45921 fi
45922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45923 ac_ext=c
45924 ac_cpp='$CPP $CPPFLAGS'
45925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45928
45929
45930 fi
45931
45932 fi
45933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
45934 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
45935
45936 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45937 for ac_func in finite
45938 do :
45939 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
45940 if test "x$ac_cv_func_finite" = x""yes; then :
45941 cat >>confdefs.h <<_ACEOF
45942 #define HAVE_FINITE 1
45943 _ACEOF
45944
45945 fi
45946 done
45947
45948 else
45949
45950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
45951 $as_echo_n "checking for _finite declaration... " >&6; }
45952 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45953 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
45954 $as_echo_n "(cached) " >&6
45955 else
45956
45957
45958 ac_ext=cpp
45959 ac_cpp='$CXXCPP $CPPFLAGS'
45960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45963
45964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45965 /* end confdefs.h. */
45966 #include <math.h>
45967 #ifdef HAVE_IEEEFP_H
45968 #include <ieeefp.h>
45969 #endif
45970
45971 int
45972 main ()
45973 {
45974 _finite(0);
45975 ;
45976 return 0;
45977 }
45978 _ACEOF
45979 if ac_fn_cxx_try_compile "$LINENO"; then :
45980 glibcxx_cv_func__finite_use=yes
45981 else
45982 glibcxx_cv_func__finite_use=no
45983 fi
45984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45985 ac_ext=c
45986 ac_cpp='$CPP $CPPFLAGS'
45987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45990
45991
45992 fi
45993
45994 fi
45995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
45996 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
45997
45998 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45999 for ac_func in _finite
46000 do :
46001 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46002 if test "x$ac_cv_func__finite" = x""yes; then :
46003 cat >>confdefs.h <<_ACEOF
46004 #define HAVE__FINITE 1
46005 _ACEOF
46006
46007 fi
46008 done
46009
46010 fi
46011 fi
46012
46013
46014
46015
46016
46017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46018 $as_echo_n "checking for sincos declaration... " >&6; }
46019 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46020 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46021 $as_echo_n "(cached) " >&6
46022 else
46023
46024
46025 ac_ext=cpp
46026 ac_cpp='$CXXCPP $CPPFLAGS'
46027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46030
46031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46032 /* end confdefs.h. */
46033 #include <math.h>
46034 int
46035 main ()
46036 {
46037 sincos(0, 0, 0);
46038 ;
46039 return 0;
46040 }
46041 _ACEOF
46042 if ac_fn_cxx_try_compile "$LINENO"; then :
46043 glibcxx_cv_func_sincos_use=yes
46044 else
46045 glibcxx_cv_func_sincos_use=no
46046 fi
46047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46048 ac_ext=c
46049 ac_cpp='$CPP $CPPFLAGS'
46050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46053
46054
46055 fi
46056
46057 fi
46058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46059 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46060
46061 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46062 for ac_func in sincos
46063 do :
46064 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46065 if test "x$ac_cv_func_sincos" = x""yes; then :
46066 cat >>confdefs.h <<_ACEOF
46067 #define HAVE_SINCOS 1
46068 _ACEOF
46069
46070 fi
46071 done
46072
46073 else
46074
46075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46076 $as_echo_n "checking for _sincos declaration... " >&6; }
46077 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46078 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46079 $as_echo_n "(cached) " >&6
46080 else
46081
46082
46083 ac_ext=cpp
46084 ac_cpp='$CXXCPP $CPPFLAGS'
46085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46088
46089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46090 /* end confdefs.h. */
46091 #include <math.h>
46092 int
46093 main ()
46094 {
46095 _sincos(0, 0, 0);
46096 ;
46097 return 0;
46098 }
46099 _ACEOF
46100 if ac_fn_cxx_try_compile "$LINENO"; then :
46101 glibcxx_cv_func__sincos_use=yes
46102 else
46103 glibcxx_cv_func__sincos_use=no
46104 fi
46105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46106 ac_ext=c
46107 ac_cpp='$CPP $CPPFLAGS'
46108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46111
46112
46113 fi
46114
46115 fi
46116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46117 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46118
46119 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46120 for ac_func in _sincos
46121 do :
46122 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46123 if test "x$ac_cv_func__sincos" = x""yes; then :
46124 cat >>confdefs.h <<_ACEOF
46125 #define HAVE__SINCOS 1
46126 _ACEOF
46127
46128 fi
46129 done
46130
46131 fi
46132 fi
46133
46134
46135
46136
46137
46138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46139 $as_echo_n "checking for fpclass declaration... " >&6; }
46140 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46141 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46142 $as_echo_n "(cached) " >&6
46143 else
46144
46145
46146 ac_ext=cpp
46147 ac_cpp='$CXXCPP $CPPFLAGS'
46148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46151
46152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46153 /* end confdefs.h. */
46154 #include <math.h>
46155 #ifdef HAVE_IEEEFP_H
46156 #include <ieeefp.h>
46157 #endif
46158
46159 int
46160 main ()
46161 {
46162 fpclass(0);
46163 ;
46164 return 0;
46165 }
46166 _ACEOF
46167 if ac_fn_cxx_try_compile "$LINENO"; then :
46168 glibcxx_cv_func_fpclass_use=yes
46169 else
46170 glibcxx_cv_func_fpclass_use=no
46171 fi
46172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46173 ac_ext=c
46174 ac_cpp='$CPP $CPPFLAGS'
46175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46178
46179
46180 fi
46181
46182 fi
46183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46184 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46185
46186 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46187 for ac_func in fpclass
46188 do :
46189 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46190 if test "x$ac_cv_func_fpclass" = x""yes; then :
46191 cat >>confdefs.h <<_ACEOF
46192 #define HAVE_FPCLASS 1
46193 _ACEOF
46194
46195 fi
46196 done
46197
46198 else
46199
46200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46201 $as_echo_n "checking for _fpclass declaration... " >&6; }
46202 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46203 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46204 $as_echo_n "(cached) " >&6
46205 else
46206
46207
46208 ac_ext=cpp
46209 ac_cpp='$CXXCPP $CPPFLAGS'
46210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46213
46214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46215 /* end confdefs.h. */
46216 #include <math.h>
46217 #ifdef HAVE_IEEEFP_H
46218 #include <ieeefp.h>
46219 #endif
46220
46221 int
46222 main ()
46223 {
46224 _fpclass(0);
46225 ;
46226 return 0;
46227 }
46228 _ACEOF
46229 if ac_fn_cxx_try_compile "$LINENO"; then :
46230 glibcxx_cv_func__fpclass_use=yes
46231 else
46232 glibcxx_cv_func__fpclass_use=no
46233 fi
46234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46235 ac_ext=c
46236 ac_cpp='$CPP $CPPFLAGS'
46237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46240
46241
46242 fi
46243
46244 fi
46245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46246 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46247
46248 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46249 for ac_func in _fpclass
46250 do :
46251 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46252 if test "x$ac_cv_func__fpclass" = x""yes; then :
46253 cat >>confdefs.h <<_ACEOF
46254 #define HAVE__FPCLASS 1
46255 _ACEOF
46256
46257 fi
46258 done
46259
46260 fi
46261 fi
46262
46263
46264
46265
46266
46267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46268 $as_echo_n "checking for qfpclass declaration... " >&6; }
46269 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46270 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46271 $as_echo_n "(cached) " >&6
46272 else
46273
46274
46275 ac_ext=cpp
46276 ac_cpp='$CXXCPP $CPPFLAGS'
46277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46280
46281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46282 /* end confdefs.h. */
46283 #include <math.h>
46284 #ifdef HAVE_IEEEFP_H
46285 #include <ieeefp.h>
46286 #endif
46287
46288 int
46289 main ()
46290 {
46291 qfpclass(0);
46292 ;
46293 return 0;
46294 }
46295 _ACEOF
46296 if ac_fn_cxx_try_compile "$LINENO"; then :
46297 glibcxx_cv_func_qfpclass_use=yes
46298 else
46299 glibcxx_cv_func_qfpclass_use=no
46300 fi
46301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46302 ac_ext=c
46303 ac_cpp='$CPP $CPPFLAGS'
46304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46307
46308
46309 fi
46310
46311 fi
46312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46313 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46314
46315 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46316 for ac_func in qfpclass
46317 do :
46318 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46319 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46320 cat >>confdefs.h <<_ACEOF
46321 #define HAVE_QFPCLASS 1
46322 _ACEOF
46323
46324 fi
46325 done
46326
46327 else
46328
46329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46330 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46331 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46332 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46333 $as_echo_n "(cached) " >&6
46334 else
46335
46336
46337 ac_ext=cpp
46338 ac_cpp='$CXXCPP $CPPFLAGS'
46339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46342
46343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46344 /* end confdefs.h. */
46345 #include <math.h>
46346 #ifdef HAVE_IEEEFP_H
46347 #include <ieeefp.h>
46348 #endif
46349
46350 int
46351 main ()
46352 {
46353 _qfpclass(0);
46354 ;
46355 return 0;
46356 }
46357 _ACEOF
46358 if ac_fn_cxx_try_compile "$LINENO"; then :
46359 glibcxx_cv_func__qfpclass_use=yes
46360 else
46361 glibcxx_cv_func__qfpclass_use=no
46362 fi
46363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46364 ac_ext=c
46365 ac_cpp='$CPP $CPPFLAGS'
46366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46369
46370
46371 fi
46372
46373 fi
46374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46375 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46376
46377 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46378 for ac_func in _qfpclass
46379 do :
46380 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46381 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46382 cat >>confdefs.h <<_ACEOF
46383 #define HAVE__QFPCLASS 1
46384 _ACEOF
46385
46386 fi
46387 done
46388
46389 fi
46390 fi
46391
46392
46393
46394
46395
46396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46397 $as_echo_n "checking for hypot declaration... " >&6; }
46398 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46399 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46400 $as_echo_n "(cached) " >&6
46401 else
46402
46403
46404 ac_ext=cpp
46405 ac_cpp='$CXXCPP $CPPFLAGS'
46406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46409
46410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46411 /* end confdefs.h. */
46412 #include <math.h>
46413 int
46414 main ()
46415 {
46416 hypot(0, 0);
46417 ;
46418 return 0;
46419 }
46420 _ACEOF
46421 if ac_fn_cxx_try_compile "$LINENO"; then :
46422 glibcxx_cv_func_hypot_use=yes
46423 else
46424 glibcxx_cv_func_hypot_use=no
46425 fi
46426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46427 ac_ext=c
46428 ac_cpp='$CPP $CPPFLAGS'
46429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46432
46433
46434 fi
46435
46436 fi
46437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46438 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46439
46440 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46441 for ac_func in hypot
46442 do :
46443 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46444 if test "x$ac_cv_func_hypot" = x""yes; then :
46445 cat >>confdefs.h <<_ACEOF
46446 #define HAVE_HYPOT 1
46447 _ACEOF
46448
46449 fi
46450 done
46451
46452 else
46453
46454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46455 $as_echo_n "checking for _hypot declaration... " >&6; }
46456 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46457 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46458 $as_echo_n "(cached) " >&6
46459 else
46460
46461
46462 ac_ext=cpp
46463 ac_cpp='$CXXCPP $CPPFLAGS'
46464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46467
46468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46469 /* end confdefs.h. */
46470 #include <math.h>
46471 int
46472 main ()
46473 {
46474 _hypot(0, 0);
46475 ;
46476 return 0;
46477 }
46478 _ACEOF
46479 if ac_fn_cxx_try_compile "$LINENO"; then :
46480 glibcxx_cv_func__hypot_use=yes
46481 else
46482 glibcxx_cv_func__hypot_use=no
46483 fi
46484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46485 ac_ext=c
46486 ac_cpp='$CPP $CPPFLAGS'
46487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46490
46491
46492 fi
46493
46494 fi
46495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46496 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46497
46498 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46499 for ac_func in _hypot
46500 do :
46501 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46502 if test "x$ac_cv_func__hypot" = x""yes; then :
46503 cat >>confdefs.h <<_ACEOF
46504 #define HAVE__HYPOT 1
46505 _ACEOF
46506
46507 fi
46508 done
46509
46510 fi
46511 fi
46512
46513
46514
46515
46516
46517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46518 $as_echo_n "checking for float trig functions... " >&6; }
46519 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46520 $as_echo_n "(cached) " >&6
46521 else
46522
46523
46524 ac_ext=cpp
46525 ac_cpp='$CXXCPP $CPPFLAGS'
46526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46529
46530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46531 /* end confdefs.h. */
46532 #include <math.h>
46533 int
46534 main ()
46535 {
46536 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46537 ;
46538 return 0;
46539 }
46540 _ACEOF
46541 if ac_fn_cxx_try_compile "$LINENO"; then :
46542 glibcxx_cv_func_float_trig_use=yes
46543 else
46544 glibcxx_cv_func_float_trig_use=no
46545 fi
46546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46547 ac_ext=c
46548 ac_cpp='$CPP $CPPFLAGS'
46549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46552
46553 fi
46554
46555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46556 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46557 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46558 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46559 do :
46560 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46562 eval as_val=\$$as_ac_var
46563 if test "x$as_val" = x""yes; then :
46564 cat >>confdefs.h <<_ACEOF
46565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46566 _ACEOF
46567
46568 fi
46569 done
46570
46571 else
46572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46573 $as_echo_n "checking for _float trig functions... " >&6; }
46574 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46575 $as_echo_n "(cached) " >&6
46576 else
46577
46578
46579 ac_ext=cpp
46580 ac_cpp='$CXXCPP $CPPFLAGS'
46581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46584
46585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46586 /* end confdefs.h. */
46587 #include <math.h>
46588 int
46589 main ()
46590 {
46591 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46592 ;
46593 return 0;
46594 }
46595 _ACEOF
46596 if ac_fn_cxx_try_compile "$LINENO"; then :
46597 glibcxx_cv_func__float_trig_use=yes
46598 else
46599 glibcxx_cv_func__float_trig_use=no
46600 fi
46601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46602 ac_ext=c
46603 ac_cpp='$CPP $CPPFLAGS'
46604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46607
46608 fi
46609
46610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46611 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46612 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46613 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46614 do :
46615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46617 eval as_val=\$$as_ac_var
46618 if test "x$as_val" = x""yes; then :
46619 cat >>confdefs.h <<_ACEOF
46620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46621 _ACEOF
46622
46623 fi
46624 done
46625
46626 fi
46627 fi
46628
46629
46630
46631
46632
46633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46634 $as_echo_n "checking for float round functions... " >&6; }
46635 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46636 $as_echo_n "(cached) " >&6
46637 else
46638
46639
46640 ac_ext=cpp
46641 ac_cpp='$CXXCPP $CPPFLAGS'
46642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46645
46646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46647 /* end confdefs.h. */
46648 #include <math.h>
46649 int
46650 main ()
46651 {
46652 ceilf (0); floorf (0);
46653 ;
46654 return 0;
46655 }
46656 _ACEOF
46657 if ac_fn_cxx_try_compile "$LINENO"; then :
46658 glibcxx_cv_func_float_round_use=yes
46659 else
46660 glibcxx_cv_func_float_round_use=no
46661 fi
46662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46663 ac_ext=c
46664 ac_cpp='$CPP $CPPFLAGS'
46665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46668
46669 fi
46670
46671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46672 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46673 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46674 for ac_func in ceilf floorf
46675 do :
46676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46678 eval as_val=\$$as_ac_var
46679 if test "x$as_val" = x""yes; then :
46680 cat >>confdefs.h <<_ACEOF
46681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46682 _ACEOF
46683
46684 fi
46685 done
46686
46687 else
46688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46689 $as_echo_n "checking for _float round functions... " >&6; }
46690 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46691 $as_echo_n "(cached) " >&6
46692 else
46693
46694
46695 ac_ext=cpp
46696 ac_cpp='$CXXCPP $CPPFLAGS'
46697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46700
46701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46702 /* end confdefs.h. */
46703 #include <math.h>
46704 int
46705 main ()
46706 {
46707 _ceilf (0); _floorf (0);
46708 ;
46709 return 0;
46710 }
46711 _ACEOF
46712 if ac_fn_cxx_try_compile "$LINENO"; then :
46713 glibcxx_cv_func__float_round_use=yes
46714 else
46715 glibcxx_cv_func__float_round_use=no
46716 fi
46717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46718 ac_ext=c
46719 ac_cpp='$CPP $CPPFLAGS'
46720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46723
46724 fi
46725
46726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46727 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46728 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46729 for ac_func in _ceilf _floorf
46730 do :
46731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46733 eval as_val=\$$as_ac_var
46734 if test "x$as_val" = x""yes; then :
46735 cat >>confdefs.h <<_ACEOF
46736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46737 _ACEOF
46738
46739 fi
46740 done
46741
46742 fi
46743 fi
46744
46745
46746
46747
46748
46749
46750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46751 $as_echo_n "checking for expf declaration... " >&6; }
46752 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46753 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46754 $as_echo_n "(cached) " >&6
46755 else
46756
46757
46758 ac_ext=cpp
46759 ac_cpp='$CXXCPP $CPPFLAGS'
46760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46763
46764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46765 /* end confdefs.h. */
46766 #include <math.h>
46767 #ifdef HAVE_IEEEFP_H
46768 #include <ieeefp.h>
46769 #endif
46770
46771 int
46772 main ()
46773 {
46774 expf(0);
46775 ;
46776 return 0;
46777 }
46778 _ACEOF
46779 if ac_fn_cxx_try_compile "$LINENO"; then :
46780 glibcxx_cv_func_expf_use=yes
46781 else
46782 glibcxx_cv_func_expf_use=no
46783 fi
46784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46785 ac_ext=c
46786 ac_cpp='$CPP $CPPFLAGS'
46787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46790
46791
46792 fi
46793
46794 fi
46795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46796 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46797
46798 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46799 for ac_func in expf
46800 do :
46801 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46802 if test "x$ac_cv_func_expf" = x""yes; then :
46803 cat >>confdefs.h <<_ACEOF
46804 #define HAVE_EXPF 1
46805 _ACEOF
46806
46807 fi
46808 done
46809
46810 else
46811
46812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46813 $as_echo_n "checking for _expf declaration... " >&6; }
46814 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46815 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46816 $as_echo_n "(cached) " >&6
46817 else
46818
46819
46820 ac_ext=cpp
46821 ac_cpp='$CXXCPP $CPPFLAGS'
46822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46825
46826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46827 /* end confdefs.h. */
46828 #include <math.h>
46829 #ifdef HAVE_IEEEFP_H
46830 #include <ieeefp.h>
46831 #endif
46832
46833 int
46834 main ()
46835 {
46836 _expf(0);
46837 ;
46838 return 0;
46839 }
46840 _ACEOF
46841 if ac_fn_cxx_try_compile "$LINENO"; then :
46842 glibcxx_cv_func__expf_use=yes
46843 else
46844 glibcxx_cv_func__expf_use=no
46845 fi
46846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46847 ac_ext=c
46848 ac_cpp='$CPP $CPPFLAGS'
46849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46852
46853
46854 fi
46855
46856 fi
46857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46858 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46859
46860 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46861 for ac_func in _expf
46862 do :
46863 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46864 if test "x$ac_cv_func__expf" = x""yes; then :
46865 cat >>confdefs.h <<_ACEOF
46866 #define HAVE__EXPF 1
46867 _ACEOF
46868
46869 fi
46870 done
46871
46872 fi
46873 fi
46874
46875
46876
46877
46878
46879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46880 $as_echo_n "checking for isnanf declaration... " >&6; }
46881 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46882 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46883 $as_echo_n "(cached) " >&6
46884 else
46885
46886
46887 ac_ext=cpp
46888 ac_cpp='$CXXCPP $CPPFLAGS'
46889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46892
46893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46894 /* end confdefs.h. */
46895 #include <math.h>
46896 #ifdef HAVE_IEEEFP_H
46897 #include <ieeefp.h>
46898 #endif
46899
46900 int
46901 main ()
46902 {
46903 isnanf(0);
46904 ;
46905 return 0;
46906 }
46907 _ACEOF
46908 if ac_fn_cxx_try_compile "$LINENO"; then :
46909 glibcxx_cv_func_isnanf_use=yes
46910 else
46911 glibcxx_cv_func_isnanf_use=no
46912 fi
46913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46914 ac_ext=c
46915 ac_cpp='$CPP $CPPFLAGS'
46916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46919
46920
46921 fi
46922
46923 fi
46924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46925 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46926
46927 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46928 for ac_func in isnanf
46929 do :
46930 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46931 if test "x$ac_cv_func_isnanf" = x""yes; then :
46932 cat >>confdefs.h <<_ACEOF
46933 #define HAVE_ISNANF 1
46934 _ACEOF
46935
46936 fi
46937 done
46938
46939 else
46940
46941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
46942 $as_echo_n "checking for _isnanf declaration... " >&6; }
46943 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46944 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
46945 $as_echo_n "(cached) " >&6
46946 else
46947
46948
46949 ac_ext=cpp
46950 ac_cpp='$CXXCPP $CPPFLAGS'
46951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46954
46955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46956 /* end confdefs.h. */
46957 #include <math.h>
46958 #ifdef HAVE_IEEEFP_H
46959 #include <ieeefp.h>
46960 #endif
46961
46962 int
46963 main ()
46964 {
46965 _isnanf(0);
46966 ;
46967 return 0;
46968 }
46969 _ACEOF
46970 if ac_fn_cxx_try_compile "$LINENO"; then :
46971 glibcxx_cv_func__isnanf_use=yes
46972 else
46973 glibcxx_cv_func__isnanf_use=no
46974 fi
46975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46976 ac_ext=c
46977 ac_cpp='$CPP $CPPFLAGS'
46978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46981
46982
46983 fi
46984
46985 fi
46986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
46987 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
46988
46989 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46990 for ac_func in _isnanf
46991 do :
46992 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
46993 if test "x$ac_cv_func__isnanf" = x""yes; then :
46994 cat >>confdefs.h <<_ACEOF
46995 #define HAVE__ISNANF 1
46996 _ACEOF
46997
46998 fi
46999 done
47000
47001 fi
47002 fi
47003
47004
47005
47006
47007
47008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47009 $as_echo_n "checking for isinff declaration... " >&6; }
47010 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47011 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47012 $as_echo_n "(cached) " >&6
47013 else
47014
47015
47016 ac_ext=cpp
47017 ac_cpp='$CXXCPP $CPPFLAGS'
47018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47021
47022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47023 /* end confdefs.h. */
47024 #include <math.h>
47025 #ifdef HAVE_IEEEFP_H
47026 #include <ieeefp.h>
47027 #endif
47028
47029 int
47030 main ()
47031 {
47032 isinff(0);
47033 ;
47034 return 0;
47035 }
47036 _ACEOF
47037 if ac_fn_cxx_try_compile "$LINENO"; then :
47038 glibcxx_cv_func_isinff_use=yes
47039 else
47040 glibcxx_cv_func_isinff_use=no
47041 fi
47042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47043 ac_ext=c
47044 ac_cpp='$CPP $CPPFLAGS'
47045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47048
47049
47050 fi
47051
47052 fi
47053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47054 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47055
47056 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47057 for ac_func in isinff
47058 do :
47059 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47060 if test "x$ac_cv_func_isinff" = x""yes; then :
47061 cat >>confdefs.h <<_ACEOF
47062 #define HAVE_ISINFF 1
47063 _ACEOF
47064
47065 fi
47066 done
47067
47068 else
47069
47070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47071 $as_echo_n "checking for _isinff declaration... " >&6; }
47072 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47073 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47074 $as_echo_n "(cached) " >&6
47075 else
47076
47077
47078 ac_ext=cpp
47079 ac_cpp='$CXXCPP $CPPFLAGS'
47080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47083
47084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47085 /* end confdefs.h. */
47086 #include <math.h>
47087 #ifdef HAVE_IEEEFP_H
47088 #include <ieeefp.h>
47089 #endif
47090
47091 int
47092 main ()
47093 {
47094 _isinff(0);
47095 ;
47096 return 0;
47097 }
47098 _ACEOF
47099 if ac_fn_cxx_try_compile "$LINENO"; then :
47100 glibcxx_cv_func__isinff_use=yes
47101 else
47102 glibcxx_cv_func__isinff_use=no
47103 fi
47104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47105 ac_ext=c
47106 ac_cpp='$CPP $CPPFLAGS'
47107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47110
47111
47112 fi
47113
47114 fi
47115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47116 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47117
47118 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47119 for ac_func in _isinff
47120 do :
47121 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47122 if test "x$ac_cv_func__isinff" = x""yes; then :
47123 cat >>confdefs.h <<_ACEOF
47124 #define HAVE__ISINFF 1
47125 _ACEOF
47126
47127 fi
47128 done
47129
47130 fi
47131 fi
47132
47133
47134
47135
47136
47137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47138 $as_echo_n "checking for atan2f declaration... " >&6; }
47139 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47140 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47141 $as_echo_n "(cached) " >&6
47142 else
47143
47144
47145 ac_ext=cpp
47146 ac_cpp='$CXXCPP $CPPFLAGS'
47147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47150
47151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47152 /* end confdefs.h. */
47153 #include <math.h>
47154 int
47155 main ()
47156 {
47157 atan2f(0, 0);
47158 ;
47159 return 0;
47160 }
47161 _ACEOF
47162 if ac_fn_cxx_try_compile "$LINENO"; then :
47163 glibcxx_cv_func_atan2f_use=yes
47164 else
47165 glibcxx_cv_func_atan2f_use=no
47166 fi
47167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47168 ac_ext=c
47169 ac_cpp='$CPP $CPPFLAGS'
47170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47173
47174
47175 fi
47176
47177 fi
47178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47179 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47180
47181 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47182 for ac_func in atan2f
47183 do :
47184 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47185 if test "x$ac_cv_func_atan2f" = x""yes; then :
47186 cat >>confdefs.h <<_ACEOF
47187 #define HAVE_ATAN2F 1
47188 _ACEOF
47189
47190 fi
47191 done
47192
47193 else
47194
47195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47196 $as_echo_n "checking for _atan2f declaration... " >&6; }
47197 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47198 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47199 $as_echo_n "(cached) " >&6
47200 else
47201
47202
47203 ac_ext=cpp
47204 ac_cpp='$CXXCPP $CPPFLAGS'
47205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47208
47209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47210 /* end confdefs.h. */
47211 #include <math.h>
47212 int
47213 main ()
47214 {
47215 _atan2f(0, 0);
47216 ;
47217 return 0;
47218 }
47219 _ACEOF
47220 if ac_fn_cxx_try_compile "$LINENO"; then :
47221 glibcxx_cv_func__atan2f_use=yes
47222 else
47223 glibcxx_cv_func__atan2f_use=no
47224 fi
47225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47226 ac_ext=c
47227 ac_cpp='$CPP $CPPFLAGS'
47228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47231
47232
47233 fi
47234
47235 fi
47236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47237 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47238
47239 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47240 for ac_func in _atan2f
47241 do :
47242 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47243 if test "x$ac_cv_func__atan2f" = x""yes; then :
47244 cat >>confdefs.h <<_ACEOF
47245 #define HAVE__ATAN2F 1
47246 _ACEOF
47247
47248 fi
47249 done
47250
47251 fi
47252 fi
47253
47254
47255
47256
47257
47258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47259 $as_echo_n "checking for fabsf declaration... " >&6; }
47260 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47261 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47262 $as_echo_n "(cached) " >&6
47263 else
47264
47265
47266 ac_ext=cpp
47267 ac_cpp='$CXXCPP $CPPFLAGS'
47268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47271
47272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47273 /* end confdefs.h. */
47274 #include <math.h>
47275 #ifdef HAVE_IEEEFP_H
47276 #include <ieeefp.h>
47277 #endif
47278
47279 int
47280 main ()
47281 {
47282 fabsf(0);
47283 ;
47284 return 0;
47285 }
47286 _ACEOF
47287 if ac_fn_cxx_try_compile "$LINENO"; then :
47288 glibcxx_cv_func_fabsf_use=yes
47289 else
47290 glibcxx_cv_func_fabsf_use=no
47291 fi
47292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47293 ac_ext=c
47294 ac_cpp='$CPP $CPPFLAGS'
47295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47298
47299
47300 fi
47301
47302 fi
47303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47304 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47305
47306 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47307 for ac_func in fabsf
47308 do :
47309 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47310 if test "x$ac_cv_func_fabsf" = x""yes; then :
47311 cat >>confdefs.h <<_ACEOF
47312 #define HAVE_FABSF 1
47313 _ACEOF
47314
47315 fi
47316 done
47317
47318 else
47319
47320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47321 $as_echo_n "checking for _fabsf declaration... " >&6; }
47322 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47323 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47324 $as_echo_n "(cached) " >&6
47325 else
47326
47327
47328 ac_ext=cpp
47329 ac_cpp='$CXXCPP $CPPFLAGS'
47330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47333
47334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47335 /* end confdefs.h. */
47336 #include <math.h>
47337 #ifdef HAVE_IEEEFP_H
47338 #include <ieeefp.h>
47339 #endif
47340
47341 int
47342 main ()
47343 {
47344 _fabsf(0);
47345 ;
47346 return 0;
47347 }
47348 _ACEOF
47349 if ac_fn_cxx_try_compile "$LINENO"; then :
47350 glibcxx_cv_func__fabsf_use=yes
47351 else
47352 glibcxx_cv_func__fabsf_use=no
47353 fi
47354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47355 ac_ext=c
47356 ac_cpp='$CPP $CPPFLAGS'
47357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47360
47361
47362 fi
47363
47364 fi
47365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47366 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47367
47368 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47369 for ac_func in _fabsf
47370 do :
47371 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47372 if test "x$ac_cv_func__fabsf" = x""yes; then :
47373 cat >>confdefs.h <<_ACEOF
47374 #define HAVE__FABSF 1
47375 _ACEOF
47376
47377 fi
47378 done
47379
47380 fi
47381 fi
47382
47383
47384
47385
47386
47387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47388 $as_echo_n "checking for fmodf declaration... " >&6; }
47389 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47390 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47391 $as_echo_n "(cached) " >&6
47392 else
47393
47394
47395 ac_ext=cpp
47396 ac_cpp='$CXXCPP $CPPFLAGS'
47397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47400
47401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47402 /* end confdefs.h. */
47403 #include <math.h>
47404 int
47405 main ()
47406 {
47407 fmodf(0, 0);
47408 ;
47409 return 0;
47410 }
47411 _ACEOF
47412 if ac_fn_cxx_try_compile "$LINENO"; then :
47413 glibcxx_cv_func_fmodf_use=yes
47414 else
47415 glibcxx_cv_func_fmodf_use=no
47416 fi
47417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47418 ac_ext=c
47419 ac_cpp='$CPP $CPPFLAGS'
47420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47423
47424
47425 fi
47426
47427 fi
47428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47429 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47430
47431 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47432 for ac_func in fmodf
47433 do :
47434 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47435 if test "x$ac_cv_func_fmodf" = x""yes; then :
47436 cat >>confdefs.h <<_ACEOF
47437 #define HAVE_FMODF 1
47438 _ACEOF
47439
47440 fi
47441 done
47442
47443 else
47444
47445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47446 $as_echo_n "checking for _fmodf declaration... " >&6; }
47447 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47448 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47449 $as_echo_n "(cached) " >&6
47450 else
47451
47452
47453 ac_ext=cpp
47454 ac_cpp='$CXXCPP $CPPFLAGS'
47455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47458
47459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47460 /* end confdefs.h. */
47461 #include <math.h>
47462 int
47463 main ()
47464 {
47465 _fmodf(0, 0);
47466 ;
47467 return 0;
47468 }
47469 _ACEOF
47470 if ac_fn_cxx_try_compile "$LINENO"; then :
47471 glibcxx_cv_func__fmodf_use=yes
47472 else
47473 glibcxx_cv_func__fmodf_use=no
47474 fi
47475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47476 ac_ext=c
47477 ac_cpp='$CPP $CPPFLAGS'
47478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47481
47482
47483 fi
47484
47485 fi
47486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47487 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47488
47489 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47490 for ac_func in _fmodf
47491 do :
47492 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47493 if test "x$ac_cv_func__fmodf" = x""yes; then :
47494 cat >>confdefs.h <<_ACEOF
47495 #define HAVE__FMODF 1
47496 _ACEOF
47497
47498 fi
47499 done
47500
47501 fi
47502 fi
47503
47504
47505
47506
47507
47508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47509 $as_echo_n "checking for frexpf declaration... " >&6; }
47510 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47511 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47512 $as_echo_n "(cached) " >&6
47513 else
47514
47515
47516 ac_ext=cpp
47517 ac_cpp='$CXXCPP $CPPFLAGS'
47518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47521
47522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47523 /* end confdefs.h. */
47524 #include <math.h>
47525 int
47526 main ()
47527 {
47528 frexpf(0, 0);
47529 ;
47530 return 0;
47531 }
47532 _ACEOF
47533 if ac_fn_cxx_try_compile "$LINENO"; then :
47534 glibcxx_cv_func_frexpf_use=yes
47535 else
47536 glibcxx_cv_func_frexpf_use=no
47537 fi
47538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47539 ac_ext=c
47540 ac_cpp='$CPP $CPPFLAGS'
47541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47544
47545
47546 fi
47547
47548 fi
47549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47550 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47551
47552 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47553 for ac_func in frexpf
47554 do :
47555 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47556 if test "x$ac_cv_func_frexpf" = x""yes; then :
47557 cat >>confdefs.h <<_ACEOF
47558 #define HAVE_FREXPF 1
47559 _ACEOF
47560
47561 fi
47562 done
47563
47564 else
47565
47566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47567 $as_echo_n "checking for _frexpf declaration... " >&6; }
47568 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47569 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47570 $as_echo_n "(cached) " >&6
47571 else
47572
47573
47574 ac_ext=cpp
47575 ac_cpp='$CXXCPP $CPPFLAGS'
47576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47579
47580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47581 /* end confdefs.h. */
47582 #include <math.h>
47583 int
47584 main ()
47585 {
47586 _frexpf(0, 0);
47587 ;
47588 return 0;
47589 }
47590 _ACEOF
47591 if ac_fn_cxx_try_compile "$LINENO"; then :
47592 glibcxx_cv_func__frexpf_use=yes
47593 else
47594 glibcxx_cv_func__frexpf_use=no
47595 fi
47596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47597 ac_ext=c
47598 ac_cpp='$CPP $CPPFLAGS'
47599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47602
47603
47604 fi
47605
47606 fi
47607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47608 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47609
47610 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47611 for ac_func in _frexpf
47612 do :
47613 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47614 if test "x$ac_cv_func__frexpf" = x""yes; then :
47615 cat >>confdefs.h <<_ACEOF
47616 #define HAVE__FREXPF 1
47617 _ACEOF
47618
47619 fi
47620 done
47621
47622 fi
47623 fi
47624
47625
47626
47627
47628
47629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47630 $as_echo_n "checking for hypotf declaration... " >&6; }
47631 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47632 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47633 $as_echo_n "(cached) " >&6
47634 else
47635
47636
47637 ac_ext=cpp
47638 ac_cpp='$CXXCPP $CPPFLAGS'
47639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47642
47643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47644 /* end confdefs.h. */
47645 #include <math.h>
47646 int
47647 main ()
47648 {
47649 hypotf(0, 0);
47650 ;
47651 return 0;
47652 }
47653 _ACEOF
47654 if ac_fn_cxx_try_compile "$LINENO"; then :
47655 glibcxx_cv_func_hypotf_use=yes
47656 else
47657 glibcxx_cv_func_hypotf_use=no
47658 fi
47659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47660 ac_ext=c
47661 ac_cpp='$CPP $CPPFLAGS'
47662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47665
47666
47667 fi
47668
47669 fi
47670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47671 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47672
47673 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47674 for ac_func in hypotf
47675 do :
47676 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47677 if test "x$ac_cv_func_hypotf" = x""yes; then :
47678 cat >>confdefs.h <<_ACEOF
47679 #define HAVE_HYPOTF 1
47680 _ACEOF
47681
47682 fi
47683 done
47684
47685 else
47686
47687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47688 $as_echo_n "checking for _hypotf declaration... " >&6; }
47689 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47690 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47691 $as_echo_n "(cached) " >&6
47692 else
47693
47694
47695 ac_ext=cpp
47696 ac_cpp='$CXXCPP $CPPFLAGS'
47697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47700
47701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47702 /* end confdefs.h. */
47703 #include <math.h>
47704 int
47705 main ()
47706 {
47707 _hypotf(0, 0);
47708 ;
47709 return 0;
47710 }
47711 _ACEOF
47712 if ac_fn_cxx_try_compile "$LINENO"; then :
47713 glibcxx_cv_func__hypotf_use=yes
47714 else
47715 glibcxx_cv_func__hypotf_use=no
47716 fi
47717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47718 ac_ext=c
47719 ac_cpp='$CPP $CPPFLAGS'
47720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47723
47724
47725 fi
47726
47727 fi
47728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47729 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47730
47731 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47732 for ac_func in _hypotf
47733 do :
47734 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47735 if test "x$ac_cv_func__hypotf" = x""yes; then :
47736 cat >>confdefs.h <<_ACEOF
47737 #define HAVE__HYPOTF 1
47738 _ACEOF
47739
47740 fi
47741 done
47742
47743 fi
47744 fi
47745
47746
47747
47748
47749
47750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47751 $as_echo_n "checking for ldexpf declaration... " >&6; }
47752 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47753 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47754 $as_echo_n "(cached) " >&6
47755 else
47756
47757
47758 ac_ext=cpp
47759 ac_cpp='$CXXCPP $CPPFLAGS'
47760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47763
47764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47765 /* end confdefs.h. */
47766 #include <math.h>
47767 int
47768 main ()
47769 {
47770 ldexpf(0, 0);
47771 ;
47772 return 0;
47773 }
47774 _ACEOF
47775 if ac_fn_cxx_try_compile "$LINENO"; then :
47776 glibcxx_cv_func_ldexpf_use=yes
47777 else
47778 glibcxx_cv_func_ldexpf_use=no
47779 fi
47780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47781 ac_ext=c
47782 ac_cpp='$CPP $CPPFLAGS'
47783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47786
47787
47788 fi
47789
47790 fi
47791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47792 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47793
47794 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47795 for ac_func in ldexpf
47796 do :
47797 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47798 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47799 cat >>confdefs.h <<_ACEOF
47800 #define HAVE_LDEXPF 1
47801 _ACEOF
47802
47803 fi
47804 done
47805
47806 else
47807
47808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47809 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47810 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47811 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47812 $as_echo_n "(cached) " >&6
47813 else
47814
47815
47816 ac_ext=cpp
47817 ac_cpp='$CXXCPP $CPPFLAGS'
47818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47821
47822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47823 /* end confdefs.h. */
47824 #include <math.h>
47825 int
47826 main ()
47827 {
47828 _ldexpf(0, 0);
47829 ;
47830 return 0;
47831 }
47832 _ACEOF
47833 if ac_fn_cxx_try_compile "$LINENO"; then :
47834 glibcxx_cv_func__ldexpf_use=yes
47835 else
47836 glibcxx_cv_func__ldexpf_use=no
47837 fi
47838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47839 ac_ext=c
47840 ac_cpp='$CPP $CPPFLAGS'
47841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47844
47845
47846 fi
47847
47848 fi
47849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47850 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47851
47852 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47853 for ac_func in _ldexpf
47854 do :
47855 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47856 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47857 cat >>confdefs.h <<_ACEOF
47858 #define HAVE__LDEXPF 1
47859 _ACEOF
47860
47861 fi
47862 done
47863
47864 fi
47865 fi
47866
47867
47868
47869
47870
47871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47872 $as_echo_n "checking for logf declaration... " >&6; }
47873 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47874 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47875 $as_echo_n "(cached) " >&6
47876 else
47877
47878
47879 ac_ext=cpp
47880 ac_cpp='$CXXCPP $CPPFLAGS'
47881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47884
47885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47886 /* end confdefs.h. */
47887 #include <math.h>
47888 #ifdef HAVE_IEEEFP_H
47889 #include <ieeefp.h>
47890 #endif
47891
47892 int
47893 main ()
47894 {
47895 logf(0);
47896 ;
47897 return 0;
47898 }
47899 _ACEOF
47900 if ac_fn_cxx_try_compile "$LINENO"; then :
47901 glibcxx_cv_func_logf_use=yes
47902 else
47903 glibcxx_cv_func_logf_use=no
47904 fi
47905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47906 ac_ext=c
47907 ac_cpp='$CPP $CPPFLAGS'
47908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47911
47912
47913 fi
47914
47915 fi
47916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47917 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47918
47919 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47920 for ac_func in logf
47921 do :
47922 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47923 if test "x$ac_cv_func_logf" = x""yes; then :
47924 cat >>confdefs.h <<_ACEOF
47925 #define HAVE_LOGF 1
47926 _ACEOF
47927
47928 fi
47929 done
47930
47931 else
47932
47933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
47934 $as_echo_n "checking for _logf declaration... " >&6; }
47935 if test x${glibcxx_cv_func__logf_use+set} != xset; then
47936 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
47937 $as_echo_n "(cached) " >&6
47938 else
47939
47940
47941 ac_ext=cpp
47942 ac_cpp='$CXXCPP $CPPFLAGS'
47943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47946
47947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47948 /* end confdefs.h. */
47949 #include <math.h>
47950 #ifdef HAVE_IEEEFP_H
47951 #include <ieeefp.h>
47952 #endif
47953
47954 int
47955 main ()
47956 {
47957 _logf(0);
47958 ;
47959 return 0;
47960 }
47961 _ACEOF
47962 if ac_fn_cxx_try_compile "$LINENO"; then :
47963 glibcxx_cv_func__logf_use=yes
47964 else
47965 glibcxx_cv_func__logf_use=no
47966 fi
47967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47968 ac_ext=c
47969 ac_cpp='$CPP $CPPFLAGS'
47970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47973
47974
47975 fi
47976
47977 fi
47978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
47979 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
47980
47981 if test x$glibcxx_cv_func__logf_use = x"yes"; then
47982 for ac_func in _logf
47983 do :
47984 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
47985 if test "x$ac_cv_func__logf" = x""yes; then :
47986 cat >>confdefs.h <<_ACEOF
47987 #define HAVE__LOGF 1
47988 _ACEOF
47989
47990 fi
47991 done
47992
47993 fi
47994 fi
47995
47996
47997
47998
47999
48000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48001 $as_echo_n "checking for log10f declaration... " >&6; }
48002 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48003 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48004 $as_echo_n "(cached) " >&6
48005 else
48006
48007
48008 ac_ext=cpp
48009 ac_cpp='$CXXCPP $CPPFLAGS'
48010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48013
48014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48015 /* end confdefs.h. */
48016 #include <math.h>
48017 #ifdef HAVE_IEEEFP_H
48018 #include <ieeefp.h>
48019 #endif
48020
48021 int
48022 main ()
48023 {
48024 log10f(0);
48025 ;
48026 return 0;
48027 }
48028 _ACEOF
48029 if ac_fn_cxx_try_compile "$LINENO"; then :
48030 glibcxx_cv_func_log10f_use=yes
48031 else
48032 glibcxx_cv_func_log10f_use=no
48033 fi
48034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48035 ac_ext=c
48036 ac_cpp='$CPP $CPPFLAGS'
48037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48040
48041
48042 fi
48043
48044 fi
48045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48046 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48047
48048 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48049 for ac_func in log10f
48050 do :
48051 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48052 if test "x$ac_cv_func_log10f" = x""yes; then :
48053 cat >>confdefs.h <<_ACEOF
48054 #define HAVE_LOG10F 1
48055 _ACEOF
48056
48057 fi
48058 done
48059
48060 else
48061
48062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48063 $as_echo_n "checking for _log10f declaration... " >&6; }
48064 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48065 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48066 $as_echo_n "(cached) " >&6
48067 else
48068
48069
48070 ac_ext=cpp
48071 ac_cpp='$CXXCPP $CPPFLAGS'
48072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48075
48076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48077 /* end confdefs.h. */
48078 #include <math.h>
48079 #ifdef HAVE_IEEEFP_H
48080 #include <ieeefp.h>
48081 #endif
48082
48083 int
48084 main ()
48085 {
48086 _log10f(0);
48087 ;
48088 return 0;
48089 }
48090 _ACEOF
48091 if ac_fn_cxx_try_compile "$LINENO"; then :
48092 glibcxx_cv_func__log10f_use=yes
48093 else
48094 glibcxx_cv_func__log10f_use=no
48095 fi
48096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48097 ac_ext=c
48098 ac_cpp='$CPP $CPPFLAGS'
48099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48102
48103
48104 fi
48105
48106 fi
48107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48108 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48109
48110 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48111 for ac_func in _log10f
48112 do :
48113 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48114 if test "x$ac_cv_func__log10f" = x""yes; then :
48115 cat >>confdefs.h <<_ACEOF
48116 #define HAVE__LOG10F 1
48117 _ACEOF
48118
48119 fi
48120 done
48121
48122 fi
48123 fi
48124
48125
48126
48127
48128
48129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48130 $as_echo_n "checking for modff declaration... " >&6; }
48131 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48132 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48133 $as_echo_n "(cached) " >&6
48134 else
48135
48136
48137 ac_ext=cpp
48138 ac_cpp='$CXXCPP $CPPFLAGS'
48139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48142
48143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48144 /* end confdefs.h. */
48145 #include <math.h>
48146 int
48147 main ()
48148 {
48149 modff(0, 0);
48150 ;
48151 return 0;
48152 }
48153 _ACEOF
48154 if ac_fn_cxx_try_compile "$LINENO"; then :
48155 glibcxx_cv_func_modff_use=yes
48156 else
48157 glibcxx_cv_func_modff_use=no
48158 fi
48159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48160 ac_ext=c
48161 ac_cpp='$CPP $CPPFLAGS'
48162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48165
48166
48167 fi
48168
48169 fi
48170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48171 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48172
48173 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48174 for ac_func in modff
48175 do :
48176 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48177 if test "x$ac_cv_func_modff" = x""yes; then :
48178 cat >>confdefs.h <<_ACEOF
48179 #define HAVE_MODFF 1
48180 _ACEOF
48181
48182 fi
48183 done
48184
48185 else
48186
48187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48188 $as_echo_n "checking for _modff declaration... " >&6; }
48189 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48190 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48191 $as_echo_n "(cached) " >&6
48192 else
48193
48194
48195 ac_ext=cpp
48196 ac_cpp='$CXXCPP $CPPFLAGS'
48197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48200
48201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48202 /* end confdefs.h. */
48203 #include <math.h>
48204 int
48205 main ()
48206 {
48207 _modff(0, 0);
48208 ;
48209 return 0;
48210 }
48211 _ACEOF
48212 if ac_fn_cxx_try_compile "$LINENO"; then :
48213 glibcxx_cv_func__modff_use=yes
48214 else
48215 glibcxx_cv_func__modff_use=no
48216 fi
48217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48218 ac_ext=c
48219 ac_cpp='$CPP $CPPFLAGS'
48220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48223
48224
48225 fi
48226
48227 fi
48228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48229 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48230
48231 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48232 for ac_func in _modff
48233 do :
48234 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48235 if test "x$ac_cv_func__modff" = x""yes; then :
48236 cat >>confdefs.h <<_ACEOF
48237 #define HAVE__MODFF 1
48238 _ACEOF
48239
48240 fi
48241 done
48242
48243 fi
48244 fi
48245
48246
48247
48248
48249
48250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48251 $as_echo_n "checking for modf declaration... " >&6; }
48252 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48253 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48254 $as_echo_n "(cached) " >&6
48255 else
48256
48257
48258 ac_ext=cpp
48259 ac_cpp='$CXXCPP $CPPFLAGS'
48260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48263
48264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48265 /* end confdefs.h. */
48266 #include <math.h>
48267 int
48268 main ()
48269 {
48270 modf(0, 0);
48271 ;
48272 return 0;
48273 }
48274 _ACEOF
48275 if ac_fn_cxx_try_compile "$LINENO"; then :
48276 glibcxx_cv_func_modf_use=yes
48277 else
48278 glibcxx_cv_func_modf_use=no
48279 fi
48280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48281 ac_ext=c
48282 ac_cpp='$CPP $CPPFLAGS'
48283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48286
48287
48288 fi
48289
48290 fi
48291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48292 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48293
48294 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48295 for ac_func in modf
48296 do :
48297 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48298 if test "x$ac_cv_func_modf" = x""yes; then :
48299 cat >>confdefs.h <<_ACEOF
48300 #define HAVE_MODF 1
48301 _ACEOF
48302
48303 fi
48304 done
48305
48306 else
48307
48308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48309 $as_echo_n "checking for _modf declaration... " >&6; }
48310 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48311 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48312 $as_echo_n "(cached) " >&6
48313 else
48314
48315
48316 ac_ext=cpp
48317 ac_cpp='$CXXCPP $CPPFLAGS'
48318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48321
48322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48323 /* end confdefs.h. */
48324 #include <math.h>
48325 int
48326 main ()
48327 {
48328 _modf(0, 0);
48329 ;
48330 return 0;
48331 }
48332 _ACEOF
48333 if ac_fn_cxx_try_compile "$LINENO"; then :
48334 glibcxx_cv_func__modf_use=yes
48335 else
48336 glibcxx_cv_func__modf_use=no
48337 fi
48338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48339 ac_ext=c
48340 ac_cpp='$CPP $CPPFLAGS'
48341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48344
48345
48346 fi
48347
48348 fi
48349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48350 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48351
48352 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48353 for ac_func in _modf
48354 do :
48355 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48356 if test "x$ac_cv_func__modf" = x""yes; then :
48357 cat >>confdefs.h <<_ACEOF
48358 #define HAVE__MODF 1
48359 _ACEOF
48360
48361 fi
48362 done
48363
48364 fi
48365 fi
48366
48367
48368
48369
48370
48371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48372 $as_echo_n "checking for powf declaration... " >&6; }
48373 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48374 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48375 $as_echo_n "(cached) " >&6
48376 else
48377
48378
48379 ac_ext=cpp
48380 ac_cpp='$CXXCPP $CPPFLAGS'
48381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48384
48385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48386 /* end confdefs.h. */
48387 #include <math.h>
48388 int
48389 main ()
48390 {
48391 powf(0, 0);
48392 ;
48393 return 0;
48394 }
48395 _ACEOF
48396 if ac_fn_cxx_try_compile "$LINENO"; then :
48397 glibcxx_cv_func_powf_use=yes
48398 else
48399 glibcxx_cv_func_powf_use=no
48400 fi
48401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48402 ac_ext=c
48403 ac_cpp='$CPP $CPPFLAGS'
48404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48407
48408
48409 fi
48410
48411 fi
48412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48413 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48414
48415 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48416 for ac_func in powf
48417 do :
48418 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48419 if test "x$ac_cv_func_powf" = x""yes; then :
48420 cat >>confdefs.h <<_ACEOF
48421 #define HAVE_POWF 1
48422 _ACEOF
48423
48424 fi
48425 done
48426
48427 else
48428
48429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48430 $as_echo_n "checking for _powf declaration... " >&6; }
48431 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48432 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48433 $as_echo_n "(cached) " >&6
48434 else
48435
48436
48437 ac_ext=cpp
48438 ac_cpp='$CXXCPP $CPPFLAGS'
48439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48442
48443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48444 /* end confdefs.h. */
48445 #include <math.h>
48446 int
48447 main ()
48448 {
48449 _powf(0, 0);
48450 ;
48451 return 0;
48452 }
48453 _ACEOF
48454 if ac_fn_cxx_try_compile "$LINENO"; then :
48455 glibcxx_cv_func__powf_use=yes
48456 else
48457 glibcxx_cv_func__powf_use=no
48458 fi
48459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48460 ac_ext=c
48461 ac_cpp='$CPP $CPPFLAGS'
48462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48465
48466
48467 fi
48468
48469 fi
48470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48471 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48472
48473 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48474 for ac_func in _powf
48475 do :
48476 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48477 if test "x$ac_cv_func__powf" = x""yes; then :
48478 cat >>confdefs.h <<_ACEOF
48479 #define HAVE__POWF 1
48480 _ACEOF
48481
48482 fi
48483 done
48484
48485 fi
48486 fi
48487
48488
48489
48490
48491
48492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48493 $as_echo_n "checking for sqrtf declaration... " >&6; }
48494 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48495 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48496 $as_echo_n "(cached) " >&6
48497 else
48498
48499
48500 ac_ext=cpp
48501 ac_cpp='$CXXCPP $CPPFLAGS'
48502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48505
48506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48507 /* end confdefs.h. */
48508 #include <math.h>
48509 #ifdef HAVE_IEEEFP_H
48510 #include <ieeefp.h>
48511 #endif
48512
48513 int
48514 main ()
48515 {
48516 sqrtf(0);
48517 ;
48518 return 0;
48519 }
48520 _ACEOF
48521 if ac_fn_cxx_try_compile "$LINENO"; then :
48522 glibcxx_cv_func_sqrtf_use=yes
48523 else
48524 glibcxx_cv_func_sqrtf_use=no
48525 fi
48526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48527 ac_ext=c
48528 ac_cpp='$CPP $CPPFLAGS'
48529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48532
48533
48534 fi
48535
48536 fi
48537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48538 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48539
48540 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48541 for ac_func in sqrtf
48542 do :
48543 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48544 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48545 cat >>confdefs.h <<_ACEOF
48546 #define HAVE_SQRTF 1
48547 _ACEOF
48548
48549 fi
48550 done
48551
48552 else
48553
48554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48555 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48556 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48557 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48558 $as_echo_n "(cached) " >&6
48559 else
48560
48561
48562 ac_ext=cpp
48563 ac_cpp='$CXXCPP $CPPFLAGS'
48564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48567
48568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48569 /* end confdefs.h. */
48570 #include <math.h>
48571 #ifdef HAVE_IEEEFP_H
48572 #include <ieeefp.h>
48573 #endif
48574
48575 int
48576 main ()
48577 {
48578 _sqrtf(0);
48579 ;
48580 return 0;
48581 }
48582 _ACEOF
48583 if ac_fn_cxx_try_compile "$LINENO"; then :
48584 glibcxx_cv_func__sqrtf_use=yes
48585 else
48586 glibcxx_cv_func__sqrtf_use=no
48587 fi
48588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48589 ac_ext=c
48590 ac_cpp='$CPP $CPPFLAGS'
48591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48594
48595
48596 fi
48597
48598 fi
48599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48600 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48601
48602 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48603 for ac_func in _sqrtf
48604 do :
48605 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48606 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48607 cat >>confdefs.h <<_ACEOF
48608 #define HAVE__SQRTF 1
48609 _ACEOF
48610
48611 fi
48612 done
48613
48614 fi
48615 fi
48616
48617
48618
48619
48620
48621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48622 $as_echo_n "checking for sincosf declaration... " >&6; }
48623 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48624 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48625 $as_echo_n "(cached) " >&6
48626 else
48627
48628
48629 ac_ext=cpp
48630 ac_cpp='$CXXCPP $CPPFLAGS'
48631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48634
48635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48636 /* end confdefs.h. */
48637 #include <math.h>
48638 int
48639 main ()
48640 {
48641 sincosf(0, 0, 0);
48642 ;
48643 return 0;
48644 }
48645 _ACEOF
48646 if ac_fn_cxx_try_compile "$LINENO"; then :
48647 glibcxx_cv_func_sincosf_use=yes
48648 else
48649 glibcxx_cv_func_sincosf_use=no
48650 fi
48651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48652 ac_ext=c
48653 ac_cpp='$CPP $CPPFLAGS'
48654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48657
48658
48659 fi
48660
48661 fi
48662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48663 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48664
48665 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48666 for ac_func in sincosf
48667 do :
48668 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48669 if test "x$ac_cv_func_sincosf" = x""yes; then :
48670 cat >>confdefs.h <<_ACEOF
48671 #define HAVE_SINCOSF 1
48672 _ACEOF
48673
48674 fi
48675 done
48676
48677 else
48678
48679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48680 $as_echo_n "checking for _sincosf declaration... " >&6; }
48681 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48682 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48683 $as_echo_n "(cached) " >&6
48684 else
48685
48686
48687 ac_ext=cpp
48688 ac_cpp='$CXXCPP $CPPFLAGS'
48689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48692
48693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48694 /* end confdefs.h. */
48695 #include <math.h>
48696 int
48697 main ()
48698 {
48699 _sincosf(0, 0, 0);
48700 ;
48701 return 0;
48702 }
48703 _ACEOF
48704 if ac_fn_cxx_try_compile "$LINENO"; then :
48705 glibcxx_cv_func__sincosf_use=yes
48706 else
48707 glibcxx_cv_func__sincosf_use=no
48708 fi
48709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48710 ac_ext=c
48711 ac_cpp='$CPP $CPPFLAGS'
48712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48715
48716
48717 fi
48718
48719 fi
48720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48721 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48722
48723 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48724 for ac_func in _sincosf
48725 do :
48726 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48727 if test "x$ac_cv_func__sincosf" = x""yes; then :
48728 cat >>confdefs.h <<_ACEOF
48729 #define HAVE__SINCOSF 1
48730 _ACEOF
48731
48732 fi
48733 done
48734
48735 fi
48736 fi
48737
48738
48739
48740
48741
48742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48743 $as_echo_n "checking for finitef declaration... " >&6; }
48744 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48745 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48746 $as_echo_n "(cached) " >&6
48747 else
48748
48749
48750 ac_ext=cpp
48751 ac_cpp='$CXXCPP $CPPFLAGS'
48752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48755
48756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48757 /* end confdefs.h. */
48758 #include <math.h>
48759 #ifdef HAVE_IEEEFP_H
48760 #include <ieeefp.h>
48761 #endif
48762
48763 int
48764 main ()
48765 {
48766 finitef(0);
48767 ;
48768 return 0;
48769 }
48770 _ACEOF
48771 if ac_fn_cxx_try_compile "$LINENO"; then :
48772 glibcxx_cv_func_finitef_use=yes
48773 else
48774 glibcxx_cv_func_finitef_use=no
48775 fi
48776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48777 ac_ext=c
48778 ac_cpp='$CPP $CPPFLAGS'
48779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48782
48783
48784 fi
48785
48786 fi
48787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48788 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48789
48790 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48791 for ac_func in finitef
48792 do :
48793 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48794 if test "x$ac_cv_func_finitef" = x""yes; then :
48795 cat >>confdefs.h <<_ACEOF
48796 #define HAVE_FINITEF 1
48797 _ACEOF
48798
48799 fi
48800 done
48801
48802 else
48803
48804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48805 $as_echo_n "checking for _finitef declaration... " >&6; }
48806 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48807 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48808 $as_echo_n "(cached) " >&6
48809 else
48810
48811
48812 ac_ext=cpp
48813 ac_cpp='$CXXCPP $CPPFLAGS'
48814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48817
48818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48819 /* end confdefs.h. */
48820 #include <math.h>
48821 #ifdef HAVE_IEEEFP_H
48822 #include <ieeefp.h>
48823 #endif
48824
48825 int
48826 main ()
48827 {
48828 _finitef(0);
48829 ;
48830 return 0;
48831 }
48832 _ACEOF
48833 if ac_fn_cxx_try_compile "$LINENO"; then :
48834 glibcxx_cv_func__finitef_use=yes
48835 else
48836 glibcxx_cv_func__finitef_use=no
48837 fi
48838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48839 ac_ext=c
48840 ac_cpp='$CPP $CPPFLAGS'
48841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48844
48845
48846 fi
48847
48848 fi
48849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48850 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48851
48852 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48853 for ac_func in _finitef
48854 do :
48855 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48856 if test "x$ac_cv_func__finitef" = x""yes; then :
48857 cat >>confdefs.h <<_ACEOF
48858 #define HAVE__FINITEF 1
48859 _ACEOF
48860
48861 fi
48862 done
48863
48864 fi
48865 fi
48866
48867
48868
48869
48870
48871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48872 $as_echo_n "checking for long double trig functions... " >&6; }
48873 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48874 $as_echo_n "(cached) " >&6
48875 else
48876
48877
48878 ac_ext=cpp
48879 ac_cpp='$CXXCPP $CPPFLAGS'
48880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48883
48884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48885 /* end confdefs.h. */
48886 #include <math.h>
48887 int
48888 main ()
48889 {
48890 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48891 ;
48892 return 0;
48893 }
48894 _ACEOF
48895 if ac_fn_cxx_try_compile "$LINENO"; then :
48896 glibcxx_cv_func_long_double_trig_use=yes
48897 else
48898 glibcxx_cv_func_long_double_trig_use=no
48899 fi
48900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48901 ac_ext=c
48902 ac_cpp='$CPP $CPPFLAGS'
48903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48906
48907 fi
48908
48909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48910 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48911 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48912 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48913 do :
48914 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48915 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48916 eval as_val=\$$as_ac_var
48917 if test "x$as_val" = x""yes; then :
48918 cat >>confdefs.h <<_ACEOF
48919 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48920 _ACEOF
48921
48922 fi
48923 done
48924
48925 else
48926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48927 $as_echo_n "checking for _long double trig functions... " >&6; }
48928 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48929 $as_echo_n "(cached) " >&6
48930 else
48931
48932
48933 ac_ext=cpp
48934 ac_cpp='$CXXCPP $CPPFLAGS'
48935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48938
48939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48940 /* end confdefs.h. */
48941 #include <math.h>
48942 int
48943 main ()
48944 {
48945 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
48946 ;
48947 return 0;
48948 }
48949 _ACEOF
48950 if ac_fn_cxx_try_compile "$LINENO"; then :
48951 glibcxx_cv_func__long_double_trig_use=yes
48952 else
48953 glibcxx_cv_func__long_double_trig_use=no
48954 fi
48955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48956 ac_ext=c
48957 ac_cpp='$CPP $CPPFLAGS'
48958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48961
48962 fi
48963
48964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
48965 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
48966 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
48967 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
48968 do :
48969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48971 eval as_val=\$$as_ac_var
48972 if test "x$as_val" = x""yes; then :
48973 cat >>confdefs.h <<_ACEOF
48974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48975 _ACEOF
48976
48977 fi
48978 done
48979
48980 fi
48981 fi
48982
48983
48984
48985
48986
48987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
48988 $as_echo_n "checking for long double round functions... " >&6; }
48989 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
48990 $as_echo_n "(cached) " >&6
48991 else
48992
48993
48994 ac_ext=cpp
48995 ac_cpp='$CXXCPP $CPPFLAGS'
48996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48999
49000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49001 /* end confdefs.h. */
49002 #include <math.h>
49003 int
49004 main ()
49005 {
49006 ceill (0); floorl (0);
49007 ;
49008 return 0;
49009 }
49010 _ACEOF
49011 if ac_fn_cxx_try_compile "$LINENO"; then :
49012 glibcxx_cv_func_long_double_round_use=yes
49013 else
49014 glibcxx_cv_func_long_double_round_use=no
49015 fi
49016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49017 ac_ext=c
49018 ac_cpp='$CPP $CPPFLAGS'
49019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49022
49023 fi
49024
49025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49026 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49027 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49028 for ac_func in ceill floorl
49029 do :
49030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49032 eval as_val=\$$as_ac_var
49033 if test "x$as_val" = x""yes; then :
49034 cat >>confdefs.h <<_ACEOF
49035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49036 _ACEOF
49037
49038 fi
49039 done
49040
49041 else
49042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49043 $as_echo_n "checking for _long double round functions... " >&6; }
49044 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49045 $as_echo_n "(cached) " >&6
49046 else
49047
49048
49049 ac_ext=cpp
49050 ac_cpp='$CXXCPP $CPPFLAGS'
49051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49054
49055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49056 /* end confdefs.h. */
49057 #include <math.h>
49058 int
49059 main ()
49060 {
49061 _ceill (0); _floorl (0);
49062 ;
49063 return 0;
49064 }
49065 _ACEOF
49066 if ac_fn_cxx_try_compile "$LINENO"; then :
49067 glibcxx_cv_func__long_double_round_use=yes
49068 else
49069 glibcxx_cv_func__long_double_round_use=no
49070 fi
49071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49072 ac_ext=c
49073 ac_cpp='$CPP $CPPFLAGS'
49074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49077
49078 fi
49079
49080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49081 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49082 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49083 for ac_func in _ceill _floorl
49084 do :
49085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49087 eval as_val=\$$as_ac_var
49088 if test "x$as_val" = x""yes; then :
49089 cat >>confdefs.h <<_ACEOF
49090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49091 _ACEOF
49092
49093 fi
49094 done
49095
49096 fi
49097 fi
49098
49099
49100
49101
49102
49103
49104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49105 $as_echo_n "checking for isnanl declaration... " >&6; }
49106 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49107 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49108 $as_echo_n "(cached) " >&6
49109 else
49110
49111
49112 ac_ext=cpp
49113 ac_cpp='$CXXCPP $CPPFLAGS'
49114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49117
49118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49119 /* end confdefs.h. */
49120 #include <math.h>
49121 #ifdef HAVE_IEEEFP_H
49122 #include <ieeefp.h>
49123 #endif
49124
49125 int
49126 main ()
49127 {
49128 isnanl(0);
49129 ;
49130 return 0;
49131 }
49132 _ACEOF
49133 if ac_fn_cxx_try_compile "$LINENO"; then :
49134 glibcxx_cv_func_isnanl_use=yes
49135 else
49136 glibcxx_cv_func_isnanl_use=no
49137 fi
49138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49139 ac_ext=c
49140 ac_cpp='$CPP $CPPFLAGS'
49141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49144
49145
49146 fi
49147
49148 fi
49149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49150 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49151
49152 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49153 for ac_func in isnanl
49154 do :
49155 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49156 if test "x$ac_cv_func_isnanl" = x""yes; then :
49157 cat >>confdefs.h <<_ACEOF
49158 #define HAVE_ISNANL 1
49159 _ACEOF
49160
49161 fi
49162 done
49163
49164 else
49165
49166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49167 $as_echo_n "checking for _isnanl declaration... " >&6; }
49168 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49169 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49170 $as_echo_n "(cached) " >&6
49171 else
49172
49173
49174 ac_ext=cpp
49175 ac_cpp='$CXXCPP $CPPFLAGS'
49176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49179
49180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49181 /* end confdefs.h. */
49182 #include <math.h>
49183 #ifdef HAVE_IEEEFP_H
49184 #include <ieeefp.h>
49185 #endif
49186
49187 int
49188 main ()
49189 {
49190 _isnanl(0);
49191 ;
49192 return 0;
49193 }
49194 _ACEOF
49195 if ac_fn_cxx_try_compile "$LINENO"; then :
49196 glibcxx_cv_func__isnanl_use=yes
49197 else
49198 glibcxx_cv_func__isnanl_use=no
49199 fi
49200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49201 ac_ext=c
49202 ac_cpp='$CPP $CPPFLAGS'
49203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49206
49207
49208 fi
49209
49210 fi
49211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49212 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49213
49214 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49215 for ac_func in _isnanl
49216 do :
49217 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49218 if test "x$ac_cv_func__isnanl" = x""yes; then :
49219 cat >>confdefs.h <<_ACEOF
49220 #define HAVE__ISNANL 1
49221 _ACEOF
49222
49223 fi
49224 done
49225
49226 fi
49227 fi
49228
49229
49230
49231
49232
49233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49234 $as_echo_n "checking for isinfl declaration... " >&6; }
49235 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49236 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49237 $as_echo_n "(cached) " >&6
49238 else
49239
49240
49241 ac_ext=cpp
49242 ac_cpp='$CXXCPP $CPPFLAGS'
49243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49246
49247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49248 /* end confdefs.h. */
49249 #include <math.h>
49250 #ifdef HAVE_IEEEFP_H
49251 #include <ieeefp.h>
49252 #endif
49253
49254 int
49255 main ()
49256 {
49257 isinfl(0);
49258 ;
49259 return 0;
49260 }
49261 _ACEOF
49262 if ac_fn_cxx_try_compile "$LINENO"; then :
49263 glibcxx_cv_func_isinfl_use=yes
49264 else
49265 glibcxx_cv_func_isinfl_use=no
49266 fi
49267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49268 ac_ext=c
49269 ac_cpp='$CPP $CPPFLAGS'
49270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49273
49274
49275 fi
49276
49277 fi
49278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49279 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49280
49281 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49282 for ac_func in isinfl
49283 do :
49284 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49285 if test "x$ac_cv_func_isinfl" = x""yes; then :
49286 cat >>confdefs.h <<_ACEOF
49287 #define HAVE_ISINFL 1
49288 _ACEOF
49289
49290 fi
49291 done
49292
49293 else
49294
49295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49296 $as_echo_n "checking for _isinfl declaration... " >&6; }
49297 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49298 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49299 $as_echo_n "(cached) " >&6
49300 else
49301
49302
49303 ac_ext=cpp
49304 ac_cpp='$CXXCPP $CPPFLAGS'
49305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49308
49309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49310 /* end confdefs.h. */
49311 #include <math.h>
49312 #ifdef HAVE_IEEEFP_H
49313 #include <ieeefp.h>
49314 #endif
49315
49316 int
49317 main ()
49318 {
49319 _isinfl(0);
49320 ;
49321 return 0;
49322 }
49323 _ACEOF
49324 if ac_fn_cxx_try_compile "$LINENO"; then :
49325 glibcxx_cv_func__isinfl_use=yes
49326 else
49327 glibcxx_cv_func__isinfl_use=no
49328 fi
49329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49330 ac_ext=c
49331 ac_cpp='$CPP $CPPFLAGS'
49332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49335
49336
49337 fi
49338
49339 fi
49340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49341 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49342
49343 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49344 for ac_func in _isinfl
49345 do :
49346 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49347 if test "x$ac_cv_func__isinfl" = x""yes; then :
49348 cat >>confdefs.h <<_ACEOF
49349 #define HAVE__ISINFL 1
49350 _ACEOF
49351
49352 fi
49353 done
49354
49355 fi
49356 fi
49357
49358
49359
49360
49361
49362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49363 $as_echo_n "checking for atan2l declaration... " >&6; }
49364 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49365 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49366 $as_echo_n "(cached) " >&6
49367 else
49368
49369
49370 ac_ext=cpp
49371 ac_cpp='$CXXCPP $CPPFLAGS'
49372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49375
49376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49377 /* end confdefs.h. */
49378 #include <math.h>
49379 int
49380 main ()
49381 {
49382 atan2l(0, 0);
49383 ;
49384 return 0;
49385 }
49386 _ACEOF
49387 if ac_fn_cxx_try_compile "$LINENO"; then :
49388 glibcxx_cv_func_atan2l_use=yes
49389 else
49390 glibcxx_cv_func_atan2l_use=no
49391 fi
49392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49393 ac_ext=c
49394 ac_cpp='$CPP $CPPFLAGS'
49395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49398
49399
49400 fi
49401
49402 fi
49403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49404 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49405
49406 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49407 for ac_func in atan2l
49408 do :
49409 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49410 if test "x$ac_cv_func_atan2l" = x""yes; then :
49411 cat >>confdefs.h <<_ACEOF
49412 #define HAVE_ATAN2L 1
49413 _ACEOF
49414
49415 fi
49416 done
49417
49418 else
49419
49420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49421 $as_echo_n "checking for _atan2l declaration... " >&6; }
49422 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49423 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49424 $as_echo_n "(cached) " >&6
49425 else
49426
49427
49428 ac_ext=cpp
49429 ac_cpp='$CXXCPP $CPPFLAGS'
49430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49433
49434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49435 /* end confdefs.h. */
49436 #include <math.h>
49437 int
49438 main ()
49439 {
49440 _atan2l(0, 0);
49441 ;
49442 return 0;
49443 }
49444 _ACEOF
49445 if ac_fn_cxx_try_compile "$LINENO"; then :
49446 glibcxx_cv_func__atan2l_use=yes
49447 else
49448 glibcxx_cv_func__atan2l_use=no
49449 fi
49450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49451 ac_ext=c
49452 ac_cpp='$CPP $CPPFLAGS'
49453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49456
49457
49458 fi
49459
49460 fi
49461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49462 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49463
49464 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49465 for ac_func in _atan2l
49466 do :
49467 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49468 if test "x$ac_cv_func__atan2l" = x""yes; then :
49469 cat >>confdefs.h <<_ACEOF
49470 #define HAVE__ATAN2L 1
49471 _ACEOF
49472
49473 fi
49474 done
49475
49476 fi
49477 fi
49478
49479
49480
49481
49482
49483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49484 $as_echo_n "checking for expl declaration... " >&6; }
49485 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49486 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49487 $as_echo_n "(cached) " >&6
49488 else
49489
49490
49491 ac_ext=cpp
49492 ac_cpp='$CXXCPP $CPPFLAGS'
49493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49496
49497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49498 /* end confdefs.h. */
49499 #include <math.h>
49500 #ifdef HAVE_IEEEFP_H
49501 #include <ieeefp.h>
49502 #endif
49503
49504 int
49505 main ()
49506 {
49507 expl(0);
49508 ;
49509 return 0;
49510 }
49511 _ACEOF
49512 if ac_fn_cxx_try_compile "$LINENO"; then :
49513 glibcxx_cv_func_expl_use=yes
49514 else
49515 glibcxx_cv_func_expl_use=no
49516 fi
49517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49518 ac_ext=c
49519 ac_cpp='$CPP $CPPFLAGS'
49520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49523
49524
49525 fi
49526
49527 fi
49528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49529 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49530
49531 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49532 for ac_func in expl
49533 do :
49534 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49535 if test "x$ac_cv_func_expl" = x""yes; then :
49536 cat >>confdefs.h <<_ACEOF
49537 #define HAVE_EXPL 1
49538 _ACEOF
49539
49540 fi
49541 done
49542
49543 else
49544
49545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49546 $as_echo_n "checking for _expl declaration... " >&6; }
49547 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49548 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49549 $as_echo_n "(cached) " >&6
49550 else
49551
49552
49553 ac_ext=cpp
49554 ac_cpp='$CXXCPP $CPPFLAGS'
49555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49558
49559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49560 /* end confdefs.h. */
49561 #include <math.h>
49562 #ifdef HAVE_IEEEFP_H
49563 #include <ieeefp.h>
49564 #endif
49565
49566 int
49567 main ()
49568 {
49569 _expl(0);
49570 ;
49571 return 0;
49572 }
49573 _ACEOF
49574 if ac_fn_cxx_try_compile "$LINENO"; then :
49575 glibcxx_cv_func__expl_use=yes
49576 else
49577 glibcxx_cv_func__expl_use=no
49578 fi
49579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49580 ac_ext=c
49581 ac_cpp='$CPP $CPPFLAGS'
49582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49585
49586
49587 fi
49588
49589 fi
49590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49591 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49592
49593 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49594 for ac_func in _expl
49595 do :
49596 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49597 if test "x$ac_cv_func__expl" = x""yes; then :
49598 cat >>confdefs.h <<_ACEOF
49599 #define HAVE__EXPL 1
49600 _ACEOF
49601
49602 fi
49603 done
49604
49605 fi
49606 fi
49607
49608
49609
49610
49611
49612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49613 $as_echo_n "checking for fabsl declaration... " >&6; }
49614 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49615 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49616 $as_echo_n "(cached) " >&6
49617 else
49618
49619
49620 ac_ext=cpp
49621 ac_cpp='$CXXCPP $CPPFLAGS'
49622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49625
49626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49627 /* end confdefs.h. */
49628 #include <math.h>
49629 #ifdef HAVE_IEEEFP_H
49630 #include <ieeefp.h>
49631 #endif
49632
49633 int
49634 main ()
49635 {
49636 fabsl(0);
49637 ;
49638 return 0;
49639 }
49640 _ACEOF
49641 if ac_fn_cxx_try_compile "$LINENO"; then :
49642 glibcxx_cv_func_fabsl_use=yes
49643 else
49644 glibcxx_cv_func_fabsl_use=no
49645 fi
49646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49647 ac_ext=c
49648 ac_cpp='$CPP $CPPFLAGS'
49649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49652
49653
49654 fi
49655
49656 fi
49657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49658 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49659
49660 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49661 for ac_func in fabsl
49662 do :
49663 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49664 if test "x$ac_cv_func_fabsl" = x""yes; then :
49665 cat >>confdefs.h <<_ACEOF
49666 #define HAVE_FABSL 1
49667 _ACEOF
49668
49669 fi
49670 done
49671
49672 else
49673
49674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49675 $as_echo_n "checking for _fabsl declaration... " >&6; }
49676 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49677 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49678 $as_echo_n "(cached) " >&6
49679 else
49680
49681
49682 ac_ext=cpp
49683 ac_cpp='$CXXCPP $CPPFLAGS'
49684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49687
49688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49689 /* end confdefs.h. */
49690 #include <math.h>
49691 #ifdef HAVE_IEEEFP_H
49692 #include <ieeefp.h>
49693 #endif
49694
49695 int
49696 main ()
49697 {
49698 _fabsl(0);
49699 ;
49700 return 0;
49701 }
49702 _ACEOF
49703 if ac_fn_cxx_try_compile "$LINENO"; then :
49704 glibcxx_cv_func__fabsl_use=yes
49705 else
49706 glibcxx_cv_func__fabsl_use=no
49707 fi
49708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49709 ac_ext=c
49710 ac_cpp='$CPP $CPPFLAGS'
49711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49714
49715
49716 fi
49717
49718 fi
49719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49720 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49721
49722 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49723 for ac_func in _fabsl
49724 do :
49725 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49726 if test "x$ac_cv_func__fabsl" = x""yes; then :
49727 cat >>confdefs.h <<_ACEOF
49728 #define HAVE__FABSL 1
49729 _ACEOF
49730
49731 fi
49732 done
49733
49734 fi
49735 fi
49736
49737
49738
49739
49740
49741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49742 $as_echo_n "checking for fmodl declaration... " >&6; }
49743 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49744 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49745 $as_echo_n "(cached) " >&6
49746 else
49747
49748
49749 ac_ext=cpp
49750 ac_cpp='$CXXCPP $CPPFLAGS'
49751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49754
49755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49756 /* end confdefs.h. */
49757 #include <math.h>
49758 int
49759 main ()
49760 {
49761 fmodl(0, 0);
49762 ;
49763 return 0;
49764 }
49765 _ACEOF
49766 if ac_fn_cxx_try_compile "$LINENO"; then :
49767 glibcxx_cv_func_fmodl_use=yes
49768 else
49769 glibcxx_cv_func_fmodl_use=no
49770 fi
49771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49772 ac_ext=c
49773 ac_cpp='$CPP $CPPFLAGS'
49774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49777
49778
49779 fi
49780
49781 fi
49782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49783 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49784
49785 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49786 for ac_func in fmodl
49787 do :
49788 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49789 if test "x$ac_cv_func_fmodl" = x""yes; then :
49790 cat >>confdefs.h <<_ACEOF
49791 #define HAVE_FMODL 1
49792 _ACEOF
49793
49794 fi
49795 done
49796
49797 else
49798
49799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49800 $as_echo_n "checking for _fmodl declaration... " >&6; }
49801 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49802 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49803 $as_echo_n "(cached) " >&6
49804 else
49805
49806
49807 ac_ext=cpp
49808 ac_cpp='$CXXCPP $CPPFLAGS'
49809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49812
49813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49814 /* end confdefs.h. */
49815 #include <math.h>
49816 int
49817 main ()
49818 {
49819 _fmodl(0, 0);
49820 ;
49821 return 0;
49822 }
49823 _ACEOF
49824 if ac_fn_cxx_try_compile "$LINENO"; then :
49825 glibcxx_cv_func__fmodl_use=yes
49826 else
49827 glibcxx_cv_func__fmodl_use=no
49828 fi
49829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49830 ac_ext=c
49831 ac_cpp='$CPP $CPPFLAGS'
49832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49835
49836
49837 fi
49838
49839 fi
49840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49841 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49842
49843 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49844 for ac_func in _fmodl
49845 do :
49846 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49847 if test "x$ac_cv_func__fmodl" = x""yes; then :
49848 cat >>confdefs.h <<_ACEOF
49849 #define HAVE__FMODL 1
49850 _ACEOF
49851
49852 fi
49853 done
49854
49855 fi
49856 fi
49857
49858
49859
49860
49861
49862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49863 $as_echo_n "checking for frexpl declaration... " >&6; }
49864 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49865 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49866 $as_echo_n "(cached) " >&6
49867 else
49868
49869
49870 ac_ext=cpp
49871 ac_cpp='$CXXCPP $CPPFLAGS'
49872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49875
49876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49877 /* end confdefs.h. */
49878 #include <math.h>
49879 int
49880 main ()
49881 {
49882 frexpl(0, 0);
49883 ;
49884 return 0;
49885 }
49886 _ACEOF
49887 if ac_fn_cxx_try_compile "$LINENO"; then :
49888 glibcxx_cv_func_frexpl_use=yes
49889 else
49890 glibcxx_cv_func_frexpl_use=no
49891 fi
49892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49893 ac_ext=c
49894 ac_cpp='$CPP $CPPFLAGS'
49895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49898
49899
49900 fi
49901
49902 fi
49903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49904 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49905
49906 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49907 for ac_func in frexpl
49908 do :
49909 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49910 if test "x$ac_cv_func_frexpl" = x""yes; then :
49911 cat >>confdefs.h <<_ACEOF
49912 #define HAVE_FREXPL 1
49913 _ACEOF
49914
49915 fi
49916 done
49917
49918 else
49919
49920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49921 $as_echo_n "checking for _frexpl declaration... " >&6; }
49922 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49923 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49924 $as_echo_n "(cached) " >&6
49925 else
49926
49927
49928 ac_ext=cpp
49929 ac_cpp='$CXXCPP $CPPFLAGS'
49930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49933
49934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49935 /* end confdefs.h. */
49936 #include <math.h>
49937 int
49938 main ()
49939 {
49940 _frexpl(0, 0);
49941 ;
49942 return 0;
49943 }
49944 _ACEOF
49945 if ac_fn_cxx_try_compile "$LINENO"; then :
49946 glibcxx_cv_func__frexpl_use=yes
49947 else
49948 glibcxx_cv_func__frexpl_use=no
49949 fi
49950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49951 ac_ext=c
49952 ac_cpp='$CPP $CPPFLAGS'
49953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49956
49957
49958 fi
49959
49960 fi
49961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
49962 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
49963
49964 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
49965 for ac_func in _frexpl
49966 do :
49967 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
49968 if test "x$ac_cv_func__frexpl" = x""yes; then :
49969 cat >>confdefs.h <<_ACEOF
49970 #define HAVE__FREXPL 1
49971 _ACEOF
49972
49973 fi
49974 done
49975
49976 fi
49977 fi
49978
49979
49980
49981
49982
49983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
49984 $as_echo_n "checking for hypotl declaration... " >&6; }
49985 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
49986 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
49987 $as_echo_n "(cached) " >&6
49988 else
49989
49990
49991 ac_ext=cpp
49992 ac_cpp='$CXXCPP $CPPFLAGS'
49993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49996
49997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49998 /* end confdefs.h. */
49999 #include <math.h>
50000 int
50001 main ()
50002 {
50003 hypotl(0, 0);
50004 ;
50005 return 0;
50006 }
50007 _ACEOF
50008 if ac_fn_cxx_try_compile "$LINENO"; then :
50009 glibcxx_cv_func_hypotl_use=yes
50010 else
50011 glibcxx_cv_func_hypotl_use=no
50012 fi
50013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50014 ac_ext=c
50015 ac_cpp='$CPP $CPPFLAGS'
50016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50019
50020
50021 fi
50022
50023 fi
50024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50025 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50026
50027 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50028 for ac_func in hypotl
50029 do :
50030 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50031 if test "x$ac_cv_func_hypotl" = x""yes; then :
50032 cat >>confdefs.h <<_ACEOF
50033 #define HAVE_HYPOTL 1
50034 _ACEOF
50035
50036 fi
50037 done
50038
50039 else
50040
50041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50042 $as_echo_n "checking for _hypotl declaration... " >&6; }
50043 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50044 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50045 $as_echo_n "(cached) " >&6
50046 else
50047
50048
50049 ac_ext=cpp
50050 ac_cpp='$CXXCPP $CPPFLAGS'
50051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50054
50055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50056 /* end confdefs.h. */
50057 #include <math.h>
50058 int
50059 main ()
50060 {
50061 _hypotl(0, 0);
50062 ;
50063 return 0;
50064 }
50065 _ACEOF
50066 if ac_fn_cxx_try_compile "$LINENO"; then :
50067 glibcxx_cv_func__hypotl_use=yes
50068 else
50069 glibcxx_cv_func__hypotl_use=no
50070 fi
50071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50072 ac_ext=c
50073 ac_cpp='$CPP $CPPFLAGS'
50074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50077
50078
50079 fi
50080
50081 fi
50082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50083 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50084
50085 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50086 for ac_func in _hypotl
50087 do :
50088 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50089 if test "x$ac_cv_func__hypotl" = x""yes; then :
50090 cat >>confdefs.h <<_ACEOF
50091 #define HAVE__HYPOTL 1
50092 _ACEOF
50093
50094 fi
50095 done
50096
50097 fi
50098 fi
50099
50100
50101
50102
50103
50104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50105 $as_echo_n "checking for ldexpl declaration... " >&6; }
50106 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50107 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50108 $as_echo_n "(cached) " >&6
50109 else
50110
50111
50112 ac_ext=cpp
50113 ac_cpp='$CXXCPP $CPPFLAGS'
50114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50117
50118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50119 /* end confdefs.h. */
50120 #include <math.h>
50121 int
50122 main ()
50123 {
50124 ldexpl(0, 0);
50125 ;
50126 return 0;
50127 }
50128 _ACEOF
50129 if ac_fn_cxx_try_compile "$LINENO"; then :
50130 glibcxx_cv_func_ldexpl_use=yes
50131 else
50132 glibcxx_cv_func_ldexpl_use=no
50133 fi
50134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50135 ac_ext=c
50136 ac_cpp='$CPP $CPPFLAGS'
50137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50140
50141
50142 fi
50143
50144 fi
50145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50146 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50147
50148 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50149 for ac_func in ldexpl
50150 do :
50151 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50152 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50153 cat >>confdefs.h <<_ACEOF
50154 #define HAVE_LDEXPL 1
50155 _ACEOF
50156
50157 fi
50158 done
50159
50160 else
50161
50162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50163 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50164 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50165 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50166 $as_echo_n "(cached) " >&6
50167 else
50168
50169
50170 ac_ext=cpp
50171 ac_cpp='$CXXCPP $CPPFLAGS'
50172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50175
50176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50177 /* end confdefs.h. */
50178 #include <math.h>
50179 int
50180 main ()
50181 {
50182 _ldexpl(0, 0);
50183 ;
50184 return 0;
50185 }
50186 _ACEOF
50187 if ac_fn_cxx_try_compile "$LINENO"; then :
50188 glibcxx_cv_func__ldexpl_use=yes
50189 else
50190 glibcxx_cv_func__ldexpl_use=no
50191 fi
50192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50193 ac_ext=c
50194 ac_cpp='$CPP $CPPFLAGS'
50195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50198
50199
50200 fi
50201
50202 fi
50203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50204 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50205
50206 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50207 for ac_func in _ldexpl
50208 do :
50209 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50210 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50211 cat >>confdefs.h <<_ACEOF
50212 #define HAVE__LDEXPL 1
50213 _ACEOF
50214
50215 fi
50216 done
50217
50218 fi
50219 fi
50220
50221
50222
50223
50224
50225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50226 $as_echo_n "checking for logl declaration... " >&6; }
50227 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50228 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50229 $as_echo_n "(cached) " >&6
50230 else
50231
50232
50233 ac_ext=cpp
50234 ac_cpp='$CXXCPP $CPPFLAGS'
50235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50238
50239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50240 /* end confdefs.h. */
50241 #include <math.h>
50242 #ifdef HAVE_IEEEFP_H
50243 #include <ieeefp.h>
50244 #endif
50245
50246 int
50247 main ()
50248 {
50249 logl(0);
50250 ;
50251 return 0;
50252 }
50253 _ACEOF
50254 if ac_fn_cxx_try_compile "$LINENO"; then :
50255 glibcxx_cv_func_logl_use=yes
50256 else
50257 glibcxx_cv_func_logl_use=no
50258 fi
50259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50260 ac_ext=c
50261 ac_cpp='$CPP $CPPFLAGS'
50262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50265
50266
50267 fi
50268
50269 fi
50270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50271 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50272
50273 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50274 for ac_func in logl
50275 do :
50276 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50277 if test "x$ac_cv_func_logl" = x""yes; then :
50278 cat >>confdefs.h <<_ACEOF
50279 #define HAVE_LOGL 1
50280 _ACEOF
50281
50282 fi
50283 done
50284
50285 else
50286
50287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50288 $as_echo_n "checking for _logl declaration... " >&6; }
50289 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50290 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50291 $as_echo_n "(cached) " >&6
50292 else
50293
50294
50295 ac_ext=cpp
50296 ac_cpp='$CXXCPP $CPPFLAGS'
50297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50300
50301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50302 /* end confdefs.h. */
50303 #include <math.h>
50304 #ifdef HAVE_IEEEFP_H
50305 #include <ieeefp.h>
50306 #endif
50307
50308 int
50309 main ()
50310 {
50311 _logl(0);
50312 ;
50313 return 0;
50314 }
50315 _ACEOF
50316 if ac_fn_cxx_try_compile "$LINENO"; then :
50317 glibcxx_cv_func__logl_use=yes
50318 else
50319 glibcxx_cv_func__logl_use=no
50320 fi
50321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50322 ac_ext=c
50323 ac_cpp='$CPP $CPPFLAGS'
50324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50327
50328
50329 fi
50330
50331 fi
50332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50333 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50334
50335 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50336 for ac_func in _logl
50337 do :
50338 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50339 if test "x$ac_cv_func__logl" = x""yes; then :
50340 cat >>confdefs.h <<_ACEOF
50341 #define HAVE__LOGL 1
50342 _ACEOF
50343
50344 fi
50345 done
50346
50347 fi
50348 fi
50349
50350
50351
50352
50353
50354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50355 $as_echo_n "checking for log10l declaration... " >&6; }
50356 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50357 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50358 $as_echo_n "(cached) " >&6
50359 else
50360
50361
50362 ac_ext=cpp
50363 ac_cpp='$CXXCPP $CPPFLAGS'
50364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50367
50368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50369 /* end confdefs.h. */
50370 #include <math.h>
50371 #ifdef HAVE_IEEEFP_H
50372 #include <ieeefp.h>
50373 #endif
50374
50375 int
50376 main ()
50377 {
50378 log10l(0);
50379 ;
50380 return 0;
50381 }
50382 _ACEOF
50383 if ac_fn_cxx_try_compile "$LINENO"; then :
50384 glibcxx_cv_func_log10l_use=yes
50385 else
50386 glibcxx_cv_func_log10l_use=no
50387 fi
50388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50389 ac_ext=c
50390 ac_cpp='$CPP $CPPFLAGS'
50391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50394
50395
50396 fi
50397
50398 fi
50399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50400 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50401
50402 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50403 for ac_func in log10l
50404 do :
50405 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50406 if test "x$ac_cv_func_log10l" = x""yes; then :
50407 cat >>confdefs.h <<_ACEOF
50408 #define HAVE_LOG10L 1
50409 _ACEOF
50410
50411 fi
50412 done
50413
50414 else
50415
50416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50417 $as_echo_n "checking for _log10l declaration... " >&6; }
50418 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50419 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50420 $as_echo_n "(cached) " >&6
50421 else
50422
50423
50424 ac_ext=cpp
50425 ac_cpp='$CXXCPP $CPPFLAGS'
50426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50429
50430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50431 /* end confdefs.h. */
50432 #include <math.h>
50433 #ifdef HAVE_IEEEFP_H
50434 #include <ieeefp.h>
50435 #endif
50436
50437 int
50438 main ()
50439 {
50440 _log10l(0);
50441 ;
50442 return 0;
50443 }
50444 _ACEOF
50445 if ac_fn_cxx_try_compile "$LINENO"; then :
50446 glibcxx_cv_func__log10l_use=yes
50447 else
50448 glibcxx_cv_func__log10l_use=no
50449 fi
50450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50451 ac_ext=c
50452 ac_cpp='$CPP $CPPFLAGS'
50453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50456
50457
50458 fi
50459
50460 fi
50461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50462 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50463
50464 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50465 for ac_func in _log10l
50466 do :
50467 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50468 if test "x$ac_cv_func__log10l" = x""yes; then :
50469 cat >>confdefs.h <<_ACEOF
50470 #define HAVE__LOG10L 1
50471 _ACEOF
50472
50473 fi
50474 done
50475
50476 fi
50477 fi
50478
50479
50480
50481
50482
50483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50484 $as_echo_n "checking for modfl declaration... " >&6; }
50485 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50486 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50487 $as_echo_n "(cached) " >&6
50488 else
50489
50490
50491 ac_ext=cpp
50492 ac_cpp='$CXXCPP $CPPFLAGS'
50493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50496
50497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50498 /* end confdefs.h. */
50499 #include <math.h>
50500 int
50501 main ()
50502 {
50503 modfl(0, 0);
50504 ;
50505 return 0;
50506 }
50507 _ACEOF
50508 if ac_fn_cxx_try_compile "$LINENO"; then :
50509 glibcxx_cv_func_modfl_use=yes
50510 else
50511 glibcxx_cv_func_modfl_use=no
50512 fi
50513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50514 ac_ext=c
50515 ac_cpp='$CPP $CPPFLAGS'
50516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50519
50520
50521 fi
50522
50523 fi
50524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50525 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50526
50527 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50528 for ac_func in modfl
50529 do :
50530 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50531 if test "x$ac_cv_func_modfl" = x""yes; then :
50532 cat >>confdefs.h <<_ACEOF
50533 #define HAVE_MODFL 1
50534 _ACEOF
50535
50536 fi
50537 done
50538
50539 else
50540
50541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50542 $as_echo_n "checking for _modfl declaration... " >&6; }
50543 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50544 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50545 $as_echo_n "(cached) " >&6
50546 else
50547
50548
50549 ac_ext=cpp
50550 ac_cpp='$CXXCPP $CPPFLAGS'
50551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50554
50555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50556 /* end confdefs.h. */
50557 #include <math.h>
50558 int
50559 main ()
50560 {
50561 _modfl(0, 0);
50562 ;
50563 return 0;
50564 }
50565 _ACEOF
50566 if ac_fn_cxx_try_compile "$LINENO"; then :
50567 glibcxx_cv_func__modfl_use=yes
50568 else
50569 glibcxx_cv_func__modfl_use=no
50570 fi
50571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50572 ac_ext=c
50573 ac_cpp='$CPP $CPPFLAGS'
50574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50577
50578
50579 fi
50580
50581 fi
50582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50583 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50584
50585 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50586 for ac_func in _modfl
50587 do :
50588 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50589 if test "x$ac_cv_func__modfl" = x""yes; then :
50590 cat >>confdefs.h <<_ACEOF
50591 #define HAVE__MODFL 1
50592 _ACEOF
50593
50594 fi
50595 done
50596
50597 fi
50598 fi
50599
50600
50601
50602
50603
50604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50605 $as_echo_n "checking for powl declaration... " >&6; }
50606 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50607 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50608 $as_echo_n "(cached) " >&6
50609 else
50610
50611
50612 ac_ext=cpp
50613 ac_cpp='$CXXCPP $CPPFLAGS'
50614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50617
50618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50619 /* end confdefs.h. */
50620 #include <math.h>
50621 int
50622 main ()
50623 {
50624 powl(0, 0);
50625 ;
50626 return 0;
50627 }
50628 _ACEOF
50629 if ac_fn_cxx_try_compile "$LINENO"; then :
50630 glibcxx_cv_func_powl_use=yes
50631 else
50632 glibcxx_cv_func_powl_use=no
50633 fi
50634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50635 ac_ext=c
50636 ac_cpp='$CPP $CPPFLAGS'
50637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50640
50641
50642 fi
50643
50644 fi
50645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50646 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50647
50648 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50649 for ac_func in powl
50650 do :
50651 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50652 if test "x$ac_cv_func_powl" = x""yes; then :
50653 cat >>confdefs.h <<_ACEOF
50654 #define HAVE_POWL 1
50655 _ACEOF
50656
50657 fi
50658 done
50659
50660 else
50661
50662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50663 $as_echo_n "checking for _powl declaration... " >&6; }
50664 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50665 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50666 $as_echo_n "(cached) " >&6
50667 else
50668
50669
50670 ac_ext=cpp
50671 ac_cpp='$CXXCPP $CPPFLAGS'
50672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50675
50676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50677 /* end confdefs.h. */
50678 #include <math.h>
50679 int
50680 main ()
50681 {
50682 _powl(0, 0);
50683 ;
50684 return 0;
50685 }
50686 _ACEOF
50687 if ac_fn_cxx_try_compile "$LINENO"; then :
50688 glibcxx_cv_func__powl_use=yes
50689 else
50690 glibcxx_cv_func__powl_use=no
50691 fi
50692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50693 ac_ext=c
50694 ac_cpp='$CPP $CPPFLAGS'
50695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50698
50699
50700 fi
50701
50702 fi
50703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50704 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50705
50706 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50707 for ac_func in _powl
50708 do :
50709 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50710 if test "x$ac_cv_func__powl" = x""yes; then :
50711 cat >>confdefs.h <<_ACEOF
50712 #define HAVE__POWL 1
50713 _ACEOF
50714
50715 fi
50716 done
50717
50718 fi
50719 fi
50720
50721
50722
50723
50724
50725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50726 $as_echo_n "checking for sqrtl declaration... " >&6; }
50727 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50728 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50729 $as_echo_n "(cached) " >&6
50730 else
50731
50732
50733 ac_ext=cpp
50734 ac_cpp='$CXXCPP $CPPFLAGS'
50735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50738
50739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50740 /* end confdefs.h. */
50741 #include <math.h>
50742 #ifdef HAVE_IEEEFP_H
50743 #include <ieeefp.h>
50744 #endif
50745
50746 int
50747 main ()
50748 {
50749 sqrtl(0);
50750 ;
50751 return 0;
50752 }
50753 _ACEOF
50754 if ac_fn_cxx_try_compile "$LINENO"; then :
50755 glibcxx_cv_func_sqrtl_use=yes
50756 else
50757 glibcxx_cv_func_sqrtl_use=no
50758 fi
50759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50760 ac_ext=c
50761 ac_cpp='$CPP $CPPFLAGS'
50762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50765
50766
50767 fi
50768
50769 fi
50770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50771 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50772
50773 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50774 for ac_func in sqrtl
50775 do :
50776 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50777 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50778 cat >>confdefs.h <<_ACEOF
50779 #define HAVE_SQRTL 1
50780 _ACEOF
50781
50782 fi
50783 done
50784
50785 else
50786
50787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50788 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50789 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50790 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50791 $as_echo_n "(cached) " >&6
50792 else
50793
50794
50795 ac_ext=cpp
50796 ac_cpp='$CXXCPP $CPPFLAGS'
50797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50800
50801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50802 /* end confdefs.h. */
50803 #include <math.h>
50804 #ifdef HAVE_IEEEFP_H
50805 #include <ieeefp.h>
50806 #endif
50807
50808 int
50809 main ()
50810 {
50811 _sqrtl(0);
50812 ;
50813 return 0;
50814 }
50815 _ACEOF
50816 if ac_fn_cxx_try_compile "$LINENO"; then :
50817 glibcxx_cv_func__sqrtl_use=yes
50818 else
50819 glibcxx_cv_func__sqrtl_use=no
50820 fi
50821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50822 ac_ext=c
50823 ac_cpp='$CPP $CPPFLAGS'
50824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50827
50828
50829 fi
50830
50831 fi
50832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50833 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50834
50835 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50836 for ac_func in _sqrtl
50837 do :
50838 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50839 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50840 cat >>confdefs.h <<_ACEOF
50841 #define HAVE__SQRTL 1
50842 _ACEOF
50843
50844 fi
50845 done
50846
50847 fi
50848 fi
50849
50850
50851
50852
50853
50854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50855 $as_echo_n "checking for sincosl declaration... " >&6; }
50856 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50857 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50858 $as_echo_n "(cached) " >&6
50859 else
50860
50861
50862 ac_ext=cpp
50863 ac_cpp='$CXXCPP $CPPFLAGS'
50864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50867
50868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50869 /* end confdefs.h. */
50870 #include <math.h>
50871 int
50872 main ()
50873 {
50874 sincosl(0, 0, 0);
50875 ;
50876 return 0;
50877 }
50878 _ACEOF
50879 if ac_fn_cxx_try_compile "$LINENO"; then :
50880 glibcxx_cv_func_sincosl_use=yes
50881 else
50882 glibcxx_cv_func_sincosl_use=no
50883 fi
50884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50885 ac_ext=c
50886 ac_cpp='$CPP $CPPFLAGS'
50887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50890
50891
50892 fi
50893
50894 fi
50895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50896 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50897
50898 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50899 for ac_func in sincosl
50900 do :
50901 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50902 if test "x$ac_cv_func_sincosl" = x""yes; then :
50903 cat >>confdefs.h <<_ACEOF
50904 #define HAVE_SINCOSL 1
50905 _ACEOF
50906
50907 fi
50908 done
50909
50910 else
50911
50912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50913 $as_echo_n "checking for _sincosl declaration... " >&6; }
50914 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50915 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50916 $as_echo_n "(cached) " >&6
50917 else
50918
50919
50920 ac_ext=cpp
50921 ac_cpp='$CXXCPP $CPPFLAGS'
50922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50925
50926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50927 /* end confdefs.h. */
50928 #include <math.h>
50929 int
50930 main ()
50931 {
50932 _sincosl(0, 0, 0);
50933 ;
50934 return 0;
50935 }
50936 _ACEOF
50937 if ac_fn_cxx_try_compile "$LINENO"; then :
50938 glibcxx_cv_func__sincosl_use=yes
50939 else
50940 glibcxx_cv_func__sincosl_use=no
50941 fi
50942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50943 ac_ext=c
50944 ac_cpp='$CPP $CPPFLAGS'
50945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50948
50949
50950 fi
50951
50952 fi
50953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
50954 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
50955
50956 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
50957 for ac_func in _sincosl
50958 do :
50959 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
50960 if test "x$ac_cv_func__sincosl" = x""yes; then :
50961 cat >>confdefs.h <<_ACEOF
50962 #define HAVE__SINCOSL 1
50963 _ACEOF
50964
50965 fi
50966 done
50967
50968 fi
50969 fi
50970
50971
50972
50973
50974
50975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
50976 $as_echo_n "checking for finitel declaration... " >&6; }
50977 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
50978 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
50979 $as_echo_n "(cached) " >&6
50980 else
50981
50982
50983 ac_ext=cpp
50984 ac_cpp='$CXXCPP $CPPFLAGS'
50985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50988
50989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50990 /* end confdefs.h. */
50991 #include <math.h>
50992 #ifdef HAVE_IEEEFP_H
50993 #include <ieeefp.h>
50994 #endif
50995
50996 int
50997 main ()
50998 {
50999 finitel(0);
51000 ;
51001 return 0;
51002 }
51003 _ACEOF
51004 if ac_fn_cxx_try_compile "$LINENO"; then :
51005 glibcxx_cv_func_finitel_use=yes
51006 else
51007 glibcxx_cv_func_finitel_use=no
51008 fi
51009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51010 ac_ext=c
51011 ac_cpp='$CPP $CPPFLAGS'
51012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51015
51016
51017 fi
51018
51019 fi
51020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51021 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51022
51023 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51024 for ac_func in finitel
51025 do :
51026 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51027 if test "x$ac_cv_func_finitel" = x""yes; then :
51028 cat >>confdefs.h <<_ACEOF
51029 #define HAVE_FINITEL 1
51030 _ACEOF
51031
51032 fi
51033 done
51034
51035 else
51036
51037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51038 $as_echo_n "checking for _finitel declaration... " >&6; }
51039 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51040 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51041 $as_echo_n "(cached) " >&6
51042 else
51043
51044
51045 ac_ext=cpp
51046 ac_cpp='$CXXCPP $CPPFLAGS'
51047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51050
51051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51052 /* end confdefs.h. */
51053 #include <math.h>
51054 #ifdef HAVE_IEEEFP_H
51055 #include <ieeefp.h>
51056 #endif
51057
51058 int
51059 main ()
51060 {
51061 _finitel(0);
51062 ;
51063 return 0;
51064 }
51065 _ACEOF
51066 if ac_fn_cxx_try_compile "$LINENO"; then :
51067 glibcxx_cv_func__finitel_use=yes
51068 else
51069 glibcxx_cv_func__finitel_use=no
51070 fi
51071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51072 ac_ext=c
51073 ac_cpp='$CPP $CPPFLAGS'
51074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51077
51078
51079 fi
51080
51081 fi
51082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51083 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51084
51085 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51086 for ac_func in _finitel
51087 do :
51088 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51089 if test "x$ac_cv_func__finitel" = x""yes; then :
51090 cat >>confdefs.h <<_ACEOF
51091 #define HAVE__FINITEL 1
51092 _ACEOF
51093
51094 fi
51095 done
51096
51097 fi
51098 fi
51099
51100
51101
51102
51103 LIBS="$ac_save_LIBS"
51104 CXXFLAGS="$ac_save_CXXFLAGS"
51105
51106
51107 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51108 ac_save_CXXFLAGS="$CXXFLAGS"
51109 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51110
51111
51112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51113 $as_echo_n "checking for strtold declaration... " >&6; }
51114 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51115 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51116 $as_echo_n "(cached) " >&6
51117 else
51118
51119
51120 ac_ext=cpp
51121 ac_cpp='$CXXCPP $CPPFLAGS'
51122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51125
51126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51127 /* end confdefs.h. */
51128 #include <stdlib.h>
51129 int
51130 main ()
51131 {
51132 strtold(0, 0);
51133 ;
51134 return 0;
51135 }
51136 _ACEOF
51137 if ac_fn_cxx_try_compile "$LINENO"; then :
51138 glibcxx_cv_func_strtold_use=yes
51139 else
51140 glibcxx_cv_func_strtold_use=no
51141 fi
51142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51143 ac_ext=c
51144 ac_cpp='$CPP $CPPFLAGS'
51145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51148
51149
51150 fi
51151
51152 fi
51153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51154 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51155 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51156 for ac_func in strtold
51157 do :
51158 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51159 if test "x$ac_cv_func_strtold" = x""yes; then :
51160 cat >>confdefs.h <<_ACEOF
51161 #define HAVE_STRTOLD 1
51162 _ACEOF
51163
51164 fi
51165 done
51166
51167 fi
51168
51169
51170
51171
51172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51173 $as_echo_n "checking for strtof declaration... " >&6; }
51174 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51175 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51176 $as_echo_n "(cached) " >&6
51177 else
51178
51179
51180 ac_ext=cpp
51181 ac_cpp='$CXXCPP $CPPFLAGS'
51182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51185
51186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51187 /* end confdefs.h. */
51188 #include <stdlib.h>
51189 int
51190 main ()
51191 {
51192 strtof(0, 0);
51193 ;
51194 return 0;
51195 }
51196 _ACEOF
51197 if ac_fn_cxx_try_compile "$LINENO"; then :
51198 glibcxx_cv_func_strtof_use=yes
51199 else
51200 glibcxx_cv_func_strtof_use=no
51201 fi
51202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51203 ac_ext=c
51204 ac_cpp='$CPP $CPPFLAGS'
51205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51208
51209
51210 fi
51211
51212 fi
51213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51214 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51215 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51216 for ac_func in strtof
51217 do :
51218 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51219 if test "x$ac_cv_func_strtof" = x""yes; then :
51220 cat >>confdefs.h <<_ACEOF
51221 #define HAVE_STRTOF 1
51222 _ACEOF
51223
51224 fi
51225 done
51226
51227 fi
51228
51229
51230
51231
51232 CXXFLAGS="$ac_save_CXXFLAGS"
51233
51234 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51235
51236
51237
51238 # Check whether --enable-tls was given.
51239 if test "${enable_tls+set}" = set; then :
51240 enableval=$enable_tls;
51241 case "$enableval" in
51242 yes|no) ;;
51243 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51244 esac
51245
51246 else
51247 enable_tls=yes
51248 fi
51249
51250
51251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51252 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51253 if test "${gcc_cv_have_tls+set}" = set; then :
51254 $as_echo_n "(cached) " >&6
51255 else
51256
51257 if test "$cross_compiling" = yes; then :
51258 if test x$gcc_no_link = xyes; then
51259 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51260 fi
51261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51262 /* end confdefs.h. */
51263 __thread int a; int b; int main() { return a = b; }
51264 _ACEOF
51265 if ac_fn_c_try_link "$LINENO"; then :
51266 chktls_save_LDFLAGS="$LDFLAGS"
51267 case $host in
51268 *-*-linux*)
51269 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51270 ;;
51271 esac
51272 chktls_save_CFLAGS="$CFLAGS"
51273 CFLAGS="-fPIC $CFLAGS"
51274 if test x$gcc_no_link = xyes; then
51275 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51276 fi
51277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51278 /* end confdefs.h. */
51279 int f() { return 0; }
51280 _ACEOF
51281 if ac_fn_c_try_link "$LINENO"; then :
51282 if test x$gcc_no_link = xyes; then
51283 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51284 fi
51285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51286 /* end confdefs.h. */
51287 __thread int a; int b; int f() { return a = b; }
51288 _ACEOF
51289 if ac_fn_c_try_link "$LINENO"; then :
51290 gcc_cv_have_tls=yes
51291 else
51292 gcc_cv_have_tls=no
51293 fi
51294 rm -f core conftest.err conftest.$ac_objext \
51295 conftest$ac_exeext conftest.$ac_ext
51296 else
51297 gcc_cv_have_tls=yes
51298 fi
51299 rm -f core conftest.err conftest.$ac_objext \
51300 conftest$ac_exeext conftest.$ac_ext
51301 CFLAGS="$chktls_save_CFLAGS"
51302 LDFLAGS="$chktls_save_LDFLAGS"
51303 else
51304 gcc_cv_have_tls=no
51305 fi
51306 rm -f core conftest.err conftest.$ac_objext \
51307 conftest$ac_exeext conftest.$ac_ext
51308
51309
51310 else
51311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51312 /* end confdefs.h. */
51313 __thread int a; int b; int main() { return a = b; }
51314 _ACEOF
51315 if ac_fn_c_try_run "$LINENO"; then :
51316 chktls_save_LDFLAGS="$LDFLAGS"
51317 LDFLAGS="-static $LDFLAGS"
51318 if test x$gcc_no_link = xyes; then
51319 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51320 fi
51321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51322 /* end confdefs.h. */
51323 int main() { return 0; }
51324 _ACEOF
51325 if ac_fn_c_try_link "$LINENO"; then :
51326 if test "$cross_compiling" = yes; then :
51327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51329 as_fn_error "cannot run test program while cross compiling
51330 See \`config.log' for more details." "$LINENO" 5; }
51331 else
51332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51333 /* end confdefs.h. */
51334 __thread int a; int b; int main() { return a = b; }
51335 _ACEOF
51336 if ac_fn_c_try_run "$LINENO"; then :
51337 gcc_cv_have_tls=yes
51338 else
51339 gcc_cv_have_tls=no
51340 fi
51341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51342 conftest.$ac_objext conftest.beam conftest.$ac_ext
51343 fi
51344
51345 else
51346 gcc_cv_have_tls=yes
51347 fi
51348 rm -f core conftest.err conftest.$ac_objext \
51349 conftest$ac_exeext conftest.$ac_ext
51350 LDFLAGS="$chktls_save_LDFLAGS"
51351 if test $gcc_cv_have_tls = yes; then
51352 chktls_save_CFLAGS="$CFLAGS"
51353 thread_CFLAGS=failed
51354 for flag in '' '-pthread' '-lpthread'; do
51355 CFLAGS="$flag $chktls_save_CFLAGS"
51356 if test x$gcc_no_link = xyes; then
51357 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51358 fi
51359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51360 /* end confdefs.h. */
51361 #include <pthread.h>
51362 void *g(void *d) { return NULL; }
51363 int
51364 main ()
51365 {
51366 pthread_t t; pthread_create(&t,NULL,g,NULL);
51367 ;
51368 return 0;
51369 }
51370 _ACEOF
51371 if ac_fn_c_try_link "$LINENO"; then :
51372 thread_CFLAGS="$flag"
51373 fi
51374 rm -f core conftest.err conftest.$ac_objext \
51375 conftest$ac_exeext conftest.$ac_ext
51376 if test "X$thread_CFLAGS" != Xfailed; then
51377 break
51378 fi
51379 done
51380 CFLAGS="$chktls_save_CFLAGS"
51381 if test "X$thread_CFLAGS" != Xfailed; then
51382 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51383 if test "$cross_compiling" = yes; then :
51384 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51385 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51386 as_fn_error "cannot run test program while cross compiling
51387 See \`config.log' for more details." "$LINENO" 5; }
51388 else
51389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51390 /* end confdefs.h. */
51391 #include <pthread.h>
51392 __thread int a;
51393 static int *volatile a_in_other_thread;
51394 static void *
51395 thread_func (void *arg)
51396 {
51397 a_in_other_thread = &a;
51398 return (void *)0;
51399 }
51400 int
51401 main ()
51402 {
51403 pthread_t thread;
51404 void *thread_retval;
51405 int *volatile a_in_main_thread;
51406 a_in_main_thread = &a;
51407 if (pthread_create (&thread, (pthread_attr_t *)0,
51408 thread_func, (void *)0))
51409 return 0;
51410 if (pthread_join (thread, &thread_retval))
51411 return 0;
51412 return (a_in_other_thread == a_in_main_thread);
51413 ;
51414 return 0;
51415 }
51416 _ACEOF
51417 if ac_fn_c_try_run "$LINENO"; then :
51418 gcc_cv_have_tls=yes
51419 else
51420 gcc_cv_have_tls=no
51421 fi
51422 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51423 conftest.$ac_objext conftest.beam conftest.$ac_ext
51424 fi
51425
51426 CFLAGS="$chktls_save_CFLAGS"
51427 fi
51428 fi
51429 else
51430 gcc_cv_have_tls=no
51431 fi
51432 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51433 conftest.$ac_objext conftest.beam conftest.$ac_ext
51434 fi
51435
51436 fi
51437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51438 $as_echo "$gcc_cv_have_tls" >&6; }
51439 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51440
51441 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51442
51443 fi
51444
51445
51446
51447
51448
51449 am_save_CPPFLAGS="$CPPFLAGS"
51450
51451 for element in $INCICONV; do
51452 haveit=
51453 for x in $CPPFLAGS; do
51454
51455 acl_save_prefix="$prefix"
51456 prefix="$acl_final_prefix"
51457 acl_save_exec_prefix="$exec_prefix"
51458 exec_prefix="$acl_final_exec_prefix"
51459 eval x=\"$x\"
51460 exec_prefix="$acl_save_exec_prefix"
51461 prefix="$acl_save_prefix"
51462
51463 if test "X$x" = "X$element"; then
51464 haveit=yes
51465 break
51466 fi
51467 done
51468 if test -z "$haveit"; then
51469 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51470 fi
51471 done
51472
51473
51474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51475 $as_echo_n "checking for iconv... " >&6; }
51476 if test "${am_cv_func_iconv+set}" = set; then :
51477 $as_echo_n "(cached) " >&6
51478 else
51479
51480 am_cv_func_iconv="no, consider installing GNU libiconv"
51481 am_cv_lib_iconv=no
51482 if test x$gcc_no_link = xyes; then
51483 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51484 fi
51485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51486 /* end confdefs.h. */
51487 #include <stdlib.h>
51488 #include <iconv.h>
51489 int
51490 main ()
51491 {
51492 iconv_t cd = iconv_open("","");
51493 iconv(cd,NULL,NULL,NULL,NULL);
51494 iconv_close(cd);
51495 ;
51496 return 0;
51497 }
51498 _ACEOF
51499 if ac_fn_c_try_link "$LINENO"; then :
51500 am_cv_func_iconv=yes
51501 fi
51502 rm -f core conftest.err conftest.$ac_objext \
51503 conftest$ac_exeext conftest.$ac_ext
51504 if test "$am_cv_func_iconv" != yes; then
51505 am_save_LIBS="$LIBS"
51506 LIBS="$LIBS $LIBICONV"
51507 if test x$gcc_no_link = xyes; then
51508 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51509 fi
51510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51511 /* end confdefs.h. */
51512 #include <stdlib.h>
51513 #include <iconv.h>
51514 int
51515 main ()
51516 {
51517 iconv_t cd = iconv_open("","");
51518 iconv(cd,NULL,NULL,NULL,NULL);
51519 iconv_close(cd);
51520 ;
51521 return 0;
51522 }
51523 _ACEOF
51524 if ac_fn_c_try_link "$LINENO"; then :
51525 am_cv_lib_iconv=yes
51526 am_cv_func_iconv=yes
51527 fi
51528 rm -f core conftest.err conftest.$ac_objext \
51529 conftest$ac_exeext conftest.$ac_ext
51530 LIBS="$am_save_LIBS"
51531 fi
51532
51533 fi
51534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51535 $as_echo "$am_cv_func_iconv" >&6; }
51536 if test "$am_cv_func_iconv" = yes; then
51537
51538 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51539
51540 fi
51541 if test "$am_cv_lib_iconv" = yes; then
51542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51543 $as_echo_n "checking how to link with libiconv... " >&6; }
51544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51545 $as_echo "$LIBICONV" >&6; }
51546 else
51547 CPPFLAGS="$am_save_CPPFLAGS"
51548 LIBICONV=
51549 LTLIBICONV=
51550 fi
51551
51552
51553
51554 if test "$am_cv_func_iconv" = yes; then
51555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51556 $as_echo_n "checking for iconv declaration... " >&6; }
51557 if test "${am_cv_proto_iconv+set}" = set; then :
51558 $as_echo_n "(cached) " >&6
51559 else
51560
51561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51562 /* end confdefs.h. */
51563
51564 #include <stdlib.h>
51565 #include <iconv.h>
51566 extern
51567 #ifdef __cplusplus
51568 "C"
51569 #endif
51570 #if defined(__STDC__) || defined(__cplusplus)
51571 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51572 #else
51573 size_t iconv();
51574 #endif
51575
51576 int
51577 main ()
51578 {
51579
51580 ;
51581 return 0;
51582 }
51583 _ACEOF
51584 if ac_fn_c_try_compile "$LINENO"; then :
51585 am_cv_proto_iconv_arg1=""
51586 else
51587 am_cv_proto_iconv_arg1="const"
51588 fi
51589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51590 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);"
51591 fi
51592
51593 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51595 }$am_cv_proto_iconv" >&5
51596 $as_echo "${ac_t:-
51597 }$am_cv_proto_iconv" >&6; }
51598
51599 cat >>confdefs.h <<_ACEOF
51600 #define ICONV_CONST $am_cv_proto_iconv_arg1
51601 _ACEOF
51602
51603 fi
51604
51605 ;;
51606 *-mingw32*)
51607
51608 # If we're not using GNU ld, then there's no point in even trying these
51609 # tests. Check for that first. We should have already tested for gld
51610 # by now (in libtool), but require it now just to be safe...
51611 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51612 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51613
51614
51615
51616 # The name set by libtool depends on the version of libtool. Shame on us
51617 # for depending on an impl detail, but c'est la vie. Older versions used
51618 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51619 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51620 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51621 # set (hence we're using an older libtool), then set it.
51622 if test x${with_gnu_ld+set} != xset; then
51623 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51624 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51625 with_gnu_ld=no
51626 else
51627 with_gnu_ld=$ac_cv_prog_gnu_ld
51628 fi
51629 fi
51630
51631 # Start by getting the version number. I think the libtool test already
51632 # does some of this, but throws away the result.
51633 glibcxx_ld_is_gold=no
51634 if test x"$with_gnu_ld" = x"yes"; then
51635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51636 $as_echo_n "checking for ld version... " >&6; }
51637
51638 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51639 glibcxx_ld_is_gold=yes
51640 fi
51641 ldver=`$LD --version 2>/dev/null |
51642 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
51643
51644 glibcxx_gnu_ld_version=`echo $ldver | \
51645 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51647 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51648 fi
51649
51650 # Set --gc-sections.
51651 glibcxx_have_gc_sections=no
51652 if test "$glibcxx_ld_is_gold" = "yes"; then
51653 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51654 glibcxx_have_gc_sections=yes
51655 fi
51656 else
51657 glibcxx_gcsections_min_ld=21602
51658 if test x"$with_gnu_ld" = x"yes" &&
51659 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51660 glibcxx_have_gc_sections=yes
51661 fi
51662 fi
51663 if test "$glibcxx_have_gc_sections" = "yes"; then
51664 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51665 # NB: This flag only works reliably after 2.16.1. Configure tests
51666 # for this are difficult, so hard wire a value that should work.
51667
51668 ac_test_CFLAGS="${CFLAGS+set}"
51669 ac_save_CFLAGS="$CFLAGS"
51670 CFLAGS='-Wl,--gc-sections'
51671
51672 # Check for -Wl,--gc-sections
51673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51674 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51675 if test x$gcc_no_link = xyes; then
51676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51677 fi
51678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51679 /* end confdefs.h. */
51680 int one(void) { return 1; }
51681 int two(void) { return 2; }
51682
51683 int
51684 main ()
51685 {
51686 two();
51687 ;
51688 return 0;
51689 }
51690 _ACEOF
51691 if ac_fn_c_try_link "$LINENO"; then :
51692 ac_gcsections=yes
51693 else
51694 ac_gcsections=no
51695 fi
51696 rm -f core conftest.err conftest.$ac_objext \
51697 conftest$ac_exeext conftest.$ac_ext
51698 if test "$ac_gcsections" = "yes"; then
51699 rm -f conftest.c
51700 touch conftest.c
51701 if $CC -c conftest.c; then
51702 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51703 grep "Warning: gc-sections option ignored" > /dev/null; then
51704 ac_gcsections=no
51705 fi
51706 fi
51707 rm -f conftest.c conftest.o conftest
51708 fi
51709 if test "$ac_gcsections" = "yes"; then
51710 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51711 fi
51712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51713 $as_echo "$ac_gcsections" >&6; }
51714
51715 if test "$ac_test_CFLAGS" = set; then
51716 CFLAGS="$ac_save_CFLAGS"
51717 else
51718 # this is the suspicious part
51719 CFLAGS=''
51720 fi
51721 fi
51722
51723 # Set -z,relro.
51724 # Note this is only for shared objects.
51725 ac_ld_relro=no
51726 if test x"$with_gnu_ld" = x"yes"; then
51727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51728 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51729 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51730 if test -n "$cxx_z_relo"; then
51731 OPT_LDFLAGS="-Wl,-z,relro"
51732 ac_ld_relro=yes
51733 fi
51734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51735 $as_echo "$ac_ld_relro" >&6; }
51736 fi
51737
51738 # Set linker optimization flags.
51739 if test x"$with_gnu_ld" = x"yes"; then
51740 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51741 fi
51742
51743
51744
51745
51746
51747 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51748 ac_save_CXXFLAGS="$CXXFLAGS"
51749 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51750
51751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51752 $as_echo_n "checking for sin in -lm... " >&6; }
51753 if test "${ac_cv_lib_m_sin+set}" = set; then :
51754 $as_echo_n "(cached) " >&6
51755 else
51756 ac_check_lib_save_LIBS=$LIBS
51757 LIBS="-lm $LIBS"
51758 if test x$gcc_no_link = xyes; then
51759 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51760 fi
51761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51762 /* end confdefs.h. */
51763
51764 /* Override any GCC internal prototype to avoid an error.
51765 Use char because int might match the return type of a GCC
51766 builtin and then its argument prototype would still apply. */
51767 #ifdef __cplusplus
51768 extern "C"
51769 #endif
51770 char sin ();
51771 int
51772 main ()
51773 {
51774 return sin ();
51775 ;
51776 return 0;
51777 }
51778 _ACEOF
51779 if ac_fn_c_try_link "$LINENO"; then :
51780 ac_cv_lib_m_sin=yes
51781 else
51782 ac_cv_lib_m_sin=no
51783 fi
51784 rm -f core conftest.err conftest.$ac_objext \
51785 conftest$ac_exeext conftest.$ac_ext
51786 LIBS=$ac_check_lib_save_LIBS
51787 fi
51788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51789 $as_echo "$ac_cv_lib_m_sin" >&6; }
51790 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51791 libm="-lm"
51792 fi
51793
51794 ac_save_LIBS="$LIBS"
51795 LIBS="$LIBS $libm"
51796
51797
51798
51799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51800 $as_echo_n "checking for isinf declaration... " >&6; }
51801 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51802 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51803 $as_echo_n "(cached) " >&6
51804 else
51805
51806
51807 ac_ext=cpp
51808 ac_cpp='$CXXCPP $CPPFLAGS'
51809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51812
51813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51814 /* end confdefs.h. */
51815 #include <math.h>
51816 #ifdef HAVE_IEEEFP_H
51817 #include <ieeefp.h>
51818 #endif
51819
51820 int
51821 main ()
51822 {
51823 isinf(0);
51824 ;
51825 return 0;
51826 }
51827 _ACEOF
51828 if ac_fn_cxx_try_compile "$LINENO"; then :
51829 glibcxx_cv_func_isinf_use=yes
51830 else
51831 glibcxx_cv_func_isinf_use=no
51832 fi
51833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51834 ac_ext=c
51835 ac_cpp='$CPP $CPPFLAGS'
51836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51839
51840
51841 fi
51842
51843 fi
51844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51845 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51846
51847 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51848 for ac_func in isinf
51849 do :
51850 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51851 if test "x$ac_cv_func_isinf" = x""yes; then :
51852 cat >>confdefs.h <<_ACEOF
51853 #define HAVE_ISINF 1
51854 _ACEOF
51855
51856 fi
51857 done
51858
51859 else
51860
51861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51862 $as_echo_n "checking for _isinf declaration... " >&6; }
51863 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51864 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51865 $as_echo_n "(cached) " >&6
51866 else
51867
51868
51869 ac_ext=cpp
51870 ac_cpp='$CXXCPP $CPPFLAGS'
51871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51874
51875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51876 /* end confdefs.h. */
51877 #include <math.h>
51878 #ifdef HAVE_IEEEFP_H
51879 #include <ieeefp.h>
51880 #endif
51881
51882 int
51883 main ()
51884 {
51885 _isinf(0);
51886 ;
51887 return 0;
51888 }
51889 _ACEOF
51890 if ac_fn_cxx_try_compile "$LINENO"; then :
51891 glibcxx_cv_func__isinf_use=yes
51892 else
51893 glibcxx_cv_func__isinf_use=no
51894 fi
51895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51896 ac_ext=c
51897 ac_cpp='$CPP $CPPFLAGS'
51898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51901
51902
51903 fi
51904
51905 fi
51906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51907 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51908
51909 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51910 for ac_func in _isinf
51911 do :
51912 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51913 if test "x$ac_cv_func__isinf" = x""yes; then :
51914 cat >>confdefs.h <<_ACEOF
51915 #define HAVE__ISINF 1
51916 _ACEOF
51917
51918 fi
51919 done
51920
51921 fi
51922 fi
51923
51924
51925
51926
51927
51928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51929 $as_echo_n "checking for isnan declaration... " >&6; }
51930 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51931 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51932 $as_echo_n "(cached) " >&6
51933 else
51934
51935
51936 ac_ext=cpp
51937 ac_cpp='$CXXCPP $CPPFLAGS'
51938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51941
51942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51943 /* end confdefs.h. */
51944 #include <math.h>
51945 #ifdef HAVE_IEEEFP_H
51946 #include <ieeefp.h>
51947 #endif
51948
51949 int
51950 main ()
51951 {
51952 isnan(0);
51953 ;
51954 return 0;
51955 }
51956 _ACEOF
51957 if ac_fn_cxx_try_compile "$LINENO"; then :
51958 glibcxx_cv_func_isnan_use=yes
51959 else
51960 glibcxx_cv_func_isnan_use=no
51961 fi
51962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51963 ac_ext=c
51964 ac_cpp='$CPP $CPPFLAGS'
51965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51968
51969
51970 fi
51971
51972 fi
51973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
51974 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
51975
51976 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
51977 for ac_func in isnan
51978 do :
51979 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
51980 if test "x$ac_cv_func_isnan" = x""yes; then :
51981 cat >>confdefs.h <<_ACEOF
51982 #define HAVE_ISNAN 1
51983 _ACEOF
51984
51985 fi
51986 done
51987
51988 else
51989
51990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
51991 $as_echo_n "checking for _isnan declaration... " >&6; }
51992 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
51993 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
51994 $as_echo_n "(cached) " >&6
51995 else
51996
51997
51998 ac_ext=cpp
51999 ac_cpp='$CXXCPP $CPPFLAGS'
52000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52003
52004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52005 /* end confdefs.h. */
52006 #include <math.h>
52007 #ifdef HAVE_IEEEFP_H
52008 #include <ieeefp.h>
52009 #endif
52010
52011 int
52012 main ()
52013 {
52014 _isnan(0);
52015 ;
52016 return 0;
52017 }
52018 _ACEOF
52019 if ac_fn_cxx_try_compile "$LINENO"; then :
52020 glibcxx_cv_func__isnan_use=yes
52021 else
52022 glibcxx_cv_func__isnan_use=no
52023 fi
52024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52025 ac_ext=c
52026 ac_cpp='$CPP $CPPFLAGS'
52027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52030
52031
52032 fi
52033
52034 fi
52035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52036 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52037
52038 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52039 for ac_func in _isnan
52040 do :
52041 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52042 if test "x$ac_cv_func__isnan" = x""yes; then :
52043 cat >>confdefs.h <<_ACEOF
52044 #define HAVE__ISNAN 1
52045 _ACEOF
52046
52047 fi
52048 done
52049
52050 fi
52051 fi
52052
52053
52054
52055
52056
52057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52058 $as_echo_n "checking for finite declaration... " >&6; }
52059 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52060 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52061 $as_echo_n "(cached) " >&6
52062 else
52063
52064
52065 ac_ext=cpp
52066 ac_cpp='$CXXCPP $CPPFLAGS'
52067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52070
52071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52072 /* end confdefs.h. */
52073 #include <math.h>
52074 #ifdef HAVE_IEEEFP_H
52075 #include <ieeefp.h>
52076 #endif
52077
52078 int
52079 main ()
52080 {
52081 finite(0);
52082 ;
52083 return 0;
52084 }
52085 _ACEOF
52086 if ac_fn_cxx_try_compile "$LINENO"; then :
52087 glibcxx_cv_func_finite_use=yes
52088 else
52089 glibcxx_cv_func_finite_use=no
52090 fi
52091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52092 ac_ext=c
52093 ac_cpp='$CPP $CPPFLAGS'
52094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52097
52098
52099 fi
52100
52101 fi
52102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52103 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52104
52105 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52106 for ac_func in finite
52107 do :
52108 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52109 if test "x$ac_cv_func_finite" = x""yes; then :
52110 cat >>confdefs.h <<_ACEOF
52111 #define HAVE_FINITE 1
52112 _ACEOF
52113
52114 fi
52115 done
52116
52117 else
52118
52119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52120 $as_echo_n "checking for _finite declaration... " >&6; }
52121 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52122 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52123 $as_echo_n "(cached) " >&6
52124 else
52125
52126
52127 ac_ext=cpp
52128 ac_cpp='$CXXCPP $CPPFLAGS'
52129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52132
52133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52134 /* end confdefs.h. */
52135 #include <math.h>
52136 #ifdef HAVE_IEEEFP_H
52137 #include <ieeefp.h>
52138 #endif
52139
52140 int
52141 main ()
52142 {
52143 _finite(0);
52144 ;
52145 return 0;
52146 }
52147 _ACEOF
52148 if ac_fn_cxx_try_compile "$LINENO"; then :
52149 glibcxx_cv_func__finite_use=yes
52150 else
52151 glibcxx_cv_func__finite_use=no
52152 fi
52153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52154 ac_ext=c
52155 ac_cpp='$CPP $CPPFLAGS'
52156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52159
52160
52161 fi
52162
52163 fi
52164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52165 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52166
52167 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52168 for ac_func in _finite
52169 do :
52170 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52171 if test "x$ac_cv_func__finite" = x""yes; then :
52172 cat >>confdefs.h <<_ACEOF
52173 #define HAVE__FINITE 1
52174 _ACEOF
52175
52176 fi
52177 done
52178
52179 fi
52180 fi
52181
52182
52183
52184
52185
52186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52187 $as_echo_n "checking for sincos declaration... " >&6; }
52188 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52189 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52190 $as_echo_n "(cached) " >&6
52191 else
52192
52193
52194 ac_ext=cpp
52195 ac_cpp='$CXXCPP $CPPFLAGS'
52196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52199
52200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52201 /* end confdefs.h. */
52202 #include <math.h>
52203 int
52204 main ()
52205 {
52206 sincos(0, 0, 0);
52207 ;
52208 return 0;
52209 }
52210 _ACEOF
52211 if ac_fn_cxx_try_compile "$LINENO"; then :
52212 glibcxx_cv_func_sincos_use=yes
52213 else
52214 glibcxx_cv_func_sincos_use=no
52215 fi
52216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52217 ac_ext=c
52218 ac_cpp='$CPP $CPPFLAGS'
52219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52222
52223
52224 fi
52225
52226 fi
52227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52228 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52229
52230 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52231 for ac_func in sincos
52232 do :
52233 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52234 if test "x$ac_cv_func_sincos" = x""yes; then :
52235 cat >>confdefs.h <<_ACEOF
52236 #define HAVE_SINCOS 1
52237 _ACEOF
52238
52239 fi
52240 done
52241
52242 else
52243
52244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52245 $as_echo_n "checking for _sincos declaration... " >&6; }
52246 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52247 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52248 $as_echo_n "(cached) " >&6
52249 else
52250
52251
52252 ac_ext=cpp
52253 ac_cpp='$CXXCPP $CPPFLAGS'
52254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52257
52258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52259 /* end confdefs.h. */
52260 #include <math.h>
52261 int
52262 main ()
52263 {
52264 _sincos(0, 0, 0);
52265 ;
52266 return 0;
52267 }
52268 _ACEOF
52269 if ac_fn_cxx_try_compile "$LINENO"; then :
52270 glibcxx_cv_func__sincos_use=yes
52271 else
52272 glibcxx_cv_func__sincos_use=no
52273 fi
52274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52275 ac_ext=c
52276 ac_cpp='$CPP $CPPFLAGS'
52277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52280
52281
52282 fi
52283
52284 fi
52285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52286 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52287
52288 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52289 for ac_func in _sincos
52290 do :
52291 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52292 if test "x$ac_cv_func__sincos" = x""yes; then :
52293 cat >>confdefs.h <<_ACEOF
52294 #define HAVE__SINCOS 1
52295 _ACEOF
52296
52297 fi
52298 done
52299
52300 fi
52301 fi
52302
52303
52304
52305
52306
52307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52308 $as_echo_n "checking for fpclass declaration... " >&6; }
52309 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52310 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52311 $as_echo_n "(cached) " >&6
52312 else
52313
52314
52315 ac_ext=cpp
52316 ac_cpp='$CXXCPP $CPPFLAGS'
52317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52320
52321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52322 /* end confdefs.h. */
52323 #include <math.h>
52324 #ifdef HAVE_IEEEFP_H
52325 #include <ieeefp.h>
52326 #endif
52327
52328 int
52329 main ()
52330 {
52331 fpclass(0);
52332 ;
52333 return 0;
52334 }
52335 _ACEOF
52336 if ac_fn_cxx_try_compile "$LINENO"; then :
52337 glibcxx_cv_func_fpclass_use=yes
52338 else
52339 glibcxx_cv_func_fpclass_use=no
52340 fi
52341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52342 ac_ext=c
52343 ac_cpp='$CPP $CPPFLAGS'
52344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52347
52348
52349 fi
52350
52351 fi
52352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52353 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52354
52355 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52356 for ac_func in fpclass
52357 do :
52358 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52359 if test "x$ac_cv_func_fpclass" = x""yes; then :
52360 cat >>confdefs.h <<_ACEOF
52361 #define HAVE_FPCLASS 1
52362 _ACEOF
52363
52364 fi
52365 done
52366
52367 else
52368
52369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52370 $as_echo_n "checking for _fpclass declaration... " >&6; }
52371 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52372 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52373 $as_echo_n "(cached) " >&6
52374 else
52375
52376
52377 ac_ext=cpp
52378 ac_cpp='$CXXCPP $CPPFLAGS'
52379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52382
52383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52384 /* end confdefs.h. */
52385 #include <math.h>
52386 #ifdef HAVE_IEEEFP_H
52387 #include <ieeefp.h>
52388 #endif
52389
52390 int
52391 main ()
52392 {
52393 _fpclass(0);
52394 ;
52395 return 0;
52396 }
52397 _ACEOF
52398 if ac_fn_cxx_try_compile "$LINENO"; then :
52399 glibcxx_cv_func__fpclass_use=yes
52400 else
52401 glibcxx_cv_func__fpclass_use=no
52402 fi
52403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52404 ac_ext=c
52405 ac_cpp='$CPP $CPPFLAGS'
52406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52409
52410
52411 fi
52412
52413 fi
52414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52415 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52416
52417 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52418 for ac_func in _fpclass
52419 do :
52420 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52421 if test "x$ac_cv_func__fpclass" = x""yes; then :
52422 cat >>confdefs.h <<_ACEOF
52423 #define HAVE__FPCLASS 1
52424 _ACEOF
52425
52426 fi
52427 done
52428
52429 fi
52430 fi
52431
52432
52433
52434
52435
52436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52437 $as_echo_n "checking for qfpclass declaration... " >&6; }
52438 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52439 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52440 $as_echo_n "(cached) " >&6
52441 else
52442
52443
52444 ac_ext=cpp
52445 ac_cpp='$CXXCPP $CPPFLAGS'
52446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52449
52450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52451 /* end confdefs.h. */
52452 #include <math.h>
52453 #ifdef HAVE_IEEEFP_H
52454 #include <ieeefp.h>
52455 #endif
52456
52457 int
52458 main ()
52459 {
52460 qfpclass(0);
52461 ;
52462 return 0;
52463 }
52464 _ACEOF
52465 if ac_fn_cxx_try_compile "$LINENO"; then :
52466 glibcxx_cv_func_qfpclass_use=yes
52467 else
52468 glibcxx_cv_func_qfpclass_use=no
52469 fi
52470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52471 ac_ext=c
52472 ac_cpp='$CPP $CPPFLAGS'
52473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52476
52477
52478 fi
52479
52480 fi
52481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52482 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52483
52484 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52485 for ac_func in qfpclass
52486 do :
52487 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52488 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52489 cat >>confdefs.h <<_ACEOF
52490 #define HAVE_QFPCLASS 1
52491 _ACEOF
52492
52493 fi
52494 done
52495
52496 else
52497
52498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52499 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52500 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52501 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52502 $as_echo_n "(cached) " >&6
52503 else
52504
52505
52506 ac_ext=cpp
52507 ac_cpp='$CXXCPP $CPPFLAGS'
52508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52511
52512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52513 /* end confdefs.h. */
52514 #include <math.h>
52515 #ifdef HAVE_IEEEFP_H
52516 #include <ieeefp.h>
52517 #endif
52518
52519 int
52520 main ()
52521 {
52522 _qfpclass(0);
52523 ;
52524 return 0;
52525 }
52526 _ACEOF
52527 if ac_fn_cxx_try_compile "$LINENO"; then :
52528 glibcxx_cv_func__qfpclass_use=yes
52529 else
52530 glibcxx_cv_func__qfpclass_use=no
52531 fi
52532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52533 ac_ext=c
52534 ac_cpp='$CPP $CPPFLAGS'
52535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52538
52539
52540 fi
52541
52542 fi
52543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52544 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52545
52546 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52547 for ac_func in _qfpclass
52548 do :
52549 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52550 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52551 cat >>confdefs.h <<_ACEOF
52552 #define HAVE__QFPCLASS 1
52553 _ACEOF
52554
52555 fi
52556 done
52557
52558 fi
52559 fi
52560
52561
52562
52563
52564
52565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52566 $as_echo_n "checking for hypot declaration... " >&6; }
52567 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52568 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52569 $as_echo_n "(cached) " >&6
52570 else
52571
52572
52573 ac_ext=cpp
52574 ac_cpp='$CXXCPP $CPPFLAGS'
52575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52578
52579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52580 /* end confdefs.h. */
52581 #include <math.h>
52582 int
52583 main ()
52584 {
52585 hypot(0, 0);
52586 ;
52587 return 0;
52588 }
52589 _ACEOF
52590 if ac_fn_cxx_try_compile "$LINENO"; then :
52591 glibcxx_cv_func_hypot_use=yes
52592 else
52593 glibcxx_cv_func_hypot_use=no
52594 fi
52595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52596 ac_ext=c
52597 ac_cpp='$CPP $CPPFLAGS'
52598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52601
52602
52603 fi
52604
52605 fi
52606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52607 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52608
52609 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52610 for ac_func in hypot
52611 do :
52612 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52613 if test "x$ac_cv_func_hypot" = x""yes; then :
52614 cat >>confdefs.h <<_ACEOF
52615 #define HAVE_HYPOT 1
52616 _ACEOF
52617
52618 fi
52619 done
52620
52621 else
52622
52623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52624 $as_echo_n "checking for _hypot declaration... " >&6; }
52625 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52626 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52627 $as_echo_n "(cached) " >&6
52628 else
52629
52630
52631 ac_ext=cpp
52632 ac_cpp='$CXXCPP $CPPFLAGS'
52633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52636
52637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52638 /* end confdefs.h. */
52639 #include <math.h>
52640 int
52641 main ()
52642 {
52643 _hypot(0, 0);
52644 ;
52645 return 0;
52646 }
52647 _ACEOF
52648 if ac_fn_cxx_try_compile "$LINENO"; then :
52649 glibcxx_cv_func__hypot_use=yes
52650 else
52651 glibcxx_cv_func__hypot_use=no
52652 fi
52653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52654 ac_ext=c
52655 ac_cpp='$CPP $CPPFLAGS'
52656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52659
52660
52661 fi
52662
52663 fi
52664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52665 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52666
52667 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52668 for ac_func in _hypot
52669 do :
52670 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52671 if test "x$ac_cv_func__hypot" = x""yes; then :
52672 cat >>confdefs.h <<_ACEOF
52673 #define HAVE__HYPOT 1
52674 _ACEOF
52675
52676 fi
52677 done
52678
52679 fi
52680 fi
52681
52682
52683
52684
52685
52686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52687 $as_echo_n "checking for float trig functions... " >&6; }
52688 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52689 $as_echo_n "(cached) " >&6
52690 else
52691
52692
52693 ac_ext=cpp
52694 ac_cpp='$CXXCPP $CPPFLAGS'
52695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52698
52699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52700 /* end confdefs.h. */
52701 #include <math.h>
52702 int
52703 main ()
52704 {
52705 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52706 ;
52707 return 0;
52708 }
52709 _ACEOF
52710 if ac_fn_cxx_try_compile "$LINENO"; then :
52711 glibcxx_cv_func_float_trig_use=yes
52712 else
52713 glibcxx_cv_func_float_trig_use=no
52714 fi
52715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52716 ac_ext=c
52717 ac_cpp='$CPP $CPPFLAGS'
52718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52721
52722 fi
52723
52724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52725 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52726 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52727 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52728 do :
52729 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52730 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52731 eval as_val=\$$as_ac_var
52732 if test "x$as_val" = x""yes; then :
52733 cat >>confdefs.h <<_ACEOF
52734 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52735 _ACEOF
52736
52737 fi
52738 done
52739
52740 else
52741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52742 $as_echo_n "checking for _float trig functions... " >&6; }
52743 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52744 $as_echo_n "(cached) " >&6
52745 else
52746
52747
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
52753
52754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52755 /* end confdefs.h. */
52756 #include <math.h>
52757 int
52758 main ()
52759 {
52760 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52761 ;
52762 return 0;
52763 }
52764 _ACEOF
52765 if ac_fn_cxx_try_compile "$LINENO"; then :
52766 glibcxx_cv_func__float_trig_use=yes
52767 else
52768 glibcxx_cv_func__float_trig_use=no
52769 fi
52770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52771 ac_ext=c
52772 ac_cpp='$CPP $CPPFLAGS'
52773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52776
52777 fi
52778
52779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52780 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52781 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52782 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52783 do :
52784 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52785 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52786 eval as_val=\$$as_ac_var
52787 if test "x$as_val" = x""yes; then :
52788 cat >>confdefs.h <<_ACEOF
52789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52790 _ACEOF
52791
52792 fi
52793 done
52794
52795 fi
52796 fi
52797
52798
52799
52800
52801
52802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52803 $as_echo_n "checking for float round functions... " >&6; }
52804 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52805 $as_echo_n "(cached) " >&6
52806 else
52807
52808
52809 ac_ext=cpp
52810 ac_cpp='$CXXCPP $CPPFLAGS'
52811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52814
52815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52816 /* end confdefs.h. */
52817 #include <math.h>
52818 int
52819 main ()
52820 {
52821 ceilf (0); floorf (0);
52822 ;
52823 return 0;
52824 }
52825 _ACEOF
52826 if ac_fn_cxx_try_compile "$LINENO"; then :
52827 glibcxx_cv_func_float_round_use=yes
52828 else
52829 glibcxx_cv_func_float_round_use=no
52830 fi
52831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52832 ac_ext=c
52833 ac_cpp='$CPP $CPPFLAGS'
52834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52837
52838 fi
52839
52840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52841 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52842 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52843 for ac_func in ceilf floorf
52844 do :
52845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52847 eval as_val=\$$as_ac_var
52848 if test "x$as_val" = x""yes; then :
52849 cat >>confdefs.h <<_ACEOF
52850 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52851 _ACEOF
52852
52853 fi
52854 done
52855
52856 else
52857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52858 $as_echo_n "checking for _float round functions... " >&6; }
52859 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52860 $as_echo_n "(cached) " >&6
52861 else
52862
52863
52864 ac_ext=cpp
52865 ac_cpp='$CXXCPP $CPPFLAGS'
52866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52869
52870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52871 /* end confdefs.h. */
52872 #include <math.h>
52873 int
52874 main ()
52875 {
52876 _ceilf (0); _floorf (0);
52877 ;
52878 return 0;
52879 }
52880 _ACEOF
52881 if ac_fn_cxx_try_compile "$LINENO"; then :
52882 glibcxx_cv_func__float_round_use=yes
52883 else
52884 glibcxx_cv_func__float_round_use=no
52885 fi
52886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52887 ac_ext=c
52888 ac_cpp='$CPP $CPPFLAGS'
52889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52892
52893 fi
52894
52895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52896 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52897 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52898 for ac_func in _ceilf _floorf
52899 do :
52900 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52901 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52902 eval as_val=\$$as_ac_var
52903 if test "x$as_val" = x""yes; then :
52904 cat >>confdefs.h <<_ACEOF
52905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52906 _ACEOF
52907
52908 fi
52909 done
52910
52911 fi
52912 fi
52913
52914
52915
52916
52917
52918
52919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52920 $as_echo_n "checking for expf declaration... " >&6; }
52921 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52922 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52923 $as_echo_n "(cached) " >&6
52924 else
52925
52926
52927 ac_ext=cpp
52928 ac_cpp='$CXXCPP $CPPFLAGS'
52929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52932
52933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52934 /* end confdefs.h. */
52935 #include <math.h>
52936 #ifdef HAVE_IEEEFP_H
52937 #include <ieeefp.h>
52938 #endif
52939
52940 int
52941 main ()
52942 {
52943 expf(0);
52944 ;
52945 return 0;
52946 }
52947 _ACEOF
52948 if ac_fn_cxx_try_compile "$LINENO"; then :
52949 glibcxx_cv_func_expf_use=yes
52950 else
52951 glibcxx_cv_func_expf_use=no
52952 fi
52953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52954 ac_ext=c
52955 ac_cpp='$CPP $CPPFLAGS'
52956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52959
52960
52961 fi
52962
52963 fi
52964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
52965 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
52966
52967 if test x$glibcxx_cv_func_expf_use = x"yes"; then
52968 for ac_func in expf
52969 do :
52970 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
52971 if test "x$ac_cv_func_expf" = x""yes; then :
52972 cat >>confdefs.h <<_ACEOF
52973 #define HAVE_EXPF 1
52974 _ACEOF
52975
52976 fi
52977 done
52978
52979 else
52980
52981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
52982 $as_echo_n "checking for _expf declaration... " >&6; }
52983 if test x${glibcxx_cv_func__expf_use+set} != xset; then
52984 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
52985 $as_echo_n "(cached) " >&6
52986 else
52987
52988
52989 ac_ext=cpp
52990 ac_cpp='$CXXCPP $CPPFLAGS'
52991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52994
52995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52996 /* end confdefs.h. */
52997 #include <math.h>
52998 #ifdef HAVE_IEEEFP_H
52999 #include <ieeefp.h>
53000 #endif
53001
53002 int
53003 main ()
53004 {
53005 _expf(0);
53006 ;
53007 return 0;
53008 }
53009 _ACEOF
53010 if ac_fn_cxx_try_compile "$LINENO"; then :
53011 glibcxx_cv_func__expf_use=yes
53012 else
53013 glibcxx_cv_func__expf_use=no
53014 fi
53015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53016 ac_ext=c
53017 ac_cpp='$CPP $CPPFLAGS'
53018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53021
53022
53023 fi
53024
53025 fi
53026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53027 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53028
53029 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53030 for ac_func in _expf
53031 do :
53032 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53033 if test "x$ac_cv_func__expf" = x""yes; then :
53034 cat >>confdefs.h <<_ACEOF
53035 #define HAVE__EXPF 1
53036 _ACEOF
53037
53038 fi
53039 done
53040
53041 fi
53042 fi
53043
53044
53045
53046
53047
53048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53049 $as_echo_n "checking for isnanf declaration... " >&6; }
53050 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53051 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53052 $as_echo_n "(cached) " >&6
53053 else
53054
53055
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
53061
53062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53063 /* end confdefs.h. */
53064 #include <math.h>
53065 #ifdef HAVE_IEEEFP_H
53066 #include <ieeefp.h>
53067 #endif
53068
53069 int
53070 main ()
53071 {
53072 isnanf(0);
53073 ;
53074 return 0;
53075 }
53076 _ACEOF
53077 if ac_fn_cxx_try_compile "$LINENO"; then :
53078 glibcxx_cv_func_isnanf_use=yes
53079 else
53080 glibcxx_cv_func_isnanf_use=no
53081 fi
53082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53083 ac_ext=c
53084 ac_cpp='$CPP $CPPFLAGS'
53085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53088
53089
53090 fi
53091
53092 fi
53093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53094 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53095
53096 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53097 for ac_func in isnanf
53098 do :
53099 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53100 if test "x$ac_cv_func_isnanf" = x""yes; then :
53101 cat >>confdefs.h <<_ACEOF
53102 #define HAVE_ISNANF 1
53103 _ACEOF
53104
53105 fi
53106 done
53107
53108 else
53109
53110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53111 $as_echo_n "checking for _isnanf declaration... " >&6; }
53112 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53113 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53114 $as_echo_n "(cached) " >&6
53115 else
53116
53117
53118 ac_ext=cpp
53119 ac_cpp='$CXXCPP $CPPFLAGS'
53120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53123
53124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53125 /* end confdefs.h. */
53126 #include <math.h>
53127 #ifdef HAVE_IEEEFP_H
53128 #include <ieeefp.h>
53129 #endif
53130
53131 int
53132 main ()
53133 {
53134 _isnanf(0);
53135 ;
53136 return 0;
53137 }
53138 _ACEOF
53139 if ac_fn_cxx_try_compile "$LINENO"; then :
53140 glibcxx_cv_func__isnanf_use=yes
53141 else
53142 glibcxx_cv_func__isnanf_use=no
53143 fi
53144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53145 ac_ext=c
53146 ac_cpp='$CPP $CPPFLAGS'
53147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53150
53151
53152 fi
53153
53154 fi
53155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53156 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53157
53158 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53159 for ac_func in _isnanf
53160 do :
53161 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53162 if test "x$ac_cv_func__isnanf" = x""yes; then :
53163 cat >>confdefs.h <<_ACEOF
53164 #define HAVE__ISNANF 1
53165 _ACEOF
53166
53167 fi
53168 done
53169
53170 fi
53171 fi
53172
53173
53174
53175
53176
53177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53178 $as_echo_n "checking for isinff declaration... " >&6; }
53179 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53180 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53181 $as_echo_n "(cached) " >&6
53182 else
53183
53184
53185 ac_ext=cpp
53186 ac_cpp='$CXXCPP $CPPFLAGS'
53187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53190
53191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53192 /* end confdefs.h. */
53193 #include <math.h>
53194 #ifdef HAVE_IEEEFP_H
53195 #include <ieeefp.h>
53196 #endif
53197
53198 int
53199 main ()
53200 {
53201 isinff(0);
53202 ;
53203 return 0;
53204 }
53205 _ACEOF
53206 if ac_fn_cxx_try_compile "$LINENO"; then :
53207 glibcxx_cv_func_isinff_use=yes
53208 else
53209 glibcxx_cv_func_isinff_use=no
53210 fi
53211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53212 ac_ext=c
53213 ac_cpp='$CPP $CPPFLAGS'
53214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53217
53218
53219 fi
53220
53221 fi
53222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53223 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53224
53225 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53226 for ac_func in isinff
53227 do :
53228 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53229 if test "x$ac_cv_func_isinff" = x""yes; then :
53230 cat >>confdefs.h <<_ACEOF
53231 #define HAVE_ISINFF 1
53232 _ACEOF
53233
53234 fi
53235 done
53236
53237 else
53238
53239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53240 $as_echo_n "checking for _isinff declaration... " >&6; }
53241 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53242 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53243 $as_echo_n "(cached) " >&6
53244 else
53245
53246
53247 ac_ext=cpp
53248 ac_cpp='$CXXCPP $CPPFLAGS'
53249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53252
53253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53254 /* end confdefs.h. */
53255 #include <math.h>
53256 #ifdef HAVE_IEEEFP_H
53257 #include <ieeefp.h>
53258 #endif
53259
53260 int
53261 main ()
53262 {
53263 _isinff(0);
53264 ;
53265 return 0;
53266 }
53267 _ACEOF
53268 if ac_fn_cxx_try_compile "$LINENO"; then :
53269 glibcxx_cv_func__isinff_use=yes
53270 else
53271 glibcxx_cv_func__isinff_use=no
53272 fi
53273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53274 ac_ext=c
53275 ac_cpp='$CPP $CPPFLAGS'
53276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53279
53280
53281 fi
53282
53283 fi
53284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53285 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53286
53287 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53288 for ac_func in _isinff
53289 do :
53290 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53291 if test "x$ac_cv_func__isinff" = x""yes; then :
53292 cat >>confdefs.h <<_ACEOF
53293 #define HAVE__ISINFF 1
53294 _ACEOF
53295
53296 fi
53297 done
53298
53299 fi
53300 fi
53301
53302
53303
53304
53305
53306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53307 $as_echo_n "checking for atan2f declaration... " >&6; }
53308 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53309 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53310 $as_echo_n "(cached) " >&6
53311 else
53312
53313
53314 ac_ext=cpp
53315 ac_cpp='$CXXCPP $CPPFLAGS'
53316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53319
53320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53321 /* end confdefs.h. */
53322 #include <math.h>
53323 int
53324 main ()
53325 {
53326 atan2f(0, 0);
53327 ;
53328 return 0;
53329 }
53330 _ACEOF
53331 if ac_fn_cxx_try_compile "$LINENO"; then :
53332 glibcxx_cv_func_atan2f_use=yes
53333 else
53334 glibcxx_cv_func_atan2f_use=no
53335 fi
53336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53337 ac_ext=c
53338 ac_cpp='$CPP $CPPFLAGS'
53339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53342
53343
53344 fi
53345
53346 fi
53347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53348 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53349
53350 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53351 for ac_func in atan2f
53352 do :
53353 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53354 if test "x$ac_cv_func_atan2f" = x""yes; then :
53355 cat >>confdefs.h <<_ACEOF
53356 #define HAVE_ATAN2F 1
53357 _ACEOF
53358
53359 fi
53360 done
53361
53362 else
53363
53364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53365 $as_echo_n "checking for _atan2f declaration... " >&6; }
53366 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53367 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53368 $as_echo_n "(cached) " >&6
53369 else
53370
53371
53372 ac_ext=cpp
53373 ac_cpp='$CXXCPP $CPPFLAGS'
53374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53377
53378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53379 /* end confdefs.h. */
53380 #include <math.h>
53381 int
53382 main ()
53383 {
53384 _atan2f(0, 0);
53385 ;
53386 return 0;
53387 }
53388 _ACEOF
53389 if ac_fn_cxx_try_compile "$LINENO"; then :
53390 glibcxx_cv_func__atan2f_use=yes
53391 else
53392 glibcxx_cv_func__atan2f_use=no
53393 fi
53394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53395 ac_ext=c
53396 ac_cpp='$CPP $CPPFLAGS'
53397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53400
53401
53402 fi
53403
53404 fi
53405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53406 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53407
53408 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53409 for ac_func in _atan2f
53410 do :
53411 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53412 if test "x$ac_cv_func__atan2f" = x""yes; then :
53413 cat >>confdefs.h <<_ACEOF
53414 #define HAVE__ATAN2F 1
53415 _ACEOF
53416
53417 fi
53418 done
53419
53420 fi
53421 fi
53422
53423
53424
53425
53426
53427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53428 $as_echo_n "checking for fabsf declaration... " >&6; }
53429 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53430 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53431 $as_echo_n "(cached) " >&6
53432 else
53433
53434
53435 ac_ext=cpp
53436 ac_cpp='$CXXCPP $CPPFLAGS'
53437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53440
53441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53442 /* end confdefs.h. */
53443 #include <math.h>
53444 #ifdef HAVE_IEEEFP_H
53445 #include <ieeefp.h>
53446 #endif
53447
53448 int
53449 main ()
53450 {
53451 fabsf(0);
53452 ;
53453 return 0;
53454 }
53455 _ACEOF
53456 if ac_fn_cxx_try_compile "$LINENO"; then :
53457 glibcxx_cv_func_fabsf_use=yes
53458 else
53459 glibcxx_cv_func_fabsf_use=no
53460 fi
53461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53462 ac_ext=c
53463 ac_cpp='$CPP $CPPFLAGS'
53464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53467
53468
53469 fi
53470
53471 fi
53472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53473 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53474
53475 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53476 for ac_func in fabsf
53477 do :
53478 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53479 if test "x$ac_cv_func_fabsf" = x""yes; then :
53480 cat >>confdefs.h <<_ACEOF
53481 #define HAVE_FABSF 1
53482 _ACEOF
53483
53484 fi
53485 done
53486
53487 else
53488
53489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53490 $as_echo_n "checking for _fabsf declaration... " >&6; }
53491 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53492 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53493 $as_echo_n "(cached) " >&6
53494 else
53495
53496
53497 ac_ext=cpp
53498 ac_cpp='$CXXCPP $CPPFLAGS'
53499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53502
53503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53504 /* end confdefs.h. */
53505 #include <math.h>
53506 #ifdef HAVE_IEEEFP_H
53507 #include <ieeefp.h>
53508 #endif
53509
53510 int
53511 main ()
53512 {
53513 _fabsf(0);
53514 ;
53515 return 0;
53516 }
53517 _ACEOF
53518 if ac_fn_cxx_try_compile "$LINENO"; then :
53519 glibcxx_cv_func__fabsf_use=yes
53520 else
53521 glibcxx_cv_func__fabsf_use=no
53522 fi
53523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53524 ac_ext=c
53525 ac_cpp='$CPP $CPPFLAGS'
53526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53529
53530
53531 fi
53532
53533 fi
53534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53535 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53536
53537 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53538 for ac_func in _fabsf
53539 do :
53540 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53541 if test "x$ac_cv_func__fabsf" = x""yes; then :
53542 cat >>confdefs.h <<_ACEOF
53543 #define HAVE__FABSF 1
53544 _ACEOF
53545
53546 fi
53547 done
53548
53549 fi
53550 fi
53551
53552
53553
53554
53555
53556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53557 $as_echo_n "checking for fmodf declaration... " >&6; }
53558 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53559 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53560 $as_echo_n "(cached) " >&6
53561 else
53562
53563
53564 ac_ext=cpp
53565 ac_cpp='$CXXCPP $CPPFLAGS'
53566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53569
53570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53571 /* end confdefs.h. */
53572 #include <math.h>
53573 int
53574 main ()
53575 {
53576 fmodf(0, 0);
53577 ;
53578 return 0;
53579 }
53580 _ACEOF
53581 if ac_fn_cxx_try_compile "$LINENO"; then :
53582 glibcxx_cv_func_fmodf_use=yes
53583 else
53584 glibcxx_cv_func_fmodf_use=no
53585 fi
53586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53587 ac_ext=c
53588 ac_cpp='$CPP $CPPFLAGS'
53589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53592
53593
53594 fi
53595
53596 fi
53597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53598 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53599
53600 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53601 for ac_func in fmodf
53602 do :
53603 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53604 if test "x$ac_cv_func_fmodf" = x""yes; then :
53605 cat >>confdefs.h <<_ACEOF
53606 #define HAVE_FMODF 1
53607 _ACEOF
53608
53609 fi
53610 done
53611
53612 else
53613
53614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53615 $as_echo_n "checking for _fmodf declaration... " >&6; }
53616 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53617 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53618 $as_echo_n "(cached) " >&6
53619 else
53620
53621
53622 ac_ext=cpp
53623 ac_cpp='$CXXCPP $CPPFLAGS'
53624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53627
53628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53629 /* end confdefs.h. */
53630 #include <math.h>
53631 int
53632 main ()
53633 {
53634 _fmodf(0, 0);
53635 ;
53636 return 0;
53637 }
53638 _ACEOF
53639 if ac_fn_cxx_try_compile "$LINENO"; then :
53640 glibcxx_cv_func__fmodf_use=yes
53641 else
53642 glibcxx_cv_func__fmodf_use=no
53643 fi
53644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53645 ac_ext=c
53646 ac_cpp='$CPP $CPPFLAGS'
53647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53650
53651
53652 fi
53653
53654 fi
53655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53656 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53657
53658 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53659 for ac_func in _fmodf
53660 do :
53661 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53662 if test "x$ac_cv_func__fmodf" = x""yes; then :
53663 cat >>confdefs.h <<_ACEOF
53664 #define HAVE__FMODF 1
53665 _ACEOF
53666
53667 fi
53668 done
53669
53670 fi
53671 fi
53672
53673
53674
53675
53676
53677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53678 $as_echo_n "checking for frexpf declaration... " >&6; }
53679 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53680 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53681 $as_echo_n "(cached) " >&6
53682 else
53683
53684
53685 ac_ext=cpp
53686 ac_cpp='$CXXCPP $CPPFLAGS'
53687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53690
53691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53692 /* end confdefs.h. */
53693 #include <math.h>
53694 int
53695 main ()
53696 {
53697 frexpf(0, 0);
53698 ;
53699 return 0;
53700 }
53701 _ACEOF
53702 if ac_fn_cxx_try_compile "$LINENO"; then :
53703 glibcxx_cv_func_frexpf_use=yes
53704 else
53705 glibcxx_cv_func_frexpf_use=no
53706 fi
53707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53708 ac_ext=c
53709 ac_cpp='$CPP $CPPFLAGS'
53710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53713
53714
53715 fi
53716
53717 fi
53718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53719 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53720
53721 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53722 for ac_func in frexpf
53723 do :
53724 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53725 if test "x$ac_cv_func_frexpf" = x""yes; then :
53726 cat >>confdefs.h <<_ACEOF
53727 #define HAVE_FREXPF 1
53728 _ACEOF
53729
53730 fi
53731 done
53732
53733 else
53734
53735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53736 $as_echo_n "checking for _frexpf declaration... " >&6; }
53737 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53738 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53739 $as_echo_n "(cached) " >&6
53740 else
53741
53742
53743 ac_ext=cpp
53744 ac_cpp='$CXXCPP $CPPFLAGS'
53745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53748
53749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53750 /* end confdefs.h. */
53751 #include <math.h>
53752 int
53753 main ()
53754 {
53755 _frexpf(0, 0);
53756 ;
53757 return 0;
53758 }
53759 _ACEOF
53760 if ac_fn_cxx_try_compile "$LINENO"; then :
53761 glibcxx_cv_func__frexpf_use=yes
53762 else
53763 glibcxx_cv_func__frexpf_use=no
53764 fi
53765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53766 ac_ext=c
53767 ac_cpp='$CPP $CPPFLAGS'
53768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53771
53772
53773 fi
53774
53775 fi
53776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53777 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53778
53779 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53780 for ac_func in _frexpf
53781 do :
53782 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53783 if test "x$ac_cv_func__frexpf" = x""yes; then :
53784 cat >>confdefs.h <<_ACEOF
53785 #define HAVE__FREXPF 1
53786 _ACEOF
53787
53788 fi
53789 done
53790
53791 fi
53792 fi
53793
53794
53795
53796
53797
53798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53799 $as_echo_n "checking for hypotf declaration... " >&6; }
53800 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53801 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53802 $as_echo_n "(cached) " >&6
53803 else
53804
53805
53806 ac_ext=cpp
53807 ac_cpp='$CXXCPP $CPPFLAGS'
53808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53811
53812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53813 /* end confdefs.h. */
53814 #include <math.h>
53815 int
53816 main ()
53817 {
53818 hypotf(0, 0);
53819 ;
53820 return 0;
53821 }
53822 _ACEOF
53823 if ac_fn_cxx_try_compile "$LINENO"; then :
53824 glibcxx_cv_func_hypotf_use=yes
53825 else
53826 glibcxx_cv_func_hypotf_use=no
53827 fi
53828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53829 ac_ext=c
53830 ac_cpp='$CPP $CPPFLAGS'
53831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53834
53835
53836 fi
53837
53838 fi
53839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53840 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53841
53842 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53843 for ac_func in hypotf
53844 do :
53845 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53846 if test "x$ac_cv_func_hypotf" = x""yes; then :
53847 cat >>confdefs.h <<_ACEOF
53848 #define HAVE_HYPOTF 1
53849 _ACEOF
53850
53851 fi
53852 done
53853
53854 else
53855
53856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53857 $as_echo_n "checking for _hypotf declaration... " >&6; }
53858 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53859 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53860 $as_echo_n "(cached) " >&6
53861 else
53862
53863
53864 ac_ext=cpp
53865 ac_cpp='$CXXCPP $CPPFLAGS'
53866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53869
53870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53871 /* end confdefs.h. */
53872 #include <math.h>
53873 int
53874 main ()
53875 {
53876 _hypotf(0, 0);
53877 ;
53878 return 0;
53879 }
53880 _ACEOF
53881 if ac_fn_cxx_try_compile "$LINENO"; then :
53882 glibcxx_cv_func__hypotf_use=yes
53883 else
53884 glibcxx_cv_func__hypotf_use=no
53885 fi
53886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53887 ac_ext=c
53888 ac_cpp='$CPP $CPPFLAGS'
53889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53892
53893
53894 fi
53895
53896 fi
53897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53898 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53899
53900 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53901 for ac_func in _hypotf
53902 do :
53903 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53904 if test "x$ac_cv_func__hypotf" = x""yes; then :
53905 cat >>confdefs.h <<_ACEOF
53906 #define HAVE__HYPOTF 1
53907 _ACEOF
53908
53909 fi
53910 done
53911
53912 fi
53913 fi
53914
53915
53916
53917
53918
53919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53920 $as_echo_n "checking for ldexpf declaration... " >&6; }
53921 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53922 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53923 $as_echo_n "(cached) " >&6
53924 else
53925
53926
53927 ac_ext=cpp
53928 ac_cpp='$CXXCPP $CPPFLAGS'
53929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53932
53933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53934 /* end confdefs.h. */
53935 #include <math.h>
53936 int
53937 main ()
53938 {
53939 ldexpf(0, 0);
53940 ;
53941 return 0;
53942 }
53943 _ACEOF
53944 if ac_fn_cxx_try_compile "$LINENO"; then :
53945 glibcxx_cv_func_ldexpf_use=yes
53946 else
53947 glibcxx_cv_func_ldexpf_use=no
53948 fi
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
53955
53956
53957 fi
53958
53959 fi
53960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
53961 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
53962
53963 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
53964 for ac_func in ldexpf
53965 do :
53966 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
53967 if test "x$ac_cv_func_ldexpf" = x""yes; then :
53968 cat >>confdefs.h <<_ACEOF
53969 #define HAVE_LDEXPF 1
53970 _ACEOF
53971
53972 fi
53973 done
53974
53975 else
53976
53977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
53978 $as_echo_n "checking for _ldexpf declaration... " >&6; }
53979 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
53980 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
53981 $as_echo_n "(cached) " >&6
53982 else
53983
53984
53985 ac_ext=cpp
53986 ac_cpp='$CXXCPP $CPPFLAGS'
53987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53990
53991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53992 /* end confdefs.h. */
53993 #include <math.h>
53994 int
53995 main ()
53996 {
53997 _ldexpf(0, 0);
53998 ;
53999 return 0;
54000 }
54001 _ACEOF
54002 if ac_fn_cxx_try_compile "$LINENO"; then :
54003 glibcxx_cv_func__ldexpf_use=yes
54004 else
54005 glibcxx_cv_func__ldexpf_use=no
54006 fi
54007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54008 ac_ext=c
54009 ac_cpp='$CPP $CPPFLAGS'
54010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54013
54014
54015 fi
54016
54017 fi
54018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54019 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54020
54021 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54022 for ac_func in _ldexpf
54023 do :
54024 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54025 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54026 cat >>confdefs.h <<_ACEOF
54027 #define HAVE__LDEXPF 1
54028 _ACEOF
54029
54030 fi
54031 done
54032
54033 fi
54034 fi
54035
54036
54037
54038
54039
54040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54041 $as_echo_n "checking for logf declaration... " >&6; }
54042 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54043 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54044 $as_echo_n "(cached) " >&6
54045 else
54046
54047
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
54053
54054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54055 /* end confdefs.h. */
54056 #include <math.h>
54057 #ifdef HAVE_IEEEFP_H
54058 #include <ieeefp.h>
54059 #endif
54060
54061 int
54062 main ()
54063 {
54064 logf(0);
54065 ;
54066 return 0;
54067 }
54068 _ACEOF
54069 if ac_fn_cxx_try_compile "$LINENO"; then :
54070 glibcxx_cv_func_logf_use=yes
54071 else
54072 glibcxx_cv_func_logf_use=no
54073 fi
54074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54075 ac_ext=c
54076 ac_cpp='$CPP $CPPFLAGS'
54077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54080
54081
54082 fi
54083
54084 fi
54085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54086 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54087
54088 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54089 for ac_func in logf
54090 do :
54091 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54092 if test "x$ac_cv_func_logf" = x""yes; then :
54093 cat >>confdefs.h <<_ACEOF
54094 #define HAVE_LOGF 1
54095 _ACEOF
54096
54097 fi
54098 done
54099
54100 else
54101
54102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54103 $as_echo_n "checking for _logf declaration... " >&6; }
54104 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54105 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54106 $as_echo_n "(cached) " >&6
54107 else
54108
54109
54110 ac_ext=cpp
54111 ac_cpp='$CXXCPP $CPPFLAGS'
54112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54115
54116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54117 /* end confdefs.h. */
54118 #include <math.h>
54119 #ifdef HAVE_IEEEFP_H
54120 #include <ieeefp.h>
54121 #endif
54122
54123 int
54124 main ()
54125 {
54126 _logf(0);
54127 ;
54128 return 0;
54129 }
54130 _ACEOF
54131 if ac_fn_cxx_try_compile "$LINENO"; then :
54132 glibcxx_cv_func__logf_use=yes
54133 else
54134 glibcxx_cv_func__logf_use=no
54135 fi
54136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54137 ac_ext=c
54138 ac_cpp='$CPP $CPPFLAGS'
54139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54142
54143
54144 fi
54145
54146 fi
54147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54148 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54149
54150 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54151 for ac_func in _logf
54152 do :
54153 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54154 if test "x$ac_cv_func__logf" = x""yes; then :
54155 cat >>confdefs.h <<_ACEOF
54156 #define HAVE__LOGF 1
54157 _ACEOF
54158
54159 fi
54160 done
54161
54162 fi
54163 fi
54164
54165
54166
54167
54168
54169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54170 $as_echo_n "checking for log10f declaration... " >&6; }
54171 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54172 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54173 $as_echo_n "(cached) " >&6
54174 else
54175
54176
54177 ac_ext=cpp
54178 ac_cpp='$CXXCPP $CPPFLAGS'
54179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54182
54183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54184 /* end confdefs.h. */
54185 #include <math.h>
54186 #ifdef HAVE_IEEEFP_H
54187 #include <ieeefp.h>
54188 #endif
54189
54190 int
54191 main ()
54192 {
54193 log10f(0);
54194 ;
54195 return 0;
54196 }
54197 _ACEOF
54198 if ac_fn_cxx_try_compile "$LINENO"; then :
54199 glibcxx_cv_func_log10f_use=yes
54200 else
54201 glibcxx_cv_func_log10f_use=no
54202 fi
54203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54204 ac_ext=c
54205 ac_cpp='$CPP $CPPFLAGS'
54206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54209
54210
54211 fi
54212
54213 fi
54214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54215 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54216
54217 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54218 for ac_func in log10f
54219 do :
54220 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54221 if test "x$ac_cv_func_log10f" = x""yes; then :
54222 cat >>confdefs.h <<_ACEOF
54223 #define HAVE_LOG10F 1
54224 _ACEOF
54225
54226 fi
54227 done
54228
54229 else
54230
54231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54232 $as_echo_n "checking for _log10f declaration... " >&6; }
54233 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54234 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54235 $as_echo_n "(cached) " >&6
54236 else
54237
54238
54239 ac_ext=cpp
54240 ac_cpp='$CXXCPP $CPPFLAGS'
54241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54244
54245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54246 /* end confdefs.h. */
54247 #include <math.h>
54248 #ifdef HAVE_IEEEFP_H
54249 #include <ieeefp.h>
54250 #endif
54251
54252 int
54253 main ()
54254 {
54255 _log10f(0);
54256 ;
54257 return 0;
54258 }
54259 _ACEOF
54260 if ac_fn_cxx_try_compile "$LINENO"; then :
54261 glibcxx_cv_func__log10f_use=yes
54262 else
54263 glibcxx_cv_func__log10f_use=no
54264 fi
54265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54266 ac_ext=c
54267 ac_cpp='$CPP $CPPFLAGS'
54268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54271
54272
54273 fi
54274
54275 fi
54276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54277 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54278
54279 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54280 for ac_func in _log10f
54281 do :
54282 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54283 if test "x$ac_cv_func__log10f" = x""yes; then :
54284 cat >>confdefs.h <<_ACEOF
54285 #define HAVE__LOG10F 1
54286 _ACEOF
54287
54288 fi
54289 done
54290
54291 fi
54292 fi
54293
54294
54295
54296
54297
54298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54299 $as_echo_n "checking for modff declaration... " >&6; }
54300 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54301 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54302 $as_echo_n "(cached) " >&6
54303 else
54304
54305
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
54311
54312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54313 /* end confdefs.h. */
54314 #include <math.h>
54315 int
54316 main ()
54317 {
54318 modff(0, 0);
54319 ;
54320 return 0;
54321 }
54322 _ACEOF
54323 if ac_fn_cxx_try_compile "$LINENO"; then :
54324 glibcxx_cv_func_modff_use=yes
54325 else
54326 glibcxx_cv_func_modff_use=no
54327 fi
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
54334
54335
54336 fi
54337
54338 fi
54339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54340 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54341
54342 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54343 for ac_func in modff
54344 do :
54345 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54346 if test "x$ac_cv_func_modff" = x""yes; then :
54347 cat >>confdefs.h <<_ACEOF
54348 #define HAVE_MODFF 1
54349 _ACEOF
54350
54351 fi
54352 done
54353
54354 else
54355
54356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54357 $as_echo_n "checking for _modff declaration... " >&6; }
54358 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54359 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54360 $as_echo_n "(cached) " >&6
54361 else
54362
54363
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
54369
54370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54371 /* end confdefs.h. */
54372 #include <math.h>
54373 int
54374 main ()
54375 {
54376 _modff(0, 0);
54377 ;
54378 return 0;
54379 }
54380 _ACEOF
54381 if ac_fn_cxx_try_compile "$LINENO"; then :
54382 glibcxx_cv_func__modff_use=yes
54383 else
54384 glibcxx_cv_func__modff_use=no
54385 fi
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
54392
54393
54394 fi
54395
54396 fi
54397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54398 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54399
54400 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54401 for ac_func in _modff
54402 do :
54403 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54404 if test "x$ac_cv_func__modff" = x""yes; then :
54405 cat >>confdefs.h <<_ACEOF
54406 #define HAVE__MODFF 1
54407 _ACEOF
54408
54409 fi
54410 done
54411
54412 fi
54413 fi
54414
54415
54416
54417
54418
54419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54420 $as_echo_n "checking for modf declaration... " >&6; }
54421 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54422 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54423 $as_echo_n "(cached) " >&6
54424 else
54425
54426
54427 ac_ext=cpp
54428 ac_cpp='$CXXCPP $CPPFLAGS'
54429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54432
54433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54434 /* end confdefs.h. */
54435 #include <math.h>
54436 int
54437 main ()
54438 {
54439 modf(0, 0);
54440 ;
54441 return 0;
54442 }
54443 _ACEOF
54444 if ac_fn_cxx_try_compile "$LINENO"; then :
54445 glibcxx_cv_func_modf_use=yes
54446 else
54447 glibcxx_cv_func_modf_use=no
54448 fi
54449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54450 ac_ext=c
54451 ac_cpp='$CPP $CPPFLAGS'
54452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54455
54456
54457 fi
54458
54459 fi
54460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54461 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54462
54463 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54464 for ac_func in modf
54465 do :
54466 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54467 if test "x$ac_cv_func_modf" = x""yes; then :
54468 cat >>confdefs.h <<_ACEOF
54469 #define HAVE_MODF 1
54470 _ACEOF
54471
54472 fi
54473 done
54474
54475 else
54476
54477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54478 $as_echo_n "checking for _modf declaration... " >&6; }
54479 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54480 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54481 $as_echo_n "(cached) " >&6
54482 else
54483
54484
54485 ac_ext=cpp
54486 ac_cpp='$CXXCPP $CPPFLAGS'
54487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54490
54491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54492 /* end confdefs.h. */
54493 #include <math.h>
54494 int
54495 main ()
54496 {
54497 _modf(0, 0);
54498 ;
54499 return 0;
54500 }
54501 _ACEOF
54502 if ac_fn_cxx_try_compile "$LINENO"; then :
54503 glibcxx_cv_func__modf_use=yes
54504 else
54505 glibcxx_cv_func__modf_use=no
54506 fi
54507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54508 ac_ext=c
54509 ac_cpp='$CPP $CPPFLAGS'
54510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54513
54514
54515 fi
54516
54517 fi
54518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54519 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54520
54521 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54522 for ac_func in _modf
54523 do :
54524 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54525 if test "x$ac_cv_func__modf" = x""yes; then :
54526 cat >>confdefs.h <<_ACEOF
54527 #define HAVE__MODF 1
54528 _ACEOF
54529
54530 fi
54531 done
54532
54533 fi
54534 fi
54535
54536
54537
54538
54539
54540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54541 $as_echo_n "checking for powf declaration... " >&6; }
54542 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54543 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54544 $as_echo_n "(cached) " >&6
54545 else
54546
54547
54548 ac_ext=cpp
54549 ac_cpp='$CXXCPP $CPPFLAGS'
54550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54553
54554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54555 /* end confdefs.h. */
54556 #include <math.h>
54557 int
54558 main ()
54559 {
54560 powf(0, 0);
54561 ;
54562 return 0;
54563 }
54564 _ACEOF
54565 if ac_fn_cxx_try_compile "$LINENO"; then :
54566 glibcxx_cv_func_powf_use=yes
54567 else
54568 glibcxx_cv_func_powf_use=no
54569 fi
54570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54571 ac_ext=c
54572 ac_cpp='$CPP $CPPFLAGS'
54573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54576
54577
54578 fi
54579
54580 fi
54581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54582 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54583
54584 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54585 for ac_func in powf
54586 do :
54587 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54588 if test "x$ac_cv_func_powf" = x""yes; then :
54589 cat >>confdefs.h <<_ACEOF
54590 #define HAVE_POWF 1
54591 _ACEOF
54592
54593 fi
54594 done
54595
54596 else
54597
54598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54599 $as_echo_n "checking for _powf declaration... " >&6; }
54600 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54601 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54602 $as_echo_n "(cached) " >&6
54603 else
54604
54605
54606 ac_ext=cpp
54607 ac_cpp='$CXXCPP $CPPFLAGS'
54608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54611
54612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54613 /* end confdefs.h. */
54614 #include <math.h>
54615 int
54616 main ()
54617 {
54618 _powf(0, 0);
54619 ;
54620 return 0;
54621 }
54622 _ACEOF
54623 if ac_fn_cxx_try_compile "$LINENO"; then :
54624 glibcxx_cv_func__powf_use=yes
54625 else
54626 glibcxx_cv_func__powf_use=no
54627 fi
54628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54629 ac_ext=c
54630 ac_cpp='$CPP $CPPFLAGS'
54631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54634
54635
54636 fi
54637
54638 fi
54639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54640 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54641
54642 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54643 for ac_func in _powf
54644 do :
54645 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54646 if test "x$ac_cv_func__powf" = x""yes; then :
54647 cat >>confdefs.h <<_ACEOF
54648 #define HAVE__POWF 1
54649 _ACEOF
54650
54651 fi
54652 done
54653
54654 fi
54655 fi
54656
54657
54658
54659
54660
54661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54662 $as_echo_n "checking for sqrtf declaration... " >&6; }
54663 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54664 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54665 $as_echo_n "(cached) " >&6
54666 else
54667
54668
54669 ac_ext=cpp
54670 ac_cpp='$CXXCPP $CPPFLAGS'
54671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54674
54675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54676 /* end confdefs.h. */
54677 #include <math.h>
54678 #ifdef HAVE_IEEEFP_H
54679 #include <ieeefp.h>
54680 #endif
54681
54682 int
54683 main ()
54684 {
54685 sqrtf(0);
54686 ;
54687 return 0;
54688 }
54689 _ACEOF
54690 if ac_fn_cxx_try_compile "$LINENO"; then :
54691 glibcxx_cv_func_sqrtf_use=yes
54692 else
54693 glibcxx_cv_func_sqrtf_use=no
54694 fi
54695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54696 ac_ext=c
54697 ac_cpp='$CPP $CPPFLAGS'
54698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54701
54702
54703 fi
54704
54705 fi
54706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54707 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54708
54709 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54710 for ac_func in sqrtf
54711 do :
54712 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54713 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54714 cat >>confdefs.h <<_ACEOF
54715 #define HAVE_SQRTF 1
54716 _ACEOF
54717
54718 fi
54719 done
54720
54721 else
54722
54723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54724 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54725 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54726 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54727 $as_echo_n "(cached) " >&6
54728 else
54729
54730
54731 ac_ext=cpp
54732 ac_cpp='$CXXCPP $CPPFLAGS'
54733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54736
54737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54738 /* end confdefs.h. */
54739 #include <math.h>
54740 #ifdef HAVE_IEEEFP_H
54741 #include <ieeefp.h>
54742 #endif
54743
54744 int
54745 main ()
54746 {
54747 _sqrtf(0);
54748 ;
54749 return 0;
54750 }
54751 _ACEOF
54752 if ac_fn_cxx_try_compile "$LINENO"; then :
54753 glibcxx_cv_func__sqrtf_use=yes
54754 else
54755 glibcxx_cv_func__sqrtf_use=no
54756 fi
54757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54758 ac_ext=c
54759 ac_cpp='$CPP $CPPFLAGS'
54760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54763
54764
54765 fi
54766
54767 fi
54768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54769 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54770
54771 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54772 for ac_func in _sqrtf
54773 do :
54774 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54775 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54776 cat >>confdefs.h <<_ACEOF
54777 #define HAVE__SQRTF 1
54778 _ACEOF
54779
54780 fi
54781 done
54782
54783 fi
54784 fi
54785
54786
54787
54788
54789
54790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54791 $as_echo_n "checking for sincosf declaration... " >&6; }
54792 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54793 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54794 $as_echo_n "(cached) " >&6
54795 else
54796
54797
54798 ac_ext=cpp
54799 ac_cpp='$CXXCPP $CPPFLAGS'
54800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54803
54804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54805 /* end confdefs.h. */
54806 #include <math.h>
54807 int
54808 main ()
54809 {
54810 sincosf(0, 0, 0);
54811 ;
54812 return 0;
54813 }
54814 _ACEOF
54815 if ac_fn_cxx_try_compile "$LINENO"; then :
54816 glibcxx_cv_func_sincosf_use=yes
54817 else
54818 glibcxx_cv_func_sincosf_use=no
54819 fi
54820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54821 ac_ext=c
54822 ac_cpp='$CPP $CPPFLAGS'
54823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54826
54827
54828 fi
54829
54830 fi
54831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54832 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54833
54834 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54835 for ac_func in sincosf
54836 do :
54837 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54838 if test "x$ac_cv_func_sincosf" = x""yes; then :
54839 cat >>confdefs.h <<_ACEOF
54840 #define HAVE_SINCOSF 1
54841 _ACEOF
54842
54843 fi
54844 done
54845
54846 else
54847
54848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54849 $as_echo_n "checking for _sincosf declaration... " >&6; }
54850 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54851 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54852 $as_echo_n "(cached) " >&6
54853 else
54854
54855
54856 ac_ext=cpp
54857 ac_cpp='$CXXCPP $CPPFLAGS'
54858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54861
54862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54863 /* end confdefs.h. */
54864 #include <math.h>
54865 int
54866 main ()
54867 {
54868 _sincosf(0, 0, 0);
54869 ;
54870 return 0;
54871 }
54872 _ACEOF
54873 if ac_fn_cxx_try_compile "$LINENO"; then :
54874 glibcxx_cv_func__sincosf_use=yes
54875 else
54876 glibcxx_cv_func__sincosf_use=no
54877 fi
54878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54879 ac_ext=c
54880 ac_cpp='$CPP $CPPFLAGS'
54881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54884
54885
54886 fi
54887
54888 fi
54889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54890 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54891
54892 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54893 for ac_func in _sincosf
54894 do :
54895 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54896 if test "x$ac_cv_func__sincosf" = x""yes; then :
54897 cat >>confdefs.h <<_ACEOF
54898 #define HAVE__SINCOSF 1
54899 _ACEOF
54900
54901 fi
54902 done
54903
54904 fi
54905 fi
54906
54907
54908
54909
54910
54911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54912 $as_echo_n "checking for finitef declaration... " >&6; }
54913 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54914 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54915 $as_echo_n "(cached) " >&6
54916 else
54917
54918
54919 ac_ext=cpp
54920 ac_cpp='$CXXCPP $CPPFLAGS'
54921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54924
54925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54926 /* end confdefs.h. */
54927 #include <math.h>
54928 #ifdef HAVE_IEEEFP_H
54929 #include <ieeefp.h>
54930 #endif
54931
54932 int
54933 main ()
54934 {
54935 finitef(0);
54936 ;
54937 return 0;
54938 }
54939 _ACEOF
54940 if ac_fn_cxx_try_compile "$LINENO"; then :
54941 glibcxx_cv_func_finitef_use=yes
54942 else
54943 glibcxx_cv_func_finitef_use=no
54944 fi
54945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54946 ac_ext=c
54947 ac_cpp='$CPP $CPPFLAGS'
54948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54951
54952
54953 fi
54954
54955 fi
54956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
54957 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
54958
54959 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54960 for ac_func in finitef
54961 do :
54962 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
54963 if test "x$ac_cv_func_finitef" = x""yes; then :
54964 cat >>confdefs.h <<_ACEOF
54965 #define HAVE_FINITEF 1
54966 _ACEOF
54967
54968 fi
54969 done
54970
54971 else
54972
54973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
54974 $as_echo_n "checking for _finitef declaration... " >&6; }
54975 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54976 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
54977 $as_echo_n "(cached) " >&6
54978 else
54979
54980
54981 ac_ext=cpp
54982 ac_cpp='$CXXCPP $CPPFLAGS'
54983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54986
54987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54988 /* end confdefs.h. */
54989 #include <math.h>
54990 #ifdef HAVE_IEEEFP_H
54991 #include <ieeefp.h>
54992 #endif
54993
54994 int
54995 main ()
54996 {
54997 _finitef(0);
54998 ;
54999 return 0;
55000 }
55001 _ACEOF
55002 if ac_fn_cxx_try_compile "$LINENO"; then :
55003 glibcxx_cv_func__finitef_use=yes
55004 else
55005 glibcxx_cv_func__finitef_use=no
55006 fi
55007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55008 ac_ext=c
55009 ac_cpp='$CPP $CPPFLAGS'
55010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55013
55014
55015 fi
55016
55017 fi
55018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55019 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55020
55021 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55022 for ac_func in _finitef
55023 do :
55024 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55025 if test "x$ac_cv_func__finitef" = x""yes; then :
55026 cat >>confdefs.h <<_ACEOF
55027 #define HAVE__FINITEF 1
55028 _ACEOF
55029
55030 fi
55031 done
55032
55033 fi
55034 fi
55035
55036
55037
55038
55039
55040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55041 $as_echo_n "checking for long double trig functions... " >&6; }
55042 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55043 $as_echo_n "(cached) " >&6
55044 else
55045
55046
55047 ac_ext=cpp
55048 ac_cpp='$CXXCPP $CPPFLAGS'
55049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55052
55053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55054 /* end confdefs.h. */
55055 #include <math.h>
55056 int
55057 main ()
55058 {
55059 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55060 ;
55061 return 0;
55062 }
55063 _ACEOF
55064 if ac_fn_cxx_try_compile "$LINENO"; then :
55065 glibcxx_cv_func_long_double_trig_use=yes
55066 else
55067 glibcxx_cv_func_long_double_trig_use=no
55068 fi
55069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55070 ac_ext=c
55071 ac_cpp='$CPP $CPPFLAGS'
55072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55075
55076 fi
55077
55078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55079 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55080 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55081 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55082 do :
55083 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55084 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55085 eval as_val=\$$as_ac_var
55086 if test "x$as_val" = x""yes; then :
55087 cat >>confdefs.h <<_ACEOF
55088 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55089 _ACEOF
55090
55091 fi
55092 done
55093
55094 else
55095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55096 $as_echo_n "checking for _long double trig functions... " >&6; }
55097 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55098 $as_echo_n "(cached) " >&6
55099 else
55100
55101
55102 ac_ext=cpp
55103 ac_cpp='$CXXCPP $CPPFLAGS'
55104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55107
55108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55109 /* end confdefs.h. */
55110 #include <math.h>
55111 int
55112 main ()
55113 {
55114 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55115 ;
55116 return 0;
55117 }
55118 _ACEOF
55119 if ac_fn_cxx_try_compile "$LINENO"; then :
55120 glibcxx_cv_func__long_double_trig_use=yes
55121 else
55122 glibcxx_cv_func__long_double_trig_use=no
55123 fi
55124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55125 ac_ext=c
55126 ac_cpp='$CPP $CPPFLAGS'
55127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55130
55131 fi
55132
55133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55134 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55135 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55136 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55137 do :
55138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55140 eval as_val=\$$as_ac_var
55141 if test "x$as_val" = x""yes; then :
55142 cat >>confdefs.h <<_ACEOF
55143 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55144 _ACEOF
55145
55146 fi
55147 done
55148
55149 fi
55150 fi
55151
55152
55153
55154
55155
55156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55157 $as_echo_n "checking for long double round functions... " >&6; }
55158 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55159 $as_echo_n "(cached) " >&6
55160 else
55161
55162
55163 ac_ext=cpp
55164 ac_cpp='$CXXCPP $CPPFLAGS'
55165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55168
55169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55170 /* end confdefs.h. */
55171 #include <math.h>
55172 int
55173 main ()
55174 {
55175 ceill (0); floorl (0);
55176 ;
55177 return 0;
55178 }
55179 _ACEOF
55180 if ac_fn_cxx_try_compile "$LINENO"; then :
55181 glibcxx_cv_func_long_double_round_use=yes
55182 else
55183 glibcxx_cv_func_long_double_round_use=no
55184 fi
55185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55186 ac_ext=c
55187 ac_cpp='$CPP $CPPFLAGS'
55188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55191
55192 fi
55193
55194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55195 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55196 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55197 for ac_func in ceill floorl
55198 do :
55199 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55200 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55201 eval as_val=\$$as_ac_var
55202 if test "x$as_val" = x""yes; then :
55203 cat >>confdefs.h <<_ACEOF
55204 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55205 _ACEOF
55206
55207 fi
55208 done
55209
55210 else
55211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55212 $as_echo_n "checking for _long double round functions... " >&6; }
55213 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55214 $as_echo_n "(cached) " >&6
55215 else
55216
55217
55218 ac_ext=cpp
55219 ac_cpp='$CXXCPP $CPPFLAGS'
55220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55223
55224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55225 /* end confdefs.h. */
55226 #include <math.h>
55227 int
55228 main ()
55229 {
55230 _ceill (0); _floorl (0);
55231 ;
55232 return 0;
55233 }
55234 _ACEOF
55235 if ac_fn_cxx_try_compile "$LINENO"; then :
55236 glibcxx_cv_func__long_double_round_use=yes
55237 else
55238 glibcxx_cv_func__long_double_round_use=no
55239 fi
55240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55241 ac_ext=c
55242 ac_cpp='$CPP $CPPFLAGS'
55243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55246
55247 fi
55248
55249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55250 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55251 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55252 for ac_func in _ceill _floorl
55253 do :
55254 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55255 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55256 eval as_val=\$$as_ac_var
55257 if test "x$as_val" = x""yes; then :
55258 cat >>confdefs.h <<_ACEOF
55259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55260 _ACEOF
55261
55262 fi
55263 done
55264
55265 fi
55266 fi
55267
55268
55269
55270
55271
55272
55273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55274 $as_echo_n "checking for isnanl declaration... " >&6; }
55275 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55276 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55277 $as_echo_n "(cached) " >&6
55278 else
55279
55280
55281 ac_ext=cpp
55282 ac_cpp='$CXXCPP $CPPFLAGS'
55283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55286
55287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55288 /* end confdefs.h. */
55289 #include <math.h>
55290 #ifdef HAVE_IEEEFP_H
55291 #include <ieeefp.h>
55292 #endif
55293
55294 int
55295 main ()
55296 {
55297 isnanl(0);
55298 ;
55299 return 0;
55300 }
55301 _ACEOF
55302 if ac_fn_cxx_try_compile "$LINENO"; then :
55303 glibcxx_cv_func_isnanl_use=yes
55304 else
55305 glibcxx_cv_func_isnanl_use=no
55306 fi
55307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55308 ac_ext=c
55309 ac_cpp='$CPP $CPPFLAGS'
55310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55313
55314
55315 fi
55316
55317 fi
55318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55319 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55320
55321 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55322 for ac_func in isnanl
55323 do :
55324 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55325 if test "x$ac_cv_func_isnanl" = x""yes; then :
55326 cat >>confdefs.h <<_ACEOF
55327 #define HAVE_ISNANL 1
55328 _ACEOF
55329
55330 fi
55331 done
55332
55333 else
55334
55335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55336 $as_echo_n "checking for _isnanl declaration... " >&6; }
55337 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55338 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55339 $as_echo_n "(cached) " >&6
55340 else
55341
55342
55343 ac_ext=cpp
55344 ac_cpp='$CXXCPP $CPPFLAGS'
55345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55348
55349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55350 /* end confdefs.h. */
55351 #include <math.h>
55352 #ifdef HAVE_IEEEFP_H
55353 #include <ieeefp.h>
55354 #endif
55355
55356 int
55357 main ()
55358 {
55359 _isnanl(0);
55360 ;
55361 return 0;
55362 }
55363 _ACEOF
55364 if ac_fn_cxx_try_compile "$LINENO"; then :
55365 glibcxx_cv_func__isnanl_use=yes
55366 else
55367 glibcxx_cv_func__isnanl_use=no
55368 fi
55369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55370 ac_ext=c
55371 ac_cpp='$CPP $CPPFLAGS'
55372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55375
55376
55377 fi
55378
55379 fi
55380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55381 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55382
55383 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55384 for ac_func in _isnanl
55385 do :
55386 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55387 if test "x$ac_cv_func__isnanl" = x""yes; then :
55388 cat >>confdefs.h <<_ACEOF
55389 #define HAVE__ISNANL 1
55390 _ACEOF
55391
55392 fi
55393 done
55394
55395 fi
55396 fi
55397
55398
55399
55400
55401
55402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55403 $as_echo_n "checking for isinfl declaration... " >&6; }
55404 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55405 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55406 $as_echo_n "(cached) " >&6
55407 else
55408
55409
55410 ac_ext=cpp
55411 ac_cpp='$CXXCPP $CPPFLAGS'
55412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55415
55416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55417 /* end confdefs.h. */
55418 #include <math.h>
55419 #ifdef HAVE_IEEEFP_H
55420 #include <ieeefp.h>
55421 #endif
55422
55423 int
55424 main ()
55425 {
55426 isinfl(0);
55427 ;
55428 return 0;
55429 }
55430 _ACEOF
55431 if ac_fn_cxx_try_compile "$LINENO"; then :
55432 glibcxx_cv_func_isinfl_use=yes
55433 else
55434 glibcxx_cv_func_isinfl_use=no
55435 fi
55436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55437 ac_ext=c
55438 ac_cpp='$CPP $CPPFLAGS'
55439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55442
55443
55444 fi
55445
55446 fi
55447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55448 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55449
55450 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55451 for ac_func in isinfl
55452 do :
55453 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55454 if test "x$ac_cv_func_isinfl" = x""yes; then :
55455 cat >>confdefs.h <<_ACEOF
55456 #define HAVE_ISINFL 1
55457 _ACEOF
55458
55459 fi
55460 done
55461
55462 else
55463
55464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55465 $as_echo_n "checking for _isinfl declaration... " >&6; }
55466 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55467 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55468 $as_echo_n "(cached) " >&6
55469 else
55470
55471
55472 ac_ext=cpp
55473 ac_cpp='$CXXCPP $CPPFLAGS'
55474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55477
55478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55479 /* end confdefs.h. */
55480 #include <math.h>
55481 #ifdef HAVE_IEEEFP_H
55482 #include <ieeefp.h>
55483 #endif
55484
55485 int
55486 main ()
55487 {
55488 _isinfl(0);
55489 ;
55490 return 0;
55491 }
55492 _ACEOF
55493 if ac_fn_cxx_try_compile "$LINENO"; then :
55494 glibcxx_cv_func__isinfl_use=yes
55495 else
55496 glibcxx_cv_func__isinfl_use=no
55497 fi
55498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55499 ac_ext=c
55500 ac_cpp='$CPP $CPPFLAGS'
55501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55504
55505
55506 fi
55507
55508 fi
55509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55510 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55511
55512 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55513 for ac_func in _isinfl
55514 do :
55515 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55516 if test "x$ac_cv_func__isinfl" = x""yes; then :
55517 cat >>confdefs.h <<_ACEOF
55518 #define HAVE__ISINFL 1
55519 _ACEOF
55520
55521 fi
55522 done
55523
55524 fi
55525 fi
55526
55527
55528
55529
55530
55531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55532 $as_echo_n "checking for atan2l declaration... " >&6; }
55533 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55534 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55535 $as_echo_n "(cached) " >&6
55536 else
55537
55538
55539 ac_ext=cpp
55540 ac_cpp='$CXXCPP $CPPFLAGS'
55541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55544
55545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55546 /* end confdefs.h. */
55547 #include <math.h>
55548 int
55549 main ()
55550 {
55551 atan2l(0, 0);
55552 ;
55553 return 0;
55554 }
55555 _ACEOF
55556 if ac_fn_cxx_try_compile "$LINENO"; then :
55557 glibcxx_cv_func_atan2l_use=yes
55558 else
55559 glibcxx_cv_func_atan2l_use=no
55560 fi
55561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55562 ac_ext=c
55563 ac_cpp='$CPP $CPPFLAGS'
55564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55567
55568
55569 fi
55570
55571 fi
55572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55573 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55574
55575 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55576 for ac_func in atan2l
55577 do :
55578 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55579 if test "x$ac_cv_func_atan2l" = x""yes; then :
55580 cat >>confdefs.h <<_ACEOF
55581 #define HAVE_ATAN2L 1
55582 _ACEOF
55583
55584 fi
55585 done
55586
55587 else
55588
55589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55590 $as_echo_n "checking for _atan2l declaration... " >&6; }
55591 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55592 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55593 $as_echo_n "(cached) " >&6
55594 else
55595
55596
55597 ac_ext=cpp
55598 ac_cpp='$CXXCPP $CPPFLAGS'
55599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55602
55603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55604 /* end confdefs.h. */
55605 #include <math.h>
55606 int
55607 main ()
55608 {
55609 _atan2l(0, 0);
55610 ;
55611 return 0;
55612 }
55613 _ACEOF
55614 if ac_fn_cxx_try_compile "$LINENO"; then :
55615 glibcxx_cv_func__atan2l_use=yes
55616 else
55617 glibcxx_cv_func__atan2l_use=no
55618 fi
55619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55620 ac_ext=c
55621 ac_cpp='$CPP $CPPFLAGS'
55622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55625
55626
55627 fi
55628
55629 fi
55630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55631 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55632
55633 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55634 for ac_func in _atan2l
55635 do :
55636 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55637 if test "x$ac_cv_func__atan2l" = x""yes; then :
55638 cat >>confdefs.h <<_ACEOF
55639 #define HAVE__ATAN2L 1
55640 _ACEOF
55641
55642 fi
55643 done
55644
55645 fi
55646 fi
55647
55648
55649
55650
55651
55652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55653 $as_echo_n "checking for expl declaration... " >&6; }
55654 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55655 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55656 $as_echo_n "(cached) " >&6
55657 else
55658
55659
55660 ac_ext=cpp
55661 ac_cpp='$CXXCPP $CPPFLAGS'
55662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55665
55666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55667 /* end confdefs.h. */
55668 #include <math.h>
55669 #ifdef HAVE_IEEEFP_H
55670 #include <ieeefp.h>
55671 #endif
55672
55673 int
55674 main ()
55675 {
55676 expl(0);
55677 ;
55678 return 0;
55679 }
55680 _ACEOF
55681 if ac_fn_cxx_try_compile "$LINENO"; then :
55682 glibcxx_cv_func_expl_use=yes
55683 else
55684 glibcxx_cv_func_expl_use=no
55685 fi
55686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55687 ac_ext=c
55688 ac_cpp='$CPP $CPPFLAGS'
55689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55692
55693
55694 fi
55695
55696 fi
55697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55698 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55699
55700 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55701 for ac_func in expl
55702 do :
55703 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55704 if test "x$ac_cv_func_expl" = x""yes; then :
55705 cat >>confdefs.h <<_ACEOF
55706 #define HAVE_EXPL 1
55707 _ACEOF
55708
55709 fi
55710 done
55711
55712 else
55713
55714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55715 $as_echo_n "checking for _expl declaration... " >&6; }
55716 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55717 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55718 $as_echo_n "(cached) " >&6
55719 else
55720
55721
55722 ac_ext=cpp
55723 ac_cpp='$CXXCPP $CPPFLAGS'
55724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55727
55728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55729 /* end confdefs.h. */
55730 #include <math.h>
55731 #ifdef HAVE_IEEEFP_H
55732 #include <ieeefp.h>
55733 #endif
55734
55735 int
55736 main ()
55737 {
55738 _expl(0);
55739 ;
55740 return 0;
55741 }
55742 _ACEOF
55743 if ac_fn_cxx_try_compile "$LINENO"; then :
55744 glibcxx_cv_func__expl_use=yes
55745 else
55746 glibcxx_cv_func__expl_use=no
55747 fi
55748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55749 ac_ext=c
55750 ac_cpp='$CPP $CPPFLAGS'
55751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55754
55755
55756 fi
55757
55758 fi
55759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55760 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55761
55762 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55763 for ac_func in _expl
55764 do :
55765 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55766 if test "x$ac_cv_func__expl" = x""yes; then :
55767 cat >>confdefs.h <<_ACEOF
55768 #define HAVE__EXPL 1
55769 _ACEOF
55770
55771 fi
55772 done
55773
55774 fi
55775 fi
55776
55777
55778
55779
55780
55781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55782 $as_echo_n "checking for fabsl declaration... " >&6; }
55783 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55784 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55785 $as_echo_n "(cached) " >&6
55786 else
55787
55788
55789 ac_ext=cpp
55790 ac_cpp='$CXXCPP $CPPFLAGS'
55791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55794
55795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55796 /* end confdefs.h. */
55797 #include <math.h>
55798 #ifdef HAVE_IEEEFP_H
55799 #include <ieeefp.h>
55800 #endif
55801
55802 int
55803 main ()
55804 {
55805 fabsl(0);
55806 ;
55807 return 0;
55808 }
55809 _ACEOF
55810 if ac_fn_cxx_try_compile "$LINENO"; then :
55811 glibcxx_cv_func_fabsl_use=yes
55812 else
55813 glibcxx_cv_func_fabsl_use=no
55814 fi
55815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55816 ac_ext=c
55817 ac_cpp='$CPP $CPPFLAGS'
55818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55821
55822
55823 fi
55824
55825 fi
55826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55827 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55828
55829 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55830 for ac_func in fabsl
55831 do :
55832 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55833 if test "x$ac_cv_func_fabsl" = x""yes; then :
55834 cat >>confdefs.h <<_ACEOF
55835 #define HAVE_FABSL 1
55836 _ACEOF
55837
55838 fi
55839 done
55840
55841 else
55842
55843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55844 $as_echo_n "checking for _fabsl declaration... " >&6; }
55845 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55846 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55847 $as_echo_n "(cached) " >&6
55848 else
55849
55850
55851 ac_ext=cpp
55852 ac_cpp='$CXXCPP $CPPFLAGS'
55853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55856
55857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55858 /* end confdefs.h. */
55859 #include <math.h>
55860 #ifdef HAVE_IEEEFP_H
55861 #include <ieeefp.h>
55862 #endif
55863
55864 int
55865 main ()
55866 {
55867 _fabsl(0);
55868 ;
55869 return 0;
55870 }
55871 _ACEOF
55872 if ac_fn_cxx_try_compile "$LINENO"; then :
55873 glibcxx_cv_func__fabsl_use=yes
55874 else
55875 glibcxx_cv_func__fabsl_use=no
55876 fi
55877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55878 ac_ext=c
55879 ac_cpp='$CPP $CPPFLAGS'
55880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55883
55884
55885 fi
55886
55887 fi
55888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55889 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55890
55891 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55892 for ac_func in _fabsl
55893 do :
55894 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55895 if test "x$ac_cv_func__fabsl" = x""yes; then :
55896 cat >>confdefs.h <<_ACEOF
55897 #define HAVE__FABSL 1
55898 _ACEOF
55899
55900 fi
55901 done
55902
55903 fi
55904 fi
55905
55906
55907
55908
55909
55910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55911 $as_echo_n "checking for fmodl declaration... " >&6; }
55912 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55913 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55914 $as_echo_n "(cached) " >&6
55915 else
55916
55917
55918 ac_ext=cpp
55919 ac_cpp='$CXXCPP $CPPFLAGS'
55920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55923
55924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55925 /* end confdefs.h. */
55926 #include <math.h>
55927 int
55928 main ()
55929 {
55930 fmodl(0, 0);
55931 ;
55932 return 0;
55933 }
55934 _ACEOF
55935 if ac_fn_cxx_try_compile "$LINENO"; then :
55936 glibcxx_cv_func_fmodl_use=yes
55937 else
55938 glibcxx_cv_func_fmodl_use=no
55939 fi
55940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55941 ac_ext=c
55942 ac_cpp='$CPP $CPPFLAGS'
55943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55946
55947
55948 fi
55949
55950 fi
55951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
55952 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
55953
55954 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55955 for ac_func in fmodl
55956 do :
55957 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
55958 if test "x$ac_cv_func_fmodl" = x""yes; then :
55959 cat >>confdefs.h <<_ACEOF
55960 #define HAVE_FMODL 1
55961 _ACEOF
55962
55963 fi
55964 done
55965
55966 else
55967
55968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
55969 $as_echo_n "checking for _fmodl declaration... " >&6; }
55970 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55971 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
55972 $as_echo_n "(cached) " >&6
55973 else
55974
55975
55976 ac_ext=cpp
55977 ac_cpp='$CXXCPP $CPPFLAGS'
55978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55981
55982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55983 /* end confdefs.h. */
55984 #include <math.h>
55985 int
55986 main ()
55987 {
55988 _fmodl(0, 0);
55989 ;
55990 return 0;
55991 }
55992 _ACEOF
55993 if ac_fn_cxx_try_compile "$LINENO"; then :
55994 glibcxx_cv_func__fmodl_use=yes
55995 else
55996 glibcxx_cv_func__fmodl_use=no
55997 fi
55998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55999 ac_ext=c
56000 ac_cpp='$CPP $CPPFLAGS'
56001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56004
56005
56006 fi
56007
56008 fi
56009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56010 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56011
56012 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56013 for ac_func in _fmodl
56014 do :
56015 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56016 if test "x$ac_cv_func__fmodl" = x""yes; then :
56017 cat >>confdefs.h <<_ACEOF
56018 #define HAVE__FMODL 1
56019 _ACEOF
56020
56021 fi
56022 done
56023
56024 fi
56025 fi
56026
56027
56028
56029
56030
56031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56032 $as_echo_n "checking for frexpl declaration... " >&6; }
56033 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56034 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56035 $as_echo_n "(cached) " >&6
56036 else
56037
56038
56039 ac_ext=cpp
56040 ac_cpp='$CXXCPP $CPPFLAGS'
56041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56044
56045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56046 /* end confdefs.h. */
56047 #include <math.h>
56048 int
56049 main ()
56050 {
56051 frexpl(0, 0);
56052 ;
56053 return 0;
56054 }
56055 _ACEOF
56056 if ac_fn_cxx_try_compile "$LINENO"; then :
56057 glibcxx_cv_func_frexpl_use=yes
56058 else
56059 glibcxx_cv_func_frexpl_use=no
56060 fi
56061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56062 ac_ext=c
56063 ac_cpp='$CPP $CPPFLAGS'
56064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56067
56068
56069 fi
56070
56071 fi
56072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56073 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56074
56075 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56076 for ac_func in frexpl
56077 do :
56078 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56079 if test "x$ac_cv_func_frexpl" = x""yes; then :
56080 cat >>confdefs.h <<_ACEOF
56081 #define HAVE_FREXPL 1
56082 _ACEOF
56083
56084 fi
56085 done
56086
56087 else
56088
56089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56090 $as_echo_n "checking for _frexpl declaration... " >&6; }
56091 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56092 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56093 $as_echo_n "(cached) " >&6
56094 else
56095
56096
56097 ac_ext=cpp
56098 ac_cpp='$CXXCPP $CPPFLAGS'
56099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56102
56103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56104 /* end confdefs.h. */
56105 #include <math.h>
56106 int
56107 main ()
56108 {
56109 _frexpl(0, 0);
56110 ;
56111 return 0;
56112 }
56113 _ACEOF
56114 if ac_fn_cxx_try_compile "$LINENO"; then :
56115 glibcxx_cv_func__frexpl_use=yes
56116 else
56117 glibcxx_cv_func__frexpl_use=no
56118 fi
56119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56120 ac_ext=c
56121 ac_cpp='$CPP $CPPFLAGS'
56122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56125
56126
56127 fi
56128
56129 fi
56130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56131 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56132
56133 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56134 for ac_func in _frexpl
56135 do :
56136 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56137 if test "x$ac_cv_func__frexpl" = x""yes; then :
56138 cat >>confdefs.h <<_ACEOF
56139 #define HAVE__FREXPL 1
56140 _ACEOF
56141
56142 fi
56143 done
56144
56145 fi
56146 fi
56147
56148
56149
56150
56151
56152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56153 $as_echo_n "checking for hypotl declaration... " >&6; }
56154 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56155 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56156 $as_echo_n "(cached) " >&6
56157 else
56158
56159
56160 ac_ext=cpp
56161 ac_cpp='$CXXCPP $CPPFLAGS'
56162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56165
56166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56167 /* end confdefs.h. */
56168 #include <math.h>
56169 int
56170 main ()
56171 {
56172 hypotl(0, 0);
56173 ;
56174 return 0;
56175 }
56176 _ACEOF
56177 if ac_fn_cxx_try_compile "$LINENO"; then :
56178 glibcxx_cv_func_hypotl_use=yes
56179 else
56180 glibcxx_cv_func_hypotl_use=no
56181 fi
56182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56183 ac_ext=c
56184 ac_cpp='$CPP $CPPFLAGS'
56185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56188
56189
56190 fi
56191
56192 fi
56193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56194 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56195
56196 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56197 for ac_func in hypotl
56198 do :
56199 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56200 if test "x$ac_cv_func_hypotl" = x""yes; then :
56201 cat >>confdefs.h <<_ACEOF
56202 #define HAVE_HYPOTL 1
56203 _ACEOF
56204
56205 fi
56206 done
56207
56208 else
56209
56210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56211 $as_echo_n "checking for _hypotl declaration... " >&6; }
56212 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56213 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56214 $as_echo_n "(cached) " >&6
56215 else
56216
56217
56218 ac_ext=cpp
56219 ac_cpp='$CXXCPP $CPPFLAGS'
56220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56223
56224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56225 /* end confdefs.h. */
56226 #include <math.h>
56227 int
56228 main ()
56229 {
56230 _hypotl(0, 0);
56231 ;
56232 return 0;
56233 }
56234 _ACEOF
56235 if ac_fn_cxx_try_compile "$LINENO"; then :
56236 glibcxx_cv_func__hypotl_use=yes
56237 else
56238 glibcxx_cv_func__hypotl_use=no
56239 fi
56240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56241 ac_ext=c
56242 ac_cpp='$CPP $CPPFLAGS'
56243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56246
56247
56248 fi
56249
56250 fi
56251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56252 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56253
56254 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56255 for ac_func in _hypotl
56256 do :
56257 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56258 if test "x$ac_cv_func__hypotl" = x""yes; then :
56259 cat >>confdefs.h <<_ACEOF
56260 #define HAVE__HYPOTL 1
56261 _ACEOF
56262
56263 fi
56264 done
56265
56266 fi
56267 fi
56268
56269
56270
56271
56272
56273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56274 $as_echo_n "checking for ldexpl declaration... " >&6; }
56275 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56276 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56277 $as_echo_n "(cached) " >&6
56278 else
56279
56280
56281 ac_ext=cpp
56282 ac_cpp='$CXXCPP $CPPFLAGS'
56283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56286
56287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56288 /* end confdefs.h. */
56289 #include <math.h>
56290 int
56291 main ()
56292 {
56293 ldexpl(0, 0);
56294 ;
56295 return 0;
56296 }
56297 _ACEOF
56298 if ac_fn_cxx_try_compile "$LINENO"; then :
56299 glibcxx_cv_func_ldexpl_use=yes
56300 else
56301 glibcxx_cv_func_ldexpl_use=no
56302 fi
56303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56304 ac_ext=c
56305 ac_cpp='$CPP $CPPFLAGS'
56306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56309
56310
56311 fi
56312
56313 fi
56314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56315 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56316
56317 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56318 for ac_func in ldexpl
56319 do :
56320 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56321 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56322 cat >>confdefs.h <<_ACEOF
56323 #define HAVE_LDEXPL 1
56324 _ACEOF
56325
56326 fi
56327 done
56328
56329 else
56330
56331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56332 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56333 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56334 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56335 $as_echo_n "(cached) " >&6
56336 else
56337
56338
56339 ac_ext=cpp
56340 ac_cpp='$CXXCPP $CPPFLAGS'
56341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56344
56345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56346 /* end confdefs.h. */
56347 #include <math.h>
56348 int
56349 main ()
56350 {
56351 _ldexpl(0, 0);
56352 ;
56353 return 0;
56354 }
56355 _ACEOF
56356 if ac_fn_cxx_try_compile "$LINENO"; then :
56357 glibcxx_cv_func__ldexpl_use=yes
56358 else
56359 glibcxx_cv_func__ldexpl_use=no
56360 fi
56361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56362 ac_ext=c
56363 ac_cpp='$CPP $CPPFLAGS'
56364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56367
56368
56369 fi
56370
56371 fi
56372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56373 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56374
56375 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56376 for ac_func in _ldexpl
56377 do :
56378 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56379 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56380 cat >>confdefs.h <<_ACEOF
56381 #define HAVE__LDEXPL 1
56382 _ACEOF
56383
56384 fi
56385 done
56386
56387 fi
56388 fi
56389
56390
56391
56392
56393
56394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56395 $as_echo_n "checking for logl declaration... " >&6; }
56396 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56397 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56398 $as_echo_n "(cached) " >&6
56399 else
56400
56401
56402 ac_ext=cpp
56403 ac_cpp='$CXXCPP $CPPFLAGS'
56404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56407
56408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56409 /* end confdefs.h. */
56410 #include <math.h>
56411 #ifdef HAVE_IEEEFP_H
56412 #include <ieeefp.h>
56413 #endif
56414
56415 int
56416 main ()
56417 {
56418 logl(0);
56419 ;
56420 return 0;
56421 }
56422 _ACEOF
56423 if ac_fn_cxx_try_compile "$LINENO"; then :
56424 glibcxx_cv_func_logl_use=yes
56425 else
56426 glibcxx_cv_func_logl_use=no
56427 fi
56428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56429 ac_ext=c
56430 ac_cpp='$CPP $CPPFLAGS'
56431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56434
56435
56436 fi
56437
56438 fi
56439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56440 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56441
56442 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56443 for ac_func in logl
56444 do :
56445 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56446 if test "x$ac_cv_func_logl" = x""yes; then :
56447 cat >>confdefs.h <<_ACEOF
56448 #define HAVE_LOGL 1
56449 _ACEOF
56450
56451 fi
56452 done
56453
56454 else
56455
56456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56457 $as_echo_n "checking for _logl declaration... " >&6; }
56458 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56459 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56460 $as_echo_n "(cached) " >&6
56461 else
56462
56463
56464 ac_ext=cpp
56465 ac_cpp='$CXXCPP $CPPFLAGS'
56466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56469
56470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56471 /* end confdefs.h. */
56472 #include <math.h>
56473 #ifdef HAVE_IEEEFP_H
56474 #include <ieeefp.h>
56475 #endif
56476
56477 int
56478 main ()
56479 {
56480 _logl(0);
56481 ;
56482 return 0;
56483 }
56484 _ACEOF
56485 if ac_fn_cxx_try_compile "$LINENO"; then :
56486 glibcxx_cv_func__logl_use=yes
56487 else
56488 glibcxx_cv_func__logl_use=no
56489 fi
56490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56491 ac_ext=c
56492 ac_cpp='$CPP $CPPFLAGS'
56493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56496
56497
56498 fi
56499
56500 fi
56501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56502 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56503
56504 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56505 for ac_func in _logl
56506 do :
56507 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56508 if test "x$ac_cv_func__logl" = x""yes; then :
56509 cat >>confdefs.h <<_ACEOF
56510 #define HAVE__LOGL 1
56511 _ACEOF
56512
56513 fi
56514 done
56515
56516 fi
56517 fi
56518
56519
56520
56521
56522
56523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56524 $as_echo_n "checking for log10l declaration... " >&6; }
56525 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56526 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56527 $as_echo_n "(cached) " >&6
56528 else
56529
56530
56531 ac_ext=cpp
56532 ac_cpp='$CXXCPP $CPPFLAGS'
56533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56536
56537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56538 /* end confdefs.h. */
56539 #include <math.h>
56540 #ifdef HAVE_IEEEFP_H
56541 #include <ieeefp.h>
56542 #endif
56543
56544 int
56545 main ()
56546 {
56547 log10l(0);
56548 ;
56549 return 0;
56550 }
56551 _ACEOF
56552 if ac_fn_cxx_try_compile "$LINENO"; then :
56553 glibcxx_cv_func_log10l_use=yes
56554 else
56555 glibcxx_cv_func_log10l_use=no
56556 fi
56557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56558 ac_ext=c
56559 ac_cpp='$CPP $CPPFLAGS'
56560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56563
56564
56565 fi
56566
56567 fi
56568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56569 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56570
56571 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56572 for ac_func in log10l
56573 do :
56574 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56575 if test "x$ac_cv_func_log10l" = x""yes; then :
56576 cat >>confdefs.h <<_ACEOF
56577 #define HAVE_LOG10L 1
56578 _ACEOF
56579
56580 fi
56581 done
56582
56583 else
56584
56585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56586 $as_echo_n "checking for _log10l declaration... " >&6; }
56587 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56588 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56589 $as_echo_n "(cached) " >&6
56590 else
56591
56592
56593 ac_ext=cpp
56594 ac_cpp='$CXXCPP $CPPFLAGS'
56595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56598
56599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56600 /* end confdefs.h. */
56601 #include <math.h>
56602 #ifdef HAVE_IEEEFP_H
56603 #include <ieeefp.h>
56604 #endif
56605
56606 int
56607 main ()
56608 {
56609 _log10l(0);
56610 ;
56611 return 0;
56612 }
56613 _ACEOF
56614 if ac_fn_cxx_try_compile "$LINENO"; then :
56615 glibcxx_cv_func__log10l_use=yes
56616 else
56617 glibcxx_cv_func__log10l_use=no
56618 fi
56619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56620 ac_ext=c
56621 ac_cpp='$CPP $CPPFLAGS'
56622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56625
56626
56627 fi
56628
56629 fi
56630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56631 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56632
56633 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56634 for ac_func in _log10l
56635 do :
56636 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56637 if test "x$ac_cv_func__log10l" = x""yes; then :
56638 cat >>confdefs.h <<_ACEOF
56639 #define HAVE__LOG10L 1
56640 _ACEOF
56641
56642 fi
56643 done
56644
56645 fi
56646 fi
56647
56648
56649
56650
56651
56652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56653 $as_echo_n "checking for modfl declaration... " >&6; }
56654 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56655 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56656 $as_echo_n "(cached) " >&6
56657 else
56658
56659
56660 ac_ext=cpp
56661 ac_cpp='$CXXCPP $CPPFLAGS'
56662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56665
56666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56667 /* end confdefs.h. */
56668 #include <math.h>
56669 int
56670 main ()
56671 {
56672 modfl(0, 0);
56673 ;
56674 return 0;
56675 }
56676 _ACEOF
56677 if ac_fn_cxx_try_compile "$LINENO"; then :
56678 glibcxx_cv_func_modfl_use=yes
56679 else
56680 glibcxx_cv_func_modfl_use=no
56681 fi
56682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56683 ac_ext=c
56684 ac_cpp='$CPP $CPPFLAGS'
56685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56688
56689
56690 fi
56691
56692 fi
56693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56694 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56695
56696 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56697 for ac_func in modfl
56698 do :
56699 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56700 if test "x$ac_cv_func_modfl" = x""yes; then :
56701 cat >>confdefs.h <<_ACEOF
56702 #define HAVE_MODFL 1
56703 _ACEOF
56704
56705 fi
56706 done
56707
56708 else
56709
56710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56711 $as_echo_n "checking for _modfl declaration... " >&6; }
56712 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56713 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56714 $as_echo_n "(cached) " >&6
56715 else
56716
56717
56718 ac_ext=cpp
56719 ac_cpp='$CXXCPP $CPPFLAGS'
56720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56723
56724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56725 /* end confdefs.h. */
56726 #include <math.h>
56727 int
56728 main ()
56729 {
56730 _modfl(0, 0);
56731 ;
56732 return 0;
56733 }
56734 _ACEOF
56735 if ac_fn_cxx_try_compile "$LINENO"; then :
56736 glibcxx_cv_func__modfl_use=yes
56737 else
56738 glibcxx_cv_func__modfl_use=no
56739 fi
56740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56741 ac_ext=c
56742 ac_cpp='$CPP $CPPFLAGS'
56743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56746
56747
56748 fi
56749
56750 fi
56751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56752 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56753
56754 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56755 for ac_func in _modfl
56756 do :
56757 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56758 if test "x$ac_cv_func__modfl" = x""yes; then :
56759 cat >>confdefs.h <<_ACEOF
56760 #define HAVE__MODFL 1
56761 _ACEOF
56762
56763 fi
56764 done
56765
56766 fi
56767 fi
56768
56769
56770
56771
56772
56773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56774 $as_echo_n "checking for powl declaration... " >&6; }
56775 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56776 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56777 $as_echo_n "(cached) " >&6
56778 else
56779
56780
56781 ac_ext=cpp
56782 ac_cpp='$CXXCPP $CPPFLAGS'
56783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56786
56787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56788 /* end confdefs.h. */
56789 #include <math.h>
56790 int
56791 main ()
56792 {
56793 powl(0, 0);
56794 ;
56795 return 0;
56796 }
56797 _ACEOF
56798 if ac_fn_cxx_try_compile "$LINENO"; then :
56799 glibcxx_cv_func_powl_use=yes
56800 else
56801 glibcxx_cv_func_powl_use=no
56802 fi
56803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56804 ac_ext=c
56805 ac_cpp='$CPP $CPPFLAGS'
56806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56809
56810
56811 fi
56812
56813 fi
56814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56815 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56816
56817 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56818 for ac_func in powl
56819 do :
56820 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56821 if test "x$ac_cv_func_powl" = x""yes; then :
56822 cat >>confdefs.h <<_ACEOF
56823 #define HAVE_POWL 1
56824 _ACEOF
56825
56826 fi
56827 done
56828
56829 else
56830
56831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56832 $as_echo_n "checking for _powl declaration... " >&6; }
56833 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56834 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56835 $as_echo_n "(cached) " >&6
56836 else
56837
56838
56839 ac_ext=cpp
56840 ac_cpp='$CXXCPP $CPPFLAGS'
56841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56844
56845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56846 /* end confdefs.h. */
56847 #include <math.h>
56848 int
56849 main ()
56850 {
56851 _powl(0, 0);
56852 ;
56853 return 0;
56854 }
56855 _ACEOF
56856 if ac_fn_cxx_try_compile "$LINENO"; then :
56857 glibcxx_cv_func__powl_use=yes
56858 else
56859 glibcxx_cv_func__powl_use=no
56860 fi
56861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56862 ac_ext=c
56863 ac_cpp='$CPP $CPPFLAGS'
56864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56867
56868
56869 fi
56870
56871 fi
56872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56873 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56874
56875 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56876 for ac_func in _powl
56877 do :
56878 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56879 if test "x$ac_cv_func__powl" = x""yes; then :
56880 cat >>confdefs.h <<_ACEOF
56881 #define HAVE__POWL 1
56882 _ACEOF
56883
56884 fi
56885 done
56886
56887 fi
56888 fi
56889
56890
56891
56892
56893
56894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56895 $as_echo_n "checking for sqrtl declaration... " >&6; }
56896 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56897 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56898 $as_echo_n "(cached) " >&6
56899 else
56900
56901
56902 ac_ext=cpp
56903 ac_cpp='$CXXCPP $CPPFLAGS'
56904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56907
56908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56909 /* end confdefs.h. */
56910 #include <math.h>
56911 #ifdef HAVE_IEEEFP_H
56912 #include <ieeefp.h>
56913 #endif
56914
56915 int
56916 main ()
56917 {
56918 sqrtl(0);
56919 ;
56920 return 0;
56921 }
56922 _ACEOF
56923 if ac_fn_cxx_try_compile "$LINENO"; then :
56924 glibcxx_cv_func_sqrtl_use=yes
56925 else
56926 glibcxx_cv_func_sqrtl_use=no
56927 fi
56928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56929 ac_ext=c
56930 ac_cpp='$CPP $CPPFLAGS'
56931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56934
56935
56936 fi
56937
56938 fi
56939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
56940 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
56941
56942 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
56943 for ac_func in sqrtl
56944 do :
56945 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
56946 if test "x$ac_cv_func_sqrtl" = x""yes; then :
56947 cat >>confdefs.h <<_ACEOF
56948 #define HAVE_SQRTL 1
56949 _ACEOF
56950
56951 fi
56952 done
56953
56954 else
56955
56956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
56957 $as_echo_n "checking for _sqrtl declaration... " >&6; }
56958 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
56959 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
56960 $as_echo_n "(cached) " >&6
56961 else
56962
56963
56964 ac_ext=cpp
56965 ac_cpp='$CXXCPP $CPPFLAGS'
56966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56969
56970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56971 /* end confdefs.h. */
56972 #include <math.h>
56973 #ifdef HAVE_IEEEFP_H
56974 #include <ieeefp.h>
56975 #endif
56976
56977 int
56978 main ()
56979 {
56980 _sqrtl(0);
56981 ;
56982 return 0;
56983 }
56984 _ACEOF
56985 if ac_fn_cxx_try_compile "$LINENO"; then :
56986 glibcxx_cv_func__sqrtl_use=yes
56987 else
56988 glibcxx_cv_func__sqrtl_use=no
56989 fi
56990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56991 ac_ext=c
56992 ac_cpp='$CPP $CPPFLAGS'
56993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56996
56997
56998 fi
56999
57000 fi
57001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57002 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57003
57004 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57005 for ac_func in _sqrtl
57006 do :
57007 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57008 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57009 cat >>confdefs.h <<_ACEOF
57010 #define HAVE__SQRTL 1
57011 _ACEOF
57012
57013 fi
57014 done
57015
57016 fi
57017 fi
57018
57019
57020
57021
57022
57023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57024 $as_echo_n "checking for sincosl declaration... " >&6; }
57025 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57026 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57027 $as_echo_n "(cached) " >&6
57028 else
57029
57030
57031 ac_ext=cpp
57032 ac_cpp='$CXXCPP $CPPFLAGS'
57033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57036
57037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57038 /* end confdefs.h. */
57039 #include <math.h>
57040 int
57041 main ()
57042 {
57043 sincosl(0, 0, 0);
57044 ;
57045 return 0;
57046 }
57047 _ACEOF
57048 if ac_fn_cxx_try_compile "$LINENO"; then :
57049 glibcxx_cv_func_sincosl_use=yes
57050 else
57051 glibcxx_cv_func_sincosl_use=no
57052 fi
57053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57054 ac_ext=c
57055 ac_cpp='$CPP $CPPFLAGS'
57056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57059
57060
57061 fi
57062
57063 fi
57064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57065 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57066
57067 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57068 for ac_func in sincosl
57069 do :
57070 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57071 if test "x$ac_cv_func_sincosl" = x""yes; then :
57072 cat >>confdefs.h <<_ACEOF
57073 #define HAVE_SINCOSL 1
57074 _ACEOF
57075
57076 fi
57077 done
57078
57079 else
57080
57081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57082 $as_echo_n "checking for _sincosl declaration... " >&6; }
57083 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57084 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57085 $as_echo_n "(cached) " >&6
57086 else
57087
57088
57089 ac_ext=cpp
57090 ac_cpp='$CXXCPP $CPPFLAGS'
57091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57094
57095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57096 /* end confdefs.h. */
57097 #include <math.h>
57098 int
57099 main ()
57100 {
57101 _sincosl(0, 0, 0);
57102 ;
57103 return 0;
57104 }
57105 _ACEOF
57106 if ac_fn_cxx_try_compile "$LINENO"; then :
57107 glibcxx_cv_func__sincosl_use=yes
57108 else
57109 glibcxx_cv_func__sincosl_use=no
57110 fi
57111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57112 ac_ext=c
57113 ac_cpp='$CPP $CPPFLAGS'
57114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57117
57118
57119 fi
57120
57121 fi
57122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57123 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57124
57125 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57126 for ac_func in _sincosl
57127 do :
57128 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57129 if test "x$ac_cv_func__sincosl" = x""yes; then :
57130 cat >>confdefs.h <<_ACEOF
57131 #define HAVE__SINCOSL 1
57132 _ACEOF
57133
57134 fi
57135 done
57136
57137 fi
57138 fi
57139
57140
57141
57142
57143
57144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57145 $as_echo_n "checking for finitel declaration... " >&6; }
57146 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57147 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57148 $as_echo_n "(cached) " >&6
57149 else
57150
57151
57152 ac_ext=cpp
57153 ac_cpp='$CXXCPP $CPPFLAGS'
57154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57157
57158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57159 /* end confdefs.h. */
57160 #include <math.h>
57161 #ifdef HAVE_IEEEFP_H
57162 #include <ieeefp.h>
57163 #endif
57164
57165 int
57166 main ()
57167 {
57168 finitel(0);
57169 ;
57170 return 0;
57171 }
57172 _ACEOF
57173 if ac_fn_cxx_try_compile "$LINENO"; then :
57174 glibcxx_cv_func_finitel_use=yes
57175 else
57176 glibcxx_cv_func_finitel_use=no
57177 fi
57178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57179 ac_ext=c
57180 ac_cpp='$CPP $CPPFLAGS'
57181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57184
57185
57186 fi
57187
57188 fi
57189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57190 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57191
57192 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57193 for ac_func in finitel
57194 do :
57195 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57196 if test "x$ac_cv_func_finitel" = x""yes; then :
57197 cat >>confdefs.h <<_ACEOF
57198 #define HAVE_FINITEL 1
57199 _ACEOF
57200
57201 fi
57202 done
57203
57204 else
57205
57206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57207 $as_echo_n "checking for _finitel declaration... " >&6; }
57208 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57209 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57210 $as_echo_n "(cached) " >&6
57211 else
57212
57213
57214 ac_ext=cpp
57215 ac_cpp='$CXXCPP $CPPFLAGS'
57216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57219
57220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57221 /* end confdefs.h. */
57222 #include <math.h>
57223 #ifdef HAVE_IEEEFP_H
57224 #include <ieeefp.h>
57225 #endif
57226
57227 int
57228 main ()
57229 {
57230 _finitel(0);
57231 ;
57232 return 0;
57233 }
57234 _ACEOF
57235 if ac_fn_cxx_try_compile "$LINENO"; then :
57236 glibcxx_cv_func__finitel_use=yes
57237 else
57238 glibcxx_cv_func__finitel_use=no
57239 fi
57240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57241 ac_ext=c
57242 ac_cpp='$CPP $CPPFLAGS'
57243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57246
57247
57248 fi
57249
57250 fi
57251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57252 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57253
57254 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57255 for ac_func in _finitel
57256 do :
57257 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57258 if test "x$ac_cv_func__finitel" = x""yes; then :
57259 cat >>confdefs.h <<_ACEOF
57260 #define HAVE__FINITEL 1
57261 _ACEOF
57262
57263 fi
57264 done
57265
57266 fi
57267 fi
57268
57269
57270
57271
57272 LIBS="$ac_save_LIBS"
57273 CXXFLAGS="$ac_save_CXXFLAGS"
57274
57275
57276 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57277 ac_save_CXXFLAGS="$CXXFLAGS"
57278 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57279
57280
57281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57282 $as_echo_n "checking for strtold declaration... " >&6; }
57283 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57284 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57285 $as_echo_n "(cached) " >&6
57286 else
57287
57288
57289 ac_ext=cpp
57290 ac_cpp='$CXXCPP $CPPFLAGS'
57291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57294
57295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57296 /* end confdefs.h. */
57297 #include <stdlib.h>
57298 int
57299 main ()
57300 {
57301 strtold(0, 0);
57302 ;
57303 return 0;
57304 }
57305 _ACEOF
57306 if ac_fn_cxx_try_compile "$LINENO"; then :
57307 glibcxx_cv_func_strtold_use=yes
57308 else
57309 glibcxx_cv_func_strtold_use=no
57310 fi
57311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57312 ac_ext=c
57313 ac_cpp='$CPP $CPPFLAGS'
57314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57317
57318
57319 fi
57320
57321 fi
57322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57323 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57324 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57325 for ac_func in strtold
57326 do :
57327 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57328 if test "x$ac_cv_func_strtold" = x""yes; then :
57329 cat >>confdefs.h <<_ACEOF
57330 #define HAVE_STRTOLD 1
57331 _ACEOF
57332
57333 fi
57334 done
57335
57336 fi
57337
57338
57339
57340
57341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57342 $as_echo_n "checking for strtof declaration... " >&6; }
57343 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57344 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57345 $as_echo_n "(cached) " >&6
57346 else
57347
57348
57349 ac_ext=cpp
57350 ac_cpp='$CXXCPP $CPPFLAGS'
57351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57354
57355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57356 /* end confdefs.h. */
57357 #include <stdlib.h>
57358 int
57359 main ()
57360 {
57361 strtof(0, 0);
57362 ;
57363 return 0;
57364 }
57365 _ACEOF
57366 if ac_fn_cxx_try_compile "$LINENO"; then :
57367 glibcxx_cv_func_strtof_use=yes
57368 else
57369 glibcxx_cv_func_strtof_use=no
57370 fi
57371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57372 ac_ext=c
57373 ac_cpp='$CPP $CPPFLAGS'
57374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57377
57378
57379 fi
57380
57381 fi
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57383 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57384 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57385 for ac_func in strtof
57386 do :
57387 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57388 if test "x$ac_cv_func_strtof" = x""yes; then :
57389 cat >>confdefs.h <<_ACEOF
57390 #define HAVE_STRTOF 1
57391 _ACEOF
57392
57393 fi
57394 done
57395
57396 fi
57397
57398
57399
57400
57401 CXXFLAGS="$ac_save_CXXFLAGS"
57402
57403 ;;
57404 *-netbsd*)
57405 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57406
57407
57408 # If we're not using GNU ld, then there's no point in even trying these
57409 # tests. Check for that first. We should have already tested for gld
57410 # by now (in libtool), but require it now just to be safe...
57411 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57412 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57413
57414
57415
57416 # The name set by libtool depends on the version of libtool. Shame on us
57417 # for depending on an impl detail, but c'est la vie. Older versions used
57418 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57419 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57420 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57421 # set (hence we're using an older libtool), then set it.
57422 if test x${with_gnu_ld+set} != xset; then
57423 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57424 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57425 with_gnu_ld=no
57426 else
57427 with_gnu_ld=$ac_cv_prog_gnu_ld
57428 fi
57429 fi
57430
57431 # Start by getting the version number. I think the libtool test already
57432 # does some of this, but throws away the result.
57433 glibcxx_ld_is_gold=no
57434 if test x"$with_gnu_ld" = x"yes"; then
57435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57436 $as_echo_n "checking for ld version... " >&6; }
57437
57438 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57439 glibcxx_ld_is_gold=yes
57440 fi
57441 ldver=`$LD --version 2>/dev/null |
57442 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57443
57444 glibcxx_gnu_ld_version=`echo $ldver | \
57445 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57447 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57448 fi
57449
57450 # Set --gc-sections.
57451 glibcxx_have_gc_sections=no
57452 if test "$glibcxx_ld_is_gold" = "yes"; then
57453 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57454 glibcxx_have_gc_sections=yes
57455 fi
57456 else
57457 glibcxx_gcsections_min_ld=21602
57458 if test x"$with_gnu_ld" = x"yes" &&
57459 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57460 glibcxx_have_gc_sections=yes
57461 fi
57462 fi
57463 if test "$glibcxx_have_gc_sections" = "yes"; then
57464 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57465 # NB: This flag only works reliably after 2.16.1. Configure tests
57466 # for this are difficult, so hard wire a value that should work.
57467
57468 ac_test_CFLAGS="${CFLAGS+set}"
57469 ac_save_CFLAGS="$CFLAGS"
57470 CFLAGS='-Wl,--gc-sections'
57471
57472 # Check for -Wl,--gc-sections
57473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57474 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57475 if test x$gcc_no_link = xyes; then
57476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57477 fi
57478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57479 /* end confdefs.h. */
57480 int one(void) { return 1; }
57481 int two(void) { return 2; }
57482
57483 int
57484 main ()
57485 {
57486 two();
57487 ;
57488 return 0;
57489 }
57490 _ACEOF
57491 if ac_fn_c_try_link "$LINENO"; then :
57492 ac_gcsections=yes
57493 else
57494 ac_gcsections=no
57495 fi
57496 rm -f core conftest.err conftest.$ac_objext \
57497 conftest$ac_exeext conftest.$ac_ext
57498 if test "$ac_gcsections" = "yes"; then
57499 rm -f conftest.c
57500 touch conftest.c
57501 if $CC -c conftest.c; then
57502 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57503 grep "Warning: gc-sections option ignored" > /dev/null; then
57504 ac_gcsections=no
57505 fi
57506 fi
57507 rm -f conftest.c conftest.o conftest
57508 fi
57509 if test "$ac_gcsections" = "yes"; then
57510 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57511 fi
57512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57513 $as_echo "$ac_gcsections" >&6; }
57514
57515 if test "$ac_test_CFLAGS" = set; then
57516 CFLAGS="$ac_save_CFLAGS"
57517 else
57518 # this is the suspicious part
57519 CFLAGS=''
57520 fi
57521 fi
57522
57523 # Set -z,relro.
57524 # Note this is only for shared objects.
57525 ac_ld_relro=no
57526 if test x"$with_gnu_ld" = x"yes"; then
57527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57528 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57529 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57530 if test -n "$cxx_z_relo"; then
57531 OPT_LDFLAGS="-Wl,-z,relro"
57532 ac_ld_relro=yes
57533 fi
57534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57535 $as_echo "$ac_ld_relro" >&6; }
57536 fi
57537
57538 # Set linker optimization flags.
57539 if test x"$with_gnu_ld" = x"yes"; then
57540 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57541 fi
57542
57543
57544
57545
57546 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57547
57548 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57549
57550 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57551
57552 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57553
57554 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57555
57556 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57557
57558 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57559
57560 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57561
57562 if test x"long_double_math_on_this_cpu" = x"yes"; then
57563 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57564
57565 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57566
57567 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57568
57569 fi
57570 ;;
57571 *-qnx6.1* | *-qnx6.2*)
57572 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57573
57574
57575 # If we're not using GNU ld, then there's no point in even trying these
57576 # tests. Check for that first. We should have already tested for gld
57577 # by now (in libtool), but require it now just to be safe...
57578 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57579 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57580
57581
57582
57583 # The name set by libtool depends on the version of libtool. Shame on us
57584 # for depending on an impl detail, but c'est la vie. Older versions used
57585 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57586 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57587 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57588 # set (hence we're using an older libtool), then set it.
57589 if test x${with_gnu_ld+set} != xset; then
57590 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57591 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57592 with_gnu_ld=no
57593 else
57594 with_gnu_ld=$ac_cv_prog_gnu_ld
57595 fi
57596 fi
57597
57598 # Start by getting the version number. I think the libtool test already
57599 # does some of this, but throws away the result.
57600 glibcxx_ld_is_gold=no
57601 if test x"$with_gnu_ld" = x"yes"; then
57602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57603 $as_echo_n "checking for ld version... " >&6; }
57604
57605 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57606 glibcxx_ld_is_gold=yes
57607 fi
57608 ldver=`$LD --version 2>/dev/null |
57609 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57610
57611 glibcxx_gnu_ld_version=`echo $ldver | \
57612 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57614 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57615 fi
57616
57617 # Set --gc-sections.
57618 glibcxx_have_gc_sections=no
57619 if test "$glibcxx_ld_is_gold" = "yes"; then
57620 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57621 glibcxx_have_gc_sections=yes
57622 fi
57623 else
57624 glibcxx_gcsections_min_ld=21602
57625 if test x"$with_gnu_ld" = x"yes" &&
57626 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57627 glibcxx_have_gc_sections=yes
57628 fi
57629 fi
57630 if test "$glibcxx_have_gc_sections" = "yes"; then
57631 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57632 # NB: This flag only works reliably after 2.16.1. Configure tests
57633 # for this are difficult, so hard wire a value that should work.
57634
57635 ac_test_CFLAGS="${CFLAGS+set}"
57636 ac_save_CFLAGS="$CFLAGS"
57637 CFLAGS='-Wl,--gc-sections'
57638
57639 # Check for -Wl,--gc-sections
57640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57641 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57642 if test x$gcc_no_link = xyes; then
57643 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57644 fi
57645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57646 /* end confdefs.h. */
57647 int one(void) { return 1; }
57648 int two(void) { return 2; }
57649
57650 int
57651 main ()
57652 {
57653 two();
57654 ;
57655 return 0;
57656 }
57657 _ACEOF
57658 if ac_fn_c_try_link "$LINENO"; then :
57659 ac_gcsections=yes
57660 else
57661 ac_gcsections=no
57662 fi
57663 rm -f core conftest.err conftest.$ac_objext \
57664 conftest$ac_exeext conftest.$ac_ext
57665 if test "$ac_gcsections" = "yes"; then
57666 rm -f conftest.c
57667 touch conftest.c
57668 if $CC -c conftest.c; then
57669 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57670 grep "Warning: gc-sections option ignored" > /dev/null; then
57671 ac_gcsections=no
57672 fi
57673 fi
57674 rm -f conftest.c conftest.o conftest
57675 fi
57676 if test "$ac_gcsections" = "yes"; then
57677 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57678 fi
57679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57680 $as_echo "$ac_gcsections" >&6; }
57681
57682 if test "$ac_test_CFLAGS" = set; then
57683 CFLAGS="$ac_save_CFLAGS"
57684 else
57685 # this is the suspicious part
57686 CFLAGS=''
57687 fi
57688 fi
57689
57690 # Set -z,relro.
57691 # Note this is only for shared objects.
57692 ac_ld_relro=no
57693 if test x"$with_gnu_ld" = x"yes"; then
57694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57695 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57696 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57697 if test -n "$cxx_z_relo"; then
57698 OPT_LDFLAGS="-Wl,-z,relro"
57699 ac_ld_relro=yes
57700 fi
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57702 $as_echo "$ac_ld_relro" >&6; }
57703 fi
57704
57705 # Set linker optimization flags.
57706 if test x"$with_gnu_ld" = x"yes"; then
57707 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57708 fi
57709
57710
57711
57712
57713 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57714
57715 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57716
57717 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57718
57719 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57720
57721 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57722
57723 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57724
57725 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57726
57727 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57728
57729 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57730
57731 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57732
57733 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57734
57735 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57736
57737 ;;
57738 *-rtems*)
57739
57740 # All these tests are for C++; save the language and the compiler flags.
57741 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57742 # found in GLIBCXX_CONFIGURE.
57743
57744 ac_ext=cpp
57745 ac_cpp='$CXXCPP $CPPFLAGS'
57746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57749
57750 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57751 ac_save_CXXFLAGS="$CXXFLAGS"
57752
57753 # Check for maintainer-mode bits.
57754 if test x"$USE_MAINTAINER_MODE" = xno; then
57755 WERROR=''
57756 else
57757 WERROR='-Werror'
57758 fi
57759
57760 # Check for -ffunction-sections -fdata-sections
57761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57762 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57763 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57765 /* end confdefs.h. */
57766 int foo; void bar() { };
57767 int
57768 main ()
57769 {
57770
57771 ;
57772 return 0;
57773 }
57774 _ACEOF
57775 if ac_fn_cxx_try_compile "$LINENO"; then :
57776 ac_fdsections=yes
57777 else
57778 ac_fdsections=no
57779 fi
57780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57781 if test "$ac_test_CXXFLAGS" = set; then
57782 CXXFLAGS="$ac_save_CXXFLAGS"
57783 else
57784 # this is the suspicious part
57785 CXXFLAGS=''
57786 fi
57787 if test x"$ac_fdsections" = x"yes"; then
57788 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57789 fi
57790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57791 $as_echo "$ac_fdsections" >&6; }
57792
57793 ac_ext=c
57794 ac_cpp='$CPP $CPPFLAGS'
57795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57798
57799
57800
57801
57802
57803 # If we're not using GNU ld, then there's no point in even trying these
57804 # tests. Check for that first. We should have already tested for gld
57805 # by now (in libtool), but require it now just to be safe...
57806 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57807 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57808
57809
57810
57811 # The name set by libtool depends on the version of libtool. Shame on us
57812 # for depending on an impl detail, but c'est la vie. Older versions used
57813 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57814 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57815 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57816 # set (hence we're using an older libtool), then set it.
57817 if test x${with_gnu_ld+set} != xset; then
57818 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57819 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57820 with_gnu_ld=no
57821 else
57822 with_gnu_ld=$ac_cv_prog_gnu_ld
57823 fi
57824 fi
57825
57826 # Start by getting the version number. I think the libtool test already
57827 # does some of this, but throws away the result.
57828 glibcxx_ld_is_gold=no
57829 if test x"$with_gnu_ld" = x"yes"; then
57830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57831 $as_echo_n "checking for ld version... " >&6; }
57832
57833 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57834 glibcxx_ld_is_gold=yes
57835 fi
57836 ldver=`$LD --version 2>/dev/null |
57837 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
57838
57839 glibcxx_gnu_ld_version=`echo $ldver | \
57840 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57842 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57843 fi
57844
57845 # Set --gc-sections.
57846 glibcxx_have_gc_sections=no
57847 if test "$glibcxx_ld_is_gold" = "yes"; then
57848 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57849 glibcxx_have_gc_sections=yes
57850 fi
57851 else
57852 glibcxx_gcsections_min_ld=21602
57853 if test x"$with_gnu_ld" = x"yes" &&
57854 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57855 glibcxx_have_gc_sections=yes
57856 fi
57857 fi
57858 if test "$glibcxx_have_gc_sections" = "yes"; then
57859 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57860 # NB: This flag only works reliably after 2.16.1. Configure tests
57861 # for this are difficult, so hard wire a value that should work.
57862
57863 ac_test_CFLAGS="${CFLAGS+set}"
57864 ac_save_CFLAGS="$CFLAGS"
57865 CFLAGS='-Wl,--gc-sections'
57866
57867 # Check for -Wl,--gc-sections
57868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57869 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57870 if test x$gcc_no_link = xyes; then
57871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57872 fi
57873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57874 /* end confdefs.h. */
57875 int one(void) { return 1; }
57876 int two(void) { return 2; }
57877
57878 int
57879 main ()
57880 {
57881 two();
57882 ;
57883 return 0;
57884 }
57885 _ACEOF
57886 if ac_fn_c_try_link "$LINENO"; then :
57887 ac_gcsections=yes
57888 else
57889 ac_gcsections=no
57890 fi
57891 rm -f core conftest.err conftest.$ac_objext \
57892 conftest$ac_exeext conftest.$ac_ext
57893 if test "$ac_gcsections" = "yes"; then
57894 rm -f conftest.c
57895 touch conftest.c
57896 if $CC -c conftest.c; then
57897 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57898 grep "Warning: gc-sections option ignored" > /dev/null; then
57899 ac_gcsections=no
57900 fi
57901 fi
57902 rm -f conftest.c conftest.o conftest
57903 fi
57904 if test "$ac_gcsections" = "yes"; then
57905 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57906 fi
57907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57908 $as_echo "$ac_gcsections" >&6; }
57909
57910 if test "$ac_test_CFLAGS" = set; then
57911 CFLAGS="$ac_save_CFLAGS"
57912 else
57913 # this is the suspicious part
57914 CFLAGS=''
57915 fi
57916 fi
57917
57918 # Set -z,relro.
57919 # Note this is only for shared objects.
57920 ac_ld_relro=no
57921 if test x"$with_gnu_ld" = x"yes"; then
57922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57923 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57924 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57925 if test -n "$cxx_z_relo"; then
57926 OPT_LDFLAGS="-Wl,-z,relro"
57927 ac_ld_relro=yes
57928 fi
57929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57930 $as_echo "$ac_ld_relro" >&6; }
57931 fi
57932
57933 # Set linker optimization flags.
57934 if test x"$with_gnu_ld" = x"yes"; then
57935 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57936 fi
57937
57938
57939
57940
57941
57942 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57943 ac_save_CXXFLAGS="$CXXFLAGS"
57944 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57945
57946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
57947 $as_echo_n "checking for sin in -lm... " >&6; }
57948 if test "${ac_cv_lib_m_sin+set}" = set; then :
57949 $as_echo_n "(cached) " >&6
57950 else
57951 ac_check_lib_save_LIBS=$LIBS
57952 LIBS="-lm $LIBS"
57953 if test x$gcc_no_link = xyes; then
57954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57955 fi
57956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57957 /* end confdefs.h. */
57958
57959 /* Override any GCC internal prototype to avoid an error.
57960 Use char because int might match the return type of a GCC
57961 builtin and then its argument prototype would still apply. */
57962 #ifdef __cplusplus
57963 extern "C"
57964 #endif
57965 char sin ();
57966 int
57967 main ()
57968 {
57969 return sin ();
57970 ;
57971 return 0;
57972 }
57973 _ACEOF
57974 if ac_fn_c_try_link "$LINENO"; then :
57975 ac_cv_lib_m_sin=yes
57976 else
57977 ac_cv_lib_m_sin=no
57978 fi
57979 rm -f core conftest.err conftest.$ac_objext \
57980 conftest$ac_exeext conftest.$ac_ext
57981 LIBS=$ac_check_lib_save_LIBS
57982 fi
57983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
57984 $as_echo "$ac_cv_lib_m_sin" >&6; }
57985 if test "x$ac_cv_lib_m_sin" = x""yes; then :
57986 libm="-lm"
57987 fi
57988
57989 ac_save_LIBS="$LIBS"
57990 LIBS="$LIBS $libm"
57991
57992
57993
57994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
57995 $as_echo_n "checking for isinf declaration... " >&6; }
57996 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
57997 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
57998 $as_echo_n "(cached) " >&6
57999 else
58000
58001
58002 ac_ext=cpp
58003 ac_cpp='$CXXCPP $CPPFLAGS'
58004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58007
58008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58009 /* end confdefs.h. */
58010 #include <math.h>
58011 #ifdef HAVE_IEEEFP_H
58012 #include <ieeefp.h>
58013 #endif
58014
58015 int
58016 main ()
58017 {
58018 isinf(0);
58019 ;
58020 return 0;
58021 }
58022 _ACEOF
58023 if ac_fn_cxx_try_compile "$LINENO"; then :
58024 glibcxx_cv_func_isinf_use=yes
58025 else
58026 glibcxx_cv_func_isinf_use=no
58027 fi
58028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58029 ac_ext=c
58030 ac_cpp='$CPP $CPPFLAGS'
58031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58034
58035
58036 fi
58037
58038 fi
58039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58040 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58041
58042 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58043 for ac_func in isinf
58044 do :
58045 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58046 if test "x$ac_cv_func_isinf" = x""yes; then :
58047 cat >>confdefs.h <<_ACEOF
58048 #define HAVE_ISINF 1
58049 _ACEOF
58050
58051 fi
58052 done
58053
58054 else
58055
58056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58057 $as_echo_n "checking for _isinf declaration... " >&6; }
58058 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58059 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58060 $as_echo_n "(cached) " >&6
58061 else
58062
58063
58064 ac_ext=cpp
58065 ac_cpp='$CXXCPP $CPPFLAGS'
58066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58069
58070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58071 /* end confdefs.h. */
58072 #include <math.h>
58073 #ifdef HAVE_IEEEFP_H
58074 #include <ieeefp.h>
58075 #endif
58076
58077 int
58078 main ()
58079 {
58080 _isinf(0);
58081 ;
58082 return 0;
58083 }
58084 _ACEOF
58085 if ac_fn_cxx_try_compile "$LINENO"; then :
58086 glibcxx_cv_func__isinf_use=yes
58087 else
58088 glibcxx_cv_func__isinf_use=no
58089 fi
58090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58091 ac_ext=c
58092 ac_cpp='$CPP $CPPFLAGS'
58093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58096
58097
58098 fi
58099
58100 fi
58101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58102 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58103
58104 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58105 for ac_func in _isinf
58106 do :
58107 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58108 if test "x$ac_cv_func__isinf" = x""yes; then :
58109 cat >>confdefs.h <<_ACEOF
58110 #define HAVE__ISINF 1
58111 _ACEOF
58112
58113 fi
58114 done
58115
58116 fi
58117 fi
58118
58119
58120
58121
58122
58123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58124 $as_echo_n "checking for isnan declaration... " >&6; }
58125 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58126 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58127 $as_echo_n "(cached) " >&6
58128 else
58129
58130
58131 ac_ext=cpp
58132 ac_cpp='$CXXCPP $CPPFLAGS'
58133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58136
58137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58138 /* end confdefs.h. */
58139 #include <math.h>
58140 #ifdef HAVE_IEEEFP_H
58141 #include <ieeefp.h>
58142 #endif
58143
58144 int
58145 main ()
58146 {
58147 isnan(0);
58148 ;
58149 return 0;
58150 }
58151 _ACEOF
58152 if ac_fn_cxx_try_compile "$LINENO"; then :
58153 glibcxx_cv_func_isnan_use=yes
58154 else
58155 glibcxx_cv_func_isnan_use=no
58156 fi
58157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58158 ac_ext=c
58159 ac_cpp='$CPP $CPPFLAGS'
58160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58163
58164
58165 fi
58166
58167 fi
58168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58169 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58170
58171 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58172 for ac_func in isnan
58173 do :
58174 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58175 if test "x$ac_cv_func_isnan" = x""yes; then :
58176 cat >>confdefs.h <<_ACEOF
58177 #define HAVE_ISNAN 1
58178 _ACEOF
58179
58180 fi
58181 done
58182
58183 else
58184
58185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58186 $as_echo_n "checking for _isnan declaration... " >&6; }
58187 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58188 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58189 $as_echo_n "(cached) " >&6
58190 else
58191
58192
58193 ac_ext=cpp
58194 ac_cpp='$CXXCPP $CPPFLAGS'
58195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58198
58199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58200 /* end confdefs.h. */
58201 #include <math.h>
58202 #ifdef HAVE_IEEEFP_H
58203 #include <ieeefp.h>
58204 #endif
58205
58206 int
58207 main ()
58208 {
58209 _isnan(0);
58210 ;
58211 return 0;
58212 }
58213 _ACEOF
58214 if ac_fn_cxx_try_compile "$LINENO"; then :
58215 glibcxx_cv_func__isnan_use=yes
58216 else
58217 glibcxx_cv_func__isnan_use=no
58218 fi
58219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58220 ac_ext=c
58221 ac_cpp='$CPP $CPPFLAGS'
58222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58225
58226
58227 fi
58228
58229 fi
58230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58231 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58232
58233 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58234 for ac_func in _isnan
58235 do :
58236 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58237 if test "x$ac_cv_func__isnan" = x""yes; then :
58238 cat >>confdefs.h <<_ACEOF
58239 #define HAVE__ISNAN 1
58240 _ACEOF
58241
58242 fi
58243 done
58244
58245 fi
58246 fi
58247
58248
58249
58250
58251
58252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58253 $as_echo_n "checking for finite declaration... " >&6; }
58254 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58255 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58256 $as_echo_n "(cached) " >&6
58257 else
58258
58259
58260 ac_ext=cpp
58261 ac_cpp='$CXXCPP $CPPFLAGS'
58262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58265
58266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58267 /* end confdefs.h. */
58268 #include <math.h>
58269 #ifdef HAVE_IEEEFP_H
58270 #include <ieeefp.h>
58271 #endif
58272
58273 int
58274 main ()
58275 {
58276 finite(0);
58277 ;
58278 return 0;
58279 }
58280 _ACEOF
58281 if ac_fn_cxx_try_compile "$LINENO"; then :
58282 glibcxx_cv_func_finite_use=yes
58283 else
58284 glibcxx_cv_func_finite_use=no
58285 fi
58286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58287 ac_ext=c
58288 ac_cpp='$CPP $CPPFLAGS'
58289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58292
58293
58294 fi
58295
58296 fi
58297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58298 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58299
58300 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58301 for ac_func in finite
58302 do :
58303 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58304 if test "x$ac_cv_func_finite" = x""yes; then :
58305 cat >>confdefs.h <<_ACEOF
58306 #define HAVE_FINITE 1
58307 _ACEOF
58308
58309 fi
58310 done
58311
58312 else
58313
58314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58315 $as_echo_n "checking for _finite declaration... " >&6; }
58316 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58317 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58318 $as_echo_n "(cached) " >&6
58319 else
58320
58321
58322 ac_ext=cpp
58323 ac_cpp='$CXXCPP $CPPFLAGS'
58324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58327
58328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58329 /* end confdefs.h. */
58330 #include <math.h>
58331 #ifdef HAVE_IEEEFP_H
58332 #include <ieeefp.h>
58333 #endif
58334
58335 int
58336 main ()
58337 {
58338 _finite(0);
58339 ;
58340 return 0;
58341 }
58342 _ACEOF
58343 if ac_fn_cxx_try_compile "$LINENO"; then :
58344 glibcxx_cv_func__finite_use=yes
58345 else
58346 glibcxx_cv_func__finite_use=no
58347 fi
58348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58349 ac_ext=c
58350 ac_cpp='$CPP $CPPFLAGS'
58351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58354
58355
58356 fi
58357
58358 fi
58359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58360 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58361
58362 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58363 for ac_func in _finite
58364 do :
58365 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58366 if test "x$ac_cv_func__finite" = x""yes; then :
58367 cat >>confdefs.h <<_ACEOF
58368 #define HAVE__FINITE 1
58369 _ACEOF
58370
58371 fi
58372 done
58373
58374 fi
58375 fi
58376
58377
58378
58379
58380
58381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58382 $as_echo_n "checking for sincos declaration... " >&6; }
58383 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58384 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58385 $as_echo_n "(cached) " >&6
58386 else
58387
58388
58389 ac_ext=cpp
58390 ac_cpp='$CXXCPP $CPPFLAGS'
58391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58394
58395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58396 /* end confdefs.h. */
58397 #include <math.h>
58398 int
58399 main ()
58400 {
58401 sincos(0, 0, 0);
58402 ;
58403 return 0;
58404 }
58405 _ACEOF
58406 if ac_fn_cxx_try_compile "$LINENO"; then :
58407 glibcxx_cv_func_sincos_use=yes
58408 else
58409 glibcxx_cv_func_sincos_use=no
58410 fi
58411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58412 ac_ext=c
58413 ac_cpp='$CPP $CPPFLAGS'
58414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58417
58418
58419 fi
58420
58421 fi
58422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58423 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58424
58425 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58426 for ac_func in sincos
58427 do :
58428 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58429 if test "x$ac_cv_func_sincos" = x""yes; then :
58430 cat >>confdefs.h <<_ACEOF
58431 #define HAVE_SINCOS 1
58432 _ACEOF
58433
58434 fi
58435 done
58436
58437 else
58438
58439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58440 $as_echo_n "checking for _sincos declaration... " >&6; }
58441 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58442 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58443 $as_echo_n "(cached) " >&6
58444 else
58445
58446
58447 ac_ext=cpp
58448 ac_cpp='$CXXCPP $CPPFLAGS'
58449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58452
58453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58454 /* end confdefs.h. */
58455 #include <math.h>
58456 int
58457 main ()
58458 {
58459 _sincos(0, 0, 0);
58460 ;
58461 return 0;
58462 }
58463 _ACEOF
58464 if ac_fn_cxx_try_compile "$LINENO"; then :
58465 glibcxx_cv_func__sincos_use=yes
58466 else
58467 glibcxx_cv_func__sincos_use=no
58468 fi
58469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58470 ac_ext=c
58471 ac_cpp='$CPP $CPPFLAGS'
58472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58475
58476
58477 fi
58478
58479 fi
58480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58481 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58482
58483 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58484 for ac_func in _sincos
58485 do :
58486 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58487 if test "x$ac_cv_func__sincos" = x""yes; then :
58488 cat >>confdefs.h <<_ACEOF
58489 #define HAVE__SINCOS 1
58490 _ACEOF
58491
58492 fi
58493 done
58494
58495 fi
58496 fi
58497
58498
58499
58500
58501
58502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58503 $as_echo_n "checking for fpclass declaration... " >&6; }
58504 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58505 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58506 $as_echo_n "(cached) " >&6
58507 else
58508
58509
58510 ac_ext=cpp
58511 ac_cpp='$CXXCPP $CPPFLAGS'
58512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58515
58516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58517 /* end confdefs.h. */
58518 #include <math.h>
58519 #ifdef HAVE_IEEEFP_H
58520 #include <ieeefp.h>
58521 #endif
58522
58523 int
58524 main ()
58525 {
58526 fpclass(0);
58527 ;
58528 return 0;
58529 }
58530 _ACEOF
58531 if ac_fn_cxx_try_compile "$LINENO"; then :
58532 glibcxx_cv_func_fpclass_use=yes
58533 else
58534 glibcxx_cv_func_fpclass_use=no
58535 fi
58536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58537 ac_ext=c
58538 ac_cpp='$CPP $CPPFLAGS'
58539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58542
58543
58544 fi
58545
58546 fi
58547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58548 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58549
58550 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58551 for ac_func in fpclass
58552 do :
58553 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58554 if test "x$ac_cv_func_fpclass" = x""yes; then :
58555 cat >>confdefs.h <<_ACEOF
58556 #define HAVE_FPCLASS 1
58557 _ACEOF
58558
58559 fi
58560 done
58561
58562 else
58563
58564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58565 $as_echo_n "checking for _fpclass declaration... " >&6; }
58566 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58567 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58568 $as_echo_n "(cached) " >&6
58569 else
58570
58571
58572 ac_ext=cpp
58573 ac_cpp='$CXXCPP $CPPFLAGS'
58574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58577
58578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58579 /* end confdefs.h. */
58580 #include <math.h>
58581 #ifdef HAVE_IEEEFP_H
58582 #include <ieeefp.h>
58583 #endif
58584
58585 int
58586 main ()
58587 {
58588 _fpclass(0);
58589 ;
58590 return 0;
58591 }
58592 _ACEOF
58593 if ac_fn_cxx_try_compile "$LINENO"; then :
58594 glibcxx_cv_func__fpclass_use=yes
58595 else
58596 glibcxx_cv_func__fpclass_use=no
58597 fi
58598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58599 ac_ext=c
58600 ac_cpp='$CPP $CPPFLAGS'
58601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58604
58605
58606 fi
58607
58608 fi
58609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58610 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58611
58612 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58613 for ac_func in _fpclass
58614 do :
58615 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58616 if test "x$ac_cv_func__fpclass" = x""yes; then :
58617 cat >>confdefs.h <<_ACEOF
58618 #define HAVE__FPCLASS 1
58619 _ACEOF
58620
58621 fi
58622 done
58623
58624 fi
58625 fi
58626
58627
58628
58629
58630
58631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58632 $as_echo_n "checking for qfpclass declaration... " >&6; }
58633 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58634 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58635 $as_echo_n "(cached) " >&6
58636 else
58637
58638
58639 ac_ext=cpp
58640 ac_cpp='$CXXCPP $CPPFLAGS'
58641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58644
58645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58646 /* end confdefs.h. */
58647 #include <math.h>
58648 #ifdef HAVE_IEEEFP_H
58649 #include <ieeefp.h>
58650 #endif
58651
58652 int
58653 main ()
58654 {
58655 qfpclass(0);
58656 ;
58657 return 0;
58658 }
58659 _ACEOF
58660 if ac_fn_cxx_try_compile "$LINENO"; then :
58661 glibcxx_cv_func_qfpclass_use=yes
58662 else
58663 glibcxx_cv_func_qfpclass_use=no
58664 fi
58665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58666 ac_ext=c
58667 ac_cpp='$CPP $CPPFLAGS'
58668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58671
58672
58673 fi
58674
58675 fi
58676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58677 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58678
58679 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58680 for ac_func in qfpclass
58681 do :
58682 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58683 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58684 cat >>confdefs.h <<_ACEOF
58685 #define HAVE_QFPCLASS 1
58686 _ACEOF
58687
58688 fi
58689 done
58690
58691 else
58692
58693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58694 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58695 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58696 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58697 $as_echo_n "(cached) " >&6
58698 else
58699
58700
58701 ac_ext=cpp
58702 ac_cpp='$CXXCPP $CPPFLAGS'
58703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58706
58707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58708 /* end confdefs.h. */
58709 #include <math.h>
58710 #ifdef HAVE_IEEEFP_H
58711 #include <ieeefp.h>
58712 #endif
58713
58714 int
58715 main ()
58716 {
58717 _qfpclass(0);
58718 ;
58719 return 0;
58720 }
58721 _ACEOF
58722 if ac_fn_cxx_try_compile "$LINENO"; then :
58723 glibcxx_cv_func__qfpclass_use=yes
58724 else
58725 glibcxx_cv_func__qfpclass_use=no
58726 fi
58727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58728 ac_ext=c
58729 ac_cpp='$CPP $CPPFLAGS'
58730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58733
58734
58735 fi
58736
58737 fi
58738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58739 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58740
58741 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58742 for ac_func in _qfpclass
58743 do :
58744 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58745 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58746 cat >>confdefs.h <<_ACEOF
58747 #define HAVE__QFPCLASS 1
58748 _ACEOF
58749
58750 fi
58751 done
58752
58753 fi
58754 fi
58755
58756
58757
58758
58759
58760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58761 $as_echo_n "checking for hypot declaration... " >&6; }
58762 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58763 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58764 $as_echo_n "(cached) " >&6
58765 else
58766
58767
58768 ac_ext=cpp
58769 ac_cpp='$CXXCPP $CPPFLAGS'
58770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58773
58774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58775 /* end confdefs.h. */
58776 #include <math.h>
58777 int
58778 main ()
58779 {
58780 hypot(0, 0);
58781 ;
58782 return 0;
58783 }
58784 _ACEOF
58785 if ac_fn_cxx_try_compile "$LINENO"; then :
58786 glibcxx_cv_func_hypot_use=yes
58787 else
58788 glibcxx_cv_func_hypot_use=no
58789 fi
58790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58791 ac_ext=c
58792 ac_cpp='$CPP $CPPFLAGS'
58793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58796
58797
58798 fi
58799
58800 fi
58801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58802 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58803
58804 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58805 for ac_func in hypot
58806 do :
58807 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58808 if test "x$ac_cv_func_hypot" = x""yes; then :
58809 cat >>confdefs.h <<_ACEOF
58810 #define HAVE_HYPOT 1
58811 _ACEOF
58812
58813 fi
58814 done
58815
58816 else
58817
58818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58819 $as_echo_n "checking for _hypot declaration... " >&6; }
58820 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58821 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58822 $as_echo_n "(cached) " >&6
58823 else
58824
58825
58826 ac_ext=cpp
58827 ac_cpp='$CXXCPP $CPPFLAGS'
58828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58831
58832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58833 /* end confdefs.h. */
58834 #include <math.h>
58835 int
58836 main ()
58837 {
58838 _hypot(0, 0);
58839 ;
58840 return 0;
58841 }
58842 _ACEOF
58843 if ac_fn_cxx_try_compile "$LINENO"; then :
58844 glibcxx_cv_func__hypot_use=yes
58845 else
58846 glibcxx_cv_func__hypot_use=no
58847 fi
58848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58849 ac_ext=c
58850 ac_cpp='$CPP $CPPFLAGS'
58851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58854
58855
58856 fi
58857
58858 fi
58859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58860 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58861
58862 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58863 for ac_func in _hypot
58864 do :
58865 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58866 if test "x$ac_cv_func__hypot" = x""yes; then :
58867 cat >>confdefs.h <<_ACEOF
58868 #define HAVE__HYPOT 1
58869 _ACEOF
58870
58871 fi
58872 done
58873
58874 fi
58875 fi
58876
58877
58878
58879
58880
58881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58882 $as_echo_n "checking for float trig functions... " >&6; }
58883 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58884 $as_echo_n "(cached) " >&6
58885 else
58886
58887
58888 ac_ext=cpp
58889 ac_cpp='$CXXCPP $CPPFLAGS'
58890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58893
58894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58895 /* end confdefs.h. */
58896 #include <math.h>
58897 int
58898 main ()
58899 {
58900 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58901 ;
58902 return 0;
58903 }
58904 _ACEOF
58905 if ac_fn_cxx_try_compile "$LINENO"; then :
58906 glibcxx_cv_func_float_trig_use=yes
58907 else
58908 glibcxx_cv_func_float_trig_use=no
58909 fi
58910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58911 ac_ext=c
58912 ac_cpp='$CPP $CPPFLAGS'
58913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58916
58917 fi
58918
58919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58920 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58921 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58922 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58923 do :
58924 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58925 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58926 eval as_val=\$$as_ac_var
58927 if test "x$as_val" = x""yes; then :
58928 cat >>confdefs.h <<_ACEOF
58929 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58930 _ACEOF
58931
58932 fi
58933 done
58934
58935 else
58936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
58937 $as_echo_n "checking for _float trig functions... " >&6; }
58938 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
58939 $as_echo_n "(cached) " >&6
58940 else
58941
58942
58943 ac_ext=cpp
58944 ac_cpp='$CXXCPP $CPPFLAGS'
58945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58948
58949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58950 /* end confdefs.h. */
58951 #include <math.h>
58952 int
58953 main ()
58954 {
58955 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
58956 ;
58957 return 0;
58958 }
58959 _ACEOF
58960 if ac_fn_cxx_try_compile "$LINENO"; then :
58961 glibcxx_cv_func__float_trig_use=yes
58962 else
58963 glibcxx_cv_func__float_trig_use=no
58964 fi
58965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58966 ac_ext=c
58967 ac_cpp='$CPP $CPPFLAGS'
58968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58971
58972 fi
58973
58974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
58975 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
58976 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
58977 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
58978 do :
58979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58981 eval as_val=\$$as_ac_var
58982 if test "x$as_val" = x""yes; then :
58983 cat >>confdefs.h <<_ACEOF
58984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58985 _ACEOF
58986
58987 fi
58988 done
58989
58990 fi
58991 fi
58992
58993
58994
58995
58996
58997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
58998 $as_echo_n "checking for float round functions... " >&6; }
58999 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59000 $as_echo_n "(cached) " >&6
59001 else
59002
59003
59004 ac_ext=cpp
59005 ac_cpp='$CXXCPP $CPPFLAGS'
59006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59009
59010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59011 /* end confdefs.h. */
59012 #include <math.h>
59013 int
59014 main ()
59015 {
59016 ceilf (0); floorf (0);
59017 ;
59018 return 0;
59019 }
59020 _ACEOF
59021 if ac_fn_cxx_try_compile "$LINENO"; then :
59022 glibcxx_cv_func_float_round_use=yes
59023 else
59024 glibcxx_cv_func_float_round_use=no
59025 fi
59026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59027 ac_ext=c
59028 ac_cpp='$CPP $CPPFLAGS'
59029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59032
59033 fi
59034
59035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59036 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59037 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59038 for ac_func in ceilf floorf
59039 do :
59040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59042 eval as_val=\$$as_ac_var
59043 if test "x$as_val" = x""yes; then :
59044 cat >>confdefs.h <<_ACEOF
59045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59046 _ACEOF
59047
59048 fi
59049 done
59050
59051 else
59052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59053 $as_echo_n "checking for _float round functions... " >&6; }
59054 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59055 $as_echo_n "(cached) " >&6
59056 else
59057
59058
59059 ac_ext=cpp
59060 ac_cpp='$CXXCPP $CPPFLAGS'
59061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59064
59065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59066 /* end confdefs.h. */
59067 #include <math.h>
59068 int
59069 main ()
59070 {
59071 _ceilf (0); _floorf (0);
59072 ;
59073 return 0;
59074 }
59075 _ACEOF
59076 if ac_fn_cxx_try_compile "$LINENO"; then :
59077 glibcxx_cv_func__float_round_use=yes
59078 else
59079 glibcxx_cv_func__float_round_use=no
59080 fi
59081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59082 ac_ext=c
59083 ac_cpp='$CPP $CPPFLAGS'
59084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59087
59088 fi
59089
59090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59091 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59092 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59093 for ac_func in _ceilf _floorf
59094 do :
59095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59097 eval as_val=\$$as_ac_var
59098 if test "x$as_val" = x""yes; then :
59099 cat >>confdefs.h <<_ACEOF
59100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59101 _ACEOF
59102
59103 fi
59104 done
59105
59106 fi
59107 fi
59108
59109
59110
59111
59112
59113
59114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59115 $as_echo_n "checking for expf declaration... " >&6; }
59116 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59117 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59118 $as_echo_n "(cached) " >&6
59119 else
59120
59121
59122 ac_ext=cpp
59123 ac_cpp='$CXXCPP $CPPFLAGS'
59124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59127
59128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59129 /* end confdefs.h. */
59130 #include <math.h>
59131 #ifdef HAVE_IEEEFP_H
59132 #include <ieeefp.h>
59133 #endif
59134
59135 int
59136 main ()
59137 {
59138 expf(0);
59139 ;
59140 return 0;
59141 }
59142 _ACEOF
59143 if ac_fn_cxx_try_compile "$LINENO"; then :
59144 glibcxx_cv_func_expf_use=yes
59145 else
59146 glibcxx_cv_func_expf_use=no
59147 fi
59148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59149 ac_ext=c
59150 ac_cpp='$CPP $CPPFLAGS'
59151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59154
59155
59156 fi
59157
59158 fi
59159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59160 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59161
59162 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59163 for ac_func in expf
59164 do :
59165 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59166 if test "x$ac_cv_func_expf" = x""yes; then :
59167 cat >>confdefs.h <<_ACEOF
59168 #define HAVE_EXPF 1
59169 _ACEOF
59170
59171 fi
59172 done
59173
59174 else
59175
59176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59177 $as_echo_n "checking for _expf declaration... " >&6; }
59178 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59179 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59180 $as_echo_n "(cached) " >&6
59181 else
59182
59183
59184 ac_ext=cpp
59185 ac_cpp='$CXXCPP $CPPFLAGS'
59186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59189
59190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59191 /* end confdefs.h. */
59192 #include <math.h>
59193 #ifdef HAVE_IEEEFP_H
59194 #include <ieeefp.h>
59195 #endif
59196
59197 int
59198 main ()
59199 {
59200 _expf(0);
59201 ;
59202 return 0;
59203 }
59204 _ACEOF
59205 if ac_fn_cxx_try_compile "$LINENO"; then :
59206 glibcxx_cv_func__expf_use=yes
59207 else
59208 glibcxx_cv_func__expf_use=no
59209 fi
59210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59211 ac_ext=c
59212 ac_cpp='$CPP $CPPFLAGS'
59213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59216
59217
59218 fi
59219
59220 fi
59221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59222 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59223
59224 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59225 for ac_func in _expf
59226 do :
59227 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59228 if test "x$ac_cv_func__expf" = x""yes; then :
59229 cat >>confdefs.h <<_ACEOF
59230 #define HAVE__EXPF 1
59231 _ACEOF
59232
59233 fi
59234 done
59235
59236 fi
59237 fi
59238
59239
59240
59241
59242
59243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59244 $as_echo_n "checking for isnanf declaration... " >&6; }
59245 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59246 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59247 $as_echo_n "(cached) " >&6
59248 else
59249
59250
59251 ac_ext=cpp
59252 ac_cpp='$CXXCPP $CPPFLAGS'
59253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59256
59257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59258 /* end confdefs.h. */
59259 #include <math.h>
59260 #ifdef HAVE_IEEEFP_H
59261 #include <ieeefp.h>
59262 #endif
59263
59264 int
59265 main ()
59266 {
59267 isnanf(0);
59268 ;
59269 return 0;
59270 }
59271 _ACEOF
59272 if ac_fn_cxx_try_compile "$LINENO"; then :
59273 glibcxx_cv_func_isnanf_use=yes
59274 else
59275 glibcxx_cv_func_isnanf_use=no
59276 fi
59277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59278 ac_ext=c
59279 ac_cpp='$CPP $CPPFLAGS'
59280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59283
59284
59285 fi
59286
59287 fi
59288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59289 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59290
59291 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59292 for ac_func in isnanf
59293 do :
59294 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59295 if test "x$ac_cv_func_isnanf" = x""yes; then :
59296 cat >>confdefs.h <<_ACEOF
59297 #define HAVE_ISNANF 1
59298 _ACEOF
59299
59300 fi
59301 done
59302
59303 else
59304
59305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59306 $as_echo_n "checking for _isnanf declaration... " >&6; }
59307 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59308 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59309 $as_echo_n "(cached) " >&6
59310 else
59311
59312
59313 ac_ext=cpp
59314 ac_cpp='$CXXCPP $CPPFLAGS'
59315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59318
59319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59320 /* end confdefs.h. */
59321 #include <math.h>
59322 #ifdef HAVE_IEEEFP_H
59323 #include <ieeefp.h>
59324 #endif
59325
59326 int
59327 main ()
59328 {
59329 _isnanf(0);
59330 ;
59331 return 0;
59332 }
59333 _ACEOF
59334 if ac_fn_cxx_try_compile "$LINENO"; then :
59335 glibcxx_cv_func__isnanf_use=yes
59336 else
59337 glibcxx_cv_func__isnanf_use=no
59338 fi
59339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59340 ac_ext=c
59341 ac_cpp='$CPP $CPPFLAGS'
59342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59345
59346
59347 fi
59348
59349 fi
59350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59351 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59352
59353 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59354 for ac_func in _isnanf
59355 do :
59356 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59357 if test "x$ac_cv_func__isnanf" = x""yes; then :
59358 cat >>confdefs.h <<_ACEOF
59359 #define HAVE__ISNANF 1
59360 _ACEOF
59361
59362 fi
59363 done
59364
59365 fi
59366 fi
59367
59368
59369
59370
59371
59372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59373 $as_echo_n "checking for isinff declaration... " >&6; }
59374 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59375 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59376 $as_echo_n "(cached) " >&6
59377 else
59378
59379
59380 ac_ext=cpp
59381 ac_cpp='$CXXCPP $CPPFLAGS'
59382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59385
59386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59387 /* end confdefs.h. */
59388 #include <math.h>
59389 #ifdef HAVE_IEEEFP_H
59390 #include <ieeefp.h>
59391 #endif
59392
59393 int
59394 main ()
59395 {
59396 isinff(0);
59397 ;
59398 return 0;
59399 }
59400 _ACEOF
59401 if ac_fn_cxx_try_compile "$LINENO"; then :
59402 glibcxx_cv_func_isinff_use=yes
59403 else
59404 glibcxx_cv_func_isinff_use=no
59405 fi
59406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59407 ac_ext=c
59408 ac_cpp='$CPP $CPPFLAGS'
59409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59412
59413
59414 fi
59415
59416 fi
59417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59418 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59419
59420 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59421 for ac_func in isinff
59422 do :
59423 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59424 if test "x$ac_cv_func_isinff" = x""yes; then :
59425 cat >>confdefs.h <<_ACEOF
59426 #define HAVE_ISINFF 1
59427 _ACEOF
59428
59429 fi
59430 done
59431
59432 else
59433
59434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59435 $as_echo_n "checking for _isinff declaration... " >&6; }
59436 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59437 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59438 $as_echo_n "(cached) " >&6
59439 else
59440
59441
59442 ac_ext=cpp
59443 ac_cpp='$CXXCPP $CPPFLAGS'
59444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59447
59448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59449 /* end confdefs.h. */
59450 #include <math.h>
59451 #ifdef HAVE_IEEEFP_H
59452 #include <ieeefp.h>
59453 #endif
59454
59455 int
59456 main ()
59457 {
59458 _isinff(0);
59459 ;
59460 return 0;
59461 }
59462 _ACEOF
59463 if ac_fn_cxx_try_compile "$LINENO"; then :
59464 glibcxx_cv_func__isinff_use=yes
59465 else
59466 glibcxx_cv_func__isinff_use=no
59467 fi
59468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59469 ac_ext=c
59470 ac_cpp='$CPP $CPPFLAGS'
59471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59474
59475
59476 fi
59477
59478 fi
59479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59480 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59481
59482 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59483 for ac_func in _isinff
59484 do :
59485 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59486 if test "x$ac_cv_func__isinff" = x""yes; then :
59487 cat >>confdefs.h <<_ACEOF
59488 #define HAVE__ISINFF 1
59489 _ACEOF
59490
59491 fi
59492 done
59493
59494 fi
59495 fi
59496
59497
59498
59499
59500
59501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59502 $as_echo_n "checking for atan2f declaration... " >&6; }
59503 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59504 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59505 $as_echo_n "(cached) " >&6
59506 else
59507
59508
59509 ac_ext=cpp
59510 ac_cpp='$CXXCPP $CPPFLAGS'
59511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59514
59515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59516 /* end confdefs.h. */
59517 #include <math.h>
59518 int
59519 main ()
59520 {
59521 atan2f(0, 0);
59522 ;
59523 return 0;
59524 }
59525 _ACEOF
59526 if ac_fn_cxx_try_compile "$LINENO"; then :
59527 glibcxx_cv_func_atan2f_use=yes
59528 else
59529 glibcxx_cv_func_atan2f_use=no
59530 fi
59531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59532 ac_ext=c
59533 ac_cpp='$CPP $CPPFLAGS'
59534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59537
59538
59539 fi
59540
59541 fi
59542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59543 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59544
59545 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59546 for ac_func in atan2f
59547 do :
59548 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59549 if test "x$ac_cv_func_atan2f" = x""yes; then :
59550 cat >>confdefs.h <<_ACEOF
59551 #define HAVE_ATAN2F 1
59552 _ACEOF
59553
59554 fi
59555 done
59556
59557 else
59558
59559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59560 $as_echo_n "checking for _atan2f declaration... " >&6; }
59561 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59562 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59563 $as_echo_n "(cached) " >&6
59564 else
59565
59566
59567 ac_ext=cpp
59568 ac_cpp='$CXXCPP $CPPFLAGS'
59569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59572
59573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59574 /* end confdefs.h. */
59575 #include <math.h>
59576 int
59577 main ()
59578 {
59579 _atan2f(0, 0);
59580 ;
59581 return 0;
59582 }
59583 _ACEOF
59584 if ac_fn_cxx_try_compile "$LINENO"; then :
59585 glibcxx_cv_func__atan2f_use=yes
59586 else
59587 glibcxx_cv_func__atan2f_use=no
59588 fi
59589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59590 ac_ext=c
59591 ac_cpp='$CPP $CPPFLAGS'
59592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59595
59596
59597 fi
59598
59599 fi
59600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59601 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59602
59603 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59604 for ac_func in _atan2f
59605 do :
59606 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59607 if test "x$ac_cv_func__atan2f" = x""yes; then :
59608 cat >>confdefs.h <<_ACEOF
59609 #define HAVE__ATAN2F 1
59610 _ACEOF
59611
59612 fi
59613 done
59614
59615 fi
59616 fi
59617
59618
59619
59620
59621
59622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59623 $as_echo_n "checking for fabsf declaration... " >&6; }
59624 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59625 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59626 $as_echo_n "(cached) " >&6
59627 else
59628
59629
59630 ac_ext=cpp
59631 ac_cpp='$CXXCPP $CPPFLAGS'
59632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59635
59636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59637 /* end confdefs.h. */
59638 #include <math.h>
59639 #ifdef HAVE_IEEEFP_H
59640 #include <ieeefp.h>
59641 #endif
59642
59643 int
59644 main ()
59645 {
59646 fabsf(0);
59647 ;
59648 return 0;
59649 }
59650 _ACEOF
59651 if ac_fn_cxx_try_compile "$LINENO"; then :
59652 glibcxx_cv_func_fabsf_use=yes
59653 else
59654 glibcxx_cv_func_fabsf_use=no
59655 fi
59656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59657 ac_ext=c
59658 ac_cpp='$CPP $CPPFLAGS'
59659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59662
59663
59664 fi
59665
59666 fi
59667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59668 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59669
59670 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59671 for ac_func in fabsf
59672 do :
59673 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59674 if test "x$ac_cv_func_fabsf" = x""yes; then :
59675 cat >>confdefs.h <<_ACEOF
59676 #define HAVE_FABSF 1
59677 _ACEOF
59678
59679 fi
59680 done
59681
59682 else
59683
59684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59685 $as_echo_n "checking for _fabsf declaration... " >&6; }
59686 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59687 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59688 $as_echo_n "(cached) " >&6
59689 else
59690
59691
59692 ac_ext=cpp
59693 ac_cpp='$CXXCPP $CPPFLAGS'
59694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59697
59698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59699 /* end confdefs.h. */
59700 #include <math.h>
59701 #ifdef HAVE_IEEEFP_H
59702 #include <ieeefp.h>
59703 #endif
59704
59705 int
59706 main ()
59707 {
59708 _fabsf(0);
59709 ;
59710 return 0;
59711 }
59712 _ACEOF
59713 if ac_fn_cxx_try_compile "$LINENO"; then :
59714 glibcxx_cv_func__fabsf_use=yes
59715 else
59716 glibcxx_cv_func__fabsf_use=no
59717 fi
59718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59719 ac_ext=c
59720 ac_cpp='$CPP $CPPFLAGS'
59721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59724
59725
59726 fi
59727
59728 fi
59729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59730 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59731
59732 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59733 for ac_func in _fabsf
59734 do :
59735 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59736 if test "x$ac_cv_func__fabsf" = x""yes; then :
59737 cat >>confdefs.h <<_ACEOF
59738 #define HAVE__FABSF 1
59739 _ACEOF
59740
59741 fi
59742 done
59743
59744 fi
59745 fi
59746
59747
59748
59749
59750
59751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59752 $as_echo_n "checking for fmodf declaration... " >&6; }
59753 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59754 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59755 $as_echo_n "(cached) " >&6
59756 else
59757
59758
59759 ac_ext=cpp
59760 ac_cpp='$CXXCPP $CPPFLAGS'
59761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59764
59765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59766 /* end confdefs.h. */
59767 #include <math.h>
59768 int
59769 main ()
59770 {
59771 fmodf(0, 0);
59772 ;
59773 return 0;
59774 }
59775 _ACEOF
59776 if ac_fn_cxx_try_compile "$LINENO"; then :
59777 glibcxx_cv_func_fmodf_use=yes
59778 else
59779 glibcxx_cv_func_fmodf_use=no
59780 fi
59781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59782 ac_ext=c
59783 ac_cpp='$CPP $CPPFLAGS'
59784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59787
59788
59789 fi
59790
59791 fi
59792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59793 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59794
59795 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59796 for ac_func in fmodf
59797 do :
59798 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59799 if test "x$ac_cv_func_fmodf" = x""yes; then :
59800 cat >>confdefs.h <<_ACEOF
59801 #define HAVE_FMODF 1
59802 _ACEOF
59803
59804 fi
59805 done
59806
59807 else
59808
59809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59810 $as_echo_n "checking for _fmodf declaration... " >&6; }
59811 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59812 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59813 $as_echo_n "(cached) " >&6
59814 else
59815
59816
59817 ac_ext=cpp
59818 ac_cpp='$CXXCPP $CPPFLAGS'
59819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59822
59823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59824 /* end confdefs.h. */
59825 #include <math.h>
59826 int
59827 main ()
59828 {
59829 _fmodf(0, 0);
59830 ;
59831 return 0;
59832 }
59833 _ACEOF
59834 if ac_fn_cxx_try_compile "$LINENO"; then :
59835 glibcxx_cv_func__fmodf_use=yes
59836 else
59837 glibcxx_cv_func__fmodf_use=no
59838 fi
59839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59840 ac_ext=c
59841 ac_cpp='$CPP $CPPFLAGS'
59842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59845
59846
59847 fi
59848
59849 fi
59850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59851 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59852
59853 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59854 for ac_func in _fmodf
59855 do :
59856 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59857 if test "x$ac_cv_func__fmodf" = x""yes; then :
59858 cat >>confdefs.h <<_ACEOF
59859 #define HAVE__FMODF 1
59860 _ACEOF
59861
59862 fi
59863 done
59864
59865 fi
59866 fi
59867
59868
59869
59870
59871
59872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59873 $as_echo_n "checking for frexpf declaration... " >&6; }
59874 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59875 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59876 $as_echo_n "(cached) " >&6
59877 else
59878
59879
59880 ac_ext=cpp
59881 ac_cpp='$CXXCPP $CPPFLAGS'
59882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59885
59886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59887 /* end confdefs.h. */
59888 #include <math.h>
59889 int
59890 main ()
59891 {
59892 frexpf(0, 0);
59893 ;
59894 return 0;
59895 }
59896 _ACEOF
59897 if ac_fn_cxx_try_compile "$LINENO"; then :
59898 glibcxx_cv_func_frexpf_use=yes
59899 else
59900 glibcxx_cv_func_frexpf_use=no
59901 fi
59902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59903 ac_ext=c
59904 ac_cpp='$CPP $CPPFLAGS'
59905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59908
59909
59910 fi
59911
59912 fi
59913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59914 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59915
59916 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59917 for ac_func in frexpf
59918 do :
59919 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59920 if test "x$ac_cv_func_frexpf" = x""yes; then :
59921 cat >>confdefs.h <<_ACEOF
59922 #define HAVE_FREXPF 1
59923 _ACEOF
59924
59925 fi
59926 done
59927
59928 else
59929
59930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59931 $as_echo_n "checking for _frexpf declaration... " >&6; }
59932 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59933 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
59934 $as_echo_n "(cached) " >&6
59935 else
59936
59937
59938 ac_ext=cpp
59939 ac_cpp='$CXXCPP $CPPFLAGS'
59940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59943
59944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59945 /* end confdefs.h. */
59946 #include <math.h>
59947 int
59948 main ()
59949 {
59950 _frexpf(0, 0);
59951 ;
59952 return 0;
59953 }
59954 _ACEOF
59955 if ac_fn_cxx_try_compile "$LINENO"; then :
59956 glibcxx_cv_func__frexpf_use=yes
59957 else
59958 glibcxx_cv_func__frexpf_use=no
59959 fi
59960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59961 ac_ext=c
59962 ac_cpp='$CPP $CPPFLAGS'
59963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59966
59967
59968 fi
59969
59970 fi
59971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
59972 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
59973
59974 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
59975 for ac_func in _frexpf
59976 do :
59977 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
59978 if test "x$ac_cv_func__frexpf" = x""yes; then :
59979 cat >>confdefs.h <<_ACEOF
59980 #define HAVE__FREXPF 1
59981 _ACEOF
59982
59983 fi
59984 done
59985
59986 fi
59987 fi
59988
59989
59990
59991
59992
59993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
59994 $as_echo_n "checking for hypotf declaration... " >&6; }
59995 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
59996 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
59997 $as_echo_n "(cached) " >&6
59998 else
59999
60000
60001 ac_ext=cpp
60002 ac_cpp='$CXXCPP $CPPFLAGS'
60003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60006
60007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60008 /* end confdefs.h. */
60009 #include <math.h>
60010 int
60011 main ()
60012 {
60013 hypotf(0, 0);
60014 ;
60015 return 0;
60016 }
60017 _ACEOF
60018 if ac_fn_cxx_try_compile "$LINENO"; then :
60019 glibcxx_cv_func_hypotf_use=yes
60020 else
60021 glibcxx_cv_func_hypotf_use=no
60022 fi
60023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60024 ac_ext=c
60025 ac_cpp='$CPP $CPPFLAGS'
60026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60029
60030
60031 fi
60032
60033 fi
60034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60035 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60036
60037 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60038 for ac_func in hypotf
60039 do :
60040 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60041 if test "x$ac_cv_func_hypotf" = x""yes; then :
60042 cat >>confdefs.h <<_ACEOF
60043 #define HAVE_HYPOTF 1
60044 _ACEOF
60045
60046 fi
60047 done
60048
60049 else
60050
60051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60052 $as_echo_n "checking for _hypotf declaration... " >&6; }
60053 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60054 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60055 $as_echo_n "(cached) " >&6
60056 else
60057
60058
60059 ac_ext=cpp
60060 ac_cpp='$CXXCPP $CPPFLAGS'
60061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60064
60065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60066 /* end confdefs.h. */
60067 #include <math.h>
60068 int
60069 main ()
60070 {
60071 _hypotf(0, 0);
60072 ;
60073 return 0;
60074 }
60075 _ACEOF
60076 if ac_fn_cxx_try_compile "$LINENO"; then :
60077 glibcxx_cv_func__hypotf_use=yes
60078 else
60079 glibcxx_cv_func__hypotf_use=no
60080 fi
60081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60082 ac_ext=c
60083 ac_cpp='$CPP $CPPFLAGS'
60084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60087
60088
60089 fi
60090
60091 fi
60092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60093 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60094
60095 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60096 for ac_func in _hypotf
60097 do :
60098 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60099 if test "x$ac_cv_func__hypotf" = x""yes; then :
60100 cat >>confdefs.h <<_ACEOF
60101 #define HAVE__HYPOTF 1
60102 _ACEOF
60103
60104 fi
60105 done
60106
60107 fi
60108 fi
60109
60110
60111
60112
60113
60114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60115 $as_echo_n "checking for ldexpf declaration... " >&6; }
60116 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60117 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60118 $as_echo_n "(cached) " >&6
60119 else
60120
60121
60122 ac_ext=cpp
60123 ac_cpp='$CXXCPP $CPPFLAGS'
60124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60127
60128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60129 /* end confdefs.h. */
60130 #include <math.h>
60131 int
60132 main ()
60133 {
60134 ldexpf(0, 0);
60135 ;
60136 return 0;
60137 }
60138 _ACEOF
60139 if ac_fn_cxx_try_compile "$LINENO"; then :
60140 glibcxx_cv_func_ldexpf_use=yes
60141 else
60142 glibcxx_cv_func_ldexpf_use=no
60143 fi
60144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60145 ac_ext=c
60146 ac_cpp='$CPP $CPPFLAGS'
60147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60150
60151
60152 fi
60153
60154 fi
60155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60156 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60157
60158 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60159 for ac_func in ldexpf
60160 do :
60161 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60162 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60163 cat >>confdefs.h <<_ACEOF
60164 #define HAVE_LDEXPF 1
60165 _ACEOF
60166
60167 fi
60168 done
60169
60170 else
60171
60172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60173 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60174 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60175 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60176 $as_echo_n "(cached) " >&6
60177 else
60178
60179
60180 ac_ext=cpp
60181 ac_cpp='$CXXCPP $CPPFLAGS'
60182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60185
60186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60187 /* end confdefs.h. */
60188 #include <math.h>
60189 int
60190 main ()
60191 {
60192 _ldexpf(0, 0);
60193 ;
60194 return 0;
60195 }
60196 _ACEOF
60197 if ac_fn_cxx_try_compile "$LINENO"; then :
60198 glibcxx_cv_func__ldexpf_use=yes
60199 else
60200 glibcxx_cv_func__ldexpf_use=no
60201 fi
60202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60203 ac_ext=c
60204 ac_cpp='$CPP $CPPFLAGS'
60205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60208
60209
60210 fi
60211
60212 fi
60213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60214 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60215
60216 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60217 for ac_func in _ldexpf
60218 do :
60219 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60220 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60221 cat >>confdefs.h <<_ACEOF
60222 #define HAVE__LDEXPF 1
60223 _ACEOF
60224
60225 fi
60226 done
60227
60228 fi
60229 fi
60230
60231
60232
60233
60234
60235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60236 $as_echo_n "checking for logf declaration... " >&6; }
60237 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60238 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60239 $as_echo_n "(cached) " >&6
60240 else
60241
60242
60243 ac_ext=cpp
60244 ac_cpp='$CXXCPP $CPPFLAGS'
60245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60248
60249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60250 /* end confdefs.h. */
60251 #include <math.h>
60252 #ifdef HAVE_IEEEFP_H
60253 #include <ieeefp.h>
60254 #endif
60255
60256 int
60257 main ()
60258 {
60259 logf(0);
60260 ;
60261 return 0;
60262 }
60263 _ACEOF
60264 if ac_fn_cxx_try_compile "$LINENO"; then :
60265 glibcxx_cv_func_logf_use=yes
60266 else
60267 glibcxx_cv_func_logf_use=no
60268 fi
60269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60270 ac_ext=c
60271 ac_cpp='$CPP $CPPFLAGS'
60272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60275
60276
60277 fi
60278
60279 fi
60280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60281 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60282
60283 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60284 for ac_func in logf
60285 do :
60286 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60287 if test "x$ac_cv_func_logf" = x""yes; then :
60288 cat >>confdefs.h <<_ACEOF
60289 #define HAVE_LOGF 1
60290 _ACEOF
60291
60292 fi
60293 done
60294
60295 else
60296
60297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60298 $as_echo_n "checking for _logf declaration... " >&6; }
60299 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60300 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60301 $as_echo_n "(cached) " >&6
60302 else
60303
60304
60305 ac_ext=cpp
60306 ac_cpp='$CXXCPP $CPPFLAGS'
60307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60310
60311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60312 /* end confdefs.h. */
60313 #include <math.h>
60314 #ifdef HAVE_IEEEFP_H
60315 #include <ieeefp.h>
60316 #endif
60317
60318 int
60319 main ()
60320 {
60321 _logf(0);
60322 ;
60323 return 0;
60324 }
60325 _ACEOF
60326 if ac_fn_cxx_try_compile "$LINENO"; then :
60327 glibcxx_cv_func__logf_use=yes
60328 else
60329 glibcxx_cv_func__logf_use=no
60330 fi
60331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60332 ac_ext=c
60333 ac_cpp='$CPP $CPPFLAGS'
60334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60337
60338
60339 fi
60340
60341 fi
60342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60343 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60344
60345 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60346 for ac_func in _logf
60347 do :
60348 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60349 if test "x$ac_cv_func__logf" = x""yes; then :
60350 cat >>confdefs.h <<_ACEOF
60351 #define HAVE__LOGF 1
60352 _ACEOF
60353
60354 fi
60355 done
60356
60357 fi
60358 fi
60359
60360
60361
60362
60363
60364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60365 $as_echo_n "checking for log10f declaration... " >&6; }
60366 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60367 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60368 $as_echo_n "(cached) " >&6
60369 else
60370
60371
60372 ac_ext=cpp
60373 ac_cpp='$CXXCPP $CPPFLAGS'
60374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60377
60378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60379 /* end confdefs.h. */
60380 #include <math.h>
60381 #ifdef HAVE_IEEEFP_H
60382 #include <ieeefp.h>
60383 #endif
60384
60385 int
60386 main ()
60387 {
60388 log10f(0);
60389 ;
60390 return 0;
60391 }
60392 _ACEOF
60393 if ac_fn_cxx_try_compile "$LINENO"; then :
60394 glibcxx_cv_func_log10f_use=yes
60395 else
60396 glibcxx_cv_func_log10f_use=no
60397 fi
60398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60399 ac_ext=c
60400 ac_cpp='$CPP $CPPFLAGS'
60401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60404
60405
60406 fi
60407
60408 fi
60409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60410 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60411
60412 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60413 for ac_func in log10f
60414 do :
60415 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60416 if test "x$ac_cv_func_log10f" = x""yes; then :
60417 cat >>confdefs.h <<_ACEOF
60418 #define HAVE_LOG10F 1
60419 _ACEOF
60420
60421 fi
60422 done
60423
60424 else
60425
60426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60427 $as_echo_n "checking for _log10f declaration... " >&6; }
60428 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60429 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60430 $as_echo_n "(cached) " >&6
60431 else
60432
60433
60434 ac_ext=cpp
60435 ac_cpp='$CXXCPP $CPPFLAGS'
60436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60439
60440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60441 /* end confdefs.h. */
60442 #include <math.h>
60443 #ifdef HAVE_IEEEFP_H
60444 #include <ieeefp.h>
60445 #endif
60446
60447 int
60448 main ()
60449 {
60450 _log10f(0);
60451 ;
60452 return 0;
60453 }
60454 _ACEOF
60455 if ac_fn_cxx_try_compile "$LINENO"; then :
60456 glibcxx_cv_func__log10f_use=yes
60457 else
60458 glibcxx_cv_func__log10f_use=no
60459 fi
60460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60461 ac_ext=c
60462 ac_cpp='$CPP $CPPFLAGS'
60463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60466
60467
60468 fi
60469
60470 fi
60471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60472 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60473
60474 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60475 for ac_func in _log10f
60476 do :
60477 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60478 if test "x$ac_cv_func__log10f" = x""yes; then :
60479 cat >>confdefs.h <<_ACEOF
60480 #define HAVE__LOG10F 1
60481 _ACEOF
60482
60483 fi
60484 done
60485
60486 fi
60487 fi
60488
60489
60490
60491
60492
60493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60494 $as_echo_n "checking for modff declaration... " >&6; }
60495 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60496 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60497 $as_echo_n "(cached) " >&6
60498 else
60499
60500
60501 ac_ext=cpp
60502 ac_cpp='$CXXCPP $CPPFLAGS'
60503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60506
60507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60508 /* end confdefs.h. */
60509 #include <math.h>
60510 int
60511 main ()
60512 {
60513 modff(0, 0);
60514 ;
60515 return 0;
60516 }
60517 _ACEOF
60518 if ac_fn_cxx_try_compile "$LINENO"; then :
60519 glibcxx_cv_func_modff_use=yes
60520 else
60521 glibcxx_cv_func_modff_use=no
60522 fi
60523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60524 ac_ext=c
60525 ac_cpp='$CPP $CPPFLAGS'
60526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60529
60530
60531 fi
60532
60533 fi
60534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60535 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60536
60537 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60538 for ac_func in modff
60539 do :
60540 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60541 if test "x$ac_cv_func_modff" = x""yes; then :
60542 cat >>confdefs.h <<_ACEOF
60543 #define HAVE_MODFF 1
60544 _ACEOF
60545
60546 fi
60547 done
60548
60549 else
60550
60551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60552 $as_echo_n "checking for _modff declaration... " >&6; }
60553 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60554 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60555 $as_echo_n "(cached) " >&6
60556 else
60557
60558
60559 ac_ext=cpp
60560 ac_cpp='$CXXCPP $CPPFLAGS'
60561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60564
60565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60566 /* end confdefs.h. */
60567 #include <math.h>
60568 int
60569 main ()
60570 {
60571 _modff(0, 0);
60572 ;
60573 return 0;
60574 }
60575 _ACEOF
60576 if ac_fn_cxx_try_compile "$LINENO"; then :
60577 glibcxx_cv_func__modff_use=yes
60578 else
60579 glibcxx_cv_func__modff_use=no
60580 fi
60581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60582 ac_ext=c
60583 ac_cpp='$CPP $CPPFLAGS'
60584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60587
60588
60589 fi
60590
60591 fi
60592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60593 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60594
60595 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60596 for ac_func in _modff
60597 do :
60598 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60599 if test "x$ac_cv_func__modff" = x""yes; then :
60600 cat >>confdefs.h <<_ACEOF
60601 #define HAVE__MODFF 1
60602 _ACEOF
60603
60604 fi
60605 done
60606
60607 fi
60608 fi
60609
60610
60611
60612
60613
60614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60615 $as_echo_n "checking for modf declaration... " >&6; }
60616 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60617 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60618 $as_echo_n "(cached) " >&6
60619 else
60620
60621
60622 ac_ext=cpp
60623 ac_cpp='$CXXCPP $CPPFLAGS'
60624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60627
60628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60629 /* end confdefs.h. */
60630 #include <math.h>
60631 int
60632 main ()
60633 {
60634 modf(0, 0);
60635 ;
60636 return 0;
60637 }
60638 _ACEOF
60639 if ac_fn_cxx_try_compile "$LINENO"; then :
60640 glibcxx_cv_func_modf_use=yes
60641 else
60642 glibcxx_cv_func_modf_use=no
60643 fi
60644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60645 ac_ext=c
60646 ac_cpp='$CPP $CPPFLAGS'
60647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60650
60651
60652 fi
60653
60654 fi
60655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60656 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60657
60658 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60659 for ac_func in modf
60660 do :
60661 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60662 if test "x$ac_cv_func_modf" = x""yes; then :
60663 cat >>confdefs.h <<_ACEOF
60664 #define HAVE_MODF 1
60665 _ACEOF
60666
60667 fi
60668 done
60669
60670 else
60671
60672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60673 $as_echo_n "checking for _modf declaration... " >&6; }
60674 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60675 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60676 $as_echo_n "(cached) " >&6
60677 else
60678
60679
60680 ac_ext=cpp
60681 ac_cpp='$CXXCPP $CPPFLAGS'
60682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60685
60686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60687 /* end confdefs.h. */
60688 #include <math.h>
60689 int
60690 main ()
60691 {
60692 _modf(0, 0);
60693 ;
60694 return 0;
60695 }
60696 _ACEOF
60697 if ac_fn_cxx_try_compile "$LINENO"; then :
60698 glibcxx_cv_func__modf_use=yes
60699 else
60700 glibcxx_cv_func__modf_use=no
60701 fi
60702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60703 ac_ext=c
60704 ac_cpp='$CPP $CPPFLAGS'
60705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60708
60709
60710 fi
60711
60712 fi
60713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60714 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60715
60716 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60717 for ac_func in _modf
60718 do :
60719 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60720 if test "x$ac_cv_func__modf" = x""yes; then :
60721 cat >>confdefs.h <<_ACEOF
60722 #define HAVE__MODF 1
60723 _ACEOF
60724
60725 fi
60726 done
60727
60728 fi
60729 fi
60730
60731
60732
60733
60734
60735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60736 $as_echo_n "checking for powf declaration... " >&6; }
60737 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60738 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60739 $as_echo_n "(cached) " >&6
60740 else
60741
60742
60743 ac_ext=cpp
60744 ac_cpp='$CXXCPP $CPPFLAGS'
60745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60748
60749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60750 /* end confdefs.h. */
60751 #include <math.h>
60752 int
60753 main ()
60754 {
60755 powf(0, 0);
60756 ;
60757 return 0;
60758 }
60759 _ACEOF
60760 if ac_fn_cxx_try_compile "$LINENO"; then :
60761 glibcxx_cv_func_powf_use=yes
60762 else
60763 glibcxx_cv_func_powf_use=no
60764 fi
60765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60766 ac_ext=c
60767 ac_cpp='$CPP $CPPFLAGS'
60768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60771
60772
60773 fi
60774
60775 fi
60776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60777 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60778
60779 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60780 for ac_func in powf
60781 do :
60782 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60783 if test "x$ac_cv_func_powf" = x""yes; then :
60784 cat >>confdefs.h <<_ACEOF
60785 #define HAVE_POWF 1
60786 _ACEOF
60787
60788 fi
60789 done
60790
60791 else
60792
60793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60794 $as_echo_n "checking for _powf declaration... " >&6; }
60795 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60796 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60797 $as_echo_n "(cached) " >&6
60798 else
60799
60800
60801 ac_ext=cpp
60802 ac_cpp='$CXXCPP $CPPFLAGS'
60803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60806
60807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60808 /* end confdefs.h. */
60809 #include <math.h>
60810 int
60811 main ()
60812 {
60813 _powf(0, 0);
60814 ;
60815 return 0;
60816 }
60817 _ACEOF
60818 if ac_fn_cxx_try_compile "$LINENO"; then :
60819 glibcxx_cv_func__powf_use=yes
60820 else
60821 glibcxx_cv_func__powf_use=no
60822 fi
60823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60824 ac_ext=c
60825 ac_cpp='$CPP $CPPFLAGS'
60826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60829
60830
60831 fi
60832
60833 fi
60834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60835 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60836
60837 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60838 for ac_func in _powf
60839 do :
60840 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60841 if test "x$ac_cv_func__powf" = x""yes; then :
60842 cat >>confdefs.h <<_ACEOF
60843 #define HAVE__POWF 1
60844 _ACEOF
60845
60846 fi
60847 done
60848
60849 fi
60850 fi
60851
60852
60853
60854
60855
60856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60857 $as_echo_n "checking for sqrtf declaration... " >&6; }
60858 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60859 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60860 $as_echo_n "(cached) " >&6
60861 else
60862
60863
60864 ac_ext=cpp
60865 ac_cpp='$CXXCPP $CPPFLAGS'
60866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60869
60870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60871 /* end confdefs.h. */
60872 #include <math.h>
60873 #ifdef HAVE_IEEEFP_H
60874 #include <ieeefp.h>
60875 #endif
60876
60877 int
60878 main ()
60879 {
60880 sqrtf(0);
60881 ;
60882 return 0;
60883 }
60884 _ACEOF
60885 if ac_fn_cxx_try_compile "$LINENO"; then :
60886 glibcxx_cv_func_sqrtf_use=yes
60887 else
60888 glibcxx_cv_func_sqrtf_use=no
60889 fi
60890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60891 ac_ext=c
60892 ac_cpp='$CPP $CPPFLAGS'
60893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60896
60897
60898 fi
60899
60900 fi
60901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60902 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60903
60904 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60905 for ac_func in sqrtf
60906 do :
60907 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60908 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60909 cat >>confdefs.h <<_ACEOF
60910 #define HAVE_SQRTF 1
60911 _ACEOF
60912
60913 fi
60914 done
60915
60916 else
60917
60918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60919 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60920 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60921 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60922 $as_echo_n "(cached) " >&6
60923 else
60924
60925
60926 ac_ext=cpp
60927 ac_cpp='$CXXCPP $CPPFLAGS'
60928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60931
60932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60933 /* end confdefs.h. */
60934 #include <math.h>
60935 #ifdef HAVE_IEEEFP_H
60936 #include <ieeefp.h>
60937 #endif
60938
60939 int
60940 main ()
60941 {
60942 _sqrtf(0);
60943 ;
60944 return 0;
60945 }
60946 _ACEOF
60947 if ac_fn_cxx_try_compile "$LINENO"; then :
60948 glibcxx_cv_func__sqrtf_use=yes
60949 else
60950 glibcxx_cv_func__sqrtf_use=no
60951 fi
60952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60953 ac_ext=c
60954 ac_cpp='$CPP $CPPFLAGS'
60955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60958
60959
60960 fi
60961
60962 fi
60963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
60964 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
60965
60966 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
60967 for ac_func in _sqrtf
60968 do :
60969 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
60970 if test "x$ac_cv_func__sqrtf" = x""yes; then :
60971 cat >>confdefs.h <<_ACEOF
60972 #define HAVE__SQRTF 1
60973 _ACEOF
60974
60975 fi
60976 done
60977
60978 fi
60979 fi
60980
60981
60982
60983
60984
60985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
60986 $as_echo_n "checking for sincosf declaration... " >&6; }
60987 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
60988 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
60989 $as_echo_n "(cached) " >&6
60990 else
60991
60992
60993 ac_ext=cpp
60994 ac_cpp='$CXXCPP $CPPFLAGS'
60995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60998
60999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61000 /* end confdefs.h. */
61001 #include <math.h>
61002 int
61003 main ()
61004 {
61005 sincosf(0, 0, 0);
61006 ;
61007 return 0;
61008 }
61009 _ACEOF
61010 if ac_fn_cxx_try_compile "$LINENO"; then :
61011 glibcxx_cv_func_sincosf_use=yes
61012 else
61013 glibcxx_cv_func_sincosf_use=no
61014 fi
61015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61016 ac_ext=c
61017 ac_cpp='$CPP $CPPFLAGS'
61018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61021
61022
61023 fi
61024
61025 fi
61026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61027 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61028
61029 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61030 for ac_func in sincosf
61031 do :
61032 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61033 if test "x$ac_cv_func_sincosf" = x""yes; then :
61034 cat >>confdefs.h <<_ACEOF
61035 #define HAVE_SINCOSF 1
61036 _ACEOF
61037
61038 fi
61039 done
61040
61041 else
61042
61043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61044 $as_echo_n "checking for _sincosf declaration... " >&6; }
61045 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61046 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61047 $as_echo_n "(cached) " >&6
61048 else
61049
61050
61051 ac_ext=cpp
61052 ac_cpp='$CXXCPP $CPPFLAGS'
61053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61056
61057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61058 /* end confdefs.h. */
61059 #include <math.h>
61060 int
61061 main ()
61062 {
61063 _sincosf(0, 0, 0);
61064 ;
61065 return 0;
61066 }
61067 _ACEOF
61068 if ac_fn_cxx_try_compile "$LINENO"; then :
61069 glibcxx_cv_func__sincosf_use=yes
61070 else
61071 glibcxx_cv_func__sincosf_use=no
61072 fi
61073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61074 ac_ext=c
61075 ac_cpp='$CPP $CPPFLAGS'
61076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61079
61080
61081 fi
61082
61083 fi
61084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61085 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61086
61087 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61088 for ac_func in _sincosf
61089 do :
61090 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61091 if test "x$ac_cv_func__sincosf" = x""yes; then :
61092 cat >>confdefs.h <<_ACEOF
61093 #define HAVE__SINCOSF 1
61094 _ACEOF
61095
61096 fi
61097 done
61098
61099 fi
61100 fi
61101
61102
61103
61104
61105
61106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61107 $as_echo_n "checking for finitef declaration... " >&6; }
61108 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61109 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61110 $as_echo_n "(cached) " >&6
61111 else
61112
61113
61114 ac_ext=cpp
61115 ac_cpp='$CXXCPP $CPPFLAGS'
61116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61119
61120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61121 /* end confdefs.h. */
61122 #include <math.h>
61123 #ifdef HAVE_IEEEFP_H
61124 #include <ieeefp.h>
61125 #endif
61126
61127 int
61128 main ()
61129 {
61130 finitef(0);
61131 ;
61132 return 0;
61133 }
61134 _ACEOF
61135 if ac_fn_cxx_try_compile "$LINENO"; then :
61136 glibcxx_cv_func_finitef_use=yes
61137 else
61138 glibcxx_cv_func_finitef_use=no
61139 fi
61140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61141 ac_ext=c
61142 ac_cpp='$CPP $CPPFLAGS'
61143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61146
61147
61148 fi
61149
61150 fi
61151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61152 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61153
61154 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61155 for ac_func in finitef
61156 do :
61157 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61158 if test "x$ac_cv_func_finitef" = x""yes; then :
61159 cat >>confdefs.h <<_ACEOF
61160 #define HAVE_FINITEF 1
61161 _ACEOF
61162
61163 fi
61164 done
61165
61166 else
61167
61168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61169 $as_echo_n "checking for _finitef declaration... " >&6; }
61170 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61171 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61172 $as_echo_n "(cached) " >&6
61173 else
61174
61175
61176 ac_ext=cpp
61177 ac_cpp='$CXXCPP $CPPFLAGS'
61178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61181
61182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61183 /* end confdefs.h. */
61184 #include <math.h>
61185 #ifdef HAVE_IEEEFP_H
61186 #include <ieeefp.h>
61187 #endif
61188
61189 int
61190 main ()
61191 {
61192 _finitef(0);
61193 ;
61194 return 0;
61195 }
61196 _ACEOF
61197 if ac_fn_cxx_try_compile "$LINENO"; then :
61198 glibcxx_cv_func__finitef_use=yes
61199 else
61200 glibcxx_cv_func__finitef_use=no
61201 fi
61202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61203 ac_ext=c
61204 ac_cpp='$CPP $CPPFLAGS'
61205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61208
61209
61210 fi
61211
61212 fi
61213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61214 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61215
61216 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61217 for ac_func in _finitef
61218 do :
61219 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61220 if test "x$ac_cv_func__finitef" = x""yes; then :
61221 cat >>confdefs.h <<_ACEOF
61222 #define HAVE__FINITEF 1
61223 _ACEOF
61224
61225 fi
61226 done
61227
61228 fi
61229 fi
61230
61231
61232
61233
61234
61235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61236 $as_echo_n "checking for long double trig functions... " >&6; }
61237 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61238 $as_echo_n "(cached) " >&6
61239 else
61240
61241
61242 ac_ext=cpp
61243 ac_cpp='$CXXCPP $CPPFLAGS'
61244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61247
61248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61249 /* end confdefs.h. */
61250 #include <math.h>
61251 int
61252 main ()
61253 {
61254 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61255 ;
61256 return 0;
61257 }
61258 _ACEOF
61259 if ac_fn_cxx_try_compile "$LINENO"; then :
61260 glibcxx_cv_func_long_double_trig_use=yes
61261 else
61262 glibcxx_cv_func_long_double_trig_use=no
61263 fi
61264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61265 ac_ext=c
61266 ac_cpp='$CPP $CPPFLAGS'
61267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61270
61271 fi
61272
61273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61274 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61275 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61276 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61277 do :
61278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61280 eval as_val=\$$as_ac_var
61281 if test "x$as_val" = x""yes; then :
61282 cat >>confdefs.h <<_ACEOF
61283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61284 _ACEOF
61285
61286 fi
61287 done
61288
61289 else
61290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61291 $as_echo_n "checking for _long double trig functions... " >&6; }
61292 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61293 $as_echo_n "(cached) " >&6
61294 else
61295
61296
61297 ac_ext=cpp
61298 ac_cpp='$CXXCPP $CPPFLAGS'
61299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61302
61303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61304 /* end confdefs.h. */
61305 #include <math.h>
61306 int
61307 main ()
61308 {
61309 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61310 ;
61311 return 0;
61312 }
61313 _ACEOF
61314 if ac_fn_cxx_try_compile "$LINENO"; then :
61315 glibcxx_cv_func__long_double_trig_use=yes
61316 else
61317 glibcxx_cv_func__long_double_trig_use=no
61318 fi
61319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61320 ac_ext=c
61321 ac_cpp='$CPP $CPPFLAGS'
61322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61325
61326 fi
61327
61328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61329 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61330 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61331 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61332 do :
61333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61335 eval as_val=\$$as_ac_var
61336 if test "x$as_val" = x""yes; then :
61337 cat >>confdefs.h <<_ACEOF
61338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61339 _ACEOF
61340
61341 fi
61342 done
61343
61344 fi
61345 fi
61346
61347
61348
61349
61350
61351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61352 $as_echo_n "checking for long double round functions... " >&6; }
61353 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61354 $as_echo_n "(cached) " >&6
61355 else
61356
61357
61358 ac_ext=cpp
61359 ac_cpp='$CXXCPP $CPPFLAGS'
61360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61363
61364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61365 /* end confdefs.h. */
61366 #include <math.h>
61367 int
61368 main ()
61369 {
61370 ceill (0); floorl (0);
61371 ;
61372 return 0;
61373 }
61374 _ACEOF
61375 if ac_fn_cxx_try_compile "$LINENO"; then :
61376 glibcxx_cv_func_long_double_round_use=yes
61377 else
61378 glibcxx_cv_func_long_double_round_use=no
61379 fi
61380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61381 ac_ext=c
61382 ac_cpp='$CPP $CPPFLAGS'
61383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61386
61387 fi
61388
61389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61390 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61391 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61392 for ac_func in ceill floorl
61393 do :
61394 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61396 eval as_val=\$$as_ac_var
61397 if test "x$as_val" = x""yes; then :
61398 cat >>confdefs.h <<_ACEOF
61399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61400 _ACEOF
61401
61402 fi
61403 done
61404
61405 else
61406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61407 $as_echo_n "checking for _long double round functions... " >&6; }
61408 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61409 $as_echo_n "(cached) " >&6
61410 else
61411
61412
61413 ac_ext=cpp
61414 ac_cpp='$CXXCPP $CPPFLAGS'
61415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61418
61419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61420 /* end confdefs.h. */
61421 #include <math.h>
61422 int
61423 main ()
61424 {
61425 _ceill (0); _floorl (0);
61426 ;
61427 return 0;
61428 }
61429 _ACEOF
61430 if ac_fn_cxx_try_compile "$LINENO"; then :
61431 glibcxx_cv_func__long_double_round_use=yes
61432 else
61433 glibcxx_cv_func__long_double_round_use=no
61434 fi
61435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61436 ac_ext=c
61437 ac_cpp='$CPP $CPPFLAGS'
61438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61441
61442 fi
61443
61444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61445 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61446 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61447 for ac_func in _ceill _floorl
61448 do :
61449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61451 eval as_val=\$$as_ac_var
61452 if test "x$as_val" = x""yes; then :
61453 cat >>confdefs.h <<_ACEOF
61454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61455 _ACEOF
61456
61457 fi
61458 done
61459
61460 fi
61461 fi
61462
61463
61464
61465
61466
61467
61468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61469 $as_echo_n "checking for isnanl declaration... " >&6; }
61470 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61471 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61472 $as_echo_n "(cached) " >&6
61473 else
61474
61475
61476 ac_ext=cpp
61477 ac_cpp='$CXXCPP $CPPFLAGS'
61478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61481
61482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61483 /* end confdefs.h. */
61484 #include <math.h>
61485 #ifdef HAVE_IEEEFP_H
61486 #include <ieeefp.h>
61487 #endif
61488
61489 int
61490 main ()
61491 {
61492 isnanl(0);
61493 ;
61494 return 0;
61495 }
61496 _ACEOF
61497 if ac_fn_cxx_try_compile "$LINENO"; then :
61498 glibcxx_cv_func_isnanl_use=yes
61499 else
61500 glibcxx_cv_func_isnanl_use=no
61501 fi
61502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61503 ac_ext=c
61504 ac_cpp='$CPP $CPPFLAGS'
61505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61508
61509
61510 fi
61511
61512 fi
61513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61514 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61515
61516 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61517 for ac_func in isnanl
61518 do :
61519 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61520 if test "x$ac_cv_func_isnanl" = x""yes; then :
61521 cat >>confdefs.h <<_ACEOF
61522 #define HAVE_ISNANL 1
61523 _ACEOF
61524
61525 fi
61526 done
61527
61528 else
61529
61530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61531 $as_echo_n "checking for _isnanl declaration... " >&6; }
61532 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61533 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61534 $as_echo_n "(cached) " >&6
61535 else
61536
61537
61538 ac_ext=cpp
61539 ac_cpp='$CXXCPP $CPPFLAGS'
61540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61543
61544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61545 /* end confdefs.h. */
61546 #include <math.h>
61547 #ifdef HAVE_IEEEFP_H
61548 #include <ieeefp.h>
61549 #endif
61550
61551 int
61552 main ()
61553 {
61554 _isnanl(0);
61555 ;
61556 return 0;
61557 }
61558 _ACEOF
61559 if ac_fn_cxx_try_compile "$LINENO"; then :
61560 glibcxx_cv_func__isnanl_use=yes
61561 else
61562 glibcxx_cv_func__isnanl_use=no
61563 fi
61564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61565 ac_ext=c
61566 ac_cpp='$CPP $CPPFLAGS'
61567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61570
61571
61572 fi
61573
61574 fi
61575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61576 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61577
61578 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61579 for ac_func in _isnanl
61580 do :
61581 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61582 if test "x$ac_cv_func__isnanl" = x""yes; then :
61583 cat >>confdefs.h <<_ACEOF
61584 #define HAVE__ISNANL 1
61585 _ACEOF
61586
61587 fi
61588 done
61589
61590 fi
61591 fi
61592
61593
61594
61595
61596
61597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61598 $as_echo_n "checking for isinfl declaration... " >&6; }
61599 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61600 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61601 $as_echo_n "(cached) " >&6
61602 else
61603
61604
61605 ac_ext=cpp
61606 ac_cpp='$CXXCPP $CPPFLAGS'
61607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61610
61611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61612 /* end confdefs.h. */
61613 #include <math.h>
61614 #ifdef HAVE_IEEEFP_H
61615 #include <ieeefp.h>
61616 #endif
61617
61618 int
61619 main ()
61620 {
61621 isinfl(0);
61622 ;
61623 return 0;
61624 }
61625 _ACEOF
61626 if ac_fn_cxx_try_compile "$LINENO"; then :
61627 glibcxx_cv_func_isinfl_use=yes
61628 else
61629 glibcxx_cv_func_isinfl_use=no
61630 fi
61631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61632 ac_ext=c
61633 ac_cpp='$CPP $CPPFLAGS'
61634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61637
61638
61639 fi
61640
61641 fi
61642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61643 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61644
61645 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61646 for ac_func in isinfl
61647 do :
61648 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61649 if test "x$ac_cv_func_isinfl" = x""yes; then :
61650 cat >>confdefs.h <<_ACEOF
61651 #define HAVE_ISINFL 1
61652 _ACEOF
61653
61654 fi
61655 done
61656
61657 else
61658
61659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61660 $as_echo_n "checking for _isinfl declaration... " >&6; }
61661 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61662 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61663 $as_echo_n "(cached) " >&6
61664 else
61665
61666
61667 ac_ext=cpp
61668 ac_cpp='$CXXCPP $CPPFLAGS'
61669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61672
61673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61674 /* end confdefs.h. */
61675 #include <math.h>
61676 #ifdef HAVE_IEEEFP_H
61677 #include <ieeefp.h>
61678 #endif
61679
61680 int
61681 main ()
61682 {
61683 _isinfl(0);
61684 ;
61685 return 0;
61686 }
61687 _ACEOF
61688 if ac_fn_cxx_try_compile "$LINENO"; then :
61689 glibcxx_cv_func__isinfl_use=yes
61690 else
61691 glibcxx_cv_func__isinfl_use=no
61692 fi
61693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61694 ac_ext=c
61695 ac_cpp='$CPP $CPPFLAGS'
61696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61699
61700
61701 fi
61702
61703 fi
61704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61705 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61706
61707 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61708 for ac_func in _isinfl
61709 do :
61710 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61711 if test "x$ac_cv_func__isinfl" = x""yes; then :
61712 cat >>confdefs.h <<_ACEOF
61713 #define HAVE__ISINFL 1
61714 _ACEOF
61715
61716 fi
61717 done
61718
61719 fi
61720 fi
61721
61722
61723
61724
61725
61726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61727 $as_echo_n "checking for atan2l declaration... " >&6; }
61728 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61729 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61730 $as_echo_n "(cached) " >&6
61731 else
61732
61733
61734 ac_ext=cpp
61735 ac_cpp='$CXXCPP $CPPFLAGS'
61736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61739
61740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61741 /* end confdefs.h. */
61742 #include <math.h>
61743 int
61744 main ()
61745 {
61746 atan2l(0, 0);
61747 ;
61748 return 0;
61749 }
61750 _ACEOF
61751 if ac_fn_cxx_try_compile "$LINENO"; then :
61752 glibcxx_cv_func_atan2l_use=yes
61753 else
61754 glibcxx_cv_func_atan2l_use=no
61755 fi
61756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61757 ac_ext=c
61758 ac_cpp='$CPP $CPPFLAGS'
61759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61762
61763
61764 fi
61765
61766 fi
61767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61768 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61769
61770 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61771 for ac_func in atan2l
61772 do :
61773 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61774 if test "x$ac_cv_func_atan2l" = x""yes; then :
61775 cat >>confdefs.h <<_ACEOF
61776 #define HAVE_ATAN2L 1
61777 _ACEOF
61778
61779 fi
61780 done
61781
61782 else
61783
61784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61785 $as_echo_n "checking for _atan2l declaration... " >&6; }
61786 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61787 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61788 $as_echo_n "(cached) " >&6
61789 else
61790
61791
61792 ac_ext=cpp
61793 ac_cpp='$CXXCPP $CPPFLAGS'
61794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61797
61798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61799 /* end confdefs.h. */
61800 #include <math.h>
61801 int
61802 main ()
61803 {
61804 _atan2l(0, 0);
61805 ;
61806 return 0;
61807 }
61808 _ACEOF
61809 if ac_fn_cxx_try_compile "$LINENO"; then :
61810 glibcxx_cv_func__atan2l_use=yes
61811 else
61812 glibcxx_cv_func__atan2l_use=no
61813 fi
61814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61815 ac_ext=c
61816 ac_cpp='$CPP $CPPFLAGS'
61817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61820
61821
61822 fi
61823
61824 fi
61825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61826 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61827
61828 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61829 for ac_func in _atan2l
61830 do :
61831 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61832 if test "x$ac_cv_func__atan2l" = x""yes; then :
61833 cat >>confdefs.h <<_ACEOF
61834 #define HAVE__ATAN2L 1
61835 _ACEOF
61836
61837 fi
61838 done
61839
61840 fi
61841 fi
61842
61843
61844
61845
61846
61847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61848 $as_echo_n "checking for expl declaration... " >&6; }
61849 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61850 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61851 $as_echo_n "(cached) " >&6
61852 else
61853
61854
61855 ac_ext=cpp
61856 ac_cpp='$CXXCPP $CPPFLAGS'
61857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61860
61861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61862 /* end confdefs.h. */
61863 #include <math.h>
61864 #ifdef HAVE_IEEEFP_H
61865 #include <ieeefp.h>
61866 #endif
61867
61868 int
61869 main ()
61870 {
61871 expl(0);
61872 ;
61873 return 0;
61874 }
61875 _ACEOF
61876 if ac_fn_cxx_try_compile "$LINENO"; then :
61877 glibcxx_cv_func_expl_use=yes
61878 else
61879 glibcxx_cv_func_expl_use=no
61880 fi
61881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61882 ac_ext=c
61883 ac_cpp='$CPP $CPPFLAGS'
61884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61887
61888
61889 fi
61890
61891 fi
61892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61893 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61894
61895 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61896 for ac_func in expl
61897 do :
61898 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61899 if test "x$ac_cv_func_expl" = x""yes; then :
61900 cat >>confdefs.h <<_ACEOF
61901 #define HAVE_EXPL 1
61902 _ACEOF
61903
61904 fi
61905 done
61906
61907 else
61908
61909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61910 $as_echo_n "checking for _expl declaration... " >&6; }
61911 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61912 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61913 $as_echo_n "(cached) " >&6
61914 else
61915
61916
61917 ac_ext=cpp
61918 ac_cpp='$CXXCPP $CPPFLAGS'
61919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61922
61923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61924 /* end confdefs.h. */
61925 #include <math.h>
61926 #ifdef HAVE_IEEEFP_H
61927 #include <ieeefp.h>
61928 #endif
61929
61930 int
61931 main ()
61932 {
61933 _expl(0);
61934 ;
61935 return 0;
61936 }
61937 _ACEOF
61938 if ac_fn_cxx_try_compile "$LINENO"; then :
61939 glibcxx_cv_func__expl_use=yes
61940 else
61941 glibcxx_cv_func__expl_use=no
61942 fi
61943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61944 ac_ext=c
61945 ac_cpp='$CPP $CPPFLAGS'
61946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61949
61950
61951 fi
61952
61953 fi
61954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
61955 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
61956
61957 if test x$glibcxx_cv_func__expl_use = x"yes"; then
61958 for ac_func in _expl
61959 do :
61960 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
61961 if test "x$ac_cv_func__expl" = x""yes; then :
61962 cat >>confdefs.h <<_ACEOF
61963 #define HAVE__EXPL 1
61964 _ACEOF
61965
61966 fi
61967 done
61968
61969 fi
61970 fi
61971
61972
61973
61974
61975
61976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
61977 $as_echo_n "checking for fabsl declaration... " >&6; }
61978 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
61979 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
61980 $as_echo_n "(cached) " >&6
61981 else
61982
61983
61984 ac_ext=cpp
61985 ac_cpp='$CXXCPP $CPPFLAGS'
61986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61989
61990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61991 /* end confdefs.h. */
61992 #include <math.h>
61993 #ifdef HAVE_IEEEFP_H
61994 #include <ieeefp.h>
61995 #endif
61996
61997 int
61998 main ()
61999 {
62000 fabsl(0);
62001 ;
62002 return 0;
62003 }
62004 _ACEOF
62005 if ac_fn_cxx_try_compile "$LINENO"; then :
62006 glibcxx_cv_func_fabsl_use=yes
62007 else
62008 glibcxx_cv_func_fabsl_use=no
62009 fi
62010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62011 ac_ext=c
62012 ac_cpp='$CPP $CPPFLAGS'
62013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62016
62017
62018 fi
62019
62020 fi
62021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62022 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62023
62024 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62025 for ac_func in fabsl
62026 do :
62027 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62028 if test "x$ac_cv_func_fabsl" = x""yes; then :
62029 cat >>confdefs.h <<_ACEOF
62030 #define HAVE_FABSL 1
62031 _ACEOF
62032
62033 fi
62034 done
62035
62036 else
62037
62038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62039 $as_echo_n "checking for _fabsl declaration... " >&6; }
62040 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62041 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62042 $as_echo_n "(cached) " >&6
62043 else
62044
62045
62046 ac_ext=cpp
62047 ac_cpp='$CXXCPP $CPPFLAGS'
62048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62051
62052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62053 /* end confdefs.h. */
62054 #include <math.h>
62055 #ifdef HAVE_IEEEFP_H
62056 #include <ieeefp.h>
62057 #endif
62058
62059 int
62060 main ()
62061 {
62062 _fabsl(0);
62063 ;
62064 return 0;
62065 }
62066 _ACEOF
62067 if ac_fn_cxx_try_compile "$LINENO"; then :
62068 glibcxx_cv_func__fabsl_use=yes
62069 else
62070 glibcxx_cv_func__fabsl_use=no
62071 fi
62072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62073 ac_ext=c
62074 ac_cpp='$CPP $CPPFLAGS'
62075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62078
62079
62080 fi
62081
62082 fi
62083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62084 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62085
62086 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62087 for ac_func in _fabsl
62088 do :
62089 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62090 if test "x$ac_cv_func__fabsl" = x""yes; then :
62091 cat >>confdefs.h <<_ACEOF
62092 #define HAVE__FABSL 1
62093 _ACEOF
62094
62095 fi
62096 done
62097
62098 fi
62099 fi
62100
62101
62102
62103
62104
62105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62106 $as_echo_n "checking for fmodl declaration... " >&6; }
62107 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62108 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62109 $as_echo_n "(cached) " >&6
62110 else
62111
62112
62113 ac_ext=cpp
62114 ac_cpp='$CXXCPP $CPPFLAGS'
62115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62118
62119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62120 /* end confdefs.h. */
62121 #include <math.h>
62122 int
62123 main ()
62124 {
62125 fmodl(0, 0);
62126 ;
62127 return 0;
62128 }
62129 _ACEOF
62130 if ac_fn_cxx_try_compile "$LINENO"; then :
62131 glibcxx_cv_func_fmodl_use=yes
62132 else
62133 glibcxx_cv_func_fmodl_use=no
62134 fi
62135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62136 ac_ext=c
62137 ac_cpp='$CPP $CPPFLAGS'
62138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62141
62142
62143 fi
62144
62145 fi
62146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62147 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62148
62149 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62150 for ac_func in fmodl
62151 do :
62152 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62153 if test "x$ac_cv_func_fmodl" = x""yes; then :
62154 cat >>confdefs.h <<_ACEOF
62155 #define HAVE_FMODL 1
62156 _ACEOF
62157
62158 fi
62159 done
62160
62161 else
62162
62163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62164 $as_echo_n "checking for _fmodl declaration... " >&6; }
62165 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62166 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62167 $as_echo_n "(cached) " >&6
62168 else
62169
62170
62171 ac_ext=cpp
62172 ac_cpp='$CXXCPP $CPPFLAGS'
62173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62176
62177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62178 /* end confdefs.h. */
62179 #include <math.h>
62180 int
62181 main ()
62182 {
62183 _fmodl(0, 0);
62184 ;
62185 return 0;
62186 }
62187 _ACEOF
62188 if ac_fn_cxx_try_compile "$LINENO"; then :
62189 glibcxx_cv_func__fmodl_use=yes
62190 else
62191 glibcxx_cv_func__fmodl_use=no
62192 fi
62193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62194 ac_ext=c
62195 ac_cpp='$CPP $CPPFLAGS'
62196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62199
62200
62201 fi
62202
62203 fi
62204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62205 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62206
62207 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62208 for ac_func in _fmodl
62209 do :
62210 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62211 if test "x$ac_cv_func__fmodl" = x""yes; then :
62212 cat >>confdefs.h <<_ACEOF
62213 #define HAVE__FMODL 1
62214 _ACEOF
62215
62216 fi
62217 done
62218
62219 fi
62220 fi
62221
62222
62223
62224
62225
62226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62227 $as_echo_n "checking for frexpl declaration... " >&6; }
62228 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62229 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62230 $as_echo_n "(cached) " >&6
62231 else
62232
62233
62234 ac_ext=cpp
62235 ac_cpp='$CXXCPP $CPPFLAGS'
62236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62239
62240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62241 /* end confdefs.h. */
62242 #include <math.h>
62243 int
62244 main ()
62245 {
62246 frexpl(0, 0);
62247 ;
62248 return 0;
62249 }
62250 _ACEOF
62251 if ac_fn_cxx_try_compile "$LINENO"; then :
62252 glibcxx_cv_func_frexpl_use=yes
62253 else
62254 glibcxx_cv_func_frexpl_use=no
62255 fi
62256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62257 ac_ext=c
62258 ac_cpp='$CPP $CPPFLAGS'
62259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62262
62263
62264 fi
62265
62266 fi
62267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62268 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62269
62270 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62271 for ac_func in frexpl
62272 do :
62273 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62274 if test "x$ac_cv_func_frexpl" = x""yes; then :
62275 cat >>confdefs.h <<_ACEOF
62276 #define HAVE_FREXPL 1
62277 _ACEOF
62278
62279 fi
62280 done
62281
62282 else
62283
62284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62285 $as_echo_n "checking for _frexpl declaration... " >&6; }
62286 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62287 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62288 $as_echo_n "(cached) " >&6
62289 else
62290
62291
62292 ac_ext=cpp
62293 ac_cpp='$CXXCPP $CPPFLAGS'
62294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62297
62298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62299 /* end confdefs.h. */
62300 #include <math.h>
62301 int
62302 main ()
62303 {
62304 _frexpl(0, 0);
62305 ;
62306 return 0;
62307 }
62308 _ACEOF
62309 if ac_fn_cxx_try_compile "$LINENO"; then :
62310 glibcxx_cv_func__frexpl_use=yes
62311 else
62312 glibcxx_cv_func__frexpl_use=no
62313 fi
62314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62315 ac_ext=c
62316 ac_cpp='$CPP $CPPFLAGS'
62317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62320
62321
62322 fi
62323
62324 fi
62325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62326 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62327
62328 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62329 for ac_func in _frexpl
62330 do :
62331 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62332 if test "x$ac_cv_func__frexpl" = x""yes; then :
62333 cat >>confdefs.h <<_ACEOF
62334 #define HAVE__FREXPL 1
62335 _ACEOF
62336
62337 fi
62338 done
62339
62340 fi
62341 fi
62342
62343
62344
62345
62346
62347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62348 $as_echo_n "checking for hypotl declaration... " >&6; }
62349 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62350 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62351 $as_echo_n "(cached) " >&6
62352 else
62353
62354
62355 ac_ext=cpp
62356 ac_cpp='$CXXCPP $CPPFLAGS'
62357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62360
62361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62362 /* end confdefs.h. */
62363 #include <math.h>
62364 int
62365 main ()
62366 {
62367 hypotl(0, 0);
62368 ;
62369 return 0;
62370 }
62371 _ACEOF
62372 if ac_fn_cxx_try_compile "$LINENO"; then :
62373 glibcxx_cv_func_hypotl_use=yes
62374 else
62375 glibcxx_cv_func_hypotl_use=no
62376 fi
62377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62378 ac_ext=c
62379 ac_cpp='$CPP $CPPFLAGS'
62380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62383
62384
62385 fi
62386
62387 fi
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62389 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62390
62391 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62392 for ac_func in hypotl
62393 do :
62394 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62395 if test "x$ac_cv_func_hypotl" = x""yes; then :
62396 cat >>confdefs.h <<_ACEOF
62397 #define HAVE_HYPOTL 1
62398 _ACEOF
62399
62400 fi
62401 done
62402
62403 else
62404
62405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62406 $as_echo_n "checking for _hypotl declaration... " >&6; }
62407 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62408 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62409 $as_echo_n "(cached) " >&6
62410 else
62411
62412
62413 ac_ext=cpp
62414 ac_cpp='$CXXCPP $CPPFLAGS'
62415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62418
62419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62420 /* end confdefs.h. */
62421 #include <math.h>
62422 int
62423 main ()
62424 {
62425 _hypotl(0, 0);
62426 ;
62427 return 0;
62428 }
62429 _ACEOF
62430 if ac_fn_cxx_try_compile "$LINENO"; then :
62431 glibcxx_cv_func__hypotl_use=yes
62432 else
62433 glibcxx_cv_func__hypotl_use=no
62434 fi
62435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62436 ac_ext=c
62437 ac_cpp='$CPP $CPPFLAGS'
62438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62441
62442
62443 fi
62444
62445 fi
62446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62447 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62448
62449 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62450 for ac_func in _hypotl
62451 do :
62452 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62453 if test "x$ac_cv_func__hypotl" = x""yes; then :
62454 cat >>confdefs.h <<_ACEOF
62455 #define HAVE__HYPOTL 1
62456 _ACEOF
62457
62458 fi
62459 done
62460
62461 fi
62462 fi
62463
62464
62465
62466
62467
62468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62469 $as_echo_n "checking for ldexpl declaration... " >&6; }
62470 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62471 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62472 $as_echo_n "(cached) " >&6
62473 else
62474
62475
62476 ac_ext=cpp
62477 ac_cpp='$CXXCPP $CPPFLAGS'
62478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62481
62482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62483 /* end confdefs.h. */
62484 #include <math.h>
62485 int
62486 main ()
62487 {
62488 ldexpl(0, 0);
62489 ;
62490 return 0;
62491 }
62492 _ACEOF
62493 if ac_fn_cxx_try_compile "$LINENO"; then :
62494 glibcxx_cv_func_ldexpl_use=yes
62495 else
62496 glibcxx_cv_func_ldexpl_use=no
62497 fi
62498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62499 ac_ext=c
62500 ac_cpp='$CPP $CPPFLAGS'
62501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62504
62505
62506 fi
62507
62508 fi
62509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62510 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62511
62512 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62513 for ac_func in ldexpl
62514 do :
62515 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62516 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62517 cat >>confdefs.h <<_ACEOF
62518 #define HAVE_LDEXPL 1
62519 _ACEOF
62520
62521 fi
62522 done
62523
62524 else
62525
62526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62527 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62528 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62529 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62530 $as_echo_n "(cached) " >&6
62531 else
62532
62533
62534 ac_ext=cpp
62535 ac_cpp='$CXXCPP $CPPFLAGS'
62536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62539
62540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62541 /* end confdefs.h. */
62542 #include <math.h>
62543 int
62544 main ()
62545 {
62546 _ldexpl(0, 0);
62547 ;
62548 return 0;
62549 }
62550 _ACEOF
62551 if ac_fn_cxx_try_compile "$LINENO"; then :
62552 glibcxx_cv_func__ldexpl_use=yes
62553 else
62554 glibcxx_cv_func__ldexpl_use=no
62555 fi
62556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62557 ac_ext=c
62558 ac_cpp='$CPP $CPPFLAGS'
62559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62562
62563
62564 fi
62565
62566 fi
62567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62568 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62569
62570 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62571 for ac_func in _ldexpl
62572 do :
62573 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62574 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62575 cat >>confdefs.h <<_ACEOF
62576 #define HAVE__LDEXPL 1
62577 _ACEOF
62578
62579 fi
62580 done
62581
62582 fi
62583 fi
62584
62585
62586
62587
62588
62589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62590 $as_echo_n "checking for logl declaration... " >&6; }
62591 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62592 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62593 $as_echo_n "(cached) " >&6
62594 else
62595
62596
62597 ac_ext=cpp
62598 ac_cpp='$CXXCPP $CPPFLAGS'
62599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62602
62603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62604 /* end confdefs.h. */
62605 #include <math.h>
62606 #ifdef HAVE_IEEEFP_H
62607 #include <ieeefp.h>
62608 #endif
62609
62610 int
62611 main ()
62612 {
62613 logl(0);
62614 ;
62615 return 0;
62616 }
62617 _ACEOF
62618 if ac_fn_cxx_try_compile "$LINENO"; then :
62619 glibcxx_cv_func_logl_use=yes
62620 else
62621 glibcxx_cv_func_logl_use=no
62622 fi
62623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62624 ac_ext=c
62625 ac_cpp='$CPP $CPPFLAGS'
62626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62629
62630
62631 fi
62632
62633 fi
62634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62635 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62636
62637 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62638 for ac_func in logl
62639 do :
62640 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62641 if test "x$ac_cv_func_logl" = x""yes; then :
62642 cat >>confdefs.h <<_ACEOF
62643 #define HAVE_LOGL 1
62644 _ACEOF
62645
62646 fi
62647 done
62648
62649 else
62650
62651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62652 $as_echo_n "checking for _logl declaration... " >&6; }
62653 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62654 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62655 $as_echo_n "(cached) " >&6
62656 else
62657
62658
62659 ac_ext=cpp
62660 ac_cpp='$CXXCPP $CPPFLAGS'
62661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62664
62665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62666 /* end confdefs.h. */
62667 #include <math.h>
62668 #ifdef HAVE_IEEEFP_H
62669 #include <ieeefp.h>
62670 #endif
62671
62672 int
62673 main ()
62674 {
62675 _logl(0);
62676 ;
62677 return 0;
62678 }
62679 _ACEOF
62680 if ac_fn_cxx_try_compile "$LINENO"; then :
62681 glibcxx_cv_func__logl_use=yes
62682 else
62683 glibcxx_cv_func__logl_use=no
62684 fi
62685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62686 ac_ext=c
62687 ac_cpp='$CPP $CPPFLAGS'
62688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62691
62692
62693 fi
62694
62695 fi
62696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62697 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62698
62699 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62700 for ac_func in _logl
62701 do :
62702 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62703 if test "x$ac_cv_func__logl" = x""yes; then :
62704 cat >>confdefs.h <<_ACEOF
62705 #define HAVE__LOGL 1
62706 _ACEOF
62707
62708 fi
62709 done
62710
62711 fi
62712 fi
62713
62714
62715
62716
62717
62718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62719 $as_echo_n "checking for log10l declaration... " >&6; }
62720 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62721 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62722 $as_echo_n "(cached) " >&6
62723 else
62724
62725
62726 ac_ext=cpp
62727 ac_cpp='$CXXCPP $CPPFLAGS'
62728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62731
62732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62733 /* end confdefs.h. */
62734 #include <math.h>
62735 #ifdef HAVE_IEEEFP_H
62736 #include <ieeefp.h>
62737 #endif
62738
62739 int
62740 main ()
62741 {
62742 log10l(0);
62743 ;
62744 return 0;
62745 }
62746 _ACEOF
62747 if ac_fn_cxx_try_compile "$LINENO"; then :
62748 glibcxx_cv_func_log10l_use=yes
62749 else
62750 glibcxx_cv_func_log10l_use=no
62751 fi
62752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62753 ac_ext=c
62754 ac_cpp='$CPP $CPPFLAGS'
62755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62758
62759
62760 fi
62761
62762 fi
62763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62764 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62765
62766 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62767 for ac_func in log10l
62768 do :
62769 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62770 if test "x$ac_cv_func_log10l" = x""yes; then :
62771 cat >>confdefs.h <<_ACEOF
62772 #define HAVE_LOG10L 1
62773 _ACEOF
62774
62775 fi
62776 done
62777
62778 else
62779
62780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62781 $as_echo_n "checking for _log10l declaration... " >&6; }
62782 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62783 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62784 $as_echo_n "(cached) " >&6
62785 else
62786
62787
62788 ac_ext=cpp
62789 ac_cpp='$CXXCPP $CPPFLAGS'
62790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62793
62794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62795 /* end confdefs.h. */
62796 #include <math.h>
62797 #ifdef HAVE_IEEEFP_H
62798 #include <ieeefp.h>
62799 #endif
62800
62801 int
62802 main ()
62803 {
62804 _log10l(0);
62805 ;
62806 return 0;
62807 }
62808 _ACEOF
62809 if ac_fn_cxx_try_compile "$LINENO"; then :
62810 glibcxx_cv_func__log10l_use=yes
62811 else
62812 glibcxx_cv_func__log10l_use=no
62813 fi
62814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62815 ac_ext=c
62816 ac_cpp='$CPP $CPPFLAGS'
62817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62820
62821
62822 fi
62823
62824 fi
62825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62826 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62827
62828 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62829 for ac_func in _log10l
62830 do :
62831 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62832 if test "x$ac_cv_func__log10l" = x""yes; then :
62833 cat >>confdefs.h <<_ACEOF
62834 #define HAVE__LOG10L 1
62835 _ACEOF
62836
62837 fi
62838 done
62839
62840 fi
62841 fi
62842
62843
62844
62845
62846
62847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62848 $as_echo_n "checking for modfl declaration... " >&6; }
62849 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62850 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62851 $as_echo_n "(cached) " >&6
62852 else
62853
62854
62855 ac_ext=cpp
62856 ac_cpp='$CXXCPP $CPPFLAGS'
62857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62860
62861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62862 /* end confdefs.h. */
62863 #include <math.h>
62864 int
62865 main ()
62866 {
62867 modfl(0, 0);
62868 ;
62869 return 0;
62870 }
62871 _ACEOF
62872 if ac_fn_cxx_try_compile "$LINENO"; then :
62873 glibcxx_cv_func_modfl_use=yes
62874 else
62875 glibcxx_cv_func_modfl_use=no
62876 fi
62877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62878 ac_ext=c
62879 ac_cpp='$CPP $CPPFLAGS'
62880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62883
62884
62885 fi
62886
62887 fi
62888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62889 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62890
62891 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62892 for ac_func in modfl
62893 do :
62894 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62895 if test "x$ac_cv_func_modfl" = x""yes; then :
62896 cat >>confdefs.h <<_ACEOF
62897 #define HAVE_MODFL 1
62898 _ACEOF
62899
62900 fi
62901 done
62902
62903 else
62904
62905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62906 $as_echo_n "checking for _modfl declaration... " >&6; }
62907 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62908 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62909 $as_echo_n "(cached) " >&6
62910 else
62911
62912
62913 ac_ext=cpp
62914 ac_cpp='$CXXCPP $CPPFLAGS'
62915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62918
62919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62920 /* end confdefs.h. */
62921 #include <math.h>
62922 int
62923 main ()
62924 {
62925 _modfl(0, 0);
62926 ;
62927 return 0;
62928 }
62929 _ACEOF
62930 if ac_fn_cxx_try_compile "$LINENO"; then :
62931 glibcxx_cv_func__modfl_use=yes
62932 else
62933 glibcxx_cv_func__modfl_use=no
62934 fi
62935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62936 ac_ext=c
62937 ac_cpp='$CPP $CPPFLAGS'
62938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62941
62942
62943 fi
62944
62945 fi
62946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
62947 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
62948
62949 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
62950 for ac_func in _modfl
62951 do :
62952 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
62953 if test "x$ac_cv_func__modfl" = x""yes; then :
62954 cat >>confdefs.h <<_ACEOF
62955 #define HAVE__MODFL 1
62956 _ACEOF
62957
62958 fi
62959 done
62960
62961 fi
62962 fi
62963
62964
62965
62966
62967
62968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
62969 $as_echo_n "checking for powl declaration... " >&6; }
62970 if test x${glibcxx_cv_func_powl_use+set} != xset; then
62971 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
62972 $as_echo_n "(cached) " >&6
62973 else
62974
62975
62976 ac_ext=cpp
62977 ac_cpp='$CXXCPP $CPPFLAGS'
62978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62981
62982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62983 /* end confdefs.h. */
62984 #include <math.h>
62985 int
62986 main ()
62987 {
62988 powl(0, 0);
62989 ;
62990 return 0;
62991 }
62992 _ACEOF
62993 if ac_fn_cxx_try_compile "$LINENO"; then :
62994 glibcxx_cv_func_powl_use=yes
62995 else
62996 glibcxx_cv_func_powl_use=no
62997 fi
62998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62999 ac_ext=c
63000 ac_cpp='$CPP $CPPFLAGS'
63001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63004
63005
63006 fi
63007
63008 fi
63009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63010 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63011
63012 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63013 for ac_func in powl
63014 do :
63015 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63016 if test "x$ac_cv_func_powl" = x""yes; then :
63017 cat >>confdefs.h <<_ACEOF
63018 #define HAVE_POWL 1
63019 _ACEOF
63020
63021 fi
63022 done
63023
63024 else
63025
63026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63027 $as_echo_n "checking for _powl declaration... " >&6; }
63028 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63029 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63030 $as_echo_n "(cached) " >&6
63031 else
63032
63033
63034 ac_ext=cpp
63035 ac_cpp='$CXXCPP $CPPFLAGS'
63036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63039
63040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63041 /* end confdefs.h. */
63042 #include <math.h>
63043 int
63044 main ()
63045 {
63046 _powl(0, 0);
63047 ;
63048 return 0;
63049 }
63050 _ACEOF
63051 if ac_fn_cxx_try_compile "$LINENO"; then :
63052 glibcxx_cv_func__powl_use=yes
63053 else
63054 glibcxx_cv_func__powl_use=no
63055 fi
63056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63057 ac_ext=c
63058 ac_cpp='$CPP $CPPFLAGS'
63059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63062
63063
63064 fi
63065
63066 fi
63067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63068 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63069
63070 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63071 for ac_func in _powl
63072 do :
63073 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63074 if test "x$ac_cv_func__powl" = x""yes; then :
63075 cat >>confdefs.h <<_ACEOF
63076 #define HAVE__POWL 1
63077 _ACEOF
63078
63079 fi
63080 done
63081
63082 fi
63083 fi
63084
63085
63086
63087
63088
63089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63090 $as_echo_n "checking for sqrtl declaration... " >&6; }
63091 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63092 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63093 $as_echo_n "(cached) " >&6
63094 else
63095
63096
63097 ac_ext=cpp
63098 ac_cpp='$CXXCPP $CPPFLAGS'
63099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63102
63103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63104 /* end confdefs.h. */
63105 #include <math.h>
63106 #ifdef HAVE_IEEEFP_H
63107 #include <ieeefp.h>
63108 #endif
63109
63110 int
63111 main ()
63112 {
63113 sqrtl(0);
63114 ;
63115 return 0;
63116 }
63117 _ACEOF
63118 if ac_fn_cxx_try_compile "$LINENO"; then :
63119 glibcxx_cv_func_sqrtl_use=yes
63120 else
63121 glibcxx_cv_func_sqrtl_use=no
63122 fi
63123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63124 ac_ext=c
63125 ac_cpp='$CPP $CPPFLAGS'
63126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63129
63130
63131 fi
63132
63133 fi
63134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63135 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63136
63137 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63138 for ac_func in sqrtl
63139 do :
63140 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63141 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63142 cat >>confdefs.h <<_ACEOF
63143 #define HAVE_SQRTL 1
63144 _ACEOF
63145
63146 fi
63147 done
63148
63149 else
63150
63151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63152 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63153 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63154 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63155 $as_echo_n "(cached) " >&6
63156 else
63157
63158
63159 ac_ext=cpp
63160 ac_cpp='$CXXCPP $CPPFLAGS'
63161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63164
63165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63166 /* end confdefs.h. */
63167 #include <math.h>
63168 #ifdef HAVE_IEEEFP_H
63169 #include <ieeefp.h>
63170 #endif
63171
63172 int
63173 main ()
63174 {
63175 _sqrtl(0);
63176 ;
63177 return 0;
63178 }
63179 _ACEOF
63180 if ac_fn_cxx_try_compile "$LINENO"; then :
63181 glibcxx_cv_func__sqrtl_use=yes
63182 else
63183 glibcxx_cv_func__sqrtl_use=no
63184 fi
63185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63186 ac_ext=c
63187 ac_cpp='$CPP $CPPFLAGS'
63188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63191
63192
63193 fi
63194
63195 fi
63196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63197 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63198
63199 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63200 for ac_func in _sqrtl
63201 do :
63202 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63203 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63204 cat >>confdefs.h <<_ACEOF
63205 #define HAVE__SQRTL 1
63206 _ACEOF
63207
63208 fi
63209 done
63210
63211 fi
63212 fi
63213
63214
63215
63216
63217
63218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63219 $as_echo_n "checking for sincosl declaration... " >&6; }
63220 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63221 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63222 $as_echo_n "(cached) " >&6
63223 else
63224
63225
63226 ac_ext=cpp
63227 ac_cpp='$CXXCPP $CPPFLAGS'
63228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63231
63232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63233 /* end confdefs.h. */
63234 #include <math.h>
63235 int
63236 main ()
63237 {
63238 sincosl(0, 0, 0);
63239 ;
63240 return 0;
63241 }
63242 _ACEOF
63243 if ac_fn_cxx_try_compile "$LINENO"; then :
63244 glibcxx_cv_func_sincosl_use=yes
63245 else
63246 glibcxx_cv_func_sincosl_use=no
63247 fi
63248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63249 ac_ext=c
63250 ac_cpp='$CPP $CPPFLAGS'
63251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63254
63255
63256 fi
63257
63258 fi
63259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63260 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63261
63262 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63263 for ac_func in sincosl
63264 do :
63265 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63266 if test "x$ac_cv_func_sincosl" = x""yes; then :
63267 cat >>confdefs.h <<_ACEOF
63268 #define HAVE_SINCOSL 1
63269 _ACEOF
63270
63271 fi
63272 done
63273
63274 else
63275
63276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63277 $as_echo_n "checking for _sincosl declaration... " >&6; }
63278 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63279 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63280 $as_echo_n "(cached) " >&6
63281 else
63282
63283
63284 ac_ext=cpp
63285 ac_cpp='$CXXCPP $CPPFLAGS'
63286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63289
63290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63291 /* end confdefs.h. */
63292 #include <math.h>
63293 int
63294 main ()
63295 {
63296 _sincosl(0, 0, 0);
63297 ;
63298 return 0;
63299 }
63300 _ACEOF
63301 if ac_fn_cxx_try_compile "$LINENO"; then :
63302 glibcxx_cv_func__sincosl_use=yes
63303 else
63304 glibcxx_cv_func__sincosl_use=no
63305 fi
63306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63307 ac_ext=c
63308 ac_cpp='$CPP $CPPFLAGS'
63309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63312
63313
63314 fi
63315
63316 fi
63317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63318 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63319
63320 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63321 for ac_func in _sincosl
63322 do :
63323 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63324 if test "x$ac_cv_func__sincosl" = x""yes; then :
63325 cat >>confdefs.h <<_ACEOF
63326 #define HAVE__SINCOSL 1
63327 _ACEOF
63328
63329 fi
63330 done
63331
63332 fi
63333 fi
63334
63335
63336
63337
63338
63339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63340 $as_echo_n "checking for finitel declaration... " >&6; }
63341 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63342 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63343 $as_echo_n "(cached) " >&6
63344 else
63345
63346
63347 ac_ext=cpp
63348 ac_cpp='$CXXCPP $CPPFLAGS'
63349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63352
63353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63354 /* end confdefs.h. */
63355 #include <math.h>
63356 #ifdef HAVE_IEEEFP_H
63357 #include <ieeefp.h>
63358 #endif
63359
63360 int
63361 main ()
63362 {
63363 finitel(0);
63364 ;
63365 return 0;
63366 }
63367 _ACEOF
63368 if ac_fn_cxx_try_compile "$LINENO"; then :
63369 glibcxx_cv_func_finitel_use=yes
63370 else
63371 glibcxx_cv_func_finitel_use=no
63372 fi
63373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63374 ac_ext=c
63375 ac_cpp='$CPP $CPPFLAGS'
63376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63379
63380
63381 fi
63382
63383 fi
63384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63385 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63386
63387 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63388 for ac_func in finitel
63389 do :
63390 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63391 if test "x$ac_cv_func_finitel" = x""yes; then :
63392 cat >>confdefs.h <<_ACEOF
63393 #define HAVE_FINITEL 1
63394 _ACEOF
63395
63396 fi
63397 done
63398
63399 else
63400
63401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63402 $as_echo_n "checking for _finitel declaration... " >&6; }
63403 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63404 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63405 $as_echo_n "(cached) " >&6
63406 else
63407
63408
63409 ac_ext=cpp
63410 ac_cpp='$CXXCPP $CPPFLAGS'
63411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63414
63415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63416 /* end confdefs.h. */
63417 #include <math.h>
63418 #ifdef HAVE_IEEEFP_H
63419 #include <ieeefp.h>
63420 #endif
63421
63422 int
63423 main ()
63424 {
63425 _finitel(0);
63426 ;
63427 return 0;
63428 }
63429 _ACEOF
63430 if ac_fn_cxx_try_compile "$LINENO"; then :
63431 glibcxx_cv_func__finitel_use=yes
63432 else
63433 glibcxx_cv_func__finitel_use=no
63434 fi
63435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63436 ac_ext=c
63437 ac_cpp='$CPP $CPPFLAGS'
63438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63441
63442
63443 fi
63444
63445 fi
63446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63447 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63448
63449 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63450 for ac_func in _finitel
63451 do :
63452 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63453 if test "x$ac_cv_func__finitel" = x""yes; then :
63454 cat >>confdefs.h <<_ACEOF
63455 #define HAVE__FINITEL 1
63456 _ACEOF
63457
63458 fi
63459 done
63460
63461 fi
63462 fi
63463
63464
63465
63466
63467 LIBS="$ac_save_LIBS"
63468 CXXFLAGS="$ac_save_CXXFLAGS"
63469
63470
63471 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63472 ac_save_CXXFLAGS="$CXXFLAGS"
63473 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63474
63475
63476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63477 $as_echo_n "checking for strtold declaration... " >&6; }
63478 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63479 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63480 $as_echo_n "(cached) " >&6
63481 else
63482
63483
63484 ac_ext=cpp
63485 ac_cpp='$CXXCPP $CPPFLAGS'
63486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63489
63490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63491 /* end confdefs.h. */
63492 #include <stdlib.h>
63493 int
63494 main ()
63495 {
63496 strtold(0, 0);
63497 ;
63498 return 0;
63499 }
63500 _ACEOF
63501 if ac_fn_cxx_try_compile "$LINENO"; then :
63502 glibcxx_cv_func_strtold_use=yes
63503 else
63504 glibcxx_cv_func_strtold_use=no
63505 fi
63506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63507 ac_ext=c
63508 ac_cpp='$CPP $CPPFLAGS'
63509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63512
63513
63514 fi
63515
63516 fi
63517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63518 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63519 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63520 for ac_func in strtold
63521 do :
63522 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63523 if test "x$ac_cv_func_strtold" = x""yes; then :
63524 cat >>confdefs.h <<_ACEOF
63525 #define HAVE_STRTOLD 1
63526 _ACEOF
63527
63528 fi
63529 done
63530
63531 fi
63532
63533
63534
63535
63536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63537 $as_echo_n "checking for strtof declaration... " >&6; }
63538 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63539 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63540 $as_echo_n "(cached) " >&6
63541 else
63542
63543
63544 ac_ext=cpp
63545 ac_cpp='$CXXCPP $CPPFLAGS'
63546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63549
63550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63551 /* end confdefs.h. */
63552 #include <stdlib.h>
63553 int
63554 main ()
63555 {
63556 strtof(0, 0);
63557 ;
63558 return 0;
63559 }
63560 _ACEOF
63561 if ac_fn_cxx_try_compile "$LINENO"; then :
63562 glibcxx_cv_func_strtof_use=yes
63563 else
63564 glibcxx_cv_func_strtof_use=no
63565 fi
63566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63567 ac_ext=c
63568 ac_cpp='$CPP $CPPFLAGS'
63569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63572
63573
63574 fi
63575
63576 fi
63577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63578 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63579 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63580 for ac_func in strtof
63581 do :
63582 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63583 if test "x$ac_cv_func_strtof" = x""yes; then :
63584 cat >>confdefs.h <<_ACEOF
63585 #define HAVE_STRTOF 1
63586 _ACEOF
63587
63588 fi
63589 done
63590
63591 fi
63592
63593
63594
63595
63596 CXXFLAGS="$ac_save_CXXFLAGS"
63597
63598 ;;
63599 *-solaris*)
63600 case "$target" in
63601 *-solaris2.9 | *-solaris2.10)
63602
63603 # If we're not using GNU ld, then there's no point in even trying these
63604 # tests. Check for that first. We should have already tested for gld
63605 # by now (in libtool), but require it now just to be safe...
63606 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63607 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63608
63609
63610
63611 # The name set by libtool depends on the version of libtool. Shame on us
63612 # for depending on an impl detail, but c'est la vie. Older versions used
63613 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63614 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63615 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63616 # set (hence we're using an older libtool), then set it.
63617 if test x${with_gnu_ld+set} != xset; then
63618 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63619 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63620 with_gnu_ld=no
63621 else
63622 with_gnu_ld=$ac_cv_prog_gnu_ld
63623 fi
63624 fi
63625
63626 # Start by getting the version number. I think the libtool test already
63627 # does some of this, but throws away the result.
63628 glibcxx_ld_is_gold=no
63629 if test x"$with_gnu_ld" = x"yes"; then
63630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63631 $as_echo_n "checking for ld version... " >&6; }
63632
63633 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63634 glibcxx_ld_is_gold=yes
63635 fi
63636 ldver=`$LD --version 2>/dev/null |
63637 sed -e 's/GNU gold /GNU ld /;s/GNU ld version /GNU ld /;s/GNU ld ([^)]*) /GNU ld /;s/GNU ld \([0-9.][0-9.]*\).*/\1/; q'`
63638
63639 glibcxx_gnu_ld_version=`echo $ldver | \
63640 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63642 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63643 fi
63644
63645 # Set --gc-sections.
63646 glibcxx_have_gc_sections=no
63647 if test "$glibcxx_ld_is_gold" = "yes"; then
63648 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63649 glibcxx_have_gc_sections=yes
63650 fi
63651 else
63652 glibcxx_gcsections_min_ld=21602
63653 if test x"$with_gnu_ld" = x"yes" &&
63654 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63655 glibcxx_have_gc_sections=yes
63656 fi
63657 fi
63658 if test "$glibcxx_have_gc_sections" = "yes"; then
63659 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63660 # NB: This flag only works reliably after 2.16.1. Configure tests
63661 # for this are difficult, so hard wire a value that should work.
63662
63663 ac_test_CFLAGS="${CFLAGS+set}"
63664 ac_save_CFLAGS="$CFLAGS"
63665 CFLAGS='-Wl,--gc-sections'
63666
63667 # Check for -Wl,--gc-sections
63668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63669 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63670 if test x$gcc_no_link = xyes; then
63671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63672 fi
63673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63674 /* end confdefs.h. */
63675 int one(void) { return 1; }
63676 int two(void) { return 2; }
63677
63678 int
63679 main ()
63680 {
63681 two();
63682 ;
63683 return 0;
63684 }
63685 _ACEOF
63686 if ac_fn_c_try_link "$LINENO"; then :
63687 ac_gcsections=yes
63688 else
63689 ac_gcsections=no
63690 fi
63691 rm -f core conftest.err conftest.$ac_objext \
63692 conftest$ac_exeext conftest.$ac_ext
63693 if test "$ac_gcsections" = "yes"; then
63694 rm -f conftest.c
63695 touch conftest.c
63696 if $CC -c conftest.c; then
63697 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63698 grep "Warning: gc-sections option ignored" > /dev/null; then
63699 ac_gcsections=no
63700 fi
63701 fi
63702 rm -f conftest.c conftest.o conftest
63703 fi
63704 if test "$ac_gcsections" = "yes"; then
63705 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63706 fi
63707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63708 $as_echo "$ac_gcsections" >&6; }
63709
63710 if test "$ac_test_CFLAGS" = set; then
63711 CFLAGS="$ac_save_CFLAGS"
63712 else
63713 # this is the suspicious part
63714 CFLAGS=''
63715 fi
63716 fi
63717
63718 # Set -z,relro.
63719 # Note this is only for shared objects.
63720 ac_ld_relro=no
63721 if test x"$with_gnu_ld" = x"yes"; then
63722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63723 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63724 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63725 if test -n "$cxx_z_relo"; then
63726 OPT_LDFLAGS="-Wl,-z,relro"
63727 ac_ld_relro=yes
63728 fi
63729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63730 $as_echo "$ac_ld_relro" >&6; }
63731 fi
63732
63733 # Set linker optimization flags.
63734 if test x"$with_gnu_ld" = x"yes"; then
63735 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63736 fi
63737
63738
63739
63740
63741 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63742
63743 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63744
63745 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63746
63747 # All of the dependencies for wide character support are here, so
63748 # turn it on.
63749 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63750
63751 ;;
63752 esac
63753 case "$target" in
63754 *-*-solaris2.10)
63755 # These two C99 functions are present only in Solaris >= 10
63756 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63757
63758 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63759
63760 ;;
63761 esac
63762 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63763
63764 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63765
63766 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63767
63768 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63769
63770 ;;
63771 *-tpf)
63772 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63773 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63774
63775 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63776
63777 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63778
63779 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63780
63781 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63782
63783 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63784
63785 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63786
63787 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63788
63789 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63790
63791 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63792
63793 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63794
63795 if test x"long_double_math_on_this_cpu" = x"yes"; then
63796 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63797
63798 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63799
63800 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63801
63802 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63803
63804 fi
63805 ;;
63806 *-*vms*)
63807 # Check for available headers.
63808 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63809
63810 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63811 ac_save_CXXFLAGS="$CXXFLAGS"
63812 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63813
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63815 $as_echo_n "checking for sin in -lm... " >&6; }
63816 if test "${ac_cv_lib_m_sin+set}" = set; then :
63817 $as_echo_n "(cached) " >&6
63818 else
63819 ac_check_lib_save_LIBS=$LIBS
63820 LIBS="-lm $LIBS"
63821 if test x$gcc_no_link = xyes; then
63822 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63823 fi
63824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63825 /* end confdefs.h. */
63826
63827 /* Override any GCC internal prototype to avoid an error.
63828 Use char because int might match the return type of a GCC
63829 builtin and then its argument prototype would still apply. */
63830 #ifdef __cplusplus
63831 extern "C"
63832 #endif
63833 char sin ();
63834 int
63835 main ()
63836 {
63837 return sin ();
63838 ;
63839 return 0;
63840 }
63841 _ACEOF
63842 if ac_fn_c_try_link "$LINENO"; then :
63843 ac_cv_lib_m_sin=yes
63844 else
63845 ac_cv_lib_m_sin=no
63846 fi
63847 rm -f core conftest.err conftest.$ac_objext \
63848 conftest$ac_exeext conftest.$ac_ext
63849 LIBS=$ac_check_lib_save_LIBS
63850 fi
63851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63852 $as_echo "$ac_cv_lib_m_sin" >&6; }
63853 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63854 libm="-lm"
63855 fi
63856
63857 ac_save_LIBS="$LIBS"
63858 LIBS="$LIBS $libm"
63859
63860
63861
63862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63863 $as_echo_n "checking for isinf declaration... " >&6; }
63864 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63865 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63866 $as_echo_n "(cached) " >&6
63867 else
63868
63869
63870 ac_ext=cpp
63871 ac_cpp='$CXXCPP $CPPFLAGS'
63872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63875
63876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63877 /* end confdefs.h. */
63878 #include <math.h>
63879 #ifdef HAVE_IEEEFP_H
63880 #include <ieeefp.h>
63881 #endif
63882
63883 int
63884 main ()
63885 {
63886 isinf(0);
63887 ;
63888 return 0;
63889 }
63890 _ACEOF
63891 if ac_fn_cxx_try_compile "$LINENO"; then :
63892 glibcxx_cv_func_isinf_use=yes
63893 else
63894 glibcxx_cv_func_isinf_use=no
63895 fi
63896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63897 ac_ext=c
63898 ac_cpp='$CPP $CPPFLAGS'
63899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63902
63903
63904 fi
63905
63906 fi
63907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63908 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63909
63910 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63911 for ac_func in isinf
63912 do :
63913 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63914 if test "x$ac_cv_func_isinf" = x""yes; then :
63915 cat >>confdefs.h <<_ACEOF
63916 #define HAVE_ISINF 1
63917 _ACEOF
63918
63919 fi
63920 done
63921
63922 else
63923
63924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
63925 $as_echo_n "checking for _isinf declaration... " >&6; }
63926 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63927 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
63928 $as_echo_n "(cached) " >&6
63929 else
63930
63931
63932 ac_ext=cpp
63933 ac_cpp='$CXXCPP $CPPFLAGS'
63934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63937
63938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63939 /* end confdefs.h. */
63940 #include <math.h>
63941 #ifdef HAVE_IEEEFP_H
63942 #include <ieeefp.h>
63943 #endif
63944
63945 int
63946 main ()
63947 {
63948 _isinf(0);
63949 ;
63950 return 0;
63951 }
63952 _ACEOF
63953 if ac_fn_cxx_try_compile "$LINENO"; then :
63954 glibcxx_cv_func__isinf_use=yes
63955 else
63956 glibcxx_cv_func__isinf_use=no
63957 fi
63958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63959 ac_ext=c
63960 ac_cpp='$CPP $CPPFLAGS'
63961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63964
63965
63966 fi
63967
63968 fi
63969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
63970 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
63971
63972 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
63973 for ac_func in _isinf
63974 do :
63975 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
63976 if test "x$ac_cv_func__isinf" = x""yes; then :
63977 cat >>confdefs.h <<_ACEOF
63978 #define HAVE__ISINF 1
63979 _ACEOF
63980
63981 fi
63982 done
63983
63984 fi
63985 fi
63986
63987
63988
63989
63990
63991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
63992 $as_echo_n "checking for isnan declaration... " >&6; }
63993 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
63994 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
63995 $as_echo_n "(cached) " >&6
63996 else
63997
63998
63999 ac_ext=cpp
64000 ac_cpp='$CXXCPP $CPPFLAGS'
64001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64004
64005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64006 /* end confdefs.h. */
64007 #include <math.h>
64008 #ifdef HAVE_IEEEFP_H
64009 #include <ieeefp.h>
64010 #endif
64011
64012 int
64013 main ()
64014 {
64015 isnan(0);
64016 ;
64017 return 0;
64018 }
64019 _ACEOF
64020 if ac_fn_cxx_try_compile "$LINENO"; then :
64021 glibcxx_cv_func_isnan_use=yes
64022 else
64023 glibcxx_cv_func_isnan_use=no
64024 fi
64025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64026 ac_ext=c
64027 ac_cpp='$CPP $CPPFLAGS'
64028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64031
64032
64033 fi
64034
64035 fi
64036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64037 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64038
64039 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64040 for ac_func in isnan
64041 do :
64042 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64043 if test "x$ac_cv_func_isnan" = x""yes; then :
64044 cat >>confdefs.h <<_ACEOF
64045 #define HAVE_ISNAN 1
64046 _ACEOF
64047
64048 fi
64049 done
64050
64051 else
64052
64053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64054 $as_echo_n "checking for _isnan declaration... " >&6; }
64055 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64056 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64057 $as_echo_n "(cached) " >&6
64058 else
64059
64060
64061 ac_ext=cpp
64062 ac_cpp='$CXXCPP $CPPFLAGS'
64063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64066
64067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64068 /* end confdefs.h. */
64069 #include <math.h>
64070 #ifdef HAVE_IEEEFP_H
64071 #include <ieeefp.h>
64072 #endif
64073
64074 int
64075 main ()
64076 {
64077 _isnan(0);
64078 ;
64079 return 0;
64080 }
64081 _ACEOF
64082 if ac_fn_cxx_try_compile "$LINENO"; then :
64083 glibcxx_cv_func__isnan_use=yes
64084 else
64085 glibcxx_cv_func__isnan_use=no
64086 fi
64087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64088 ac_ext=c
64089 ac_cpp='$CPP $CPPFLAGS'
64090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64093
64094
64095 fi
64096
64097 fi
64098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64099 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64100
64101 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64102 for ac_func in _isnan
64103 do :
64104 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64105 if test "x$ac_cv_func__isnan" = x""yes; then :
64106 cat >>confdefs.h <<_ACEOF
64107 #define HAVE__ISNAN 1
64108 _ACEOF
64109
64110 fi
64111 done
64112
64113 fi
64114 fi
64115
64116
64117
64118
64119
64120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64121 $as_echo_n "checking for finite declaration... " >&6; }
64122 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64123 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64124 $as_echo_n "(cached) " >&6
64125 else
64126
64127
64128 ac_ext=cpp
64129 ac_cpp='$CXXCPP $CPPFLAGS'
64130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64133
64134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64135 /* end confdefs.h. */
64136 #include <math.h>
64137 #ifdef HAVE_IEEEFP_H
64138 #include <ieeefp.h>
64139 #endif
64140
64141 int
64142 main ()
64143 {
64144 finite(0);
64145 ;
64146 return 0;
64147 }
64148 _ACEOF
64149 if ac_fn_cxx_try_compile "$LINENO"; then :
64150 glibcxx_cv_func_finite_use=yes
64151 else
64152 glibcxx_cv_func_finite_use=no
64153 fi
64154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64155 ac_ext=c
64156 ac_cpp='$CPP $CPPFLAGS'
64157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64160
64161
64162 fi
64163
64164 fi
64165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64166 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64167
64168 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64169 for ac_func in finite
64170 do :
64171 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64172 if test "x$ac_cv_func_finite" = x""yes; then :
64173 cat >>confdefs.h <<_ACEOF
64174 #define HAVE_FINITE 1
64175 _ACEOF
64176
64177 fi
64178 done
64179
64180 else
64181
64182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64183 $as_echo_n "checking for _finite declaration... " >&6; }
64184 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64185 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64186 $as_echo_n "(cached) " >&6
64187 else
64188
64189
64190 ac_ext=cpp
64191 ac_cpp='$CXXCPP $CPPFLAGS'
64192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64195
64196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64197 /* end confdefs.h. */
64198 #include <math.h>
64199 #ifdef HAVE_IEEEFP_H
64200 #include <ieeefp.h>
64201 #endif
64202
64203 int
64204 main ()
64205 {
64206 _finite(0);
64207 ;
64208 return 0;
64209 }
64210 _ACEOF
64211 if ac_fn_cxx_try_compile "$LINENO"; then :
64212 glibcxx_cv_func__finite_use=yes
64213 else
64214 glibcxx_cv_func__finite_use=no
64215 fi
64216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64217 ac_ext=c
64218 ac_cpp='$CPP $CPPFLAGS'
64219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64222
64223
64224 fi
64225
64226 fi
64227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64228 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64229
64230 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64231 for ac_func in _finite
64232 do :
64233 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64234 if test "x$ac_cv_func__finite" = x""yes; then :
64235 cat >>confdefs.h <<_ACEOF
64236 #define HAVE__FINITE 1
64237 _ACEOF
64238
64239 fi
64240 done
64241
64242 fi
64243 fi
64244
64245
64246
64247
64248
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64250 $as_echo_n "checking for sincos declaration... " >&6; }
64251 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64252 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64253 $as_echo_n "(cached) " >&6
64254 else
64255
64256
64257 ac_ext=cpp
64258 ac_cpp='$CXXCPP $CPPFLAGS'
64259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64262
64263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64264 /* end confdefs.h. */
64265 #include <math.h>
64266 int
64267 main ()
64268 {
64269 sincos(0, 0, 0);
64270 ;
64271 return 0;
64272 }
64273 _ACEOF
64274 if ac_fn_cxx_try_compile "$LINENO"; then :
64275 glibcxx_cv_func_sincos_use=yes
64276 else
64277 glibcxx_cv_func_sincos_use=no
64278 fi
64279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64280 ac_ext=c
64281 ac_cpp='$CPP $CPPFLAGS'
64282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64285
64286
64287 fi
64288
64289 fi
64290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64291 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64292
64293 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64294 for ac_func in sincos
64295 do :
64296 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64297 if test "x$ac_cv_func_sincos" = x""yes; then :
64298 cat >>confdefs.h <<_ACEOF
64299 #define HAVE_SINCOS 1
64300 _ACEOF
64301
64302 fi
64303 done
64304
64305 else
64306
64307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64308 $as_echo_n "checking for _sincos declaration... " >&6; }
64309 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64310 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64311 $as_echo_n "(cached) " >&6
64312 else
64313
64314
64315 ac_ext=cpp
64316 ac_cpp='$CXXCPP $CPPFLAGS'
64317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64320
64321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64322 /* end confdefs.h. */
64323 #include <math.h>
64324 int
64325 main ()
64326 {
64327 _sincos(0, 0, 0);
64328 ;
64329 return 0;
64330 }
64331 _ACEOF
64332 if ac_fn_cxx_try_compile "$LINENO"; then :
64333 glibcxx_cv_func__sincos_use=yes
64334 else
64335 glibcxx_cv_func__sincos_use=no
64336 fi
64337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64338 ac_ext=c
64339 ac_cpp='$CPP $CPPFLAGS'
64340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64343
64344
64345 fi
64346
64347 fi
64348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64349 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64350
64351 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64352 for ac_func in _sincos
64353 do :
64354 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64355 if test "x$ac_cv_func__sincos" = x""yes; then :
64356 cat >>confdefs.h <<_ACEOF
64357 #define HAVE__SINCOS 1
64358 _ACEOF
64359
64360 fi
64361 done
64362
64363 fi
64364 fi
64365
64366
64367
64368
64369
64370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64371 $as_echo_n "checking for fpclass declaration... " >&6; }
64372 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64373 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64374 $as_echo_n "(cached) " >&6
64375 else
64376
64377
64378 ac_ext=cpp
64379 ac_cpp='$CXXCPP $CPPFLAGS'
64380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64383
64384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64385 /* end confdefs.h. */
64386 #include <math.h>
64387 #ifdef HAVE_IEEEFP_H
64388 #include <ieeefp.h>
64389 #endif
64390
64391 int
64392 main ()
64393 {
64394 fpclass(0);
64395 ;
64396 return 0;
64397 }
64398 _ACEOF
64399 if ac_fn_cxx_try_compile "$LINENO"; then :
64400 glibcxx_cv_func_fpclass_use=yes
64401 else
64402 glibcxx_cv_func_fpclass_use=no
64403 fi
64404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64405 ac_ext=c
64406 ac_cpp='$CPP $CPPFLAGS'
64407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64410
64411
64412 fi
64413
64414 fi
64415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64416 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64417
64418 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64419 for ac_func in fpclass
64420 do :
64421 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64422 if test "x$ac_cv_func_fpclass" = x""yes; then :
64423 cat >>confdefs.h <<_ACEOF
64424 #define HAVE_FPCLASS 1
64425 _ACEOF
64426
64427 fi
64428 done
64429
64430 else
64431
64432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64433 $as_echo_n "checking for _fpclass declaration... " >&6; }
64434 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64435 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64436 $as_echo_n "(cached) " >&6
64437 else
64438
64439
64440 ac_ext=cpp
64441 ac_cpp='$CXXCPP $CPPFLAGS'
64442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64445
64446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64447 /* end confdefs.h. */
64448 #include <math.h>
64449 #ifdef HAVE_IEEEFP_H
64450 #include <ieeefp.h>
64451 #endif
64452
64453 int
64454 main ()
64455 {
64456 _fpclass(0);
64457 ;
64458 return 0;
64459 }
64460 _ACEOF
64461 if ac_fn_cxx_try_compile "$LINENO"; then :
64462 glibcxx_cv_func__fpclass_use=yes
64463 else
64464 glibcxx_cv_func__fpclass_use=no
64465 fi
64466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64467 ac_ext=c
64468 ac_cpp='$CPP $CPPFLAGS'
64469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64472
64473
64474 fi
64475
64476 fi
64477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64478 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64479
64480 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64481 for ac_func in _fpclass
64482 do :
64483 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64484 if test "x$ac_cv_func__fpclass" = x""yes; then :
64485 cat >>confdefs.h <<_ACEOF
64486 #define HAVE__FPCLASS 1
64487 _ACEOF
64488
64489 fi
64490 done
64491
64492 fi
64493 fi
64494
64495
64496
64497
64498
64499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64500 $as_echo_n "checking for qfpclass declaration... " >&6; }
64501 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64502 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64503 $as_echo_n "(cached) " >&6
64504 else
64505
64506
64507 ac_ext=cpp
64508 ac_cpp='$CXXCPP $CPPFLAGS'
64509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64512
64513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64514 /* end confdefs.h. */
64515 #include <math.h>
64516 #ifdef HAVE_IEEEFP_H
64517 #include <ieeefp.h>
64518 #endif
64519
64520 int
64521 main ()
64522 {
64523 qfpclass(0);
64524 ;
64525 return 0;
64526 }
64527 _ACEOF
64528 if ac_fn_cxx_try_compile "$LINENO"; then :
64529 glibcxx_cv_func_qfpclass_use=yes
64530 else
64531 glibcxx_cv_func_qfpclass_use=no
64532 fi
64533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64534 ac_ext=c
64535 ac_cpp='$CPP $CPPFLAGS'
64536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64539
64540
64541 fi
64542
64543 fi
64544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64545 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64546
64547 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64548 for ac_func in qfpclass
64549 do :
64550 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64551 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64552 cat >>confdefs.h <<_ACEOF
64553 #define HAVE_QFPCLASS 1
64554 _ACEOF
64555
64556 fi
64557 done
64558
64559 else
64560
64561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64562 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64563 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64564 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64565 $as_echo_n "(cached) " >&6
64566 else
64567
64568
64569 ac_ext=cpp
64570 ac_cpp='$CXXCPP $CPPFLAGS'
64571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64574
64575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64576 /* end confdefs.h. */
64577 #include <math.h>
64578 #ifdef HAVE_IEEEFP_H
64579 #include <ieeefp.h>
64580 #endif
64581
64582 int
64583 main ()
64584 {
64585 _qfpclass(0);
64586 ;
64587 return 0;
64588 }
64589 _ACEOF
64590 if ac_fn_cxx_try_compile "$LINENO"; then :
64591 glibcxx_cv_func__qfpclass_use=yes
64592 else
64593 glibcxx_cv_func__qfpclass_use=no
64594 fi
64595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64596 ac_ext=c
64597 ac_cpp='$CPP $CPPFLAGS'
64598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64601
64602
64603 fi
64604
64605 fi
64606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64607 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64608
64609 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64610 for ac_func in _qfpclass
64611 do :
64612 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64613 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64614 cat >>confdefs.h <<_ACEOF
64615 #define HAVE__QFPCLASS 1
64616 _ACEOF
64617
64618 fi
64619 done
64620
64621 fi
64622 fi
64623
64624
64625
64626
64627
64628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64629 $as_echo_n "checking for hypot declaration... " >&6; }
64630 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64631 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64632 $as_echo_n "(cached) " >&6
64633 else
64634
64635
64636 ac_ext=cpp
64637 ac_cpp='$CXXCPP $CPPFLAGS'
64638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64641
64642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64643 /* end confdefs.h. */
64644 #include <math.h>
64645 int
64646 main ()
64647 {
64648 hypot(0, 0);
64649 ;
64650 return 0;
64651 }
64652 _ACEOF
64653 if ac_fn_cxx_try_compile "$LINENO"; then :
64654 glibcxx_cv_func_hypot_use=yes
64655 else
64656 glibcxx_cv_func_hypot_use=no
64657 fi
64658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64659 ac_ext=c
64660 ac_cpp='$CPP $CPPFLAGS'
64661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64664
64665
64666 fi
64667
64668 fi
64669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64670 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64671
64672 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64673 for ac_func in hypot
64674 do :
64675 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64676 if test "x$ac_cv_func_hypot" = x""yes; then :
64677 cat >>confdefs.h <<_ACEOF
64678 #define HAVE_HYPOT 1
64679 _ACEOF
64680
64681 fi
64682 done
64683
64684 else
64685
64686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64687 $as_echo_n "checking for _hypot declaration... " >&6; }
64688 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64689 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64690 $as_echo_n "(cached) " >&6
64691 else
64692
64693
64694 ac_ext=cpp
64695 ac_cpp='$CXXCPP $CPPFLAGS'
64696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64699
64700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64701 /* end confdefs.h. */
64702 #include <math.h>
64703 int
64704 main ()
64705 {
64706 _hypot(0, 0);
64707 ;
64708 return 0;
64709 }
64710 _ACEOF
64711 if ac_fn_cxx_try_compile "$LINENO"; then :
64712 glibcxx_cv_func__hypot_use=yes
64713 else
64714 glibcxx_cv_func__hypot_use=no
64715 fi
64716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64717 ac_ext=c
64718 ac_cpp='$CPP $CPPFLAGS'
64719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64722
64723
64724 fi
64725
64726 fi
64727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64728 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64729
64730 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64731 for ac_func in _hypot
64732 do :
64733 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64734 if test "x$ac_cv_func__hypot" = x""yes; then :
64735 cat >>confdefs.h <<_ACEOF
64736 #define HAVE__HYPOT 1
64737 _ACEOF
64738
64739 fi
64740 done
64741
64742 fi
64743 fi
64744
64745
64746
64747
64748
64749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64750 $as_echo_n "checking for float trig functions... " >&6; }
64751 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64752 $as_echo_n "(cached) " >&6
64753 else
64754
64755
64756 ac_ext=cpp
64757 ac_cpp='$CXXCPP $CPPFLAGS'
64758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64761
64762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64763 /* end confdefs.h. */
64764 #include <math.h>
64765 int
64766 main ()
64767 {
64768 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64769 ;
64770 return 0;
64771 }
64772 _ACEOF
64773 if ac_fn_cxx_try_compile "$LINENO"; then :
64774 glibcxx_cv_func_float_trig_use=yes
64775 else
64776 glibcxx_cv_func_float_trig_use=no
64777 fi
64778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64779 ac_ext=c
64780 ac_cpp='$CPP $CPPFLAGS'
64781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64784
64785 fi
64786
64787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64788 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64789 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64790 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64791 do :
64792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64794 eval as_val=\$$as_ac_var
64795 if test "x$as_val" = x""yes; then :
64796 cat >>confdefs.h <<_ACEOF
64797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64798 _ACEOF
64799
64800 fi
64801 done
64802
64803 else
64804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64805 $as_echo_n "checking for _float trig functions... " >&6; }
64806 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64807 $as_echo_n "(cached) " >&6
64808 else
64809
64810
64811 ac_ext=cpp
64812 ac_cpp='$CXXCPP $CPPFLAGS'
64813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64816
64817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64818 /* end confdefs.h. */
64819 #include <math.h>
64820 int
64821 main ()
64822 {
64823 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64824 ;
64825 return 0;
64826 }
64827 _ACEOF
64828 if ac_fn_cxx_try_compile "$LINENO"; then :
64829 glibcxx_cv_func__float_trig_use=yes
64830 else
64831 glibcxx_cv_func__float_trig_use=no
64832 fi
64833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64834 ac_ext=c
64835 ac_cpp='$CPP $CPPFLAGS'
64836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64839
64840 fi
64841
64842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64843 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64844 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64845 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64846 do :
64847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64849 eval as_val=\$$as_ac_var
64850 if test "x$as_val" = x""yes; then :
64851 cat >>confdefs.h <<_ACEOF
64852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64853 _ACEOF
64854
64855 fi
64856 done
64857
64858 fi
64859 fi
64860
64861
64862
64863
64864
64865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64866 $as_echo_n "checking for float round functions... " >&6; }
64867 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64868 $as_echo_n "(cached) " >&6
64869 else
64870
64871
64872 ac_ext=cpp
64873 ac_cpp='$CXXCPP $CPPFLAGS'
64874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64877
64878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64879 /* end confdefs.h. */
64880 #include <math.h>
64881 int
64882 main ()
64883 {
64884 ceilf (0); floorf (0);
64885 ;
64886 return 0;
64887 }
64888 _ACEOF
64889 if ac_fn_cxx_try_compile "$LINENO"; then :
64890 glibcxx_cv_func_float_round_use=yes
64891 else
64892 glibcxx_cv_func_float_round_use=no
64893 fi
64894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64895 ac_ext=c
64896 ac_cpp='$CPP $CPPFLAGS'
64897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64900
64901 fi
64902
64903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64904 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64905 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64906 for ac_func in ceilf floorf
64907 do :
64908 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64909 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64910 eval as_val=\$$as_ac_var
64911 if test "x$as_val" = x""yes; then :
64912 cat >>confdefs.h <<_ACEOF
64913 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64914 _ACEOF
64915
64916 fi
64917 done
64918
64919 else
64920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
64921 $as_echo_n "checking for _float round functions... " >&6; }
64922 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
64923 $as_echo_n "(cached) " >&6
64924 else
64925
64926
64927 ac_ext=cpp
64928 ac_cpp='$CXXCPP $CPPFLAGS'
64929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64932
64933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64934 /* end confdefs.h. */
64935 #include <math.h>
64936 int
64937 main ()
64938 {
64939 _ceilf (0); _floorf (0);
64940 ;
64941 return 0;
64942 }
64943 _ACEOF
64944 if ac_fn_cxx_try_compile "$LINENO"; then :
64945 glibcxx_cv_func__float_round_use=yes
64946 else
64947 glibcxx_cv_func__float_round_use=no
64948 fi
64949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64950 ac_ext=c
64951 ac_cpp='$CPP $CPPFLAGS'
64952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64955
64956 fi
64957
64958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
64959 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
64960 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
64961 for ac_func in _ceilf _floorf
64962 do :
64963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64965 eval as_val=\$$as_ac_var
64966 if test "x$as_val" = x""yes; then :
64967 cat >>confdefs.h <<_ACEOF
64968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64969 _ACEOF
64970
64971 fi
64972 done
64973
64974 fi
64975 fi
64976
64977
64978
64979
64980
64981
64982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
64983 $as_echo_n "checking for expf declaration... " >&6; }
64984 if test x${glibcxx_cv_func_expf_use+set} != xset; then
64985 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
64986 $as_echo_n "(cached) " >&6
64987 else
64988
64989
64990 ac_ext=cpp
64991 ac_cpp='$CXXCPP $CPPFLAGS'
64992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64995
64996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64997 /* end confdefs.h. */
64998 #include <math.h>
64999 #ifdef HAVE_IEEEFP_H
65000 #include <ieeefp.h>
65001 #endif
65002
65003 int
65004 main ()
65005 {
65006 expf(0);
65007 ;
65008 return 0;
65009 }
65010 _ACEOF
65011 if ac_fn_cxx_try_compile "$LINENO"; then :
65012 glibcxx_cv_func_expf_use=yes
65013 else
65014 glibcxx_cv_func_expf_use=no
65015 fi
65016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65017 ac_ext=c
65018 ac_cpp='$CPP $CPPFLAGS'
65019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65022
65023
65024 fi
65025
65026 fi
65027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65028 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65029
65030 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65031 for ac_func in expf
65032 do :
65033 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65034 if test "x$ac_cv_func_expf" = x""yes; then :
65035 cat >>confdefs.h <<_ACEOF
65036 #define HAVE_EXPF 1
65037 _ACEOF
65038
65039 fi
65040 done
65041
65042 else
65043
65044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65045 $as_echo_n "checking for _expf declaration... " >&6; }
65046 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65047 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65048 $as_echo_n "(cached) " >&6
65049 else
65050
65051
65052 ac_ext=cpp
65053 ac_cpp='$CXXCPP $CPPFLAGS'
65054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65057
65058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65059 /* end confdefs.h. */
65060 #include <math.h>
65061 #ifdef HAVE_IEEEFP_H
65062 #include <ieeefp.h>
65063 #endif
65064
65065 int
65066 main ()
65067 {
65068 _expf(0);
65069 ;
65070 return 0;
65071 }
65072 _ACEOF
65073 if ac_fn_cxx_try_compile "$LINENO"; then :
65074 glibcxx_cv_func__expf_use=yes
65075 else
65076 glibcxx_cv_func__expf_use=no
65077 fi
65078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65079 ac_ext=c
65080 ac_cpp='$CPP $CPPFLAGS'
65081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65084
65085
65086 fi
65087
65088 fi
65089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65090 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65091
65092 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65093 for ac_func in _expf
65094 do :
65095 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65096 if test "x$ac_cv_func__expf" = x""yes; then :
65097 cat >>confdefs.h <<_ACEOF
65098 #define HAVE__EXPF 1
65099 _ACEOF
65100
65101 fi
65102 done
65103
65104 fi
65105 fi
65106
65107
65108
65109
65110
65111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65112 $as_echo_n "checking for isnanf declaration... " >&6; }
65113 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65114 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65115 $as_echo_n "(cached) " >&6
65116 else
65117
65118
65119 ac_ext=cpp
65120 ac_cpp='$CXXCPP $CPPFLAGS'
65121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65124
65125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65126 /* end confdefs.h. */
65127 #include <math.h>
65128 #ifdef HAVE_IEEEFP_H
65129 #include <ieeefp.h>
65130 #endif
65131
65132 int
65133 main ()
65134 {
65135 isnanf(0);
65136 ;
65137 return 0;
65138 }
65139 _ACEOF
65140 if ac_fn_cxx_try_compile "$LINENO"; then :
65141 glibcxx_cv_func_isnanf_use=yes
65142 else
65143 glibcxx_cv_func_isnanf_use=no
65144 fi
65145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65146 ac_ext=c
65147 ac_cpp='$CPP $CPPFLAGS'
65148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65151
65152
65153 fi
65154
65155 fi
65156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65157 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65158
65159 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65160 for ac_func in isnanf
65161 do :
65162 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65163 if test "x$ac_cv_func_isnanf" = x""yes; then :
65164 cat >>confdefs.h <<_ACEOF
65165 #define HAVE_ISNANF 1
65166 _ACEOF
65167
65168 fi
65169 done
65170
65171 else
65172
65173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65174 $as_echo_n "checking for _isnanf declaration... " >&6; }
65175 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65176 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65177 $as_echo_n "(cached) " >&6
65178 else
65179
65180
65181 ac_ext=cpp
65182 ac_cpp='$CXXCPP $CPPFLAGS'
65183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65186
65187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65188 /* end confdefs.h. */
65189 #include <math.h>
65190 #ifdef HAVE_IEEEFP_H
65191 #include <ieeefp.h>
65192 #endif
65193
65194 int
65195 main ()
65196 {
65197 _isnanf(0);
65198 ;
65199 return 0;
65200 }
65201 _ACEOF
65202 if ac_fn_cxx_try_compile "$LINENO"; then :
65203 glibcxx_cv_func__isnanf_use=yes
65204 else
65205 glibcxx_cv_func__isnanf_use=no
65206 fi
65207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65208 ac_ext=c
65209 ac_cpp='$CPP $CPPFLAGS'
65210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65213
65214
65215 fi
65216
65217 fi
65218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65219 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65220
65221 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65222 for ac_func in _isnanf
65223 do :
65224 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65225 if test "x$ac_cv_func__isnanf" = x""yes; then :
65226 cat >>confdefs.h <<_ACEOF
65227 #define HAVE__ISNANF 1
65228 _ACEOF
65229
65230 fi
65231 done
65232
65233 fi
65234 fi
65235
65236
65237
65238
65239
65240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65241 $as_echo_n "checking for isinff declaration... " >&6; }
65242 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65243 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65244 $as_echo_n "(cached) " >&6
65245 else
65246
65247
65248 ac_ext=cpp
65249 ac_cpp='$CXXCPP $CPPFLAGS'
65250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65253
65254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65255 /* end confdefs.h. */
65256 #include <math.h>
65257 #ifdef HAVE_IEEEFP_H
65258 #include <ieeefp.h>
65259 #endif
65260
65261 int
65262 main ()
65263 {
65264 isinff(0);
65265 ;
65266 return 0;
65267 }
65268 _ACEOF
65269 if ac_fn_cxx_try_compile "$LINENO"; then :
65270 glibcxx_cv_func_isinff_use=yes
65271 else
65272 glibcxx_cv_func_isinff_use=no
65273 fi
65274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65275 ac_ext=c
65276 ac_cpp='$CPP $CPPFLAGS'
65277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65280
65281
65282 fi
65283
65284 fi
65285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65286 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65287
65288 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65289 for ac_func in isinff
65290 do :
65291 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65292 if test "x$ac_cv_func_isinff" = x""yes; then :
65293 cat >>confdefs.h <<_ACEOF
65294 #define HAVE_ISINFF 1
65295 _ACEOF
65296
65297 fi
65298 done
65299
65300 else
65301
65302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65303 $as_echo_n "checking for _isinff declaration... " >&6; }
65304 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65305 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65306 $as_echo_n "(cached) " >&6
65307 else
65308
65309
65310 ac_ext=cpp
65311 ac_cpp='$CXXCPP $CPPFLAGS'
65312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65315
65316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65317 /* end confdefs.h. */
65318 #include <math.h>
65319 #ifdef HAVE_IEEEFP_H
65320 #include <ieeefp.h>
65321 #endif
65322
65323 int
65324 main ()
65325 {
65326 _isinff(0);
65327 ;
65328 return 0;
65329 }
65330 _ACEOF
65331 if ac_fn_cxx_try_compile "$LINENO"; then :
65332 glibcxx_cv_func__isinff_use=yes
65333 else
65334 glibcxx_cv_func__isinff_use=no
65335 fi
65336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65337 ac_ext=c
65338 ac_cpp='$CPP $CPPFLAGS'
65339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65342
65343
65344 fi
65345
65346 fi
65347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65348 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65349
65350 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65351 for ac_func in _isinff
65352 do :
65353 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65354 if test "x$ac_cv_func__isinff" = x""yes; then :
65355 cat >>confdefs.h <<_ACEOF
65356 #define HAVE__ISINFF 1
65357 _ACEOF
65358
65359 fi
65360 done
65361
65362 fi
65363 fi
65364
65365
65366
65367
65368
65369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65370 $as_echo_n "checking for atan2f declaration... " >&6; }
65371 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65372 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65373 $as_echo_n "(cached) " >&6
65374 else
65375
65376
65377 ac_ext=cpp
65378 ac_cpp='$CXXCPP $CPPFLAGS'
65379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65382
65383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65384 /* end confdefs.h. */
65385 #include <math.h>
65386 int
65387 main ()
65388 {
65389 atan2f(0, 0);
65390 ;
65391 return 0;
65392 }
65393 _ACEOF
65394 if ac_fn_cxx_try_compile "$LINENO"; then :
65395 glibcxx_cv_func_atan2f_use=yes
65396 else
65397 glibcxx_cv_func_atan2f_use=no
65398 fi
65399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65400 ac_ext=c
65401 ac_cpp='$CPP $CPPFLAGS'
65402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65405
65406
65407 fi
65408
65409 fi
65410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65411 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65412
65413 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65414 for ac_func in atan2f
65415 do :
65416 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65417 if test "x$ac_cv_func_atan2f" = x""yes; then :
65418 cat >>confdefs.h <<_ACEOF
65419 #define HAVE_ATAN2F 1
65420 _ACEOF
65421
65422 fi
65423 done
65424
65425 else
65426
65427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65428 $as_echo_n "checking for _atan2f declaration... " >&6; }
65429 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65430 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65431 $as_echo_n "(cached) " >&6
65432 else
65433
65434
65435 ac_ext=cpp
65436 ac_cpp='$CXXCPP $CPPFLAGS'
65437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65440
65441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65442 /* end confdefs.h. */
65443 #include <math.h>
65444 int
65445 main ()
65446 {
65447 _atan2f(0, 0);
65448 ;
65449 return 0;
65450 }
65451 _ACEOF
65452 if ac_fn_cxx_try_compile "$LINENO"; then :
65453 glibcxx_cv_func__atan2f_use=yes
65454 else
65455 glibcxx_cv_func__atan2f_use=no
65456 fi
65457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65458 ac_ext=c
65459 ac_cpp='$CPP $CPPFLAGS'
65460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65463
65464
65465 fi
65466
65467 fi
65468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65469 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65470
65471 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65472 for ac_func in _atan2f
65473 do :
65474 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65475 if test "x$ac_cv_func__atan2f" = x""yes; then :
65476 cat >>confdefs.h <<_ACEOF
65477 #define HAVE__ATAN2F 1
65478 _ACEOF
65479
65480 fi
65481 done
65482
65483 fi
65484 fi
65485
65486
65487
65488
65489
65490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65491 $as_echo_n "checking for fabsf declaration... " >&6; }
65492 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65493 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65494 $as_echo_n "(cached) " >&6
65495 else
65496
65497
65498 ac_ext=cpp
65499 ac_cpp='$CXXCPP $CPPFLAGS'
65500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65503
65504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65505 /* end confdefs.h. */
65506 #include <math.h>
65507 #ifdef HAVE_IEEEFP_H
65508 #include <ieeefp.h>
65509 #endif
65510
65511 int
65512 main ()
65513 {
65514 fabsf(0);
65515 ;
65516 return 0;
65517 }
65518 _ACEOF
65519 if ac_fn_cxx_try_compile "$LINENO"; then :
65520 glibcxx_cv_func_fabsf_use=yes
65521 else
65522 glibcxx_cv_func_fabsf_use=no
65523 fi
65524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65525 ac_ext=c
65526 ac_cpp='$CPP $CPPFLAGS'
65527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65530
65531
65532 fi
65533
65534 fi
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65536 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65537
65538 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65539 for ac_func in fabsf
65540 do :
65541 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65542 if test "x$ac_cv_func_fabsf" = x""yes; then :
65543 cat >>confdefs.h <<_ACEOF
65544 #define HAVE_FABSF 1
65545 _ACEOF
65546
65547 fi
65548 done
65549
65550 else
65551
65552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65553 $as_echo_n "checking for _fabsf declaration... " >&6; }
65554 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65555 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65556 $as_echo_n "(cached) " >&6
65557 else
65558
65559
65560 ac_ext=cpp
65561 ac_cpp='$CXXCPP $CPPFLAGS'
65562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65565
65566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65567 /* end confdefs.h. */
65568 #include <math.h>
65569 #ifdef HAVE_IEEEFP_H
65570 #include <ieeefp.h>
65571 #endif
65572
65573 int
65574 main ()
65575 {
65576 _fabsf(0);
65577 ;
65578 return 0;
65579 }
65580 _ACEOF
65581 if ac_fn_cxx_try_compile "$LINENO"; then :
65582 glibcxx_cv_func__fabsf_use=yes
65583 else
65584 glibcxx_cv_func__fabsf_use=no
65585 fi
65586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65587 ac_ext=c
65588 ac_cpp='$CPP $CPPFLAGS'
65589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65592
65593
65594 fi
65595
65596 fi
65597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65598 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65599
65600 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65601 for ac_func in _fabsf
65602 do :
65603 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65604 if test "x$ac_cv_func__fabsf" = x""yes; then :
65605 cat >>confdefs.h <<_ACEOF
65606 #define HAVE__FABSF 1
65607 _ACEOF
65608
65609 fi
65610 done
65611
65612 fi
65613 fi
65614
65615
65616
65617
65618
65619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65620 $as_echo_n "checking for fmodf declaration... " >&6; }
65621 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65622 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65623 $as_echo_n "(cached) " >&6
65624 else
65625
65626
65627 ac_ext=cpp
65628 ac_cpp='$CXXCPP $CPPFLAGS'
65629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65632
65633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65634 /* end confdefs.h. */
65635 #include <math.h>
65636 int
65637 main ()
65638 {
65639 fmodf(0, 0);
65640 ;
65641 return 0;
65642 }
65643 _ACEOF
65644 if ac_fn_cxx_try_compile "$LINENO"; then :
65645 glibcxx_cv_func_fmodf_use=yes
65646 else
65647 glibcxx_cv_func_fmodf_use=no
65648 fi
65649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65650 ac_ext=c
65651 ac_cpp='$CPP $CPPFLAGS'
65652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65655
65656
65657 fi
65658
65659 fi
65660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65661 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65662
65663 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65664 for ac_func in fmodf
65665 do :
65666 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65667 if test "x$ac_cv_func_fmodf" = x""yes; then :
65668 cat >>confdefs.h <<_ACEOF
65669 #define HAVE_FMODF 1
65670 _ACEOF
65671
65672 fi
65673 done
65674
65675 else
65676
65677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65678 $as_echo_n "checking for _fmodf declaration... " >&6; }
65679 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65680 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65681 $as_echo_n "(cached) " >&6
65682 else
65683
65684
65685 ac_ext=cpp
65686 ac_cpp='$CXXCPP $CPPFLAGS'
65687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65690
65691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65692 /* end confdefs.h. */
65693 #include <math.h>
65694 int
65695 main ()
65696 {
65697 _fmodf(0, 0);
65698 ;
65699 return 0;
65700 }
65701 _ACEOF
65702 if ac_fn_cxx_try_compile "$LINENO"; then :
65703 glibcxx_cv_func__fmodf_use=yes
65704 else
65705 glibcxx_cv_func__fmodf_use=no
65706 fi
65707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65708 ac_ext=c
65709 ac_cpp='$CPP $CPPFLAGS'
65710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65713
65714
65715 fi
65716
65717 fi
65718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65719 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65720
65721 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65722 for ac_func in _fmodf
65723 do :
65724 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65725 if test "x$ac_cv_func__fmodf" = x""yes; then :
65726 cat >>confdefs.h <<_ACEOF
65727 #define HAVE__FMODF 1
65728 _ACEOF
65729
65730 fi
65731 done
65732
65733 fi
65734 fi
65735
65736
65737
65738
65739
65740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65741 $as_echo_n "checking for frexpf declaration... " >&6; }
65742 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65743 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65744 $as_echo_n "(cached) " >&6
65745 else
65746
65747
65748 ac_ext=cpp
65749 ac_cpp='$CXXCPP $CPPFLAGS'
65750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65753
65754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65755 /* end confdefs.h. */
65756 #include <math.h>
65757 int
65758 main ()
65759 {
65760 frexpf(0, 0);
65761 ;
65762 return 0;
65763 }
65764 _ACEOF
65765 if ac_fn_cxx_try_compile "$LINENO"; then :
65766 glibcxx_cv_func_frexpf_use=yes
65767 else
65768 glibcxx_cv_func_frexpf_use=no
65769 fi
65770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65771 ac_ext=c
65772 ac_cpp='$CPP $CPPFLAGS'
65773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65776
65777
65778 fi
65779
65780 fi
65781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65782 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65783
65784 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65785 for ac_func in frexpf
65786 do :
65787 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65788 if test "x$ac_cv_func_frexpf" = x""yes; then :
65789 cat >>confdefs.h <<_ACEOF
65790 #define HAVE_FREXPF 1
65791 _ACEOF
65792
65793 fi
65794 done
65795
65796 else
65797
65798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65799 $as_echo_n "checking for _frexpf declaration... " >&6; }
65800 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65801 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65802 $as_echo_n "(cached) " >&6
65803 else
65804
65805
65806 ac_ext=cpp
65807 ac_cpp='$CXXCPP $CPPFLAGS'
65808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65811
65812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65813 /* end confdefs.h. */
65814 #include <math.h>
65815 int
65816 main ()
65817 {
65818 _frexpf(0, 0);
65819 ;
65820 return 0;
65821 }
65822 _ACEOF
65823 if ac_fn_cxx_try_compile "$LINENO"; then :
65824 glibcxx_cv_func__frexpf_use=yes
65825 else
65826 glibcxx_cv_func__frexpf_use=no
65827 fi
65828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65829 ac_ext=c
65830 ac_cpp='$CPP $CPPFLAGS'
65831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65834
65835
65836 fi
65837
65838 fi
65839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65840 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65841
65842 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65843 for ac_func in _frexpf
65844 do :
65845 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65846 if test "x$ac_cv_func__frexpf" = x""yes; then :
65847 cat >>confdefs.h <<_ACEOF
65848 #define HAVE__FREXPF 1
65849 _ACEOF
65850
65851 fi
65852 done
65853
65854 fi
65855 fi
65856
65857
65858
65859
65860
65861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65862 $as_echo_n "checking for hypotf declaration... " >&6; }
65863 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65864 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65865 $as_echo_n "(cached) " >&6
65866 else
65867
65868
65869 ac_ext=cpp
65870 ac_cpp='$CXXCPP $CPPFLAGS'
65871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65874
65875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65876 /* end confdefs.h. */
65877 #include <math.h>
65878 int
65879 main ()
65880 {
65881 hypotf(0, 0);
65882 ;
65883 return 0;
65884 }
65885 _ACEOF
65886 if ac_fn_cxx_try_compile "$LINENO"; then :
65887 glibcxx_cv_func_hypotf_use=yes
65888 else
65889 glibcxx_cv_func_hypotf_use=no
65890 fi
65891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65892 ac_ext=c
65893 ac_cpp='$CPP $CPPFLAGS'
65894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65897
65898
65899 fi
65900
65901 fi
65902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65903 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65904
65905 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65906 for ac_func in hypotf
65907 do :
65908 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65909 if test "x$ac_cv_func_hypotf" = x""yes; then :
65910 cat >>confdefs.h <<_ACEOF
65911 #define HAVE_HYPOTF 1
65912 _ACEOF
65913
65914 fi
65915 done
65916
65917 else
65918
65919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
65920 $as_echo_n "checking for _hypotf declaration... " >&6; }
65921 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65922 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
65923 $as_echo_n "(cached) " >&6
65924 else
65925
65926
65927 ac_ext=cpp
65928 ac_cpp='$CXXCPP $CPPFLAGS'
65929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65932
65933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65934 /* end confdefs.h. */
65935 #include <math.h>
65936 int
65937 main ()
65938 {
65939 _hypotf(0, 0);
65940 ;
65941 return 0;
65942 }
65943 _ACEOF
65944 if ac_fn_cxx_try_compile "$LINENO"; then :
65945 glibcxx_cv_func__hypotf_use=yes
65946 else
65947 glibcxx_cv_func__hypotf_use=no
65948 fi
65949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65950 ac_ext=c
65951 ac_cpp='$CPP $CPPFLAGS'
65952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65955
65956
65957 fi
65958
65959 fi
65960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
65961 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
65962
65963 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
65964 for ac_func in _hypotf
65965 do :
65966 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
65967 if test "x$ac_cv_func__hypotf" = x""yes; then :
65968 cat >>confdefs.h <<_ACEOF
65969 #define HAVE__HYPOTF 1
65970 _ACEOF
65971
65972 fi
65973 done
65974
65975 fi
65976 fi
65977
65978
65979
65980
65981
65982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
65983 $as_echo_n "checking for ldexpf declaration... " >&6; }
65984 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
65985 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
65986 $as_echo_n "(cached) " >&6
65987 else
65988
65989
65990 ac_ext=cpp
65991 ac_cpp='$CXXCPP $CPPFLAGS'
65992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65995
65996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65997 /* end confdefs.h. */
65998 #include <math.h>
65999 int
66000 main ()
66001 {
66002 ldexpf(0, 0);
66003 ;
66004 return 0;
66005 }
66006 _ACEOF
66007 if ac_fn_cxx_try_compile "$LINENO"; then :
66008 glibcxx_cv_func_ldexpf_use=yes
66009 else
66010 glibcxx_cv_func_ldexpf_use=no
66011 fi
66012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66013 ac_ext=c
66014 ac_cpp='$CPP $CPPFLAGS'
66015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66018
66019
66020 fi
66021
66022 fi
66023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66024 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66025
66026 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66027 for ac_func in ldexpf
66028 do :
66029 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66030 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66031 cat >>confdefs.h <<_ACEOF
66032 #define HAVE_LDEXPF 1
66033 _ACEOF
66034
66035 fi
66036 done
66037
66038 else
66039
66040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66041 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66042 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66043 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66044 $as_echo_n "(cached) " >&6
66045 else
66046
66047
66048 ac_ext=cpp
66049 ac_cpp='$CXXCPP $CPPFLAGS'
66050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66053
66054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66055 /* end confdefs.h. */
66056 #include <math.h>
66057 int
66058 main ()
66059 {
66060 _ldexpf(0, 0);
66061 ;
66062 return 0;
66063 }
66064 _ACEOF
66065 if ac_fn_cxx_try_compile "$LINENO"; then :
66066 glibcxx_cv_func__ldexpf_use=yes
66067 else
66068 glibcxx_cv_func__ldexpf_use=no
66069 fi
66070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66071 ac_ext=c
66072 ac_cpp='$CPP $CPPFLAGS'
66073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66076
66077
66078 fi
66079
66080 fi
66081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66082 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66083
66084 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66085 for ac_func in _ldexpf
66086 do :
66087 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66088 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66089 cat >>confdefs.h <<_ACEOF
66090 #define HAVE__LDEXPF 1
66091 _ACEOF
66092
66093 fi
66094 done
66095
66096 fi
66097 fi
66098
66099
66100
66101
66102
66103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66104 $as_echo_n "checking for logf declaration... " >&6; }
66105 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66106 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66107 $as_echo_n "(cached) " >&6
66108 else
66109
66110
66111 ac_ext=cpp
66112 ac_cpp='$CXXCPP $CPPFLAGS'
66113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66116
66117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66118 /* end confdefs.h. */
66119 #include <math.h>
66120 #ifdef HAVE_IEEEFP_H
66121 #include <ieeefp.h>
66122 #endif
66123
66124 int
66125 main ()
66126 {
66127 logf(0);
66128 ;
66129 return 0;
66130 }
66131 _ACEOF
66132 if ac_fn_cxx_try_compile "$LINENO"; then :
66133 glibcxx_cv_func_logf_use=yes
66134 else
66135 glibcxx_cv_func_logf_use=no
66136 fi
66137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66138 ac_ext=c
66139 ac_cpp='$CPP $CPPFLAGS'
66140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66143
66144
66145 fi
66146
66147 fi
66148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66149 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66150
66151 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66152 for ac_func in logf
66153 do :
66154 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66155 if test "x$ac_cv_func_logf" = x""yes; then :
66156 cat >>confdefs.h <<_ACEOF
66157 #define HAVE_LOGF 1
66158 _ACEOF
66159
66160 fi
66161 done
66162
66163 else
66164
66165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66166 $as_echo_n "checking for _logf declaration... " >&6; }
66167 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66168 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66169 $as_echo_n "(cached) " >&6
66170 else
66171
66172
66173 ac_ext=cpp
66174 ac_cpp='$CXXCPP $CPPFLAGS'
66175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66178
66179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66180 /* end confdefs.h. */
66181 #include <math.h>
66182 #ifdef HAVE_IEEEFP_H
66183 #include <ieeefp.h>
66184 #endif
66185
66186 int
66187 main ()
66188 {
66189 _logf(0);
66190 ;
66191 return 0;
66192 }
66193 _ACEOF
66194 if ac_fn_cxx_try_compile "$LINENO"; then :
66195 glibcxx_cv_func__logf_use=yes
66196 else
66197 glibcxx_cv_func__logf_use=no
66198 fi
66199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66200 ac_ext=c
66201 ac_cpp='$CPP $CPPFLAGS'
66202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66205
66206
66207 fi
66208
66209 fi
66210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66211 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66212
66213 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66214 for ac_func in _logf
66215 do :
66216 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66217 if test "x$ac_cv_func__logf" = x""yes; then :
66218 cat >>confdefs.h <<_ACEOF
66219 #define HAVE__LOGF 1
66220 _ACEOF
66221
66222 fi
66223 done
66224
66225 fi
66226 fi
66227
66228
66229
66230
66231
66232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66233 $as_echo_n "checking for log10f declaration... " >&6; }
66234 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66235 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66236 $as_echo_n "(cached) " >&6
66237 else
66238
66239
66240 ac_ext=cpp
66241 ac_cpp='$CXXCPP $CPPFLAGS'
66242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66245
66246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66247 /* end confdefs.h. */
66248 #include <math.h>
66249 #ifdef HAVE_IEEEFP_H
66250 #include <ieeefp.h>
66251 #endif
66252
66253 int
66254 main ()
66255 {
66256 log10f(0);
66257 ;
66258 return 0;
66259 }
66260 _ACEOF
66261 if ac_fn_cxx_try_compile "$LINENO"; then :
66262 glibcxx_cv_func_log10f_use=yes
66263 else
66264 glibcxx_cv_func_log10f_use=no
66265 fi
66266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66267 ac_ext=c
66268 ac_cpp='$CPP $CPPFLAGS'
66269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66272
66273
66274 fi
66275
66276 fi
66277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66278 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66279
66280 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66281 for ac_func in log10f
66282 do :
66283 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66284 if test "x$ac_cv_func_log10f" = x""yes; then :
66285 cat >>confdefs.h <<_ACEOF
66286 #define HAVE_LOG10F 1
66287 _ACEOF
66288
66289 fi
66290 done
66291
66292 else
66293
66294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66295 $as_echo_n "checking for _log10f declaration... " >&6; }
66296 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66297 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66298 $as_echo_n "(cached) " >&6
66299 else
66300
66301
66302 ac_ext=cpp
66303 ac_cpp='$CXXCPP $CPPFLAGS'
66304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66307
66308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66309 /* end confdefs.h. */
66310 #include <math.h>
66311 #ifdef HAVE_IEEEFP_H
66312 #include <ieeefp.h>
66313 #endif
66314
66315 int
66316 main ()
66317 {
66318 _log10f(0);
66319 ;
66320 return 0;
66321 }
66322 _ACEOF
66323 if ac_fn_cxx_try_compile "$LINENO"; then :
66324 glibcxx_cv_func__log10f_use=yes
66325 else
66326 glibcxx_cv_func__log10f_use=no
66327 fi
66328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66329 ac_ext=c
66330 ac_cpp='$CPP $CPPFLAGS'
66331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66334
66335
66336 fi
66337
66338 fi
66339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66340 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66341
66342 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66343 for ac_func in _log10f
66344 do :
66345 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66346 if test "x$ac_cv_func__log10f" = x""yes; then :
66347 cat >>confdefs.h <<_ACEOF
66348 #define HAVE__LOG10F 1
66349 _ACEOF
66350
66351 fi
66352 done
66353
66354 fi
66355 fi
66356
66357
66358
66359
66360
66361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66362 $as_echo_n "checking for modff declaration... " >&6; }
66363 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66364 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66365 $as_echo_n "(cached) " >&6
66366 else
66367
66368
66369 ac_ext=cpp
66370 ac_cpp='$CXXCPP $CPPFLAGS'
66371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66374
66375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66376 /* end confdefs.h. */
66377 #include <math.h>
66378 int
66379 main ()
66380 {
66381 modff(0, 0);
66382 ;
66383 return 0;
66384 }
66385 _ACEOF
66386 if ac_fn_cxx_try_compile "$LINENO"; then :
66387 glibcxx_cv_func_modff_use=yes
66388 else
66389 glibcxx_cv_func_modff_use=no
66390 fi
66391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66392 ac_ext=c
66393 ac_cpp='$CPP $CPPFLAGS'
66394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66397
66398
66399 fi
66400
66401 fi
66402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66403 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66404
66405 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66406 for ac_func in modff
66407 do :
66408 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66409 if test "x$ac_cv_func_modff" = x""yes; then :
66410 cat >>confdefs.h <<_ACEOF
66411 #define HAVE_MODFF 1
66412 _ACEOF
66413
66414 fi
66415 done
66416
66417 else
66418
66419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66420 $as_echo_n "checking for _modff declaration... " >&6; }
66421 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66422 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66423 $as_echo_n "(cached) " >&6
66424 else
66425
66426
66427 ac_ext=cpp
66428 ac_cpp='$CXXCPP $CPPFLAGS'
66429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66432
66433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66434 /* end confdefs.h. */
66435 #include <math.h>
66436 int
66437 main ()
66438 {
66439 _modff(0, 0);
66440 ;
66441 return 0;
66442 }
66443 _ACEOF
66444 if ac_fn_cxx_try_compile "$LINENO"; then :
66445 glibcxx_cv_func__modff_use=yes
66446 else
66447 glibcxx_cv_func__modff_use=no
66448 fi
66449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66450 ac_ext=c
66451 ac_cpp='$CPP $CPPFLAGS'
66452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66455
66456
66457 fi
66458
66459 fi
66460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66461 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66462
66463 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66464 for ac_func in _modff
66465 do :
66466 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66467 if test "x$ac_cv_func__modff" = x""yes; then :
66468 cat >>confdefs.h <<_ACEOF
66469 #define HAVE__MODFF 1
66470 _ACEOF
66471
66472 fi
66473 done
66474
66475 fi
66476 fi
66477
66478
66479
66480
66481
66482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66483 $as_echo_n "checking for modf declaration... " >&6; }
66484 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66485 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66486 $as_echo_n "(cached) " >&6
66487 else
66488
66489
66490 ac_ext=cpp
66491 ac_cpp='$CXXCPP $CPPFLAGS'
66492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66495
66496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66497 /* end confdefs.h. */
66498 #include <math.h>
66499 int
66500 main ()
66501 {
66502 modf(0, 0);
66503 ;
66504 return 0;
66505 }
66506 _ACEOF
66507 if ac_fn_cxx_try_compile "$LINENO"; then :
66508 glibcxx_cv_func_modf_use=yes
66509 else
66510 glibcxx_cv_func_modf_use=no
66511 fi
66512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66513 ac_ext=c
66514 ac_cpp='$CPP $CPPFLAGS'
66515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66518
66519
66520 fi
66521
66522 fi
66523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66524 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66525
66526 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66527 for ac_func in modf
66528 do :
66529 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66530 if test "x$ac_cv_func_modf" = x""yes; then :
66531 cat >>confdefs.h <<_ACEOF
66532 #define HAVE_MODF 1
66533 _ACEOF
66534
66535 fi
66536 done
66537
66538 else
66539
66540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66541 $as_echo_n "checking for _modf declaration... " >&6; }
66542 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66543 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66544 $as_echo_n "(cached) " >&6
66545 else
66546
66547
66548 ac_ext=cpp
66549 ac_cpp='$CXXCPP $CPPFLAGS'
66550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66553
66554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66555 /* end confdefs.h. */
66556 #include <math.h>
66557 int
66558 main ()
66559 {
66560 _modf(0, 0);
66561 ;
66562 return 0;
66563 }
66564 _ACEOF
66565 if ac_fn_cxx_try_compile "$LINENO"; then :
66566 glibcxx_cv_func__modf_use=yes
66567 else
66568 glibcxx_cv_func__modf_use=no
66569 fi
66570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66571 ac_ext=c
66572 ac_cpp='$CPP $CPPFLAGS'
66573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66576
66577
66578 fi
66579
66580 fi
66581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66582 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66583
66584 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66585 for ac_func in _modf
66586 do :
66587 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66588 if test "x$ac_cv_func__modf" = x""yes; then :
66589 cat >>confdefs.h <<_ACEOF
66590 #define HAVE__MODF 1
66591 _ACEOF
66592
66593 fi
66594 done
66595
66596 fi
66597 fi
66598
66599
66600
66601
66602
66603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66604 $as_echo_n "checking for powf declaration... " >&6; }
66605 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66606 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66607 $as_echo_n "(cached) " >&6
66608 else
66609
66610
66611 ac_ext=cpp
66612 ac_cpp='$CXXCPP $CPPFLAGS'
66613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66616
66617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66618 /* end confdefs.h. */
66619 #include <math.h>
66620 int
66621 main ()
66622 {
66623 powf(0, 0);
66624 ;
66625 return 0;
66626 }
66627 _ACEOF
66628 if ac_fn_cxx_try_compile "$LINENO"; then :
66629 glibcxx_cv_func_powf_use=yes
66630 else
66631 glibcxx_cv_func_powf_use=no
66632 fi
66633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66634 ac_ext=c
66635 ac_cpp='$CPP $CPPFLAGS'
66636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66639
66640
66641 fi
66642
66643 fi
66644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66645 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66646
66647 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66648 for ac_func in powf
66649 do :
66650 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66651 if test "x$ac_cv_func_powf" = x""yes; then :
66652 cat >>confdefs.h <<_ACEOF
66653 #define HAVE_POWF 1
66654 _ACEOF
66655
66656 fi
66657 done
66658
66659 else
66660
66661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66662 $as_echo_n "checking for _powf declaration... " >&6; }
66663 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66664 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66665 $as_echo_n "(cached) " >&6
66666 else
66667
66668
66669 ac_ext=cpp
66670 ac_cpp='$CXXCPP $CPPFLAGS'
66671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66674
66675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66676 /* end confdefs.h. */
66677 #include <math.h>
66678 int
66679 main ()
66680 {
66681 _powf(0, 0);
66682 ;
66683 return 0;
66684 }
66685 _ACEOF
66686 if ac_fn_cxx_try_compile "$LINENO"; then :
66687 glibcxx_cv_func__powf_use=yes
66688 else
66689 glibcxx_cv_func__powf_use=no
66690 fi
66691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66692 ac_ext=c
66693 ac_cpp='$CPP $CPPFLAGS'
66694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66697
66698
66699 fi
66700
66701 fi
66702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66703 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66704
66705 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66706 for ac_func in _powf
66707 do :
66708 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66709 if test "x$ac_cv_func__powf" = x""yes; then :
66710 cat >>confdefs.h <<_ACEOF
66711 #define HAVE__POWF 1
66712 _ACEOF
66713
66714 fi
66715 done
66716
66717 fi
66718 fi
66719
66720
66721
66722
66723
66724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66725 $as_echo_n "checking for sqrtf declaration... " >&6; }
66726 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66727 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66728 $as_echo_n "(cached) " >&6
66729 else
66730
66731
66732 ac_ext=cpp
66733 ac_cpp='$CXXCPP $CPPFLAGS'
66734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66737
66738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66739 /* end confdefs.h. */
66740 #include <math.h>
66741 #ifdef HAVE_IEEEFP_H
66742 #include <ieeefp.h>
66743 #endif
66744
66745 int
66746 main ()
66747 {
66748 sqrtf(0);
66749 ;
66750 return 0;
66751 }
66752 _ACEOF
66753 if ac_fn_cxx_try_compile "$LINENO"; then :
66754 glibcxx_cv_func_sqrtf_use=yes
66755 else
66756 glibcxx_cv_func_sqrtf_use=no
66757 fi
66758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66759 ac_ext=c
66760 ac_cpp='$CPP $CPPFLAGS'
66761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66764
66765
66766 fi
66767
66768 fi
66769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66770 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66771
66772 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66773 for ac_func in sqrtf
66774 do :
66775 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66776 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66777 cat >>confdefs.h <<_ACEOF
66778 #define HAVE_SQRTF 1
66779 _ACEOF
66780
66781 fi
66782 done
66783
66784 else
66785
66786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66787 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66788 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66789 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66790 $as_echo_n "(cached) " >&6
66791 else
66792
66793
66794 ac_ext=cpp
66795 ac_cpp='$CXXCPP $CPPFLAGS'
66796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66799
66800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66801 /* end confdefs.h. */
66802 #include <math.h>
66803 #ifdef HAVE_IEEEFP_H
66804 #include <ieeefp.h>
66805 #endif
66806
66807 int
66808 main ()
66809 {
66810 _sqrtf(0);
66811 ;
66812 return 0;
66813 }
66814 _ACEOF
66815 if ac_fn_cxx_try_compile "$LINENO"; then :
66816 glibcxx_cv_func__sqrtf_use=yes
66817 else
66818 glibcxx_cv_func__sqrtf_use=no
66819 fi
66820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66821 ac_ext=c
66822 ac_cpp='$CPP $CPPFLAGS'
66823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66826
66827
66828 fi
66829
66830 fi
66831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66832 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66833
66834 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66835 for ac_func in _sqrtf
66836 do :
66837 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66838 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66839 cat >>confdefs.h <<_ACEOF
66840 #define HAVE__SQRTF 1
66841 _ACEOF
66842
66843 fi
66844 done
66845
66846 fi
66847 fi
66848
66849
66850
66851
66852
66853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66854 $as_echo_n "checking for sincosf declaration... " >&6; }
66855 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66856 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66857 $as_echo_n "(cached) " >&6
66858 else
66859
66860
66861 ac_ext=cpp
66862 ac_cpp='$CXXCPP $CPPFLAGS'
66863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66866
66867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66868 /* end confdefs.h. */
66869 #include <math.h>
66870 int
66871 main ()
66872 {
66873 sincosf(0, 0, 0);
66874 ;
66875 return 0;
66876 }
66877 _ACEOF
66878 if ac_fn_cxx_try_compile "$LINENO"; then :
66879 glibcxx_cv_func_sincosf_use=yes
66880 else
66881 glibcxx_cv_func_sincosf_use=no
66882 fi
66883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66884 ac_ext=c
66885 ac_cpp='$CPP $CPPFLAGS'
66886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66889
66890
66891 fi
66892
66893 fi
66894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66895 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66896
66897 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66898 for ac_func in sincosf
66899 do :
66900 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66901 if test "x$ac_cv_func_sincosf" = x""yes; then :
66902 cat >>confdefs.h <<_ACEOF
66903 #define HAVE_SINCOSF 1
66904 _ACEOF
66905
66906 fi
66907 done
66908
66909 else
66910
66911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66912 $as_echo_n "checking for _sincosf declaration... " >&6; }
66913 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66914 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66915 $as_echo_n "(cached) " >&6
66916 else
66917
66918
66919 ac_ext=cpp
66920 ac_cpp='$CXXCPP $CPPFLAGS'
66921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66924
66925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66926 /* end confdefs.h. */
66927 #include <math.h>
66928 int
66929 main ()
66930 {
66931 _sincosf(0, 0, 0);
66932 ;
66933 return 0;
66934 }
66935 _ACEOF
66936 if ac_fn_cxx_try_compile "$LINENO"; then :
66937 glibcxx_cv_func__sincosf_use=yes
66938 else
66939 glibcxx_cv_func__sincosf_use=no
66940 fi
66941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66942 ac_ext=c
66943 ac_cpp='$CPP $CPPFLAGS'
66944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66947
66948
66949 fi
66950
66951 fi
66952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
66953 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
66954
66955 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
66956 for ac_func in _sincosf
66957 do :
66958 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
66959 if test "x$ac_cv_func__sincosf" = x""yes; then :
66960 cat >>confdefs.h <<_ACEOF
66961 #define HAVE__SINCOSF 1
66962 _ACEOF
66963
66964 fi
66965 done
66966
66967 fi
66968 fi
66969
66970
66971
66972
66973
66974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
66975 $as_echo_n "checking for finitef declaration... " >&6; }
66976 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
66977 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
66978 $as_echo_n "(cached) " >&6
66979 else
66980
66981
66982 ac_ext=cpp
66983 ac_cpp='$CXXCPP $CPPFLAGS'
66984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66987
66988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66989 /* end confdefs.h. */
66990 #include <math.h>
66991 #ifdef HAVE_IEEEFP_H
66992 #include <ieeefp.h>
66993 #endif
66994
66995 int
66996 main ()
66997 {
66998 finitef(0);
66999 ;
67000 return 0;
67001 }
67002 _ACEOF
67003 if ac_fn_cxx_try_compile "$LINENO"; then :
67004 glibcxx_cv_func_finitef_use=yes
67005 else
67006 glibcxx_cv_func_finitef_use=no
67007 fi
67008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67009 ac_ext=c
67010 ac_cpp='$CPP $CPPFLAGS'
67011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67014
67015
67016 fi
67017
67018 fi
67019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67020 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67021
67022 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67023 for ac_func in finitef
67024 do :
67025 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67026 if test "x$ac_cv_func_finitef" = x""yes; then :
67027 cat >>confdefs.h <<_ACEOF
67028 #define HAVE_FINITEF 1
67029 _ACEOF
67030
67031 fi
67032 done
67033
67034 else
67035
67036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67037 $as_echo_n "checking for _finitef declaration... " >&6; }
67038 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67039 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67040 $as_echo_n "(cached) " >&6
67041 else
67042
67043
67044 ac_ext=cpp
67045 ac_cpp='$CXXCPP $CPPFLAGS'
67046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67049
67050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67051 /* end confdefs.h. */
67052 #include <math.h>
67053 #ifdef HAVE_IEEEFP_H
67054 #include <ieeefp.h>
67055 #endif
67056
67057 int
67058 main ()
67059 {
67060 _finitef(0);
67061 ;
67062 return 0;
67063 }
67064 _ACEOF
67065 if ac_fn_cxx_try_compile "$LINENO"; then :
67066 glibcxx_cv_func__finitef_use=yes
67067 else
67068 glibcxx_cv_func__finitef_use=no
67069 fi
67070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67071 ac_ext=c
67072 ac_cpp='$CPP $CPPFLAGS'
67073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67076
67077
67078 fi
67079
67080 fi
67081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67082 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67083
67084 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67085 for ac_func in _finitef
67086 do :
67087 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67088 if test "x$ac_cv_func__finitef" = x""yes; then :
67089 cat >>confdefs.h <<_ACEOF
67090 #define HAVE__FINITEF 1
67091 _ACEOF
67092
67093 fi
67094 done
67095
67096 fi
67097 fi
67098
67099
67100
67101
67102
67103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67104 $as_echo_n "checking for long double trig functions... " >&6; }
67105 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67106 $as_echo_n "(cached) " >&6
67107 else
67108
67109
67110 ac_ext=cpp
67111 ac_cpp='$CXXCPP $CPPFLAGS'
67112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67115
67116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67117 /* end confdefs.h. */
67118 #include <math.h>
67119 int
67120 main ()
67121 {
67122 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67123 ;
67124 return 0;
67125 }
67126 _ACEOF
67127 if ac_fn_cxx_try_compile "$LINENO"; then :
67128 glibcxx_cv_func_long_double_trig_use=yes
67129 else
67130 glibcxx_cv_func_long_double_trig_use=no
67131 fi
67132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67133 ac_ext=c
67134 ac_cpp='$CPP $CPPFLAGS'
67135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67138
67139 fi
67140
67141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67142 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67143 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67144 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67145 do :
67146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67148 eval as_val=\$$as_ac_var
67149 if test "x$as_val" = x""yes; then :
67150 cat >>confdefs.h <<_ACEOF
67151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67152 _ACEOF
67153
67154 fi
67155 done
67156
67157 else
67158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67159 $as_echo_n "checking for _long double trig functions... " >&6; }
67160 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67161 $as_echo_n "(cached) " >&6
67162 else
67163
67164
67165 ac_ext=cpp
67166 ac_cpp='$CXXCPP $CPPFLAGS'
67167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67170
67171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67172 /* end confdefs.h. */
67173 #include <math.h>
67174 int
67175 main ()
67176 {
67177 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67178 ;
67179 return 0;
67180 }
67181 _ACEOF
67182 if ac_fn_cxx_try_compile "$LINENO"; then :
67183 glibcxx_cv_func__long_double_trig_use=yes
67184 else
67185 glibcxx_cv_func__long_double_trig_use=no
67186 fi
67187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67188 ac_ext=c
67189 ac_cpp='$CPP $CPPFLAGS'
67190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67193
67194 fi
67195
67196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67197 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67198 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67199 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67200 do :
67201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67203 eval as_val=\$$as_ac_var
67204 if test "x$as_val" = x""yes; then :
67205 cat >>confdefs.h <<_ACEOF
67206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67207 _ACEOF
67208
67209 fi
67210 done
67211
67212 fi
67213 fi
67214
67215
67216
67217
67218
67219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67220 $as_echo_n "checking for long double round functions... " >&6; }
67221 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67222 $as_echo_n "(cached) " >&6
67223 else
67224
67225
67226 ac_ext=cpp
67227 ac_cpp='$CXXCPP $CPPFLAGS'
67228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67231
67232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67233 /* end confdefs.h. */
67234 #include <math.h>
67235 int
67236 main ()
67237 {
67238 ceill (0); floorl (0);
67239 ;
67240 return 0;
67241 }
67242 _ACEOF
67243 if ac_fn_cxx_try_compile "$LINENO"; then :
67244 glibcxx_cv_func_long_double_round_use=yes
67245 else
67246 glibcxx_cv_func_long_double_round_use=no
67247 fi
67248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67249 ac_ext=c
67250 ac_cpp='$CPP $CPPFLAGS'
67251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67254
67255 fi
67256
67257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67258 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67259 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67260 for ac_func in ceill floorl
67261 do :
67262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67264 eval as_val=\$$as_ac_var
67265 if test "x$as_val" = x""yes; then :
67266 cat >>confdefs.h <<_ACEOF
67267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67268 _ACEOF
67269
67270 fi
67271 done
67272
67273 else
67274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67275 $as_echo_n "checking for _long double round functions... " >&6; }
67276 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67277 $as_echo_n "(cached) " >&6
67278 else
67279
67280
67281 ac_ext=cpp
67282 ac_cpp='$CXXCPP $CPPFLAGS'
67283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67286
67287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67288 /* end confdefs.h. */
67289 #include <math.h>
67290 int
67291 main ()
67292 {
67293 _ceill (0); _floorl (0);
67294 ;
67295 return 0;
67296 }
67297 _ACEOF
67298 if ac_fn_cxx_try_compile "$LINENO"; then :
67299 glibcxx_cv_func__long_double_round_use=yes
67300 else
67301 glibcxx_cv_func__long_double_round_use=no
67302 fi
67303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67304 ac_ext=c
67305 ac_cpp='$CPP $CPPFLAGS'
67306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67309
67310 fi
67311
67312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67313 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67314 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67315 for ac_func in _ceill _floorl
67316 do :
67317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67319 eval as_val=\$$as_ac_var
67320 if test "x$as_val" = x""yes; then :
67321 cat >>confdefs.h <<_ACEOF
67322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67323 _ACEOF
67324
67325 fi
67326 done
67327
67328 fi
67329 fi
67330
67331
67332
67333
67334
67335
67336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67337 $as_echo_n "checking for isnanl declaration... " >&6; }
67338 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67339 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67340 $as_echo_n "(cached) " >&6
67341 else
67342
67343
67344 ac_ext=cpp
67345 ac_cpp='$CXXCPP $CPPFLAGS'
67346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67349
67350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67351 /* end confdefs.h. */
67352 #include <math.h>
67353 #ifdef HAVE_IEEEFP_H
67354 #include <ieeefp.h>
67355 #endif
67356
67357 int
67358 main ()
67359 {
67360 isnanl(0);
67361 ;
67362 return 0;
67363 }
67364 _ACEOF
67365 if ac_fn_cxx_try_compile "$LINENO"; then :
67366 glibcxx_cv_func_isnanl_use=yes
67367 else
67368 glibcxx_cv_func_isnanl_use=no
67369 fi
67370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67371 ac_ext=c
67372 ac_cpp='$CPP $CPPFLAGS'
67373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67376
67377
67378 fi
67379
67380 fi
67381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67382 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67383
67384 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67385 for ac_func in isnanl
67386 do :
67387 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67388 if test "x$ac_cv_func_isnanl" = x""yes; then :
67389 cat >>confdefs.h <<_ACEOF
67390 #define HAVE_ISNANL 1
67391 _ACEOF
67392
67393 fi
67394 done
67395
67396 else
67397
67398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67399 $as_echo_n "checking for _isnanl declaration... " >&6; }
67400 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67401 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67402 $as_echo_n "(cached) " >&6
67403 else
67404
67405
67406 ac_ext=cpp
67407 ac_cpp='$CXXCPP $CPPFLAGS'
67408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67411
67412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67413 /* end confdefs.h. */
67414 #include <math.h>
67415 #ifdef HAVE_IEEEFP_H
67416 #include <ieeefp.h>
67417 #endif
67418
67419 int
67420 main ()
67421 {
67422 _isnanl(0);
67423 ;
67424 return 0;
67425 }
67426 _ACEOF
67427 if ac_fn_cxx_try_compile "$LINENO"; then :
67428 glibcxx_cv_func__isnanl_use=yes
67429 else
67430 glibcxx_cv_func__isnanl_use=no
67431 fi
67432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67433 ac_ext=c
67434 ac_cpp='$CPP $CPPFLAGS'
67435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67438
67439
67440 fi
67441
67442 fi
67443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67444 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67445
67446 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67447 for ac_func in _isnanl
67448 do :
67449 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67450 if test "x$ac_cv_func__isnanl" = x""yes; then :
67451 cat >>confdefs.h <<_ACEOF
67452 #define HAVE__ISNANL 1
67453 _ACEOF
67454
67455 fi
67456 done
67457
67458 fi
67459 fi
67460
67461
67462
67463
67464
67465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67466 $as_echo_n "checking for isinfl declaration... " >&6; }
67467 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67468 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67469 $as_echo_n "(cached) " >&6
67470 else
67471
67472
67473 ac_ext=cpp
67474 ac_cpp='$CXXCPP $CPPFLAGS'
67475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67478
67479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67480 /* end confdefs.h. */
67481 #include <math.h>
67482 #ifdef HAVE_IEEEFP_H
67483 #include <ieeefp.h>
67484 #endif
67485
67486 int
67487 main ()
67488 {
67489 isinfl(0);
67490 ;
67491 return 0;
67492 }
67493 _ACEOF
67494 if ac_fn_cxx_try_compile "$LINENO"; then :
67495 glibcxx_cv_func_isinfl_use=yes
67496 else
67497 glibcxx_cv_func_isinfl_use=no
67498 fi
67499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67500 ac_ext=c
67501 ac_cpp='$CPP $CPPFLAGS'
67502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67505
67506
67507 fi
67508
67509 fi
67510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67511 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67512
67513 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67514 for ac_func in isinfl
67515 do :
67516 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67517 if test "x$ac_cv_func_isinfl" = x""yes; then :
67518 cat >>confdefs.h <<_ACEOF
67519 #define HAVE_ISINFL 1
67520 _ACEOF
67521
67522 fi
67523 done
67524
67525 else
67526
67527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67528 $as_echo_n "checking for _isinfl declaration... " >&6; }
67529 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67530 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67531 $as_echo_n "(cached) " >&6
67532 else
67533
67534
67535 ac_ext=cpp
67536 ac_cpp='$CXXCPP $CPPFLAGS'
67537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67540
67541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67542 /* end confdefs.h. */
67543 #include <math.h>
67544 #ifdef HAVE_IEEEFP_H
67545 #include <ieeefp.h>
67546 #endif
67547
67548 int
67549 main ()
67550 {
67551 _isinfl(0);
67552 ;
67553 return 0;
67554 }
67555 _ACEOF
67556 if ac_fn_cxx_try_compile "$LINENO"; then :
67557 glibcxx_cv_func__isinfl_use=yes
67558 else
67559 glibcxx_cv_func__isinfl_use=no
67560 fi
67561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67562 ac_ext=c
67563 ac_cpp='$CPP $CPPFLAGS'
67564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67567
67568
67569 fi
67570
67571 fi
67572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67573 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67574
67575 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67576 for ac_func in _isinfl
67577 do :
67578 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67579 if test "x$ac_cv_func__isinfl" = x""yes; then :
67580 cat >>confdefs.h <<_ACEOF
67581 #define HAVE__ISINFL 1
67582 _ACEOF
67583
67584 fi
67585 done
67586
67587 fi
67588 fi
67589
67590
67591
67592
67593
67594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67595 $as_echo_n "checking for atan2l declaration... " >&6; }
67596 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67597 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67598 $as_echo_n "(cached) " >&6
67599 else
67600
67601
67602 ac_ext=cpp
67603 ac_cpp='$CXXCPP $CPPFLAGS'
67604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67607
67608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67609 /* end confdefs.h. */
67610 #include <math.h>
67611 int
67612 main ()
67613 {
67614 atan2l(0, 0);
67615 ;
67616 return 0;
67617 }
67618 _ACEOF
67619 if ac_fn_cxx_try_compile "$LINENO"; then :
67620 glibcxx_cv_func_atan2l_use=yes
67621 else
67622 glibcxx_cv_func_atan2l_use=no
67623 fi
67624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67625 ac_ext=c
67626 ac_cpp='$CPP $CPPFLAGS'
67627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67630
67631
67632 fi
67633
67634 fi
67635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67636 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67637
67638 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67639 for ac_func in atan2l
67640 do :
67641 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67642 if test "x$ac_cv_func_atan2l" = x""yes; then :
67643 cat >>confdefs.h <<_ACEOF
67644 #define HAVE_ATAN2L 1
67645 _ACEOF
67646
67647 fi
67648 done
67649
67650 else
67651
67652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67653 $as_echo_n "checking for _atan2l declaration... " >&6; }
67654 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67655 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67656 $as_echo_n "(cached) " >&6
67657 else
67658
67659
67660 ac_ext=cpp
67661 ac_cpp='$CXXCPP $CPPFLAGS'
67662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67665
67666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67667 /* end confdefs.h. */
67668 #include <math.h>
67669 int
67670 main ()
67671 {
67672 _atan2l(0, 0);
67673 ;
67674 return 0;
67675 }
67676 _ACEOF
67677 if ac_fn_cxx_try_compile "$LINENO"; then :
67678 glibcxx_cv_func__atan2l_use=yes
67679 else
67680 glibcxx_cv_func__atan2l_use=no
67681 fi
67682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67683 ac_ext=c
67684 ac_cpp='$CPP $CPPFLAGS'
67685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67688
67689
67690 fi
67691
67692 fi
67693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67694 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67695
67696 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67697 for ac_func in _atan2l
67698 do :
67699 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67700 if test "x$ac_cv_func__atan2l" = x""yes; then :
67701 cat >>confdefs.h <<_ACEOF
67702 #define HAVE__ATAN2L 1
67703 _ACEOF
67704
67705 fi
67706 done
67707
67708 fi
67709 fi
67710
67711
67712
67713
67714
67715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67716 $as_echo_n "checking for expl declaration... " >&6; }
67717 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67718 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67719 $as_echo_n "(cached) " >&6
67720 else
67721
67722
67723 ac_ext=cpp
67724 ac_cpp='$CXXCPP $CPPFLAGS'
67725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67728
67729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67730 /* end confdefs.h. */
67731 #include <math.h>
67732 #ifdef HAVE_IEEEFP_H
67733 #include <ieeefp.h>
67734 #endif
67735
67736 int
67737 main ()
67738 {
67739 expl(0);
67740 ;
67741 return 0;
67742 }
67743 _ACEOF
67744 if ac_fn_cxx_try_compile "$LINENO"; then :
67745 glibcxx_cv_func_expl_use=yes
67746 else
67747 glibcxx_cv_func_expl_use=no
67748 fi
67749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67750 ac_ext=c
67751 ac_cpp='$CPP $CPPFLAGS'
67752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67755
67756
67757 fi
67758
67759 fi
67760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67761 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67762
67763 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67764 for ac_func in expl
67765 do :
67766 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67767 if test "x$ac_cv_func_expl" = x""yes; then :
67768 cat >>confdefs.h <<_ACEOF
67769 #define HAVE_EXPL 1
67770 _ACEOF
67771
67772 fi
67773 done
67774
67775 else
67776
67777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67778 $as_echo_n "checking for _expl declaration... " >&6; }
67779 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67780 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67781 $as_echo_n "(cached) " >&6
67782 else
67783
67784
67785 ac_ext=cpp
67786 ac_cpp='$CXXCPP $CPPFLAGS'
67787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67790
67791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67792 /* end confdefs.h. */
67793 #include <math.h>
67794 #ifdef HAVE_IEEEFP_H
67795 #include <ieeefp.h>
67796 #endif
67797
67798 int
67799 main ()
67800 {
67801 _expl(0);
67802 ;
67803 return 0;
67804 }
67805 _ACEOF
67806 if ac_fn_cxx_try_compile "$LINENO"; then :
67807 glibcxx_cv_func__expl_use=yes
67808 else
67809 glibcxx_cv_func__expl_use=no
67810 fi
67811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67812 ac_ext=c
67813 ac_cpp='$CPP $CPPFLAGS'
67814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67817
67818
67819 fi
67820
67821 fi
67822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67823 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67824
67825 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67826 for ac_func in _expl
67827 do :
67828 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67829 if test "x$ac_cv_func__expl" = x""yes; then :
67830 cat >>confdefs.h <<_ACEOF
67831 #define HAVE__EXPL 1
67832 _ACEOF
67833
67834 fi
67835 done
67836
67837 fi
67838 fi
67839
67840
67841
67842
67843
67844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67845 $as_echo_n "checking for fabsl declaration... " >&6; }
67846 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67847 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67848 $as_echo_n "(cached) " >&6
67849 else
67850
67851
67852 ac_ext=cpp
67853 ac_cpp='$CXXCPP $CPPFLAGS'
67854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67857
67858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67859 /* end confdefs.h. */
67860 #include <math.h>
67861 #ifdef HAVE_IEEEFP_H
67862 #include <ieeefp.h>
67863 #endif
67864
67865 int
67866 main ()
67867 {
67868 fabsl(0);
67869 ;
67870 return 0;
67871 }
67872 _ACEOF
67873 if ac_fn_cxx_try_compile "$LINENO"; then :
67874 glibcxx_cv_func_fabsl_use=yes
67875 else
67876 glibcxx_cv_func_fabsl_use=no
67877 fi
67878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67879 ac_ext=c
67880 ac_cpp='$CPP $CPPFLAGS'
67881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67884
67885
67886 fi
67887
67888 fi
67889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67890 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67891
67892 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67893 for ac_func in fabsl
67894 do :
67895 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67896 if test "x$ac_cv_func_fabsl" = x""yes; then :
67897 cat >>confdefs.h <<_ACEOF
67898 #define HAVE_FABSL 1
67899 _ACEOF
67900
67901 fi
67902 done
67903
67904 else
67905
67906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67907 $as_echo_n "checking for _fabsl declaration... " >&6; }
67908 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67909 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67910 $as_echo_n "(cached) " >&6
67911 else
67912
67913
67914 ac_ext=cpp
67915 ac_cpp='$CXXCPP $CPPFLAGS'
67916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67919
67920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67921 /* end confdefs.h. */
67922 #include <math.h>
67923 #ifdef HAVE_IEEEFP_H
67924 #include <ieeefp.h>
67925 #endif
67926
67927 int
67928 main ()
67929 {
67930 _fabsl(0);
67931 ;
67932 return 0;
67933 }
67934 _ACEOF
67935 if ac_fn_cxx_try_compile "$LINENO"; then :
67936 glibcxx_cv_func__fabsl_use=yes
67937 else
67938 glibcxx_cv_func__fabsl_use=no
67939 fi
67940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67941 ac_ext=c
67942 ac_cpp='$CPP $CPPFLAGS'
67943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67946
67947
67948 fi
67949
67950 fi
67951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
67952 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
67953
67954 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
67955 for ac_func in _fabsl
67956 do :
67957 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
67958 if test "x$ac_cv_func__fabsl" = x""yes; then :
67959 cat >>confdefs.h <<_ACEOF
67960 #define HAVE__FABSL 1
67961 _ACEOF
67962
67963 fi
67964 done
67965
67966 fi
67967 fi
67968
67969
67970
67971
67972
67973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
67974 $as_echo_n "checking for fmodl declaration... " >&6; }
67975 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
67976 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
67977 $as_echo_n "(cached) " >&6
67978 else
67979
67980
67981 ac_ext=cpp
67982 ac_cpp='$CXXCPP $CPPFLAGS'
67983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67986
67987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67988 /* end confdefs.h. */
67989 #include <math.h>
67990 int
67991 main ()
67992 {
67993 fmodl(0, 0);
67994 ;
67995 return 0;
67996 }
67997 _ACEOF
67998 if ac_fn_cxx_try_compile "$LINENO"; then :
67999 glibcxx_cv_func_fmodl_use=yes
68000 else
68001 glibcxx_cv_func_fmodl_use=no
68002 fi
68003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68004 ac_ext=c
68005 ac_cpp='$CPP $CPPFLAGS'
68006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68009
68010
68011 fi
68012
68013 fi
68014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68015 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68016
68017 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68018 for ac_func in fmodl
68019 do :
68020 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68021 if test "x$ac_cv_func_fmodl" = x""yes; then :
68022 cat >>confdefs.h <<_ACEOF
68023 #define HAVE_FMODL 1
68024 _ACEOF
68025
68026 fi
68027 done
68028
68029 else
68030
68031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68032 $as_echo_n "checking for _fmodl declaration... " >&6; }
68033 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68034 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68035 $as_echo_n "(cached) " >&6
68036 else
68037
68038
68039 ac_ext=cpp
68040 ac_cpp='$CXXCPP $CPPFLAGS'
68041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68044
68045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68046 /* end confdefs.h. */
68047 #include <math.h>
68048 int
68049 main ()
68050 {
68051 _fmodl(0, 0);
68052 ;
68053 return 0;
68054 }
68055 _ACEOF
68056 if ac_fn_cxx_try_compile "$LINENO"; then :
68057 glibcxx_cv_func__fmodl_use=yes
68058 else
68059 glibcxx_cv_func__fmodl_use=no
68060 fi
68061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68062 ac_ext=c
68063 ac_cpp='$CPP $CPPFLAGS'
68064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68067
68068
68069 fi
68070
68071 fi
68072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68073 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68074
68075 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68076 for ac_func in _fmodl
68077 do :
68078 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68079 if test "x$ac_cv_func__fmodl" = x""yes; then :
68080 cat >>confdefs.h <<_ACEOF
68081 #define HAVE__FMODL 1
68082 _ACEOF
68083
68084 fi
68085 done
68086
68087 fi
68088 fi
68089
68090
68091
68092
68093
68094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68095 $as_echo_n "checking for frexpl declaration... " >&6; }
68096 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68097 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68098 $as_echo_n "(cached) " >&6
68099 else
68100
68101
68102 ac_ext=cpp
68103 ac_cpp='$CXXCPP $CPPFLAGS'
68104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68107
68108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68109 /* end confdefs.h. */
68110 #include <math.h>
68111 int
68112 main ()
68113 {
68114 frexpl(0, 0);
68115 ;
68116 return 0;
68117 }
68118 _ACEOF
68119 if ac_fn_cxx_try_compile "$LINENO"; then :
68120 glibcxx_cv_func_frexpl_use=yes
68121 else
68122 glibcxx_cv_func_frexpl_use=no
68123 fi
68124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
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
68130
68131
68132 fi
68133
68134 fi
68135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68136 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68137
68138 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68139 for ac_func in frexpl
68140 do :
68141 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68142 if test "x$ac_cv_func_frexpl" = x""yes; then :
68143 cat >>confdefs.h <<_ACEOF
68144 #define HAVE_FREXPL 1
68145 _ACEOF
68146
68147 fi
68148 done
68149
68150 else
68151
68152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68153 $as_echo_n "checking for _frexpl declaration... " >&6; }
68154 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68155 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68156 $as_echo_n "(cached) " >&6
68157 else
68158
68159
68160 ac_ext=cpp
68161 ac_cpp='$CXXCPP $CPPFLAGS'
68162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68165
68166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68167 /* end confdefs.h. */
68168 #include <math.h>
68169 int
68170 main ()
68171 {
68172 _frexpl(0, 0);
68173 ;
68174 return 0;
68175 }
68176 _ACEOF
68177 if ac_fn_cxx_try_compile "$LINENO"; then :
68178 glibcxx_cv_func__frexpl_use=yes
68179 else
68180 glibcxx_cv_func__frexpl_use=no
68181 fi
68182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68183 ac_ext=c
68184 ac_cpp='$CPP $CPPFLAGS'
68185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68188
68189
68190 fi
68191
68192 fi
68193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68194 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68195
68196 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68197 for ac_func in _frexpl
68198 do :
68199 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68200 if test "x$ac_cv_func__frexpl" = x""yes; then :
68201 cat >>confdefs.h <<_ACEOF
68202 #define HAVE__FREXPL 1
68203 _ACEOF
68204
68205 fi
68206 done
68207
68208 fi
68209 fi
68210
68211
68212
68213
68214
68215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68216 $as_echo_n "checking for hypotl declaration... " >&6; }
68217 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68218 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68219 $as_echo_n "(cached) " >&6
68220 else
68221
68222
68223 ac_ext=cpp
68224 ac_cpp='$CXXCPP $CPPFLAGS'
68225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68228
68229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68230 /* end confdefs.h. */
68231 #include <math.h>
68232 int
68233 main ()
68234 {
68235 hypotl(0, 0);
68236 ;
68237 return 0;
68238 }
68239 _ACEOF
68240 if ac_fn_cxx_try_compile "$LINENO"; then :
68241 glibcxx_cv_func_hypotl_use=yes
68242 else
68243 glibcxx_cv_func_hypotl_use=no
68244 fi
68245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68246 ac_ext=c
68247 ac_cpp='$CPP $CPPFLAGS'
68248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68251
68252
68253 fi
68254
68255 fi
68256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68257 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68258
68259 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68260 for ac_func in hypotl
68261 do :
68262 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68263 if test "x$ac_cv_func_hypotl" = x""yes; then :
68264 cat >>confdefs.h <<_ACEOF
68265 #define HAVE_HYPOTL 1
68266 _ACEOF
68267
68268 fi
68269 done
68270
68271 else
68272
68273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68274 $as_echo_n "checking for _hypotl declaration... " >&6; }
68275 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68276 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68277 $as_echo_n "(cached) " >&6
68278 else
68279
68280
68281 ac_ext=cpp
68282 ac_cpp='$CXXCPP $CPPFLAGS'
68283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68286
68287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68288 /* end confdefs.h. */
68289 #include <math.h>
68290 int
68291 main ()
68292 {
68293 _hypotl(0, 0);
68294 ;
68295 return 0;
68296 }
68297 _ACEOF
68298 if ac_fn_cxx_try_compile "$LINENO"; then :
68299 glibcxx_cv_func__hypotl_use=yes
68300 else
68301 glibcxx_cv_func__hypotl_use=no
68302 fi
68303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68304 ac_ext=c
68305 ac_cpp='$CPP $CPPFLAGS'
68306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68309
68310
68311 fi
68312
68313 fi
68314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68315 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68316
68317 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68318 for ac_func in _hypotl
68319 do :
68320 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68321 if test "x$ac_cv_func__hypotl" = x""yes; then :
68322 cat >>confdefs.h <<_ACEOF
68323 #define HAVE__HYPOTL 1
68324 _ACEOF
68325
68326 fi
68327 done
68328
68329 fi
68330 fi
68331
68332
68333
68334
68335
68336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68337 $as_echo_n "checking for ldexpl declaration... " >&6; }
68338 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68339 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68340 $as_echo_n "(cached) " >&6
68341 else
68342
68343
68344 ac_ext=cpp
68345 ac_cpp='$CXXCPP $CPPFLAGS'
68346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68349
68350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68351 /* end confdefs.h. */
68352 #include <math.h>
68353 int
68354 main ()
68355 {
68356 ldexpl(0, 0);
68357 ;
68358 return 0;
68359 }
68360 _ACEOF
68361 if ac_fn_cxx_try_compile "$LINENO"; then :
68362 glibcxx_cv_func_ldexpl_use=yes
68363 else
68364 glibcxx_cv_func_ldexpl_use=no
68365 fi
68366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68367 ac_ext=c
68368 ac_cpp='$CPP $CPPFLAGS'
68369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68372
68373
68374 fi
68375
68376 fi
68377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68378 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68379
68380 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68381 for ac_func in ldexpl
68382 do :
68383 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68384 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68385 cat >>confdefs.h <<_ACEOF
68386 #define HAVE_LDEXPL 1
68387 _ACEOF
68388
68389 fi
68390 done
68391
68392 else
68393
68394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68395 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68396 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68397 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68398 $as_echo_n "(cached) " >&6
68399 else
68400
68401
68402 ac_ext=cpp
68403 ac_cpp='$CXXCPP $CPPFLAGS'
68404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68407
68408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68409 /* end confdefs.h. */
68410 #include <math.h>
68411 int
68412 main ()
68413 {
68414 _ldexpl(0, 0);
68415 ;
68416 return 0;
68417 }
68418 _ACEOF
68419 if ac_fn_cxx_try_compile "$LINENO"; then :
68420 glibcxx_cv_func__ldexpl_use=yes
68421 else
68422 glibcxx_cv_func__ldexpl_use=no
68423 fi
68424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68425 ac_ext=c
68426 ac_cpp='$CPP $CPPFLAGS'
68427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68430
68431
68432 fi
68433
68434 fi
68435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68436 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68437
68438 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68439 for ac_func in _ldexpl
68440 do :
68441 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68442 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68443 cat >>confdefs.h <<_ACEOF
68444 #define HAVE__LDEXPL 1
68445 _ACEOF
68446
68447 fi
68448 done
68449
68450 fi
68451 fi
68452
68453
68454
68455
68456
68457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68458 $as_echo_n "checking for logl declaration... " >&6; }
68459 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68460 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68461 $as_echo_n "(cached) " >&6
68462 else
68463
68464
68465 ac_ext=cpp
68466 ac_cpp='$CXXCPP $CPPFLAGS'
68467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68470
68471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68472 /* end confdefs.h. */
68473 #include <math.h>
68474 #ifdef HAVE_IEEEFP_H
68475 #include <ieeefp.h>
68476 #endif
68477
68478 int
68479 main ()
68480 {
68481 logl(0);
68482 ;
68483 return 0;
68484 }
68485 _ACEOF
68486 if ac_fn_cxx_try_compile "$LINENO"; then :
68487 glibcxx_cv_func_logl_use=yes
68488 else
68489 glibcxx_cv_func_logl_use=no
68490 fi
68491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68492 ac_ext=c
68493 ac_cpp='$CPP $CPPFLAGS'
68494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68497
68498
68499 fi
68500
68501 fi
68502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68503 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68504
68505 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68506 for ac_func in logl
68507 do :
68508 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68509 if test "x$ac_cv_func_logl" = x""yes; then :
68510 cat >>confdefs.h <<_ACEOF
68511 #define HAVE_LOGL 1
68512 _ACEOF
68513
68514 fi
68515 done
68516
68517 else
68518
68519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68520 $as_echo_n "checking for _logl declaration... " >&6; }
68521 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68522 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68523 $as_echo_n "(cached) " >&6
68524 else
68525
68526
68527 ac_ext=cpp
68528 ac_cpp='$CXXCPP $CPPFLAGS'
68529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68532
68533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68534 /* end confdefs.h. */
68535 #include <math.h>
68536 #ifdef HAVE_IEEEFP_H
68537 #include <ieeefp.h>
68538 #endif
68539
68540 int
68541 main ()
68542 {
68543 _logl(0);
68544 ;
68545 return 0;
68546 }
68547 _ACEOF
68548 if ac_fn_cxx_try_compile "$LINENO"; then :
68549 glibcxx_cv_func__logl_use=yes
68550 else
68551 glibcxx_cv_func__logl_use=no
68552 fi
68553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68554 ac_ext=c
68555 ac_cpp='$CPP $CPPFLAGS'
68556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68559
68560
68561 fi
68562
68563 fi
68564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68565 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68566
68567 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68568 for ac_func in _logl
68569 do :
68570 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68571 if test "x$ac_cv_func__logl" = x""yes; then :
68572 cat >>confdefs.h <<_ACEOF
68573 #define HAVE__LOGL 1
68574 _ACEOF
68575
68576 fi
68577 done
68578
68579 fi
68580 fi
68581
68582
68583
68584
68585
68586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68587 $as_echo_n "checking for log10l declaration... " >&6; }
68588 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68589 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68590 $as_echo_n "(cached) " >&6
68591 else
68592
68593
68594 ac_ext=cpp
68595 ac_cpp='$CXXCPP $CPPFLAGS'
68596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68599
68600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68601 /* end confdefs.h. */
68602 #include <math.h>
68603 #ifdef HAVE_IEEEFP_H
68604 #include <ieeefp.h>
68605 #endif
68606
68607 int
68608 main ()
68609 {
68610 log10l(0);
68611 ;
68612 return 0;
68613 }
68614 _ACEOF
68615 if ac_fn_cxx_try_compile "$LINENO"; then :
68616 glibcxx_cv_func_log10l_use=yes
68617 else
68618 glibcxx_cv_func_log10l_use=no
68619 fi
68620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68621 ac_ext=c
68622 ac_cpp='$CPP $CPPFLAGS'
68623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68626
68627
68628 fi
68629
68630 fi
68631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68632 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68633
68634 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68635 for ac_func in log10l
68636 do :
68637 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68638 if test "x$ac_cv_func_log10l" = x""yes; then :
68639 cat >>confdefs.h <<_ACEOF
68640 #define HAVE_LOG10L 1
68641 _ACEOF
68642
68643 fi
68644 done
68645
68646 else
68647
68648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68649 $as_echo_n "checking for _log10l declaration... " >&6; }
68650 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68651 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68652 $as_echo_n "(cached) " >&6
68653 else
68654
68655
68656 ac_ext=cpp
68657 ac_cpp='$CXXCPP $CPPFLAGS'
68658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68661
68662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68663 /* end confdefs.h. */
68664 #include <math.h>
68665 #ifdef HAVE_IEEEFP_H
68666 #include <ieeefp.h>
68667 #endif
68668
68669 int
68670 main ()
68671 {
68672 _log10l(0);
68673 ;
68674 return 0;
68675 }
68676 _ACEOF
68677 if ac_fn_cxx_try_compile "$LINENO"; then :
68678 glibcxx_cv_func__log10l_use=yes
68679 else
68680 glibcxx_cv_func__log10l_use=no
68681 fi
68682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68683 ac_ext=c
68684 ac_cpp='$CPP $CPPFLAGS'
68685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68688
68689
68690 fi
68691
68692 fi
68693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68694 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68695
68696 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68697 for ac_func in _log10l
68698 do :
68699 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68700 if test "x$ac_cv_func__log10l" = x""yes; then :
68701 cat >>confdefs.h <<_ACEOF
68702 #define HAVE__LOG10L 1
68703 _ACEOF
68704
68705 fi
68706 done
68707
68708 fi
68709 fi
68710
68711
68712
68713
68714
68715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68716 $as_echo_n "checking for modfl declaration... " >&6; }
68717 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68718 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68719 $as_echo_n "(cached) " >&6
68720 else
68721
68722
68723 ac_ext=cpp
68724 ac_cpp='$CXXCPP $CPPFLAGS'
68725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68728
68729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68730 /* end confdefs.h. */
68731 #include <math.h>
68732 int
68733 main ()
68734 {
68735 modfl(0, 0);
68736 ;
68737 return 0;
68738 }
68739 _ACEOF
68740 if ac_fn_cxx_try_compile "$LINENO"; then :
68741 glibcxx_cv_func_modfl_use=yes
68742 else
68743 glibcxx_cv_func_modfl_use=no
68744 fi
68745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68746 ac_ext=c
68747 ac_cpp='$CPP $CPPFLAGS'
68748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68751
68752
68753 fi
68754
68755 fi
68756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68757 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68758
68759 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68760 for ac_func in modfl
68761 do :
68762 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68763 if test "x$ac_cv_func_modfl" = x""yes; then :
68764 cat >>confdefs.h <<_ACEOF
68765 #define HAVE_MODFL 1
68766 _ACEOF
68767
68768 fi
68769 done
68770
68771 else
68772
68773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68774 $as_echo_n "checking for _modfl declaration... " >&6; }
68775 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68776 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68777 $as_echo_n "(cached) " >&6
68778 else
68779
68780
68781 ac_ext=cpp
68782 ac_cpp='$CXXCPP $CPPFLAGS'
68783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68786
68787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68788 /* end confdefs.h. */
68789 #include <math.h>
68790 int
68791 main ()
68792 {
68793 _modfl(0, 0);
68794 ;
68795 return 0;
68796 }
68797 _ACEOF
68798 if ac_fn_cxx_try_compile "$LINENO"; then :
68799 glibcxx_cv_func__modfl_use=yes
68800 else
68801 glibcxx_cv_func__modfl_use=no
68802 fi
68803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68804 ac_ext=c
68805 ac_cpp='$CPP $CPPFLAGS'
68806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68809
68810
68811 fi
68812
68813 fi
68814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68815 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68816
68817 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68818 for ac_func in _modfl
68819 do :
68820 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68821 if test "x$ac_cv_func__modfl" = x""yes; then :
68822 cat >>confdefs.h <<_ACEOF
68823 #define HAVE__MODFL 1
68824 _ACEOF
68825
68826 fi
68827 done
68828
68829 fi
68830 fi
68831
68832
68833
68834
68835
68836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68837 $as_echo_n "checking for powl declaration... " >&6; }
68838 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68839 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68840 $as_echo_n "(cached) " >&6
68841 else
68842
68843
68844 ac_ext=cpp
68845 ac_cpp='$CXXCPP $CPPFLAGS'
68846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68849
68850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68851 /* end confdefs.h. */
68852 #include <math.h>
68853 int
68854 main ()
68855 {
68856 powl(0, 0);
68857 ;
68858 return 0;
68859 }
68860 _ACEOF
68861 if ac_fn_cxx_try_compile "$LINENO"; then :
68862 glibcxx_cv_func_powl_use=yes
68863 else
68864 glibcxx_cv_func_powl_use=no
68865 fi
68866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68867 ac_ext=c
68868 ac_cpp='$CPP $CPPFLAGS'
68869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68872
68873
68874 fi
68875
68876 fi
68877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68878 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68879
68880 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68881 for ac_func in powl
68882 do :
68883 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68884 if test "x$ac_cv_func_powl" = x""yes; then :
68885 cat >>confdefs.h <<_ACEOF
68886 #define HAVE_POWL 1
68887 _ACEOF
68888
68889 fi
68890 done
68891
68892 else
68893
68894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68895 $as_echo_n "checking for _powl declaration... " >&6; }
68896 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68897 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68898 $as_echo_n "(cached) " >&6
68899 else
68900
68901
68902 ac_ext=cpp
68903 ac_cpp='$CXXCPP $CPPFLAGS'
68904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68907
68908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68909 /* end confdefs.h. */
68910 #include <math.h>
68911 int
68912 main ()
68913 {
68914 _powl(0, 0);
68915 ;
68916 return 0;
68917 }
68918 _ACEOF
68919 if ac_fn_cxx_try_compile "$LINENO"; then :
68920 glibcxx_cv_func__powl_use=yes
68921 else
68922 glibcxx_cv_func__powl_use=no
68923 fi
68924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68925 ac_ext=c
68926 ac_cpp='$CPP $CPPFLAGS'
68927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68930
68931
68932 fi
68933
68934 fi
68935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
68936 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
68937
68938 if test x$glibcxx_cv_func__powl_use = x"yes"; then
68939 for ac_func in _powl
68940 do :
68941 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
68942 if test "x$ac_cv_func__powl" = x""yes; then :
68943 cat >>confdefs.h <<_ACEOF
68944 #define HAVE__POWL 1
68945 _ACEOF
68946
68947 fi
68948 done
68949
68950 fi
68951 fi
68952
68953
68954
68955
68956
68957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
68958 $as_echo_n "checking for sqrtl declaration... " >&6; }
68959 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
68960 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
68961 $as_echo_n "(cached) " >&6
68962 else
68963
68964
68965 ac_ext=cpp
68966 ac_cpp='$CXXCPP $CPPFLAGS'
68967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68970
68971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68972 /* end confdefs.h. */
68973 #include <math.h>
68974 #ifdef HAVE_IEEEFP_H
68975 #include <ieeefp.h>
68976 #endif
68977
68978 int
68979 main ()
68980 {
68981 sqrtl(0);
68982 ;
68983 return 0;
68984 }
68985 _ACEOF
68986 if ac_fn_cxx_try_compile "$LINENO"; then :
68987 glibcxx_cv_func_sqrtl_use=yes
68988 else
68989 glibcxx_cv_func_sqrtl_use=no
68990 fi
68991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68992 ac_ext=c
68993 ac_cpp='$CPP $CPPFLAGS'
68994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68997
68998
68999 fi
69000
69001 fi
69002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69003 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69004
69005 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69006 for ac_func in sqrtl
69007 do :
69008 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69009 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69010 cat >>confdefs.h <<_ACEOF
69011 #define HAVE_SQRTL 1
69012 _ACEOF
69013
69014 fi
69015 done
69016
69017 else
69018
69019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69020 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69021 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69022 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69023 $as_echo_n "(cached) " >&6
69024 else
69025
69026
69027 ac_ext=cpp
69028 ac_cpp='$CXXCPP $CPPFLAGS'
69029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69032
69033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69034 /* end confdefs.h. */
69035 #include <math.h>
69036 #ifdef HAVE_IEEEFP_H
69037 #include <ieeefp.h>
69038 #endif
69039
69040 int
69041 main ()
69042 {
69043 _sqrtl(0);
69044 ;
69045 return 0;
69046 }
69047 _ACEOF
69048 if ac_fn_cxx_try_compile "$LINENO"; then :
69049 glibcxx_cv_func__sqrtl_use=yes
69050 else
69051 glibcxx_cv_func__sqrtl_use=no
69052 fi
69053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69054 ac_ext=c
69055 ac_cpp='$CPP $CPPFLAGS'
69056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69059
69060
69061 fi
69062
69063 fi
69064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69065 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69066
69067 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69068 for ac_func in _sqrtl
69069 do :
69070 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69071 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69072 cat >>confdefs.h <<_ACEOF
69073 #define HAVE__SQRTL 1
69074 _ACEOF
69075
69076 fi
69077 done
69078
69079 fi
69080 fi
69081
69082
69083
69084
69085
69086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69087 $as_echo_n "checking for sincosl declaration... " >&6; }
69088 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69089 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69090 $as_echo_n "(cached) " >&6
69091 else
69092
69093
69094 ac_ext=cpp
69095 ac_cpp='$CXXCPP $CPPFLAGS'
69096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69099
69100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69101 /* end confdefs.h. */
69102 #include <math.h>
69103 int
69104 main ()
69105 {
69106 sincosl(0, 0, 0);
69107 ;
69108 return 0;
69109 }
69110 _ACEOF
69111 if ac_fn_cxx_try_compile "$LINENO"; then :
69112 glibcxx_cv_func_sincosl_use=yes
69113 else
69114 glibcxx_cv_func_sincosl_use=no
69115 fi
69116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69117 ac_ext=c
69118 ac_cpp='$CPP $CPPFLAGS'
69119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69122
69123
69124 fi
69125
69126 fi
69127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69128 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69129
69130 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69131 for ac_func in sincosl
69132 do :
69133 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69134 if test "x$ac_cv_func_sincosl" = x""yes; then :
69135 cat >>confdefs.h <<_ACEOF
69136 #define HAVE_SINCOSL 1
69137 _ACEOF
69138
69139 fi
69140 done
69141
69142 else
69143
69144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69145 $as_echo_n "checking for _sincosl declaration... " >&6; }
69146 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69147 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69148 $as_echo_n "(cached) " >&6
69149 else
69150
69151
69152 ac_ext=cpp
69153 ac_cpp='$CXXCPP $CPPFLAGS'
69154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69157
69158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69159 /* end confdefs.h. */
69160 #include <math.h>
69161 int
69162 main ()
69163 {
69164 _sincosl(0, 0, 0);
69165 ;
69166 return 0;
69167 }
69168 _ACEOF
69169 if ac_fn_cxx_try_compile "$LINENO"; then :
69170 glibcxx_cv_func__sincosl_use=yes
69171 else
69172 glibcxx_cv_func__sincosl_use=no
69173 fi
69174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69175 ac_ext=c
69176 ac_cpp='$CPP $CPPFLAGS'
69177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69180
69181
69182 fi
69183
69184 fi
69185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69186 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69187
69188 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69189 for ac_func in _sincosl
69190 do :
69191 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69192 if test "x$ac_cv_func__sincosl" = x""yes; then :
69193 cat >>confdefs.h <<_ACEOF
69194 #define HAVE__SINCOSL 1
69195 _ACEOF
69196
69197 fi
69198 done
69199
69200 fi
69201 fi
69202
69203
69204
69205
69206
69207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69208 $as_echo_n "checking for finitel declaration... " >&6; }
69209 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69210 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69211 $as_echo_n "(cached) " >&6
69212 else
69213
69214
69215 ac_ext=cpp
69216 ac_cpp='$CXXCPP $CPPFLAGS'
69217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69220
69221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69222 /* end confdefs.h. */
69223 #include <math.h>
69224 #ifdef HAVE_IEEEFP_H
69225 #include <ieeefp.h>
69226 #endif
69227
69228 int
69229 main ()
69230 {
69231 finitel(0);
69232 ;
69233 return 0;
69234 }
69235 _ACEOF
69236 if ac_fn_cxx_try_compile "$LINENO"; then :
69237 glibcxx_cv_func_finitel_use=yes
69238 else
69239 glibcxx_cv_func_finitel_use=no
69240 fi
69241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69242 ac_ext=c
69243 ac_cpp='$CPP $CPPFLAGS'
69244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69247
69248
69249 fi
69250
69251 fi
69252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69253 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69254
69255 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69256 for ac_func in finitel
69257 do :
69258 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69259 if test "x$ac_cv_func_finitel" = x""yes; then :
69260 cat >>confdefs.h <<_ACEOF
69261 #define HAVE_FINITEL 1
69262 _ACEOF
69263
69264 fi
69265 done
69266
69267 else
69268
69269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69270 $as_echo_n "checking for _finitel declaration... " >&6; }
69271 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69272 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69273 $as_echo_n "(cached) " >&6
69274 else
69275
69276
69277 ac_ext=cpp
69278 ac_cpp='$CXXCPP $CPPFLAGS'
69279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69282
69283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69284 /* end confdefs.h. */
69285 #include <math.h>
69286 #ifdef HAVE_IEEEFP_H
69287 #include <ieeefp.h>
69288 #endif
69289
69290 int
69291 main ()
69292 {
69293 _finitel(0);
69294 ;
69295 return 0;
69296 }
69297 _ACEOF
69298 if ac_fn_cxx_try_compile "$LINENO"; then :
69299 glibcxx_cv_func__finitel_use=yes
69300 else
69301 glibcxx_cv_func__finitel_use=no
69302 fi
69303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69304 ac_ext=c
69305 ac_cpp='$CPP $CPPFLAGS'
69306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69309
69310
69311 fi
69312
69313 fi
69314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69315 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69316
69317 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69318 for ac_func in _finitel
69319 do :
69320 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69321 if test "x$ac_cv_func__finitel" = x""yes; then :
69322 cat >>confdefs.h <<_ACEOF
69323 #define HAVE__FINITEL 1
69324 _ACEOF
69325
69326 fi
69327 done
69328
69329 fi
69330 fi
69331
69332
69333
69334
69335 LIBS="$ac_save_LIBS"
69336 CXXFLAGS="$ac_save_CXXFLAGS"
69337
69338
69339 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69340 ac_save_CXXFLAGS="$CXXFLAGS"
69341 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69342
69343
69344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69345 $as_echo_n "checking for strtold declaration... " >&6; }
69346 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69347 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69348 $as_echo_n "(cached) " >&6
69349 else
69350
69351
69352 ac_ext=cpp
69353 ac_cpp='$CXXCPP $CPPFLAGS'
69354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69357
69358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69359 /* end confdefs.h. */
69360 #include <stdlib.h>
69361 int
69362 main ()
69363 {
69364 strtold(0, 0);
69365 ;
69366 return 0;
69367 }
69368 _ACEOF
69369 if ac_fn_cxx_try_compile "$LINENO"; then :
69370 glibcxx_cv_func_strtold_use=yes
69371 else
69372 glibcxx_cv_func_strtold_use=no
69373 fi
69374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69375 ac_ext=c
69376 ac_cpp='$CPP $CPPFLAGS'
69377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69380
69381
69382 fi
69383
69384 fi
69385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69386 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69387 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69388 for ac_func in strtold
69389 do :
69390 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69391 if test "x$ac_cv_func_strtold" = x""yes; then :
69392 cat >>confdefs.h <<_ACEOF
69393 #define HAVE_STRTOLD 1
69394 _ACEOF
69395
69396 fi
69397 done
69398
69399 fi
69400
69401
69402
69403
69404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69405 $as_echo_n "checking for strtof declaration... " >&6; }
69406 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69407 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69408 $as_echo_n "(cached) " >&6
69409 else
69410
69411
69412 ac_ext=cpp
69413 ac_cpp='$CXXCPP $CPPFLAGS'
69414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69417
69418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69419 /* end confdefs.h. */
69420 #include <stdlib.h>
69421 int
69422 main ()
69423 {
69424 strtof(0, 0);
69425 ;
69426 return 0;
69427 }
69428 _ACEOF
69429 if ac_fn_cxx_try_compile "$LINENO"; then :
69430 glibcxx_cv_func_strtof_use=yes
69431 else
69432 glibcxx_cv_func_strtof_use=no
69433 fi
69434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69435 ac_ext=c
69436 ac_cpp='$CPP $CPPFLAGS'
69437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69440
69441
69442 fi
69443
69444 fi
69445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69446 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69447 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69448 for ac_func in strtof
69449 do :
69450 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69451 if test "x$ac_cv_func_strtof" = x""yes; then :
69452 cat >>confdefs.h <<_ACEOF
69453 #define HAVE_STRTOF 1
69454 _ACEOF
69455
69456 fi
69457 done
69458
69459 fi
69460
69461
69462
69463
69464 CXXFLAGS="$ac_save_CXXFLAGS"
69465
69466 ;;
69467 *-vxworks)
69468 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69469
69470 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69471
69472 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69473
69474 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69475
69476 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69477
69478 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69479
69480 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69481
69482 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69483
69484 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69485
69486 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69487
69488 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69489
69490 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69491
69492 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69493
69494 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69495
69496 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69497
69498 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69499
69500 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69501
69502 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69503
69504 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69505
69506 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69507
69508 ;;
69509 *)
69510 as_fn_error "No support for this host/target combination." "$LINENO" 5
69511 ;;
69512 esac
69513
69514 fi
69515
69516 # At some point, we should differentiate between architectures
69517 # like x86, which have long double versions, and alpha/powerpc/etc.,
69518 # which don't. For the time being, punt.
69519 if test x"long_double_math_on_this_cpu" = x"yes"; then
69520 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69521
69522 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69523
69524 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69525
69526 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69527
69528 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69529
69530 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69531
69532 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69533
69534 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69535
69536 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69537
69538 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69539
69540 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69541
69542 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69543
69544 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69545
69546 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69547
69548 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69549
69550 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69551
69552 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69553
69554 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69555
69556 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69557
69558 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69559
69560 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69561
69562 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69563
69564 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69565
69566 fi
69567 fi
69568
69569 # Check for _Unwind_GetIPInfo.
69570
69571
69572 # Check whether --with-system-libunwind was given.
69573 if test "${with_system_libunwind+set}" = set; then :
69574 withval=$with_system_libunwind;
69575 fi
69576
69577 # If system-libunwind was not specifically set, pick a default setting.
69578 if test x$with_system_libunwind = x; then
69579 case ${target} in
69580 ia64-*-hpux*) with_system_libunwind=yes ;;
69581 *) with_system_libunwind=no ;;
69582 esac
69583 fi
69584 # Based on system-libunwind and target, do we have ipinfo?
69585 if test x$with_system_libunwind = xyes; then
69586 case ${target} in
69587 ia64-*-*) have_unwind_getipinfo=no ;;
69588 *) have_unwind_getipinfo=yes ;;
69589 esac
69590 else
69591 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69592
69593 case ${target} in
69594 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69595 *) have_unwind_getipinfo=yes ;;
69596 esac
69597
69598 fi
69599
69600 if test x$have_unwind_getipinfo = xyes; then
69601
69602 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69603
69604 fi
69605
69606
69607 # Check whether --enable-linux-futex was given.
69608 if test "${enable_linux_futex+set}" = set; then :
69609 enableval=$enable_linux_futex;
69610 case "$enableval" in
69611 yes|no|default) ;;
69612 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69613 esac
69614
69615 else
69616 enable_linux_futex=default
69617 fi
69618
69619
69620 case "$target" in
69621 *-linux*)
69622 case "$enable_linux_futex" in
69623 default)
69624 # If headers don't have gettid/futex syscalls definition, then
69625 # default to no, otherwise there will be compile time failures.
69626 # Otherwise, default to yes. If we don't detect we are
69627 # compiled/linked against NPTL and not cross-compiling, check
69628 # if programs are run by default against NPTL and if not, issue
69629 # a warning.
69630 enable_linux_futex=no
69631 if test x$gcc_no_link = xyes; then
69632 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69633 fi
69634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69635 /* end confdefs.h. */
69636 #include <sys/syscall.h>
69637 int lk;
69638 int
69639 main ()
69640 {
69641 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69642 ;
69643 return 0;
69644 }
69645 _ACEOF
69646 if ac_fn_c_try_link "$LINENO"; then :
69647 save_LIBS="$LIBS"
69648 LIBS="-lpthread $LIBS"
69649 if test x$gcc_no_link = xyes; then
69650 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69651 fi
69652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69653 /* end confdefs.h. */
69654 #ifndef _GNU_SOURCE
69655 #define _GNU_SOURCE 1
69656 #endif
69657 #include <pthread.h>
69658 pthread_t th; void *status;
69659 int
69660 main ()
69661 {
69662 pthread_tryjoin_np (th, &status);
69663 ;
69664 return 0;
69665 }
69666 _ACEOF
69667 if ac_fn_c_try_link "$LINENO"; then :
69668 enable_linux_futex=yes
69669 else
69670 if test x$cross_compiling = xno; then
69671 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69672 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69673 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69674 If so, please configure with --disable-linux-futex" >&5
69675 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69676 If so, please configure with --disable-linux-futex" >&2;}
69677 fi
69678 fi
69679 enable_linux_futex=yes
69680 fi
69681 rm -f core conftest.err conftest.$ac_objext \
69682 conftest$ac_exeext conftest.$ac_ext
69683 LIBS="$save_LIBS"
69684 fi
69685 rm -f core conftest.err conftest.$ac_objext \
69686 conftest$ac_exeext conftest.$ac_ext
69687 ;;
69688 yes)
69689 if test x$gcc_no_link = xyes; then
69690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69691 fi
69692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69693 /* end confdefs.h. */
69694 #include <sys/syscall.h>
69695 int lk;
69696 int
69697 main ()
69698 {
69699 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69700 ;
69701 return 0;
69702 }
69703 _ACEOF
69704 if ac_fn_c_try_link "$LINENO"; then :
69705
69706 else
69707 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69708 fi
69709 rm -f core conftest.err conftest.$ac_objext \
69710 conftest$ac_exeext conftest.$ac_ext
69711 ;;
69712 esac
69713 ;;
69714 *)
69715 enable_linux_futex=no
69716 ;;
69717 esac
69718 if test x$enable_linux_futex = xyes; then
69719
69720 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69721
69722 fi
69723
69724
69725
69726
69727 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69728
69729 acx_cv_header_stdint=stddef.h
69730 acx_cv_header_stdint_kind="(already complete)"
69731 for i in stdint.h $inttype_headers; do
69732 unset ac_cv_type_uintptr_t
69733 unset ac_cv_type_uintmax_t
69734 unset ac_cv_type_int_least32_t
69735 unset ac_cv_type_int_fast32_t
69736 unset ac_cv_type_uint64_t
69737 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69738 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69739 #include <$i>
69740 "
69741 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69742 acx_cv_header_stdint=$i
69743 else
69744 continue
69745 fi
69746
69747 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69748 #include <$i>
69749 "
69750 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69751
69752 else
69753 acx_cv_header_stdint_kind="(mostly complete)"
69754 fi
69755
69756 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69757 #include <$i>
69758 "
69759 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69760
69761 else
69762 acx_cv_header_stdint_kind="(mostly complete)"
69763 fi
69764
69765 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69766 #include <$i>
69767 "
69768 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69769
69770 else
69771 acx_cv_header_stdint_kind="(mostly complete)"
69772 fi
69773
69774 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69775 #include <$i>
69776 "
69777 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69778
69779 else
69780 acx_cv_header_stdint_kind="(lacks uint64_t)"
69781 fi
69782
69783 break
69784 done
69785 if test "$acx_cv_header_stdint" = stddef.h; then
69786 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69787 for i in stdint.h $inttype_headers; do
69788 unset ac_cv_type_uintptr_t
69789 unset ac_cv_type_uint32_t
69790 unset ac_cv_type_uint64_t
69791 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69792 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69793 #include <$i>
69794 "
69795 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69796 acx_cv_header_stdint=$i
69797 else
69798 continue
69799 fi
69800
69801 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69802 #include <$i>
69803 "
69804 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69805
69806 fi
69807
69808 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69809 #include <$i>
69810 "
69811 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69812
69813 fi
69814
69815 break
69816 done
69817 fi
69818 if test "$acx_cv_header_stdint" = stddef.h; then
69819 acx_cv_header_stdint_kind="(u_intXX_t style)"
69820 for i in sys/types.h $inttype_headers; do
69821 unset ac_cv_type_u_int32_t
69822 unset ac_cv_type_u_int64_t
69823 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69824 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69825 #include <$i>
69826 "
69827 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69828 acx_cv_header_stdint=$i
69829 else
69830 continue
69831 fi
69832
69833 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69834 #include <$i>
69835 "
69836 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69837
69838 fi
69839
69840 break
69841 done
69842 fi
69843 if test "$acx_cv_header_stdint" = stddef.h; then
69844 acx_cv_header_stdint_kind="(using manual detection)"
69845 fi
69846
69847 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69848 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69849 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69850 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69851 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69852
69853 # ----------------- Summarize what we found so far
69854
69855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69856 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69857
69858 case `$as_basename -- include/gstdint.h ||
69859 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69860 Xinclude/gstdint.h : 'X\(//\)$' \| \
69861 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69862 $as_echo X/include/gstdint.h |
69863 sed '/^.*\/\([^/][^/]*\)\/*$/{
69864 s//\1/
69865 q
69866 }
69867 /^X\/\(\/\/\)$/{
69868 s//\1/
69869 q
69870 }
69871 /^X\/\(\/\).*/{
69872 s//\1/
69873 q
69874 }
69875 s/.*/./; q'` in
69876 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69877 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69878 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69879 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69880 *) ;;
69881 esac
69882
69883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69884 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69885
69886 # ----------------- done included file, check C basic types --------
69887
69888 # Lacking an uintptr_t? Test size of void *
69889 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69890 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69891 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69892 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69893 # This bug is HP SR number 8606223364.
69894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69895 $as_echo_n "checking size of void *... " >&6; }
69896 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69897 $as_echo_n "(cached) " >&6
69898 else
69899 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69900
69901 else
69902 if test "$ac_cv_type_void_p" = yes; then
69903 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69904 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69905 { as_fn_set_status 77
69906 as_fn_error "cannot compute sizeof (void *)
69907 See \`config.log' for more details." "$LINENO" 5; }; }
69908 else
69909 ac_cv_sizeof_void_p=0
69910 fi
69911 fi
69912
69913 fi
69914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69915 $as_echo "$ac_cv_sizeof_void_p" >&6; }
69916
69917
69918
69919 cat >>confdefs.h <<_ACEOF
69920 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
69921 _ACEOF
69922
69923 ;;
69924 esac
69925
69926 # Lacking an uint64_t? Test size of long
69927 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
69928 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
69929 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69930 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69931 # This bug is HP SR number 8606223364.
69932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
69933 $as_echo_n "checking size of long... " >&6; }
69934 if test "${ac_cv_sizeof_long+set}" = set; then :
69935 $as_echo_n "(cached) " >&6
69936 else
69937 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
69938
69939 else
69940 if test "$ac_cv_type_long" = yes; then
69941 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69942 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69943 { as_fn_set_status 77
69944 as_fn_error "cannot compute sizeof (long)
69945 See \`config.log' for more details." "$LINENO" 5; }; }
69946 else
69947 ac_cv_sizeof_long=0
69948 fi
69949 fi
69950
69951 fi
69952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
69953 $as_echo "$ac_cv_sizeof_long" >&6; }
69954
69955
69956
69957 cat >>confdefs.h <<_ACEOF
69958 #define SIZEOF_LONG $ac_cv_sizeof_long
69959 _ACEOF
69960
69961 ;;
69962 esac
69963
69964 if test $acx_cv_header_stdint = stddef.h; then
69965 # Lacking a good header? Test size of everything and deduce all types.
69966 # The cast to long int works around a bug in the HP C Compiler
69967 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69968 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69969 # This bug is HP SR number 8606223364.
69970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
69971 $as_echo_n "checking size of int... " >&6; }
69972 if test "${ac_cv_sizeof_int+set}" = set; then :
69973 $as_echo_n "(cached) " >&6
69974 else
69975 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
69976
69977 else
69978 if test "$ac_cv_type_int" = yes; then
69979 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69980 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69981 { as_fn_set_status 77
69982 as_fn_error "cannot compute sizeof (int)
69983 See \`config.log' for more details." "$LINENO" 5; }; }
69984 else
69985 ac_cv_sizeof_int=0
69986 fi
69987 fi
69988
69989 fi
69990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
69991 $as_echo "$ac_cv_sizeof_int" >&6; }
69992
69993
69994
69995 cat >>confdefs.h <<_ACEOF
69996 #define SIZEOF_INT $ac_cv_sizeof_int
69997 _ACEOF
69998
69999
70000 # The cast to long int works around a bug in the HP C Compiler
70001 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70002 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70003 # This bug is HP SR number 8606223364.
70004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70005 $as_echo_n "checking size of short... " >&6; }
70006 if test "${ac_cv_sizeof_short+set}" = set; then :
70007 $as_echo_n "(cached) " >&6
70008 else
70009 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70010
70011 else
70012 if test "$ac_cv_type_short" = yes; then
70013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70015 { as_fn_set_status 77
70016 as_fn_error "cannot compute sizeof (short)
70017 See \`config.log' for more details." "$LINENO" 5; }; }
70018 else
70019 ac_cv_sizeof_short=0
70020 fi
70021 fi
70022
70023 fi
70024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70025 $as_echo "$ac_cv_sizeof_short" >&6; }
70026
70027
70028
70029 cat >>confdefs.h <<_ACEOF
70030 #define SIZEOF_SHORT $ac_cv_sizeof_short
70031 _ACEOF
70032
70033
70034 # The cast to long int works around a bug in the HP C Compiler
70035 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70036 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70037 # This bug is HP SR number 8606223364.
70038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70039 $as_echo_n "checking size of char... " >&6; }
70040 if test "${ac_cv_sizeof_char+set}" = set; then :
70041 $as_echo_n "(cached) " >&6
70042 else
70043 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70044
70045 else
70046 if test "$ac_cv_type_char" = yes; then
70047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70049 { as_fn_set_status 77
70050 as_fn_error "cannot compute sizeof (char)
70051 See \`config.log' for more details." "$LINENO" 5; }; }
70052 else
70053 ac_cv_sizeof_char=0
70054 fi
70055 fi
70056
70057 fi
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70059 $as_echo "$ac_cv_sizeof_char" >&6; }
70060
70061
70062
70063 cat >>confdefs.h <<_ACEOF
70064 #define SIZEOF_CHAR $ac_cv_sizeof_char
70065 _ACEOF
70066
70067
70068
70069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70070 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70071 case "$ac_cv_sizeof_char" in
70072 1) acx_cv_type_int8_t=char ;;
70073 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70074 esac
70075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70076 $as_echo "$acx_cv_type_int8_t" >&6; }
70077
70078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70079 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70080 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70081 2:*) acx_cv_type_int16_t=int ;;
70082 *:2) acx_cv_type_int16_t=short ;;
70083 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70084 esac
70085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70086 $as_echo "$acx_cv_type_int16_t" >&6; }
70087
70088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70089 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70090 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70091 4:*) acx_cv_type_int32_t=int ;;
70092 *:4) acx_cv_type_int32_t=long ;;
70093 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70094 esac
70095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70096 $as_echo "$acx_cv_type_int32_t" >&6; }
70097 fi
70098
70099 # These tests are here to make the output prettier
70100
70101 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70102 case "$ac_cv_sizeof_long" in
70103 8) acx_cv_type_int64_t=long ;;
70104 esac
70105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70106 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70108 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70109 fi
70110
70111 # Now we can use the above types
70112
70113 if test "$ac_cv_type_uintptr_t" != yes; then
70114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70115 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70116 case $ac_cv_sizeof_void_p in
70117 2) acx_cv_type_intptr_t=int16_t ;;
70118 4) acx_cv_type_intptr_t=int32_t ;;
70119 8) acx_cv_type_intptr_t=int64_t ;;
70120 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70121 esac
70122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70123 $as_echo "$acx_cv_type_intptr_t" >&6; }
70124 fi
70125
70126 # ----------------- done all checks, emit header -------------
70127 ac_config_commands="$ac_config_commands include/gstdint.h"
70128
70129
70130
70131
70132
70133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70134 $as_echo_n "checking for GNU c++filt... " >&6; }
70135 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70136 $as_echo_n "(cached) " >&6
70137 else
70138 if test -z "$CXXFILT"; then
70139 ac_path_CXXFILT_found=false
70140 # Loop through the user's path and test for each of PROGNAME-LIST
70141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70142 for as_dir in $PATH
70143 do
70144 IFS=$as_save_IFS
70145 test -z "$as_dir" && as_dir=.
70146 for ac_prog in c++filt gc++filt; do
70147 for ac_exec_ext in '' $ac_executable_extensions; do
70148 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70149 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70150 # Check for GNU $ac_path_CXXFILT
70151 case `"$ac_path_CXXFILT" --version 2>&1` in
70152 *GNU*)
70153 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70154 esac
70155
70156 $ac_path_CXXFILT_found && break 3
70157 done
70158 done
70159 done
70160 IFS=$as_save_IFS
70161 if test -z "$ac_cv_path_CXXFILT"; then
70162 :
70163 fi
70164 else
70165 ac_cv_path_CXXFILT=$CXXFILT
70166 fi
70167
70168 fi
70169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70170 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70171 CXXFILT=$ac_cv_path_CXXFILT
70172
70173
70174
70175 # Check whether --enable-symvers was given.
70176 if test "${enable_symvers+set}" = set; then :
70177 enableval=$enable_symvers;
70178 case "$enableval" in
70179 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70180 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70181 esac
70182
70183 else
70184 enable_symvers=yes
70185 fi
70186
70187
70188
70189 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70190 # don't know enough about $LD to do tricks...
70191
70192 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70193 # with extern "C++" in version scripts.
70194
70195
70196 # Turn a 'yes' into a suitable default.
70197 if test x$enable_symvers = xyes ; then
70198 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70199 enable_symvers=no
70200 else
70201 if test $with_gnu_ld = yes ; then
70202 case ${target_os} in
70203 hpux*)
70204 enable_symvers=no ;;
70205 *)
70206 enable_symvers=gnu ;;
70207 esac
70208 else
70209 case ${target_os} in
70210 darwin*)
70211 enable_symvers=darwin ;;
70212 # Sun symbol versioning exists since Solaris 2.5.
70213 solaris2.[5-9]* | solaris2.1[0-9]*)
70214 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70215 # version scripts, so disable symbol versioning if none can be
70216 # found.
70217 if test -z "$ac_cv_path_CXXFILT"; then
70218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70219 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70221 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70222 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70223 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70224 enable_symvers=no
70225 else
70226 enable_symvers=sun
70227 fi
70228 ;;
70229 *)
70230 enable_symvers=no ;;
70231 esac
70232 fi
70233 fi
70234 fi
70235
70236 # Check to see if 'darwin' or 'darwin-export' can win.
70237 if test x$enable_symvers = xdarwin-export ; then
70238 enable_symvers=darwin
70239 fi
70240
70241 # Check if 'sun' was requested on non-Solaris 2 platforms.
70242 if test x$enable_symvers = xsun ; then
70243 case ${target_os} in
70244 solaris2*)
70245 # All fine.
70246 ;;
70247 *)
70248 # Unlikely to work.
70249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70250 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70251 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70252 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70254 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70255 enable_symvers=no
70256 ;;
70257 esac
70258 fi
70259
70260 # Check to see if 'gnu' can win.
70261 if test $enable_symvers = gnu ||
70262 test $enable_symvers = gnu-versioned-namespace ||
70263 test $enable_symvers = sun; then
70264 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70266 $as_echo_n "checking for shared libgcc... " >&6; }
70267 ac_save_CFLAGS="$CFLAGS"
70268 CFLAGS=' -lgcc_s'
70269 if test x$gcc_no_link = xyes; then
70270 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70271 fi
70272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70273 /* end confdefs.h. */
70274
70275 int
70276 main ()
70277 {
70278 return 0;
70279 ;
70280 return 0;
70281 }
70282 _ACEOF
70283 if ac_fn_c_try_link "$LINENO"; then :
70284 glibcxx_shared_libgcc=yes
70285 else
70286 glibcxx_shared_libgcc=no
70287 fi
70288 rm -f core conftest.err conftest.$ac_objext \
70289 conftest$ac_exeext conftest.$ac_ext
70290 CFLAGS="$ac_save_CFLAGS"
70291 if test $glibcxx_shared_libgcc = no; then
70292 cat > conftest.c <<EOF
70293 int main (void) { return 0; }
70294 EOF
70295 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70296 -shared -shared-libgcc -o conftest.so \
70297 conftest.c -v 2>&1 >/dev/null \
70298 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70299 rm -f conftest.c conftest.so
70300 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70301 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70302 if test x$gcc_no_link = xyes; then
70303 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70304 fi
70305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70306 /* end confdefs.h. */
70307
70308 int
70309 main ()
70310 {
70311 return 0;
70312 ;
70313 return 0;
70314 }
70315 _ACEOF
70316 if ac_fn_c_try_link "$LINENO"; then :
70317 glibcxx_shared_libgcc=yes
70318 fi
70319 rm -f core conftest.err conftest.$ac_objext \
70320 conftest$ac_exeext conftest.$ac_ext
70321 CFLAGS="$ac_save_CFLAGS"
70322 fi
70323 fi
70324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70325 $as_echo "$glibcxx_shared_libgcc" >&6; }
70326
70327 # For GNU ld, we need at least this version. The format is described in
70328 # GLIBCXX_CHECK_LINKER_FEATURES above.
70329 glibcxx_min_gnu_ld_version=21400
70330
70331 # If no shared libgcc, can't win.
70332 if test $glibcxx_shared_libgcc != yes; then
70333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70334 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70336 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70338 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70339 enable_symvers=no
70340 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70341 : All interesting versions of Sun ld support sun style symbol versioning.
70342 elif test $with_gnu_ld != yes ; then
70343 # just fail for now
70344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70345 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70346 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70347 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70349 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70350 enable_symvers=no
70351 elif test $glibcxx_ld_is_gold = yes ; then
70352 : All versions of gold support symbol versioning.
70353 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70354 # The right tools, the right setup, but too old. Fallbacks?
70355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70356 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70358 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70360 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70362 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70363 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70364 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70365 enable_symvers=no
70366 fi
70367 fi
70368
70369 # For libtool versioning info, format is CURRENT:REVISION:AGE
70370 libtool_VERSION=6:17:0
70371
70372 # Everything parsed; figure out what files and settings to use.
70373 case $enable_symvers in
70374 no)
70375 SYMVER_FILE=config/abi/pre/none.ver
70376 ;;
70377 gnu)
70378 SYMVER_FILE=config/abi/pre/gnu.ver
70379
70380 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70381
70382 ;;
70383 gnu-versioned-namespace)
70384 libtool_VERSION=7:0:0
70385 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70386
70387 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70388
70389 ;;
70390 darwin)
70391 SYMVER_FILE=config/abi/pre/gnu.ver
70392
70393 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70394
70395 ;;
70396 sun)
70397 SYMVER_FILE=config/abi/pre/gnu.ver
70398
70399 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70400
70401 ;;
70402 esac
70403
70404 if test x$enable_symvers != xno ; then
70405
70406 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70407
70408 fi
70409
70410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70411 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70412 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70413 $as_echo_n "(cached) " >&6
70414 else
70415
70416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70417 /* end confdefs.h. */
70418 void foo (void); __asm (".symver foo, bar@SYMVER");
70419 int
70420 main ()
70421 {
70422
70423 ;
70424 return 0;
70425 }
70426 _ACEOF
70427 if ac_fn_c_try_compile "$LINENO"; then :
70428 glibcxx_cv_have_as_symver_directive=yes
70429 else
70430 glibcxx_cv_have_as_symver_directive=no
70431 fi
70432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70433 fi
70434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70435 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70436 if test $glibcxx_cv_have_as_symver_directive = yes; then
70437
70438 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70439
70440 fi
70441
70442
70443
70444
70445
70446
70447
70448
70449 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70450 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70451
70452 if test $enable_symvers != no ; then
70453 case ${target_os} in
70454 # The Solaris 2 runtime linker doesn't support the GNU extension of
70455 # binding the same symbol to different versions
70456 solaris2*)
70457 ;;
70458 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70459 *)
70460
70461 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70462
70463 ;;
70464 esac
70465 fi
70466
70467 # Now, set up compatibility support, if any.
70468 # In addition, need this to deal with std::size_t mangling in
70469 # src/compatibility.cc. In a perfect world, could use
70470 # typeid(std::size_t).name()[0] to do direct substitution.
70471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70472 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70473 ac_save_CFLAGS="$CFLAGS"
70474 CFLAGS="-Werror"
70475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70476 /* end confdefs.h. */
70477
70478 int
70479 main ()
70480 {
70481 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70482 ;
70483 return 0;
70484 }
70485 _ACEOF
70486 if ac_fn_c_try_compile "$LINENO"; then :
70487 glibcxx_size_t_is_i=yes
70488 else
70489 glibcxx_size_t_is_i=no
70490 fi
70491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70492 CFLAGS=$ac_save_CFLAGS
70493 if test "$glibcxx_size_t_is_i" = yes; then
70494
70495 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70496
70497 fi
70498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70499 $as_echo "$glibcxx_size_t_is_i" >&6; }
70500
70501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70502 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70503 ac_save_CFLAGS="$CFLAGS"
70504 CFLAGS="-Werror"
70505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70506 /* end confdefs.h. */
70507
70508 int
70509 main ()
70510 {
70511 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70512 ;
70513 return 0;
70514 }
70515 _ACEOF
70516 if ac_fn_c_try_compile "$LINENO"; then :
70517 glibcxx_ptrdiff_t_is_i=yes
70518 else
70519 glibcxx_ptrdiff_t_is_i=no
70520 fi
70521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70522 CFLAGS=$ac_save_CFLAGS
70523 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70524
70525 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70526
70527 fi
70528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70529 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70530
70531
70532
70533
70534 # Check whether --enable-libstdcxx-visibility was given.
70535 if test "${enable_libstdcxx_visibility+set}" = set; then :
70536 enableval=$enable_libstdcxx_visibility;
70537 case "$enableval" in
70538 yes|no) ;;
70539 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70540 esac
70541
70542 else
70543 enable_libstdcxx_visibility=yes
70544 fi
70545
70546
70547
70548 if test x$enable_libstdcxx_visibility = xyes ; then
70549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70550 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70551 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70552 $as_echo_n "(cached) " >&6
70553 else
70554
70555 save_CFLAGS="$CFLAGS"
70556 CFLAGS="$CFLAGS -Werror"
70557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70558 /* end confdefs.h. */
70559 void __attribute__((visibility("hidden"))) foo(void) { }
70560 int
70561 main ()
70562 {
70563
70564 ;
70565 return 0;
70566 }
70567 _ACEOF
70568 if ac_fn_c_try_compile "$LINENO"; then :
70569 glibcxx_cv_have_attribute_visibility=yes
70570 else
70571 glibcxx_cv_have_attribute_visibility=no
70572 fi
70573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70574 CFLAGS="$save_CFLAGS"
70575 fi
70576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70577 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70578 if test $glibcxx_cv_have_attribute_visibility = no; then
70579 enable_libstdcxx_visibility=no
70580 fi
70581 fi
70582
70583
70584 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70585 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70586
70587
70588 ac_ldbl_compat=no
70589 case "$target" in
70590 powerpc*-*-linux* | \
70591 sparc*-*-linux* | \
70592 s390*-*-linux* | \
70593 alpha*-*-linux*)
70594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70595 /* end confdefs.h. */
70596
70597 int
70598 main ()
70599 {
70600
70601 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70602 #error no need for long double compatibility
70603 #endif
70604
70605 ;
70606 return 0;
70607 }
70608 _ACEOF
70609 if ac_fn_c_try_compile "$LINENO"; then :
70610 ac_ldbl_compat=yes
70611 else
70612 ac_ldbl_compat=no
70613 fi
70614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70615 if test "$ac_ldbl_compat" = yes; then
70616
70617 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70618
70619 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70620 fi
70621 esac
70622
70623
70624 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70625
70626 if $GLIBCXX_IS_NATIVE ; then
70627 # Do checks for resource limit functions.
70628
70629 setrlimit_have_headers=yes
70630 for ac_header in unistd.h sys/time.h sys/resource.h
70631 do :
70632 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70633 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70634 eval as_val=\$$as_ac_Header
70635 if test "x$as_val" = x""yes; then :
70636 cat >>confdefs.h <<_ACEOF
70637 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70638 _ACEOF
70639
70640 else
70641 setrlimit_have_headers=no
70642 fi
70643
70644 done
70645
70646 # If don't have the headers, then we can't run the tests now, and we
70647 # won't be seeing any of these during testsuite compilation.
70648 if test $setrlimit_have_headers = yes; then
70649 # Can't do these in a loop, else the resulting syntax is wrong.
70650
70651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70652 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70654 /* end confdefs.h. */
70655 #include <unistd.h>
70656 #include <sys/time.h>
70657 #include <sys/resource.h>
70658
70659 int
70660 main ()
70661 {
70662 int f = RLIMIT_DATA ;
70663 ;
70664 return 0;
70665 }
70666 _ACEOF
70667 if ac_fn_c_try_compile "$LINENO"; then :
70668 glibcxx_mresult=1
70669 else
70670 glibcxx_mresult=0
70671 fi
70672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70673
70674 cat >>confdefs.h <<_ACEOF
70675 #define HAVE_LIMIT_DATA $glibcxx_mresult
70676 _ACEOF
70677
70678 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70680 $as_echo "$res" >&6; }
70681
70682
70683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70684 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70686 /* end confdefs.h. */
70687 #include <unistd.h>
70688 #include <sys/time.h>
70689 #include <sys/resource.h>
70690
70691 int
70692 main ()
70693 {
70694 int f = RLIMIT_RSS ;
70695 ;
70696 return 0;
70697 }
70698 _ACEOF
70699 if ac_fn_c_try_compile "$LINENO"; then :
70700 glibcxx_mresult=1
70701 else
70702 glibcxx_mresult=0
70703 fi
70704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70705
70706 cat >>confdefs.h <<_ACEOF
70707 #define HAVE_LIMIT_RSS $glibcxx_mresult
70708 _ACEOF
70709
70710 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70712 $as_echo "$res" >&6; }
70713
70714
70715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70716 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70718 /* end confdefs.h. */
70719 #include <unistd.h>
70720 #include <sys/time.h>
70721 #include <sys/resource.h>
70722
70723 int
70724 main ()
70725 {
70726 int f = RLIMIT_VMEM ;
70727 ;
70728 return 0;
70729 }
70730 _ACEOF
70731 if ac_fn_c_try_compile "$LINENO"; then :
70732 glibcxx_mresult=1
70733 else
70734 glibcxx_mresult=0
70735 fi
70736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70737
70738 cat >>confdefs.h <<_ACEOF
70739 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70740 _ACEOF
70741
70742 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70744 $as_echo "$res" >&6; }
70745
70746
70747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70748 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70750 /* end confdefs.h. */
70751 #include <unistd.h>
70752 #include <sys/time.h>
70753 #include <sys/resource.h>
70754
70755 int
70756 main ()
70757 {
70758 int f = RLIMIT_AS ;
70759 ;
70760 return 0;
70761 }
70762 _ACEOF
70763 if ac_fn_c_try_compile "$LINENO"; then :
70764 glibcxx_mresult=1
70765 else
70766 glibcxx_mresult=0
70767 fi
70768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70769
70770 cat >>confdefs.h <<_ACEOF
70771 #define HAVE_LIMIT_AS $glibcxx_mresult
70772 _ACEOF
70773
70774 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70776 $as_echo "$res" >&6; }
70777
70778
70779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70780 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70782 /* end confdefs.h. */
70783 #include <unistd.h>
70784 #include <sys/time.h>
70785 #include <sys/resource.h>
70786
70787 int
70788 main ()
70789 {
70790 int f = RLIMIT_FSIZE ;
70791 ;
70792 return 0;
70793 }
70794 _ACEOF
70795 if ac_fn_c_try_compile "$LINENO"; then :
70796 glibcxx_mresult=1
70797 else
70798 glibcxx_mresult=0
70799 fi
70800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70801
70802 cat >>confdefs.h <<_ACEOF
70803 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70804 _ACEOF
70805
70806 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70808 $as_echo "$res" >&6; }
70809
70810
70811 # Check for rlimit, setrlimit.
70812 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70813 $as_echo_n "(cached) " >&6
70814 else
70815
70816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70817 /* end confdefs.h. */
70818 #include <unistd.h>
70819 #include <sys/time.h>
70820 #include <sys/resource.h>
70821
70822 int
70823 main ()
70824 {
70825 struct rlimit r;
70826 setrlimit(0, &r);
70827 ;
70828 return 0;
70829 }
70830 _ACEOF
70831 if ac_fn_c_try_compile "$LINENO"; then :
70832 glibcxx_cv_setrlimit=yes
70833 else
70834 glibcxx_cv_setrlimit=no
70835 fi
70836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70837
70838 fi
70839
70840 fi
70841
70842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70843 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70844 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70845 ac_res_limits=yes
70846
70847 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70848
70849 else
70850 ac_res_limits=no
70851 fi
70852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70853 $as_echo "$ac_res_limits" >&6; }
70854
70855
70856 # Look for setenv, so that extended locale tests can be performed.
70857
70858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
70859 $as_echo_n "checking for setenv declaration... " >&6; }
70860 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
70861 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
70862 $as_echo_n "(cached) " >&6
70863 else
70864
70865
70866 ac_ext=cpp
70867 ac_cpp='$CXXCPP $CPPFLAGS'
70868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70871
70872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70873 /* end confdefs.h. */
70874 #include <stdlib.h>
70875 int
70876 main ()
70877 {
70878 setenv(0, 0, 0);
70879 ;
70880 return 0;
70881 }
70882 _ACEOF
70883 if ac_fn_cxx_try_compile "$LINENO"; then :
70884 glibcxx_cv_func_setenv_use=yes
70885 else
70886 glibcxx_cv_func_setenv_use=no
70887 fi
70888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70889 ac_ext=c
70890 ac_cpp='$CPP $CPPFLAGS'
70891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70894
70895
70896 fi
70897
70898 fi
70899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
70900 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
70901 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
70902 for ac_func in setenv
70903 do :
70904 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
70905 if test "x$ac_cv_func_setenv" = x""yes; then :
70906 cat >>confdefs.h <<_ACEOF
70907 #define HAVE_SETENV 1
70908 _ACEOF
70909
70910 fi
70911 done
70912
70913 fi
70914
70915 fi
70916
70917 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
70918 test $enable_symvers != no; then
70919 case "$host" in
70920 *-*-cygwin*)
70921 enable_abi_check=no ;;
70922 *)
70923 enable_abi_check=yes ;;
70924 esac
70925 else
70926 # Only build this as native, since automake does not understand
70927 # CXX_FOR_BUILD.
70928 enable_abi_check=no
70929 fi
70930
70931 # Export file names for ABI checking.
70932 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
70933
70934 baseline_subdir_switch="$abi_baseline_subdir_switch"
70935
70936
70937
70938 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
70939
70940 # Check whether --enable-libstdcxx-threads was given.
70941 if test "${enable_libstdcxx_threads+set}" = set; then :
70942 enableval=$enable_libstdcxx_threads;
70943 case "$enableval" in
70944 yes|no) ;;
70945 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
70946 esac
70947
70948 else
70949 enable_libstdcxx_threads=auto
70950 fi
70951
70952
70953
70954 if test x$enable_libstdcxx_threads = xauto ||
70955 test x$enable_libstdcxx_threads = xyes; then
70956
70957
70958 ac_ext=cpp
70959 ac_cpp='$CXXCPP $CPPFLAGS'
70960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70963
70964
70965 ac_save_CXXFLAGS="$CXXFLAGS"
70966 CXXFLAGS="$CXXFLAGS -fno-exceptions \
70967 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
70968
70969 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
70970 case $target_thread_file in
70971 posix)
70972 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
70973 esac
70974
70975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
70976 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
70977
70978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70979 /* end confdefs.h. */
70980 #include <unistd.h>
70981 int
70982 main ()
70983 {
70984
70985 // In case of POSIX threads check _POSIX_TIMEOUTS.
70986 #if (defined(_PTHREADS) \
70987 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
70988 #error
70989 #endif
70990
70991 ;
70992 return 0;
70993 }
70994 _ACEOF
70995 if ac_fn_cxx_try_compile "$LINENO"; then :
70996 ac_gthread_use_mutex_timedlock=1
70997 else
70998 ac_gthread_use_mutex_timedlock=0
70999 fi
71000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71001
71002
71003 cat >>confdefs.h <<_ACEOF
71004 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71005 _ACEOF
71006
71007
71008 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71009 else res_mutex_timedlock=no ; fi
71010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71011 $as_echo "$res_mutex_timedlock" >&6; }
71012
71013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71014 $as_echo_n "checking for gthreads library... " >&6; }
71015
71016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71017 /* end confdefs.h. */
71018 #include "gthr.h"
71019 int
71020 main ()
71021 {
71022
71023 #ifndef __GTHREADS_CXX0X
71024 #error
71025 #endif
71026
71027 ;
71028 return 0;
71029 }
71030 _ACEOF
71031 if ac_fn_cxx_try_compile "$LINENO"; then :
71032 case $target_os in
71033 # gthreads support breaks symbol versioning on Solaris 9 (PR
71034 # libstdc++/52189).
71035 solaris2.9*)
71036 if test x$enable_symvers = xno; then
71037 ac_has_gthreads=yes
71038 elif test x$enable_libstdcxx_threads = xyes; then
71039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71040 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71042 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71043 ac_has_gthreads=yes
71044 else
71045 ac_has_gthreads=no
71046 fi
71047 ;;
71048 *)
71049 ac_has_gthreads=yes
71050 ;;
71051 esac
71052 else
71053 ac_has_gthreads=no
71054 fi
71055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71056 else
71057 ac_has_gthreads=no
71058 fi
71059
71060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71061 $as_echo "$ac_has_gthreads" >&6; }
71062
71063 if test x"$ac_has_gthreads" = x"yes"; then
71064
71065 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71066
71067 fi
71068
71069 CXXFLAGS="$ac_save_CXXFLAGS"
71070 ac_ext=c
71071 ac_cpp='$CPP $CPPFLAGS'
71072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71075
71076
71077
71078 # Define documentation rules conditionally.
71079
71080 # See if makeinfo has been installed and is modern enough
71081 # that we can use it.
71082
71083 # Extract the first word of "makeinfo", so it can be a program name with args.
71084 set dummy makeinfo; ac_word=$2
71085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71086 $as_echo_n "checking for $ac_word... " >&6; }
71087 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71088 $as_echo_n "(cached) " >&6
71089 else
71090 if test -n "$MAKEINFO"; then
71091 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71092 else
71093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71094 for as_dir in $PATH
71095 do
71096 IFS=$as_save_IFS
71097 test -z "$as_dir" && as_dir=.
71098 for ac_exec_ext in '' $ac_executable_extensions; do
71099 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71100 ac_cv_prog_MAKEINFO="makeinfo"
71101 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71102 break 2
71103 fi
71104 done
71105 done
71106 IFS=$as_save_IFS
71107
71108 fi
71109 fi
71110 MAKEINFO=$ac_cv_prog_MAKEINFO
71111 if test -n "$MAKEINFO"; then
71112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71113 $as_echo "$MAKEINFO" >&6; }
71114 else
71115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71116 $as_echo "no" >&6; }
71117 fi
71118
71119
71120 if test -n "$MAKEINFO"; then
71121 # Found it, now check the version.
71122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71123 $as_echo_n "checking for modern makeinfo... " >&6; }
71124 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71125 $as_echo_n "(cached) " >&6
71126 else
71127 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71128 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71129
71130 case $ac_prog_version in
71131 '') gcc_cv_prog_makeinfo_modern=no;;
71132 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71133 *) gcc_cv_prog_makeinfo_modern=no;;
71134 esac
71135
71136 fi
71137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71138 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71139 else
71140 gcc_cv_prog_makeinfo_modern=no
71141 fi
71142 if test $gcc_cv_prog_makeinfo_modern = no; then
71143 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71144 fi
71145
71146 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71147 BUILD_INFO_TRUE=
71148 BUILD_INFO_FALSE='#'
71149 else
71150 BUILD_INFO_TRUE='#'
71151 BUILD_INFO_FALSE=
71152 fi
71153
71154
71155 # Check for doxygen
71156 # Extract the first word of "doxygen", so it can be a program name with args.
71157 set dummy doxygen; ac_word=$2
71158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71159 $as_echo_n "checking for $ac_word... " >&6; }
71160 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71161 $as_echo_n "(cached) " >&6
71162 else
71163 if test -n "$DOXYGEN"; then
71164 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71165 else
71166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71167 for as_dir in $PATH
71168 do
71169 IFS=$as_save_IFS
71170 test -z "$as_dir" && as_dir=.
71171 for ac_exec_ext in '' $ac_executable_extensions; do
71172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71173 ac_cv_prog_DOXYGEN="yes"
71174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71175 break 2
71176 fi
71177 done
71178 done
71179 IFS=$as_save_IFS
71180
71181 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71182 fi
71183 fi
71184 DOXYGEN=$ac_cv_prog_DOXYGEN
71185 if test -n "$DOXYGEN"; then
71186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71187 $as_echo "$DOXYGEN" >&6; }
71188 else
71189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71190 $as_echo "no" >&6; }
71191 fi
71192
71193
71194 # Extract the first word of "dot", so it can be a program name with args.
71195 set dummy dot; ac_word=$2
71196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71197 $as_echo_n "checking for $ac_word... " >&6; }
71198 if test "${ac_cv_prog_DOT+set}" = set; then :
71199 $as_echo_n "(cached) " >&6
71200 else
71201 if test -n "$DOT"; then
71202 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71203 else
71204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71205 for as_dir in $PATH
71206 do
71207 IFS=$as_save_IFS
71208 test -z "$as_dir" && as_dir=.
71209 for ac_exec_ext in '' $ac_executable_extensions; do
71210 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71211 ac_cv_prog_DOT="yes"
71212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71213 break 2
71214 fi
71215 done
71216 done
71217 IFS=$as_save_IFS
71218
71219 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71220 fi
71221 fi
71222 DOT=$ac_cv_prog_DOT
71223 if test -n "$DOT"; then
71224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71225 $as_echo "$DOT" >&6; }
71226 else
71227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71228 $as_echo "no" >&6; }
71229 fi
71230
71231
71232
71233 # Check for docbook
71234 # Extract the first word of "xsltproc", so it can be a program name with args.
71235 set dummy xsltproc; ac_word=$2
71236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71237 $as_echo_n "checking for $ac_word... " >&6; }
71238 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71239 $as_echo_n "(cached) " >&6
71240 else
71241 if test -n "$XSLTPROC"; then
71242 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71243 else
71244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71245 for as_dir in $PATH
71246 do
71247 IFS=$as_save_IFS
71248 test -z "$as_dir" && as_dir=.
71249 for ac_exec_ext in '' $ac_executable_extensions; do
71250 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71251 ac_cv_prog_XSLTPROC="yes"
71252 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71253 break 2
71254 fi
71255 done
71256 done
71257 IFS=$as_save_IFS
71258
71259 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71260 fi
71261 fi
71262 XSLTPROC=$ac_cv_prog_XSLTPROC
71263 if test -n "$XSLTPROC"; then
71264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71265 $as_echo "$XSLTPROC" >&6; }
71266 else
71267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71268 $as_echo "no" >&6; }
71269 fi
71270
71271
71272 # Extract the first word of "xmllint", so it can be a program name with args.
71273 set dummy xmllint; ac_word=$2
71274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71275 $as_echo_n "checking for $ac_word... " >&6; }
71276 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71277 $as_echo_n "(cached) " >&6
71278 else
71279 if test -n "$XMLLINT"; then
71280 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71281 else
71282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71283 for as_dir in $PATH
71284 do
71285 IFS=$as_save_IFS
71286 test -z "$as_dir" && as_dir=.
71287 for ac_exec_ext in '' $ac_executable_extensions; do
71288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71289 ac_cv_prog_XMLLINT="yes"
71290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71291 break 2
71292 fi
71293 done
71294 done
71295 IFS=$as_save_IFS
71296
71297 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71298 fi
71299 fi
71300 XMLLINT=$ac_cv_prog_XMLLINT
71301 if test -n "$XMLLINT"; then
71302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71303 $as_echo "$XMLLINT" >&6; }
71304 else
71305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71306 $as_echo "no" >&6; }
71307 fi
71308
71309
71310
71311
71312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71313 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71314 glibcxx_stylesheets=no
71315 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude http://docbook.sourceforge.net/release/xsl-ns/current/xhtml-1_1/docbook.xsl - 2>/dev/null; then
71316 glibcxx_stylesheets=yes
71317 fi
71318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71319 $as_echo "$glibcxx_stylesheets" >&6; }
71320
71321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71322 $as_echo_n "checking for local stylesheet directory... " >&6; }
71323 glibcxx_local_stylesheets=no
71324 if test x"$glibcxx_stylesheets" = x"yes"; then
71325 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71326 glibcxx_local_stylesheets=yes
71327 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71328 fi
71329 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71330 glibcxx_local_stylesheets=yes
71331 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71332 fi
71333 fi
71334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71335 $as_echo "$glibcxx_local_stylesheets" >&6; }
71336
71337 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71338
71339 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71340 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71341 else
71342 glibcxx_stylesheets=no
71343 fi
71344
71345 # Check for epub3 dependencies.
71346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71347 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71348 glibcxx_epub_stylesheets=no
71349 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71350 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71351 glibcxx_epub_stylesheets=yes
71352 fi
71353 fi
71354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71355 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71356 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71357 BUILD_EPUB_TRUE=
71358 BUILD_EPUB_FALSE='#'
71359 else
71360 BUILD_EPUB_TRUE='#'
71361 BUILD_EPUB_FALSE=
71362 fi
71363
71364
71365
71366
71367 # Check for xml/html dependencies.
71368 if test $ac_cv_prog_DOXYGEN = "yes" &&
71369 test $ac_cv_prog_DOT = "yes" &&
71370 test $ac_cv_prog_XSLTPROC = "yes" &&
71371 test $ac_cv_prog_XMLLINT = "yes" &&
71372 test $glibcxx_stylesheets = "yes"; then
71373 BUILD_XML_TRUE=
71374 BUILD_XML_FALSE='#'
71375 else
71376 BUILD_XML_TRUE='#'
71377 BUILD_XML_FALSE=
71378 fi
71379
71380
71381 if test $ac_cv_prog_DOXYGEN = "yes" &&
71382 test $ac_cv_prog_DOT = "yes" &&
71383 test $ac_cv_prog_XSLTPROC = "yes" &&
71384 test $ac_cv_prog_XMLLINT = "yes" &&
71385 test $glibcxx_stylesheets = "yes"; then
71386 BUILD_HTML_TRUE=
71387 BUILD_HTML_FALSE='#'
71388 else
71389 BUILD_HTML_TRUE='#'
71390 BUILD_HTML_FALSE=
71391 fi
71392
71393
71394 # Check for man dependencies.
71395 if test $ac_cv_prog_DOXYGEN = "yes" &&
71396 test $ac_cv_prog_DOT = "yes"; then
71397 BUILD_MAN_TRUE=
71398 BUILD_MAN_FALSE='#'
71399 else
71400 BUILD_MAN_TRUE='#'
71401 BUILD_MAN_FALSE=
71402 fi
71403
71404
71405 # Check for pdf dependencies.
71406 # Extract the first word of "dblatex", so it can be a program name with args.
71407 set dummy dblatex; ac_word=$2
71408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71409 $as_echo_n "checking for $ac_word... " >&6; }
71410 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71411 $as_echo_n "(cached) " >&6
71412 else
71413 if test -n "$DBLATEX"; then
71414 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71415 else
71416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71417 for as_dir in $PATH
71418 do
71419 IFS=$as_save_IFS
71420 test -z "$as_dir" && as_dir=.
71421 for ac_exec_ext in '' $ac_executable_extensions; do
71422 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71423 ac_cv_prog_DBLATEX="yes"
71424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71425 break 2
71426 fi
71427 done
71428 done
71429 IFS=$as_save_IFS
71430
71431 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71432 fi
71433 fi
71434 DBLATEX=$ac_cv_prog_DBLATEX
71435 if test -n "$DBLATEX"; then
71436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71437 $as_echo "$DBLATEX" >&6; }
71438 else
71439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71440 $as_echo "no" >&6; }
71441 fi
71442
71443
71444 # Extract the first word of "pdflatex", so it can be a program name with args.
71445 set dummy pdflatex; ac_word=$2
71446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71447 $as_echo_n "checking for $ac_word... " >&6; }
71448 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71449 $as_echo_n "(cached) " >&6
71450 else
71451 if test -n "$PDFLATEX"; then
71452 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71453 else
71454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71455 for as_dir in $PATH
71456 do
71457 IFS=$as_save_IFS
71458 test -z "$as_dir" && as_dir=.
71459 for ac_exec_ext in '' $ac_executable_extensions; do
71460 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71461 ac_cv_prog_PDFLATEX="yes"
71462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71463 break 2
71464 fi
71465 done
71466 done
71467 IFS=$as_save_IFS
71468
71469 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71470 fi
71471 fi
71472 PDFLATEX=$ac_cv_prog_PDFLATEX
71473 if test -n "$PDFLATEX"; then
71474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71475 $as_echo "$PDFLATEX" >&6; }
71476 else
71477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71478 $as_echo "no" >&6; }
71479 fi
71480
71481
71482 if test $ac_cv_prog_DBLATEX = "yes" &&
71483 test $ac_cv_prog_PDFLATEX = "yes"; then
71484 BUILD_PDF_TRUE=
71485 BUILD_PDF_FALSE='#'
71486 else
71487 BUILD_PDF_TRUE='#'
71488 BUILD_PDF_FALSE=
71489 fi
71490
71491
71492
71493 # Propagate the target-specific source directories through the build chain.
71494 ATOMICITY_SRCDIR=config/${atomicity_dir}
71495 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71496 ATOMIC_FLAGS=${atomic_flags}
71497 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71498 OS_INC_SRCDIR=config/${os_include_dir}
71499 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71500 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71501
71502
71503
71504
71505
71506
71507
71508
71509
71510 # Determine cross-compile flags and AM_CONDITIONALs.
71511 #AC_SUBST(GLIBCXX_IS_NATIVE)
71512 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71513 if test $is_hosted = yes; then
71514 GLIBCXX_HOSTED_TRUE=
71515 GLIBCXX_HOSTED_FALSE='#'
71516 else
71517 GLIBCXX_HOSTED_TRUE='#'
71518 GLIBCXX_HOSTED_FALSE=
71519 fi
71520
71521
71522 if test $enable_libstdcxx_pch = yes; then
71523 GLIBCXX_BUILD_PCH_TRUE=
71524 GLIBCXX_BUILD_PCH_FALSE='#'
71525 else
71526 GLIBCXX_BUILD_PCH_TRUE='#'
71527 GLIBCXX_BUILD_PCH_FALSE=
71528 fi
71529
71530
71531 if test $enable_cheaders = c; then
71532 GLIBCXX_C_HEADERS_C_TRUE=
71533 GLIBCXX_C_HEADERS_C_FALSE='#'
71534 else
71535 GLIBCXX_C_HEADERS_C_TRUE='#'
71536 GLIBCXX_C_HEADERS_C_FALSE=
71537 fi
71538
71539
71540 if test $enable_cheaders = c_std; then
71541 GLIBCXX_C_HEADERS_C_STD_TRUE=
71542 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71543 else
71544 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71545 GLIBCXX_C_HEADERS_C_STD_FALSE=
71546 fi
71547
71548
71549 if test $enable_cheaders = c_global; then
71550 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71551 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71552 else
71553 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71554 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71555 fi
71556
71557
71558 if test $c_compatibility = yes; then
71559 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71560 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71561 else
71562 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71563 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71564 fi
71565
71566
71567 if test $enable_libstdcxx_debug = yes; then
71568 GLIBCXX_BUILD_DEBUG_TRUE=
71569 GLIBCXX_BUILD_DEBUG_FALSE='#'
71570 else
71571 GLIBCXX_BUILD_DEBUG_TRUE='#'
71572 GLIBCXX_BUILD_DEBUG_FALSE=
71573 fi
71574
71575
71576 if test $enable_parallel = yes; then
71577 ENABLE_PARALLEL_TRUE=
71578 ENABLE_PARALLEL_FALSE='#'
71579 else
71580 ENABLE_PARALLEL_TRUE='#'
71581 ENABLE_PARALLEL_FALSE=
71582 fi
71583
71584
71585 if test $enable_extern_template = yes; then
71586 ENABLE_EXTERN_TEMPLATE_TRUE=
71587 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71588 else
71589 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71590 ENABLE_EXTERN_TEMPLATE_FALSE=
71591 fi
71592
71593
71594 if test $python_mod_dir != no; then
71595 ENABLE_PYTHONDIR_TRUE=
71596 ENABLE_PYTHONDIR_FALSE='#'
71597 else
71598 ENABLE_PYTHONDIR_TRUE='#'
71599 ENABLE_PYTHONDIR_FALSE=
71600 fi
71601
71602
71603 if test $enable_werror = yes; then
71604 ENABLE_WERROR_TRUE=
71605 ENABLE_WERROR_FALSE='#'
71606 else
71607 ENABLE_WERROR_TRUE='#'
71608 ENABLE_WERROR_FALSE=
71609 fi
71610
71611
71612 if test $enable_symvers != no; then
71613 ENABLE_SYMVERS_TRUE=
71614 ENABLE_SYMVERS_FALSE='#'
71615 else
71616 ENABLE_SYMVERS_TRUE='#'
71617 ENABLE_SYMVERS_FALSE=
71618 fi
71619
71620
71621 if test $enable_symvers = gnu; then
71622 ENABLE_SYMVERS_GNU_TRUE=
71623 ENABLE_SYMVERS_GNU_FALSE='#'
71624 else
71625 ENABLE_SYMVERS_GNU_TRUE='#'
71626 ENABLE_SYMVERS_GNU_FALSE=
71627 fi
71628
71629
71630 if test $enable_symvers = gnu-versioned-namespace; then
71631 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71632 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71633 else
71634 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71635 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71636 fi
71637
71638
71639 if test $enable_symvers = darwin; then
71640 ENABLE_SYMVERS_DARWIN_TRUE=
71641 ENABLE_SYMVERS_DARWIN_FALSE='#'
71642 else
71643 ENABLE_SYMVERS_DARWIN_TRUE='#'
71644 ENABLE_SYMVERS_DARWIN_FALSE=
71645 fi
71646
71647
71648 if test $enable_symvers = sun; then
71649 ENABLE_SYMVERS_SUN_TRUE=
71650 ENABLE_SYMVERS_SUN_FALSE='#'
71651 else
71652 ENABLE_SYMVERS_SUN_TRUE='#'
71653 ENABLE_SYMVERS_SUN_FALSE=
71654 fi
71655
71656
71657 if test $enable_libstdcxx_visibility = yes; then
71658 ENABLE_VISIBILITY_TRUE=
71659 ENABLE_VISIBILITY_FALSE='#'
71660 else
71661 ENABLE_VISIBILITY_TRUE='#'
71662 ENABLE_VISIBILITY_FALSE=
71663 fi
71664
71665
71666 if test $ac_ldbl_compat = yes; then
71667 GLIBCXX_LDBL_COMPAT_TRUE=
71668 GLIBCXX_LDBL_COMPAT_FALSE='#'
71669 else
71670 GLIBCXX_LDBL_COMPAT_TRUE='#'
71671 GLIBCXX_LDBL_COMPAT_FALSE=
71672 fi
71673
71674
71675
71676
71677 cat >confcache <<\_ACEOF
71678 # This file is a shell script that caches the results of configure
71679 # tests run on this system so they can be shared between configure
71680 # scripts and configure runs, see configure's option --config-cache.
71681 # It is not useful on other systems. If it contains results you don't
71682 # want to keep, you may remove or edit it.
71683 #
71684 # config.status only pays attention to the cache file if you give it
71685 # the --recheck option to rerun configure.
71686 #
71687 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71688 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71689 # following values.
71690
71691 _ACEOF
71692
71693 # The following way of writing the cache mishandles newlines in values,
71694 # but we know of no workaround that is simple, portable, and efficient.
71695 # So, we kill variables containing newlines.
71696 # Ultrix sh set writes to stderr and can't be redirected directly,
71697 # and sets the high bit in the cache file unless we assign to the vars.
71698 (
71699 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71700 eval ac_val=\$$ac_var
71701 case $ac_val in #(
71702 *${as_nl}*)
71703 case $ac_var in #(
71704 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71705 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71706 esac
71707 case $ac_var in #(
71708 _ | IFS | as_nl) ;; #(
71709 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71710 *) { eval $ac_var=; unset $ac_var;} ;;
71711 esac ;;
71712 esac
71713 done
71714
71715 (set) 2>&1 |
71716 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71717 *${as_nl}ac_space=\ *)
71718 # `set' does not quote correctly, so add quotes: double-quote
71719 # substitution turns \\\\ into \\, and sed turns \\ into \.
71720 sed -n \
71721 "s/'/'\\\\''/g;
71722 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71723 ;; #(
71724 *)
71725 # `set' quotes correctly as required by POSIX, so do not add quotes.
71726 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71727 ;;
71728 esac |
71729 sort
71730 ) |
71731 sed '
71732 /^ac_cv_env_/b end
71733 t clear
71734 :clear
71735 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71736 t end
71737 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71738 :end' >>confcache
71739 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71740 if test -w "$cache_file"; then
71741 test "x$cache_file" != "x/dev/null" &&
71742 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71743 $as_echo "$as_me: updating cache $cache_file" >&6;}
71744 cat confcache >$cache_file
71745 else
71746 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71747 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71748 fi
71749 fi
71750 rm -f confcache
71751
71752 if test ${multilib} = yes; then
71753 multilib_arg="--enable-multilib"
71754 else
71755 multilib_arg=
71756 fi
71757
71758 # Export all the install information.
71759
71760 glibcxx_toolexecdir=no
71761 glibcxx_toolexeclibdir=no
71762 glibcxx_prefixdir=$prefix
71763
71764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71765 $as_echo_n "checking for gxx-include-dir... " >&6; }
71766
71767 # Check whether --with-gxx-include-dir was given.
71768 if test "${with_gxx_include_dir+set}" = set; then :
71769 withval=$with_gxx_include_dir; case "$withval" in
71770 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71771 no) gxx_include_dir=no ;;
71772 *) gxx_include_dir=$withval ;;
71773 esac
71774 else
71775 gxx_include_dir=no
71776 fi
71777
71778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71779 $as_echo "$gxx_include_dir" >&6; }
71780
71781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71782 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71783 # Check whether --enable-version-specific-runtime-libs was given.
71784 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71785 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71786 yes) version_specific_libs=yes ;;
71787 no) version_specific_libs=no ;;
71788 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71789 esac
71790 else
71791 version_specific_libs=no
71792 fi
71793
71794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71795 $as_echo "$version_specific_libs" >&6; }
71796
71797 # Default case for install directory for include files.
71798 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71799 gxx_include_dir='include/c++/${gcc_version}'
71800 if test -n "$with_cross_host" &&
71801 test x"$with_cross_host" != x"no"; then
71802 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71803 else
71804 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71805 fi
71806 fi
71807
71808 # Version-specific runtime libs processing.
71809 if test $version_specific_libs = yes; then
71810 # Need the gcc compiler version to know where to install libraries
71811 # and header files if --enable-version-specific-runtime-libs option
71812 # is selected. FIXME: these variables are misnamed, there are
71813 # no executables installed in _toolexecdir or _toolexeclibdir.
71814 if test x"$gxx_include_dir" = x"no"; then
71815 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71816 fi
71817 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71818 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71819 fi
71820
71821 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71822 # Install a library built with a cross compiler in tooldir, not libdir.
71823 if test x"$glibcxx_toolexecdir" = x"no"; then
71824 if test -n "$with_cross_host" &&
71825 test x"$with_cross_host" != x"no"; then
71826 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71827 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71828 else
71829 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71830 glibcxx_toolexeclibdir='${libdir}'
71831 fi
71832 multi_os_directory=`$CXX -print-multi-os-directory`
71833 case $multi_os_directory in
71834 .) ;; # Avoid trailing /.
71835 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71836 esac
71837 fi
71838
71839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71840 $as_echo_n "checking for install location... " >&6; }
71841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71842 $as_echo "$gxx_include_dir" >&6; }
71843
71844
71845
71846
71847
71848
71849
71850 # Export all the include and flag information to Makefiles.
71851
71852 # Used for every C++ compile we perform.
71853 GLIBCXX_INCLUDES="\
71854 -I$glibcxx_builddir/include/$host_alias \
71855 -I$glibcxx_builddir/include \
71856 -I$glibcxx_srcdir/libsupc++"
71857
71858 # For Canadian crosses, pick this up too.
71859 if test $CANADIAN = yes; then
71860 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
71861 fi
71862
71863 # Stuff in the actual top level. Currently only used by libsupc++ to
71864 # get unwind* headers from the libgcc dir.
71865 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
71866 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
71867
71868 # Now, export this to all the little Makefiles....
71869
71870
71871
71872
71873 # Optimization flags that are probably a good idea for thrill-seekers. Just
71874 # uncomment the lines below and make, everything else is ready to go...
71875 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
71876 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
71877
71878
71879 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
71880
71881
71882
71883 if test "$enable_shared" = yes; then
71884 PIC_CXXFLAGS="-prefer-pic"
71885 else
71886 PIC_CXXFLAGS=
71887 fi
71888
71889
71890 ac_config_files="$ac_config_files Makefile"
71891
71892 ac_config_files="$ac_config_files scripts/testsuite_flags"
71893
71894 ac_config_files="$ac_config_files scripts/extract_symvers"
71895
71896
71897 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
71898 # that multilib installs will end up installed in the correct place.
71899 # The testsuite needs it for multilib-aware ABI baseline files.
71900 # To work around this not being passed down from config-ml.in ->
71901 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
71902 # append it here. Only modify Makefiles that have just been created.
71903 #
71904 # Also, get rid of this simulated-VPATH thing that automake does.
71905 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile doc/Makefile po/Makefile testsuite/Makefile"
71906
71907
71908 ac_config_commands="$ac_config_commands generate-headers"
71909
71910
71911 cat >confcache <<\_ACEOF
71912 # This file is a shell script that caches the results of configure
71913 # tests run on this system so they can be shared between configure
71914 # scripts and configure runs, see configure's option --config-cache.
71915 # It is not useful on other systems. If it contains results you don't
71916 # want to keep, you may remove or edit it.
71917 #
71918 # config.status only pays attention to the cache file if you give it
71919 # the --recheck option to rerun configure.
71920 #
71921 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71922 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71923 # following values.
71924
71925 _ACEOF
71926
71927 # The following way of writing the cache mishandles newlines in values,
71928 # but we know of no workaround that is simple, portable, and efficient.
71929 # So, we kill variables containing newlines.
71930 # Ultrix sh set writes to stderr and can't be redirected directly,
71931 # and sets the high bit in the cache file unless we assign to the vars.
71932 (
71933 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71934 eval ac_val=\$$ac_var
71935 case $ac_val in #(
71936 *${as_nl}*)
71937 case $ac_var in #(
71938 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71939 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71940 esac
71941 case $ac_var in #(
71942 _ | IFS | as_nl) ;; #(
71943 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71944 *) { eval $ac_var=; unset $ac_var;} ;;
71945 esac ;;
71946 esac
71947 done
71948
71949 (set) 2>&1 |
71950 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71951 *${as_nl}ac_space=\ *)
71952 # `set' does not quote correctly, so add quotes: double-quote
71953 # substitution turns \\\\ into \\, and sed turns \\ into \.
71954 sed -n \
71955 "s/'/'\\\\''/g;
71956 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71957 ;; #(
71958 *)
71959 # `set' quotes correctly as required by POSIX, so do not add quotes.
71960 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71961 ;;
71962 esac |
71963 sort
71964 ) |
71965 sed '
71966 /^ac_cv_env_/b end
71967 t clear
71968 :clear
71969 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71970 t end
71971 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71972 :end' >>confcache
71973 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71974 if test -w "$cache_file"; then
71975 test "x$cache_file" != "x/dev/null" &&
71976 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71977 $as_echo "$as_me: updating cache $cache_file" >&6;}
71978 cat confcache >$cache_file
71979 else
71980 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71981 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71982 fi
71983 fi
71984 rm -f confcache
71985
71986 test "x$prefix" = xNONE && prefix=$ac_default_prefix
71987 # Let make expand exec_prefix.
71988 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
71989
71990 DEFS=-DHAVE_CONFIG_H
71991
71992 ac_libobjs=
71993 ac_ltlibobjs=
71994 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
71995 # 1. Remove the extension, and $U if already installed.
71996 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
71997 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
71998 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
71999 # will be set to the directory where LIBOBJS objects are built.
72000 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72001 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72002 done
72003 LIBOBJS=$ac_libobjs
72004
72005 LTLIBOBJS=$ac_ltlibobjs
72006
72007
72008 if test -n "$EXEEXT"; then
72009 am__EXEEXT_TRUE=
72010 am__EXEEXT_FALSE='#'
72011 else
72012 am__EXEEXT_TRUE='#'
72013 am__EXEEXT_FALSE=
72014 fi
72015
72016 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72017 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72018 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72019 fi
72020 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72021 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72022 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72023 fi
72024 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72025 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72026 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72027 fi
72028 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72029 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72030 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72031 fi
72032 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72033 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72034 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72035 fi
72036 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72037 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72038 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72039 fi
72040 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72041 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72042 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72043 fi
72044 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72045 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72046 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72047 fi
72048 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
72049 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
72050 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72051 fi
72052 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72053 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72054 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72055 fi
72056 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72057 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72058 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72059 fi
72060 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72061 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72062 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72063 fi
72064 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72065 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72066 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72067 fi
72068 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72069 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72070 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72071 fi
72072 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72073 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72074 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72075 fi
72076 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72077 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72078 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72079 fi
72080 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72081 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72082 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72083 fi
72084 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72085 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72086 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72087 fi
72088 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72089 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72090 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72091 fi
72092 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72093 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72094 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72095 fi
72096 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72097 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72098 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72099 fi
72100 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72101 as_fn_error "conditional \"BUILD_XML\" was never defined.
72102 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72103 fi
72104 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72105 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72106 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72107 fi
72108 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72109 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72110 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72111 fi
72112 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72113 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72114 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72115 fi
72116
72117 : ${CONFIG_STATUS=./config.status}
72118 ac_write_fail=0
72119 ac_clean_files_save=$ac_clean_files
72120 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72121 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72122 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72123 as_write_fail=0
72124 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72125 #! $SHELL
72126 # Generated by $as_me.
72127 # Run this file to recreate the current configuration.
72128 # Compiler output produced by configure, useful for debugging
72129 # configure, is in config.log if it exists.
72130
72131 debug=false
72132 ac_cs_recheck=false
72133 ac_cs_silent=false
72134
72135 SHELL=\${CONFIG_SHELL-$SHELL}
72136 export SHELL
72137 _ASEOF
72138 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72139 ## -------------------- ##
72140 ## M4sh Initialization. ##
72141 ## -------------------- ##
72142
72143 # Be more Bourne compatible
72144 DUALCASE=1; export DUALCASE # for MKS sh
72145 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72146 emulate sh
72147 NULLCMD=:
72148 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72149 # is contrary to our usage. Disable this feature.
72150 alias -g '${1+"$@"}'='"$@"'
72151 setopt NO_GLOB_SUBST
72152 else
72153 case `(set -o) 2>/dev/null` in #(
72154 *posix*) :
72155 set -o posix ;; #(
72156 *) :
72157 ;;
72158 esac
72159 fi
72160
72161
72162 as_nl='
72163 '
72164 export as_nl
72165 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72166 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72167 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72168 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72169 # Prefer a ksh shell builtin over an external printf program on Solaris,
72170 # but without wasting forks for bash or zsh.
72171 if test -z "$BASH_VERSION$ZSH_VERSION" \
72172 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72173 as_echo='print -r --'
72174 as_echo_n='print -rn --'
72175 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72176 as_echo='printf %s\n'
72177 as_echo_n='printf %s'
72178 else
72179 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72180 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72181 as_echo_n='/usr/ucb/echo -n'
72182 else
72183 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72184 as_echo_n_body='eval
72185 arg=$1;
72186 case $arg in #(
72187 *"$as_nl"*)
72188 expr "X$arg" : "X\\(.*\\)$as_nl";
72189 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72190 esac;
72191 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72192 '
72193 export as_echo_n_body
72194 as_echo_n='sh -c $as_echo_n_body as_echo'
72195 fi
72196 export as_echo_body
72197 as_echo='sh -c $as_echo_body as_echo'
72198 fi
72199
72200 # The user is always right.
72201 if test "${PATH_SEPARATOR+set}" != set; then
72202 PATH_SEPARATOR=:
72203 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72204 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72205 PATH_SEPARATOR=';'
72206 }
72207 fi
72208
72209
72210 # IFS
72211 # We need space, tab and new line, in precisely that order. Quoting is
72212 # there to prevent editors from complaining about space-tab.
72213 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72214 # splitting by setting IFS to empty value.)
72215 IFS=" "" $as_nl"
72216
72217 # Find who we are. Look in the path if we contain no directory separator.
72218 case $0 in #((
72219 *[\\/]* ) as_myself=$0 ;;
72220 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72221 for as_dir in $PATH
72222 do
72223 IFS=$as_save_IFS
72224 test -z "$as_dir" && as_dir=.
72225 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72226 done
72227 IFS=$as_save_IFS
72228
72229 ;;
72230 esac
72231 # We did not find ourselves, most probably we were run as `sh COMMAND'
72232 # in which case we are not to be found in the path.
72233 if test "x$as_myself" = x; then
72234 as_myself=$0
72235 fi
72236 if test ! -f "$as_myself"; then
72237 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72238 exit 1
72239 fi
72240
72241 # Unset variables that we do not need and which cause bugs (e.g. in
72242 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72243 # suppresses any "Segmentation fault" message there. '((' could
72244 # trigger a bug in pdksh 5.2.14.
72245 for as_var in BASH_ENV ENV MAIL MAILPATH
72246 do eval test x\${$as_var+set} = xset \
72247 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72248 done
72249 PS1='$ '
72250 PS2='> '
72251 PS4='+ '
72252
72253 # NLS nuisances.
72254 LC_ALL=C
72255 export LC_ALL
72256 LANGUAGE=C
72257 export LANGUAGE
72258
72259 # CDPATH.
72260 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72261
72262
72263 # as_fn_error ERROR [LINENO LOG_FD]
72264 # ---------------------------------
72265 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72266 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72267 # script with status $?, using 1 if that was 0.
72268 as_fn_error ()
72269 {
72270 as_status=$?; test $as_status -eq 0 && as_status=1
72271 if test "$3"; then
72272 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72273 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72274 fi
72275 $as_echo "$as_me: error: $1" >&2
72276 as_fn_exit $as_status
72277 } # as_fn_error
72278
72279
72280 # as_fn_set_status STATUS
72281 # -----------------------
72282 # Set $? to STATUS, without forking.
72283 as_fn_set_status ()
72284 {
72285 return $1
72286 } # as_fn_set_status
72287
72288 # as_fn_exit STATUS
72289 # -----------------
72290 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72291 as_fn_exit ()
72292 {
72293 set +e
72294 as_fn_set_status $1
72295 exit $1
72296 } # as_fn_exit
72297
72298 # as_fn_unset VAR
72299 # ---------------
72300 # Portably unset VAR.
72301 as_fn_unset ()
72302 {
72303 { eval $1=; unset $1;}
72304 }
72305 as_unset=as_fn_unset
72306 # as_fn_append VAR VALUE
72307 # ----------------------
72308 # Append the text in VALUE to the end of the definition contained in VAR. Take
72309 # advantage of any shell optimizations that allow amortized linear growth over
72310 # repeated appends, instead of the typical quadratic growth present in naive
72311 # implementations.
72312 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72313 eval 'as_fn_append ()
72314 {
72315 eval $1+=\$2
72316 }'
72317 else
72318 as_fn_append ()
72319 {
72320 eval $1=\$$1\$2
72321 }
72322 fi # as_fn_append
72323
72324 # as_fn_arith ARG...
72325 # ------------------
72326 # Perform arithmetic evaluation on the ARGs, and store the result in the
72327 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72328 # must be portable across $(()) and expr.
72329 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72330 eval 'as_fn_arith ()
72331 {
72332 as_val=$(( $* ))
72333 }'
72334 else
72335 as_fn_arith ()
72336 {
72337 as_val=`expr "$@" || test $? -eq 1`
72338 }
72339 fi # as_fn_arith
72340
72341
72342 if expr a : '\(a\)' >/dev/null 2>&1 &&
72343 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72344 as_expr=expr
72345 else
72346 as_expr=false
72347 fi
72348
72349 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72350 as_basename=basename
72351 else
72352 as_basename=false
72353 fi
72354
72355 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72356 as_dirname=dirname
72357 else
72358 as_dirname=false
72359 fi
72360
72361 as_me=`$as_basename -- "$0" ||
72362 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72363 X"$0" : 'X\(//\)$' \| \
72364 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72365 $as_echo X/"$0" |
72366 sed '/^.*\/\([^/][^/]*\)\/*$/{
72367 s//\1/
72368 q
72369 }
72370 /^X\/\(\/\/\)$/{
72371 s//\1/
72372 q
72373 }
72374 /^X\/\(\/\).*/{
72375 s//\1/
72376 q
72377 }
72378 s/.*/./; q'`
72379
72380 # Avoid depending upon Character Ranges.
72381 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72382 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72383 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72384 as_cr_digits='0123456789'
72385 as_cr_alnum=$as_cr_Letters$as_cr_digits
72386
72387 ECHO_C= ECHO_N= ECHO_T=
72388 case `echo -n x` in #(((((
72389 -n*)
72390 case `echo 'xy\c'` in
72391 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72392 xy) ECHO_C='\c';;
72393 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72394 ECHO_T=' ';;
72395 esac;;
72396 *)
72397 ECHO_N='-n';;
72398 esac
72399
72400 rm -f conf$$ conf$$.exe conf$$.file
72401 if test -d conf$$.dir; then
72402 rm -f conf$$.dir/conf$$.file
72403 else
72404 rm -f conf$$.dir
72405 mkdir conf$$.dir 2>/dev/null
72406 fi
72407 if (echo >conf$$.file) 2>/dev/null; then
72408 if ln -s conf$$.file conf$$ 2>/dev/null; then
72409 as_ln_s='ln -s'
72410 # ... but there are two gotchas:
72411 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72412 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72413 # In both cases, we have to default to `cp -p'.
72414 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72415 as_ln_s='cp -p'
72416 elif ln conf$$.file conf$$ 2>/dev/null; then
72417 as_ln_s=ln
72418 else
72419 as_ln_s='cp -p'
72420 fi
72421 else
72422 as_ln_s='cp -p'
72423 fi
72424 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72425 rmdir conf$$.dir 2>/dev/null
72426
72427
72428 # as_fn_mkdir_p
72429 # -------------
72430 # Create "$as_dir" as a directory, including parents if necessary.
72431 as_fn_mkdir_p ()
72432 {
72433
72434 case $as_dir in #(
72435 -*) as_dir=./$as_dir;;
72436 esac
72437 test -d "$as_dir" || eval $as_mkdir_p || {
72438 as_dirs=
72439 while :; do
72440 case $as_dir in #(
72441 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72442 *) as_qdir=$as_dir;;
72443 esac
72444 as_dirs="'$as_qdir' $as_dirs"
72445 as_dir=`$as_dirname -- "$as_dir" ||
72446 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72447 X"$as_dir" : 'X\(//\)[^/]' \| \
72448 X"$as_dir" : 'X\(//\)$' \| \
72449 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72450 $as_echo X"$as_dir" |
72451 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72452 s//\1/
72453 q
72454 }
72455 /^X\(\/\/\)[^/].*/{
72456 s//\1/
72457 q
72458 }
72459 /^X\(\/\/\)$/{
72460 s//\1/
72461 q
72462 }
72463 /^X\(\/\).*/{
72464 s//\1/
72465 q
72466 }
72467 s/.*/./; q'`
72468 test -d "$as_dir" && break
72469 done
72470 test -z "$as_dirs" || eval "mkdir $as_dirs"
72471 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72472
72473
72474 } # as_fn_mkdir_p
72475 if mkdir -p . 2>/dev/null; then
72476 as_mkdir_p='mkdir -p "$as_dir"'
72477 else
72478 test -d ./-p && rmdir ./-p
72479 as_mkdir_p=false
72480 fi
72481
72482 if test -x / >/dev/null 2>&1; then
72483 as_test_x='test -x'
72484 else
72485 if ls -dL / >/dev/null 2>&1; then
72486 as_ls_L_option=L
72487 else
72488 as_ls_L_option=
72489 fi
72490 as_test_x='
72491 eval sh -c '\''
72492 if test -d "$1"; then
72493 test -d "$1/.";
72494 else
72495 case $1 in #(
72496 -*)set "./$1";;
72497 esac;
72498 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72499 ???[sx]*):;;*)false;;esac;fi
72500 '\'' sh
72501 '
72502 fi
72503 as_executable_p=$as_test_x
72504
72505 # Sed expression to map a string onto a valid CPP name.
72506 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72507
72508 # Sed expression to map a string onto a valid variable name.
72509 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72510
72511
72512 exec 6>&1
72513 ## ----------------------------------- ##
72514 ## Main body of $CONFIG_STATUS script. ##
72515 ## ----------------------------------- ##
72516 _ASEOF
72517 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72518
72519 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72520 # Save the log message, to keep $0 and so on meaningful, and to
72521 # report actual input values of CONFIG_FILES etc. instead of their
72522 # values after options handling.
72523 ac_log="
72524 This file was extended by package-unused $as_me version-unused, which was
72525 generated by GNU Autoconf 2.64. Invocation command line was
72526
72527 CONFIG_FILES = $CONFIG_FILES
72528 CONFIG_HEADERS = $CONFIG_HEADERS
72529 CONFIG_LINKS = $CONFIG_LINKS
72530 CONFIG_COMMANDS = $CONFIG_COMMANDS
72531 $ $0 $@
72532
72533 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72534 "
72535
72536 _ACEOF
72537
72538 case $ac_config_files in *"
72539 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72540 esac
72541
72542 case $ac_config_headers in *"
72543 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72544 esac
72545
72546
72547 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72548 # Files that config.status was made for.
72549 config_files="$ac_config_files"
72550 config_headers="$ac_config_headers"
72551 config_commands="$ac_config_commands"
72552
72553 _ACEOF
72554
72555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72556 ac_cs_usage="\
72557 \`$as_me' instantiates files and other configuration actions
72558 from templates according to the current configuration. Unless the files
72559 and actions are specified as TAGs, all are instantiated by default.
72560
72561 Usage: $0 [OPTION]... [TAG]...
72562
72563 -h, --help print this help, then exit
72564 -V, --version print version number and configuration settings, then exit
72565 -q, --quiet, --silent
72566 do not print progress messages
72567 -d, --debug don't remove temporary files
72568 --recheck update $as_me by reconfiguring in the same conditions
72569 --file=FILE[:TEMPLATE]
72570 instantiate the configuration file FILE
72571 --header=FILE[:TEMPLATE]
72572 instantiate the configuration header FILE
72573
72574 Configuration files:
72575 $config_files
72576
72577 Configuration headers:
72578 $config_headers
72579
72580 Configuration commands:
72581 $config_commands
72582
72583 Report bugs to the package provider."
72584
72585 _ACEOF
72586 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72587 ac_cs_version="\\
72588 package-unused config.status version-unused
72589 configured by $0, generated by GNU Autoconf 2.64,
72590 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72591
72592 Copyright (C) 2009 Free Software Foundation, Inc.
72593 This config.status script is free software; the Free Software Foundation
72594 gives unlimited permission to copy, distribute and modify it."
72595
72596 ac_pwd='$ac_pwd'
72597 srcdir='$srcdir'
72598 INSTALL='$INSTALL'
72599 MKDIR_P='$MKDIR_P'
72600 AWK='$AWK'
72601 test -n "\$AWK" || AWK=awk
72602 _ACEOF
72603
72604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72605 # The default lists apply if the user does not specify any file.
72606 ac_need_defaults=:
72607 while test $# != 0
72608 do
72609 case $1 in
72610 --*=*)
72611 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72612 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72613 ac_shift=:
72614 ;;
72615 *)
72616 ac_option=$1
72617 ac_optarg=$2
72618 ac_shift=shift
72619 ;;
72620 esac
72621
72622 case $ac_option in
72623 # Handling of the options.
72624 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72625 ac_cs_recheck=: ;;
72626 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72627 $as_echo "$ac_cs_version"; exit ;;
72628 --debug | --debu | --deb | --de | --d | -d )
72629 debug=: ;;
72630 --file | --fil | --fi | --f )
72631 $ac_shift
72632 case $ac_optarg in
72633 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72634 esac
72635 as_fn_append CONFIG_FILES " '$ac_optarg'"
72636 ac_need_defaults=false;;
72637 --header | --heade | --head | --hea )
72638 $ac_shift
72639 case $ac_optarg in
72640 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72641 esac
72642 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72643 ac_need_defaults=false;;
72644 --he | --h)
72645 # Conflict between --help and --header
72646 as_fn_error "ambiguous option: \`$1'
72647 Try \`$0 --help' for more information.";;
72648 --help | --hel | -h )
72649 $as_echo "$ac_cs_usage"; exit ;;
72650 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72651 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72652 ac_cs_silent=: ;;
72653
72654 # This is an error.
72655 -*) as_fn_error "unrecognized option: \`$1'
72656 Try \`$0 --help' for more information." ;;
72657
72658 *) as_fn_append ac_config_targets " $1"
72659 ac_need_defaults=false ;;
72660
72661 esac
72662 shift
72663 done
72664
72665 ac_configure_extra_args=
72666
72667 if $ac_cs_silent; then
72668 exec 6>/dev/null
72669 ac_configure_extra_args="$ac_configure_extra_args --silent"
72670 fi
72671
72672 _ACEOF
72673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72674 if \$ac_cs_recheck; then
72675 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72676 shift
72677 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72678 CONFIG_SHELL='$SHELL'
72679 export CONFIG_SHELL
72680 exec "\$@"
72681 fi
72682
72683 _ACEOF
72684 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72685 exec 5>>config.log
72686 {
72687 echo
72688 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72689 ## Running $as_me. ##
72690 _ASBOX
72691 $as_echo "$ac_log"
72692 } >&5
72693
72694 _ACEOF
72695 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72696 #
72697 # INIT-COMMANDS
72698 #
72699
72700 srcdir="$srcdir"
72701 host="$host"
72702 target="$target"
72703 with_multisubdir="$with_multisubdir"
72704 with_multisrctop="$with_multisrctop"
72705 with_target_subdir="$with_target_subdir"
72706 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72707 multi_basedir="$multi_basedir"
72708 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72709 CC="$CC"
72710 CXX="$CXX"
72711 GFORTRAN="$GFORTRAN"
72712 GCJ="$GCJ"
72713
72714
72715 # The HP-UX ksh and POSIX shell print the target directory to stdout
72716 # if CDPATH is set.
72717 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72718
72719 sed_quote_subst='$sed_quote_subst'
72720 double_quote_subst='$double_quote_subst'
72721 delay_variable_subst='$delay_variable_subst'
72722 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72723 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72724 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72725 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72726 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72727 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72728 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72729 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72730 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72731 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72732 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72733 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72734 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72735 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72736 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72737 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72738 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72739 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72740 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72741 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72742 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72743 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72744 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72745 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72746 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72747 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72748 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72749 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72750 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72751 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72752 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72753 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72754 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72755 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72756 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72757 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72758 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72759 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72760 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72761 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72762 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72763 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72764 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72765 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72766 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72767 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72768 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72769 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72770 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"`'
72771 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72772 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72773 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72774 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72775 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72776 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72777 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72778 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72779 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72780 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72781 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72782 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72783 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72784 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72785 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72786 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72787 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72788 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72789 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72790 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72791 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72792 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72793 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72794 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72795 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72796 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72797 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72798 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72799 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72800 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72801 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72802 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72803 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72804 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72805 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72806 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72807 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72808 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72809 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72810 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72811 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72812 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72813 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72814 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72815 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72816 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72817 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72818 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72819 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72820 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72821 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72822 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72823 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72824 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72825 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72826 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72827 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72828 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72829 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72830 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72831 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72832 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72833 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72834 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72835 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72836 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72837 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72838 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72839 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72840 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72841 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72842 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72843 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72844 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72845 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72846 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72847 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72848 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72849 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72850 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72851 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72852 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
72853 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
72854 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
72855 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
72856 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
72857 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
72858 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
72859 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
72860 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
72861 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72862 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72863 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
72864 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72865 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72866 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72867 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72868 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72869 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72870 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
72871 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
72872 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
72873 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
72874 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
72875 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
72876 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
72877 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
72878 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
72879 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
72880 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
72881 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
72882 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
72883 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
72884 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
72885 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72886 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
72887 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
72888 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72889 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
72890 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
72891 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
72892 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
72893 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
72894 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
72895 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
72896 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
72897
72898 LTCC='$LTCC'
72899 LTCFLAGS='$LTCFLAGS'
72900 compiler='$compiler_DEFAULT'
72901
72902 # A function that is used when there is no print builtin or printf.
72903 func_fallback_echo ()
72904 {
72905 eval 'cat <<_LTECHO_EOF
72906 \$1
72907 _LTECHO_EOF'
72908 }
72909
72910 # Quote evaled strings.
72911 for var in SHELL \
72912 ECHO \
72913 SED \
72914 GREP \
72915 EGREP \
72916 FGREP \
72917 LD \
72918 NM \
72919 LN_S \
72920 lt_SP2NL \
72921 lt_NL2SP \
72922 reload_flag \
72923 OBJDUMP \
72924 deplibs_check_method \
72925 file_magic_cmd \
72926 AR \
72927 AR_FLAGS \
72928 STRIP \
72929 RANLIB \
72930 CC \
72931 CFLAGS \
72932 compiler \
72933 lt_cv_sys_global_symbol_pipe \
72934 lt_cv_sys_global_symbol_to_cdecl \
72935 lt_cv_sys_global_symbol_to_c_name_address \
72936 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
72937 lt_prog_compiler_no_builtin_flag \
72938 lt_prog_compiler_wl \
72939 lt_prog_compiler_pic \
72940 lt_prog_compiler_static \
72941 lt_cv_prog_compiler_c_o \
72942 need_locks \
72943 DSYMUTIL \
72944 NMEDIT \
72945 LIPO \
72946 OTOOL \
72947 OTOOL64 \
72948 shrext_cmds \
72949 export_dynamic_flag_spec \
72950 whole_archive_flag_spec \
72951 compiler_needs_object \
72952 with_gnu_ld \
72953 allow_undefined_flag \
72954 no_undefined_flag \
72955 hardcode_libdir_flag_spec \
72956 hardcode_libdir_flag_spec_ld \
72957 hardcode_libdir_separator \
72958 fix_srcfile_path \
72959 exclude_expsyms \
72960 include_expsyms \
72961 file_list_spec \
72962 variables_saved_for_relink \
72963 libname_spec \
72964 library_names_spec \
72965 soname_spec \
72966 install_override_mode \
72967 finish_eval \
72968 old_striplib \
72969 striplib \
72970 compiler_lib_search_dirs \
72971 predep_objects \
72972 postdep_objects \
72973 predeps \
72974 postdeps \
72975 compiler_lib_search_path \
72976 LD_CXX \
72977 reload_flag_CXX \
72978 compiler_CXX \
72979 lt_prog_compiler_no_builtin_flag_CXX \
72980 lt_prog_compiler_wl_CXX \
72981 lt_prog_compiler_pic_CXX \
72982 lt_prog_compiler_static_CXX \
72983 lt_cv_prog_compiler_c_o_CXX \
72984 export_dynamic_flag_spec_CXX \
72985 whole_archive_flag_spec_CXX \
72986 compiler_needs_object_CXX \
72987 with_gnu_ld_CXX \
72988 allow_undefined_flag_CXX \
72989 no_undefined_flag_CXX \
72990 hardcode_libdir_flag_spec_CXX \
72991 hardcode_libdir_flag_spec_ld_CXX \
72992 hardcode_libdir_separator_CXX \
72993 fix_srcfile_path_CXX \
72994 exclude_expsyms_CXX \
72995 include_expsyms_CXX \
72996 file_list_spec_CXX \
72997 compiler_lib_search_dirs_CXX \
72998 predep_objects_CXX \
72999 postdep_objects_CXX \
73000 predeps_CXX \
73001 postdeps_CXX \
73002 compiler_lib_search_path_CXX; do
73003 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73004 *[\\\\\\\`\\"\\\$]*)
73005 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73006 ;;
73007 *)
73008 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73009 ;;
73010 esac
73011 done
73012
73013 # Double-quote double-evaled strings.
73014 for var in reload_cmds \
73015 old_postinstall_cmds \
73016 old_postuninstall_cmds \
73017 old_archive_cmds \
73018 extract_expsyms_cmds \
73019 old_archive_from_new_cmds \
73020 old_archive_from_expsyms_cmds \
73021 archive_cmds \
73022 archive_expsym_cmds \
73023 module_cmds \
73024 module_expsym_cmds \
73025 export_symbols_cmds \
73026 prelink_cmds \
73027 postinstall_cmds \
73028 postuninstall_cmds \
73029 finish_cmds \
73030 sys_lib_search_path_spec \
73031 sys_lib_dlsearch_path_spec \
73032 reload_cmds_CXX \
73033 old_archive_cmds_CXX \
73034 old_archive_from_new_cmds_CXX \
73035 old_archive_from_expsyms_cmds_CXX \
73036 archive_cmds_CXX \
73037 archive_expsym_cmds_CXX \
73038 module_cmds_CXX \
73039 module_expsym_cmds_CXX \
73040 export_symbols_cmds_CXX \
73041 prelink_cmds_CXX; do
73042 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73043 *[\\\\\\\`\\"\\\$]*)
73044 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73045 ;;
73046 *)
73047 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73048 ;;
73049 esac
73050 done
73051
73052 ac_aux_dir='$ac_aux_dir'
73053 xsi_shell='$xsi_shell'
73054 lt_shell_append='$lt_shell_append'
73055
73056 # See if we are running on zsh, and set the options which allow our
73057 # commands through without removal of \ escapes INIT.
73058 if test -n "\${ZSH_VERSION+set}" ; then
73059 setopt NO_GLOB_SUBST
73060 fi
73061
73062
73063 PACKAGE='$PACKAGE'
73064 VERSION='$VERSION'
73065 TIMESTAMP='$TIMESTAMP'
73066 RM='$RM'
73067 ofile='$ofile'
73068
73069
73070
73071
73072
73073
73074 GCC="$GCC"
73075 CC="$CC"
73076 acx_cv_header_stdint="$acx_cv_header_stdint"
73077 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73078 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73079 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73080 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73081 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73082 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73083 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73084 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73085 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73086 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73087 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73088 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73089 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73090
73091
73092 _ACEOF
73093
73094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73095
73096 # Handling of arguments.
73097 for ac_config_target in $ac_config_targets
73098 do
73099 case $ac_config_target in
73100 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73101 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73102 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73103 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73104 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73105 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73106 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73107 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73108 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73109 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73110 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73111 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73112 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73113 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73114 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73115 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73116 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73117
73118 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73119 esac
73120 done
73121
73122
73123 # If the user did not use the arguments to specify the items to instantiate,
73124 # then the envvar interface is used. Set only those that are not.
73125 # We use the long form for the default assignment because of an extremely
73126 # bizarre bug on SunOS 4.1.3.
73127 if $ac_need_defaults; then
73128 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73129 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73130 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73131 fi
73132
73133 # Have a temporary directory for convenience. Make it in the build tree
73134 # simply because there is no reason against having it here, and in addition,
73135 # creating and moving files from /tmp can sometimes cause problems.
73136 # Hook for its removal unless debugging.
73137 # Note that there is a small window in which the directory will not be cleaned:
73138 # after its creation but before its name has been assigned to `$tmp'.
73139 $debug ||
73140 {
73141 tmp=
73142 trap 'exit_status=$?
73143 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73144 ' 0
73145 trap 'as_fn_exit 1' 1 2 13 15
73146 }
73147 # Create a (secure) tmp directory for tmp files.
73148
73149 {
73150 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73151 test -n "$tmp" && test -d "$tmp"
73152 } ||
73153 {
73154 tmp=./conf$$-$RANDOM
73155 (umask 077 && mkdir "$tmp")
73156 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73157
73158 # Set up the scripts for CONFIG_FILES section.
73159 # No need to generate them if there are no CONFIG_FILES.
73160 # This happens for instance with `./config.status config.h'.
73161 if test -n "$CONFIG_FILES"; then
73162
73163
73164 ac_cr=`echo X | tr X '\015'`
73165 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73166 # But we know of no other shell where ac_cr would be empty at this
73167 # point, so we can use a bashism as a fallback.
73168 if test "x$ac_cr" = x; then
73169 eval ac_cr=\$\'\\r\'
73170 fi
73171 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73172 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73173 ac_cs_awk_cr='\r'
73174 else
73175 ac_cs_awk_cr=$ac_cr
73176 fi
73177
73178 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73179 _ACEOF
73180
73181
73182 {
73183 echo "cat >conf$$subs.awk <<_ACEOF" &&
73184 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73185 echo "_ACEOF"
73186 } >conf$$subs.sh ||
73187 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73188 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73189 ac_delim='%!_!# '
73190 for ac_last_try in false false false false false :; do
73191 . ./conf$$subs.sh ||
73192 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73193
73194 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73195 if test $ac_delim_n = $ac_delim_num; then
73196 break
73197 elif $ac_last_try; then
73198 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73199 else
73200 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73201 fi
73202 done
73203 rm -f conf$$subs.sh
73204
73205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73206 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73207 _ACEOF
73208 sed -n '
73209 h
73210 s/^/S["/; s/!.*/"]=/
73211 p
73212 g
73213 s/^[^!]*!//
73214 :repl
73215 t repl
73216 s/'"$ac_delim"'$//
73217 t delim
73218 :nl
73219 h
73220 s/\(.\{148\}\).*/\1/
73221 t more1
73222 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73223 p
73224 n
73225 b repl
73226 :more1
73227 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73228 p
73229 g
73230 s/.\{148\}//
73231 t nl
73232 :delim
73233 h
73234 s/\(.\{148\}\).*/\1/
73235 t more2
73236 s/["\\]/\\&/g; s/^/"/; s/$/"/
73237 p
73238 b
73239 :more2
73240 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73241 p
73242 g
73243 s/.\{148\}//
73244 t delim
73245 ' <conf$$subs.awk | sed '
73246 /^[^""]/{
73247 N
73248 s/\n//
73249 }
73250 ' >>$CONFIG_STATUS || ac_write_fail=1
73251 rm -f conf$$subs.awk
73252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73253 _ACAWK
73254 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73255 for (key in S) S_is_set[key] = 1
73256 FS = "\a"
73257
73258 }
73259 {
73260 line = $ 0
73261 nfields = split(line, field, "@")
73262 substed = 0
73263 len = length(field[1])
73264 for (i = 2; i < nfields; i++) {
73265 key = field[i]
73266 keylen = length(key)
73267 if (S_is_set[key]) {
73268 value = S[key]
73269 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73270 len += length(value) + length(field[++i])
73271 substed = 1
73272 } else
73273 len += 1 + keylen
73274 }
73275
73276 print line
73277 }
73278
73279 _ACAWK
73280 _ACEOF
73281 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73282 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73283 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73284 else
73285 cat
73286 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73287 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73288 _ACEOF
73289
73290 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73291 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73292 # trailing colons and then remove the whole line if VPATH becomes empty
73293 # (actually we leave an empty line to preserve line numbers).
73294 if test "x$srcdir" = x.; then
73295 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73296 s/:*\$(srcdir):*/:/
73297 s/:*\${srcdir}:*/:/
73298 s/:*@srcdir@:*/:/
73299 s/^\([^=]*=[ ]*\):*/\1/
73300 s/:*$//
73301 s/^[^=]*=[ ]*$//
73302 }'
73303 fi
73304
73305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73306 fi # test -n "$CONFIG_FILES"
73307
73308 # Set up the scripts for CONFIG_HEADERS section.
73309 # No need to generate them if there are no CONFIG_HEADERS.
73310 # This happens for instance with `./config.status Makefile'.
73311 if test -n "$CONFIG_HEADERS"; then
73312 cat >"$tmp/defines.awk" <<\_ACAWK ||
73313 BEGIN {
73314 _ACEOF
73315
73316 # Transform confdefs.h into an awk script `defines.awk', embedded as
73317 # here-document in config.status, that substitutes the proper values into
73318 # config.h.in to produce config.h.
73319
73320 # Create a delimiter string that does not exist in confdefs.h, to ease
73321 # handling of long lines.
73322 ac_delim='%!_!# '
73323 for ac_last_try in false false :; do
73324 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73325 if test -z "$ac_t"; then
73326 break
73327 elif $ac_last_try; then
73328 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73329 else
73330 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73331 fi
73332 done
73333
73334 # For the awk script, D is an array of macro values keyed by name,
73335 # likewise P contains macro parameters if any. Preserve backslash
73336 # newline sequences.
73337
73338 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73339 sed -n '
73340 s/.\{148\}/&'"$ac_delim"'/g
73341 t rset
73342 :rset
73343 s/^[ ]*#[ ]*define[ ][ ]*/ /
73344 t def
73345 d
73346 :def
73347 s/\\$//
73348 t bsnl
73349 s/["\\]/\\&/g
73350 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73351 D["\1"]=" \3"/p
73352 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73353 d
73354 :bsnl
73355 s/["\\]/\\&/g
73356 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73357 D["\1"]=" \3\\\\\\n"\\/p
73358 t cont
73359 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73360 t cont
73361 d
73362 :cont
73363 n
73364 s/.\{148\}/&'"$ac_delim"'/g
73365 t clear
73366 :clear
73367 s/\\$//
73368 t bsnlc
73369 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73370 d
73371 :bsnlc
73372 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73373 b cont
73374 ' <confdefs.h | sed '
73375 s/'"$ac_delim"'/"\\\
73376 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73377
73378 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73379 for (key in D) D_is_set[key] = 1
73380 FS = "\a"
73381 }
73382 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73383 line = \$ 0
73384 split(line, arg, " ")
73385 if (arg[1] == "#") {
73386 defundef = arg[2]
73387 mac1 = arg[3]
73388 } else {
73389 defundef = substr(arg[1], 2)
73390 mac1 = arg[2]
73391 }
73392 split(mac1, mac2, "(") #)
73393 macro = mac2[1]
73394 prefix = substr(line, 1, index(line, defundef) - 1)
73395 if (D_is_set[macro]) {
73396 # Preserve the white space surrounding the "#".
73397 print prefix "define", macro P[macro] D[macro]
73398 next
73399 } else {
73400 # Replace #undef with comments. This is necessary, for example,
73401 # in the case of _POSIX_SOURCE, which is predefined and required
73402 # on some systems where configure will not decide to define it.
73403 if (defundef == "undef") {
73404 print "/*", prefix defundef, macro, "*/"
73405 next
73406 }
73407 }
73408 }
73409 { print }
73410 _ACAWK
73411 _ACEOF
73412 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73413 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73414 fi # test -n "$CONFIG_HEADERS"
73415
73416
73417 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73418 shift
73419 for ac_tag
73420 do
73421 case $ac_tag in
73422 :[FHLC]) ac_mode=$ac_tag; continue;;
73423 esac
73424 case $ac_mode$ac_tag in
73425 :[FHL]*:*);;
73426 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73427 :[FH]-) ac_tag=-:-;;
73428 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73429 esac
73430 ac_save_IFS=$IFS
73431 IFS=:
73432 set x $ac_tag
73433 IFS=$ac_save_IFS
73434 shift
73435 ac_file=$1
73436 shift
73437
73438 case $ac_mode in
73439 :L) ac_source=$1;;
73440 :[FH])
73441 ac_file_inputs=
73442 for ac_f
73443 do
73444 case $ac_f in
73445 -) ac_f="$tmp/stdin";;
73446 *) # Look for the file first in the build tree, then in the source tree
73447 # (if the path is not absolute). The absolute path cannot be DOS-style,
73448 # because $ac_f cannot contain `:'.
73449 test -f "$ac_f" ||
73450 case $ac_f in
73451 [\\/$]*) false;;
73452 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73453 esac ||
73454 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73455 esac
73456 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73457 as_fn_append ac_file_inputs " '$ac_f'"
73458 done
73459
73460 # Let's still pretend it is `configure' which instantiates (i.e., don't
73461 # use $as_me), people would be surprised to read:
73462 # /* config.h. Generated by config.status. */
73463 configure_input='Generated from '`
73464 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73465 `' by configure.'
73466 if test x"$ac_file" != x-; then
73467 configure_input="$ac_file. $configure_input"
73468 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73469 $as_echo "$as_me: creating $ac_file" >&6;}
73470 fi
73471 # Neutralize special characters interpreted by sed in replacement strings.
73472 case $configure_input in #(
73473 *\&* | *\|* | *\\* )
73474 ac_sed_conf_input=`$as_echo "$configure_input" |
73475 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73476 *) ac_sed_conf_input=$configure_input;;
73477 esac
73478
73479 case $ac_tag in
73480 *:-:* | *:-) cat >"$tmp/stdin" \
73481 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73482 esac
73483 ;;
73484 esac
73485
73486 ac_dir=`$as_dirname -- "$ac_file" ||
73487 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73488 X"$ac_file" : 'X\(//\)[^/]' \| \
73489 X"$ac_file" : 'X\(//\)$' \| \
73490 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73491 $as_echo X"$ac_file" |
73492 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73493 s//\1/
73494 q
73495 }
73496 /^X\(\/\/\)[^/].*/{
73497 s//\1/
73498 q
73499 }
73500 /^X\(\/\/\)$/{
73501 s//\1/
73502 q
73503 }
73504 /^X\(\/\).*/{
73505 s//\1/
73506 q
73507 }
73508 s/.*/./; q'`
73509 as_dir="$ac_dir"; as_fn_mkdir_p
73510 ac_builddir=.
73511
73512 case "$ac_dir" in
73513 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73514 *)
73515 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73516 # A ".." for each directory in $ac_dir_suffix.
73517 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73518 case $ac_top_builddir_sub in
73519 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73520 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73521 esac ;;
73522 esac
73523 ac_abs_top_builddir=$ac_pwd
73524 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73525 # for backward compatibility:
73526 ac_top_builddir=$ac_top_build_prefix
73527
73528 case $srcdir in
73529 .) # We are building in place.
73530 ac_srcdir=.
73531 ac_top_srcdir=$ac_top_builddir_sub
73532 ac_abs_top_srcdir=$ac_pwd ;;
73533 [\\/]* | ?:[\\/]* ) # Absolute name.
73534 ac_srcdir=$srcdir$ac_dir_suffix;
73535 ac_top_srcdir=$srcdir
73536 ac_abs_top_srcdir=$srcdir ;;
73537 *) # Relative name.
73538 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73539 ac_top_srcdir=$ac_top_build_prefix$srcdir
73540 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73541 esac
73542 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73543
73544
73545 case $ac_mode in
73546 :F)
73547 #
73548 # CONFIG_FILE
73549 #
73550
73551 case $INSTALL in
73552 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73553 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73554 esac
73555 ac_MKDIR_P=$MKDIR_P
73556 case $MKDIR_P in
73557 [\\/$]* | ?:[\\/]* ) ;;
73558 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73559 esac
73560 _ACEOF
73561
73562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73563 # If the template does not know about datarootdir, expand it.
73564 # FIXME: This hack should be removed a few years after 2.60.
73565 ac_datarootdir_hack=; ac_datarootdir_seen=
73566 ac_sed_dataroot='
73567 /datarootdir/ {
73568 p
73569 q
73570 }
73571 /@datadir@/p
73572 /@docdir@/p
73573 /@infodir@/p
73574 /@localedir@/p
73575 /@mandir@/p'
73576 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73577 *datarootdir*) ac_datarootdir_seen=yes;;
73578 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73580 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73581 _ACEOF
73582 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73583 ac_datarootdir_hack='
73584 s&@datadir@&$datadir&g
73585 s&@docdir@&$docdir&g
73586 s&@infodir@&$infodir&g
73587 s&@localedir@&$localedir&g
73588 s&@mandir@&$mandir&g
73589 s&\\\${datarootdir}&$datarootdir&g' ;;
73590 esac
73591 _ACEOF
73592
73593 # Neutralize VPATH when `$srcdir' = `.'.
73594 # Shell code in configure.ac might set extrasub.
73595 # FIXME: do we really want to maintain this feature?
73596 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73597 ac_sed_extra="$ac_vpsub
73598 $extrasub
73599 _ACEOF
73600 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73601 :t
73602 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73603 s|@configure_input@|$ac_sed_conf_input|;t t
73604 s&@top_builddir@&$ac_top_builddir_sub&;t t
73605 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73606 s&@srcdir@&$ac_srcdir&;t t
73607 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73608 s&@top_srcdir@&$ac_top_srcdir&;t t
73609 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73610 s&@builddir@&$ac_builddir&;t t
73611 s&@abs_builddir@&$ac_abs_builddir&;t t
73612 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73613 s&@INSTALL@&$ac_INSTALL&;t t
73614 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73615 $ac_datarootdir_hack
73616 "
73617 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73618 || as_fn_error "could not create $ac_file" "$LINENO" 5
73619
73620 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73621 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73622 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73624 which seems to be undefined. Please make sure it is defined." >&5
73625 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73626 which seems to be undefined. Please make sure it is defined." >&2;}
73627
73628 rm -f "$tmp/stdin"
73629 case $ac_file in
73630 -) cat "$tmp/out" && rm -f "$tmp/out";;
73631 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73632 esac \
73633 || as_fn_error "could not create $ac_file" "$LINENO" 5
73634 ;;
73635 :H)
73636 #
73637 # CONFIG_HEADER
73638 #
73639 if test x"$ac_file" != x-; then
73640 {
73641 $as_echo "/* $configure_input */" \
73642 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73643 } >"$tmp/config.h" \
73644 || as_fn_error "could not create $ac_file" "$LINENO" 5
73645 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73646 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73647 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73648 else
73649 rm -f "$ac_file"
73650 mv "$tmp/config.h" "$ac_file" \
73651 || as_fn_error "could not create $ac_file" "$LINENO" 5
73652 fi
73653 else
73654 $as_echo "/* $configure_input */" \
73655 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73656 || as_fn_error "could not create -" "$LINENO" 5
73657 fi
73658 # Compute "$ac_file"'s index in $config_headers.
73659 _am_arg="$ac_file"
73660 _am_stamp_count=1
73661 for _am_header in $config_headers :; do
73662 case $_am_header in
73663 $_am_arg | $_am_arg:* )
73664 break ;;
73665 * )
73666 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73667 esac
73668 done
73669 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73670 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73671 X"$_am_arg" : 'X\(//\)[^/]' \| \
73672 X"$_am_arg" : 'X\(//\)$' \| \
73673 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73674 $as_echo X"$_am_arg" |
73675 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73676 s//\1/
73677 q
73678 }
73679 /^X\(\/\/\)[^/].*/{
73680 s//\1/
73681 q
73682 }
73683 /^X\(\/\/\)$/{
73684 s//\1/
73685 q
73686 }
73687 /^X\(\/\).*/{
73688 s//\1/
73689 q
73690 }
73691 s/.*/./; q'`/stamp-h$_am_stamp_count
73692 ;;
73693
73694 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73695 $as_echo "$as_me: executing $ac_file commands" >&6;}
73696 ;;
73697 esac
73698
73699
73700 case $ac_file$ac_mode in
73701 "default-1":C)
73702 # Only add multilib support code if we just rebuilt the top-level
73703 # Makefile.
73704 case " $CONFIG_FILES " in
73705 *" Makefile "*)
73706 ac_file=Makefile . ${multi_basedir}/config-ml.in
73707 ;;
73708 esac ;;
73709 "libtool":C)
73710
73711 # See if we are running on zsh, and set the options which allow our
73712 # commands through without removal of \ escapes.
73713 if test -n "${ZSH_VERSION+set}" ; then
73714 setopt NO_GLOB_SUBST
73715 fi
73716
73717 cfgfile="${ofile}T"
73718 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73719 $RM "$cfgfile"
73720
73721 cat <<_LT_EOF >> "$cfgfile"
73722 #! $SHELL
73723
73724 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73725 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73726 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73727 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73728 #
73729 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73730 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73731 # Written by Gordon Matzigkeit, 1996
73732 #
73733 # This file is part of GNU Libtool.
73734 #
73735 # GNU Libtool is free software; you can redistribute it and/or
73736 # modify it under the terms of the GNU General Public License as
73737 # published by the Free Software Foundation; either version 2 of
73738 # the License, or (at your option) any later version.
73739 #
73740 # As a special exception to the GNU General Public License,
73741 # if you distribute this file as part of a program or library that
73742 # is built using GNU Libtool, you may include this file under the
73743 # same distribution terms that you use for the rest of that program.
73744 #
73745 # GNU Libtool is distributed in the hope that it will be useful,
73746 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73747 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73748 # GNU General Public License for more details.
73749 #
73750 # You should have received a copy of the GNU General Public License
73751 # along with GNU Libtool; see the file COPYING. If not, a copy
73752 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73753 # obtained by writing to the Free Software Foundation, Inc.,
73754 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73755
73756
73757 # The names of the tagged configurations supported by this script.
73758 available_tags="CXX "
73759
73760 # ### BEGIN LIBTOOL CONFIG
73761
73762 # Which release of libtool.m4 was used?
73763 macro_version=$macro_version
73764 macro_revision=$macro_revision
73765
73766 # Whether or not to build shared libraries.
73767 build_libtool_libs=$enable_shared
73768
73769 # Whether or not to build static libraries.
73770 build_old_libs=$enable_static
73771
73772 # What type of objects to build.
73773 pic_mode=$pic_mode
73774
73775 # Whether or not to optimize for fast installation.
73776 fast_install=$enable_fast_install
73777
73778 # Shell to use when invoking shell scripts.
73779 SHELL=$lt_SHELL
73780
73781 # An echo program that protects backslashes.
73782 ECHO=$lt_ECHO
73783
73784 # The host system.
73785 host_alias=$host_alias
73786 host=$host
73787 host_os=$host_os
73788
73789 # The build system.
73790 build_alias=$build_alias
73791 build=$build
73792 build_os=$build_os
73793
73794 # A sed program that does not truncate output.
73795 SED=$lt_SED
73796
73797 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73798 Xsed="\$SED -e 1s/^X//"
73799
73800 # A grep program that handles long lines.
73801 GREP=$lt_GREP
73802
73803 # An ERE matcher.
73804 EGREP=$lt_EGREP
73805
73806 # A literal string matcher.
73807 FGREP=$lt_FGREP
73808
73809 # A BSD- or MS-compatible name lister.
73810 NM=$lt_NM
73811
73812 # Whether we need soft or hard links.
73813 LN_S=$lt_LN_S
73814
73815 # What is the maximum length of a command?
73816 max_cmd_len=$max_cmd_len
73817
73818 # Object file suffix (normally "o").
73819 objext=$ac_objext
73820
73821 # Executable file suffix (normally "").
73822 exeext=$exeext
73823
73824 # whether the shell understands "unset".
73825 lt_unset=$lt_unset
73826
73827 # turn spaces into newlines.
73828 SP2NL=$lt_lt_SP2NL
73829
73830 # turn newlines into spaces.
73831 NL2SP=$lt_lt_NL2SP
73832
73833 # An object symbol dumper.
73834 OBJDUMP=$lt_OBJDUMP
73835
73836 # Method to check whether dependent libraries are shared objects.
73837 deplibs_check_method=$lt_deplibs_check_method
73838
73839 # Command to use when deplibs_check_method == "file_magic".
73840 file_magic_cmd=$lt_file_magic_cmd
73841
73842 # The archiver.
73843 AR=$lt_AR
73844 AR_FLAGS=$lt_AR_FLAGS
73845
73846 # A symbol stripping program.
73847 STRIP=$lt_STRIP
73848
73849 # Commands used to install an old-style archive.
73850 RANLIB=$lt_RANLIB
73851 old_postinstall_cmds=$lt_old_postinstall_cmds
73852 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73853
73854 # Whether to use a lock for old archive extraction.
73855 lock_old_archive_extraction=$lock_old_archive_extraction
73856
73857 # A C compiler.
73858 LTCC=$lt_CC
73859
73860 # LTCC compiler flags.
73861 LTCFLAGS=$lt_CFLAGS
73862
73863 # Take the output of nm and produce a listing of raw symbols and C names.
73864 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
73865
73866 # Transform the output of nm in a proper C declaration.
73867 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
73868
73869 # Transform the output of nm in a C name address pair.
73870 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
73871
73872 # Transform the output of nm in a C name address pair when lib prefix is needed.
73873 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
73874
73875 # The name of the directory that contains temporary libtool files.
73876 objdir=$objdir
73877
73878 # Used to examine libraries when file_magic_cmd begins with "file".
73879 MAGIC_CMD=$MAGIC_CMD
73880
73881 # Must we lock files when doing compilation?
73882 need_locks=$lt_need_locks
73883
73884 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
73885 DSYMUTIL=$lt_DSYMUTIL
73886
73887 # Tool to change global to local symbols on Mac OS X.
73888 NMEDIT=$lt_NMEDIT
73889
73890 # Tool to manipulate fat objects and archives on Mac OS X.
73891 LIPO=$lt_LIPO
73892
73893 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
73894 OTOOL=$lt_OTOOL
73895
73896 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
73897 OTOOL64=$lt_OTOOL64
73898
73899 # Old archive suffix (normally "a").
73900 libext=$libext
73901
73902 # Shared library suffix (normally ".so").
73903 shrext_cmds=$lt_shrext_cmds
73904
73905 # The commands to extract the exported symbol list from a shared archive.
73906 extract_expsyms_cmds=$lt_extract_expsyms_cmds
73907
73908 # Variables whose values should be saved in libtool wrapper scripts and
73909 # restored at link time.
73910 variables_saved_for_relink=$lt_variables_saved_for_relink
73911
73912 # Do we need the "lib" prefix for modules?
73913 need_lib_prefix=$need_lib_prefix
73914
73915 # Do we need a version for libraries?
73916 need_version=$need_version
73917
73918 # Library versioning type.
73919 version_type=$version_type
73920
73921 # Shared library runtime path variable.
73922 runpath_var=$runpath_var
73923
73924 # Shared library path variable.
73925 shlibpath_var=$shlibpath_var
73926
73927 # Is shlibpath searched before the hard-coded library search path?
73928 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
73929
73930 # Format of library name prefix.
73931 libname_spec=$lt_libname_spec
73932
73933 # List of archive names. First name is the real one, the rest are links.
73934 # The last name is the one that the linker finds with -lNAME
73935 library_names_spec=$lt_library_names_spec
73936
73937 # The coded name of the library, if different from the real name.
73938 soname_spec=$lt_soname_spec
73939
73940 # Permission mode override for installation of shared libraries.
73941 install_override_mode=$lt_install_override_mode
73942
73943 # Command to use after installation of a shared archive.
73944 postinstall_cmds=$lt_postinstall_cmds
73945
73946 # Command to use after uninstallation of a shared archive.
73947 postuninstall_cmds=$lt_postuninstall_cmds
73948
73949 # Commands used to finish a libtool library installation in a directory.
73950 finish_cmds=$lt_finish_cmds
73951
73952 # As "finish_cmds", except a single script fragment to be evaled but
73953 # not shown.
73954 finish_eval=$lt_finish_eval
73955
73956 # Whether we should hardcode library paths into libraries.
73957 hardcode_into_libs=$hardcode_into_libs
73958
73959 # Compile-time system search path for libraries.
73960 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
73961
73962 # Run-time system search path for libraries.
73963 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
73964
73965 # Whether dlopen is supported.
73966 dlopen_support=$enable_dlopen
73967
73968 # Whether dlopen of programs is supported.
73969 dlopen_self=$enable_dlopen_self
73970
73971 # Whether dlopen of statically linked programs is supported.
73972 dlopen_self_static=$enable_dlopen_self_static
73973
73974 # Commands to strip libraries.
73975 old_striplib=$lt_old_striplib
73976 striplib=$lt_striplib
73977
73978
73979 # The linker used to build libraries.
73980 LD=$lt_LD
73981
73982 # How to create reloadable object files.
73983 reload_flag=$lt_reload_flag
73984 reload_cmds=$lt_reload_cmds
73985
73986 # Commands used to build an old-style archive.
73987 old_archive_cmds=$lt_old_archive_cmds
73988
73989 # A language specific compiler.
73990 CC=$lt_compiler
73991
73992 # Is the compiler the GNU compiler?
73993 with_gcc=$GCC
73994
73995 # Compiler flag to turn off builtin functions.
73996 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
73997
73998 # How to pass a linker flag through the compiler.
73999 wl=$lt_lt_prog_compiler_wl
74000
74001 # Additional compiler flags for building library objects.
74002 pic_flag=$lt_lt_prog_compiler_pic
74003
74004 # Compiler flag to prevent dynamic linking.
74005 link_static_flag=$lt_lt_prog_compiler_static
74006
74007 # Does compiler simultaneously support -c and -o options?
74008 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74009
74010 # Whether or not to add -lc for building shared libraries.
74011 build_libtool_need_lc=$archive_cmds_need_lc
74012
74013 # Whether or not to disallow shared libs when runtime libs are static.
74014 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74015
74016 # Compiler flag to allow reflexive dlopens.
74017 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74018
74019 # Compiler flag to generate shared objects directly from archives.
74020 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74021
74022 # Whether the compiler copes with passing no objects directly.
74023 compiler_needs_object=$lt_compiler_needs_object
74024
74025 # Create an old-style archive from a shared archive.
74026 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74027
74028 # Create a temporary old-style archive to link instead of a shared archive.
74029 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74030
74031 # Commands used to build a shared archive.
74032 archive_cmds=$lt_archive_cmds
74033 archive_expsym_cmds=$lt_archive_expsym_cmds
74034
74035 # Commands used to build a loadable module if different from building
74036 # a shared archive.
74037 module_cmds=$lt_module_cmds
74038 module_expsym_cmds=$lt_module_expsym_cmds
74039
74040 # Whether we are building with GNU ld or not.
74041 with_gnu_ld=$lt_with_gnu_ld
74042
74043 # Flag that allows shared libraries with undefined symbols to be built.
74044 allow_undefined_flag=$lt_allow_undefined_flag
74045
74046 # Flag that enforces no undefined symbols.
74047 no_undefined_flag=$lt_no_undefined_flag
74048
74049 # Flag to hardcode \$libdir into a binary during linking.
74050 # This must work even if \$libdir does not exist
74051 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74052
74053 # If ld is used when linking, flag to hardcode \$libdir into a binary
74054 # during linking. This must work even if \$libdir does not exist.
74055 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74056
74057 # Whether we need a single "-rpath" flag with a separated argument.
74058 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74059
74060 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74061 # DIR into the resulting binary.
74062 hardcode_direct=$hardcode_direct
74063
74064 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74065 # DIR into the resulting binary and the resulting library dependency is
74066 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74067 # library is relocated.
74068 hardcode_direct_absolute=$hardcode_direct_absolute
74069
74070 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74071 # into the resulting binary.
74072 hardcode_minus_L=$hardcode_minus_L
74073
74074 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74075 # into the resulting binary.
74076 hardcode_shlibpath_var=$hardcode_shlibpath_var
74077
74078 # Set to "yes" if building a shared library automatically hardcodes DIR
74079 # into the library and all subsequent libraries and executables linked
74080 # against it.
74081 hardcode_automatic=$hardcode_automatic
74082
74083 # Set to yes if linker adds runtime paths of dependent libraries
74084 # to runtime path list.
74085 inherit_rpath=$inherit_rpath
74086
74087 # Whether libtool must link a program against all its dependency libraries.
74088 link_all_deplibs=$link_all_deplibs
74089
74090 # Fix the shell variable \$srcfile for the compiler.
74091 fix_srcfile_path=$lt_fix_srcfile_path
74092
74093 # Set to "yes" if exported symbols are required.
74094 always_export_symbols=$always_export_symbols
74095
74096 # The commands to list exported symbols.
74097 export_symbols_cmds=$lt_export_symbols_cmds
74098
74099 # Symbols that should not be listed in the preloaded symbols.
74100 exclude_expsyms=$lt_exclude_expsyms
74101
74102 # Symbols that must always be exported.
74103 include_expsyms=$lt_include_expsyms
74104
74105 # Commands necessary for linking programs (against libraries) with templates.
74106 prelink_cmds=$lt_prelink_cmds
74107
74108 # Specify filename containing input files.
74109 file_list_spec=$lt_file_list_spec
74110
74111 # How to hardcode a shared library path into an executable.
74112 hardcode_action=$hardcode_action
74113
74114 # The directories searched by this compiler when creating a shared library.
74115 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74116
74117 # Dependencies to place before and after the objects being linked to
74118 # create a shared library.
74119 predep_objects=$lt_predep_objects
74120 postdep_objects=$lt_postdep_objects
74121 predeps=$lt_predeps
74122 postdeps=$lt_postdeps
74123
74124 # The library search path used internally by the compiler when linking
74125 # a shared library.
74126 compiler_lib_search_path=$lt_compiler_lib_search_path
74127
74128 # ### END LIBTOOL CONFIG
74129
74130 _LT_EOF
74131
74132 case $host_os in
74133 aix3*)
74134 cat <<\_LT_EOF >> "$cfgfile"
74135 # AIX sometimes has problems with the GCC collect2 program. For some
74136 # reason, if we set the COLLECT_NAMES environment variable, the problems
74137 # vanish in a puff of smoke.
74138 if test "X${COLLECT_NAMES+set}" != Xset; then
74139 COLLECT_NAMES=
74140 export COLLECT_NAMES
74141 fi
74142 _LT_EOF
74143 ;;
74144 esac
74145
74146
74147 ltmain="$ac_aux_dir/ltmain.sh"
74148
74149
74150 # We use sed instead of cat because bash on DJGPP gets confused if
74151 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74152 # text mode, it properly converts lines to CR/LF. This bash problem
74153 # is reportedly fixed, but why not run on old versions too?
74154 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74155 || (rm -f "$cfgfile"; exit 1)
74156
74157 case $xsi_shell in
74158 yes)
74159 cat << \_LT_EOF >> "$cfgfile"
74160
74161 # func_dirname file append nondir_replacement
74162 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74163 # otherwise set result to NONDIR_REPLACEMENT.
74164 func_dirname ()
74165 {
74166 case ${1} in
74167 */*) func_dirname_result="${1%/*}${2}" ;;
74168 * ) func_dirname_result="${3}" ;;
74169 esac
74170 }
74171
74172 # func_basename file
74173 func_basename ()
74174 {
74175 func_basename_result="${1##*/}"
74176 }
74177
74178 # func_dirname_and_basename file append nondir_replacement
74179 # perform func_basename and func_dirname in a single function
74180 # call:
74181 # dirname: Compute the dirname of FILE. If nonempty,
74182 # add APPEND to the result, otherwise set result
74183 # to NONDIR_REPLACEMENT.
74184 # value returned in "$func_dirname_result"
74185 # basename: Compute filename of FILE.
74186 # value retuned in "$func_basename_result"
74187 # Implementation must be kept synchronized with func_dirname
74188 # and func_basename. For efficiency, we do not delegate to
74189 # those functions but instead duplicate the functionality here.
74190 func_dirname_and_basename ()
74191 {
74192 case ${1} in
74193 */*) func_dirname_result="${1%/*}${2}" ;;
74194 * ) func_dirname_result="${3}" ;;
74195 esac
74196 func_basename_result="${1##*/}"
74197 }
74198
74199 # func_stripname prefix suffix name
74200 # strip PREFIX and SUFFIX off of NAME.
74201 # PREFIX and SUFFIX must not contain globbing or regex special
74202 # characters, hashes, percent signs, but SUFFIX may contain a leading
74203 # dot (in which case that matches only a dot).
74204 func_stripname ()
74205 {
74206 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74207 # positional parameters, so assign one to ordinary parameter first.
74208 func_stripname_result=${3}
74209 func_stripname_result=${func_stripname_result#"${1}"}
74210 func_stripname_result=${func_stripname_result%"${2}"}
74211 }
74212
74213 # func_opt_split
74214 func_opt_split ()
74215 {
74216 func_opt_split_opt=${1%%=*}
74217 func_opt_split_arg=${1#*=}
74218 }
74219
74220 # func_lo2o object
74221 func_lo2o ()
74222 {
74223 case ${1} in
74224 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74225 *) func_lo2o_result=${1} ;;
74226 esac
74227 }
74228
74229 # func_xform libobj-or-source
74230 func_xform ()
74231 {
74232 func_xform_result=${1%.*}.lo
74233 }
74234
74235 # func_arith arithmetic-term...
74236 func_arith ()
74237 {
74238 func_arith_result=$(( $* ))
74239 }
74240
74241 # func_len string
74242 # STRING may not start with a hyphen.
74243 func_len ()
74244 {
74245 func_len_result=${#1}
74246 }
74247
74248 _LT_EOF
74249 ;;
74250 *) # Bourne compatible functions.
74251 cat << \_LT_EOF >> "$cfgfile"
74252
74253 # func_dirname file append nondir_replacement
74254 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74255 # otherwise set result to NONDIR_REPLACEMENT.
74256 func_dirname ()
74257 {
74258 # Extract subdirectory from the argument.
74259 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74260 if test "X$func_dirname_result" = "X${1}"; then
74261 func_dirname_result="${3}"
74262 else
74263 func_dirname_result="$func_dirname_result${2}"
74264 fi
74265 }
74266
74267 # func_basename file
74268 func_basename ()
74269 {
74270 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74271 }
74272
74273
74274 # func_stripname prefix suffix name
74275 # strip PREFIX and SUFFIX off of NAME.
74276 # PREFIX and SUFFIX must not contain globbing or regex special
74277 # characters, hashes, percent signs, but SUFFIX may contain a leading
74278 # dot (in which case that matches only a dot).
74279 # func_strip_suffix prefix name
74280 func_stripname ()
74281 {
74282 case ${2} in
74283 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74284 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74285 esac
74286 }
74287
74288 # sed scripts:
74289 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74290 my_sed_long_arg='1s/^-[^=]*=//'
74291
74292 # func_opt_split
74293 func_opt_split ()
74294 {
74295 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74296 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74297 }
74298
74299 # func_lo2o object
74300 func_lo2o ()
74301 {
74302 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74303 }
74304
74305 # func_xform libobj-or-source
74306 func_xform ()
74307 {
74308 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74309 }
74310
74311 # func_arith arithmetic-term...
74312 func_arith ()
74313 {
74314 func_arith_result=`expr "$@"`
74315 }
74316
74317 # func_len string
74318 # STRING may not start with a hyphen.
74319 func_len ()
74320 {
74321 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74322 }
74323
74324 _LT_EOF
74325 esac
74326
74327 case $lt_shell_append in
74328 yes)
74329 cat << \_LT_EOF >> "$cfgfile"
74330
74331 # func_append var value
74332 # Append VALUE to the end of shell variable VAR.
74333 func_append ()
74334 {
74335 eval "$1+=\$2"
74336 }
74337 _LT_EOF
74338 ;;
74339 *)
74340 cat << \_LT_EOF >> "$cfgfile"
74341
74342 # func_append var value
74343 # Append VALUE to the end of shell variable VAR.
74344 func_append ()
74345 {
74346 eval "$1=\$$1\$2"
74347 }
74348
74349 _LT_EOF
74350 ;;
74351 esac
74352
74353
74354 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74355 || (rm -f "$cfgfile"; exit 1)
74356
74357 mv -f "$cfgfile" "$ofile" ||
74358 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74359 chmod +x "$ofile"
74360
74361
74362 cat <<_LT_EOF >> "$ofile"
74363
74364 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74365
74366 # The linker used to build libraries.
74367 LD=$lt_LD_CXX
74368
74369 # How to create reloadable object files.
74370 reload_flag=$lt_reload_flag_CXX
74371 reload_cmds=$lt_reload_cmds_CXX
74372
74373 # Commands used to build an old-style archive.
74374 old_archive_cmds=$lt_old_archive_cmds_CXX
74375
74376 # A language specific compiler.
74377 CC=$lt_compiler_CXX
74378
74379 # Is the compiler the GNU compiler?
74380 with_gcc=$GCC_CXX
74381
74382 # Compiler flag to turn off builtin functions.
74383 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74384
74385 # How to pass a linker flag through the compiler.
74386 wl=$lt_lt_prog_compiler_wl_CXX
74387
74388 # Additional compiler flags for building library objects.
74389 pic_flag=$lt_lt_prog_compiler_pic_CXX
74390
74391 # Compiler flag to prevent dynamic linking.
74392 link_static_flag=$lt_lt_prog_compiler_static_CXX
74393
74394 # Does compiler simultaneously support -c and -o options?
74395 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74396
74397 # Whether or not to add -lc for building shared libraries.
74398 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74399
74400 # Whether or not to disallow shared libs when runtime libs are static.
74401 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74402
74403 # Compiler flag to allow reflexive dlopens.
74404 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74405
74406 # Compiler flag to generate shared objects directly from archives.
74407 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74408
74409 # Whether the compiler copes with passing no objects directly.
74410 compiler_needs_object=$lt_compiler_needs_object_CXX
74411
74412 # Create an old-style archive from a shared archive.
74413 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74414
74415 # Create a temporary old-style archive to link instead of a shared archive.
74416 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74417
74418 # Commands used to build a shared archive.
74419 archive_cmds=$lt_archive_cmds_CXX
74420 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74421
74422 # Commands used to build a loadable module if different from building
74423 # a shared archive.
74424 module_cmds=$lt_module_cmds_CXX
74425 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74426
74427 # Whether we are building with GNU ld or not.
74428 with_gnu_ld=$lt_with_gnu_ld_CXX
74429
74430 # Flag that allows shared libraries with undefined symbols to be built.
74431 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74432
74433 # Flag that enforces no undefined symbols.
74434 no_undefined_flag=$lt_no_undefined_flag_CXX
74435
74436 # Flag to hardcode \$libdir into a binary during linking.
74437 # This must work even if \$libdir does not exist
74438 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74439
74440 # If ld is used when linking, flag to hardcode \$libdir into a binary
74441 # during linking. This must work even if \$libdir does not exist.
74442 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74443
74444 # Whether we need a single "-rpath" flag with a separated argument.
74445 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74446
74447 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74448 # DIR into the resulting binary.
74449 hardcode_direct=$hardcode_direct_CXX
74450
74451 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74452 # DIR into the resulting binary and the resulting library dependency is
74453 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74454 # library is relocated.
74455 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74456
74457 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74458 # into the resulting binary.
74459 hardcode_minus_L=$hardcode_minus_L_CXX
74460
74461 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74462 # into the resulting binary.
74463 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74464
74465 # Set to "yes" if building a shared library automatically hardcodes DIR
74466 # into the library and all subsequent libraries and executables linked
74467 # against it.
74468 hardcode_automatic=$hardcode_automatic_CXX
74469
74470 # Set to yes if linker adds runtime paths of dependent libraries
74471 # to runtime path list.
74472 inherit_rpath=$inherit_rpath_CXX
74473
74474 # Whether libtool must link a program against all its dependency libraries.
74475 link_all_deplibs=$link_all_deplibs_CXX
74476
74477 # Fix the shell variable \$srcfile for the compiler.
74478 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74479
74480 # Set to "yes" if exported symbols are required.
74481 always_export_symbols=$always_export_symbols_CXX
74482
74483 # The commands to list exported symbols.
74484 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74485
74486 # Symbols that should not be listed in the preloaded symbols.
74487 exclude_expsyms=$lt_exclude_expsyms_CXX
74488
74489 # Symbols that must always be exported.
74490 include_expsyms=$lt_include_expsyms_CXX
74491
74492 # Commands necessary for linking programs (against libraries) with templates.
74493 prelink_cmds=$lt_prelink_cmds_CXX
74494
74495 # Specify filename containing input files.
74496 file_list_spec=$lt_file_list_spec_CXX
74497
74498 # How to hardcode a shared library path into an executable.
74499 hardcode_action=$hardcode_action_CXX
74500
74501 # The directories searched by this compiler when creating a shared library.
74502 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74503
74504 # Dependencies to place before and after the objects being linked to
74505 # create a shared library.
74506 predep_objects=$lt_predep_objects_CXX
74507 postdep_objects=$lt_postdep_objects_CXX
74508 predeps=$lt_predeps_CXX
74509 postdeps=$lt_postdeps_CXX
74510
74511 # The library search path used internally by the compiler when linking
74512 # a shared library.
74513 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74514
74515 # ### END LIBTOOL TAG CONFIG: CXX
74516 _LT_EOF
74517
74518 ;;
74519 "include/gstdint.h":C)
74520 if test "$GCC" = yes; then
74521 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74522 else
74523 echo "/* generated for $CC */" > tmp-stdint.h
74524 fi
74525
74526 sed 's/^ *//' >> tmp-stdint.h <<EOF
74527
74528 #ifndef GCC_GENERATED_STDINT_H
74529 #define GCC_GENERATED_STDINT_H 1
74530
74531 #include <sys/types.h>
74532 EOF
74533
74534 if test "$acx_cv_header_stdint" != stdint.h; then
74535 echo "#include <stddef.h>" >> tmp-stdint.h
74536 fi
74537 if test "$acx_cv_header_stdint" != stddef.h; then
74538 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74539 fi
74540
74541 sed 's/^ *//' >> tmp-stdint.h <<EOF
74542 /* glibc uses these symbols as guards to prevent redefinitions. */
74543 #ifdef __int8_t_defined
74544 #define _INT8_T
74545 #define _INT16_T
74546 #define _INT32_T
74547 #endif
74548 #ifdef __uint32_t_defined
74549 #define _UINT32_T
74550 #endif
74551
74552 EOF
74553
74554 # ----------------- done header, emit basic int types -------------
74555 if test "$acx_cv_header_stdint" = stddef.h; then
74556 sed 's/^ *//' >> tmp-stdint.h <<EOF
74557
74558 #ifndef _UINT8_T
74559 #define _UINT8_T
74560 #ifndef __uint8_t_defined
74561 #define __uint8_t_defined
74562 #ifndef uint8_t
74563 typedef unsigned $acx_cv_type_int8_t uint8_t;
74564 #endif
74565 #endif
74566 #endif
74567
74568 #ifndef _UINT16_T
74569 #define _UINT16_T
74570 #ifndef __uint16_t_defined
74571 #define __uint16_t_defined
74572 #ifndef uint16_t
74573 typedef unsigned $acx_cv_type_int16_t uint16_t;
74574 #endif
74575 #endif
74576 #endif
74577
74578 #ifndef _UINT32_T
74579 #define _UINT32_T
74580 #ifndef __uint32_t_defined
74581 #define __uint32_t_defined
74582 #ifndef uint32_t
74583 typedef unsigned $acx_cv_type_int32_t uint32_t;
74584 #endif
74585 #endif
74586 #endif
74587
74588 #ifndef _INT8_T
74589 #define _INT8_T
74590 #ifndef __int8_t_defined
74591 #define __int8_t_defined
74592 #ifndef int8_t
74593 typedef $acx_cv_type_int8_t int8_t;
74594 #endif
74595 #endif
74596 #endif
74597
74598 #ifndef _INT16_T
74599 #define _INT16_T
74600 #ifndef __int16_t_defined
74601 #define __int16_t_defined
74602 #ifndef int16_t
74603 typedef $acx_cv_type_int16_t int16_t;
74604 #endif
74605 #endif
74606 #endif
74607
74608 #ifndef _INT32_T
74609 #define _INT32_T
74610 #ifndef __int32_t_defined
74611 #define __int32_t_defined
74612 #ifndef int32_t
74613 typedef $acx_cv_type_int32_t int32_t;
74614 #endif
74615 #endif
74616 #endif
74617 EOF
74618 elif test "$ac_cv_type_u_int32_t" = yes; then
74619 sed 's/^ *//' >> tmp-stdint.h <<EOF
74620
74621 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74622 #ifndef _INT8_T
74623 #define _INT8_T
74624 #endif
74625 #ifndef _INT16_T
74626 #define _INT16_T
74627 #endif
74628 #ifndef _INT32_T
74629 #define _INT32_T
74630 #endif
74631
74632 #ifndef _UINT8_T
74633 #define _UINT8_T
74634 #ifndef __uint8_t_defined
74635 #define __uint8_t_defined
74636 #ifndef uint8_t
74637 typedef u_int8_t uint8_t;
74638 #endif
74639 #endif
74640 #endif
74641
74642 #ifndef _UINT16_T
74643 #define _UINT16_T
74644 #ifndef __uint16_t_defined
74645 #define __uint16_t_defined
74646 #ifndef uint16_t
74647 typedef u_int16_t uint16_t;
74648 #endif
74649 #endif
74650 #endif
74651
74652 #ifndef _UINT32_T
74653 #define _UINT32_T
74654 #ifndef __uint32_t_defined
74655 #define __uint32_t_defined
74656 #ifndef uint32_t
74657 typedef u_int32_t uint32_t;
74658 #endif
74659 #endif
74660 #endif
74661 EOF
74662 else
74663 sed 's/^ *//' >> tmp-stdint.h <<EOF
74664
74665 /* Some systems have guard macros to prevent redefinitions, define them. */
74666 #ifndef _INT8_T
74667 #define _INT8_T
74668 #endif
74669 #ifndef _INT16_T
74670 #define _INT16_T
74671 #endif
74672 #ifndef _INT32_T
74673 #define _INT32_T
74674 #endif
74675 #ifndef _UINT8_T
74676 #define _UINT8_T
74677 #endif
74678 #ifndef _UINT16_T
74679 #define _UINT16_T
74680 #endif
74681 #ifndef _UINT32_T
74682 #define _UINT32_T
74683 #endif
74684 EOF
74685 fi
74686
74687 # ------------- done basic int types, emit int64_t types ------------
74688 if test "$ac_cv_type_uint64_t" = yes; then
74689 sed 's/^ *//' >> tmp-stdint.h <<EOF
74690
74691 /* system headers have good uint64_t and int64_t */
74692 #ifndef _INT64_T
74693 #define _INT64_T
74694 #endif
74695 #ifndef _UINT64_T
74696 #define _UINT64_T
74697 #endif
74698 EOF
74699 elif test "$ac_cv_type_u_int64_t" = yes; then
74700 sed 's/^ *//' >> tmp-stdint.h <<EOF
74701
74702 /* system headers have an u_int64_t (and int64_t) */
74703 #ifndef _INT64_T
74704 #define _INT64_T
74705 #endif
74706 #ifndef _UINT64_T
74707 #define _UINT64_T
74708 #ifndef __uint64_t_defined
74709 #define __uint64_t_defined
74710 #ifndef uint64_t
74711 typedef u_int64_t uint64_t;
74712 #endif
74713 #endif
74714 #endif
74715 EOF
74716 elif test -n "$acx_cv_type_int64_t"; then
74717 sed 's/^ *//' >> tmp-stdint.h <<EOF
74718
74719 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74720 #ifndef _INT64_T
74721 #define _INT64_T
74722 #ifndef int64_t
74723 typedef $acx_cv_type_int64_t int64_t;
74724 #endif
74725 #endif
74726 #ifndef _UINT64_T
74727 #define _UINT64_T
74728 #ifndef __uint64_t_defined
74729 #define __uint64_t_defined
74730 #ifndef uint64_t
74731 typedef unsigned $acx_cv_type_int64_t uint64_t;
74732 #endif
74733 #endif
74734 #endif
74735 EOF
74736 else
74737 sed 's/^ *//' >> tmp-stdint.h <<EOF
74738
74739 /* some common heuristics for int64_t, using compiler-specific tests */
74740 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74741 #ifndef _INT64_T
74742 #define _INT64_T
74743 #ifndef __int64_t_defined
74744 #ifndef int64_t
74745 typedef long long int64_t;
74746 #endif
74747 #endif
74748 #endif
74749 #ifndef _UINT64_T
74750 #define _UINT64_T
74751 #ifndef uint64_t
74752 typedef unsigned long long uint64_t;
74753 #endif
74754 #endif
74755
74756 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74757 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74758 does not implement __extension__. But that compiler doesn't define
74759 __GNUC_MINOR__. */
74760 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74761 # define __extension__
74762 # endif
74763
74764 # ifndef _INT64_T
74765 # define _INT64_T
74766 # ifndef int64_t
74767 __extension__ typedef long long int64_t;
74768 # endif
74769 # endif
74770 # ifndef _UINT64_T
74771 # define _UINT64_T
74772 # ifndef uint64_t
74773 __extension__ typedef unsigned long long uint64_t;
74774 # endif
74775 # endif
74776
74777 #elif !defined __STRICT_ANSI__
74778 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74779
74780 # ifndef _INT64_T
74781 # define _INT64_T
74782 # ifndef int64_t
74783 typedef __int64 int64_t;
74784 # endif
74785 # endif
74786 # ifndef _UINT64_T
74787 # define _UINT64_T
74788 # ifndef uint64_t
74789 typedef unsigned __int64 uint64_t;
74790 # endif
74791 # endif
74792 # endif /* compiler */
74793
74794 #endif /* ANSI version */
74795 EOF
74796 fi
74797
74798 # ------------- done int64_t types, emit intptr types ------------
74799 if test "$ac_cv_type_uintptr_t" != yes; then
74800 sed 's/^ *//' >> tmp-stdint.h <<EOF
74801
74802 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74803 #ifndef __uintptr_t_defined
74804 #ifndef uintptr_t
74805 typedef u$acx_cv_type_intptr_t uintptr_t;
74806 #endif
74807 #endif
74808 #ifndef __intptr_t_defined
74809 #ifndef intptr_t
74810 typedef $acx_cv_type_intptr_t intptr_t;
74811 #endif
74812 #endif
74813 EOF
74814 fi
74815
74816 # ------------- done intptr types, emit int_least types ------------
74817 if test "$ac_cv_type_int_least32_t" != yes; then
74818 sed 's/^ *//' >> tmp-stdint.h <<EOF
74819
74820 /* Define int_least types */
74821 typedef int8_t int_least8_t;
74822 typedef int16_t int_least16_t;
74823 typedef int32_t int_least32_t;
74824 #ifdef _INT64_T
74825 typedef int64_t int_least64_t;
74826 #endif
74827
74828 typedef uint8_t uint_least8_t;
74829 typedef uint16_t uint_least16_t;
74830 typedef uint32_t uint_least32_t;
74831 #ifdef _UINT64_T
74832 typedef uint64_t uint_least64_t;
74833 #endif
74834 EOF
74835 fi
74836
74837 # ------------- done intptr types, emit int_fast types ------------
74838 if test "$ac_cv_type_int_fast32_t" != yes; then
74839 sed 's/^ *//' >> tmp-stdint.h <<EOF
74840
74841 /* Define int_fast types. short is often slow */
74842 typedef int8_t int_fast8_t;
74843 typedef int int_fast16_t;
74844 typedef int32_t int_fast32_t;
74845 #ifdef _INT64_T
74846 typedef int64_t int_fast64_t;
74847 #endif
74848
74849 typedef uint8_t uint_fast8_t;
74850 typedef unsigned int uint_fast16_t;
74851 typedef uint32_t uint_fast32_t;
74852 #ifdef _UINT64_T
74853 typedef uint64_t uint_fast64_t;
74854 #endif
74855 EOF
74856 fi
74857
74858 if test "$ac_cv_type_uintmax_t" != yes; then
74859 sed 's/^ *//' >> tmp-stdint.h <<EOF
74860
74861 /* Define intmax based on what we found */
74862 #ifndef intmax_t
74863 #ifdef _INT64_T
74864 typedef int64_t intmax_t;
74865 #else
74866 typedef long intmax_t;
74867 #endif
74868 #endif
74869 #ifndef uintmax_t
74870 #ifdef _UINT64_T
74871 typedef uint64_t uintmax_t;
74872 #else
74873 typedef unsigned long uintmax_t;
74874 #endif
74875 #endif
74876 EOF
74877 fi
74878
74879 sed 's/^ *//' >> tmp-stdint.h <<EOF
74880
74881 #endif /* GCC_GENERATED_STDINT_H */
74882 EOF
74883
74884 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
74885 rm -f tmp-stdint.h
74886 else
74887 mv -f tmp-stdint.h include/gstdint.h
74888 fi
74889
74890 ;;
74891 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
74892 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
74893 "include/Makefile":F) cat > vpsed$$ << \_EOF
74894 s!`test -f '$<' || echo '$(srcdir)/'`!!
74895 _EOF
74896 sed -f vpsed$$ $ac_file > tmp$$
74897 mv tmp$$ $ac_file
74898 rm vpsed$$
74899 echo 'MULTISUBDIR =' >> $ac_file
74900 ml_norecursion=yes
74901 . ${multi_basedir}/config-ml.in
74902 { ml_norecursion=; unset ml_norecursion;}
74903 ;;
74904 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
74905 s!`test -f '$<' || echo '$(srcdir)/'`!!
74906 _EOF
74907 sed -f vpsed$$ $ac_file > tmp$$
74908 mv tmp$$ $ac_file
74909 rm vpsed$$
74910 echo 'MULTISUBDIR =' >> $ac_file
74911 ml_norecursion=yes
74912 . ${multi_basedir}/config-ml.in
74913 { ml_norecursion=; unset ml_norecursion;}
74914 ;;
74915 "python/Makefile":F) cat > vpsed$$ << \_EOF
74916 s!`test -f '$<' || echo '$(srcdir)/'`!!
74917 _EOF
74918 sed -f vpsed$$ $ac_file > tmp$$
74919 mv tmp$$ $ac_file
74920 rm vpsed$$
74921 echo 'MULTISUBDIR =' >> $ac_file
74922 ml_norecursion=yes
74923 . ${multi_basedir}/config-ml.in
74924 { ml_norecursion=; unset ml_norecursion;}
74925 ;;
74926 "src/Makefile":F) cat > vpsed$$ << \_EOF
74927 s!`test -f '$<' || echo '$(srcdir)/'`!!
74928 _EOF
74929 sed -f vpsed$$ $ac_file > tmp$$
74930 mv tmp$$ $ac_file
74931 rm vpsed$$
74932 echo 'MULTISUBDIR =' >> $ac_file
74933 ml_norecursion=yes
74934 . ${multi_basedir}/config-ml.in
74935 { ml_norecursion=; unset ml_norecursion;}
74936 ;;
74937 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
74938 s!`test -f '$<' || echo '$(srcdir)/'`!!
74939 _EOF
74940 sed -f vpsed$$ $ac_file > tmp$$
74941 mv tmp$$ $ac_file
74942 rm vpsed$$
74943 echo 'MULTISUBDIR =' >> $ac_file
74944 ml_norecursion=yes
74945 . ${multi_basedir}/config-ml.in
74946 { ml_norecursion=; unset ml_norecursion;}
74947 ;;
74948 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
74949 s!`test -f '$<' || echo '$(srcdir)/'`!!
74950 _EOF
74951 sed -f vpsed$$ $ac_file > tmp$$
74952 mv tmp$$ $ac_file
74953 rm vpsed$$
74954 echo 'MULTISUBDIR =' >> $ac_file
74955 ml_norecursion=yes
74956 . ${multi_basedir}/config-ml.in
74957 { ml_norecursion=; unset ml_norecursion;}
74958 ;;
74959 "doc/Makefile":F) cat > vpsed$$ << \_EOF
74960 s!`test -f '$<' || echo '$(srcdir)/'`!!
74961 _EOF
74962 sed -f vpsed$$ $ac_file > tmp$$
74963 mv tmp$$ $ac_file
74964 rm vpsed$$
74965 echo 'MULTISUBDIR =' >> $ac_file
74966 ml_norecursion=yes
74967 . ${multi_basedir}/config-ml.in
74968 { ml_norecursion=; unset ml_norecursion;}
74969 ;;
74970 "po/Makefile":F) cat > vpsed$$ << \_EOF
74971 s!`test -f '$<' || echo '$(srcdir)/'`!!
74972 _EOF
74973 sed -f vpsed$$ $ac_file > tmp$$
74974 mv tmp$$ $ac_file
74975 rm vpsed$$
74976 echo 'MULTISUBDIR =' >> $ac_file
74977 ml_norecursion=yes
74978 . ${multi_basedir}/config-ml.in
74979 { ml_norecursion=; unset ml_norecursion;}
74980 ;;
74981 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
74982 s!`test -f '$<' || echo '$(srcdir)/'`!!
74983 _EOF
74984 sed -f vpsed$$ $ac_file > tmp$$
74985 mv tmp$$ $ac_file
74986 rm vpsed$$
74987 echo 'MULTISUBDIR =' >> $ac_file
74988 ml_norecursion=yes
74989 . ${multi_basedir}/config-ml.in
74990 { ml_norecursion=; unset ml_norecursion;}
74991 ;;
74992 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
74993
74994 esac
74995 done # for ac_tag
74996
74997
74998 as_fn_exit 0
74999 _ACEOF
75000 ac_clean_files=$ac_clean_files_save
75001
75002 test $ac_write_fail = 0 ||
75003 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75004
75005
75006 # configure is writing to config.log, and then calls config.status.
75007 # config.status does its own redirection, appending to config.log.
75008 # Unfortunately, on DOS this fails, as config.log is still kept open
75009 # by configure, so config.status won't be able to write to it; its
75010 # output is simply discarded. So we exec the FD to /dev/null,
75011 # effectively closing config.log, so it can be properly (re)opened and
75012 # appended to by config.status. When coming back to configure, we
75013 # need to make the FD available again.
75014 if test "$no_create" != yes; then
75015 ac_cs_success=:
75016 ac_config_status_args=
75017 test "$silent" = yes &&
75018 ac_config_status_args="$ac_config_status_args --quiet"
75019 exec 5>/dev/null
75020 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75021 exec 5>>config.log
75022 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75023 # would make configure fail if this is the last instruction.
75024 $ac_cs_success || as_fn_exit $?
75025 fi
75026 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75028 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
75029 fi
75030