acinclude.m4 (GLIBCXX_ENABLE_ATOMIC_BUILTINS): Remove size-specific macros.
[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/ios.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
600
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 LIBSUPCXX_PICFLAGS
606 WARN_FLAGS
607 OPTIMIZE_CXXFLAGS
608 TOPLEVEL_INCLUDES
609 GLIBCXX_INCLUDES
610 glibcxx_toolexeclibdir
611 glibcxx_toolexecdir
612 gxx_include_dir
613 glibcxx_prefixdir
614 ERROR_CONSTANTS_SRCDIR
615 OS_INC_SRCDIR
616 ABI_TWEAKS_SRCDIR
617 CPU_DEFINES_SRCDIR
618 ATOMIC_FLAGS
619 ATOMIC_WORD_SRCDIR
620 ATOMICITY_SRCDIR
621 BUILD_EPUB_FALSE
622 BUILD_EPUB_TRUE
623 DBTOEPUB
624 RUBY
625 BUILD_PDF_FALSE
626 BUILD_PDF_TRUE
627 PDFLATEX
628 DBLATEX
629 BUILD_MAN_FALSE
630 BUILD_MAN_TRUE
631 BUILD_HTML_FALSE
632 BUILD_HTML_TRUE
633 BUILD_XML_FALSE
634 BUILD_XML_TRUE
635 XSL_STYLE_DIR
636 XMLLINT
637 XSLTPROC
638 DOT
639 DOXYGEN
640 BUILD_INFO_FALSE
641 BUILD_INFO_TRUE
642 baseline_subdir_switch
643 baseline_dir
644 GLIBCXX_LDBL_COMPAT_FALSE
645 GLIBCXX_LDBL_COMPAT_TRUE
646 ENABLE_VISIBILITY_FALSE
647 ENABLE_VISIBILITY_TRUE
648 libtool_VERSION
649 ENABLE_SYMVERS_SOL2_FALSE
650 ENABLE_SYMVERS_SOL2_TRUE
651 ENABLE_SYMVERS_SUN_FALSE
652 ENABLE_SYMVERS_SUN_TRUE
653 ENABLE_SYMVERS_DARWIN_FALSE
654 ENABLE_SYMVERS_DARWIN_TRUE
655 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
656 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
657 ENABLE_SYMVERS_GNU_FALSE
658 ENABLE_SYMVERS_GNU_TRUE
659 ENABLE_SYMVERS_FALSE
660 ENABLE_SYMVERS_TRUE
661 port_specific_symbol_files
662 SYMVER_FILE
663 CXXFILT
664 LTLIBICONV
665 LIBICONV
666 OPT_LDFLAGS
667 SECTION_LDFLAGS
668 GLIBCXX_LIBS
669 ENABLE_EXTERN_TEMPLATE_FALSE
670 ENABLE_EXTERN_TEMPLATE_TRUE
671 EXTRA_CXX_FLAGS
672 ENABLE_PARALLEL_FALSE
673 ENABLE_PARALLEL_TRUE
674 GLIBCXX_BUILD_DEBUG_FALSE
675 GLIBCXX_BUILD_DEBUG_TRUE
676 DEBUG_FLAGS
677 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
678 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
679 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
680 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
681 GLIBCXX_C_HEADERS_C_STD_FALSE
682 GLIBCXX_C_HEADERS_C_STD_TRUE
683 GLIBCXX_C_HEADERS_C_FALSE
684 GLIBCXX_C_HEADERS_C_TRUE
685 C_INCLUDE_DIR
686 ALLOCATOR_NAME
687 ALLOCATOR_H
688 CLOCALE_INTERNAL_H
689 CLOCALE_CC
690 CTIME_CC
691 CTIME_H
692 CNUMERIC_CC
693 CMONEY_CC
694 CMESSAGES_CC
695 CCTYPE_CC
696 CCOLLATE_CC
697 CCODECVT_CC
698 CMESSAGES_H
699 CLOCALE_H
700 USE_NLS
701 glibcxx_localedir
702 glibcxx_POFILES
703 glibcxx_MOFILES
704 check_msgfmt
705 BASIC_FILE_CC
706 BASIC_FILE_H
707 CSTDIO_H
708 SECTION_FLAGS
709 WERROR
710 glibcxx_PCHFLAGS
711 GLIBCXX_BUILD_PCH_FALSE
712 GLIBCXX_BUILD_PCH_TRUE
713 GLIBCXX_HOSTED_FALSE
714 GLIBCXX_HOSTED_TRUE
715 enable_static
716 enable_shared
717 lt_host_flags
718 CXXCPP
719 OTOOL64
720 OTOOL
721 LIPO
722 NMEDIT
723 DSYMUTIL
724 OBJDUMP
725 NM
726 ac_ct_DUMPBIN
727 DUMPBIN
728 LD
729 FGREP
730 SED
731 LIBTOOL
732 EGREP
733 GREP
734 CPP
735 MAINT
736 MAINTAINER_MODE_FALSE
737 MAINTAINER_MODE_TRUE
738 RANLIB
739 AR
740 AS
741 LN_S
742 toplevel_srcdir
743 toplevel_builddir
744 glibcxx_srcdir
745 glibcxx_builddir
746 ac_ct_CXX
747 CXXFLAGS
748 CXX
749 OBJEXT
750 EXEEXT
751 ac_ct_CC
752 CPPFLAGS
753 LDFLAGS
754 CFLAGS
755 CC
756 am__untar
757 am__tar
758 AMTAR
759 am__leading_dot
760 SET_MAKE
761 AWK
762 mkdir_p
763 MKDIR_P
764 INSTALL_STRIP_PROGRAM
765 STRIP
766 install_sh
767 MAKEINFO
768 AUTOHEADER
769 AUTOMAKE
770 AUTOCONF
771 ACLOCAL
772 VERSION
773 PACKAGE
774 CYGPATH_W
775 am__isrc
776 INSTALL_DATA
777 INSTALL_SCRIPT
778 INSTALL_PROGRAM
779 target_os
780 target_vendor
781 target_cpu
782 target
783 host_os
784 host_vendor
785 host_cpu
786 host
787 build_os
788 build_vendor
789 build_cpu
790 build
791 multi_basedir
792 target_alias
793 host_alias
794 build_alias
795 LIBS
796 ECHO_T
797 ECHO_N
798 ECHO_C
799 DEFS
800 mandir
801 localedir
802 libdir
803 psdir
804 pdfdir
805 dvidir
806 htmldir
807 infodir
808 docdir
809 oldincludedir
810 includedir
811 localstatedir
812 sharedstatedir
813 sysconfdir
814 datadir
815 datarootdir
816 libexecdir
817 sbindir
818 bindir
819 program_transform_name
820 prefix
821 exec_prefix
822 PACKAGE_URL
823 PACKAGE_BUGREPORT
824 PACKAGE_STRING
825 PACKAGE_VERSION
826 PACKAGE_TARNAME
827 PACKAGE_NAME
828 PATH_SEPARATOR
829 SHELL'
830 ac_subst_files=''
831 ac_user_opts='
832 enable_option_checking
833 enable_multilib
834 with_target_subdir
835 with_cross_host
836 with_newlib
837 enable_maintainer_mode
838 enable_shared
839 enable_static
840 with_pic
841 enable_fast_install
842 with_gnu_ld
843 enable_libtool_lock
844 enable_hosted_libstdcxx
845 enable_sjlj_exceptions
846 enable_libstdcxx_pch
847 enable_cstdio
848 enable_clocale
849 enable_nls
850 enable_libstdcxx_allocator
851 enable_cheaders
852 enable_long_long
853 enable_wchar_t
854 enable_c99
855 enable_concept_checks
856 enable_libstdcxx_debug_flags
857 enable_libstdcxx_debug
858 enable_cxx_flags
859 enable_fully_dynamic_string
860 enable_extern_template
861 enable_libstdcxx_time
862 enable_tls
863 enable_rpath
864 with_libiconv_prefix
865 with_system_libunwind
866 enable_linux_futex
867 enable_symvers
868 enable_libstdcxx_visibility
869 with_gxx_include_dir
870 enable_version_specific_runtime_libs
871 '
872 ac_precious_vars='build_alias
873 host_alias
874 target_alias
875 CC
876 CFLAGS
877 LDFLAGS
878 LIBS
879 CPPFLAGS
880 CXX
881 CXXFLAGS
882 CCC
883 CPP
884 CXXCPP
885 CXXFILT'
886
887
888 # Initialize some variables set by options.
889 ac_init_help=
890 ac_init_version=false
891 ac_unrecognized_opts=
892 ac_unrecognized_sep=
893 # The variables have the same names as the options, with
894 # dashes changed to underlines.
895 cache_file=/dev/null
896 exec_prefix=NONE
897 no_create=
898 no_recursion=
899 prefix=NONE
900 program_prefix=NONE
901 program_suffix=NONE
902 program_transform_name=s,x,x,
903 silent=
904 site=
905 srcdir=
906 verbose=
907 x_includes=NONE
908 x_libraries=NONE
909
910 # Installation directory options.
911 # These are left unexpanded so users can "make install exec_prefix=/foo"
912 # and all the variables that are supposed to be based on exec_prefix
913 # by default will actually change.
914 # Use braces instead of parens because sh, perl, etc. also accept them.
915 # (The list follows the same order as the GNU Coding Standards.)
916 bindir='${exec_prefix}/bin'
917 sbindir='${exec_prefix}/sbin'
918 libexecdir='${exec_prefix}/libexec'
919 datarootdir='${prefix}/share'
920 datadir='${datarootdir}'
921 sysconfdir='${prefix}/etc'
922 sharedstatedir='${prefix}/com'
923 localstatedir='${prefix}/var'
924 includedir='${prefix}/include'
925 oldincludedir='/usr/include'
926 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
927 infodir='${datarootdir}/info'
928 htmldir='${docdir}'
929 dvidir='${docdir}'
930 pdfdir='${docdir}'
931 psdir='${docdir}'
932 libdir='${exec_prefix}/lib'
933 localedir='${datarootdir}/locale'
934 mandir='${datarootdir}/man'
935
936 ac_prev=
937 ac_dashdash=
938 for ac_option
939 do
940 # If the previous option needs an argument, assign it.
941 if test -n "$ac_prev"; then
942 eval $ac_prev=\$ac_option
943 ac_prev=
944 continue
945 fi
946
947 case $ac_option in
948 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
949 *) ac_optarg=yes ;;
950 esac
951
952 # Accept the important Cygnus configure options, so we can diagnose typos.
953
954 case $ac_dashdash$ac_option in
955 --)
956 ac_dashdash=yes ;;
957
958 -bindir | --bindir | --bindi | --bind | --bin | --bi)
959 ac_prev=bindir ;;
960 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
961 bindir=$ac_optarg ;;
962
963 -build | --build | --buil | --bui | --bu)
964 ac_prev=build_alias ;;
965 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
966 build_alias=$ac_optarg ;;
967
968 -cache-file | --cache-file | --cache-fil | --cache-fi \
969 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
970 ac_prev=cache_file ;;
971 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
972 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
973 cache_file=$ac_optarg ;;
974
975 --config-cache | -C)
976 cache_file=config.cache ;;
977
978 -datadir | --datadir | --datadi | --datad)
979 ac_prev=datadir ;;
980 -datadir=* | --datadir=* | --datadi=* | --datad=*)
981 datadir=$ac_optarg ;;
982
983 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
984 | --dataroo | --dataro | --datar)
985 ac_prev=datarootdir ;;
986 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
987 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
988 datarootdir=$ac_optarg ;;
989
990 -disable-* | --disable-*)
991 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
992 # Reject names that are not valid shell variable names.
993 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
994 as_fn_error "invalid feature name: $ac_useropt"
995 ac_useropt_orig=$ac_useropt
996 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
997 case $ac_user_opts in
998 *"
999 "enable_$ac_useropt"
1000 "*) ;;
1001 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1002 ac_unrecognized_sep=', ';;
1003 esac
1004 eval enable_$ac_useropt=no ;;
1005
1006 -docdir | --docdir | --docdi | --doc | --do)
1007 ac_prev=docdir ;;
1008 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1009 docdir=$ac_optarg ;;
1010
1011 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1012 ac_prev=dvidir ;;
1013 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1014 dvidir=$ac_optarg ;;
1015
1016 -enable-* | --enable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1024 *"
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=\$ac_optarg ;;
1031
1032 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1033 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1034 | --exec | --exe | --ex)
1035 ac_prev=exec_prefix ;;
1036 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1037 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1038 | --exec=* | --exe=* | --ex=*)
1039 exec_prefix=$ac_optarg ;;
1040
1041 -gas | --gas | --ga | --g)
1042 # Obsolete; use --with-gas.
1043 with_gas=yes ;;
1044
1045 -help | --help | --hel | --he | -h)
1046 ac_init_help=long ;;
1047 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1048 ac_init_help=recursive ;;
1049 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1050 ac_init_help=short ;;
1051
1052 -host | --host | --hos | --ho)
1053 ac_prev=host_alias ;;
1054 -host=* | --host=* | --hos=* | --ho=*)
1055 host_alias=$ac_optarg ;;
1056
1057 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1058 ac_prev=htmldir ;;
1059 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1060 | --ht=*)
1061 htmldir=$ac_optarg ;;
1062
1063 -includedir | --includedir | --includedi | --included | --include \
1064 | --includ | --inclu | --incl | --inc)
1065 ac_prev=includedir ;;
1066 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1067 | --includ=* | --inclu=* | --incl=* | --inc=*)
1068 includedir=$ac_optarg ;;
1069
1070 -infodir | --infodir | --infodi | --infod | --info | --inf)
1071 ac_prev=infodir ;;
1072 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1073 infodir=$ac_optarg ;;
1074
1075 -libdir | --libdir | --libdi | --libd)
1076 ac_prev=libdir ;;
1077 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1078 libdir=$ac_optarg ;;
1079
1080 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1081 | --libexe | --libex | --libe)
1082 ac_prev=libexecdir ;;
1083 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1084 | --libexe=* | --libex=* | --libe=*)
1085 libexecdir=$ac_optarg ;;
1086
1087 -localedir | --localedir | --localedi | --localed | --locale)
1088 ac_prev=localedir ;;
1089 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1090 localedir=$ac_optarg ;;
1091
1092 -localstatedir | --localstatedir | --localstatedi | --localstated \
1093 | --localstate | --localstat | --localsta | --localst | --locals)
1094 ac_prev=localstatedir ;;
1095 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1096 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1097 localstatedir=$ac_optarg ;;
1098
1099 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1100 ac_prev=mandir ;;
1101 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1102 mandir=$ac_optarg ;;
1103
1104 -nfp | --nfp | --nf)
1105 # Obsolete; use --without-fp.
1106 with_fp=no ;;
1107
1108 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1109 | --no-cr | --no-c | -n)
1110 no_create=yes ;;
1111
1112 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1113 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1114 no_recursion=yes ;;
1115
1116 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1117 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1118 | --oldin | --oldi | --old | --ol | --o)
1119 ac_prev=oldincludedir ;;
1120 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1121 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1122 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1123 oldincludedir=$ac_optarg ;;
1124
1125 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1126 ac_prev=prefix ;;
1127 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1128 prefix=$ac_optarg ;;
1129
1130 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1131 | --program-pre | --program-pr | --program-p)
1132 ac_prev=program_prefix ;;
1133 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1134 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1135 program_prefix=$ac_optarg ;;
1136
1137 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1138 | --program-suf | --program-su | --program-s)
1139 ac_prev=program_suffix ;;
1140 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1141 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1142 program_suffix=$ac_optarg ;;
1143
1144 -program-transform-name | --program-transform-name \
1145 | --program-transform-nam | --program-transform-na \
1146 | --program-transform-n | --program-transform- \
1147 | --program-transform | --program-transfor \
1148 | --program-transfo | --program-transf \
1149 | --program-trans | --program-tran \
1150 | --progr-tra | --program-tr | --program-t)
1151 ac_prev=program_transform_name ;;
1152 -program-transform-name=* | --program-transform-name=* \
1153 | --program-transform-nam=* | --program-transform-na=* \
1154 | --program-transform-n=* | --program-transform-=* \
1155 | --program-transform=* | --program-transfor=* \
1156 | --program-transfo=* | --program-transf=* \
1157 | --program-trans=* | --program-tran=* \
1158 | --progr-tra=* | --program-tr=* | --program-t=*)
1159 program_transform_name=$ac_optarg ;;
1160
1161 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1162 ac_prev=pdfdir ;;
1163 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1164 pdfdir=$ac_optarg ;;
1165
1166 -psdir | --psdir | --psdi | --psd | --ps)
1167 ac_prev=psdir ;;
1168 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1169 psdir=$ac_optarg ;;
1170
1171 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1172 | -silent | --silent | --silen | --sile | --sil)
1173 silent=yes ;;
1174
1175 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1176 ac_prev=sbindir ;;
1177 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1178 | --sbi=* | --sb=*)
1179 sbindir=$ac_optarg ;;
1180
1181 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1182 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1183 | --sharedst | --shareds | --shared | --share | --shar \
1184 | --sha | --sh)
1185 ac_prev=sharedstatedir ;;
1186 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1187 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1188 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1189 | --sha=* | --sh=*)
1190 sharedstatedir=$ac_optarg ;;
1191
1192 -site | --site | --sit)
1193 ac_prev=site ;;
1194 -site=* | --site=* | --sit=*)
1195 site=$ac_optarg ;;
1196
1197 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1198 ac_prev=srcdir ;;
1199 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1200 srcdir=$ac_optarg ;;
1201
1202 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1203 | --syscon | --sysco | --sysc | --sys | --sy)
1204 ac_prev=sysconfdir ;;
1205 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1206 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1207 sysconfdir=$ac_optarg ;;
1208
1209 -target | --target | --targe | --targ | --tar | --ta | --t)
1210 ac_prev=target_alias ;;
1211 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1212 target_alias=$ac_optarg ;;
1213
1214 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1215 verbose=yes ;;
1216
1217 -version | --version | --versio | --versi | --vers | -V)
1218 ac_init_version=: ;;
1219
1220 -with-* | --with-*)
1221 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1222 # Reject names that are not valid shell variable names.
1223 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1224 as_fn_error "invalid package name: $ac_useropt"
1225 ac_useropt_orig=$ac_useropt
1226 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1227 case $ac_user_opts in
1228 *"
1229 "with_$ac_useropt"
1230 "*) ;;
1231 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1232 ac_unrecognized_sep=', ';;
1233 esac
1234 eval with_$ac_useropt=\$ac_optarg ;;
1235
1236 -without-* | --without-*)
1237 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1238 # Reject names that are not valid shell variable names.
1239 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1240 as_fn_error "invalid package name: $ac_useropt"
1241 ac_useropt_orig=$ac_useropt
1242 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1243 case $ac_user_opts in
1244 *"
1245 "with_$ac_useropt"
1246 "*) ;;
1247 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1248 ac_unrecognized_sep=', ';;
1249 esac
1250 eval with_$ac_useropt=no ;;
1251
1252 --x)
1253 # Obsolete; use --with-x.
1254 with_x=yes ;;
1255
1256 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1257 | --x-incl | --x-inc | --x-in | --x-i)
1258 ac_prev=x_includes ;;
1259 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1260 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1261 x_includes=$ac_optarg ;;
1262
1263 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1264 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1265 ac_prev=x_libraries ;;
1266 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1267 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1268 x_libraries=$ac_optarg ;;
1269
1270 -*) as_fn_error "unrecognized option: \`$ac_option'
1271 Try \`$0 --help' for more information."
1272 ;;
1273
1274 *=*)
1275 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1276 # Reject names that are not valid shell variable names.
1277 case $ac_envvar in #(
1278 '' | [0-9]* | *[!_$as_cr_alnum]* )
1279 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1280 esac
1281 eval $ac_envvar=\$ac_optarg
1282 export $ac_envvar ;;
1283
1284 *)
1285 # FIXME: should be removed in autoconf 3.0.
1286 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1287 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1288 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1289 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1290 ;;
1291
1292 esac
1293 done
1294
1295 if test -n "$ac_prev"; then
1296 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1297 as_fn_error "missing argument to $ac_option"
1298 fi
1299
1300 if test -n "$ac_unrecognized_opts"; then
1301 case $enable_option_checking in
1302 no) ;;
1303 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1304 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1305 esac
1306 fi
1307
1308 # Check all directory arguments for consistency.
1309 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1310 datadir sysconfdir sharedstatedir localstatedir includedir \
1311 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1312 libdir localedir mandir
1313 do
1314 eval ac_val=\$$ac_var
1315 # Remove trailing slashes.
1316 case $ac_val in
1317 */ )
1318 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1319 eval $ac_var=\$ac_val;;
1320 esac
1321 # Be sure to have absolute directory names.
1322 case $ac_val in
1323 [\\/$]* | ?:[\\/]* ) continue;;
1324 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1325 esac
1326 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1327 done
1328
1329 # There might be people who depend on the old broken behavior: `$host'
1330 # used to hold the argument of --host etc.
1331 # FIXME: To remove some day.
1332 build=$build_alias
1333 host=$host_alias
1334 target=$target_alias
1335
1336 # FIXME: To remove some day.
1337 if test "x$host_alias" != x; then
1338 if test "x$build_alias" = x; then
1339 cross_compiling=maybe
1340 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1341 If a cross compiler is detected then cross compile mode will be used." >&2
1342 elif test "x$build_alias" != "x$host_alias"; then
1343 cross_compiling=yes
1344 fi
1345 fi
1346
1347 ac_tool_prefix=
1348 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1349
1350 test "$silent" = yes && exec 6>/dev/null
1351
1352
1353 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1354 ac_ls_di=`ls -di .` &&
1355 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1356 as_fn_error "working directory cannot be determined"
1357 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1358 as_fn_error "pwd does not report name of working directory"
1359
1360
1361 # Find the source files, if location was not specified.
1362 if test -z "$srcdir"; then
1363 ac_srcdir_defaulted=yes
1364 # Try the directory containing this script, then the parent directory.
1365 ac_confdir=`$as_dirname -- "$as_myself" ||
1366 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1367 X"$as_myself" : 'X\(//\)[^/]' \| \
1368 X"$as_myself" : 'X\(//\)$' \| \
1369 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1370 $as_echo X"$as_myself" |
1371 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1372 s//\1/
1373 q
1374 }
1375 /^X\(\/\/\)[^/].*/{
1376 s//\1/
1377 q
1378 }
1379 /^X\(\/\/\)$/{
1380 s//\1/
1381 q
1382 }
1383 /^X\(\/\).*/{
1384 s//\1/
1385 q
1386 }
1387 s/.*/./; q'`
1388 srcdir=$ac_confdir
1389 if test ! -r "$srcdir/$ac_unique_file"; then
1390 srcdir=..
1391 fi
1392 else
1393 ac_srcdir_defaulted=no
1394 fi
1395 if test ! -r "$srcdir/$ac_unique_file"; then
1396 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1397 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1398 fi
1399 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1400 ac_abs_confdir=`(
1401 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1402 pwd)`
1403 # When building in place, set srcdir=.
1404 if test "$ac_abs_confdir" = "$ac_pwd"; then
1405 srcdir=.
1406 fi
1407 # Remove unnecessary trailing slashes from srcdir.
1408 # Double slashes in file names in object file debugging info
1409 # mess up M-x gdb in Emacs.
1410 case $srcdir in
1411 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1412 esac
1413 for ac_var in $ac_precious_vars; do
1414 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1415 eval ac_env_${ac_var}_value=\$${ac_var}
1416 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1417 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1418 done
1419
1420 #
1421 # Report the --help message.
1422 #
1423 if test "$ac_init_help" = "long"; then
1424 # Omit some internal or obsolete options to make the list less imposing.
1425 # This message is too long to be a string in the A/UX 3.1 sh.
1426 cat <<_ACEOF
1427 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1428
1429 Usage: $0 [OPTION]... [VAR=VALUE]...
1430
1431 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1432 VAR=VALUE. See below for descriptions of some of the useful variables.
1433
1434 Defaults for the options are specified in brackets.
1435
1436 Configuration:
1437 -h, --help display this help and exit
1438 --help=short display options specific to this package
1439 --help=recursive display the short help of all the included packages
1440 -V, --version display version information and exit
1441 -q, --quiet, --silent do not print \`checking...' messages
1442 --cache-file=FILE cache test results in FILE [disabled]
1443 -C, --config-cache alias for \`--cache-file=config.cache'
1444 -n, --no-create do not create output files
1445 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1446
1447 Installation directories:
1448 --prefix=PREFIX install architecture-independent files in PREFIX
1449 [$ac_default_prefix]
1450 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1451 [PREFIX]
1452
1453 By default, \`make install' will install all the files in
1454 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1455 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1456 for instance \`--prefix=\$HOME'.
1457
1458 For better control, use the options below.
1459
1460 Fine tuning of the installation directories:
1461 --bindir=DIR user executables [EPREFIX/bin]
1462 --sbindir=DIR system admin executables [EPREFIX/sbin]
1463 --libexecdir=DIR program executables [EPREFIX/libexec]
1464 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1465 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1466 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1467 --libdir=DIR object code libraries [EPREFIX/lib]
1468 --includedir=DIR C header files [PREFIX/include]
1469 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1470 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1471 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1472 --infodir=DIR info documentation [DATAROOTDIR/info]
1473 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1474 --mandir=DIR man documentation [DATAROOTDIR/man]
1475 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1476 --htmldir=DIR html documentation [DOCDIR]
1477 --dvidir=DIR dvi documentation [DOCDIR]
1478 --pdfdir=DIR pdf documentation [DOCDIR]
1479 --psdir=DIR ps documentation [DOCDIR]
1480 _ACEOF
1481
1482 cat <<\_ACEOF
1483
1484 Program names:
1485 --program-prefix=PREFIX prepend PREFIX to installed program names
1486 --program-suffix=SUFFIX append SUFFIX to installed program names
1487 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1488
1489 System types:
1490 --build=BUILD configure for building on BUILD [guessed]
1491 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1492 --target=TARGET configure for building compilers for TARGET [HOST]
1493 _ACEOF
1494 fi
1495
1496 if test -n "$ac_init_help"; then
1497 case $ac_init_help in
1498 short | recursive ) echo "Configuration of package-unused version-unused:";;
1499 esac
1500 cat <<\_ACEOF
1501
1502 Optional Features:
1503 --disable-option-checking ignore unrecognized --enable/--with options
1504 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1505 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1506 --enable-multilib build many library versions (default)
1507 --enable-maintainer-mode enable make rules and dependencies not useful
1508 (and sometimes confusing) to the casual installer
1509 --enable-shared[=PKGS] build shared libraries [default=yes]
1510 --enable-static[=PKGS] build static libraries [default=yes]
1511 --enable-fast-install[=PKGS]
1512 optimize for fast installation [default=yes]
1513 --disable-libtool-lock avoid locking (might break parallel builds)
1514 --disable-hosted-libstdcxx
1515 only build freestanding C++ runtime support
1516 --enable-sjlj-exceptions
1517 force use of builtin_setjmp for exceptions
1518 [default=auto]
1519 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1520 [default=$is_hosted]
1521 --enable-cstdio[=PACKAGE]
1522 use target-specific I/O package [default=stdio]
1523 --enable-clocale[=MODEL]
1524 use MODEL for target locale package [default=auto]
1525 --enable-nls use Native Language Support (default)
1526 --enable-libstdcxx-allocator[=KIND]
1527 use KIND for target std::allocator base
1528 [default=auto]
1529 --enable-cheaders[=KIND]
1530 construct "C" headers for g++ [default=$c_model]
1531 --enable-long-long enable template specializations for 'long long'
1532 [default=yes]
1533 --enable-wchar_t enable template specializations for 'wchar_t'
1534 [default=yes]
1535 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1536 --enable-concept-checks use Boost-derived template checks [default=no]
1537 --enable-libstdcxx-debug-flags=FLAGS
1538 pass compiler FLAGS when building debug library
1539 [default="-g3 -O0"]
1540 --enable-libstdcxx-debug
1541 build extra debug library [default=no]
1542 --enable-cxx-flags=FLAGS
1543 pass compiler FLAGS when building library [default=]
1544 --enable-fully-dynamic-string
1545 do not put empty strings in per-process static
1546 memory [default=no]
1547 --enable-extern-template
1548 enable extern template [default=yes]
1549 --enable-libstdcxx-time[=KIND]
1550 use KIND for check type [default=no]
1551 --enable-tls Use thread-local storage [default=yes]
1552 --disable-rpath do not hardcode runtime library paths
1553 --enable-linux-futex use the Linux futex system call [default=default]
1554 --enable-symvers[=STYLE]
1555 enables symbol versioning of the shared library
1556 [default=yes]
1557 --enable-libstdcxx-visibility
1558 enables visibility safe usage [default=yes]
1559 --enable-version-specific-runtime-libs
1560 Specify that runtime libraries should be installed
1561 in a compiler-specific directory
1562
1563 Optional Packages:
1564 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1565 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1566 --with-target-subdir=SUBDIR
1567 configuring in a subdirectory
1568 --with-cross-host=HOST configuring with a cross compiler
1569 --with-newlib assume newlib as a system C library
1570 --with-pic try to use only PIC/non-PIC objects [default=use
1571 both]
1572 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1573 --with-gnu-ld assume the C compiler uses GNU ld default=no
1574 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1575 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1576 --with-system-libunwind use installed libunwind
1577 --with-gxx-include-dir=DIR
1578 installation directory for include files
1579
1580 Some influential environment variables:
1581 CC C compiler command
1582 CFLAGS C compiler flags
1583 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1584 nonstandard directory <lib dir>
1585 LIBS libraries to pass to the linker, e.g. -l<library>
1586 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1587 you have headers in a nonstandard directory <include dir>
1588 CXX C++ compiler command
1589 CXXFLAGS C++ compiler flags
1590 CPP C preprocessor
1591 CXXCPP C++ preprocessor
1592 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1593 `c++filt', `gc++filt' on PATH.
1594
1595 Use these variables to override the choices made by `configure' or to help
1596 it to find libraries and programs with nonstandard names/locations.
1597
1598 Report bugs to the package provider.
1599 _ACEOF
1600 ac_status=$?
1601 fi
1602
1603 if test "$ac_init_help" = "recursive"; then
1604 # If there are subdirs, report their specific --help.
1605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1606 test -d "$ac_dir" ||
1607 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1608 continue
1609 ac_builddir=.
1610
1611 case "$ac_dir" in
1612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1613 *)
1614 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1615 # A ".." for each directory in $ac_dir_suffix.
1616 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1617 case $ac_top_builddir_sub in
1618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1620 esac ;;
1621 esac
1622 ac_abs_top_builddir=$ac_pwd
1623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1624 # for backward compatibility:
1625 ac_top_builddir=$ac_top_build_prefix
1626
1627 case $srcdir in
1628 .) # We are building in place.
1629 ac_srcdir=.
1630 ac_top_srcdir=$ac_top_builddir_sub
1631 ac_abs_top_srcdir=$ac_pwd ;;
1632 [\\/]* | ?:[\\/]* ) # Absolute name.
1633 ac_srcdir=$srcdir$ac_dir_suffix;
1634 ac_top_srcdir=$srcdir
1635 ac_abs_top_srcdir=$srcdir ;;
1636 *) # Relative name.
1637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1638 ac_top_srcdir=$ac_top_build_prefix$srcdir
1639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1640 esac
1641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1642
1643 cd "$ac_dir" || { ac_status=$?; continue; }
1644 # Check for guested configure.
1645 if test -f "$ac_srcdir/configure.gnu"; then
1646 echo &&
1647 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1648 elif test -f "$ac_srcdir/configure"; then
1649 echo &&
1650 $SHELL "$ac_srcdir/configure" --help=recursive
1651 else
1652 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1653 fi || ac_status=$?
1654 cd "$ac_pwd" || { ac_status=$?; break; }
1655 done
1656 fi
1657
1658 test -n "$ac_init_help" && exit $ac_status
1659 if $ac_init_version; then
1660 cat <<\_ACEOF
1661 package-unused configure version-unused
1662 generated by GNU Autoconf 2.64
1663
1664 Copyright (C) 2009 Free Software Foundation, Inc.
1665 This configure script is free software; the Free Software Foundation
1666 gives unlimited permission to copy, distribute and modify it.
1667 _ACEOF
1668 exit
1669 fi
1670
1671 ## ------------------------ ##
1672 ## Autoconf initialization. ##
1673 ## ------------------------ ##
1674
1675 # ac_fn_c_try_compile LINENO
1676 # --------------------------
1677 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1678 ac_fn_c_try_compile ()
1679 {
1680 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1681 rm -f conftest.$ac_objext
1682 if { { ac_try="$ac_compile"
1683 case "(($ac_try" in
1684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1685 *) ac_try_echo=$ac_try;;
1686 esac
1687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1688 $as_echo "$ac_try_echo"; } >&5
1689 (eval "$ac_compile") 2>conftest.err
1690 ac_status=$?
1691 if test -s conftest.err; then
1692 grep -v '^ *+' conftest.err >conftest.er1
1693 cat conftest.er1 >&5
1694 mv -f conftest.er1 conftest.err
1695 fi
1696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1697 test $ac_status = 0; } && {
1698 test -z "$ac_c_werror_flag" ||
1699 test ! -s conftest.err
1700 } && test -s conftest.$ac_objext; then :
1701 ac_retval=0
1702 else
1703 $as_echo "$as_me: failed program was:" >&5
1704 sed 's/^/| /' conftest.$ac_ext >&5
1705
1706 ac_retval=1
1707 fi
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 return $ac_retval
1710
1711 } # ac_fn_c_try_compile
1712
1713 # ac_fn_cxx_try_compile LINENO
1714 # ----------------------------
1715 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1716 ac_fn_cxx_try_compile ()
1717 {
1718 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1719 rm -f conftest.$ac_objext
1720 if { { ac_try="$ac_compile"
1721 case "(($ac_try" in
1722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1723 *) ac_try_echo=$ac_try;;
1724 esac
1725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1726 $as_echo "$ac_try_echo"; } >&5
1727 (eval "$ac_compile") 2>conftest.err
1728 ac_status=$?
1729 if test -s conftest.err; then
1730 grep -v '^ *+' conftest.err >conftest.er1
1731 cat conftest.er1 >&5
1732 mv -f conftest.er1 conftest.err
1733 fi
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && {
1736 test -z "$ac_cxx_werror_flag" ||
1737 test ! -s conftest.err
1738 } && test -s conftest.$ac_objext; then :
1739 ac_retval=0
1740 else
1741 $as_echo "$as_me: failed program was:" >&5
1742 sed 's/^/| /' conftest.$ac_ext >&5
1743
1744 ac_retval=1
1745 fi
1746 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1747 return $ac_retval
1748
1749 } # ac_fn_cxx_try_compile
1750
1751 # ac_fn_c_try_cpp LINENO
1752 # ----------------------
1753 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1754 ac_fn_c_try_cpp ()
1755 {
1756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1757 if { { ac_try="$ac_cpp conftest.$ac_ext"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1770 fi
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } >/dev/null && {
1773 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1774 test ! -s conftest.err
1775 }; then :
1776 ac_retval=0
1777 else
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1780
1781 ac_retval=1
1782 fi
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 return $ac_retval
1785
1786 } # ac_fn_c_try_cpp
1787
1788 # ac_fn_c_try_link LINENO
1789 # -----------------------
1790 # Try to link conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_c_try_link ()
1792 {
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 rm -f conftest.$ac_objext conftest$ac_exeext
1795 if { { ac_try="$ac_link"
1796 case "(($ac_try" in
1797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1798 *) ac_try_echo=$ac_try;;
1799 esac
1800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1801 $as_echo "$ac_try_echo"; } >&5
1802 (eval "$ac_link") 2>conftest.err
1803 ac_status=$?
1804 if test -s conftest.err; then
1805 grep -v '^ *+' conftest.err >conftest.er1
1806 cat conftest.er1 >&5
1807 mv -f conftest.er1 conftest.err
1808 fi
1809 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1810 test $ac_status = 0; } && {
1811 test -z "$ac_c_werror_flag" ||
1812 test ! -s conftest.err
1813 } && test -s conftest$ac_exeext && {
1814 test "$cross_compiling" = yes ||
1815 $as_test_x conftest$ac_exeext
1816 }; then :
1817 ac_retval=0
1818 else
1819 $as_echo "$as_me: failed program was:" >&5
1820 sed 's/^/| /' conftest.$ac_ext >&5
1821
1822 ac_retval=1
1823 fi
1824 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1825 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1826 # interfere with the next link command; also delete a directory that is
1827 # left behind by Apple's compiler. We do this before executing the actions.
1828 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1829 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1830 return $ac_retval
1831
1832 } # ac_fn_c_try_link
1833
1834 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1835 # -------------------------------------------------------
1836 # Tests whether HEADER exists and can be compiled using the include files in
1837 # INCLUDES, setting the cache variable VAR accordingly.
1838 ac_fn_c_check_header_compile ()
1839 {
1840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1842 $as_echo_n "checking for $2... " >&6; }
1843 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1844 $as_echo_n "(cached) " >&6
1845 else
1846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1847 /* end confdefs.h. */
1848 $4
1849 #include <$2>
1850 _ACEOF
1851 if ac_fn_c_try_compile "$LINENO"; then :
1852 eval "$3=yes"
1853 else
1854 eval "$3=no"
1855 fi
1856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1857 fi
1858 eval ac_res=\$$3
1859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1860 $as_echo "$ac_res" >&6; }
1861 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1862
1863 } # ac_fn_c_check_header_compile
1864
1865 # ac_fn_c_try_run LINENO
1866 # ----------------------
1867 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1868 # that executables *can* be run.
1869 ac_fn_c_try_run ()
1870 {
1871 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1872 if { { ac_try="$ac_link"
1873 case "(($ac_try" in
1874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1875 *) ac_try_echo=$ac_try;;
1876 esac
1877 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1878 $as_echo "$ac_try_echo"; } >&5
1879 (eval "$ac_link") 2>&5
1880 ac_status=$?
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1883 { { case "(($ac_try" in
1884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1885 *) ac_try_echo=$ac_try;;
1886 esac
1887 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1888 $as_echo "$ac_try_echo"; } >&5
1889 (eval "$ac_try") 2>&5
1890 ac_status=$?
1891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1892 test $ac_status = 0; }; }; then :
1893 ac_retval=0
1894 else
1895 $as_echo "$as_me: program exited with status $ac_status" >&5
1896 $as_echo "$as_me: failed program was:" >&5
1897 sed 's/^/| /' conftest.$ac_ext >&5
1898
1899 ac_retval=$ac_status
1900 fi
1901 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1902 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1903 return $ac_retval
1904
1905 } # ac_fn_c_try_run
1906
1907 # ac_fn_c_check_func LINENO FUNC VAR
1908 # ----------------------------------
1909 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1910 ac_fn_c_check_func ()
1911 {
1912 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1914 $as_echo_n "checking for $2... " >&6; }
1915 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1916 $as_echo_n "(cached) " >&6
1917 else
1918 if test x$gcc_no_link = xyes; then
1919 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1920 fi
1921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1923 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1924 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1925 #define $2 innocuous_$2
1926
1927 /* System header to define __stub macros and hopefully few prototypes,
1928 which can conflict with char $2 (); below.
1929 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1930 <limits.h> exists even on freestanding compilers. */
1931
1932 #ifdef __STDC__
1933 # include <limits.h>
1934 #else
1935 # include <assert.h>
1936 #endif
1937
1938 #undef $2
1939
1940 /* Override any GCC internal prototype to avoid an error.
1941 Use char because int might match the return type of a GCC
1942 builtin and then its argument prototype would still apply. */
1943 #ifdef __cplusplus
1944 extern "C"
1945 #endif
1946 char $2 ();
1947 /* The GNU C library defines this for functions which it implements
1948 to always fail with ENOSYS. Some functions are actually named
1949 something starting with __ and the normal name is an alias. */
1950 #if defined __stub_$2 || defined __stub___$2
1951 choke me
1952 #endif
1953
1954 int
1955 main ()
1956 {
1957 return $2 ();
1958 ;
1959 return 0;
1960 }
1961 _ACEOF
1962 if ac_fn_c_try_link "$LINENO"; then :
1963 eval "$3=yes"
1964 else
1965 eval "$3=no"
1966 fi
1967 rm -f core conftest.err conftest.$ac_objext \
1968 conftest$ac_exeext conftest.$ac_ext
1969 fi
1970 eval ac_res=\$$3
1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1972 $as_echo "$ac_res" >&6; }
1973 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1974
1975 } # ac_fn_c_check_func
1976
1977 # ac_fn_cxx_try_cpp LINENO
1978 # ------------------------
1979 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1980 ac_fn_cxx_try_cpp ()
1981 {
1982 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1983 if { { ac_try="$ac_cpp conftest.$ac_ext"
1984 case "(($ac_try" in
1985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1986 *) ac_try_echo=$ac_try;;
1987 esac
1988 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1989 $as_echo "$ac_try_echo"; } >&5
1990 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1991 ac_status=$?
1992 if test -s conftest.err; then
1993 grep -v '^ *+' conftest.err >conftest.er1
1994 cat conftest.er1 >&5
1995 mv -f conftest.er1 conftest.err
1996 fi
1997 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1998 test $ac_status = 0; } >/dev/null && {
1999 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2000 test ! -s conftest.err
2001 }; then :
2002 ac_retval=0
2003 else
2004 $as_echo "$as_me: failed program was:" >&5
2005 sed 's/^/| /' conftest.$ac_ext >&5
2006
2007 ac_retval=1
2008 fi
2009 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2010 return $ac_retval
2011
2012 } # ac_fn_cxx_try_cpp
2013
2014 # ac_fn_cxx_try_link LINENO
2015 # -------------------------
2016 # Try to link conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_link ()
2018 {
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 rm -f conftest.$ac_objext conftest$ac_exeext
2021 if { { ac_try="$ac_link"
2022 case "(($ac_try" in
2023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2024 *) ac_try_echo=$ac_try;;
2025 esac
2026 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2027 $as_echo "$ac_try_echo"; } >&5
2028 (eval "$ac_link") 2>conftest.err
2029 ac_status=$?
2030 if test -s conftest.err; then
2031 grep -v '^ *+' conftest.err >conftest.er1
2032 cat conftest.er1 >&5
2033 mv -f conftest.er1 conftest.err
2034 fi
2035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2036 test $ac_status = 0; } && {
2037 test -z "$ac_cxx_werror_flag" ||
2038 test ! -s conftest.err
2039 } && test -s conftest$ac_exeext && {
2040 test "$cross_compiling" = yes ||
2041 $as_test_x conftest$ac_exeext
2042 }; then :
2043 ac_retval=0
2044 else
2045 $as_echo "$as_me: failed program was:" >&5
2046 sed 's/^/| /' conftest.$ac_ext >&5
2047
2048 ac_retval=1
2049 fi
2050 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2051 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2052 # interfere with the next link command; also delete a directory that is
2053 # left behind by Apple's compiler. We do this before executing the actions.
2054 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2056 return $ac_retval
2057
2058 } # ac_fn_cxx_try_link
2059
2060 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2061 # -------------------------------------------------------
2062 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2063 # the include files in INCLUDES and setting the cache variable VAR
2064 # accordingly.
2065 ac_fn_c_check_header_mongrel ()
2066 {
2067 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2068 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2070 $as_echo_n "checking for $2... " >&6; }
2071 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2072 $as_echo_n "(cached) " >&6
2073 fi
2074 eval ac_res=\$$3
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2076 $as_echo "$ac_res" >&6; }
2077 else
2078 # Is the header compilable?
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2080 $as_echo_n "checking $2 usability... " >&6; }
2081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2082 /* end confdefs.h. */
2083 $4
2084 #include <$2>
2085 _ACEOF
2086 if ac_fn_c_try_compile "$LINENO"; then :
2087 ac_header_compiler=yes
2088 else
2089 ac_header_compiler=no
2090 fi
2091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2093 $as_echo "$ac_header_compiler" >&6; }
2094
2095 # Is the header present?
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2097 $as_echo_n "checking $2 presence... " >&6; }
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2100 #include <$2>
2101 _ACEOF
2102 if ac_fn_c_try_cpp "$LINENO"; then :
2103 ac_header_preproc=yes
2104 else
2105 ac_header_preproc=no
2106 fi
2107 rm -f conftest.err conftest.$ac_ext
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2109 $as_echo "$ac_header_preproc" >&6; }
2110
2111 # So? What about this header?
2112 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2113 yes:no: )
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2115 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2117 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2118 ;;
2119 no:yes:* )
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2121 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2123 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2124 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2125 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2127 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2128 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2129 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2130 ;;
2131 esac
2132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2133 $as_echo_n "checking for $2... " >&6; }
2134 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2135 $as_echo_n "(cached) " >&6
2136 else
2137 eval "$3=\$ac_header_compiler"
2138 fi
2139 eval ac_res=\$$3
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2141 $as_echo "$ac_res" >&6; }
2142 fi
2143 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2144
2145 } # ac_fn_c_check_header_mongrel
2146
2147 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2148 # ---------------------------------------------------------
2149 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2150 # the include files in INCLUDES and setting the cache variable VAR
2151 # accordingly.
2152 ac_fn_cxx_check_header_mongrel ()
2153 {
2154 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2155 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2157 $as_echo_n "checking for $2... " >&6; }
2158 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2159 $as_echo_n "(cached) " >&6
2160 fi
2161 eval ac_res=\$$3
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2164 else
2165 # Is the header compilable?
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2167 $as_echo_n "checking $2 usability... " >&6; }
2168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2169 /* end confdefs.h. */
2170 $4
2171 #include <$2>
2172 _ACEOF
2173 if ac_fn_cxx_try_compile "$LINENO"; then :
2174 ac_header_compiler=yes
2175 else
2176 ac_header_compiler=no
2177 fi
2178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2180 $as_echo "$ac_header_compiler" >&6; }
2181
2182 # Is the header present?
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2184 $as_echo_n "checking $2 presence... " >&6; }
2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2187 #include <$2>
2188 _ACEOF
2189 if ac_fn_cxx_try_cpp "$LINENO"; then :
2190 ac_header_preproc=yes
2191 else
2192 ac_header_preproc=no
2193 fi
2194 rm -f conftest.err conftest.$ac_ext
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2196 $as_echo "$ac_header_preproc" >&6; }
2197
2198 # So? What about this header?
2199 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2200 yes:no: )
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2202 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2204 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2205 ;;
2206 no:yes:* )
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2208 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2210 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2212 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2214 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2216 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2217 ;;
2218 esac
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2220 $as_echo_n "checking for $2... " >&6; }
2221 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2222 $as_echo_n "(cached) " >&6
2223 else
2224 eval "$3=\$ac_header_compiler"
2225 fi
2226 eval ac_res=\$$3
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2228 $as_echo "$ac_res" >&6; }
2229 fi
2230 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2231
2232 } # ac_fn_cxx_check_header_mongrel
2233
2234 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2235 # --------------------------------------------
2236 # Tries to find the compile-time value of EXPR in a program that includes
2237 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2238 # computed
2239 ac_fn_c_compute_int ()
2240 {
2241 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2242 if test "$cross_compiling" = yes; then
2243 # Depending upon the size, compute the lo and hi bounds.
2244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2245 /* end confdefs.h. */
2246 $4
2247 int
2248 main ()
2249 {
2250 static int test_array [1 - 2 * !(($2) >= 0)];
2251 test_array [0] = 0
2252
2253 ;
2254 return 0;
2255 }
2256 _ACEOF
2257 if ac_fn_c_try_compile "$LINENO"; then :
2258 ac_lo=0 ac_mid=0
2259 while :; do
2260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2261 /* end confdefs.h. */
2262 $4
2263 int
2264 main ()
2265 {
2266 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2267 test_array [0] = 0
2268
2269 ;
2270 return 0;
2271 }
2272 _ACEOF
2273 if ac_fn_c_try_compile "$LINENO"; then :
2274 ac_hi=$ac_mid; break
2275 else
2276 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2277 if test $ac_lo -le $ac_mid; then
2278 ac_lo= ac_hi=
2279 break
2280 fi
2281 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2282 fi
2283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2284 done
2285 else
2286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2287 /* end confdefs.h. */
2288 $4
2289 int
2290 main ()
2291 {
2292 static int test_array [1 - 2 * !(($2) < 0)];
2293 test_array [0] = 0
2294
2295 ;
2296 return 0;
2297 }
2298 _ACEOF
2299 if ac_fn_c_try_compile "$LINENO"; then :
2300 ac_hi=-1 ac_mid=-1
2301 while :; do
2302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2303 /* end confdefs.h. */
2304 $4
2305 int
2306 main ()
2307 {
2308 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2309 test_array [0] = 0
2310
2311 ;
2312 return 0;
2313 }
2314 _ACEOF
2315 if ac_fn_c_try_compile "$LINENO"; then :
2316 ac_lo=$ac_mid; break
2317 else
2318 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2319 if test $ac_mid -le $ac_hi; then
2320 ac_lo= ac_hi=
2321 break
2322 fi
2323 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2324 fi
2325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2326 done
2327 else
2328 ac_lo= ac_hi=
2329 fi
2330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2331 fi
2332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2333 # Binary search between lo and hi bounds.
2334 while test "x$ac_lo" != "x$ac_hi"; do
2335 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2338 $4
2339 int
2340 main ()
2341 {
2342 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2343 test_array [0] = 0
2344
2345 ;
2346 return 0;
2347 }
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_hi=$ac_mid
2351 else
2352 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2353 fi
2354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2355 done
2356 case $ac_lo in #((
2357 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2358 '') ac_retval=1 ;;
2359 esac
2360 else
2361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2362 /* end confdefs.h. */
2363 $4
2364 static long int longval () { return $2; }
2365 static unsigned long int ulongval () { return $2; }
2366 #include <stdio.h>
2367 #include <stdlib.h>
2368 int
2369 main ()
2370 {
2371
2372 FILE *f = fopen ("conftest.val", "w");
2373 if (! f)
2374 return 1;
2375 if (($2) < 0)
2376 {
2377 long int i = longval ();
2378 if (i != ($2))
2379 return 1;
2380 fprintf (f, "%ld", i);
2381 }
2382 else
2383 {
2384 unsigned long int i = ulongval ();
2385 if (i != ($2))
2386 return 1;
2387 fprintf (f, "%lu", i);
2388 }
2389 /* Do not output a trailing newline, as this causes \r\n confusion
2390 on some platforms. */
2391 return ferror (f) || fclose (f) != 0;
2392
2393 ;
2394 return 0;
2395 }
2396 _ACEOF
2397 if ac_fn_c_try_run "$LINENO"; then :
2398 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2399 else
2400 ac_retval=1
2401 fi
2402 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2403 conftest.$ac_objext conftest.beam conftest.$ac_ext
2404 rm -f conftest.val
2405
2406 fi
2407 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2408 return $ac_retval
2409
2410 } # ac_fn_c_compute_int
2411
2412 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2413 # -------------------------------------------
2414 # Tests whether TYPE exists after having included INCLUDES, setting cache
2415 # variable VAR accordingly.
2416 ac_fn_c_check_type ()
2417 {
2418 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2420 $as_echo_n "checking for $2... " >&6; }
2421 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2422 $as_echo_n "(cached) " >&6
2423 else
2424 eval "$3=no"
2425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2426 /* end confdefs.h. */
2427 $4
2428 int
2429 main ()
2430 {
2431 if (sizeof ($2))
2432 return 0;
2433 ;
2434 return 0;
2435 }
2436 _ACEOF
2437 if ac_fn_c_try_compile "$LINENO"; then :
2438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2439 /* end confdefs.h. */
2440 $4
2441 int
2442 main ()
2443 {
2444 if (sizeof (($2)))
2445 return 0;
2446 ;
2447 return 0;
2448 }
2449 _ACEOF
2450 if ac_fn_c_try_compile "$LINENO"; then :
2451
2452 else
2453 eval "$3=yes"
2454 fi
2455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2456 fi
2457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2458 fi
2459 eval ac_res=\$$3
2460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2461 $as_echo "$ac_res" >&6; }
2462 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2463
2464 } # ac_fn_c_check_type
2465 cat >config.log <<_ACEOF
2466 This file contains any messages produced by compilers while
2467 running configure, to aid debugging if configure makes a mistake.
2468
2469 It was created by package-unused $as_me version-unused, which was
2470 generated by GNU Autoconf 2.64. Invocation command line was
2471
2472 $ $0 $@
2473
2474 _ACEOF
2475 exec 5>>config.log
2476 {
2477 cat <<_ASUNAME
2478 ## --------- ##
2479 ## Platform. ##
2480 ## --------- ##
2481
2482 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2483 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2484 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2485 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2486 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2487
2488 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2489 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2490
2491 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2492 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2493 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2494 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2495 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2496 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2497 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2498
2499 _ASUNAME
2500
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2502 for as_dir in $PATH
2503 do
2504 IFS=$as_save_IFS
2505 test -z "$as_dir" && as_dir=.
2506 $as_echo "PATH: $as_dir"
2507 done
2508 IFS=$as_save_IFS
2509
2510 } >&5
2511
2512 cat >&5 <<_ACEOF
2513
2514
2515 ## ----------- ##
2516 ## Core tests. ##
2517 ## ----------- ##
2518
2519 _ACEOF
2520
2521
2522 # Keep a trace of the command line.
2523 # Strip out --no-create and --no-recursion so they do not pile up.
2524 # Strip out --silent because we don't want to record it for future runs.
2525 # Also quote any args containing shell meta-characters.
2526 # Make two passes to allow for proper duplicate-argument suppression.
2527 ac_configure_args=
2528 ac_configure_args0=
2529 ac_configure_args1=
2530 ac_must_keep_next=false
2531 for ac_pass in 1 2
2532 do
2533 for ac_arg
2534 do
2535 case $ac_arg in
2536 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2538 | -silent | --silent | --silen | --sile | --sil)
2539 continue ;;
2540 *\'*)
2541 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2542 esac
2543 case $ac_pass in
2544 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2545 2)
2546 as_fn_append ac_configure_args1 " '$ac_arg'"
2547 if test $ac_must_keep_next = true; then
2548 ac_must_keep_next=false # Got value, back to normal.
2549 else
2550 case $ac_arg in
2551 *=* | --config-cache | -C | -disable-* | --disable-* \
2552 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2553 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2554 | -with-* | --with-* | -without-* | --without-* | --x)
2555 case "$ac_configure_args0 " in
2556 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2557 esac
2558 ;;
2559 -* ) ac_must_keep_next=true ;;
2560 esac
2561 fi
2562 as_fn_append ac_configure_args " '$ac_arg'"
2563 ;;
2564 esac
2565 done
2566 done
2567 { ac_configure_args0=; unset ac_configure_args0;}
2568 { ac_configure_args1=; unset ac_configure_args1;}
2569
2570 # When interrupted or exit'd, cleanup temporary files, and complete
2571 # config.log. We remove comments because anyway the quotes in there
2572 # would cause problems or look ugly.
2573 # WARNING: Use '\'' to represent an apostrophe within the trap.
2574 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2575 trap 'exit_status=$?
2576 # Save into config.log some information that might help in debugging.
2577 {
2578 echo
2579
2580 cat <<\_ASBOX
2581 ## ---------------- ##
2582 ## Cache variables. ##
2583 ## ---------------- ##
2584 _ASBOX
2585 echo
2586 # The following way of writing the cache mishandles newlines in values,
2587 (
2588 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2589 eval ac_val=\$$ac_var
2590 case $ac_val in #(
2591 *${as_nl}*)
2592 case $ac_var in #(
2593 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2594 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2595 esac
2596 case $ac_var in #(
2597 _ | IFS | as_nl) ;; #(
2598 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2599 *) { eval $ac_var=; unset $ac_var;} ;;
2600 esac ;;
2601 esac
2602 done
2603 (set) 2>&1 |
2604 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2605 *${as_nl}ac_space=\ *)
2606 sed -n \
2607 "s/'\''/'\''\\\\'\'''\''/g;
2608 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2609 ;; #(
2610 *)
2611 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2612 ;;
2613 esac |
2614 sort
2615 )
2616 echo
2617
2618 cat <<\_ASBOX
2619 ## ----------------- ##
2620 ## Output variables. ##
2621 ## ----------------- ##
2622 _ASBOX
2623 echo
2624 for ac_var in $ac_subst_vars
2625 do
2626 eval ac_val=\$$ac_var
2627 case $ac_val in
2628 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2629 esac
2630 $as_echo "$ac_var='\''$ac_val'\''"
2631 done | sort
2632 echo
2633
2634 if test -n "$ac_subst_files"; then
2635 cat <<\_ASBOX
2636 ## ------------------- ##
2637 ## File substitutions. ##
2638 ## ------------------- ##
2639 _ASBOX
2640 echo
2641 for ac_var in $ac_subst_files
2642 do
2643 eval ac_val=\$$ac_var
2644 case $ac_val in
2645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2646 esac
2647 $as_echo "$ac_var='\''$ac_val'\''"
2648 done | sort
2649 echo
2650 fi
2651
2652 if test -s confdefs.h; then
2653 cat <<\_ASBOX
2654 ## ----------- ##
2655 ## confdefs.h. ##
2656 ## ----------- ##
2657 _ASBOX
2658 echo
2659 cat confdefs.h
2660 echo
2661 fi
2662 test "$ac_signal" != 0 &&
2663 $as_echo "$as_me: caught signal $ac_signal"
2664 $as_echo "$as_me: exit $exit_status"
2665 } >&5
2666 rm -f core *.core core.conftest.* &&
2667 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2668 exit $exit_status
2669 ' 0
2670 for ac_signal in 1 2 13 15; do
2671 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2672 done
2673 ac_signal=0
2674
2675 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2676 rm -f -r conftest* confdefs.h
2677
2678 $as_echo "/* confdefs.h */" > confdefs.h
2679
2680 # Predefined preprocessor variables.
2681
2682 cat >>confdefs.h <<_ACEOF
2683 #define PACKAGE_NAME "$PACKAGE_NAME"
2684 _ACEOF
2685
2686 cat >>confdefs.h <<_ACEOF
2687 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2688 _ACEOF
2689
2690 cat >>confdefs.h <<_ACEOF
2691 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2692 _ACEOF
2693
2694 cat >>confdefs.h <<_ACEOF
2695 #define PACKAGE_STRING "$PACKAGE_STRING"
2696 _ACEOF
2697
2698 cat >>confdefs.h <<_ACEOF
2699 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2700 _ACEOF
2701
2702 cat >>confdefs.h <<_ACEOF
2703 #define PACKAGE_URL "$PACKAGE_URL"
2704 _ACEOF
2705
2706
2707 # Let the site file select an alternate cache file if it wants to.
2708 # Prefer an explicitly selected file to automatically selected ones.
2709 ac_site_file1=NONE
2710 ac_site_file2=NONE
2711 if test -n "$CONFIG_SITE"; then
2712 ac_site_file1=$CONFIG_SITE
2713 elif test "x$prefix" != xNONE; then
2714 ac_site_file1=$prefix/share/config.site
2715 ac_site_file2=$prefix/etc/config.site
2716 else
2717 ac_site_file1=$ac_default_prefix/share/config.site
2718 ac_site_file2=$ac_default_prefix/etc/config.site
2719 fi
2720 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2721 do
2722 test "x$ac_site_file" = xNONE && continue
2723 if test -r "$ac_site_file"; then
2724 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2725 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2726 sed 's/^/| /' "$ac_site_file" >&5
2727 . "$ac_site_file"
2728 fi
2729 done
2730
2731 if test -r "$cache_file"; then
2732 # Some versions of bash will fail to source /dev/null (special
2733 # files actually), so we avoid doing that.
2734 if test -f "$cache_file"; then
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2736 $as_echo "$as_me: loading cache $cache_file" >&6;}
2737 case $cache_file in
2738 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2739 *) . "./$cache_file";;
2740 esac
2741 fi
2742 else
2743 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2744 $as_echo "$as_me: creating cache $cache_file" >&6;}
2745 >$cache_file
2746 fi
2747
2748 # Check that the precious variables saved in the cache have kept the same
2749 # value.
2750 ac_cache_corrupted=false
2751 for ac_var in $ac_precious_vars; do
2752 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2753 eval ac_new_set=\$ac_env_${ac_var}_set
2754 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2755 eval ac_new_val=\$ac_env_${ac_var}_value
2756 case $ac_old_set,$ac_new_set in
2757 set,)
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2759 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2760 ac_cache_corrupted=: ;;
2761 ,set)
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2763 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2764 ac_cache_corrupted=: ;;
2765 ,);;
2766 *)
2767 if test "x$ac_old_val" != "x$ac_new_val"; then
2768 # differences in whitespace do not lead to failure.
2769 ac_old_val_w=`echo x $ac_old_val`
2770 ac_new_val_w=`echo x $ac_new_val`
2771 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2773 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2774 ac_cache_corrupted=:
2775 else
2776 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2777 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2778 eval $ac_var=\$ac_old_val
2779 fi
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2781 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2783 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2784 fi;;
2785 esac
2786 # Pass precious variables to config.status.
2787 if test "$ac_new_set" = set; then
2788 case $ac_new_val in
2789 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2790 *) ac_arg=$ac_var=$ac_new_val ;;
2791 esac
2792 case " $ac_configure_args " in
2793 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2794 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2795 esac
2796 fi
2797 done
2798 if $ac_cache_corrupted; then
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2800 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2801 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2802 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2803 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2804 fi
2805 ## -------------------- ##
2806 ## Main body of script. ##
2807 ## -------------------- ##
2808
2809 ac_ext=c
2810 ac_cpp='$CPP $CPPFLAGS'
2811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2814
2815
2816
2817
2818
2819
2820 ac_config_headers="$ac_config_headers config.h"
2821
2822
2823 # This works around the fact that libtool configuration may change LD
2824 # for this particular configuration, but some shells, instead of
2825 # keeping the changes in LD private, export them just because LD is
2826 # exported. Only used at the end of this file.
2827 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2828
2829 # Find the rest of the source tree framework.
2830 # Default to --enable-multilib
2831 # Check whether --enable-multilib was given.
2832 if test "${enable_multilib+set}" = set; then :
2833 enableval=$enable_multilib; case "$enableval" in
2834 yes) multilib=yes ;;
2835 no) multilib=no ;;
2836 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2837 esac
2838 else
2839 multilib=yes
2840 fi
2841
2842
2843 # We may get other options which we leave undocumented:
2844 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2845 # See config-ml.in if you want the gory details.
2846
2847 if test "$srcdir" = "."; then
2848 if test "$with_target_subdir" != "."; then
2849 multi_basedir="$srcdir/$with_multisrctop../.."
2850 else
2851 multi_basedir="$srcdir/$with_multisrctop.."
2852 fi
2853 else
2854 multi_basedir="$srcdir/.."
2855 fi
2856
2857
2858 # Even if the default multilib is not a cross compilation,
2859 # it may be that some of the other multilibs are.
2860 if test $cross_compiling = no && test $multilib = yes \
2861 && test "x${with_multisubdir}" != x ; then
2862 cross_compiling=maybe
2863 fi
2864
2865 ac_config_commands="$ac_config_commands default-1"
2866
2867
2868 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2869 #
2870 # You will slowly go insane if you do not grok the following fact: when
2871 # building v3 as part of the compiler, the top-level /target/ becomes the
2872 # library's /host/. configure then causes --target to default to --host,
2873 # exactly like any other package using autoconf. Therefore, 'target' and
2874 # 'host' will always be the same. This makes sense both for native and
2875 # cross compilers, just think about it for a little while. :-)
2876 #
2877 # Also, if v3 is being configured as part of a cross compiler, the top-level
2878 # configure script will pass the "real" host as $with_cross_host.
2879 #
2880 # Do not delete or change the following two lines. For why, see
2881 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2882 ac_aux_dir=
2883 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2884 for ac_t in install-sh install.sh shtool; do
2885 if test -f "$ac_dir/$ac_t"; then
2886 ac_aux_dir=$ac_dir
2887 ac_install_sh="$ac_aux_dir/$ac_t -c"
2888 break 2
2889 fi
2890 done
2891 done
2892 if test -z "$ac_aux_dir"; then
2893 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2894 fi
2895
2896 # These three variables are undocumented and unsupported,
2897 # and are intended to be withdrawn in a future Autoconf release.
2898 # They can cause serious problems if a builder's source tree is in a directory
2899 # whose full name contains unusual characters.
2900 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2901 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2902 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2903
2904
2905 # Make sure we can run config.sub.
2906 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2907 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2908
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2910 $as_echo_n "checking build system type... " >&6; }
2911 if test "${ac_cv_build+set}" = set; then :
2912 $as_echo_n "(cached) " >&6
2913 else
2914 ac_build_alias=$build_alias
2915 test "x$ac_build_alias" = x &&
2916 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2917 test "x$ac_build_alias" = x &&
2918 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2919 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2920 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2921
2922 fi
2923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2924 $as_echo "$ac_cv_build" >&6; }
2925 case $ac_cv_build in
2926 *-*-*) ;;
2927 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2928 esac
2929 build=$ac_cv_build
2930 ac_save_IFS=$IFS; IFS='-'
2931 set x $ac_cv_build
2932 shift
2933 build_cpu=$1
2934 build_vendor=$2
2935 shift; shift
2936 # Remember, the first character of IFS is used to create $*,
2937 # except with old shells:
2938 build_os=$*
2939 IFS=$ac_save_IFS
2940 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2941
2942
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2944 $as_echo_n "checking host system type... " >&6; }
2945 if test "${ac_cv_host+set}" = set; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 if test "x$host_alias" = x; then
2949 ac_cv_host=$ac_cv_build
2950 else
2951 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2952 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2953 fi
2954
2955 fi
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2957 $as_echo "$ac_cv_host" >&6; }
2958 case $ac_cv_host in
2959 *-*-*) ;;
2960 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2961 esac
2962 host=$ac_cv_host
2963 ac_save_IFS=$IFS; IFS='-'
2964 set x $ac_cv_host
2965 shift
2966 host_cpu=$1
2967 host_vendor=$2
2968 shift; shift
2969 # Remember, the first character of IFS is used to create $*,
2970 # except with old shells:
2971 host_os=$*
2972 IFS=$ac_save_IFS
2973 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2974
2975
2976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2977 $as_echo_n "checking target system type... " >&6; }
2978 if test "${ac_cv_target+set}" = set; then :
2979 $as_echo_n "(cached) " >&6
2980 else
2981 if test "x$target_alias" = x; then
2982 ac_cv_target=$ac_cv_host
2983 else
2984 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2985 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
2986 fi
2987
2988 fi
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
2990 $as_echo "$ac_cv_target" >&6; }
2991 case $ac_cv_target in
2992 *-*-*) ;;
2993 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
2994 esac
2995 target=$ac_cv_target
2996 ac_save_IFS=$IFS; IFS='-'
2997 set x $ac_cv_target
2998 shift
2999 target_cpu=$1
3000 target_vendor=$2
3001 shift; shift
3002 # Remember, the first character of IFS is used to create $*,
3003 # except with old shells:
3004 target_os=$*
3005 IFS=$ac_save_IFS
3006 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3007
3008
3009 # The aliases save the names the user supplied, while $host etc.
3010 # will get canonicalized.
3011 test -n "$target_alias" &&
3012 test "$program_prefix$program_suffix$program_transform_name" = \
3013 NONENONEs,x,x, &&
3014 program_prefix=${target_alias}-
3015
3016 target_alias=${target_alias-$host_alias}
3017
3018 # Handy for debugging:
3019 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3020
3021 if test "$build" != "$host"; then
3022 # We are being configured with some form of cross compiler.
3023 GLIBCXX_IS_NATIVE=false
3024 case "$host","$target" in
3025 # Darwin crosses can use the host system's libraries and headers,
3026 # because of the fat library support. Of course, it must be the
3027 # same version of Darwin on both sides. Allow the user to
3028 # just say --target=foo-darwin without a version number to mean
3029 # "the version on this system".
3030 *-*-darwin*,*-*-darwin*)
3031 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3032 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3033 if test $hostos = $targetos -o $targetos = darwin ; then
3034 GLIBCXX_IS_NATIVE=true
3035 fi
3036 ;;
3037
3038 *)
3039
3040 ;;
3041 esac
3042 else
3043 GLIBCXX_IS_NATIVE=true
3044 fi
3045
3046 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3047 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3048 # 1.x: minimum required version
3049 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3050 # of other PACKAGE_* variables will, however, and there's nothing
3051 # we can do about that; they come from AC_INIT).
3052 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3053 # file in the top srcdir, etc, etc), so stop complaining.
3054 # no-dependencies: turns off auto dependency generation (just for now)
3055 # no-dist: we don't want 'dist' and related rules.
3056 # -Wall: turns on all automake warnings...
3057 # -Wno-portability: ...except this one, since GNU make is now required.
3058 am__api_version='1.11'
3059
3060 # Find a good install program. We prefer a C program (faster),
3061 # so one script is as good as another. But avoid the broken or
3062 # incompatible versions:
3063 # SysV /etc/install, /usr/sbin/install
3064 # SunOS /usr/etc/install
3065 # IRIX /sbin/install
3066 # AIX /bin/install
3067 # AmigaOS /C/install, which installs bootblocks on floppy discs
3068 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3069 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3070 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3071 # OS/2's system install, which has a completely different semantic
3072 # ./install, which can be erroneously created by make from ./install.sh.
3073 # Reject install programs that cannot install multiple files.
3074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3075 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3076 if test -z "$INSTALL"; then
3077 if test "${ac_cv_path_install+set}" = set; then :
3078 $as_echo_n "(cached) " >&6
3079 else
3080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3081 for as_dir in $PATH
3082 do
3083 IFS=$as_save_IFS
3084 test -z "$as_dir" && as_dir=.
3085 # Account for people who put trailing slashes in PATH elements.
3086 case $as_dir/ in #((
3087 ./ | .// | /[cC]/* | \
3088 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3089 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3090 /usr/ucb/* ) ;;
3091 *)
3092 # OSF1 and SCO ODT 3.0 have their own names for install.
3093 # Don't use installbsd from OSF since it installs stuff as root
3094 # by default.
3095 for ac_prog in ginstall scoinst install; do
3096 for ac_exec_ext in '' $ac_executable_extensions; do
3097 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3098 if test $ac_prog = install &&
3099 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3100 # AIX install. It has an incompatible calling convention.
3101 :
3102 elif test $ac_prog = install &&
3103 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3104 # program-specific install script used by HP pwplus--don't use.
3105 :
3106 else
3107 rm -rf conftest.one conftest.two conftest.dir
3108 echo one > conftest.one
3109 echo two > conftest.two
3110 mkdir conftest.dir
3111 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3112 test -s conftest.one && test -s conftest.two &&
3113 test -s conftest.dir/conftest.one &&
3114 test -s conftest.dir/conftest.two
3115 then
3116 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3117 break 3
3118 fi
3119 fi
3120 fi
3121 done
3122 done
3123 ;;
3124 esac
3125
3126 done
3127 IFS=$as_save_IFS
3128
3129 rm -rf conftest.one conftest.two conftest.dir
3130
3131 fi
3132 if test "${ac_cv_path_install+set}" = set; then
3133 INSTALL=$ac_cv_path_install
3134 else
3135 # As a last resort, use the slow shell script. Don't cache a
3136 # value for INSTALL within a source directory, because that will
3137 # break other packages using the cache if that directory is
3138 # removed, or if the value is a relative name.
3139 INSTALL=$ac_install_sh
3140 fi
3141 fi
3142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3143 $as_echo "$INSTALL" >&6; }
3144
3145 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3146 # It thinks the first close brace ends the variable substitution.
3147 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3148
3149 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3150
3151 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3152
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3154 $as_echo_n "checking whether build environment is sane... " >&6; }
3155 # Just in case
3156 sleep 1
3157 echo timestamp > conftest.file
3158 # Reject unsafe characters in $srcdir or the absolute working directory
3159 # name. Accept space and tab only in the latter.
3160 am_lf='
3161 '
3162 case `pwd` in
3163 *[\\\"\#\$\&\'\`$am_lf]*)
3164 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3165 esac
3166 case $srcdir in
3167 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3168 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3169 esac
3170
3171 # Do `set' in a subshell so we don't clobber the current shell's
3172 # arguments. Must try -L first in case configure is actually a
3173 # symlink; some systems play weird games with the mod time of symlinks
3174 # (eg FreeBSD returns the mod time of the symlink's containing
3175 # directory).
3176 if (
3177 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3178 if test "$*" = "X"; then
3179 # -L didn't work.
3180 set X `ls -t "$srcdir/configure" conftest.file`
3181 fi
3182 rm -f conftest.file
3183 if test "$*" != "X $srcdir/configure conftest.file" \
3184 && test "$*" != "X conftest.file $srcdir/configure"; then
3185
3186 # If neither matched, then we have a broken ls. This can happen
3187 # if, for instance, CONFIG_SHELL is bash and it inherits a
3188 # broken ls alias from the environment. This has actually
3189 # happened. Such a system could not be considered "sane".
3190 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3191 alias in your environment" "$LINENO" 5
3192 fi
3193
3194 test "$2" = conftest.file
3195 )
3196 then
3197 # Ok.
3198 :
3199 else
3200 as_fn_error "newly created file is older than distributed files!
3201 Check your system clock" "$LINENO" 5
3202 fi
3203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3204 $as_echo "yes" >&6; }
3205 test "$program_prefix" != NONE &&
3206 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3207 # Use a double $ so make ignores it.
3208 test "$program_suffix" != NONE &&
3209 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3210 # Double any \ or $.
3211 # By default was `s,x,x', remove it if useless.
3212 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3213 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3214
3215 # expand $ac_aux_dir to an absolute path
3216 am_aux_dir=`cd $ac_aux_dir && pwd`
3217
3218 if test x"${MISSING+set}" != xset; then
3219 case $am_aux_dir in
3220 *\ * | *\ *)
3221 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3222 *)
3223 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3224 esac
3225 fi
3226 # Use eval to expand $SHELL
3227 if eval "$MISSING --run true"; then
3228 am_missing_run="$MISSING --run "
3229 else
3230 am_missing_run=
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3232 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3233 fi
3234
3235 if test x"${install_sh}" != xset; then
3236 case $am_aux_dir in
3237 *\ * | *\ *)
3238 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3239 *)
3240 install_sh="\${SHELL} $am_aux_dir/install-sh"
3241 esac
3242 fi
3243
3244 # Installed binaries are usually stripped using `strip' when the user
3245 # run `make install-strip'. However `strip' might not be the right
3246 # tool to use in cross-compilation environments, therefore Automake
3247 # will honor the `STRIP' environment variable to overrule this program.
3248 if test "$cross_compiling" != no; then
3249 if test -n "$ac_tool_prefix"; then
3250 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3251 set dummy ${ac_tool_prefix}strip; ac_word=$2
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3253 $as_echo_n "checking for $ac_word... " >&6; }
3254 if test "${ac_cv_prog_STRIP+set}" = set; then :
3255 $as_echo_n "(cached) " >&6
3256 else
3257 if test -n "$STRIP"; then
3258 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3259 else
3260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3261 for as_dir in $PATH
3262 do
3263 IFS=$as_save_IFS
3264 test -z "$as_dir" && as_dir=.
3265 for ac_exec_ext in '' $ac_executable_extensions; do
3266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3267 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3269 break 2
3270 fi
3271 done
3272 done
3273 IFS=$as_save_IFS
3274
3275 fi
3276 fi
3277 STRIP=$ac_cv_prog_STRIP
3278 if test -n "$STRIP"; then
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3280 $as_echo "$STRIP" >&6; }
3281 else
3282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3283 $as_echo "no" >&6; }
3284 fi
3285
3286
3287 fi
3288 if test -z "$ac_cv_prog_STRIP"; then
3289 ac_ct_STRIP=$STRIP
3290 # Extract the first word of "strip", so it can be a program name with args.
3291 set dummy strip; ac_word=$2
3292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3293 $as_echo_n "checking for $ac_word... " >&6; }
3294 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3295 $as_echo_n "(cached) " >&6
3296 else
3297 if test -n "$ac_ct_STRIP"; then
3298 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3299 else
3300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3301 for as_dir in $PATH
3302 do
3303 IFS=$as_save_IFS
3304 test -z "$as_dir" && as_dir=.
3305 for ac_exec_ext in '' $ac_executable_extensions; do
3306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3307 ac_cv_prog_ac_ct_STRIP="strip"
3308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3309 break 2
3310 fi
3311 done
3312 done
3313 IFS=$as_save_IFS
3314
3315 fi
3316 fi
3317 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3318 if test -n "$ac_ct_STRIP"; then
3319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3320 $as_echo "$ac_ct_STRIP" >&6; }
3321 else
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3323 $as_echo "no" >&6; }
3324 fi
3325
3326 if test "x$ac_ct_STRIP" = x; then
3327 STRIP=":"
3328 else
3329 case $cross_compiling:$ac_tool_warned in
3330 yes:)
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3332 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3333 ac_tool_warned=yes ;;
3334 esac
3335 STRIP=$ac_ct_STRIP
3336 fi
3337 else
3338 STRIP="$ac_cv_prog_STRIP"
3339 fi
3340
3341 fi
3342 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3343
3344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3345 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3346 if test -z "$MKDIR_P"; then
3347 if test "${ac_cv_path_mkdir+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3351 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3352 do
3353 IFS=$as_save_IFS
3354 test -z "$as_dir" && as_dir=.
3355 for ac_prog in mkdir gmkdir; do
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3358 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3359 'mkdir (GNU coreutils) '* | \
3360 'mkdir (coreutils) '* | \
3361 'mkdir (fileutils) '4.1*)
3362 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3363 break 3;;
3364 esac
3365 done
3366 done
3367 done
3368 IFS=$as_save_IFS
3369
3370 fi
3371
3372 if test "${ac_cv_path_mkdir+set}" = set; then
3373 MKDIR_P="$ac_cv_path_mkdir -p"
3374 else
3375 # As a last resort, use the slow shell script. Don't cache a
3376 # value for MKDIR_P within a source directory, because that will
3377 # break other packages using the cache if that directory is
3378 # removed, or if the value is a relative name.
3379 test -d ./--version && rmdir ./--version
3380 MKDIR_P="$ac_install_sh -d"
3381 fi
3382 fi
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3384 $as_echo "$MKDIR_P" >&6; }
3385
3386 mkdir_p="$MKDIR_P"
3387 case $mkdir_p in
3388 [\\/$]* | ?:[\\/]*) ;;
3389 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3390 esac
3391
3392 for ac_prog in gawk mawk nawk awk
3393 do
3394 # Extract the first word of "$ac_prog", so it can be a program name with args.
3395 set dummy $ac_prog; ac_word=$2
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3397 $as_echo_n "checking for $ac_word... " >&6; }
3398 if test "${ac_cv_prog_AWK+set}" = set; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 if test -n "$AWK"; then
3402 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3403 else
3404 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3405 for as_dir in $PATH
3406 do
3407 IFS=$as_save_IFS
3408 test -z "$as_dir" && as_dir=.
3409 for ac_exec_ext in '' $ac_executable_extensions; do
3410 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3411 ac_cv_prog_AWK="$ac_prog"
3412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3413 break 2
3414 fi
3415 done
3416 done
3417 IFS=$as_save_IFS
3418
3419 fi
3420 fi
3421 AWK=$ac_cv_prog_AWK
3422 if test -n "$AWK"; then
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3424 $as_echo "$AWK" >&6; }
3425 else
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3427 $as_echo "no" >&6; }
3428 fi
3429
3430
3431 test -n "$AWK" && break
3432 done
3433
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3435 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3436 set x ${MAKE-make}
3437 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3438 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 cat >conftest.make <<\_ACEOF
3442 SHELL = /bin/sh
3443 all:
3444 @echo '@@@%%%=$(MAKE)=@@@%%%'
3445 _ACEOF
3446 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3447 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3448 *@@@%%%=?*=@@@%%%*)
3449 eval ac_cv_prog_make_${ac_make}_set=yes;;
3450 *)
3451 eval ac_cv_prog_make_${ac_make}_set=no;;
3452 esac
3453 rm -f conftest.make
3454 fi
3455 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3457 $as_echo "yes" >&6; }
3458 SET_MAKE=
3459 else
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3462 SET_MAKE="MAKE=${MAKE-make}"
3463 fi
3464
3465 rm -rf .tst 2>/dev/null
3466 mkdir .tst 2>/dev/null
3467 if test -d .tst; then
3468 am__leading_dot=.
3469 else
3470 am__leading_dot=_
3471 fi
3472 rmdir .tst 2>/dev/null
3473
3474 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3475 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3476 # is not polluted with repeated "-I."
3477 am__isrc=' -I$(srcdir)'
3478 # test to see if srcdir already configured
3479 if test -f $srcdir/config.status; then
3480 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3481 fi
3482 fi
3483
3484 # test whether we have cygpath
3485 if test -z "$CYGPATH_W"; then
3486 if (cygpath --version) >/dev/null 2>/dev/null; then
3487 CYGPATH_W='cygpath -w'
3488 else
3489 CYGPATH_W=echo
3490 fi
3491 fi
3492
3493
3494 # Define the identity of the package.
3495 PACKAGE='libstdc++'
3496 VERSION='version-unused'
3497
3498
3499 # Some tools Automake needs.
3500
3501 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3502
3503
3504 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3505
3506
3507 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3508
3509
3510 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3511
3512
3513 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3514
3515 # We need awk for the "check" target. The system "awk" is bad on
3516 # some platforms.
3517 # Always define AMTAR for backward compatibility.
3518
3519 AMTAR=${AMTAR-"${am_missing_run}tar"}
3520
3521 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3522
3523
3524
3525
3526
3527
3528
3529
3530 # -fno-builtin must be present here so that a non-conflicting form of
3531 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3532
3533 save_CXXFLAGS="$CXXFLAGS"
3534 CXXFLAGS="$CXXFLAGS -fno-builtin"
3535 ac_ext=c
3536 ac_cpp='$CPP $CPPFLAGS'
3537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3540 if test -n "$ac_tool_prefix"; then
3541 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3542 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3544 $as_echo_n "checking for $ac_word... " >&6; }
3545 if test "${ac_cv_prog_CC+set}" = set; then :
3546 $as_echo_n "(cached) " >&6
3547 else
3548 if test -n "$CC"; then
3549 ac_cv_prog_CC="$CC" # Let the user override the test.
3550 else
3551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3552 for as_dir in $PATH
3553 do
3554 IFS=$as_save_IFS
3555 test -z "$as_dir" && as_dir=.
3556 for ac_exec_ext in '' $ac_executable_extensions; do
3557 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3558 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3560 break 2
3561 fi
3562 done
3563 done
3564 IFS=$as_save_IFS
3565
3566 fi
3567 fi
3568 CC=$ac_cv_prog_CC
3569 if test -n "$CC"; then
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3571 $as_echo "$CC" >&6; }
3572 else
3573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3574 $as_echo "no" >&6; }
3575 fi
3576
3577
3578 fi
3579 if test -z "$ac_cv_prog_CC"; then
3580 ac_ct_CC=$CC
3581 # Extract the first word of "gcc", so it can be a program name with args.
3582 set dummy gcc; ac_word=$2
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3584 $as_echo_n "checking for $ac_word... " >&6; }
3585 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3586 $as_echo_n "(cached) " >&6
3587 else
3588 if test -n "$ac_ct_CC"; then
3589 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3590 else
3591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3592 for as_dir in $PATH
3593 do
3594 IFS=$as_save_IFS
3595 test -z "$as_dir" && as_dir=.
3596 for ac_exec_ext in '' $ac_executable_extensions; do
3597 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3598 ac_cv_prog_ac_ct_CC="gcc"
3599 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3600 break 2
3601 fi
3602 done
3603 done
3604 IFS=$as_save_IFS
3605
3606 fi
3607 fi
3608 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3609 if test -n "$ac_ct_CC"; then
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3611 $as_echo "$ac_ct_CC" >&6; }
3612 else
3613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3614 $as_echo "no" >&6; }
3615 fi
3616
3617 if test "x$ac_ct_CC" = x; then
3618 CC=""
3619 else
3620 case $cross_compiling:$ac_tool_warned in
3621 yes:)
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3623 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3624 ac_tool_warned=yes ;;
3625 esac
3626 CC=$ac_ct_CC
3627 fi
3628 else
3629 CC="$ac_cv_prog_CC"
3630 fi
3631
3632 if test -z "$CC"; then
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}cc; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3646 do
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_CC="${ac_tool_prefix}cc"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3654 fi
3655 done
3656 done
3657 IFS=$as_save_IFS
3658
3659 fi
3660 fi
3661 CC=$ac_cv_prog_CC
3662 if test -n "$CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 $as_echo "$CC" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3668 fi
3669
3670
3671 fi
3672 fi
3673 if test -z "$CC"; then
3674 # Extract the first word of "cc", so it can be a program name with args.
3675 set dummy cc; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if test "${ac_cv_prog_CC+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$CC"; then
3682 ac_cv_prog_CC="$CC" # Let the user override the test.
3683 else
3684 ac_prog_rejected=no
3685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3686 for as_dir in $PATH
3687 do
3688 IFS=$as_save_IFS
3689 test -z "$as_dir" && as_dir=.
3690 for ac_exec_ext in '' $ac_executable_extensions; do
3691 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3692 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3693 ac_prog_rejected=yes
3694 continue
3695 fi
3696 ac_cv_prog_CC="cc"
3697 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3698 break 2
3699 fi
3700 done
3701 done
3702 IFS=$as_save_IFS
3703
3704 if test $ac_prog_rejected = yes; then
3705 # We found a bogon in the path, so make sure we never use it.
3706 set dummy $ac_cv_prog_CC
3707 shift
3708 if test $# != 0; then
3709 # We chose a different compiler from the bogus one.
3710 # However, it has the same basename, so the bogon will be chosen
3711 # first if we set CC to just the basename; use the full file name.
3712 shift
3713 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3714 fi
3715 fi
3716 fi
3717 fi
3718 CC=$ac_cv_prog_CC
3719 if test -n "$CC"; then
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3721 $as_echo "$CC" >&6; }
3722 else
3723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3724 $as_echo "no" >&6; }
3725 fi
3726
3727
3728 fi
3729 if test -z "$CC"; then
3730 if test -n "$ac_tool_prefix"; then
3731 for ac_prog in cl.exe
3732 do
3733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3736 $as_echo_n "checking for $ac_word... " >&6; }
3737 if test "${ac_cv_prog_CC+set}" = set; then :
3738 $as_echo_n "(cached) " >&6
3739 else
3740 if test -n "$CC"; then
3741 ac_cv_prog_CC="$CC" # Let the user override the test.
3742 else
3743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3744 for as_dir in $PATH
3745 do
3746 IFS=$as_save_IFS
3747 test -z "$as_dir" && as_dir=.
3748 for ac_exec_ext in '' $ac_executable_extensions; do
3749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3750 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3752 break 2
3753 fi
3754 done
3755 done
3756 IFS=$as_save_IFS
3757
3758 fi
3759 fi
3760 CC=$ac_cv_prog_CC
3761 if test -n "$CC"; then
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3763 $as_echo "$CC" >&6; }
3764 else
3765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3766 $as_echo "no" >&6; }
3767 fi
3768
3769
3770 test -n "$CC" && break
3771 done
3772 fi
3773 if test -z "$CC"; then
3774 ac_ct_CC=$CC
3775 for ac_prog in cl.exe
3776 do
3777 # Extract the first word of "$ac_prog", so it can be a program name with args.
3778 set dummy $ac_prog; ac_word=$2
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3780 $as_echo_n "checking for $ac_word... " >&6; }
3781 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3782 $as_echo_n "(cached) " >&6
3783 else
3784 if test -n "$ac_ct_CC"; then
3785 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3786 else
3787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 for as_dir in $PATH
3789 do
3790 IFS=$as_save_IFS
3791 test -z "$as_dir" && as_dir=.
3792 for ac_exec_ext in '' $ac_executable_extensions; do
3793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3794 ac_cv_prog_ac_ct_CC="$ac_prog"
3795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3796 break 2
3797 fi
3798 done
3799 done
3800 IFS=$as_save_IFS
3801
3802 fi
3803 fi
3804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3805 if test -n "$ac_ct_CC"; then
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3807 $as_echo "$ac_ct_CC" >&6; }
3808 else
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3810 $as_echo "no" >&6; }
3811 fi
3812
3813
3814 test -n "$ac_ct_CC" && break
3815 done
3816
3817 if test "x$ac_ct_CC" = x; then
3818 CC=""
3819 else
3820 case $cross_compiling:$ac_tool_warned in
3821 yes:)
3822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3824 ac_tool_warned=yes ;;
3825 esac
3826 CC=$ac_ct_CC
3827 fi
3828 fi
3829
3830 fi
3831
3832
3833 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3835 as_fn_error "no acceptable C compiler found in \$PATH
3836 See \`config.log' for more details." "$LINENO" 5; }
3837
3838 # Provide some information about the compiler.
3839 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3840 set X $ac_compile
3841 ac_compiler=$2
3842 for ac_option in --version -v -V -qversion; do
3843 { { ac_try="$ac_compiler $ac_option >&5"
3844 case "(($ac_try" in
3845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3846 *) ac_try_echo=$ac_try;;
3847 esac
3848 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3849 $as_echo "$ac_try_echo"; } >&5
3850 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3851 ac_status=$?
3852 if test -s conftest.err; then
3853 sed '10a\
3854 ... rest of stderr output deleted ...
3855 10q' conftest.err >conftest.er1
3856 cat conftest.er1 >&5
3857 rm -f conftest.er1 conftest.err
3858 fi
3859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3860 test $ac_status = 0; }
3861 done
3862
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3865
3866 int
3867 main ()
3868 {
3869
3870 ;
3871 return 0;
3872 }
3873 _ACEOF
3874 # FIXME: Cleanup?
3875 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3876 (eval $ac_link) 2>&5
3877 ac_status=$?
3878 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3879 test $ac_status = 0; }; then :
3880 gcc_no_link=no
3881 else
3882 gcc_no_link=yes
3883 fi
3884 if test x$gcc_no_link = xyes; then
3885 # Setting cross_compile will disable run tests; it will
3886 # also disable AC_CHECK_FILE but that's generally
3887 # correct if we can't link.
3888 cross_compiling=yes
3889 EXEEXT=
3890 else
3891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3892 /* end confdefs.h. */
3893
3894 int
3895 main ()
3896 {
3897
3898 ;
3899 return 0;
3900 }
3901 _ACEOF
3902 ac_clean_files_save=$ac_clean_files
3903 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3904 # Try to create an executable without -o first, disregard a.out.
3905 # It will help us diagnose broken compilers, and finding out an intuition
3906 # of exeext.
3907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3908 $as_echo_n "checking for C compiler default output file name... " >&6; }
3909 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3910
3911 # The possible output files:
3912 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3913
3914 ac_rmfiles=
3915 for ac_file in $ac_files
3916 do
3917 case $ac_file in
3918 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3919 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3920 esac
3921 done
3922 rm -f $ac_rmfiles
3923
3924 if { { ac_try="$ac_link_default"
3925 case "(($ac_try" in
3926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3927 *) ac_try_echo=$ac_try;;
3928 esac
3929 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3930 $as_echo "$ac_try_echo"; } >&5
3931 (eval "$ac_link_default") 2>&5
3932 ac_status=$?
3933 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3934 test $ac_status = 0; }; then :
3935 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3936 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3937 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3938 # so that the user can short-circuit this test for compilers unknown to
3939 # Autoconf.
3940 for ac_file in $ac_files ''
3941 do
3942 test -f "$ac_file" || continue
3943 case $ac_file in
3944 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3945 ;;
3946 [ab].out )
3947 # We found the default executable, but exeext='' is most
3948 # certainly right.
3949 break;;
3950 *.* )
3951 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3952 then :; else
3953 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3954 fi
3955 # We set ac_cv_exeext here because the later test for it is not
3956 # safe: cross compilers may not add the suffix if given an `-o'
3957 # argument, so we may need to know it at that point already.
3958 # Even if this section looks crufty: it has the advantage of
3959 # actually working.
3960 break;;
3961 * )
3962 break;;
3963 esac
3964 done
3965 test "$ac_cv_exeext" = no && ac_cv_exeext=
3966
3967 else
3968 ac_file=''
3969 fi
3970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3971 $as_echo "$ac_file" >&6; }
3972 if test -z "$ac_file"; then :
3973 $as_echo "$as_me: failed program was:" >&5
3974 sed 's/^/| /' conftest.$ac_ext >&5
3975
3976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3978 { as_fn_set_status 77
3979 as_fn_error "C compiler cannot create executables
3980 See \`config.log' for more details." "$LINENO" 5; }; }
3981 fi
3982 ac_exeext=$ac_cv_exeext
3983
3984 # Check that the compiler produces executables we can run. If not, either
3985 # the compiler is broken, or we cross compile.
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3987 $as_echo_n "checking whether the C compiler works... " >&6; }
3988 # If not cross compiling, check that we can run a simple program.
3989 if test "$cross_compiling" != yes; then
3990 if { ac_try='./$ac_file'
3991 { { case "(($ac_try" in
3992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3993 *) ac_try_echo=$ac_try;;
3994 esac
3995 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3996 $as_echo "$ac_try_echo"; } >&5
3997 (eval "$ac_try") 2>&5
3998 ac_status=$?
3999 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4000 test $ac_status = 0; }; }; then
4001 cross_compiling=no
4002 else
4003 if test "$cross_compiling" = maybe; then
4004 cross_compiling=yes
4005 else
4006 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4007 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4008 as_fn_error "cannot run C compiled programs.
4009 If you meant to cross compile, use \`--host'.
4010 See \`config.log' for more details." "$LINENO" 5; }
4011 fi
4012 fi
4013 fi
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4015 $as_echo "yes" >&6; }
4016
4017 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4018 ac_clean_files=$ac_clean_files_save
4019 # Check that the compiler produces executables we can run. If not, either
4020 # the compiler is broken, or we cross compile.
4021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4022 $as_echo_n "checking whether we are cross compiling... " >&6; }
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4024 $as_echo "$cross_compiling" >&6; }
4025
4026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4027 $as_echo_n "checking for suffix of executables... " >&6; }
4028 if { { ac_try="$ac_link"
4029 case "(($ac_try" in
4030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4031 *) ac_try_echo=$ac_try;;
4032 esac
4033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4034 $as_echo "$ac_try_echo"; } >&5
4035 (eval "$ac_link") 2>&5
4036 ac_status=$?
4037 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4038 test $ac_status = 0; }; then :
4039 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4040 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4041 # work properly (i.e., refer to `conftest.exe'), while it won't with
4042 # `rm'.
4043 for ac_file in conftest.exe conftest conftest.*; do
4044 test -f "$ac_file" || continue
4045 case $ac_file in
4046 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4047 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 break;;
4049 * ) break;;
4050 esac
4051 done
4052 else
4053 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4054 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4055 as_fn_error "cannot compute suffix of executables: cannot compile and link
4056 See \`config.log' for more details." "$LINENO" 5; }
4057 fi
4058 rm -f conftest$ac_cv_exeext
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4060 $as_echo "$ac_cv_exeext" >&6; }
4061
4062 rm -f conftest.$ac_ext
4063 EXEEXT=$ac_cv_exeext
4064 ac_exeext=$EXEEXT
4065 fi
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4067 $as_echo_n "checking for suffix of object files... " >&6; }
4068 if test "${ac_cv_objext+set}" = set; then :
4069 $as_echo_n "(cached) " >&6
4070 else
4071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4072 /* end confdefs.h. */
4073
4074 int
4075 main ()
4076 {
4077
4078 ;
4079 return 0;
4080 }
4081 _ACEOF
4082 rm -f conftest.o conftest.obj
4083 if { { ac_try="$ac_compile"
4084 case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_compile") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; then :
4094 for ac_file in conftest.o conftest.obj conftest.*; do
4095 test -f "$ac_file" || continue;
4096 case $ac_file in
4097 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4098 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4099 break;;
4100 esac
4101 done
4102 else
4103 $as_echo "$as_me: failed program was:" >&5
4104 sed 's/^/| /' conftest.$ac_ext >&5
4105
4106 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4107 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4108 as_fn_error "cannot compute suffix of object files: cannot compile
4109 See \`config.log' for more details." "$LINENO" 5; }
4110 fi
4111 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4112 fi
4113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4114 $as_echo "$ac_cv_objext" >&6; }
4115 OBJEXT=$ac_cv_objext
4116 ac_objext=$OBJEXT
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4118 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4119 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4120 $as_echo_n "(cached) " >&6
4121 else
4122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4123 /* end confdefs.h. */
4124
4125 int
4126 main ()
4127 {
4128 #ifndef __GNUC__
4129 choke me
4130 #endif
4131
4132 ;
4133 return 0;
4134 }
4135 _ACEOF
4136 if ac_fn_c_try_compile "$LINENO"; then :
4137 ac_compiler_gnu=yes
4138 else
4139 ac_compiler_gnu=no
4140 fi
4141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4142 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4143
4144 fi
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4146 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4147 if test $ac_compiler_gnu = yes; then
4148 GCC=yes
4149 else
4150 GCC=
4151 fi
4152 ac_test_CFLAGS=${CFLAGS+set}
4153 ac_save_CFLAGS=$CFLAGS
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4155 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4156 if test "${ac_cv_prog_cc_g+set}" = set; then :
4157 $as_echo_n "(cached) " >&6
4158 else
4159 ac_save_c_werror_flag=$ac_c_werror_flag
4160 ac_c_werror_flag=yes
4161 ac_cv_prog_cc_g=no
4162 CFLAGS="-g"
4163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4164 /* end confdefs.h. */
4165
4166 int
4167 main ()
4168 {
4169
4170 ;
4171 return 0;
4172 }
4173 _ACEOF
4174 if ac_fn_c_try_compile "$LINENO"; then :
4175 ac_cv_prog_cc_g=yes
4176 else
4177 CFLAGS=""
4178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4179 /* end confdefs.h. */
4180
4181 int
4182 main ()
4183 {
4184
4185 ;
4186 return 0;
4187 }
4188 _ACEOF
4189 if ac_fn_c_try_compile "$LINENO"; then :
4190
4191 else
4192 ac_c_werror_flag=$ac_save_c_werror_flag
4193 CFLAGS="-g"
4194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4195 /* end confdefs.h. */
4196
4197 int
4198 main ()
4199 {
4200
4201 ;
4202 return 0;
4203 }
4204 _ACEOF
4205 if ac_fn_c_try_compile "$LINENO"; then :
4206 ac_cv_prog_cc_g=yes
4207 fi
4208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4209 fi
4210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4211 fi
4212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4213 ac_c_werror_flag=$ac_save_c_werror_flag
4214 fi
4215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4216 $as_echo "$ac_cv_prog_cc_g" >&6; }
4217 if test "$ac_test_CFLAGS" = set; then
4218 CFLAGS=$ac_save_CFLAGS
4219 elif test $ac_cv_prog_cc_g = yes; then
4220 if test "$GCC" = yes; then
4221 CFLAGS="-g -O2"
4222 else
4223 CFLAGS="-g"
4224 fi
4225 else
4226 if test "$GCC" = yes; then
4227 CFLAGS="-O2"
4228 else
4229 CFLAGS=
4230 fi
4231 fi
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4233 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4234 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4235 $as_echo_n "(cached) " >&6
4236 else
4237 ac_cv_prog_cc_c89=no
4238 ac_save_CC=$CC
4239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4240 /* end confdefs.h. */
4241 #include <stdarg.h>
4242 #include <stdio.h>
4243 #include <sys/types.h>
4244 #include <sys/stat.h>
4245 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4246 struct buf { int x; };
4247 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4248 static char *e (p, i)
4249 char **p;
4250 int i;
4251 {
4252 return p[i];
4253 }
4254 static char *f (char * (*g) (char **, int), char **p, ...)
4255 {
4256 char *s;
4257 va_list v;
4258 va_start (v,p);
4259 s = g (p, va_arg (v,int));
4260 va_end (v);
4261 return s;
4262 }
4263
4264 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4265 function prototypes and stuff, but not '\xHH' hex character constants.
4266 These don't provoke an error unfortunately, instead are silently treated
4267 as 'x'. The following induces an error, until -std is added to get
4268 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4269 array size at least. It's necessary to write '\x00'==0 to get something
4270 that's true only with -std. */
4271 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4272
4273 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4274 inside strings and character constants. */
4275 #define FOO(x) 'x'
4276 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4277
4278 int test (int i, double x);
4279 struct s1 {int (*f) (int a);};
4280 struct s2 {int (*f) (double a);};
4281 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4282 int argc;
4283 char **argv;
4284 int
4285 main ()
4286 {
4287 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4288 ;
4289 return 0;
4290 }
4291 _ACEOF
4292 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4293 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4294 do
4295 CC="$ac_save_CC $ac_arg"
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_c89=$ac_arg
4298 fi
4299 rm -f core conftest.err conftest.$ac_objext
4300 test "x$ac_cv_prog_cc_c89" != "xno" && break
4301 done
4302 rm -f conftest.$ac_ext
4303 CC=$ac_save_CC
4304
4305 fi
4306 # AC_CACHE_VAL
4307 case "x$ac_cv_prog_cc_c89" in
4308 x)
4309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4310 $as_echo "none needed" >&6; } ;;
4311 xno)
4312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4313 $as_echo "unsupported" >&6; } ;;
4314 *)
4315 CC="$CC $ac_cv_prog_cc_c89"
4316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4317 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4318 esac
4319 if test "x$ac_cv_prog_cc_c89" != xno; then :
4320
4321 fi
4322
4323 ac_ext=c
4324 ac_cpp='$CPP $CPPFLAGS'
4325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4328
4329 ac_ext=cpp
4330 ac_cpp='$CXXCPP $CPPFLAGS'
4331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4334 if test -z "$CXX"; then
4335 if test -n "$CCC"; then
4336 CXX=$CCC
4337 else
4338 if test -n "$ac_tool_prefix"; then
4339 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4340 do
4341 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4342 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4344 $as_echo_n "checking for $ac_word... " >&6; }
4345 if test "${ac_cv_prog_CXX+set}" = set; then :
4346 $as_echo_n "(cached) " >&6
4347 else
4348 if test -n "$CXX"; then
4349 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4350 else
4351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4352 for as_dir in $PATH
4353 do
4354 IFS=$as_save_IFS
4355 test -z "$as_dir" && as_dir=.
4356 for ac_exec_ext in '' $ac_executable_extensions; do
4357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4358 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4360 break 2
4361 fi
4362 done
4363 done
4364 IFS=$as_save_IFS
4365
4366 fi
4367 fi
4368 CXX=$ac_cv_prog_CXX
4369 if test -n "$CXX"; then
4370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4371 $as_echo "$CXX" >&6; }
4372 else
4373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4374 $as_echo "no" >&6; }
4375 fi
4376
4377
4378 test -n "$CXX" && break
4379 done
4380 fi
4381 if test -z "$CXX"; then
4382 ac_ct_CXX=$CXX
4383 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4384 do
4385 # Extract the first word of "$ac_prog", so it can be a program name with args.
4386 set dummy $ac_prog; ac_word=$2
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4388 $as_echo_n "checking for $ac_word... " >&6; }
4389 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4390 $as_echo_n "(cached) " >&6
4391 else
4392 if test -n "$ac_ct_CXX"; then
4393 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4394 else
4395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4396 for as_dir in $PATH
4397 do
4398 IFS=$as_save_IFS
4399 test -z "$as_dir" && as_dir=.
4400 for ac_exec_ext in '' $ac_executable_extensions; do
4401 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4402 ac_cv_prog_ac_ct_CXX="$ac_prog"
4403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4404 break 2
4405 fi
4406 done
4407 done
4408 IFS=$as_save_IFS
4409
4410 fi
4411 fi
4412 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4413 if test -n "$ac_ct_CXX"; then
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4415 $as_echo "$ac_ct_CXX" >&6; }
4416 else
4417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4418 $as_echo "no" >&6; }
4419 fi
4420
4421
4422 test -n "$ac_ct_CXX" && break
4423 done
4424
4425 if test "x$ac_ct_CXX" = x; then
4426 CXX="g++"
4427 else
4428 case $cross_compiling:$ac_tool_warned in
4429 yes:)
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4431 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4432 ac_tool_warned=yes ;;
4433 esac
4434 CXX=$ac_ct_CXX
4435 fi
4436 fi
4437
4438 fi
4439 fi
4440 # Provide some information about the compiler.
4441 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4442 set X $ac_compile
4443 ac_compiler=$2
4444 for ac_option in --version -v -V -qversion; do
4445 { { ac_try="$ac_compiler $ac_option >&5"
4446 case "(($ac_try" in
4447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4448 *) ac_try_echo=$ac_try;;
4449 esac
4450 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4451 $as_echo "$ac_try_echo"; } >&5
4452 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4453 ac_status=$?
4454 if test -s conftest.err; then
4455 sed '10a\
4456 ... rest of stderr output deleted ...
4457 10q' conftest.err >conftest.er1
4458 cat conftest.er1 >&5
4459 rm -f conftest.er1 conftest.err
4460 fi
4461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4462 test $ac_status = 0; }
4463 done
4464
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4466 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4467 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4471 /* end confdefs.h. */
4472
4473 int
4474 main ()
4475 {
4476 #ifndef __GNUC__
4477 choke me
4478 #endif
4479
4480 ;
4481 return 0;
4482 }
4483 _ACEOF
4484 if ac_fn_cxx_try_compile "$LINENO"; then :
4485 ac_compiler_gnu=yes
4486 else
4487 ac_compiler_gnu=no
4488 fi
4489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4490 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4491
4492 fi
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4494 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4495 if test $ac_compiler_gnu = yes; then
4496 GXX=yes
4497 else
4498 GXX=
4499 fi
4500 ac_test_CXXFLAGS=${CXXFLAGS+set}
4501 ac_save_CXXFLAGS=$CXXFLAGS
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4503 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4504 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4505 $as_echo_n "(cached) " >&6
4506 else
4507 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4508 ac_cxx_werror_flag=yes
4509 ac_cv_prog_cxx_g=no
4510 CXXFLAGS="-g"
4511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4512 /* end confdefs.h. */
4513
4514 int
4515 main ()
4516 {
4517
4518 ;
4519 return 0;
4520 }
4521 _ACEOF
4522 if ac_fn_cxx_try_compile "$LINENO"; then :
4523 ac_cv_prog_cxx_g=yes
4524 else
4525 CXXFLAGS=""
4526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4527 /* end confdefs.h. */
4528
4529 int
4530 main ()
4531 {
4532
4533 ;
4534 return 0;
4535 }
4536 _ACEOF
4537 if ac_fn_cxx_try_compile "$LINENO"; then :
4538
4539 else
4540 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4541 CXXFLAGS="-g"
4542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4543 /* end confdefs.h. */
4544
4545 int
4546 main ()
4547 {
4548
4549 ;
4550 return 0;
4551 }
4552 _ACEOF
4553 if ac_fn_cxx_try_compile "$LINENO"; then :
4554 ac_cv_prog_cxx_g=yes
4555 fi
4556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4557 fi
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4559 fi
4560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4561 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4562 fi
4563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4564 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4565 if test "$ac_test_CXXFLAGS" = set; then
4566 CXXFLAGS=$ac_save_CXXFLAGS
4567 elif test $ac_cv_prog_cxx_g = yes; then
4568 if test "$GXX" = yes; then
4569 CXXFLAGS="-g -O2"
4570 else
4571 CXXFLAGS="-g"
4572 fi
4573 else
4574 if test "$GXX" = yes; then
4575 CXXFLAGS="-O2"
4576 else
4577 CXXFLAGS=
4578 fi
4579 fi
4580 ac_ext=c
4581 ac_cpp='$CPP $CPPFLAGS'
4582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4585
4586 CXXFLAGS="$save_CXXFLAGS"
4587
4588 # Runs configure.host, and assorted other critical bits. Sets
4589 # up critical shell variables.
4590
4591 ac_ext=c
4592 ac_cpp='$CPP $CPPFLAGS'
4593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4597 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4598 # On Suns, sometimes $CPP names a directory.
4599 if test -n "$CPP" && test -d "$CPP"; then
4600 CPP=
4601 fi
4602 if test -z "$CPP"; then
4603 if test "${ac_cv_prog_CPP+set}" = set; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 # Double quotes because CPP needs to be expanded
4607 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4608 do
4609 ac_preproc_ok=false
4610 for ac_c_preproc_warn_flag in '' yes
4611 do
4612 # Use a header file that comes with gcc, so configuring glibc
4613 # with a fresh cross-compiler works.
4614 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4615 # <limits.h> exists even on freestanding compilers.
4616 # On the NeXT, cc -E runs the code through the compiler's parser,
4617 # not just through cpp. "Syntax error" is here to catch this case.
4618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4620 #ifdef __STDC__
4621 # include <limits.h>
4622 #else
4623 # include <assert.h>
4624 #endif
4625 Syntax error
4626 _ACEOF
4627 if ac_fn_c_try_cpp "$LINENO"; then :
4628
4629 else
4630 # Broken: fails on valid input.
4631 continue
4632 fi
4633 rm -f conftest.err conftest.$ac_ext
4634
4635 # OK, works on sane cases. Now check whether nonexistent headers
4636 # can be detected and how.
4637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4638 /* end confdefs.h. */
4639 #include <ac_nonexistent.h>
4640 _ACEOF
4641 if ac_fn_c_try_cpp "$LINENO"; then :
4642 # Broken: success on invalid input.
4643 continue
4644 else
4645 # Passes both tests.
4646 ac_preproc_ok=:
4647 break
4648 fi
4649 rm -f conftest.err conftest.$ac_ext
4650
4651 done
4652 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4653 rm -f conftest.err conftest.$ac_ext
4654 if $ac_preproc_ok; then :
4655 break
4656 fi
4657
4658 done
4659 ac_cv_prog_CPP=$CPP
4660
4661 fi
4662 CPP=$ac_cv_prog_CPP
4663 else
4664 ac_cv_prog_CPP=$CPP
4665 fi
4666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4667 $as_echo "$CPP" >&6; }
4668 ac_preproc_ok=false
4669 for ac_c_preproc_warn_flag in '' yes
4670 do
4671 # Use a header file that comes with gcc, so configuring glibc
4672 # with a fresh cross-compiler works.
4673 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4674 # <limits.h> exists even on freestanding compilers.
4675 # On the NeXT, cc -E runs the code through the compiler's parser,
4676 # not just through cpp. "Syntax error" is here to catch this case.
4677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4678 /* end confdefs.h. */
4679 #ifdef __STDC__
4680 # include <limits.h>
4681 #else
4682 # include <assert.h>
4683 #endif
4684 Syntax error
4685 _ACEOF
4686 if ac_fn_c_try_cpp "$LINENO"; then :
4687
4688 else
4689 # Broken: fails on valid input.
4690 continue
4691 fi
4692 rm -f conftest.err conftest.$ac_ext
4693
4694 # OK, works on sane cases. Now check whether nonexistent headers
4695 # can be detected and how.
4696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4697 /* end confdefs.h. */
4698 #include <ac_nonexistent.h>
4699 _ACEOF
4700 if ac_fn_c_try_cpp "$LINENO"; then :
4701 # Broken: success on invalid input.
4702 continue
4703 else
4704 # Passes both tests.
4705 ac_preproc_ok=:
4706 break
4707 fi
4708 rm -f conftest.err conftest.$ac_ext
4709
4710 done
4711 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4712 rm -f conftest.err conftest.$ac_ext
4713 if $ac_preproc_ok; then :
4714
4715 else
4716 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4717 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4718 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4719 See \`config.log' for more details." "$LINENO" 5; }
4720 fi
4721
4722 ac_ext=c
4723 ac_cpp='$CPP $CPPFLAGS'
4724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4727
4728
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4730 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4731 if test "${ac_cv_path_GREP+set}" = set; then :
4732 $as_echo_n "(cached) " >&6
4733 else
4734 if test -z "$GREP"; then
4735 ac_path_GREP_found=false
4736 # Loop through the user's path and test for each of PROGNAME-LIST
4737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4738 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4739 do
4740 IFS=$as_save_IFS
4741 test -z "$as_dir" && as_dir=.
4742 for ac_prog in grep ggrep; do
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4745 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4746 # Check for GNU ac_path_GREP and select it if it is found.
4747 # Check for GNU $ac_path_GREP
4748 case `"$ac_path_GREP" --version 2>&1` in
4749 *GNU*)
4750 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4751 *)
4752 ac_count=0
4753 $as_echo_n 0123456789 >"conftest.in"
4754 while :
4755 do
4756 cat "conftest.in" "conftest.in" >"conftest.tmp"
4757 mv "conftest.tmp" "conftest.in"
4758 cp "conftest.in" "conftest.nl"
4759 $as_echo 'GREP' >> "conftest.nl"
4760 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4761 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4762 as_fn_arith $ac_count + 1 && ac_count=$as_val
4763 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4764 # Best one so far, save it but keep looking for a better one
4765 ac_cv_path_GREP="$ac_path_GREP"
4766 ac_path_GREP_max=$ac_count
4767 fi
4768 # 10*(2^10) chars as input seems more than enough
4769 test $ac_count -gt 10 && break
4770 done
4771 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4772 esac
4773
4774 $ac_path_GREP_found && break 3
4775 done
4776 done
4777 done
4778 IFS=$as_save_IFS
4779 if test -z "$ac_cv_path_GREP"; then
4780 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4781 fi
4782 else
4783 ac_cv_path_GREP=$GREP
4784 fi
4785
4786 fi
4787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4788 $as_echo "$ac_cv_path_GREP" >&6; }
4789 GREP="$ac_cv_path_GREP"
4790
4791
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4793 $as_echo_n "checking for egrep... " >&6; }
4794 if test "${ac_cv_path_EGREP+set}" = set; then :
4795 $as_echo_n "(cached) " >&6
4796 else
4797 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4798 then ac_cv_path_EGREP="$GREP -E"
4799 else
4800 if test -z "$EGREP"; then
4801 ac_path_EGREP_found=false
4802 # Loop through the user's path and test for each of PROGNAME-LIST
4803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4804 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4805 do
4806 IFS=$as_save_IFS
4807 test -z "$as_dir" && as_dir=.
4808 for ac_prog in egrep; do
4809 for ac_exec_ext in '' $ac_executable_extensions; do
4810 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4811 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4812 # Check for GNU ac_path_EGREP and select it if it is found.
4813 # Check for GNU $ac_path_EGREP
4814 case `"$ac_path_EGREP" --version 2>&1` in
4815 *GNU*)
4816 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4817 *)
4818 ac_count=0
4819 $as_echo_n 0123456789 >"conftest.in"
4820 while :
4821 do
4822 cat "conftest.in" "conftest.in" >"conftest.tmp"
4823 mv "conftest.tmp" "conftest.in"
4824 cp "conftest.in" "conftest.nl"
4825 $as_echo 'EGREP' >> "conftest.nl"
4826 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4827 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4828 as_fn_arith $ac_count + 1 && ac_count=$as_val
4829 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4830 # Best one so far, save it but keep looking for a better one
4831 ac_cv_path_EGREP="$ac_path_EGREP"
4832 ac_path_EGREP_max=$ac_count
4833 fi
4834 # 10*(2^10) chars as input seems more than enough
4835 test $ac_count -gt 10 && break
4836 done
4837 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4838 esac
4839
4840 $ac_path_EGREP_found && break 3
4841 done
4842 done
4843 done
4844 IFS=$as_save_IFS
4845 if test -z "$ac_cv_path_EGREP"; then
4846 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4847 fi
4848 else
4849 ac_cv_path_EGREP=$EGREP
4850 fi
4851
4852 fi
4853 fi
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4855 $as_echo "$ac_cv_path_EGREP" >&6; }
4856 EGREP="$ac_cv_path_EGREP"
4857
4858
4859
4860 # Keep these sync'd with the list in Makefile.am. The first provides an
4861 # expandable list at autoconf time; the second provides an expandable list
4862 # (i.e., shell variable) at configure time.
4863
4864 SUBDIRS='include libsupc++ python src doc po testsuite'
4865
4866 # These need to be absolute paths, yet at the same time need to
4867 # canonicalize only relative paths, because then amd will not unmount
4868 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4869 glibcxx_builddir=`${PWDCMD-pwd}`
4870 case $srcdir in
4871 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4872 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4873 esac
4874 toplevel_builddir=${glibcxx_builddir}/..
4875 toplevel_srcdir=${glibcxx_srcdir}/..
4876
4877
4878
4879
4880
4881 # We use these options to decide which functions to include. They are
4882 # set from the top level.
4883
4884 # Check whether --with-target-subdir was given.
4885 if test "${with_target_subdir+set}" = set; then :
4886 withval=$with_target_subdir;
4887 fi
4888
4889
4890
4891 # Check whether --with-cross-host was given.
4892 if test "${with_cross_host+set}" = set; then :
4893 withval=$with_cross_host;
4894 fi
4895
4896
4897
4898 # Check whether --with-newlib was given.
4899 if test "${with_newlib+set}" = set; then :
4900 withval=$with_newlib;
4901 fi
4902
4903
4904 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4905 # available). Uncomment the next line to force a particular method.
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4907 $as_echo_n "checking whether ln -s works... " >&6; }
4908 LN_S=$as_ln_s
4909 if test "$LN_S" = "ln -s"; then
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4911 $as_echo "yes" >&6; }
4912 else
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4914 $as_echo "no, using $LN_S" >&6; }
4915 fi
4916
4917 #LN_S='cp -p'
4918
4919 if test -n "$ac_tool_prefix"; then
4920 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4921 set dummy ${ac_tool_prefix}as; ac_word=$2
4922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4923 $as_echo_n "checking for $ac_word... " >&6; }
4924 if test "${ac_cv_prog_AS+set}" = set; then :
4925 $as_echo_n "(cached) " >&6
4926 else
4927 if test -n "$AS"; then
4928 ac_cv_prog_AS="$AS" # Let the user override the test.
4929 else
4930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4931 for as_dir in $PATH
4932 do
4933 IFS=$as_save_IFS
4934 test -z "$as_dir" && as_dir=.
4935 for ac_exec_ext in '' $ac_executable_extensions; do
4936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4937 ac_cv_prog_AS="${ac_tool_prefix}as"
4938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4939 break 2
4940 fi
4941 done
4942 done
4943 IFS=$as_save_IFS
4944
4945 fi
4946 fi
4947 AS=$ac_cv_prog_AS
4948 if test -n "$AS"; then
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4950 $as_echo "$AS" >&6; }
4951 else
4952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4953 $as_echo "no" >&6; }
4954 fi
4955
4956
4957 fi
4958 if test -z "$ac_cv_prog_AS"; then
4959 ac_ct_AS=$AS
4960 # Extract the first word of "as", so it can be a program name with args.
4961 set dummy as; ac_word=$2
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4963 $as_echo_n "checking for $ac_word... " >&6; }
4964 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4965 $as_echo_n "(cached) " >&6
4966 else
4967 if test -n "$ac_ct_AS"; then
4968 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4969 else
4970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4971 for as_dir in $PATH
4972 do
4973 IFS=$as_save_IFS
4974 test -z "$as_dir" && as_dir=.
4975 for ac_exec_ext in '' $ac_executable_extensions; do
4976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4977 ac_cv_prog_ac_ct_AS="as"
4978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4979 break 2
4980 fi
4981 done
4982 done
4983 IFS=$as_save_IFS
4984
4985 fi
4986 fi
4987 ac_ct_AS=$ac_cv_prog_ac_ct_AS
4988 if test -n "$ac_ct_AS"; then
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
4990 $as_echo "$ac_ct_AS" >&6; }
4991 else
4992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4993 $as_echo "no" >&6; }
4994 fi
4995
4996 if test "x$ac_ct_AS" = x; then
4997 AS=""
4998 else
4999 case $cross_compiling:$ac_tool_warned in
5000 yes:)
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5003 ac_tool_warned=yes ;;
5004 esac
5005 AS=$ac_ct_AS
5006 fi
5007 else
5008 AS="$ac_cv_prog_AS"
5009 fi
5010
5011 if test -n "$ac_tool_prefix"; then
5012 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5013 set dummy ${ac_tool_prefix}ar; ac_word=$2
5014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5015 $as_echo_n "checking for $ac_word... " >&6; }
5016 if test "${ac_cv_prog_AR+set}" = set; then :
5017 $as_echo_n "(cached) " >&6
5018 else
5019 if test -n "$AR"; then
5020 ac_cv_prog_AR="$AR" # Let the user override the test.
5021 else
5022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5023 for as_dir in $PATH
5024 do
5025 IFS=$as_save_IFS
5026 test -z "$as_dir" && as_dir=.
5027 for ac_exec_ext in '' $ac_executable_extensions; do
5028 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5029 ac_cv_prog_AR="${ac_tool_prefix}ar"
5030 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5031 break 2
5032 fi
5033 done
5034 done
5035 IFS=$as_save_IFS
5036
5037 fi
5038 fi
5039 AR=$ac_cv_prog_AR
5040 if test -n "$AR"; then
5041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5042 $as_echo "$AR" >&6; }
5043 else
5044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5045 $as_echo "no" >&6; }
5046 fi
5047
5048
5049 fi
5050 if test -z "$ac_cv_prog_AR"; then
5051 ac_ct_AR=$AR
5052 # Extract the first word of "ar", so it can be a program name with args.
5053 set dummy ar; ac_word=$2
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5055 $as_echo_n "checking for $ac_word... " >&6; }
5056 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5057 $as_echo_n "(cached) " >&6
5058 else
5059 if test -n "$ac_ct_AR"; then
5060 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5061 else
5062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5063 for as_dir in $PATH
5064 do
5065 IFS=$as_save_IFS
5066 test -z "$as_dir" && as_dir=.
5067 for ac_exec_ext in '' $ac_executable_extensions; do
5068 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5069 ac_cv_prog_ac_ct_AR="ar"
5070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5071 break 2
5072 fi
5073 done
5074 done
5075 IFS=$as_save_IFS
5076
5077 fi
5078 fi
5079 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5080 if test -n "$ac_ct_AR"; then
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5082 $as_echo "$ac_ct_AR" >&6; }
5083 else
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5085 $as_echo "no" >&6; }
5086 fi
5087
5088 if test "x$ac_ct_AR" = x; then
5089 AR=""
5090 else
5091 case $cross_compiling:$ac_tool_warned in
5092 yes:)
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5094 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5095 ac_tool_warned=yes ;;
5096 esac
5097 AR=$ac_ct_AR
5098 fi
5099 else
5100 AR="$ac_cv_prog_AR"
5101 fi
5102
5103 if test -n "$ac_tool_prefix"; then
5104 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5105 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 if test -n "$RANLIB"; then
5112 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5113 else
5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 for as_dir in $PATH
5116 do
5117 IFS=$as_save_IFS
5118 test -z "$as_dir" && as_dir=.
5119 for ac_exec_ext in '' $ac_executable_extensions; do
5120 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5121 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 break 2
5124 fi
5125 done
5126 done
5127 IFS=$as_save_IFS
5128
5129 fi
5130 fi
5131 RANLIB=$ac_cv_prog_RANLIB
5132 if test -n "$RANLIB"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5134 $as_echo "$RANLIB" >&6; }
5135 else
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5138 fi
5139
5140
5141 fi
5142 if test -z "$ac_cv_prog_RANLIB"; then
5143 ac_ct_RANLIB=$RANLIB
5144 # Extract the first word of "ranlib", so it can be a program name with args.
5145 set dummy ranlib; ac_word=$2
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5147 $as_echo_n "checking for $ac_word... " >&6; }
5148 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 if test -n "$ac_ct_RANLIB"; then
5152 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5153 else
5154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5155 for as_dir in $PATH
5156 do
5157 IFS=$as_save_IFS
5158 test -z "$as_dir" && as_dir=.
5159 for ac_exec_ext in '' $ac_executable_extensions; do
5160 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5161 ac_cv_prog_ac_ct_RANLIB="ranlib"
5162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5163 break 2
5164 fi
5165 done
5166 done
5167 IFS=$as_save_IFS
5168
5169 fi
5170 fi
5171 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5172 if test -n "$ac_ct_RANLIB"; then
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5174 $as_echo "$ac_ct_RANLIB" >&6; }
5175 else
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5177 $as_echo "no" >&6; }
5178 fi
5179
5180 if test "x$ac_ct_RANLIB" = x; then
5181 RANLIB="ranlib-not-found-in-path-error"
5182 else
5183 case $cross_compiling:$ac_tool_warned in
5184 yes:)
5185 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5186 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5187 ac_tool_warned=yes ;;
5188 esac
5189 RANLIB=$ac_ct_RANLIB
5190 fi
5191 else
5192 RANLIB="$ac_cv_prog_RANLIB"
5193 fi
5194
5195
5196
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5198 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5199 # Check whether --enable-maintainer-mode was given.
5200 if test "${enable_maintainer_mode+set}" = set; then :
5201 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5202 else
5203 USE_MAINTAINER_MODE=no
5204 fi
5205
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5207 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5208 if test $USE_MAINTAINER_MODE = yes; then
5209 MAINTAINER_MODE_TRUE=
5210 MAINTAINER_MODE_FALSE='#'
5211 else
5212 MAINTAINER_MODE_TRUE='#'
5213 MAINTAINER_MODE_FALSE=
5214 fi
5215
5216 MAINT=$MAINTAINER_MODE_TRUE
5217
5218
5219
5220 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5221 # which are themselves conditionally expanded.
5222 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5223 ## other macros from doing the same. This should be automated.) -pme
5224
5225 # Check for C library flavor since GNU/Linux platforms use different
5226 # configuration directories depending on the C library in use.
5227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5228 /* end confdefs.h. */
5229
5230 #include <stdio.h>
5231 #if __UCLIBC__
5232 _using_uclibc
5233 #endif
5234
5235 _ACEOF
5236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5237 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5238 uclibc=yes
5239 else
5240 uclibc=no
5241 fi
5242 rm -f conftest*
5243
5244
5245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5246 /* end confdefs.h. */
5247
5248 #include <stdio.h>
5249 #if __BIONIC__
5250 _using_bionic
5251 #endif
5252
5253 _ACEOF
5254 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5255 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5256 bionic=yes
5257 else
5258 bionic=no
5259 fi
5260 rm -f conftest*
5261
5262
5263 # Find platform-specific directories containing configuration info.
5264 # Also possibly modify flags used elsewhere, as needed by the platform.
5265
5266 . $glibcxx_srcdir/configure.host
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5268 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5270 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5271
5272
5273
5274 if test "x${with_newlib}" != "xyes"; then
5275 enable_dlopen=yes
5276
5277
5278
5279 fi
5280 case `pwd` in
5281 *\ * | *\ *)
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5283 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5284 esac
5285
5286
5287
5288 macro_version='2.2.7a'
5289 macro_revision='1.3134'
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303 ltmain="$ac_aux_dir/ltmain.sh"
5304
5305 # Backslashify metacharacters that are still active within
5306 # double-quoted strings.
5307 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5308
5309 # Same as above, but do not quote variable references.
5310 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5311
5312 # Sed substitution to delay expansion of an escaped shell variable in a
5313 # double_quote_subst'ed string.
5314 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5315
5316 # Sed substitution to delay expansion of an escaped single quote.
5317 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5318
5319 # Sed substitution to avoid accidental globbing in evaled expressions
5320 no_glob_subst='s/\*/\\\*/g'
5321
5322 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5323 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5324 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5325
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5327 $as_echo_n "checking how to print strings... " >&6; }
5328 # Test print first, because it will be a builtin if present.
5329 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5330 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5331 ECHO='print -r --'
5332 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5333 ECHO='printf %s\n'
5334 else
5335 # Use this function as a fallback that always works.
5336 func_fallback_echo ()
5337 {
5338 eval 'cat <<_LTECHO_EOF
5339 $1
5340 _LTECHO_EOF'
5341 }
5342 ECHO='func_fallback_echo'
5343 fi
5344
5345 # func_echo_all arg...
5346 # Invoke $ECHO with all args, space-separated.
5347 func_echo_all ()
5348 {
5349 $ECHO ""
5350 }
5351
5352 case "$ECHO" in
5353 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5354 $as_echo "printf" >&6; } ;;
5355 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5356 $as_echo "print -r" >&6; } ;;
5357 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5358 $as_echo "cat" >&6; } ;;
5359 esac
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5375 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5376 if test "${ac_cv_path_SED+set}" = set; then :
5377 $as_echo_n "(cached) " >&6
5378 else
5379 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5380 for ac_i in 1 2 3 4 5 6 7; do
5381 ac_script="$ac_script$as_nl$ac_script"
5382 done
5383 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5384 { ac_script=; unset ac_script;}
5385 if test -z "$SED"; then
5386 ac_path_SED_found=false
5387 # Loop through the user's path and test for each of PROGNAME-LIST
5388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5389 for as_dir in $PATH
5390 do
5391 IFS=$as_save_IFS
5392 test -z "$as_dir" && as_dir=.
5393 for ac_prog in sed gsed; do
5394 for ac_exec_ext in '' $ac_executable_extensions; do
5395 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5396 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5397 # Check for GNU ac_path_SED and select it if it is found.
5398 # Check for GNU $ac_path_SED
5399 case `"$ac_path_SED" --version 2>&1` in
5400 *GNU*)
5401 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5402 *)
5403 ac_count=0
5404 $as_echo_n 0123456789 >"conftest.in"
5405 while :
5406 do
5407 cat "conftest.in" "conftest.in" >"conftest.tmp"
5408 mv "conftest.tmp" "conftest.in"
5409 cp "conftest.in" "conftest.nl"
5410 $as_echo '' >> "conftest.nl"
5411 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5412 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5413 as_fn_arith $ac_count + 1 && ac_count=$as_val
5414 if test $ac_count -gt ${ac_path_SED_max-0}; then
5415 # Best one so far, save it but keep looking for a better one
5416 ac_cv_path_SED="$ac_path_SED"
5417 ac_path_SED_max=$ac_count
5418 fi
5419 # 10*(2^10) chars as input seems more than enough
5420 test $ac_count -gt 10 && break
5421 done
5422 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5423 esac
5424
5425 $ac_path_SED_found && break 3
5426 done
5427 done
5428 done
5429 IFS=$as_save_IFS
5430 if test -z "$ac_cv_path_SED"; then
5431 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5432 fi
5433 else
5434 ac_cv_path_SED=$SED
5435 fi
5436
5437 fi
5438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5439 $as_echo "$ac_cv_path_SED" >&6; }
5440 SED="$ac_cv_path_SED"
5441 rm -f conftest.sed
5442
5443 test -z "$SED" && SED=sed
5444 Xsed="$SED -e 1s/^X//"
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5457 $as_echo_n "checking for fgrep... " >&6; }
5458 if test "${ac_cv_path_FGREP+set}" = set; then :
5459 $as_echo_n "(cached) " >&6
5460 else
5461 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5462 then ac_cv_path_FGREP="$GREP -F"
5463 else
5464 if test -z "$FGREP"; then
5465 ac_path_FGREP_found=false
5466 # Loop through the user's path and test for each of PROGNAME-LIST
5467 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5468 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5469 do
5470 IFS=$as_save_IFS
5471 test -z "$as_dir" && as_dir=.
5472 for ac_prog in fgrep; do
5473 for ac_exec_ext in '' $ac_executable_extensions; do
5474 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5475 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5476 # Check for GNU ac_path_FGREP and select it if it is found.
5477 # Check for GNU $ac_path_FGREP
5478 case `"$ac_path_FGREP" --version 2>&1` in
5479 *GNU*)
5480 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5481 *)
5482 ac_count=0
5483 $as_echo_n 0123456789 >"conftest.in"
5484 while :
5485 do
5486 cat "conftest.in" "conftest.in" >"conftest.tmp"
5487 mv "conftest.tmp" "conftest.in"
5488 cp "conftest.in" "conftest.nl"
5489 $as_echo 'FGREP' >> "conftest.nl"
5490 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5491 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5492 as_fn_arith $ac_count + 1 && ac_count=$as_val
5493 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5494 # Best one so far, save it but keep looking for a better one
5495 ac_cv_path_FGREP="$ac_path_FGREP"
5496 ac_path_FGREP_max=$ac_count
5497 fi
5498 # 10*(2^10) chars as input seems more than enough
5499 test $ac_count -gt 10 && break
5500 done
5501 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5502 esac
5503
5504 $ac_path_FGREP_found && break 3
5505 done
5506 done
5507 done
5508 IFS=$as_save_IFS
5509 if test -z "$ac_cv_path_FGREP"; then
5510 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5511 fi
5512 else
5513 ac_cv_path_FGREP=$FGREP
5514 fi
5515
5516 fi
5517 fi
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5519 $as_echo "$ac_cv_path_FGREP" >&6; }
5520 FGREP="$ac_cv_path_FGREP"
5521
5522
5523 test -z "$GREP" && GREP=grep
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543 # Check whether --with-gnu-ld was given.
5544 if test "${with_gnu_ld+set}" = set; then :
5545 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5546 else
5547 with_gnu_ld=no
5548 fi
5549
5550 ac_prog=ld
5551 if test "$GCC" = yes; then
5552 # Check if gcc -print-prog-name=ld gives a path.
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5554 $as_echo_n "checking for ld used by $CC... " >&6; }
5555 case $host in
5556 *-*-mingw*)
5557 # gcc leaves a trailing carriage return which upsets mingw
5558 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5559 *)
5560 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5561 esac
5562 case $ac_prog in
5563 # Accept absolute paths.
5564 [\\/]* | ?:[\\/]*)
5565 re_direlt='/[^/][^/]*/\.\./'
5566 # Canonicalize the pathname of ld
5567 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5568 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5569 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5570 done
5571 test -z "$LD" && LD="$ac_prog"
5572 ;;
5573 "")
5574 # If it fails, then pretend we aren't using GCC.
5575 ac_prog=ld
5576 ;;
5577 *)
5578 # If it is relative, then search for the first ld in PATH.
5579 with_gnu_ld=unknown
5580 ;;
5581 esac
5582 elif test "$with_gnu_ld" = yes; then
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5584 $as_echo_n "checking for GNU ld... " >&6; }
5585 else
5586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5587 $as_echo_n "checking for non-GNU ld... " >&6; }
5588 fi
5589 if test "${lt_cv_path_LD+set}" = set; then :
5590 $as_echo_n "(cached) " >&6
5591 else
5592 if test -z "$LD"; then
5593 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5594 for ac_dir in $PATH; do
5595 IFS="$lt_save_ifs"
5596 test -z "$ac_dir" && ac_dir=.
5597 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5598 lt_cv_path_LD="$ac_dir/$ac_prog"
5599 # Check to see if the program is GNU ld. I'd rather use --version,
5600 # but apparently some variants of GNU ld only accept -v.
5601 # Break only if it was the GNU/non-GNU ld that we prefer.
5602 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5603 *GNU* | *'with BFD'*)
5604 test "$with_gnu_ld" != no && break
5605 ;;
5606 *)
5607 test "$with_gnu_ld" != yes && break
5608 ;;
5609 esac
5610 fi
5611 done
5612 IFS="$lt_save_ifs"
5613 else
5614 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5615 fi
5616 fi
5617
5618 LD="$lt_cv_path_LD"
5619 if test -n "$LD"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5621 $as_echo "$LD" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5625 fi
5626 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5628 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5629 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5630 $as_echo_n "(cached) " >&6
5631 else
5632 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5633 case `$LD -v 2>&1 </dev/null` in
5634 *GNU* | *'with BFD'*)
5635 lt_cv_prog_gnu_ld=yes
5636 ;;
5637 *)
5638 lt_cv_prog_gnu_ld=no
5639 ;;
5640 esac
5641 fi
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5643 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5644 with_gnu_ld=$lt_cv_prog_gnu_ld
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5655 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5656 if test "${lt_cv_path_NM+set}" = set; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 if test -n "$NM"; then
5660 # Let the user override the test.
5661 lt_cv_path_NM="$NM"
5662 else
5663 lt_nm_to_check="${ac_tool_prefix}nm"
5664 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5665 lt_nm_to_check="$lt_nm_to_check nm"
5666 fi
5667 for lt_tmp_nm in $lt_nm_to_check; do
5668 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5669 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5670 IFS="$lt_save_ifs"
5671 test -z "$ac_dir" && ac_dir=.
5672 tmp_nm="$ac_dir/$lt_tmp_nm"
5673 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5674 # Check to see if the nm accepts a BSD-compat flag.
5675 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5676 # nm: unknown option "B" ignored
5677 # Tru64's nm complains that /dev/null is an invalid object file
5678 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5679 */dev/null* | *'Invalid file or object type'*)
5680 lt_cv_path_NM="$tmp_nm -B"
5681 break
5682 ;;
5683 *)
5684 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5685 */dev/null*)
5686 lt_cv_path_NM="$tmp_nm -p"
5687 break
5688 ;;
5689 *)
5690 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5691 continue # so that we can try to find one that supports BSD flags
5692 ;;
5693 esac
5694 ;;
5695 esac
5696 fi
5697 done
5698 IFS="$lt_save_ifs"
5699 done
5700 : ${lt_cv_path_NM=no}
5701 fi
5702 fi
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5704 $as_echo "$lt_cv_path_NM" >&6; }
5705 if test "$lt_cv_path_NM" != "no"; then
5706 NM="$lt_cv_path_NM"
5707 else
5708 # Didn't find any BSD compatible name lister, look for dumpbin.
5709 if test -n "$DUMPBIN"; then :
5710 # Let the user override the test.
5711 else
5712 if test -n "$ac_tool_prefix"; then
5713 for ac_prog in dumpbin "link -dump"
5714 do
5715 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5716 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5718 $as_echo_n "checking for $ac_word... " >&6; }
5719 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5720 $as_echo_n "(cached) " >&6
5721 else
5722 if test -n "$DUMPBIN"; then
5723 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5724 else
5725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5726 for as_dir in $PATH
5727 do
5728 IFS=$as_save_IFS
5729 test -z "$as_dir" && as_dir=.
5730 for ac_exec_ext in '' $ac_executable_extensions; do
5731 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5732 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5733 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5734 break 2
5735 fi
5736 done
5737 done
5738 IFS=$as_save_IFS
5739
5740 fi
5741 fi
5742 DUMPBIN=$ac_cv_prog_DUMPBIN
5743 if test -n "$DUMPBIN"; then
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5745 $as_echo "$DUMPBIN" >&6; }
5746 else
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5748 $as_echo "no" >&6; }
5749 fi
5750
5751
5752 test -n "$DUMPBIN" && break
5753 done
5754 fi
5755 if test -z "$DUMPBIN"; then
5756 ac_ct_DUMPBIN=$DUMPBIN
5757 for ac_prog in dumpbin "link -dump"
5758 do
5759 # Extract the first word of "$ac_prog", so it can be a program name with args.
5760 set dummy $ac_prog; ac_word=$2
5761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5762 $as_echo_n "checking for $ac_word... " >&6; }
5763 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5764 $as_echo_n "(cached) " >&6
5765 else
5766 if test -n "$ac_ct_DUMPBIN"; then
5767 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5768 else
5769 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5770 for as_dir in $PATH
5771 do
5772 IFS=$as_save_IFS
5773 test -z "$as_dir" && as_dir=.
5774 for ac_exec_ext in '' $ac_executable_extensions; do
5775 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5776 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5777 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5778 break 2
5779 fi
5780 done
5781 done
5782 IFS=$as_save_IFS
5783
5784 fi
5785 fi
5786 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5787 if test -n "$ac_ct_DUMPBIN"; then
5788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5789 $as_echo "$ac_ct_DUMPBIN" >&6; }
5790 else
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5792 $as_echo "no" >&6; }
5793 fi
5794
5795
5796 test -n "$ac_ct_DUMPBIN" && break
5797 done
5798
5799 if test "x$ac_ct_DUMPBIN" = x; then
5800 DUMPBIN=":"
5801 else
5802 case $cross_compiling:$ac_tool_warned in
5803 yes:)
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5805 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5806 ac_tool_warned=yes ;;
5807 esac
5808 DUMPBIN=$ac_ct_DUMPBIN
5809 fi
5810 fi
5811
5812 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5813 *COFF*)
5814 DUMPBIN="$DUMPBIN -symbols"
5815 ;;
5816 *)
5817 DUMPBIN=:
5818 ;;
5819 esac
5820 fi
5821
5822 if test "$DUMPBIN" != ":"; then
5823 NM="$DUMPBIN"
5824 fi
5825 fi
5826 test -z "$NM" && NM=nm
5827
5828
5829
5830
5831
5832
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5834 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5835 if test "${lt_cv_nm_interface+set}" = set; then :
5836 $as_echo_n "(cached) " >&6
5837 else
5838 lt_cv_nm_interface="BSD nm"
5839 echo "int some_variable = 0;" > conftest.$ac_ext
5840 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5841 (eval "$ac_compile" 2>conftest.err)
5842 cat conftest.err >&5
5843 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5844 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5845 cat conftest.err >&5
5846 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5847 cat conftest.out >&5
5848 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5849 lt_cv_nm_interface="MS dumpbin"
5850 fi
5851 rm -f conftest*
5852 fi
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5854 $as_echo "$lt_cv_nm_interface" >&6; }
5855
5856 # find the maximum length of command line arguments
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5858 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5859 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 i=0
5863 teststring="ABCD"
5864
5865 case $build_os in
5866 msdosdjgpp*)
5867 # On DJGPP, this test can blow up pretty badly due to problems in libc
5868 # (any single argument exceeding 2000 bytes causes a buffer overrun
5869 # during glob expansion). Even if it were fixed, the result of this
5870 # check would be larger than it should be.
5871 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5872 ;;
5873
5874 gnu*)
5875 # Under GNU Hurd, this test is not required because there is
5876 # no limit to the length of command line arguments.
5877 # Libtool will interpret -1 as no limit whatsoever
5878 lt_cv_sys_max_cmd_len=-1;
5879 ;;
5880
5881 cygwin* | mingw* | cegcc*)
5882 # On Win9x/ME, this test blows up -- it succeeds, but takes
5883 # about 5 minutes as the teststring grows exponentially.
5884 # Worse, since 9x/ME are not pre-emptively multitasking,
5885 # you end up with a "frozen" computer, even though with patience
5886 # the test eventually succeeds (with a max line length of 256k).
5887 # Instead, let's just punt: use the minimum linelength reported by
5888 # all of the supported platforms: 8192 (on NT/2K/XP).
5889 lt_cv_sys_max_cmd_len=8192;
5890 ;;
5891
5892 mint*)
5893 # On MiNT this can take a long time and run out of memory.
5894 lt_cv_sys_max_cmd_len=8192;
5895 ;;
5896
5897 amigaos*)
5898 # On AmigaOS with pdksh, this test takes hours, literally.
5899 # So we just punt and use a minimum line length of 8192.
5900 lt_cv_sys_max_cmd_len=8192;
5901 ;;
5902
5903 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5904 # This has been around since 386BSD, at least. Likely further.
5905 if test -x /sbin/sysctl; then
5906 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5907 elif test -x /usr/sbin/sysctl; then
5908 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5909 else
5910 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5911 fi
5912 # And add a safety zone
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5914 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5915 ;;
5916
5917 interix*)
5918 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5919 lt_cv_sys_max_cmd_len=196608
5920 ;;
5921
5922 osf*)
5923 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5924 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5925 # nice to cause kernel panics so lets avoid the loop below.
5926 # First set a reasonable default.
5927 lt_cv_sys_max_cmd_len=16384
5928 #
5929 if test -x /sbin/sysconfig; then
5930 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5931 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5932 esac
5933 fi
5934 ;;
5935 sco3.2v5*)
5936 lt_cv_sys_max_cmd_len=102400
5937 ;;
5938 sysv5* | sco5v6* | sysv4.2uw2*)
5939 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5940 if test -n "$kargmax"; then
5941 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5942 else
5943 lt_cv_sys_max_cmd_len=32768
5944 fi
5945 ;;
5946 *)
5947 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5948 if test -n "$lt_cv_sys_max_cmd_len"; then
5949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5951 else
5952 # Make teststring a little bigger before we do anything with it.
5953 # a 1K string should be a reasonable start.
5954 for i in 1 2 3 4 5 6 7 8 ; do
5955 teststring=$teststring$teststring
5956 done
5957 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5958 # If test is not a shell built-in, we'll probably end up computing a
5959 # maximum length that is only half of the actual maximum length, but
5960 # we can't tell.
5961 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5962 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5963 test $i != 17 # 1/2 MB should be enough
5964 do
5965 i=`expr $i + 1`
5966 teststring=$teststring$teststring
5967 done
5968 # Only check the string length outside the loop.
5969 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5970 teststring=
5971 # Add a significant safety factor because C++ compilers can tack on
5972 # massive amounts of additional arguments before passing them to the
5973 # linker. It appears as though 1/2 is a usable value.
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5975 fi
5976 ;;
5977 esac
5978
5979 fi
5980
5981 if test -n $lt_cv_sys_max_cmd_len ; then
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5983 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5984 else
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5986 $as_echo "none" >&6; }
5987 fi
5988 max_cmd_len=$lt_cv_sys_max_cmd_len
5989
5990
5991
5992
5993
5994
5995 : ${CP="cp -f"}
5996 : ${MV="mv -f"}
5997 : ${RM="rm -f"}
5998
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6000 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6001 # Try some XSI features
6002 xsi_shell=no
6003 ( _lt_dummy="a/b/c"
6004 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6005 = c,a/b,, \
6006 && eval 'test $(( 1 + 1 )) -eq 2 \
6007 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6008 && xsi_shell=yes
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6010 $as_echo "$xsi_shell" >&6; }
6011
6012
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6014 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6015 lt_shell_append=no
6016 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6017 >/dev/null 2>&1 \
6018 && lt_shell_append=yes
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6020 $as_echo "$lt_shell_append" >&6; }
6021
6022
6023 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6024 lt_unset=unset
6025 else
6026 lt_unset=false
6027 fi
6028
6029
6030
6031
6032
6033 # test EBCDIC or ASCII
6034 case `echo X|tr X '\101'` in
6035 A) # ASCII based system
6036 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6037 lt_SP2NL='tr \040 \012'
6038 lt_NL2SP='tr \015\012 \040\040'
6039 ;;
6040 *) # EBCDIC based system
6041 lt_SP2NL='tr \100 \n'
6042 lt_NL2SP='tr \r\n \100\100'
6043 ;;
6044 esac
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6055 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6056 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 lt_cv_ld_reload_flag='-r'
6060 fi
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6062 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6063 reload_flag=$lt_cv_ld_reload_flag
6064 case $reload_flag in
6065 "" | " "*) ;;
6066 *) reload_flag=" $reload_flag" ;;
6067 esac
6068 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6069 case $host_os in
6070 darwin*)
6071 if test "$GCC" = yes; then
6072 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6073 else
6074 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6075 fi
6076 ;;
6077 esac
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087 if test -n "$ac_tool_prefix"; then
6088 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6089 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6091 $as_echo_n "checking for $ac_word... " >&6; }
6092 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6093 $as_echo_n "(cached) " >&6
6094 else
6095 if test -n "$OBJDUMP"; then
6096 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6097 else
6098 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6099 for as_dir in $PATH
6100 do
6101 IFS=$as_save_IFS
6102 test -z "$as_dir" && as_dir=.
6103 for ac_exec_ext in '' $ac_executable_extensions; do
6104 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6105 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6106 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6107 break 2
6108 fi
6109 done
6110 done
6111 IFS=$as_save_IFS
6112
6113 fi
6114 fi
6115 OBJDUMP=$ac_cv_prog_OBJDUMP
6116 if test -n "$OBJDUMP"; then
6117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6118 $as_echo "$OBJDUMP" >&6; }
6119 else
6120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6121 $as_echo "no" >&6; }
6122 fi
6123
6124
6125 fi
6126 if test -z "$ac_cv_prog_OBJDUMP"; then
6127 ac_ct_OBJDUMP=$OBJDUMP
6128 # Extract the first word of "objdump", so it can be a program name with args.
6129 set dummy objdump; ac_word=$2
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6131 $as_echo_n "checking for $ac_word... " >&6; }
6132 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6133 $as_echo_n "(cached) " >&6
6134 else
6135 if test -n "$ac_ct_OBJDUMP"; then
6136 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6137 else
6138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6139 for as_dir in $PATH
6140 do
6141 IFS=$as_save_IFS
6142 test -z "$as_dir" && as_dir=.
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6145 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6147 break 2
6148 fi
6149 done
6150 done
6151 IFS=$as_save_IFS
6152
6153 fi
6154 fi
6155 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6156 if test -n "$ac_ct_OBJDUMP"; then
6157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6158 $as_echo "$ac_ct_OBJDUMP" >&6; }
6159 else
6160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 $as_echo "no" >&6; }
6162 fi
6163
6164 if test "x$ac_ct_OBJDUMP" = x; then
6165 OBJDUMP="false"
6166 else
6167 case $cross_compiling:$ac_tool_warned in
6168 yes:)
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned=yes ;;
6172 esac
6173 OBJDUMP=$ac_ct_OBJDUMP
6174 fi
6175 else
6176 OBJDUMP="$ac_cv_prog_OBJDUMP"
6177 fi
6178
6179 test -z "$OBJDUMP" && OBJDUMP=objdump
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6190 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6191 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 lt_cv_file_magic_cmd='$MAGIC_CMD'
6195 lt_cv_file_magic_test_file=
6196 lt_cv_deplibs_check_method='unknown'
6197 # Need to set the preceding variable on all platforms that support
6198 # interlibrary dependencies.
6199 # 'none' -- dependencies not supported.
6200 # `unknown' -- same as none, but documents that we really don't know.
6201 # 'pass_all' -- all dependencies passed with no checks.
6202 # 'test_compile' -- check by making test program.
6203 # 'file_magic [[regex]]' -- check by looking for files in library path
6204 # which responds to the $file_magic_cmd with a given extended regex.
6205 # If you have `file' or equivalent on your system and you're not sure
6206 # whether `pass_all' will *always* work, you probably want this one.
6207
6208 case $host_os in
6209 aix[4-9]*)
6210 lt_cv_deplibs_check_method=pass_all
6211 ;;
6212
6213 beos*)
6214 lt_cv_deplibs_check_method=pass_all
6215 ;;
6216
6217 bsdi[45]*)
6218 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6219 lt_cv_file_magic_cmd='/usr/bin/file -L'
6220 lt_cv_file_magic_test_file=/shlib/libc.so
6221 ;;
6222
6223 cygwin*)
6224 # func_win32_libid is a shell function defined in ltmain.sh
6225 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6226 lt_cv_file_magic_cmd='func_win32_libid'
6227 ;;
6228
6229 mingw* | pw32*)
6230 # Base MSYS/MinGW do not provide the 'file' command needed by
6231 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6232 # unless we find 'file', for example because we are cross-compiling.
6233 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6234 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6235 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6236 lt_cv_file_magic_cmd='func_win32_libid'
6237 else
6238 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6239 lt_cv_file_magic_cmd='$OBJDUMP -f'
6240 fi
6241 ;;
6242
6243 cegcc*)
6244 # use the weaker test based on 'objdump'. See mingw*.
6245 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6246 lt_cv_file_magic_cmd='$OBJDUMP -f'
6247 ;;
6248
6249 darwin* | rhapsody*)
6250 lt_cv_deplibs_check_method=pass_all
6251 ;;
6252
6253 freebsd* | dragonfly*)
6254 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6255 case $host_cpu in
6256 i*86 )
6257 # Not sure whether the presence of OpenBSD here was a mistake.
6258 # Let's accept both of them until this is cleared up.
6259 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6260 lt_cv_file_magic_cmd=/usr/bin/file
6261 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6262 ;;
6263 esac
6264 else
6265 lt_cv_deplibs_check_method=pass_all
6266 fi
6267 ;;
6268
6269 gnu*)
6270 lt_cv_deplibs_check_method=pass_all
6271 ;;
6272
6273 haiku*)
6274 lt_cv_deplibs_check_method=pass_all
6275 ;;
6276
6277 hpux10.20* | hpux11*)
6278 lt_cv_file_magic_cmd=/usr/bin/file
6279 case $host_cpu in
6280 ia64*)
6281 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6282 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6283 ;;
6284 hppa*64*)
6285 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]'
6286 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6287 ;;
6288 *)
6289 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6290 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6291 ;;
6292 esac
6293 ;;
6294
6295 interix[3-9]*)
6296 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6297 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6298 ;;
6299
6300 irix5* | irix6* | nonstopux*)
6301 case $LD in
6302 *-32|*"-32 ") libmagic=32-bit;;
6303 *-n32|*"-n32 ") libmagic=N32;;
6304 *-64|*"-64 ") libmagic=64-bit;;
6305 *) libmagic=never-match;;
6306 esac
6307 lt_cv_deplibs_check_method=pass_all
6308 ;;
6309
6310 # This must be Linux ELF.
6311 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6312 lt_cv_deplibs_check_method=pass_all
6313 ;;
6314
6315 netbsd*)
6316 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6317 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6318 else
6319 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6320 fi
6321 ;;
6322
6323 newos6*)
6324 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6325 lt_cv_file_magic_cmd=/usr/bin/file
6326 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6327 ;;
6328
6329 *nto* | *qnx*)
6330 lt_cv_deplibs_check_method=pass_all
6331 ;;
6332
6333 openbsd*)
6334 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6336 else
6337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6338 fi
6339 ;;
6340
6341 osf3* | osf4* | osf5*)
6342 lt_cv_deplibs_check_method=pass_all
6343 ;;
6344
6345 rdos*)
6346 lt_cv_deplibs_check_method=pass_all
6347 ;;
6348
6349 solaris*)
6350 lt_cv_deplibs_check_method=pass_all
6351 ;;
6352
6353 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6354 lt_cv_deplibs_check_method=pass_all
6355 ;;
6356
6357 sysv4 | sysv4.3*)
6358 case $host_vendor in
6359 motorola)
6360 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]'
6361 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6362 ;;
6363 ncr)
6364 lt_cv_deplibs_check_method=pass_all
6365 ;;
6366 sequent)
6367 lt_cv_file_magic_cmd='/bin/file'
6368 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6369 ;;
6370 sni)
6371 lt_cv_file_magic_cmd='/bin/file'
6372 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6373 lt_cv_file_magic_test_file=/lib/libc.so
6374 ;;
6375 siemens)
6376 lt_cv_deplibs_check_method=pass_all
6377 ;;
6378 pc)
6379 lt_cv_deplibs_check_method=pass_all
6380 ;;
6381 esac
6382 ;;
6383
6384 tpf*)
6385 lt_cv_deplibs_check_method=pass_all
6386 ;;
6387 esac
6388
6389 fi
6390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6391 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6392 file_magic_cmd=$lt_cv_file_magic_cmd
6393 deplibs_check_method=$lt_cv_deplibs_check_method
6394 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407 if test -n "$ac_tool_prefix"; then
6408 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6409 set dummy ${ac_tool_prefix}ar; ac_word=$2
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6411 $as_echo_n "checking for $ac_word... " >&6; }
6412 if test "${ac_cv_prog_AR+set}" = set; then :
6413 $as_echo_n "(cached) " >&6
6414 else
6415 if test -n "$AR"; then
6416 ac_cv_prog_AR="$AR" # Let the user override the test.
6417 else
6418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6419 for as_dir in $PATH
6420 do
6421 IFS=$as_save_IFS
6422 test -z "$as_dir" && as_dir=.
6423 for ac_exec_ext in '' $ac_executable_extensions; do
6424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6425 ac_cv_prog_AR="${ac_tool_prefix}ar"
6426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6427 break 2
6428 fi
6429 done
6430 done
6431 IFS=$as_save_IFS
6432
6433 fi
6434 fi
6435 AR=$ac_cv_prog_AR
6436 if test -n "$AR"; then
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6438 $as_echo "$AR" >&6; }
6439 else
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6441 $as_echo "no" >&6; }
6442 fi
6443
6444
6445 fi
6446 if test -z "$ac_cv_prog_AR"; then
6447 ac_ct_AR=$AR
6448 # Extract the first word of "ar", so it can be a program name with args.
6449 set dummy ar; ac_word=$2
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6451 $as_echo_n "checking for $ac_word... " >&6; }
6452 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6453 $as_echo_n "(cached) " >&6
6454 else
6455 if test -n "$ac_ct_AR"; then
6456 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6457 else
6458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6459 for as_dir in $PATH
6460 do
6461 IFS=$as_save_IFS
6462 test -z "$as_dir" && as_dir=.
6463 for ac_exec_ext in '' $ac_executable_extensions; do
6464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6465 ac_cv_prog_ac_ct_AR="ar"
6466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6467 break 2
6468 fi
6469 done
6470 done
6471 IFS=$as_save_IFS
6472
6473 fi
6474 fi
6475 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6476 if test -n "$ac_ct_AR"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6478 $as_echo "$ac_ct_AR" >&6; }
6479 else
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6481 $as_echo "no" >&6; }
6482 fi
6483
6484 if test "x$ac_ct_AR" = x; then
6485 AR="false"
6486 else
6487 case $cross_compiling:$ac_tool_warned in
6488 yes:)
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6491 ac_tool_warned=yes ;;
6492 esac
6493 AR=$ac_ct_AR
6494 fi
6495 else
6496 AR="$ac_cv_prog_AR"
6497 fi
6498
6499 test -z "$AR" && AR=ar
6500 test -z "$AR_FLAGS" && AR_FLAGS=cru
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512 if test -n "$ac_tool_prefix"; then
6513 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6514 set dummy ${ac_tool_prefix}strip; ac_word=$2
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6516 $as_echo_n "checking for $ac_word... " >&6; }
6517 if test "${ac_cv_prog_STRIP+set}" = set; then :
6518 $as_echo_n "(cached) " >&6
6519 else
6520 if test -n "$STRIP"; then
6521 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6525 do
6526 IFS=$as_save_IFS
6527 test -z "$as_dir" && as_dir=.
6528 for ac_exec_ext in '' $ac_executable_extensions; do
6529 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6530 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6532 break 2
6533 fi
6534 done
6535 done
6536 IFS=$as_save_IFS
6537
6538 fi
6539 fi
6540 STRIP=$ac_cv_prog_STRIP
6541 if test -n "$STRIP"; then
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6543 $as_echo "$STRIP" >&6; }
6544 else
6545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6546 $as_echo "no" >&6; }
6547 fi
6548
6549
6550 fi
6551 if test -z "$ac_cv_prog_STRIP"; then
6552 ac_ct_STRIP=$STRIP
6553 # Extract the first word of "strip", so it can be a program name with args.
6554 set dummy strip; ac_word=$2
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6556 $as_echo_n "checking for $ac_word... " >&6; }
6557 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6558 $as_echo_n "(cached) " >&6
6559 else
6560 if test -n "$ac_ct_STRIP"; then
6561 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6562 else
6563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6564 for as_dir in $PATH
6565 do
6566 IFS=$as_save_IFS
6567 test -z "$as_dir" && as_dir=.
6568 for ac_exec_ext in '' $ac_executable_extensions; do
6569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6570 ac_cv_prog_ac_ct_STRIP="strip"
6571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6572 break 2
6573 fi
6574 done
6575 done
6576 IFS=$as_save_IFS
6577
6578 fi
6579 fi
6580 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6581 if test -n "$ac_ct_STRIP"; then
6582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6583 $as_echo "$ac_ct_STRIP" >&6; }
6584 else
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6586 $as_echo "no" >&6; }
6587 fi
6588
6589 if test "x$ac_ct_STRIP" = x; then
6590 STRIP=":"
6591 else
6592 case $cross_compiling:$ac_tool_warned in
6593 yes:)
6594 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6595 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6596 ac_tool_warned=yes ;;
6597 esac
6598 STRIP=$ac_ct_STRIP
6599 fi
6600 else
6601 STRIP="$ac_cv_prog_STRIP"
6602 fi
6603
6604 test -z "$STRIP" && STRIP=:
6605
6606
6607
6608
6609
6610
6611 if test -n "$ac_tool_prefix"; then
6612 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6613 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6615 $as_echo_n "checking for $ac_word... " >&6; }
6616 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6617 $as_echo_n "(cached) " >&6
6618 else
6619 if test -n "$RANLIB"; then
6620 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6621 else
6622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6623 for as_dir in $PATH
6624 do
6625 IFS=$as_save_IFS
6626 test -z "$as_dir" && as_dir=.
6627 for ac_exec_ext in '' $ac_executable_extensions; do
6628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6629 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6631 break 2
6632 fi
6633 done
6634 done
6635 IFS=$as_save_IFS
6636
6637 fi
6638 fi
6639 RANLIB=$ac_cv_prog_RANLIB
6640 if test -n "$RANLIB"; then
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6642 $as_echo "$RANLIB" >&6; }
6643 else
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6645 $as_echo "no" >&6; }
6646 fi
6647
6648
6649 fi
6650 if test -z "$ac_cv_prog_RANLIB"; then
6651 ac_ct_RANLIB=$RANLIB
6652 # Extract the first word of "ranlib", so it can be a program name with args.
6653 set dummy ranlib; ac_word=$2
6654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6655 $as_echo_n "checking for $ac_word... " >&6; }
6656 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6657 $as_echo_n "(cached) " >&6
6658 else
6659 if test -n "$ac_ct_RANLIB"; then
6660 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6661 else
6662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6663 for as_dir in $PATH
6664 do
6665 IFS=$as_save_IFS
6666 test -z "$as_dir" && as_dir=.
6667 for ac_exec_ext in '' $ac_executable_extensions; do
6668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6669 ac_cv_prog_ac_ct_RANLIB="ranlib"
6670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6671 break 2
6672 fi
6673 done
6674 done
6675 IFS=$as_save_IFS
6676
6677 fi
6678 fi
6679 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6680 if test -n "$ac_ct_RANLIB"; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6682 $as_echo "$ac_ct_RANLIB" >&6; }
6683 else
6684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6685 $as_echo "no" >&6; }
6686 fi
6687
6688 if test "x$ac_ct_RANLIB" = x; then
6689 RANLIB=":"
6690 else
6691 case $cross_compiling:$ac_tool_warned in
6692 yes:)
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6695 ac_tool_warned=yes ;;
6696 esac
6697 RANLIB=$ac_ct_RANLIB
6698 fi
6699 else
6700 RANLIB="$ac_cv_prog_RANLIB"
6701 fi
6702
6703 test -z "$RANLIB" && RANLIB=:
6704
6705
6706
6707
6708
6709
6710 # Determine commands to create old-style static archives.
6711 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6712 old_postinstall_cmds='chmod 644 $oldlib'
6713 old_postuninstall_cmds=
6714
6715 if test -n "$RANLIB"; then
6716 case $host_os in
6717 openbsd*)
6718 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6719 ;;
6720 *)
6721 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6722 ;;
6723 esac
6724 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6725 fi
6726
6727 case $host_os in
6728 darwin*)
6729 lock_old_archive_extraction=yes ;;
6730 *)
6731 lock_old_archive_extraction=no ;;
6732 esac
6733
6734
6735
6736
6737
6738
6739
6740
6741
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 # If no C compiler was specified, use CC.
6773 LTCC=${LTCC-"$CC"}
6774
6775 # If no C compiler flags were specified, use CFLAGS.
6776 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6777
6778 # Allow CC to be a program name with arguments.
6779 compiler=$CC
6780
6781
6782 # Check for command to grab the raw symbol name followed by C symbol from nm.
6783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6784 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6785 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6786 $as_echo_n "(cached) " >&6
6787 else
6788
6789 # These are sane defaults that work on at least a few old systems.
6790 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6791
6792 # Character class describing NM global symbol codes.
6793 symcode='[BCDEGRST]'
6794
6795 # Regexp to match symbols that can be accessed directly from C.
6796 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6797
6798 # Define system-specific variables.
6799 case $host_os in
6800 aix*)
6801 symcode='[BCDT]'
6802 ;;
6803 cygwin* | mingw* | pw32* | cegcc*)
6804 symcode='[ABCDGISTW]'
6805 ;;
6806 hpux*)
6807 if test "$host_cpu" = ia64; then
6808 symcode='[ABCDEGRST]'
6809 fi
6810 ;;
6811 irix* | nonstopux*)
6812 symcode='[BCDEGRST]'
6813 ;;
6814 osf*)
6815 symcode='[BCDEGQRST]'
6816 ;;
6817 solaris*)
6818 symcode='[BDRT]'
6819 ;;
6820 sco3.2v5*)
6821 symcode='[DT]'
6822 ;;
6823 sysv4.2uw2*)
6824 symcode='[DT]'
6825 ;;
6826 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6827 symcode='[ABDT]'
6828 ;;
6829 sysv4)
6830 symcode='[DFNSTU]'
6831 ;;
6832 esac
6833
6834 # If we're using GNU nm, then use its standard symbol codes.
6835 case `$NM -V 2>&1` in
6836 *GNU* | *'with BFD'*)
6837 symcode='[ABCDGIRSTW]' ;;
6838 esac
6839
6840 # Transform an extracted symbol line into a proper C declaration.
6841 # Some systems (esp. on ia64) link data and code symbols differently,
6842 # so use this general approach.
6843 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6844
6845 # Transform an extracted symbol line into symbol name and symbol address
6846 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6847 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'"
6848
6849 # Handle CRLF in mingw tool chain
6850 opt_cr=
6851 case $build_os in
6852 mingw*)
6853 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6854 ;;
6855 esac
6856
6857 # Try without a prefix underscore, then with it.
6858 for ac_symprfx in "" "_"; do
6859
6860 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6861 symxfrm="\\1 $ac_symprfx\\2 \\2"
6862
6863 # Write the raw and C identifiers.
6864 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6865 # Fake it for dumpbin and say T for any non-static function
6866 # and D for any global variable.
6867 # Also find C++ and __fastcall symbols from MSVC++,
6868 # which start with @ or ?.
6869 lt_cv_sys_global_symbol_pipe="$AWK '"\
6870 " {last_section=section; section=\$ 3};"\
6871 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6872 " \$ 0!~/External *\|/{next};"\
6873 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6874 " {if(hide[section]) next};"\
6875 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6876 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6877 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6878 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6879 " ' prfx=^$ac_symprfx"
6880 else
6881 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6882 fi
6883
6884 # Check to see that the pipe works correctly.
6885 pipe_works=no
6886
6887 rm -f conftest*
6888 cat > conftest.$ac_ext <<_LT_EOF
6889 #ifdef __cplusplus
6890 extern "C" {
6891 #endif
6892 char nm_test_var;
6893 void nm_test_func(void);
6894 void nm_test_func(void){}
6895 #ifdef __cplusplus
6896 }
6897 #endif
6898 int main(){nm_test_var='a';nm_test_func();return(0);}
6899 _LT_EOF
6900
6901 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6902 (eval $ac_compile) 2>&5
6903 ac_status=$?
6904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6905 test $ac_status = 0; }; then
6906 # Now try to grab the symbols.
6907 nlist=conftest.nm
6908 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6909 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6910 ac_status=$?
6911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6912 test $ac_status = 0; } && test -s "$nlist"; then
6913 # Try sorting and uniquifying the output.
6914 if sort "$nlist" | uniq > "$nlist"T; then
6915 mv -f "$nlist"T "$nlist"
6916 else
6917 rm -f "$nlist"T
6918 fi
6919
6920 # Make sure that we snagged all the symbols we need.
6921 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6922 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6923 cat <<_LT_EOF > conftest.$ac_ext
6924 #ifdef __cplusplus
6925 extern "C" {
6926 #endif
6927
6928 _LT_EOF
6929 # Now generate the symbol file.
6930 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6931
6932 cat <<_LT_EOF >> conftest.$ac_ext
6933
6934 /* The mapping between symbol names and symbols. */
6935 const struct {
6936 const char *name;
6937 void *address;
6938 }
6939 lt__PROGRAM__LTX_preloaded_symbols[] =
6940 {
6941 { "@PROGRAM@", (void *) 0 },
6942 _LT_EOF
6943 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6944 cat <<\_LT_EOF >> conftest.$ac_ext
6945 {0, (void *) 0}
6946 };
6947
6948 /* This works around a problem in FreeBSD linker */
6949 #ifdef FREEBSD_WORKAROUND
6950 static const void *lt_preloaded_setup() {
6951 return lt__PROGRAM__LTX_preloaded_symbols;
6952 }
6953 #endif
6954
6955 #ifdef __cplusplus
6956 }
6957 #endif
6958 _LT_EOF
6959 # Now try linking the two files.
6960 mv conftest.$ac_objext conftstm.$ac_objext
6961 lt_save_LIBS="$LIBS"
6962 lt_save_CFLAGS="$CFLAGS"
6963 LIBS="conftstm.$ac_objext"
6964 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6965 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6966 (eval $ac_link) 2>&5
6967 ac_status=$?
6968 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6969 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6970 pipe_works=yes
6971 fi
6972 LIBS="$lt_save_LIBS"
6973 CFLAGS="$lt_save_CFLAGS"
6974 else
6975 echo "cannot find nm_test_func in $nlist" >&5
6976 fi
6977 else
6978 echo "cannot find nm_test_var in $nlist" >&5
6979 fi
6980 else
6981 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
6982 fi
6983 else
6984 echo "$progname: failed program was:" >&5
6985 cat conftest.$ac_ext >&5
6986 fi
6987 rm -rf conftest* conftst*
6988
6989 # Do not use the global_symbol_pipe unless it works.
6990 if test "$pipe_works" = yes; then
6991 break
6992 else
6993 lt_cv_sys_global_symbol_pipe=
6994 fi
6995 done
6996
6997 fi
6998
6999 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7000 lt_cv_sys_global_symbol_to_cdecl=
7001 fi
7002 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7004 $as_echo "failed" >&6; }
7005 else
7006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7007 $as_echo "ok" >&6; }
7008 fi
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031 # Check whether --enable-libtool-lock was given.
7032 if test "${enable_libtool_lock+set}" = set; then :
7033 enableval=$enable_libtool_lock;
7034 fi
7035
7036 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7037
7038 # Some flags need to be propagated to the compiler or linker for good
7039 # libtool support.
7040 case $host in
7041 ia64-*-hpux*)
7042 # Find out which ABI we are using.
7043 echo 'int i;' > conftest.$ac_ext
7044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7045 (eval $ac_compile) 2>&5
7046 ac_status=$?
7047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7048 test $ac_status = 0; }; then
7049 case `/usr/bin/file conftest.$ac_objext` in
7050 *ELF-32*)
7051 HPUX_IA64_MODE="32"
7052 ;;
7053 *ELF-64*)
7054 HPUX_IA64_MODE="64"
7055 ;;
7056 esac
7057 fi
7058 rm -rf conftest*
7059 ;;
7060 *-*-irix6*)
7061 # Find out which ABI we are using.
7062 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7063 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7064 (eval $ac_compile) 2>&5
7065 ac_status=$?
7066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7067 test $ac_status = 0; }; then
7068 if test "$lt_cv_prog_gnu_ld" = yes; then
7069 case `/usr/bin/file conftest.$ac_objext` in
7070 *32-bit*)
7071 LD="${LD-ld} -melf32bsmip"
7072 ;;
7073 *N32*)
7074 LD="${LD-ld} -melf32bmipn32"
7075 ;;
7076 *64-bit*)
7077 LD="${LD-ld} -melf64bmip"
7078 ;;
7079 esac
7080 else
7081 case `/usr/bin/file conftest.$ac_objext` in
7082 *32-bit*)
7083 LD="${LD-ld} -32"
7084 ;;
7085 *N32*)
7086 LD="${LD-ld} -n32"
7087 ;;
7088 *64-bit*)
7089 LD="${LD-ld} -64"
7090 ;;
7091 esac
7092 fi
7093 fi
7094 rm -rf conftest*
7095 ;;
7096
7097 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7098 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7099 # Find out which ABI we are using.
7100 echo 'int i;' > conftest.$ac_ext
7101 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7102 (eval $ac_compile) 2>&5
7103 ac_status=$?
7104 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7105 test $ac_status = 0; }; then
7106 case `/usr/bin/file conftest.o` in
7107 *32-bit*)
7108 case $host in
7109 x86_64-*kfreebsd*-gnu)
7110 LD="${LD-ld} -m elf_i386_fbsd"
7111 ;;
7112 x86_64-*linux*)
7113 LD="${LD-ld} -m elf_i386"
7114 ;;
7115 ppc64-*linux*|powerpc64-*linux*)
7116 LD="${LD-ld} -m elf32ppclinux"
7117 ;;
7118 s390x-*linux*)
7119 LD="${LD-ld} -m elf_s390"
7120 ;;
7121 sparc64-*linux*)
7122 LD="${LD-ld} -m elf32_sparc"
7123 ;;
7124 esac
7125 ;;
7126 *64-bit*)
7127 case $host in
7128 x86_64-*kfreebsd*-gnu)
7129 LD="${LD-ld} -m elf_x86_64_fbsd"
7130 ;;
7131 x86_64-*linux*)
7132 LD="${LD-ld} -m elf_x86_64"
7133 ;;
7134 ppc*-*linux*|powerpc*-*linux*)
7135 LD="${LD-ld} -m elf64ppc"
7136 ;;
7137 s390*-*linux*|s390*-*tpf*)
7138 LD="${LD-ld} -m elf64_s390"
7139 ;;
7140 sparc*-*linux*)
7141 LD="${LD-ld} -m elf64_sparc"
7142 ;;
7143 esac
7144 ;;
7145 esac
7146 fi
7147 rm -rf conftest*
7148 ;;
7149
7150 *-*-sco3.2v5*)
7151 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7152 SAVE_CFLAGS="$CFLAGS"
7153 CFLAGS="$CFLAGS -belf"
7154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7155 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7156 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7157 $as_echo_n "(cached) " >&6
7158 else
7159 ac_ext=c
7160 ac_cpp='$CPP $CPPFLAGS'
7161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7164
7165 if test x$gcc_no_link = xyes; then
7166 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7167 fi
7168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7169 /* end confdefs.h. */
7170
7171 int
7172 main ()
7173 {
7174
7175 ;
7176 return 0;
7177 }
7178 _ACEOF
7179 if ac_fn_c_try_link "$LINENO"; then :
7180 lt_cv_cc_needs_belf=yes
7181 else
7182 lt_cv_cc_needs_belf=no
7183 fi
7184 rm -f core conftest.err conftest.$ac_objext \
7185 conftest$ac_exeext conftest.$ac_ext
7186 ac_ext=c
7187 ac_cpp='$CPP $CPPFLAGS'
7188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7191
7192 fi
7193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7194 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7195 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7196 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7197 CFLAGS="$SAVE_CFLAGS"
7198 fi
7199 ;;
7200 sparc*-*solaris*)
7201 # Find out which ABI we are using.
7202 echo 'int i;' > conftest.$ac_ext
7203 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7204 (eval $ac_compile) 2>&5
7205 ac_status=$?
7206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7207 test $ac_status = 0; }; then
7208 case `/usr/bin/file conftest.o` in
7209 *64-bit*)
7210 case $lt_cv_prog_gnu_ld in
7211 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7212 *)
7213 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7214 LD="${LD-ld} -64"
7215 fi
7216 ;;
7217 esac
7218 ;;
7219 esac
7220 fi
7221 rm -rf conftest*
7222 ;;
7223 esac
7224
7225 need_locks="$enable_libtool_lock"
7226
7227
7228 case $host_os in
7229 rhapsody* | darwin*)
7230 if test -n "$ac_tool_prefix"; then
7231 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7232 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7234 $as_echo_n "checking for $ac_word... " >&6; }
7235 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7236 $as_echo_n "(cached) " >&6
7237 else
7238 if test -n "$DSYMUTIL"; then
7239 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7240 else
7241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7242 for as_dir in $PATH
7243 do
7244 IFS=$as_save_IFS
7245 test -z "$as_dir" && as_dir=.
7246 for ac_exec_ext in '' $ac_executable_extensions; do
7247 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7248 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 break 2
7251 fi
7252 done
7253 done
7254 IFS=$as_save_IFS
7255
7256 fi
7257 fi
7258 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7259 if test -n "$DSYMUTIL"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7261 $as_echo "$DSYMUTIL" >&6; }
7262 else
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7264 $as_echo "no" >&6; }
7265 fi
7266
7267
7268 fi
7269 if test -z "$ac_cv_prog_DSYMUTIL"; then
7270 ac_ct_DSYMUTIL=$DSYMUTIL
7271 # Extract the first word of "dsymutil", so it can be a program name with args.
7272 set dummy dsymutil; ac_word=$2
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7274 $as_echo_n "checking for $ac_word... " >&6; }
7275 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7276 $as_echo_n "(cached) " >&6
7277 else
7278 if test -n "$ac_ct_DSYMUTIL"; then
7279 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7280 else
7281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7282 for as_dir in $PATH
7283 do
7284 IFS=$as_save_IFS
7285 test -z "$as_dir" && as_dir=.
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7288 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7290 break 2
7291 fi
7292 done
7293 done
7294 IFS=$as_save_IFS
7295
7296 fi
7297 fi
7298 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7299 if test -n "$ac_ct_DSYMUTIL"; then
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7301 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7302 else
7303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 $as_echo "no" >&6; }
7305 fi
7306
7307 if test "x$ac_ct_DSYMUTIL" = x; then
7308 DSYMUTIL=":"
7309 else
7310 case $cross_compiling:$ac_tool_warned in
7311 yes:)
7312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7314 ac_tool_warned=yes ;;
7315 esac
7316 DSYMUTIL=$ac_ct_DSYMUTIL
7317 fi
7318 else
7319 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7320 fi
7321
7322 if test -n "$ac_tool_prefix"; then
7323 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7324 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7326 $as_echo_n "checking for $ac_word... " >&6; }
7327 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7328 $as_echo_n "(cached) " >&6
7329 else
7330 if test -n "$NMEDIT"; then
7331 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7332 else
7333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7334 for as_dir in $PATH
7335 do
7336 IFS=$as_save_IFS
7337 test -z "$as_dir" && as_dir=.
7338 for ac_exec_ext in '' $ac_executable_extensions; do
7339 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7340 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 break 2
7343 fi
7344 done
7345 done
7346 IFS=$as_save_IFS
7347
7348 fi
7349 fi
7350 NMEDIT=$ac_cv_prog_NMEDIT
7351 if test -n "$NMEDIT"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7353 $as_echo "$NMEDIT" >&6; }
7354 else
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7356 $as_echo "no" >&6; }
7357 fi
7358
7359
7360 fi
7361 if test -z "$ac_cv_prog_NMEDIT"; then
7362 ac_ct_NMEDIT=$NMEDIT
7363 # Extract the first word of "nmedit", so it can be a program name with args.
7364 set dummy nmedit; ac_word=$2
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7366 $as_echo_n "checking for $ac_word... " >&6; }
7367 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7368 $as_echo_n "(cached) " >&6
7369 else
7370 if test -n "$ac_ct_NMEDIT"; then
7371 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7375 do
7376 IFS=$as_save_IFS
7377 test -z "$as_dir" && as_dir=.
7378 for ac_exec_ext in '' $ac_executable_extensions; do
7379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7380 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7382 break 2
7383 fi
7384 done
7385 done
7386 IFS=$as_save_IFS
7387
7388 fi
7389 fi
7390 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7391 if test -n "$ac_ct_NMEDIT"; then
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7393 $as_echo "$ac_ct_NMEDIT" >&6; }
7394 else
7395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7396 $as_echo "no" >&6; }
7397 fi
7398
7399 if test "x$ac_ct_NMEDIT" = x; then
7400 NMEDIT=":"
7401 else
7402 case $cross_compiling:$ac_tool_warned in
7403 yes:)
7404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7405 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7406 ac_tool_warned=yes ;;
7407 esac
7408 NMEDIT=$ac_ct_NMEDIT
7409 fi
7410 else
7411 NMEDIT="$ac_cv_prog_NMEDIT"
7412 fi
7413
7414 if test -n "$ac_tool_prefix"; then
7415 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7416 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7418 $as_echo_n "checking for $ac_word... " >&6; }
7419 if test "${ac_cv_prog_LIPO+set}" = set; then :
7420 $as_echo_n "(cached) " >&6
7421 else
7422 if test -n "$LIPO"; then
7423 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7424 else
7425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 for as_dir in $PATH
7427 do
7428 IFS=$as_save_IFS
7429 test -z "$as_dir" && as_dir=.
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7432 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7433 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 break 2
7435 fi
7436 done
7437 done
7438 IFS=$as_save_IFS
7439
7440 fi
7441 fi
7442 LIPO=$ac_cv_prog_LIPO
7443 if test -n "$LIPO"; then
7444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7445 $as_echo "$LIPO" >&6; }
7446 else
7447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 $as_echo "no" >&6; }
7449 fi
7450
7451
7452 fi
7453 if test -z "$ac_cv_prog_LIPO"; then
7454 ac_ct_LIPO=$LIPO
7455 # Extract the first word of "lipo", so it can be a program name with args.
7456 set dummy lipo; ac_word=$2
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7458 $as_echo_n "checking for $ac_word... " >&6; }
7459 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7460 $as_echo_n "(cached) " >&6
7461 else
7462 if test -n "$ac_ct_LIPO"; then
7463 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7464 else
7465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7466 for as_dir in $PATH
7467 do
7468 IFS=$as_save_IFS
7469 test -z "$as_dir" && as_dir=.
7470 for ac_exec_ext in '' $ac_executable_extensions; do
7471 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7472 ac_cv_prog_ac_ct_LIPO="lipo"
7473 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7474 break 2
7475 fi
7476 done
7477 done
7478 IFS=$as_save_IFS
7479
7480 fi
7481 fi
7482 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7483 if test -n "$ac_ct_LIPO"; then
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7485 $as_echo "$ac_ct_LIPO" >&6; }
7486 else
7487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7488 $as_echo "no" >&6; }
7489 fi
7490
7491 if test "x$ac_ct_LIPO" = x; then
7492 LIPO=":"
7493 else
7494 case $cross_compiling:$ac_tool_warned in
7495 yes:)
7496 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7497 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7498 ac_tool_warned=yes ;;
7499 esac
7500 LIPO=$ac_ct_LIPO
7501 fi
7502 else
7503 LIPO="$ac_cv_prog_LIPO"
7504 fi
7505
7506 if test -n "$ac_tool_prefix"; then
7507 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7508 set dummy ${ac_tool_prefix}otool; ac_word=$2
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7510 $as_echo_n "checking for $ac_word... " >&6; }
7511 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7512 $as_echo_n "(cached) " >&6
7513 else
7514 if test -n "$OTOOL"; then
7515 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7516 else
7517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7518 for as_dir in $PATH
7519 do
7520 IFS=$as_save_IFS
7521 test -z "$as_dir" && as_dir=.
7522 for ac_exec_ext in '' $ac_executable_extensions; do
7523 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7524 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 break 2
7527 fi
7528 done
7529 done
7530 IFS=$as_save_IFS
7531
7532 fi
7533 fi
7534 OTOOL=$ac_cv_prog_OTOOL
7535 if test -n "$OTOOL"; then
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7537 $as_echo "$OTOOL" >&6; }
7538 else
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7540 $as_echo "no" >&6; }
7541 fi
7542
7543
7544 fi
7545 if test -z "$ac_cv_prog_OTOOL"; then
7546 ac_ct_OTOOL=$OTOOL
7547 # Extract the first word of "otool", so it can be a program name with args.
7548 set dummy otool; ac_word=$2
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7550 $as_echo_n "checking for $ac_word... " >&6; }
7551 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7552 $as_echo_n "(cached) " >&6
7553 else
7554 if test -n "$ac_ct_OTOOL"; then
7555 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7556 else
7557 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7558 for as_dir in $PATH
7559 do
7560 IFS=$as_save_IFS
7561 test -z "$as_dir" && as_dir=.
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7564 ac_cv_prog_ac_ct_OTOOL="otool"
7565 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7566 break 2
7567 fi
7568 done
7569 done
7570 IFS=$as_save_IFS
7571
7572 fi
7573 fi
7574 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7575 if test -n "$ac_ct_OTOOL"; then
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7577 $as_echo "$ac_ct_OTOOL" >&6; }
7578 else
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7580 $as_echo "no" >&6; }
7581 fi
7582
7583 if test "x$ac_ct_OTOOL" = x; then
7584 OTOOL=":"
7585 else
7586 case $cross_compiling:$ac_tool_warned in
7587 yes:)
7588 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7589 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7590 ac_tool_warned=yes ;;
7591 esac
7592 OTOOL=$ac_ct_OTOOL
7593 fi
7594 else
7595 OTOOL="$ac_cv_prog_OTOOL"
7596 fi
7597
7598 if test -n "$ac_tool_prefix"; then
7599 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7600 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7602 $as_echo_n "checking for $ac_word... " >&6; }
7603 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7604 $as_echo_n "(cached) " >&6
7605 else
7606 if test -n "$OTOOL64"; then
7607 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7608 else
7609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7610 for as_dir in $PATH
7611 do
7612 IFS=$as_save_IFS
7613 test -z "$as_dir" && as_dir=.
7614 for ac_exec_ext in '' $ac_executable_extensions; do
7615 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7616 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 break 2
7619 fi
7620 done
7621 done
7622 IFS=$as_save_IFS
7623
7624 fi
7625 fi
7626 OTOOL64=$ac_cv_prog_OTOOL64
7627 if test -n "$OTOOL64"; then
7628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7629 $as_echo "$OTOOL64" >&6; }
7630 else
7631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7632 $as_echo "no" >&6; }
7633 fi
7634
7635
7636 fi
7637 if test -z "$ac_cv_prog_OTOOL64"; then
7638 ac_ct_OTOOL64=$OTOOL64
7639 # Extract the first word of "otool64", so it can be a program name with args.
7640 set dummy otool64; ac_word=$2
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7642 $as_echo_n "checking for $ac_word... " >&6; }
7643 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7644 $as_echo_n "(cached) " >&6
7645 else
7646 if test -n "$ac_ct_OTOOL64"; then
7647 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7648 else
7649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7650 for as_dir in $PATH
7651 do
7652 IFS=$as_save_IFS
7653 test -z "$as_dir" && as_dir=.
7654 for ac_exec_ext in '' $ac_executable_extensions; do
7655 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7656 ac_cv_prog_ac_ct_OTOOL64="otool64"
7657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7658 break 2
7659 fi
7660 done
7661 done
7662 IFS=$as_save_IFS
7663
7664 fi
7665 fi
7666 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7667 if test -n "$ac_ct_OTOOL64"; then
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7669 $as_echo "$ac_ct_OTOOL64" >&6; }
7670 else
7671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7672 $as_echo "no" >&6; }
7673 fi
7674
7675 if test "x$ac_ct_OTOOL64" = x; then
7676 OTOOL64=":"
7677 else
7678 case $cross_compiling:$ac_tool_warned in
7679 yes:)
7680 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7681 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7682 ac_tool_warned=yes ;;
7683 esac
7684 OTOOL64=$ac_ct_OTOOL64
7685 fi
7686 else
7687 OTOOL64="$ac_cv_prog_OTOOL64"
7688 fi
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7717 $as_echo_n "checking for -single_module linker flag... " >&6; }
7718 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7719 $as_echo_n "(cached) " >&6
7720 else
7721 lt_cv_apple_cc_single_mod=no
7722 if test -z "${LT_MULTI_MODULE}"; then
7723 # By default we will add the -single_module flag. You can override
7724 # by either setting the environment variable LT_MULTI_MODULE
7725 # non-empty at configure time, or by adding -multi_module to the
7726 # link flags.
7727 rm -rf libconftest.dylib*
7728 echo "int foo(void){return 1;}" > conftest.c
7729 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7730 -dynamiclib -Wl,-single_module conftest.c" >&5
7731 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7732 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7733 _lt_result=$?
7734 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7735 lt_cv_apple_cc_single_mod=yes
7736 else
7737 cat conftest.err >&5
7738 fi
7739 rm -rf libconftest.dylib*
7740 rm -f conftest.*
7741 fi
7742 fi
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7744 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7746 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7747 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7748 $as_echo_n "(cached) " >&6
7749 else
7750 lt_cv_ld_exported_symbols_list=no
7751 save_LDFLAGS=$LDFLAGS
7752 echo "_main" > conftest.sym
7753 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7754 if test x$gcc_no_link = xyes; then
7755 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7756 fi
7757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7758 /* end confdefs.h. */
7759
7760 int
7761 main ()
7762 {
7763
7764 ;
7765 return 0;
7766 }
7767 _ACEOF
7768 if ac_fn_c_try_link "$LINENO"; then :
7769 lt_cv_ld_exported_symbols_list=yes
7770 else
7771 lt_cv_ld_exported_symbols_list=no
7772 fi
7773 rm -f core conftest.err conftest.$ac_objext \
7774 conftest$ac_exeext conftest.$ac_ext
7775 LDFLAGS="$save_LDFLAGS"
7776
7777 fi
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7779 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7781 $as_echo_n "checking for -force_load linker flag... " >&6; }
7782 if test "${lt_cv_ld_force_load+set}" = set; then :
7783 $as_echo_n "(cached) " >&6
7784 else
7785 lt_cv_ld_force_load=no
7786 cat > conftest.c << _LT_EOF
7787 int forced_loaded() { return 2;}
7788 _LT_EOF
7789 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7790 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7791 echo "$AR cru libconftest.a conftest.o" >&5
7792 $AR cru libconftest.a conftest.o 2>&5
7793 cat > conftest.c << _LT_EOF
7794 int main() { return 0;}
7795 _LT_EOF
7796 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7797 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7798 _lt_result=$?
7799 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7800 lt_cv_ld_force_load=yes
7801 else
7802 cat conftest.err >&5
7803 fi
7804 rm -f conftest.err libconftest.a conftest conftest.c
7805 rm -rf conftest.dSYM
7806
7807 fi
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7809 $as_echo "$lt_cv_ld_force_load" >&6; }
7810 case $host_os in
7811 rhapsody* | darwin1.[012])
7812 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7813 darwin1.*)
7814 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7815 darwin*) # darwin 5.x on
7816 # if running on 10.5 or later, the deployment target defaults
7817 # to the OS version, if on x86, and 10.4, the deployment
7818 # target defaults to 10.4. Don't you love it?
7819 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7820 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7821 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7822 10.[012]*)
7823 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7824 10.*)
7825 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7826 esac
7827 ;;
7828 esac
7829 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7830 _lt_dar_single_mod='$single_module'
7831 fi
7832 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7833 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7834 else
7835 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7836 fi
7837 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7838 _lt_dsymutil='~$DSYMUTIL $lib || :'
7839 else
7840 _lt_dsymutil=
7841 fi
7842 ;;
7843 esac
7844
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7846 $as_echo_n "checking for ANSI C header files... " >&6; }
7847 if test "${ac_cv_header_stdc+set}" = set; then :
7848 $as_echo_n "(cached) " >&6
7849 else
7850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7851 /* end confdefs.h. */
7852 #include <stdlib.h>
7853 #include <stdarg.h>
7854 #include <string.h>
7855 #include <float.h>
7856
7857 int
7858 main ()
7859 {
7860
7861 ;
7862 return 0;
7863 }
7864 _ACEOF
7865 if ac_fn_c_try_compile "$LINENO"; then :
7866 ac_cv_header_stdc=yes
7867 else
7868 ac_cv_header_stdc=no
7869 fi
7870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7871
7872 if test $ac_cv_header_stdc = yes; then
7873 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7875 /* end confdefs.h. */
7876 #include <string.h>
7877
7878 _ACEOF
7879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7880 $EGREP "memchr" >/dev/null 2>&1; then :
7881
7882 else
7883 ac_cv_header_stdc=no
7884 fi
7885 rm -f conftest*
7886
7887 fi
7888
7889 if test $ac_cv_header_stdc = yes; then
7890 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7892 /* end confdefs.h. */
7893 #include <stdlib.h>
7894
7895 _ACEOF
7896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7897 $EGREP "free" >/dev/null 2>&1; then :
7898
7899 else
7900 ac_cv_header_stdc=no
7901 fi
7902 rm -f conftest*
7903
7904 fi
7905
7906 if test $ac_cv_header_stdc = yes; then
7907 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7908 if test "$cross_compiling" = yes; then :
7909 :
7910 else
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <ctype.h>
7914 #include <stdlib.h>
7915 #if ((' ' & 0x0FF) == 0x020)
7916 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7917 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7918 #else
7919 # define ISLOWER(c) \
7920 (('a' <= (c) && (c) <= 'i') \
7921 || ('j' <= (c) && (c) <= 'r') \
7922 || ('s' <= (c) && (c) <= 'z'))
7923 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7924 #endif
7925
7926 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7927 int
7928 main ()
7929 {
7930 int i;
7931 for (i = 0; i < 256; i++)
7932 if (XOR (islower (i), ISLOWER (i))
7933 || toupper (i) != TOUPPER (i))
7934 return 2;
7935 return 0;
7936 }
7937 _ACEOF
7938 if ac_fn_c_try_run "$LINENO"; then :
7939
7940 else
7941 ac_cv_header_stdc=no
7942 fi
7943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7944 conftest.$ac_objext conftest.beam conftest.$ac_ext
7945 fi
7946
7947 fi
7948 fi
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7950 $as_echo "$ac_cv_header_stdc" >&6; }
7951 if test $ac_cv_header_stdc = yes; then
7952
7953 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7954
7955 fi
7956
7957 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7958 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7959 inttypes.h stdint.h unistd.h
7960 do :
7961 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7962 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7963 "
7964 eval as_val=\$$as_ac_Header
7965 if test "x$as_val" = x""yes; then :
7966 cat >>confdefs.h <<_ACEOF
7967 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7968 _ACEOF
7969
7970 fi
7971
7972 done
7973
7974
7975 for ac_header in dlfcn.h
7976 do :
7977 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7978 "
7979 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
7980 cat >>confdefs.h <<_ACEOF
7981 #define HAVE_DLFCN_H 1
7982 _ACEOF
7983
7984 fi
7985
7986 done
7987
7988
7989
7990
7991
7992
7993 # Set options
7994
7995
7996
7997
7998 enable_win32_dll=no
7999
8000
8001 # Check whether --enable-shared was given.
8002 if test "${enable_shared+set}" = set; then :
8003 enableval=$enable_shared; p=${PACKAGE-default}
8004 case $enableval in
8005 yes) enable_shared=yes ;;
8006 no) enable_shared=no ;;
8007 *)
8008 enable_shared=no
8009 # Look at the argument we got. We use all the common list separators.
8010 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8011 for pkg in $enableval; do
8012 IFS="$lt_save_ifs"
8013 if test "X$pkg" = "X$p"; then
8014 enable_shared=yes
8015 fi
8016 done
8017 IFS="$lt_save_ifs"
8018 ;;
8019 esac
8020 else
8021 enable_shared=yes
8022 fi
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032 # Check whether --enable-static was given.
8033 if test "${enable_static+set}" = set; then :
8034 enableval=$enable_static; p=${PACKAGE-default}
8035 case $enableval in
8036 yes) enable_static=yes ;;
8037 no) enable_static=no ;;
8038 *)
8039 enable_static=no
8040 # Look at the argument we got. We use all the common list separators.
8041 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8042 for pkg in $enableval; do
8043 IFS="$lt_save_ifs"
8044 if test "X$pkg" = "X$p"; then
8045 enable_static=yes
8046 fi
8047 done
8048 IFS="$lt_save_ifs"
8049 ;;
8050 esac
8051 else
8052 enable_static=yes
8053 fi
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064 # Check whether --with-pic was given.
8065 if test "${with_pic+set}" = set; then :
8066 withval=$with_pic; pic_mode="$withval"
8067 else
8068 pic_mode=default
8069 fi
8070
8071
8072 test -z "$pic_mode" && pic_mode=default
8073
8074
8075
8076
8077
8078
8079
8080 # Check whether --enable-fast-install was given.
8081 if test "${enable_fast_install+set}" = set; then :
8082 enableval=$enable_fast_install; p=${PACKAGE-default}
8083 case $enableval in
8084 yes) enable_fast_install=yes ;;
8085 no) enable_fast_install=no ;;
8086 *)
8087 enable_fast_install=no
8088 # Look at the argument we got. We use all the common list separators.
8089 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8090 for pkg in $enableval; do
8091 IFS="$lt_save_ifs"
8092 if test "X$pkg" = "X$p"; then
8093 enable_fast_install=yes
8094 fi
8095 done
8096 IFS="$lt_save_ifs"
8097 ;;
8098 esac
8099 else
8100 enable_fast_install=yes
8101 fi
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113 # This can be used to rebuild libtool when needed
8114 LIBTOOL_DEPS="$ltmain"
8115
8116 # Always use our own libtool.
8117 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144 test -z "$LN_S" && LN_S="ln -s"
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159 if test -n "${ZSH_VERSION+set}" ; then
8160 setopt NO_GLOB_SUBST
8161 fi
8162
8163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8164 $as_echo_n "checking for objdir... " >&6; }
8165 if test "${lt_cv_objdir+set}" = set; then :
8166 $as_echo_n "(cached) " >&6
8167 else
8168 rm -f .libs 2>/dev/null
8169 mkdir .libs 2>/dev/null
8170 if test -d .libs; then
8171 lt_cv_objdir=.libs
8172 else
8173 # MS-DOS does not allow filenames that begin with a dot.
8174 lt_cv_objdir=_libs
8175 fi
8176 rmdir .libs 2>/dev/null
8177 fi
8178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8179 $as_echo "$lt_cv_objdir" >&6; }
8180 objdir=$lt_cv_objdir
8181
8182
8183
8184
8185
8186 cat >>confdefs.h <<_ACEOF
8187 #define LT_OBJDIR "$lt_cv_objdir/"
8188 _ACEOF
8189
8190
8191
8192
8193 case $host_os in
8194 aix3*)
8195 # AIX sometimes has problems with the GCC collect2 program. For some
8196 # reason, if we set the COLLECT_NAMES environment variable, the problems
8197 # vanish in a puff of smoke.
8198 if test "X${COLLECT_NAMES+set}" != Xset; then
8199 COLLECT_NAMES=
8200 export COLLECT_NAMES
8201 fi
8202 ;;
8203 esac
8204
8205 # Global variables:
8206 ofile=libtool
8207 can_build_shared=yes
8208
8209 # All known linkers require a `.a' archive for static linking (except MSVC,
8210 # which needs '.lib').
8211 libext=a
8212
8213 with_gnu_ld="$lt_cv_prog_gnu_ld"
8214
8215 old_CC="$CC"
8216 old_CFLAGS="$CFLAGS"
8217
8218 # Set sane defaults for various variables
8219 test -z "$CC" && CC=cc
8220 test -z "$LTCC" && LTCC=$CC
8221 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8222 test -z "$LD" && LD=ld
8223 test -z "$ac_objext" && ac_objext=o
8224
8225 for cc_temp in $compiler""; do
8226 case $cc_temp in
8227 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8228 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8229 \-*) ;;
8230 *) break;;
8231 esac
8232 done
8233 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8234
8235
8236 # Only perform the check for file, if the check method requires it
8237 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8238 case $deplibs_check_method in
8239 file_magic*)
8240 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8242 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8243 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8244 $as_echo_n "(cached) " >&6
8245 else
8246 case $MAGIC_CMD in
8247 [\\/*] | ?:[\\/]*)
8248 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8249 ;;
8250 *)
8251 lt_save_MAGIC_CMD="$MAGIC_CMD"
8252 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8253 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8254 for ac_dir in $ac_dummy; do
8255 IFS="$lt_save_ifs"
8256 test -z "$ac_dir" && ac_dir=.
8257 if test -f $ac_dir/${ac_tool_prefix}file; then
8258 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8259 if test -n "$file_magic_test_file"; then
8260 case $deplibs_check_method in
8261 "file_magic "*)
8262 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8263 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8264 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8265 $EGREP "$file_magic_regex" > /dev/null; then
8266 :
8267 else
8268 cat <<_LT_EOF 1>&2
8269
8270 *** Warning: the command libtool uses to detect shared libraries,
8271 *** $file_magic_cmd, produces output that libtool cannot recognize.
8272 *** The result is that libtool may fail to recognize shared libraries
8273 *** as such. This will affect the creation of libtool libraries that
8274 *** depend on shared libraries, but programs linked with such libtool
8275 *** libraries will work regardless of this problem. Nevertheless, you
8276 *** may want to report the problem to your system manager and/or to
8277 *** bug-libtool@gnu.org
8278
8279 _LT_EOF
8280 fi ;;
8281 esac
8282 fi
8283 break
8284 fi
8285 done
8286 IFS="$lt_save_ifs"
8287 MAGIC_CMD="$lt_save_MAGIC_CMD"
8288 ;;
8289 esac
8290 fi
8291
8292 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8293 if test -n "$MAGIC_CMD"; then
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8295 $as_echo "$MAGIC_CMD" >&6; }
8296 else
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8298 $as_echo "no" >&6; }
8299 fi
8300
8301
8302
8303
8304
8305 if test -z "$lt_cv_path_MAGIC_CMD"; then
8306 if test -n "$ac_tool_prefix"; then
8307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8308 $as_echo_n "checking for file... " >&6; }
8309 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8310 $as_echo_n "(cached) " >&6
8311 else
8312 case $MAGIC_CMD in
8313 [\\/*] | ?:[\\/]*)
8314 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8315 ;;
8316 *)
8317 lt_save_MAGIC_CMD="$MAGIC_CMD"
8318 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8319 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8320 for ac_dir in $ac_dummy; do
8321 IFS="$lt_save_ifs"
8322 test -z "$ac_dir" && ac_dir=.
8323 if test -f $ac_dir/file; then
8324 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8325 if test -n "$file_magic_test_file"; then
8326 case $deplibs_check_method in
8327 "file_magic "*)
8328 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8331 $EGREP "$file_magic_regex" > /dev/null; then
8332 :
8333 else
8334 cat <<_LT_EOF 1>&2
8335
8336 *** Warning: the command libtool uses to detect shared libraries,
8337 *** $file_magic_cmd, produces output that libtool cannot recognize.
8338 *** The result is that libtool may fail to recognize shared libraries
8339 *** as such. This will affect the creation of libtool libraries that
8340 *** depend on shared libraries, but programs linked with such libtool
8341 *** libraries will work regardless of this problem. Nevertheless, you
8342 *** may want to report the problem to your system manager and/or to
8343 *** bug-libtool@gnu.org
8344
8345 _LT_EOF
8346 fi ;;
8347 esac
8348 fi
8349 break
8350 fi
8351 done
8352 IFS="$lt_save_ifs"
8353 MAGIC_CMD="$lt_save_MAGIC_CMD"
8354 ;;
8355 esac
8356 fi
8357
8358 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8359 if test -n "$MAGIC_CMD"; then
8360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8361 $as_echo "$MAGIC_CMD" >&6; }
8362 else
8363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8364 $as_echo "no" >&6; }
8365 fi
8366
8367
8368 else
8369 MAGIC_CMD=:
8370 fi
8371 fi
8372
8373 fi
8374 ;;
8375 esac
8376
8377 # Use C for the default configuration in the libtool script
8378
8379 lt_save_CC="$CC"
8380 ac_ext=c
8381 ac_cpp='$CPP $CPPFLAGS'
8382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8385
8386
8387 # Source file extension for C test sources.
8388 ac_ext=c
8389
8390 # Object file extension for compiled C test sources.
8391 objext=o
8392 objext=$objext
8393
8394 # Code to be used in simple compile tests
8395 lt_simple_compile_test_code="int some_variable = 0;"
8396
8397 # Code to be used in simple link tests
8398 lt_simple_link_test_code='int main(){return(0);}'
8399
8400
8401
8402
8403
8404
8405
8406 # If no C compiler was specified, use CC.
8407 LTCC=${LTCC-"$CC"}
8408
8409 # If no C compiler flags were specified, use CFLAGS.
8410 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8411
8412 # Allow CC to be a program name with arguments.
8413 compiler=$CC
8414
8415 # Save the default compiler, since it gets overwritten when the other
8416 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8417 compiler_DEFAULT=$CC
8418
8419 # save warnings/boilerplate of simple test code
8420 ac_outfile=conftest.$ac_objext
8421 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8422 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8423 _lt_compiler_boilerplate=`cat conftest.err`
8424 $RM conftest*
8425
8426 ac_outfile=conftest.$ac_objext
8427 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8428 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8429 _lt_linker_boilerplate=`cat conftest.err`
8430 $RM -r conftest*
8431
8432
8433 ## CAVEAT EMPTOR:
8434 ## There is no encapsulation within the following macros, do not change
8435 ## the running order or otherwise move them around unless you know exactly
8436 ## what you are doing...
8437 if test -n "$compiler"; then
8438
8439 lt_prog_compiler_no_builtin_flag=
8440
8441 if test "$GCC" = yes; then
8442 case $cc_basename in
8443 nvcc*)
8444 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8445 *)
8446 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8447 esac
8448
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8450 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8451 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8452 $as_echo_n "(cached) " >&6
8453 else
8454 lt_cv_prog_compiler_rtti_exceptions=no
8455 ac_outfile=conftest.$ac_objext
8456 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8457 lt_compiler_flag="-fno-rtti -fno-exceptions"
8458 # Insert the option either (1) after the last *FLAGS variable, or
8459 # (2) before a word containing "conftest.", or (3) at the end.
8460 # Note that $ac_compile itself does not contain backslashes and begins
8461 # with a dollar sign (not a hyphen), so the echo should work correctly.
8462 # The option is referenced via a variable to avoid confusing sed.
8463 lt_compile=`echo "$ac_compile" | $SED \
8464 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8465 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8466 -e 's:$: $lt_compiler_flag:'`
8467 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8468 (eval "$lt_compile" 2>conftest.err)
8469 ac_status=$?
8470 cat conftest.err >&5
8471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8472 if (exit $ac_status) && test -s "$ac_outfile"; then
8473 # The compiler can only warn and ignore the option if not recognized
8474 # So say no if there are warnings other than the usual output.
8475 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8476 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8477 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8478 lt_cv_prog_compiler_rtti_exceptions=yes
8479 fi
8480 fi
8481 $RM conftest*
8482
8483 fi
8484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8485 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8486
8487 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8488 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8489 else
8490 :
8491 fi
8492
8493 fi
8494
8495
8496
8497
8498
8499
8500 lt_prog_compiler_wl=
8501 lt_prog_compiler_pic=
8502 lt_prog_compiler_static=
8503
8504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8506
8507 if test "$GCC" = yes; then
8508 lt_prog_compiler_wl='-Wl,'
8509 lt_prog_compiler_static='-static'
8510
8511 case $host_os in
8512 aix*)
8513 # All AIX code is PIC.
8514 if test "$host_cpu" = ia64; then
8515 # AIX 5 now supports IA64 processor
8516 lt_prog_compiler_static='-Bstatic'
8517 fi
8518 ;;
8519
8520 amigaos*)
8521 case $host_cpu in
8522 powerpc)
8523 # see comment about AmigaOS4 .so support
8524 lt_prog_compiler_pic='-fPIC'
8525 ;;
8526 m68k)
8527 # FIXME: we need at least 68020 code to build shared libraries, but
8528 # adding the `-m68020' flag to GCC prevents building anything better,
8529 # like `-m68040'.
8530 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8531 ;;
8532 esac
8533 ;;
8534
8535 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8536 # PIC is the default for these OSes.
8537 ;;
8538
8539 mingw* | cygwin* | pw32* | os2* | cegcc*)
8540 # This hack is so that the source file can tell whether it is being
8541 # built for inclusion in a dll (and should export symbols for example).
8542 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8543 # (--disable-auto-import) libraries
8544 lt_prog_compiler_pic='-DDLL_EXPORT'
8545 ;;
8546
8547 darwin* | rhapsody*)
8548 # PIC is the default on this platform
8549 # Common symbols not allowed in MH_DYLIB files
8550 lt_prog_compiler_pic='-fno-common'
8551 ;;
8552
8553 haiku*)
8554 # PIC is the default for Haiku.
8555 # The "-static" flag exists, but is broken.
8556 lt_prog_compiler_static=
8557 ;;
8558
8559 hpux*)
8560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8562 # sets the default TLS model and affects inlining.
8563 case $host_cpu in
8564 hppa*64*)
8565 # +Z the default
8566 ;;
8567 *)
8568 lt_prog_compiler_pic='-fPIC'
8569 ;;
8570 esac
8571 ;;
8572
8573 interix[3-9]*)
8574 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8575 # Instead, we relocate shared libraries at runtime.
8576 ;;
8577
8578 msdosdjgpp*)
8579 # Just because we use GCC doesn't mean we suddenly get shared libraries
8580 # on systems that don't support them.
8581 lt_prog_compiler_can_build_shared=no
8582 enable_shared=no
8583 ;;
8584
8585 *nto* | *qnx*)
8586 # QNX uses GNU C++, but need to define -shared option too, otherwise
8587 # it will coredump.
8588 lt_prog_compiler_pic='-fPIC -shared'
8589 ;;
8590
8591 sysv4*MP*)
8592 if test -d /usr/nec; then
8593 lt_prog_compiler_pic=-Kconform_pic
8594 fi
8595 ;;
8596
8597 *)
8598 lt_prog_compiler_pic='-fPIC'
8599 ;;
8600 esac
8601
8602 case $cc_basename in
8603 nvcc*) # Cuda Compiler Driver 2.2
8604 lt_prog_compiler_wl='-Xlinker '
8605 lt_prog_compiler_pic='-Xcompiler -fPIC'
8606 ;;
8607 esac
8608 else
8609 # PORTME Check for flag to pass linker flags through the system compiler.
8610 case $host_os in
8611 aix*)
8612 lt_prog_compiler_wl='-Wl,'
8613 if test "$host_cpu" = ia64; then
8614 # AIX 5 now supports IA64 processor
8615 lt_prog_compiler_static='-Bstatic'
8616 else
8617 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8618 fi
8619 ;;
8620
8621 mingw* | cygwin* | pw32* | os2* | cegcc*)
8622 # This hack is so that the source file can tell whether it is being
8623 # built for inclusion in a dll (and should export symbols for example).
8624 lt_prog_compiler_pic='-DDLL_EXPORT'
8625 ;;
8626
8627 hpux9* | hpux10* | hpux11*)
8628 lt_prog_compiler_wl='-Wl,'
8629 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8630 # not for PA HP-UX.
8631 case $host_cpu in
8632 hppa*64*|ia64*)
8633 # +Z the default
8634 ;;
8635 *)
8636 lt_prog_compiler_pic='+Z'
8637 ;;
8638 esac
8639 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8640 lt_prog_compiler_static='${wl}-a ${wl}archive'
8641 ;;
8642
8643 irix5* | irix6* | nonstopux*)
8644 lt_prog_compiler_wl='-Wl,'
8645 # PIC (with -KPIC) is the default.
8646 lt_prog_compiler_static='-non_shared'
8647 ;;
8648
8649 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8650 case $cc_basename in
8651 # old Intel for x86_64 which still supported -KPIC.
8652 ecc*)
8653 lt_prog_compiler_wl='-Wl,'
8654 lt_prog_compiler_pic='-KPIC'
8655 lt_prog_compiler_static='-static'
8656 ;;
8657 # icc used to be incompatible with GCC.
8658 # ICC 10 doesn't accept -KPIC any more.
8659 icc* | ifort*)
8660 lt_prog_compiler_wl='-Wl,'
8661 lt_prog_compiler_pic='-fPIC'
8662 lt_prog_compiler_static='-static'
8663 ;;
8664 # Lahey Fortran 8.1.
8665 lf95*)
8666 lt_prog_compiler_wl='-Wl,'
8667 lt_prog_compiler_pic='--shared'
8668 lt_prog_compiler_static='--static'
8669 ;;
8670 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8671 # Portland Group compilers (*not* the Pentium gcc compiler,
8672 # which looks to be a dead project)
8673 lt_prog_compiler_wl='-Wl,'
8674 lt_prog_compiler_pic='-fpic'
8675 lt_prog_compiler_static='-Bstatic'
8676 ;;
8677 ccc*)
8678 lt_prog_compiler_wl='-Wl,'
8679 # All Alpha code is PIC.
8680 lt_prog_compiler_static='-non_shared'
8681 ;;
8682 xl* | bgxl* | bgf* | mpixl*)
8683 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8684 lt_prog_compiler_wl='-Wl,'
8685 lt_prog_compiler_pic='-qpic'
8686 lt_prog_compiler_static='-qstaticlink'
8687 ;;
8688 *)
8689 case `$CC -V 2>&1 | sed 5q` in
8690 *Sun\ F* | *Sun*Fortran*)
8691 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-Bstatic'
8694 lt_prog_compiler_wl=''
8695 ;;
8696 *Sun\ C*)
8697 # Sun C 5.9
8698 lt_prog_compiler_pic='-KPIC'
8699 lt_prog_compiler_static='-Bstatic'
8700 lt_prog_compiler_wl='-Wl,'
8701 ;;
8702 esac
8703 ;;
8704 esac
8705 ;;
8706
8707 newsos6)
8708 lt_prog_compiler_pic='-KPIC'
8709 lt_prog_compiler_static='-Bstatic'
8710 ;;
8711
8712 *nto* | *qnx*)
8713 # QNX uses GNU C++, but need to define -shared option too, otherwise
8714 # it will coredump.
8715 lt_prog_compiler_pic='-fPIC -shared'
8716 ;;
8717
8718 osf3* | osf4* | osf5*)
8719 lt_prog_compiler_wl='-Wl,'
8720 # All OSF/1 code is PIC.
8721 lt_prog_compiler_static='-non_shared'
8722 ;;
8723
8724 rdos*)
8725 lt_prog_compiler_static='-non_shared'
8726 ;;
8727
8728 solaris*)
8729 lt_prog_compiler_pic='-KPIC'
8730 lt_prog_compiler_static='-Bstatic'
8731 case $cc_basename in
8732 f77* | f90* | f95*)
8733 lt_prog_compiler_wl='-Qoption ld ';;
8734 *)
8735 lt_prog_compiler_wl='-Wl,';;
8736 esac
8737 ;;
8738
8739 sunos4*)
8740 lt_prog_compiler_wl='-Qoption ld '
8741 lt_prog_compiler_pic='-PIC'
8742 lt_prog_compiler_static='-Bstatic'
8743 ;;
8744
8745 sysv4 | sysv4.2uw2* | sysv4.3*)
8746 lt_prog_compiler_wl='-Wl,'
8747 lt_prog_compiler_pic='-KPIC'
8748 lt_prog_compiler_static='-Bstatic'
8749 ;;
8750
8751 sysv4*MP*)
8752 if test -d /usr/nec ;then
8753 lt_prog_compiler_pic='-Kconform_pic'
8754 lt_prog_compiler_static='-Bstatic'
8755 fi
8756 ;;
8757
8758 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-Bstatic'
8762 ;;
8763
8764 unicos*)
8765 lt_prog_compiler_wl='-Wl,'
8766 lt_prog_compiler_can_build_shared=no
8767 ;;
8768
8769 uts4*)
8770 lt_prog_compiler_pic='-pic'
8771 lt_prog_compiler_static='-Bstatic'
8772 ;;
8773
8774 *)
8775 lt_prog_compiler_can_build_shared=no
8776 ;;
8777 esac
8778 fi
8779
8780 case $host_os in
8781 # For platforms which do not support PIC, -DPIC is meaningless:
8782 *djgpp*)
8783 lt_prog_compiler_pic=
8784 ;;
8785 *)
8786 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8787 ;;
8788 esac
8789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8790 $as_echo "$lt_prog_compiler_pic" >&6; }
8791
8792
8793
8794
8795
8796
8797 #
8798 # Check to make sure the PIC flag actually works.
8799 #
8800 if test -n "$lt_prog_compiler_pic"; then
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8802 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8803 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8804 $as_echo_n "(cached) " >&6
8805 else
8806 lt_cv_prog_compiler_pic_works=no
8807 ac_outfile=conftest.$ac_objext
8808 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8809 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8810 # Insert the option either (1) after the last *FLAGS variable, or
8811 # (2) before a word containing "conftest.", or (3) at the end.
8812 # Note that $ac_compile itself does not contain backslashes and begins
8813 # with a dollar sign (not a hyphen), so the echo should work correctly.
8814 # The option is referenced via a variable to avoid confusing sed.
8815 lt_compile=`echo "$ac_compile" | $SED \
8816 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8817 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8818 -e 's:$: $lt_compiler_flag:'`
8819 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8820 (eval "$lt_compile" 2>conftest.err)
8821 ac_status=$?
8822 cat conftest.err >&5
8823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8824 if (exit $ac_status) && test -s "$ac_outfile"; then
8825 # The compiler can only warn and ignore the option if not recognized
8826 # So say no if there are warnings other than the usual output.
8827 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8828 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8829 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8830 lt_cv_prog_compiler_pic_works=yes
8831 fi
8832 fi
8833 $RM conftest*
8834
8835 fi
8836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8837 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8838
8839 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8840 case $lt_prog_compiler_pic in
8841 "" | " "*) ;;
8842 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8843 esac
8844 else
8845 lt_prog_compiler_pic=
8846 lt_prog_compiler_can_build_shared=no
8847 fi
8848
8849 fi
8850
8851
8852
8853
8854
8855
8856 #
8857 # Check to make sure the static flag actually works.
8858 #
8859 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8861 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8862 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8863 $as_echo_n "(cached) " >&6
8864 else
8865 lt_cv_prog_compiler_static_works=no
8866 save_LDFLAGS="$LDFLAGS"
8867 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8868 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8869 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8870 # The linker can only warn and ignore the option if not recognized
8871 # So say no if there are warnings
8872 if test -s conftest.err; then
8873 # Append any errors to the config.log.
8874 cat conftest.err 1>&5
8875 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8876 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8877 if diff conftest.exp conftest.er2 >/dev/null; then
8878 lt_cv_prog_compiler_static_works=yes
8879 fi
8880 else
8881 lt_cv_prog_compiler_static_works=yes
8882 fi
8883 fi
8884 $RM -r conftest*
8885 LDFLAGS="$save_LDFLAGS"
8886
8887 fi
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8889 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8890
8891 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8892 :
8893 else
8894 lt_prog_compiler_static=
8895 fi
8896
8897
8898
8899
8900
8901
8902
8903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8905 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8906 $as_echo_n "(cached) " >&6
8907 else
8908 lt_cv_prog_compiler_c_o=no
8909 $RM -r conftest 2>/dev/null
8910 mkdir conftest
8911 cd conftest
8912 mkdir out
8913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8914
8915 lt_compiler_flag="-o out/conftest2.$ac_objext"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 lt_compile=`echo "$ac_compile" | $SED \
8921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8923 -e 's:$: $lt_compiler_flag:'`
8924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8925 (eval "$lt_compile" 2>out/conftest.err)
8926 ac_status=$?
8927 cat out/conftest.err >&5
8928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8930 then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_c_o=yes
8937 fi
8938 fi
8939 chmod u+w . 2>&5
8940 $RM conftest*
8941 # SGI C++ compiler will create directory out/ii_files/ for
8942 # template instantiation
8943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8944 $RM out/* && rmdir out
8945 cd ..
8946 $RM -r conftest
8947 $RM conftest*
8948
8949 fi
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8951 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8952
8953
8954
8955
8956
8957
8958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8959 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8960 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8961 $as_echo_n "(cached) " >&6
8962 else
8963 lt_cv_prog_compiler_c_o=no
8964 $RM -r conftest 2>/dev/null
8965 mkdir conftest
8966 cd conftest
8967 mkdir out
8968 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8969
8970 lt_compiler_flag="-o out/conftest2.$ac_objext"
8971 # Insert the option either (1) after the last *FLAGS variable, or
8972 # (2) before a word containing "conftest.", or (3) at the end.
8973 # Note that $ac_compile itself does not contain backslashes and begins
8974 # with a dollar sign (not a hyphen), so the echo should work correctly.
8975 lt_compile=`echo "$ac_compile" | $SED \
8976 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8977 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8978 -e 's:$: $lt_compiler_flag:'`
8979 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8980 (eval "$lt_compile" 2>out/conftest.err)
8981 ac_status=$?
8982 cat out/conftest.err >&5
8983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8984 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8985 then
8986 # The compiler can only warn and ignore the option if not recognized
8987 # So say no if there are warnings
8988 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8989 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8990 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8991 lt_cv_prog_compiler_c_o=yes
8992 fi
8993 fi
8994 chmod u+w . 2>&5
8995 $RM conftest*
8996 # SGI C++ compiler will create directory out/ii_files/ for
8997 # template instantiation
8998 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8999 $RM out/* && rmdir out
9000 cd ..
9001 $RM -r conftest
9002 $RM conftest*
9003
9004 fi
9005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9006 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9007
9008
9009
9010
9011 hard_links="nottested"
9012 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9013 # do not overwrite the value of need_locks provided by the user
9014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9015 $as_echo_n "checking if we can lock with hard links... " >&6; }
9016 hard_links=yes
9017 $RM conftest*
9018 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9019 touch conftest.a
9020 ln conftest.a conftest.b 2>&5 || hard_links=no
9021 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9023 $as_echo "$hard_links" >&6; }
9024 if test "$hard_links" = no; then
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9026 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9027 need_locks=warn
9028 fi
9029 else
9030 need_locks=no
9031 fi
9032
9033
9034
9035
9036
9037
9038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9039 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9040
9041 runpath_var=
9042 allow_undefined_flag=
9043 always_export_symbols=no
9044 archive_cmds=
9045 archive_expsym_cmds=
9046 compiler_needs_object=no
9047 enable_shared_with_static_runtimes=no
9048 export_dynamic_flag_spec=
9049 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9050 hardcode_automatic=no
9051 hardcode_direct=no
9052 hardcode_direct_absolute=no
9053 hardcode_libdir_flag_spec=
9054 hardcode_libdir_flag_spec_ld=
9055 hardcode_libdir_separator=
9056 hardcode_minus_L=no
9057 hardcode_shlibpath_var=unsupported
9058 inherit_rpath=no
9059 link_all_deplibs=unknown
9060 module_cmds=
9061 module_expsym_cmds=
9062 old_archive_from_new_cmds=
9063 old_archive_from_expsyms_cmds=
9064 thread_safe_flag_spec=
9065 whole_archive_flag_spec=
9066 # include_expsyms should be a list of space-separated symbols to be *always*
9067 # included in the symbol list
9068 include_expsyms=
9069 # exclude_expsyms can be an extended regexp of symbols to exclude
9070 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9071 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9072 # as well as any symbol that contains `d'.
9073 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9074 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9075 # platforms (ab)use it in PIC code, but their linkers get confused if
9076 # the symbol is explicitly referenced. Since portable code cannot
9077 # rely on this symbol name, it's probably fine to never include it in
9078 # preloaded symbol tables.
9079 # Exclude shared library initialization/finalization symbols.
9080 extract_expsyms_cmds=
9081
9082 case $host_os in
9083 cygwin* | mingw* | pw32* | cegcc*)
9084 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9085 # When not using gcc, we currently assume that we are using
9086 # Microsoft Visual C++.
9087 if test "$GCC" != yes; then
9088 with_gnu_ld=no
9089 fi
9090 ;;
9091 interix*)
9092 # we just hope/assume this is gcc and not c89 (= MSVC++)
9093 with_gnu_ld=yes
9094 ;;
9095 openbsd*)
9096 with_gnu_ld=no
9097 ;;
9098 esac
9099
9100 ld_shlibs=yes
9101
9102 # On some targets, GNU ld is compatible enough with the native linker
9103 # that we're better off using the native interface for both.
9104 lt_use_gnu_ld_interface=no
9105 if test "$with_gnu_ld" = yes; then
9106 case $host_os in
9107 aix*)
9108 # The AIX port of GNU ld has always aspired to compatibility
9109 # with the native linker. However, as the warning in the GNU ld
9110 # block says, versions before 2.19.5* couldn't really create working
9111 # shared libraries, regardless of the interface used.
9112 case `$LD -v 2>&1` in
9113 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9114 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9115 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9116 *)
9117 lt_use_gnu_ld_interface=yes
9118 ;;
9119 esac
9120 ;;
9121 *)
9122 lt_use_gnu_ld_interface=yes
9123 ;;
9124 esac
9125 fi
9126
9127 if test "$lt_use_gnu_ld_interface" = yes; then
9128 # If archive_cmds runs LD, not CC, wlarc should be empty
9129 wlarc='${wl}'
9130
9131 # Set some defaults for GNU ld with shared library support. These
9132 # are reset later if shared libraries are not supported. Putting them
9133 # here allows them to be overridden if necessary.
9134 runpath_var=LD_RUN_PATH
9135 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9136 export_dynamic_flag_spec='${wl}--export-dynamic'
9137 # ancient GNU ld didn't support --whole-archive et. al.
9138 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9139 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9140 else
9141 whole_archive_flag_spec=
9142 fi
9143 supports_anon_versioning=no
9144 case `$LD -v 2>&1` in
9145 *GNU\ gold*) supports_anon_versioning=yes ;;
9146 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9147 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9148 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9149 *\ 2.11.*) ;; # other 2.11 versions
9150 *) supports_anon_versioning=yes ;;
9151 esac
9152
9153 # See if GNU ld supports shared libraries.
9154 case $host_os in
9155 aix[3-9]*)
9156 # On AIX/PPC, the GNU linker is very broken
9157 if test "$host_cpu" != ia64; then
9158 ld_shlibs=no
9159 cat <<_LT_EOF 1>&2
9160
9161 *** Warning: the GNU linker, at least up to release 2.19, is reported
9162 *** to be unable to reliably create shared libraries on AIX.
9163 *** Therefore, libtool is disabling shared libraries support. If you
9164 *** really care for shared libraries, you may want to install binutils
9165 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9166 *** You will then need to restart the configuration process.
9167
9168 _LT_EOF
9169 fi
9170 ;;
9171
9172 amigaos*)
9173 case $host_cpu in
9174 powerpc)
9175 # see comment about AmigaOS4 .so support
9176 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9177 archive_expsym_cmds=''
9178 ;;
9179 m68k)
9180 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)'
9181 hardcode_libdir_flag_spec='-L$libdir'
9182 hardcode_minus_L=yes
9183 ;;
9184 esac
9185 ;;
9186
9187 beos*)
9188 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9189 allow_undefined_flag=unsupported
9190 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9191 # support --undefined. This deserves some investigation. FIXME
9192 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9193 else
9194 ld_shlibs=no
9195 fi
9196 ;;
9197
9198 cygwin* | mingw* | pw32* | cegcc*)
9199 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9200 # as there is no search path for DLLs.
9201 hardcode_libdir_flag_spec='-L$libdir'
9202 export_dynamic_flag_spec='${wl}--export-all-symbols'
9203 allow_undefined_flag=unsupported
9204 always_export_symbols=no
9205 enable_shared_with_static_runtimes=yes
9206 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9207
9208 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9209 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9210 # If the export-symbols file already is a .def file (1st line
9211 # is EXPORTS), use it as is; otherwise, prepend...
9212 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9213 cp $export_symbols $output_objdir/$soname.def;
9214 else
9215 echo EXPORTS > $output_objdir/$soname.def;
9216 cat $export_symbols >> $output_objdir/$soname.def;
9217 fi~
9218 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9219 else
9220 ld_shlibs=no
9221 fi
9222 ;;
9223
9224 haiku*)
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 link_all_deplibs=yes
9227 ;;
9228
9229 interix[3-9]*)
9230 hardcode_direct=no
9231 hardcode_shlibpath_var=no
9232 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9233 export_dynamic_flag_spec='${wl}-E'
9234 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9235 # Instead, shared libraries are loaded at an image base (0x10000000 by
9236 # default) and relocated if they conflict, which is a slow very memory
9237 # consuming and fragmenting process. To avoid this, we pick a random,
9238 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9239 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9240 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9241 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'
9242 ;;
9243
9244 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9245 tmp_diet=no
9246 if test "$host_os" = linux-dietlibc; then
9247 case $cc_basename in
9248 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9249 esac
9250 fi
9251 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9252 && test "$tmp_diet" = no
9253 then
9254 tmp_addflag=
9255 tmp_sharedflag='-shared'
9256 case $cc_basename,$host_cpu in
9257 pgcc*) # Portland Group C compiler
9258 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'
9259 tmp_addflag=' $pic_flag'
9260 ;;
9261 pgf77* | pgf90* | pgf95* | pgfortran*)
9262 # Portland Group f77 and f90 compilers
9263 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'
9264 tmp_addflag=' $pic_flag -Mnomain' ;;
9265 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9266 tmp_addflag=' -i_dynamic' ;;
9267 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9268 tmp_addflag=' -i_dynamic -nofor_main' ;;
9269 ifc* | ifort*) # Intel Fortran compiler
9270 tmp_addflag=' -nofor_main' ;;
9271 lf95*) # Lahey Fortran 8.1
9272 whole_archive_flag_spec=
9273 tmp_sharedflag='--shared' ;;
9274 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9275 tmp_sharedflag='-qmkshrobj'
9276 tmp_addflag= ;;
9277 nvcc*) # Cuda Compiler Driver 2.2
9278 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'
9279 compiler_needs_object=yes
9280 ;;
9281 esac
9282 case `$CC -V 2>&1 | sed 5q` in
9283 *Sun\ C*) # Sun C 5.9
9284 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'
9285 compiler_needs_object=yes
9286 tmp_sharedflag='-G' ;;
9287 *Sun\ F*) # Sun Fortran 8.3
9288 tmp_sharedflag='-G' ;;
9289 esac
9290 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9291
9292 if test "x$supports_anon_versioning" = xyes; then
9293 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9294 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9295 echo "local: *; };" >> $output_objdir/$libname.ver~
9296 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9297 fi
9298
9299 case $cc_basename in
9300 xlf* | bgf* | bgxlf* | mpixlf*)
9301 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9302 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9303 hardcode_libdir_flag_spec=
9304 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9305 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9306 if test "x$supports_anon_versioning" = xyes; then
9307 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9308 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9309 echo "local: *; };" >> $output_objdir/$libname.ver~
9310 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9311 fi
9312 ;;
9313 esac
9314 else
9315 ld_shlibs=no
9316 fi
9317 ;;
9318
9319 netbsd*)
9320 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9321 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9322 wlarc=
9323 else
9324 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9325 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9326 fi
9327 ;;
9328
9329 solaris*)
9330 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9331 ld_shlibs=no
9332 cat <<_LT_EOF 1>&2
9333
9334 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9335 *** create shared libraries on Solaris systems. Therefore, libtool
9336 *** is disabling shared libraries support. We urge you to upgrade GNU
9337 *** binutils to release 2.9.1 or newer. Another option is to modify
9338 *** your PATH or compiler configuration so that the native linker is
9339 *** used, and then restart.
9340
9341 _LT_EOF
9342 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9343 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9344 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9345 else
9346 ld_shlibs=no
9347 fi
9348 ;;
9349
9350 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9351 case `$LD -v 2>&1` in
9352 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9353 ld_shlibs=no
9354 cat <<_LT_EOF 1>&2
9355
9356 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9357 *** reliably create shared libraries on SCO systems. Therefore, libtool
9358 *** is disabling shared libraries support. We urge you to upgrade GNU
9359 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9360 *** your PATH or compiler configuration so that the native linker is
9361 *** used, and then restart.
9362
9363 _LT_EOF
9364 ;;
9365 *)
9366 # For security reasons, it is highly recommended that you always
9367 # use absolute paths for naming shared libraries, and exclude the
9368 # DT_RUNPATH tag from executables and libraries. But doing so
9369 # requires that you compile everything twice, which is a pain.
9370 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9371 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9372 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9373 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9374 else
9375 ld_shlibs=no
9376 fi
9377 ;;
9378 esac
9379 ;;
9380
9381 sunos4*)
9382 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9383 wlarc=
9384 hardcode_direct=yes
9385 hardcode_shlibpath_var=no
9386 ;;
9387
9388 *)
9389 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9390 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9391 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9392 else
9393 ld_shlibs=no
9394 fi
9395 ;;
9396 esac
9397
9398 if test "$ld_shlibs" = no; then
9399 runpath_var=
9400 hardcode_libdir_flag_spec=
9401 export_dynamic_flag_spec=
9402 whole_archive_flag_spec=
9403 fi
9404 else
9405 # PORTME fill in a description of your system's linker (not GNU ld)
9406 case $host_os in
9407 aix3*)
9408 allow_undefined_flag=unsupported
9409 always_export_symbols=yes
9410 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'
9411 # Note: this linker hardcodes the directories in LIBPATH if there
9412 # are no directories specified by -L.
9413 hardcode_minus_L=yes
9414 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9415 # Neither direct hardcoding nor static linking is supported with a
9416 # broken collect2.
9417 hardcode_direct=unsupported
9418 fi
9419 ;;
9420
9421 aix[4-9]*)
9422 if test "$host_cpu" = ia64; then
9423 # On IA64, the linker does run time linking by default, so we don't
9424 # have to do anything special.
9425 aix_use_runtimelinking=no
9426 exp_sym_flag='-Bexport'
9427 no_entry_flag=""
9428 else
9429 # If we're using GNU nm, then we don't want the "-C" option.
9430 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9431 # Also, AIX nm treats weak defined symbols like other global
9432 # defined symbols, whereas GNU nm marks them as "W".
9433 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9434 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'
9435 else
9436 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'
9437 fi
9438 aix_use_runtimelinking=no
9439
9440 # Test if we are trying to use run time linking or normal
9441 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9442 # need to do runtime linking.
9443 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9444 for ld_flag in $LDFLAGS; do
9445 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9446 aix_use_runtimelinking=yes
9447 break
9448 fi
9449 done
9450 ;;
9451 esac
9452
9453 exp_sym_flag='-bexport'
9454 no_entry_flag='-bnoentry'
9455 fi
9456
9457 # When large executables or shared objects are built, AIX ld can
9458 # have problems creating the table of contents. If linking a library
9459 # or program results in "error TOC overflow" add -mminimal-toc to
9460 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9461 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9462
9463 archive_cmds=''
9464 hardcode_direct=yes
9465 hardcode_direct_absolute=yes
9466 hardcode_libdir_separator=':'
9467 link_all_deplibs=yes
9468 file_list_spec='${wl}-f,'
9469
9470 if test "$GCC" = yes; then
9471 case $host_os in aix4.[012]|aix4.[012].*)
9472 # We only want to do this on AIX 4.2 and lower, the check
9473 # below for broken collect2 doesn't work under 4.3+
9474 collect2name=`${CC} -print-prog-name=collect2`
9475 if test -f "$collect2name" &&
9476 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9477 then
9478 # We have reworked collect2
9479 :
9480 else
9481 # We have old collect2
9482 hardcode_direct=unsupported
9483 # It fails to find uninstalled libraries when the uninstalled
9484 # path is not listed in the libpath. Setting hardcode_minus_L
9485 # to unsupported forces relinking
9486 hardcode_minus_L=yes
9487 hardcode_libdir_flag_spec='-L$libdir'
9488 hardcode_libdir_separator=
9489 fi
9490 ;;
9491 esac
9492 shared_flag='-shared'
9493 if test "$aix_use_runtimelinking" = yes; then
9494 shared_flag="$shared_flag "'${wl}-G'
9495 fi
9496 else
9497 # not using gcc
9498 if test "$host_cpu" = ia64; then
9499 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9500 # chokes on -Wl,-G. The following line is correct:
9501 shared_flag='-G'
9502 else
9503 if test "$aix_use_runtimelinking" = yes; then
9504 shared_flag='${wl}-G'
9505 else
9506 shared_flag='${wl}-bM:SRE'
9507 fi
9508 fi
9509 fi
9510
9511 export_dynamic_flag_spec='${wl}-bexpall'
9512 # It seems that -bexpall does not export symbols beginning with
9513 # underscore (_), so it is better to generate a list of symbols to export.
9514 always_export_symbols=yes
9515 if test "$aix_use_runtimelinking" = yes; then
9516 # Warning - without using the other runtime loading flags (-brtl),
9517 # -berok will link without error, but may produce a broken library.
9518 allow_undefined_flag='-berok'
9519 # Determine the default libpath from the value encoded in an
9520 # empty executable.
9521 if test x$gcc_no_link = xyes; then
9522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9523 fi
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526
9527 int
9528 main ()
9529 {
9530
9531 ;
9532 return 0;
9533 }
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536
9537 lt_aix_libpath_sed='
9538 /Import File Strings/,/^$/ {
9539 /^0/ {
9540 s/^0 *\(.*\)$/\1/
9541 p
9542 }
9543 }'
9544 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9545 # Check for a 64-bit object if we didn't find anything.
9546 if test -z "$aix_libpath"; then
9547 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9548 fi
9549 fi
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9553
9554 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9555 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"
9556 else
9557 if test "$host_cpu" = ia64; then
9558 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9559 allow_undefined_flag="-z nodefs"
9560 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"
9561 else
9562 # Determine the default libpath from the value encoded in an
9563 # empty executable.
9564 if test x$gcc_no_link = xyes; then
9565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9566 fi
9567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568 /* end confdefs.h. */
9569
9570 int
9571 main ()
9572 {
9573
9574 ;
9575 return 0;
9576 }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579
9580 lt_aix_libpath_sed='
9581 /Import File Strings/,/^$/ {
9582 /^0/ {
9583 s/^0 *\(.*\)$/\1/
9584 p
9585 }
9586 }'
9587 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588 # Check for a 64-bit object if we didn't find anything.
9589 if test -z "$aix_libpath"; then
9590 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591 fi
9592 fi
9593 rm -f core conftest.err conftest.$ac_objext \
9594 conftest$ac_exeext conftest.$ac_ext
9595 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9596
9597 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598 # Warning - without using the other run time loading flags,
9599 # -berok will link without error, but may produce a broken library.
9600 no_undefined_flag=' ${wl}-bernotok'
9601 allow_undefined_flag=' ${wl}-berok'
9602 if test "$with_gnu_ld" = yes; then
9603 # We only use this code for GNU lds that support --whole-archive.
9604 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9605 else
9606 # Exported symbols can be pulled into shared objects from archives
9607 whole_archive_flag_spec='$convenience'
9608 fi
9609 archive_cmds_need_lc=yes
9610 # This is similar to how AIX traditionally builds its shared libraries.
9611 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'
9612 fi
9613 fi
9614 ;;
9615
9616 amigaos*)
9617 case $host_cpu in
9618 powerpc)
9619 # see comment about AmigaOS4 .so support
9620 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9621 archive_expsym_cmds=''
9622 ;;
9623 m68k)
9624 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)'
9625 hardcode_libdir_flag_spec='-L$libdir'
9626 hardcode_minus_L=yes
9627 ;;
9628 esac
9629 ;;
9630
9631 bsdi[45]*)
9632 export_dynamic_flag_spec=-rdynamic
9633 ;;
9634
9635 cygwin* | mingw* | pw32* | cegcc*)
9636 # When not using gcc, we currently assume that we are using
9637 # Microsoft Visual C++.
9638 # hardcode_libdir_flag_spec is actually meaningless, as there is
9639 # no search path for DLLs.
9640 hardcode_libdir_flag_spec=' '
9641 allow_undefined_flag=unsupported
9642 # Tell ltmain to make .lib files, not .a files.
9643 libext=lib
9644 # Tell ltmain to make .dll files, not .so files.
9645 shrext_cmds=".dll"
9646 # FIXME: Setting linknames here is a bad hack.
9647 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9648 # The linker will automatically build a .lib file if we build a DLL.
9649 old_archive_from_new_cmds='true'
9650 # FIXME: Should let the user specify the lib program.
9651 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9652 fix_srcfile_path='`cygpath -w "$srcfile"`'
9653 enable_shared_with_static_runtimes=yes
9654 ;;
9655
9656 darwin* | rhapsody*)
9657
9658
9659 archive_cmds_need_lc=no
9660 hardcode_direct=no
9661 hardcode_automatic=yes
9662 hardcode_shlibpath_var=unsupported
9663 if test "$lt_cv_ld_force_load" = "yes"; then
9664 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\"`'
9665 else
9666 whole_archive_flag_spec=''
9667 fi
9668 link_all_deplibs=yes
9669 allow_undefined_flag="$_lt_dar_allow_undefined"
9670 case $cc_basename in
9671 ifort*) _lt_dar_can_shared=yes ;;
9672 *) _lt_dar_can_shared=$GCC ;;
9673 esac
9674 if test "$_lt_dar_can_shared" = "yes"; then
9675 output_verbose_link_cmd=func_echo_all
9676 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9677 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9678 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}"
9679 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}"
9680
9681 else
9682 ld_shlibs=no
9683 fi
9684
9685 ;;
9686
9687 dgux*)
9688 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9689 hardcode_libdir_flag_spec='-L$libdir'
9690 hardcode_shlibpath_var=no
9691 ;;
9692
9693 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9694 # support. Future versions do this automatically, but an explicit c++rt0.o
9695 # does not break anything, and helps significantly (at the cost of a little
9696 # extra space).
9697 freebsd2.2*)
9698 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9699 hardcode_libdir_flag_spec='-R$libdir'
9700 hardcode_direct=yes
9701 hardcode_shlibpath_var=no
9702 ;;
9703
9704 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9705 freebsd2.*)
9706 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9707 hardcode_direct=yes
9708 hardcode_minus_L=yes
9709 hardcode_shlibpath_var=no
9710 ;;
9711
9712 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9713 freebsd* | dragonfly*)
9714 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9715 hardcode_libdir_flag_spec='-R$libdir'
9716 hardcode_direct=yes
9717 hardcode_shlibpath_var=no
9718 ;;
9719
9720 hpux9*)
9721 if test "$GCC" = yes; then
9722 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'
9723 else
9724 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'
9725 fi
9726 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9727 hardcode_libdir_separator=:
9728 hardcode_direct=yes
9729
9730 # hardcode_minus_L: Not really in the search PATH,
9731 # but as the default location of the library.
9732 hardcode_minus_L=yes
9733 export_dynamic_flag_spec='${wl}-E'
9734 ;;
9735
9736 hpux10*)
9737 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9738 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9739 else
9740 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9741 fi
9742 if test "$with_gnu_ld" = no; then
9743 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9744 hardcode_libdir_flag_spec_ld='+b $libdir'
9745 hardcode_libdir_separator=:
9746 hardcode_direct=yes
9747 hardcode_direct_absolute=yes
9748 export_dynamic_flag_spec='${wl}-E'
9749 # hardcode_minus_L: Not really in the search PATH,
9750 # but as the default location of the library.
9751 hardcode_minus_L=yes
9752 fi
9753 ;;
9754
9755 hpux11*)
9756 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9757 case $host_cpu in
9758 hppa*64*)
9759 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9760 ;;
9761 ia64*)
9762 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9763 ;;
9764 *)
9765 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9766 ;;
9767 esac
9768 else
9769 case $host_cpu in
9770 hppa*64*)
9771 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9772 ;;
9773 ia64*)
9774 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9775 ;;
9776 *)
9777
9778 # Older versions of the 11.00 compiler do not understand -b yet
9779 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9781 $as_echo_n "checking if $CC understands -b... " >&6; }
9782 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9783 $as_echo_n "(cached) " >&6
9784 else
9785 lt_cv_prog_compiler__b=no
9786 save_LDFLAGS="$LDFLAGS"
9787 LDFLAGS="$LDFLAGS -b"
9788 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9789 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9790 # The linker can only warn and ignore the option if not recognized
9791 # So say no if there are warnings
9792 if test -s conftest.err; then
9793 # Append any errors to the config.log.
9794 cat conftest.err 1>&5
9795 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9796 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9797 if diff conftest.exp conftest.er2 >/dev/null; then
9798 lt_cv_prog_compiler__b=yes
9799 fi
9800 else
9801 lt_cv_prog_compiler__b=yes
9802 fi
9803 fi
9804 $RM -r conftest*
9805 LDFLAGS="$save_LDFLAGS"
9806
9807 fi
9808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9809 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9810
9811 if test x"$lt_cv_prog_compiler__b" = xyes; then
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9813 else
9814 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9815 fi
9816
9817 ;;
9818 esac
9819 fi
9820 if test "$with_gnu_ld" = no; then
9821 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9822 hardcode_libdir_separator=:
9823
9824 case $host_cpu in
9825 hppa*64*|ia64*)
9826 hardcode_direct=no
9827 hardcode_shlibpath_var=no
9828 ;;
9829 *)
9830 hardcode_direct=yes
9831 hardcode_direct_absolute=yes
9832 export_dynamic_flag_spec='${wl}-E'
9833
9834 # hardcode_minus_L: Not really in the search PATH,
9835 # but as the default location of the library.
9836 hardcode_minus_L=yes
9837 ;;
9838 esac
9839 fi
9840 ;;
9841
9842 irix5* | irix6* | nonstopux*)
9843 if test "$GCC" = yes; then
9844 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'
9845 # Try to use the -exported_symbol ld option, if it does not
9846 # work, assume that -exports_file does not work either and
9847 # implicitly export all symbols.
9848 save_LDFLAGS="$LDFLAGS"
9849 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9850 if test x$gcc_no_link = xyes; then
9851 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9852 fi
9853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9854 /* end confdefs.h. */
9855 int foo(void) {}
9856 _ACEOF
9857 if ac_fn_c_try_link "$LINENO"; then :
9858 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'
9859
9860 fi
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 LDFLAGS="$save_LDFLAGS"
9864 else
9865 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'
9866 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'
9867 fi
9868 archive_cmds_need_lc='no'
9869 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9870 hardcode_libdir_separator=:
9871 inherit_rpath=yes
9872 link_all_deplibs=yes
9873 ;;
9874
9875 netbsd*)
9876 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9877 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9878 else
9879 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9880 fi
9881 hardcode_libdir_flag_spec='-R$libdir'
9882 hardcode_direct=yes
9883 hardcode_shlibpath_var=no
9884 ;;
9885
9886 newsos6)
9887 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9888 hardcode_direct=yes
9889 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9890 hardcode_libdir_separator=:
9891 hardcode_shlibpath_var=no
9892 ;;
9893
9894 *nto* | *qnx*)
9895 ;;
9896
9897 openbsd*)
9898 if test -f /usr/libexec/ld.so; then
9899 hardcode_direct=yes
9900 hardcode_shlibpath_var=no
9901 hardcode_direct_absolute=yes
9902 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9903 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9904 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9905 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9906 export_dynamic_flag_spec='${wl}-E'
9907 else
9908 case $host_os in
9909 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9910 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9911 hardcode_libdir_flag_spec='-R$libdir'
9912 ;;
9913 *)
9914 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9915 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9916 ;;
9917 esac
9918 fi
9919 else
9920 ld_shlibs=no
9921 fi
9922 ;;
9923
9924 os2*)
9925 hardcode_libdir_flag_spec='-L$libdir'
9926 hardcode_minus_L=yes
9927 allow_undefined_flag=unsupported
9928 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'
9929 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9930 ;;
9931
9932 osf3*)
9933 if test "$GCC" = yes; then
9934 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9935 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'
9936 else
9937 allow_undefined_flag=' -expect_unresolved \*'
9938 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'
9939 fi
9940 archive_cmds_need_lc='no'
9941 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9942 hardcode_libdir_separator=:
9943 ;;
9944
9945 osf4* | osf5*) # as osf3* with the addition of -msym flag
9946 if test "$GCC" = yes; then
9947 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9948 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'
9949 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9950 else
9951 allow_undefined_flag=' -expect_unresolved \*'
9952 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'
9953 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~
9954 $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'
9955
9956 # Both c and cxx compiler support -rpath directly
9957 hardcode_libdir_flag_spec='-rpath $libdir'
9958 fi
9959 archive_cmds_need_lc='no'
9960 hardcode_libdir_separator=:
9961 ;;
9962
9963 solaris*)
9964 no_undefined_flag=' -z defs'
9965 if test "$GCC" = yes; then
9966 wlarc='${wl}'
9967 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9968 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9969 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9970 else
9971 case `$CC -V 2>&1` in
9972 *"Compilers 5.0"*)
9973 wlarc=''
9974 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9975 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9976 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9977 ;;
9978 *)
9979 wlarc='${wl}'
9980 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9981 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9982 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9983 ;;
9984 esac
9985 fi
9986 hardcode_libdir_flag_spec='-R$libdir'
9987 hardcode_shlibpath_var=no
9988 case $host_os in
9989 solaris2.[0-5] | solaris2.[0-5].*) ;;
9990 *)
9991 # The compiler driver will combine and reorder linker options,
9992 # but understands `-z linker_flag'. GCC discards it without `$wl',
9993 # but is careful enough not to reorder.
9994 # Supported since Solaris 2.6 (maybe 2.5.1?)
9995 if test "$GCC" = yes; then
9996 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9997 else
9998 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9999 fi
10000 ;;
10001 esac
10002 link_all_deplibs=yes
10003 ;;
10004
10005 sunos4*)
10006 if test "x$host_vendor" = xsequent; then
10007 # Use $CC to link under sequent, because it throws in some extra .o
10008 # files that make .init and .fini sections work.
10009 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10010 else
10011 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10012 fi
10013 hardcode_libdir_flag_spec='-L$libdir'
10014 hardcode_direct=yes
10015 hardcode_minus_L=yes
10016 hardcode_shlibpath_var=no
10017 ;;
10018
10019 sysv4)
10020 case $host_vendor in
10021 sni)
10022 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10023 hardcode_direct=yes # is this really true???
10024 ;;
10025 siemens)
10026 ## LD is ld it makes a PLAMLIB
10027 ## CC just makes a GrossModule.
10028 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10029 reload_cmds='$CC -r -o $output$reload_objs'
10030 hardcode_direct=no
10031 ;;
10032 motorola)
10033 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10034 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10035 ;;
10036 esac
10037 runpath_var='LD_RUN_PATH'
10038 hardcode_shlibpath_var=no
10039 ;;
10040
10041 sysv4.3*)
10042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10043 hardcode_shlibpath_var=no
10044 export_dynamic_flag_spec='-Bexport'
10045 ;;
10046
10047 sysv4*MP*)
10048 if test -d /usr/nec; then
10049 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10050 hardcode_shlibpath_var=no
10051 runpath_var=LD_RUN_PATH
10052 hardcode_runpath_var=yes
10053 ld_shlibs=yes
10054 fi
10055 ;;
10056
10057 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10058 no_undefined_flag='${wl}-z,text'
10059 archive_cmds_need_lc=no
10060 hardcode_shlibpath_var=no
10061 runpath_var='LD_RUN_PATH'
10062
10063 if test "$GCC" = yes; then
10064 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10065 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10066 else
10067 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10068 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10069 fi
10070 ;;
10071
10072 sysv5* | sco3.2v5* | sco5v6*)
10073 # Note: We can NOT use -z defs as we might desire, because we do not
10074 # link with -lc, and that would cause any symbols used from libc to
10075 # always be unresolved, which means just about no library would
10076 # ever link correctly. If we're not using GNU ld we use -z text
10077 # though, which does catch some bad symbols but isn't as heavy-handed
10078 # as -z defs.
10079 no_undefined_flag='${wl}-z,text'
10080 allow_undefined_flag='${wl}-z,nodefs'
10081 archive_cmds_need_lc=no
10082 hardcode_shlibpath_var=no
10083 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10084 hardcode_libdir_separator=':'
10085 link_all_deplibs=yes
10086 export_dynamic_flag_spec='${wl}-Bexport'
10087 runpath_var='LD_RUN_PATH'
10088
10089 if test "$GCC" = yes; then
10090 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 else
10093 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 fi
10096 ;;
10097
10098 uts4*)
10099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10100 hardcode_libdir_flag_spec='-L$libdir'
10101 hardcode_shlibpath_var=no
10102 ;;
10103
10104 *)
10105 ld_shlibs=no
10106 ;;
10107 esac
10108
10109 if test x$host_vendor = xsni; then
10110 case $host in
10111 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10112 export_dynamic_flag_spec='${wl}-Blargedynsym'
10113 ;;
10114 esac
10115 fi
10116 fi
10117
10118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10119 $as_echo "$ld_shlibs" >&6; }
10120 test "$ld_shlibs" = no && can_build_shared=no
10121
10122 with_gnu_ld=$with_gnu_ld
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138 #
10139 # Do we need to explicitly link libc?
10140 #
10141 case "x$archive_cmds_need_lc" in
10142 x|xyes)
10143 # Assume -lc should be added
10144 archive_cmds_need_lc=yes
10145
10146 if test "$enable_shared" = yes && test "$GCC" = yes; then
10147 case $archive_cmds in
10148 *'~'*)
10149 # FIXME: we may have to deal with multi-command sequences.
10150 ;;
10151 '$CC '*)
10152 # Test whether the compiler implicitly links with -lc since on some
10153 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10154 # to ld, don't add -lc before -lgcc.
10155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10156 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10157 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10158 $as_echo_n "(cached) " >&6
10159 else
10160 $RM conftest*
10161 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10162
10163 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10164 (eval $ac_compile) 2>&5
10165 ac_status=$?
10166 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10167 test $ac_status = 0; } 2>conftest.err; then
10168 soname=conftest
10169 lib=conftest
10170 libobjs=conftest.$ac_objext
10171 deplibs=
10172 wl=$lt_prog_compiler_wl
10173 pic_flag=$lt_prog_compiler_pic
10174 compiler_flags=-v
10175 linker_flags=-v
10176 verstring=
10177 output_objdir=.
10178 libname=conftest
10179 lt_save_allow_undefined_flag=$allow_undefined_flag
10180 allow_undefined_flag=
10181 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10182 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10183 ac_status=$?
10184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10185 test $ac_status = 0; }
10186 then
10187 lt_cv_archive_cmds_need_lc=no
10188 else
10189 lt_cv_archive_cmds_need_lc=yes
10190 fi
10191 allow_undefined_flag=$lt_save_allow_undefined_flag
10192 else
10193 cat conftest.err 1>&5
10194 fi
10195 $RM conftest*
10196
10197 fi
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10199 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10200 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10201 ;;
10202 esac
10203 fi
10204 ;;
10205 esac
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10364 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10365
10366 if test "$GCC" = yes; then
10367 case $host_os in
10368 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10369 *) lt_awk_arg="/^libraries:/" ;;
10370 esac
10371 case $host_os in
10372 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10373 *) lt_sed_strip_eq="s,=/,/,g" ;;
10374 esac
10375 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10376 case $lt_search_path_spec in
10377 *\;*)
10378 # if the path contains ";" then we assume it to be the separator
10379 # otherwise default to the standard path separator (i.e. ":") - it is
10380 # assumed that no part of a normal pathname contains ";" but that should
10381 # okay in the real world where ";" in dirpaths is itself problematic.
10382 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10383 ;;
10384 *)
10385 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10386 ;;
10387 esac
10388 # Ok, now we have the path, separated by spaces, we can step through it
10389 # and add multilib dir if necessary.
10390 lt_tmp_lt_search_path_spec=
10391 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10392 for lt_sys_path in $lt_search_path_spec; do
10393 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10394 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10395 else
10396 test -d "$lt_sys_path" && \
10397 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10398 fi
10399 done
10400 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10401 BEGIN {RS=" "; FS="/|\n";} {
10402 lt_foo="";
10403 lt_count=0;
10404 for (lt_i = NF; lt_i > 0; lt_i--) {
10405 if ($lt_i != "" && $lt_i != ".") {
10406 if ($lt_i == "..") {
10407 lt_count++;
10408 } else {
10409 if (lt_count == 0) {
10410 lt_foo="/" $lt_i lt_foo;
10411 } else {
10412 lt_count--;
10413 }
10414 }
10415 }
10416 }
10417 if (lt_foo != "") { lt_freq[lt_foo]++; }
10418 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10419 }'`
10420 # AWK program above erroneously prepends '/' to C:/dos/paths
10421 # for these hosts.
10422 case $host_os in
10423 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10424 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10425 esac
10426 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10427 else
10428 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10429 fi
10430 library_names_spec=
10431 libname_spec='lib$name'
10432 soname_spec=
10433 shrext_cmds=".so"
10434 postinstall_cmds=
10435 postuninstall_cmds=
10436 finish_cmds=
10437 finish_eval=
10438 shlibpath_var=
10439 shlibpath_overrides_runpath=unknown
10440 version_type=none
10441 dynamic_linker="$host_os ld.so"
10442 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10443 need_lib_prefix=unknown
10444 hardcode_into_libs=no
10445
10446 # when you set need_version to no, make sure it does not cause -set_version
10447 # flags to be left without arguments
10448 need_version=unknown
10449
10450 case $host_os in
10451 aix3*)
10452 version_type=linux
10453 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10454 shlibpath_var=LIBPATH
10455
10456 # AIX 3 has no versioning support, so we append a major version to the name.
10457 soname_spec='${libname}${release}${shared_ext}$major'
10458 ;;
10459
10460 aix[4-9]*)
10461 version_type=linux
10462 need_lib_prefix=no
10463 need_version=no
10464 hardcode_into_libs=yes
10465 if test "$host_cpu" = ia64; then
10466 # AIX 5 supports IA64
10467 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10468 shlibpath_var=LD_LIBRARY_PATH
10469 else
10470 # With GCC up to 2.95.x, collect2 would create an import file
10471 # for dependence libraries. The import file would start with
10472 # the line `#! .'. This would cause the generated library to
10473 # depend on `.', always an invalid library. This was fixed in
10474 # development snapshots of GCC prior to 3.0.
10475 case $host_os in
10476 aix4 | aix4.[01] | aix4.[01].*)
10477 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10478 echo ' yes '
10479 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10480 :
10481 else
10482 can_build_shared=no
10483 fi
10484 ;;
10485 esac
10486 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10487 # soname into executable. Probably we can add versioning support to
10488 # collect2, so additional links can be useful in future.
10489 if test "$aix_use_runtimelinking" = yes; then
10490 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10491 # instead of lib<name>.a to let people know that these are not
10492 # typical AIX shared libraries.
10493 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10494 else
10495 # We preserve .a as extension for shared libraries through AIX4.2
10496 # and later when we are not doing run time linking.
10497 library_names_spec='${libname}${release}.a $libname.a'
10498 soname_spec='${libname}${release}${shared_ext}$major'
10499 fi
10500 shlibpath_var=LIBPATH
10501 fi
10502 ;;
10503
10504 amigaos*)
10505 case $host_cpu in
10506 powerpc)
10507 # Since July 2007 AmigaOS4 officially supports .so libraries.
10508 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10510 ;;
10511 m68k)
10512 library_names_spec='$libname.ixlibrary $libname.a'
10513 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10514 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'
10515 ;;
10516 esac
10517 ;;
10518
10519 beos*)
10520 library_names_spec='${libname}${shared_ext}'
10521 dynamic_linker="$host_os ld.so"
10522 shlibpath_var=LIBRARY_PATH
10523 ;;
10524
10525 bsdi[45]*)
10526 version_type=linux
10527 need_version=no
10528 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10529 soname_spec='${libname}${release}${shared_ext}$major'
10530 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10531 shlibpath_var=LD_LIBRARY_PATH
10532 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10533 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10534 # the default ld.so.conf also contains /usr/contrib/lib and
10535 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10536 # libtool to hard-code these into programs
10537 ;;
10538
10539 cygwin* | mingw* | pw32* | cegcc*)
10540 version_type=windows
10541 shrext_cmds=".dll"
10542 need_version=no
10543 need_lib_prefix=no
10544
10545 case $GCC,$host_os in
10546 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10547 library_names_spec='$libname.dll.a'
10548 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10549 postinstall_cmds='base_file=`basename \${file}`~
10550 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10551 dldir=$destdir/`dirname \$dlpath`~
10552 test -d \$dldir || mkdir -p \$dldir~
10553 $install_prog $dir/$dlname \$dldir/$dlname~
10554 chmod a+x \$dldir/$dlname~
10555 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10556 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10557 fi'
10558 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10559 dlpath=$dir/\$dldll~
10560 $RM \$dlpath'
10561 shlibpath_overrides_runpath=yes
10562
10563 case $host_os in
10564 cygwin*)
10565 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10566 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10567
10568 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10569 ;;
10570 mingw* | cegcc*)
10571 # MinGW DLLs use traditional 'lib' prefix
10572 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10573 ;;
10574 pw32*)
10575 # pw32 DLLs use 'pw' prefix rather than 'lib'
10576 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10577 ;;
10578 esac
10579 ;;
10580
10581 *)
10582 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10583 ;;
10584 esac
10585 dynamic_linker='Win32 ld.exe'
10586 # FIXME: first we should search . and the directory the executable is in
10587 shlibpath_var=PATH
10588 ;;
10589
10590 darwin* | rhapsody*)
10591 dynamic_linker="$host_os dyld"
10592 version_type=darwin
10593 need_lib_prefix=no
10594 need_version=no
10595 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10596 soname_spec='${libname}${release}${major}$shared_ext'
10597 shlibpath_overrides_runpath=yes
10598 shlibpath_var=DYLD_LIBRARY_PATH
10599 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10600
10601 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10602 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10603 ;;
10604
10605 dgux*)
10606 version_type=linux
10607 need_lib_prefix=no
10608 need_version=no
10609 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10610 soname_spec='${libname}${release}${shared_ext}$major'
10611 shlibpath_var=LD_LIBRARY_PATH
10612 ;;
10613
10614 freebsd* | dragonfly*)
10615 # DragonFly does not have aout. When/if they implement a new
10616 # versioning mechanism, adjust this.
10617 if test -x /usr/bin/objformat; then
10618 objformat=`/usr/bin/objformat`
10619 else
10620 case $host_os in
10621 freebsd[23].*) objformat=aout ;;
10622 *) objformat=elf ;;
10623 esac
10624 fi
10625 version_type=freebsd-$objformat
10626 case $version_type in
10627 freebsd-elf*)
10628 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10629 need_version=no
10630 need_lib_prefix=no
10631 ;;
10632 freebsd-*)
10633 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10634 need_version=yes
10635 ;;
10636 esac
10637 shlibpath_var=LD_LIBRARY_PATH
10638 case $host_os in
10639 freebsd2.*)
10640 shlibpath_overrides_runpath=yes
10641 ;;
10642 freebsd3.[01]* | freebsdelf3.[01]*)
10643 shlibpath_overrides_runpath=yes
10644 hardcode_into_libs=yes
10645 ;;
10646 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10647 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10648 shlibpath_overrides_runpath=no
10649 hardcode_into_libs=yes
10650 ;;
10651 *) # from 4.6 on, and DragonFly
10652 shlibpath_overrides_runpath=yes
10653 hardcode_into_libs=yes
10654 ;;
10655 esac
10656 ;;
10657
10658 gnu*)
10659 version_type=linux
10660 need_lib_prefix=no
10661 need_version=no
10662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10663 soname_spec='${libname}${release}${shared_ext}$major'
10664 shlibpath_var=LD_LIBRARY_PATH
10665 hardcode_into_libs=yes
10666 ;;
10667
10668 haiku*)
10669 version_type=linux
10670 need_lib_prefix=no
10671 need_version=no
10672 dynamic_linker="$host_os runtime_loader"
10673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10674 soname_spec='${libname}${release}${shared_ext}$major'
10675 shlibpath_var=LIBRARY_PATH
10676 shlibpath_overrides_runpath=yes
10677 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10678 hardcode_into_libs=yes
10679 ;;
10680
10681 hpux9* | hpux10* | hpux11*)
10682 # Give a soname corresponding to the major version so that dld.sl refuses to
10683 # link against other versions.
10684 version_type=sunos
10685 need_lib_prefix=no
10686 need_version=no
10687 case $host_cpu in
10688 ia64*)
10689 shrext_cmds='.so'
10690 hardcode_into_libs=yes
10691 dynamic_linker="$host_os dld.so"
10692 shlibpath_var=LD_LIBRARY_PATH
10693 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10694 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10695 soname_spec='${libname}${release}${shared_ext}$major'
10696 if test "X$HPUX_IA64_MODE" = X32; then
10697 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10698 else
10699 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10700 fi
10701 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10702 ;;
10703 hppa*64*)
10704 shrext_cmds='.sl'
10705 hardcode_into_libs=yes
10706 dynamic_linker="$host_os dld.sl"
10707 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10708 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10710 soname_spec='${libname}${release}${shared_ext}$major'
10711 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10712 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10713 ;;
10714 *)
10715 shrext_cmds='.sl'
10716 dynamic_linker="$host_os dld.sl"
10717 shlibpath_var=SHLIB_PATH
10718 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10720 soname_spec='${libname}${release}${shared_ext}$major'
10721 ;;
10722 esac
10723 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10724 postinstall_cmds='chmod 555 $lib'
10725 # or fails outright, so override atomically:
10726 install_override_mode=555
10727 ;;
10728
10729 interix[3-9]*)
10730 version_type=linux
10731 need_lib_prefix=no
10732 need_version=no
10733 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10734 soname_spec='${libname}${release}${shared_ext}$major'
10735 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10736 shlibpath_var=LD_LIBRARY_PATH
10737 shlibpath_overrides_runpath=no
10738 hardcode_into_libs=yes
10739 ;;
10740
10741 irix5* | irix6* | nonstopux*)
10742 case $host_os in
10743 nonstopux*) version_type=nonstopux ;;
10744 *)
10745 if test "$lt_cv_prog_gnu_ld" = yes; then
10746 version_type=linux
10747 else
10748 version_type=irix
10749 fi ;;
10750 esac
10751 need_lib_prefix=no
10752 need_version=no
10753 soname_spec='${libname}${release}${shared_ext}$major'
10754 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10755 case $host_os in
10756 irix5* | nonstopux*)
10757 libsuff= shlibsuff=
10758 ;;
10759 *)
10760 case $LD in # libtool.m4 will add one of these switches to LD
10761 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10762 libsuff= shlibsuff= libmagic=32-bit;;
10763 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10764 libsuff=32 shlibsuff=N32 libmagic=N32;;
10765 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10766 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10767 *) libsuff= shlibsuff= libmagic=never-match;;
10768 esac
10769 ;;
10770 esac
10771 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10772 shlibpath_overrides_runpath=no
10773 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10774 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10775 hardcode_into_libs=yes
10776 ;;
10777
10778 # No shared lib support for Linux oldld, aout, or coff.
10779 linux*oldld* | linux*aout* | linux*coff*)
10780 dynamic_linker=no
10781 ;;
10782
10783 # This must be Linux ELF.
10784 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10785 version_type=linux
10786 need_lib_prefix=no
10787 need_version=no
10788 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10789 soname_spec='${libname}${release}${shared_ext}$major'
10790 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10791 shlibpath_var=LD_LIBRARY_PATH
10792 shlibpath_overrides_runpath=no
10793
10794 # Some binutils ld are patched to set DT_RUNPATH
10795 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10796 $as_echo_n "(cached) " >&6
10797 else
10798 lt_cv_shlibpath_overrides_runpath=no
10799 save_LDFLAGS=$LDFLAGS
10800 save_libdir=$libdir
10801 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10802 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10803 if test x$gcc_no_link = xyes; then
10804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10805 fi
10806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10807 /* end confdefs.h. */
10808
10809 int
10810 main ()
10811 {
10812
10813 ;
10814 return 0;
10815 }
10816 _ACEOF
10817 if ac_fn_c_try_link "$LINENO"; then :
10818 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10819 lt_cv_shlibpath_overrides_runpath=yes
10820 fi
10821 fi
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 LDFLAGS=$save_LDFLAGS
10825 libdir=$save_libdir
10826
10827 fi
10828
10829 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10830
10831 # This implies no fast_install, which is unacceptable.
10832 # Some rework will be needed to allow for fast_install
10833 # before this can be enabled.
10834 hardcode_into_libs=yes
10835
10836 # Append ld.so.conf contents to the search path
10837 if test -f /etc/ld.so.conf; then
10838 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' ' '`
10839 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10840 fi
10841
10842 # We used to test for /lib/ld.so.1 and disable shared libraries on
10843 # powerpc, because MkLinux only supported shared libraries with the
10844 # GNU dynamic linker. Since this was broken with cross compilers,
10845 # most powerpc-linux boxes support dynamic linking these days and
10846 # people can always --disable-shared, the test was removed, and we
10847 # assume the GNU/Linux dynamic linker is in use.
10848 dynamic_linker='GNU/Linux ld.so'
10849 ;;
10850
10851 netbsd*)
10852 version_type=sunos
10853 need_lib_prefix=no
10854 need_version=no
10855 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10857 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10858 dynamic_linker='NetBSD (a.out) ld.so'
10859 else
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 dynamic_linker='NetBSD ld.elf_so'
10863 fi
10864 shlibpath_var=LD_LIBRARY_PATH
10865 shlibpath_overrides_runpath=yes
10866 hardcode_into_libs=yes
10867 ;;
10868
10869 newsos6)
10870 version_type=linux
10871 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10872 shlibpath_var=LD_LIBRARY_PATH
10873 shlibpath_overrides_runpath=yes
10874 ;;
10875
10876 *nto* | *qnx*)
10877 version_type=qnx
10878 need_lib_prefix=no
10879 need_version=no
10880 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10881 soname_spec='${libname}${release}${shared_ext}$major'
10882 shlibpath_var=LD_LIBRARY_PATH
10883 shlibpath_overrides_runpath=no
10884 hardcode_into_libs=yes
10885 dynamic_linker='ldqnx.so'
10886 ;;
10887
10888 openbsd*)
10889 version_type=sunos
10890 sys_lib_dlsearch_path_spec="/usr/lib"
10891 need_lib_prefix=no
10892 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10893 case $host_os in
10894 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10895 *) need_version=no ;;
10896 esac
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10901 case $host_os in
10902 openbsd2.[89] | openbsd2.[89].*)
10903 shlibpath_overrides_runpath=no
10904 ;;
10905 *)
10906 shlibpath_overrides_runpath=yes
10907 ;;
10908 esac
10909 else
10910 shlibpath_overrides_runpath=yes
10911 fi
10912 ;;
10913
10914 os2*)
10915 libname_spec='$name'
10916 shrext_cmds=".dll"
10917 need_lib_prefix=no
10918 library_names_spec='$libname${shared_ext} $libname.a'
10919 dynamic_linker='OS/2 ld.exe'
10920 shlibpath_var=LIBPATH
10921 ;;
10922
10923 osf3* | osf4* | osf5*)
10924 version_type=osf
10925 need_lib_prefix=no
10926 need_version=no
10927 soname_spec='${libname}${release}${shared_ext}$major'
10928 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10929 shlibpath_var=LD_LIBRARY_PATH
10930 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10931 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10932 ;;
10933
10934 rdos*)
10935 dynamic_linker=no
10936 ;;
10937
10938 solaris*)
10939 version_type=linux
10940 need_lib_prefix=no
10941 need_version=no
10942 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10943 soname_spec='${libname}${release}${shared_ext}$major'
10944 shlibpath_var=LD_LIBRARY_PATH
10945 shlibpath_overrides_runpath=yes
10946 hardcode_into_libs=yes
10947 # ldd complains unless libraries are executable
10948 postinstall_cmds='chmod +x $lib'
10949 ;;
10950
10951 sunos4*)
10952 version_type=sunos
10953 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10954 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 shlibpath_overrides_runpath=yes
10957 if test "$with_gnu_ld" = yes; then
10958 need_lib_prefix=no
10959 fi
10960 need_version=yes
10961 ;;
10962
10963 sysv4 | sysv4.3*)
10964 version_type=linux
10965 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10966 soname_spec='${libname}${release}${shared_ext}$major'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 case $host_vendor in
10969 sni)
10970 shlibpath_overrides_runpath=no
10971 need_lib_prefix=no
10972 runpath_var=LD_RUN_PATH
10973 ;;
10974 siemens)
10975 need_lib_prefix=no
10976 ;;
10977 motorola)
10978 need_lib_prefix=no
10979 need_version=no
10980 shlibpath_overrides_runpath=no
10981 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10982 ;;
10983 esac
10984 ;;
10985
10986 sysv4*MP*)
10987 if test -d /usr/nec ;then
10988 version_type=linux
10989 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10990 soname_spec='$libname${shared_ext}.$major'
10991 shlibpath_var=LD_LIBRARY_PATH
10992 fi
10993 ;;
10994
10995 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10996 version_type=freebsd-elf
10997 need_lib_prefix=no
10998 need_version=no
10999 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11000 soname_spec='${libname}${release}${shared_ext}$major'
11001 shlibpath_var=LD_LIBRARY_PATH
11002 shlibpath_overrides_runpath=yes
11003 hardcode_into_libs=yes
11004 if test "$with_gnu_ld" = yes; then
11005 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11006 else
11007 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11008 case $host_os in
11009 sco3.2v5*)
11010 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11011 ;;
11012 esac
11013 fi
11014 sys_lib_dlsearch_path_spec='/usr/lib'
11015 ;;
11016
11017 tpf*)
11018 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11019 version_type=linux
11020 need_lib_prefix=no
11021 need_version=no
11022 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11023 shlibpath_var=LD_LIBRARY_PATH
11024 shlibpath_overrides_runpath=no
11025 hardcode_into_libs=yes
11026 ;;
11027
11028 uts4*)
11029 version_type=linux
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LD_LIBRARY_PATH
11033 ;;
11034
11035 *)
11036 dynamic_linker=no
11037 ;;
11038 esac
11039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11040 $as_echo "$dynamic_linker" >&6; }
11041 test "$dynamic_linker" = no && can_build_shared=no
11042
11043 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11044 if test "$GCC" = yes; then
11045 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11046 fi
11047
11048 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11049 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11050 fi
11051 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11052 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11053 fi
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11147 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11148 hardcode_action=
11149 if test -n "$hardcode_libdir_flag_spec" ||
11150 test -n "$runpath_var" ||
11151 test "X$hardcode_automatic" = "Xyes" ; then
11152
11153 # We can hardcode non-existent directories.
11154 if test "$hardcode_direct" != no &&
11155 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11156 # have to relink, otherwise we might link with an installed library
11157 # when we should be linking with a yet-to-be-installed one
11158 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11159 test "$hardcode_minus_L" != no; then
11160 # Linking always hardcodes the temporary library directory.
11161 hardcode_action=relink
11162 else
11163 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11164 hardcode_action=immediate
11165 fi
11166 else
11167 # We cannot hardcode anything, or else we can only hardcode existing
11168 # directories.
11169 hardcode_action=unsupported
11170 fi
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11172 $as_echo "$hardcode_action" >&6; }
11173
11174 if test "$hardcode_action" = relink ||
11175 test "$inherit_rpath" = yes; then
11176 # Fast installation is not supported
11177 enable_fast_install=no
11178 elif test "$shlibpath_overrides_runpath" = yes ||
11179 test "$enable_shared" = no; then
11180 # Fast installation is not necessary
11181 enable_fast_install=needless
11182 fi
11183
11184
11185
11186
11187
11188
11189 if test "x$enable_dlopen" != xyes; then
11190 enable_dlopen=unknown
11191 enable_dlopen_self=unknown
11192 enable_dlopen_self_static=unknown
11193 else
11194 lt_cv_dlopen=no
11195 lt_cv_dlopen_libs=
11196
11197 case $host_os in
11198 beos*)
11199 lt_cv_dlopen="load_add_on"
11200 lt_cv_dlopen_libs=
11201 lt_cv_dlopen_self=yes
11202 ;;
11203
11204 mingw* | pw32* | cegcc*)
11205 lt_cv_dlopen="LoadLibrary"
11206 lt_cv_dlopen_libs=
11207 ;;
11208
11209 cygwin*)
11210 lt_cv_dlopen="dlopen"
11211 lt_cv_dlopen_libs=
11212 ;;
11213
11214 darwin*)
11215 # if libdl is installed we need to link against it
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11217 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11218 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-ldl $LIBS"
11223 if test x$gcc_no_link = xyes; then
11224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11225 fi
11226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11227 /* end confdefs.h. */
11228
11229 /* Override any GCC internal prototype to avoid an error.
11230 Use char because int might match the return type of a GCC
11231 builtin and then its argument prototype would still apply. */
11232 #ifdef __cplusplus
11233 extern "C"
11234 #endif
11235 char dlopen ();
11236 int
11237 main ()
11238 {
11239 return dlopen ();
11240 ;
11241 return 0;
11242 }
11243 _ACEOF
11244 if ac_fn_c_try_link "$LINENO"; then :
11245 ac_cv_lib_dl_dlopen=yes
11246 else
11247 ac_cv_lib_dl_dlopen=no
11248 fi
11249 rm -f core conftest.err conftest.$ac_objext \
11250 conftest$ac_exeext conftest.$ac_ext
11251 LIBS=$ac_check_lib_save_LIBS
11252 fi
11253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11254 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11255 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11256 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11257 else
11258
11259 lt_cv_dlopen="dyld"
11260 lt_cv_dlopen_libs=
11261 lt_cv_dlopen_self=yes
11262
11263 fi
11264
11265 ;;
11266
11267 *)
11268 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11269 if test "x$ac_cv_func_shl_load" = x""yes; then :
11270 lt_cv_dlopen="shl_load"
11271 else
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11273 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11274 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11275 $as_echo_n "(cached) " >&6
11276 else
11277 ac_check_lib_save_LIBS=$LIBS
11278 LIBS="-ldld $LIBS"
11279 if test x$gcc_no_link = xyes; then
11280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11281 fi
11282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11283 /* end confdefs.h. */
11284
11285 /* Override any GCC internal prototype to avoid an error.
11286 Use char because int might match the return type of a GCC
11287 builtin and then its argument prototype would still apply. */
11288 #ifdef __cplusplus
11289 extern "C"
11290 #endif
11291 char shl_load ();
11292 int
11293 main ()
11294 {
11295 return shl_load ();
11296 ;
11297 return 0;
11298 }
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"; then :
11301 ac_cv_lib_dld_shl_load=yes
11302 else
11303 ac_cv_lib_dld_shl_load=no
11304 fi
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_lib_save_LIBS
11308 fi
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11310 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11311 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11312 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11313 else
11314 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11315 if test "x$ac_cv_func_dlopen" = x""yes; then :
11316 lt_cv_dlopen="dlopen"
11317 else
11318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11319 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11320 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11321 $as_echo_n "(cached) " >&6
11322 else
11323 ac_check_lib_save_LIBS=$LIBS
11324 LIBS="-ldl $LIBS"
11325 if test x$gcc_no_link = xyes; then
11326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11327 fi
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11330
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char dlopen ();
11338 int
11339 main ()
11340 {
11341 return dlopen ();
11342 ;
11343 return 0;
11344 }
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 ac_cv_lib_dl_dlopen=yes
11348 else
11349 ac_cv_lib_dl_dlopen=no
11350 fi
11351 rm -f core conftest.err conftest.$ac_objext \
11352 conftest$ac_exeext conftest.$ac_ext
11353 LIBS=$ac_check_lib_save_LIBS
11354 fi
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11356 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11357 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11358 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11359 else
11360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11361 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11362 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11363 $as_echo_n "(cached) " >&6
11364 else
11365 ac_check_lib_save_LIBS=$LIBS
11366 LIBS="-lsvld $LIBS"
11367 if test x$gcc_no_link = xyes; then
11368 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11369 fi
11370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11371 /* end confdefs.h. */
11372
11373 /* Override any GCC internal prototype to avoid an error.
11374 Use char because int might match the return type of a GCC
11375 builtin and then its argument prototype would still apply. */
11376 #ifdef __cplusplus
11377 extern "C"
11378 #endif
11379 char dlopen ();
11380 int
11381 main ()
11382 {
11383 return dlopen ();
11384 ;
11385 return 0;
11386 }
11387 _ACEOF
11388 if ac_fn_c_try_link "$LINENO"; then :
11389 ac_cv_lib_svld_dlopen=yes
11390 else
11391 ac_cv_lib_svld_dlopen=no
11392 fi
11393 rm -f core conftest.err conftest.$ac_objext \
11394 conftest$ac_exeext conftest.$ac_ext
11395 LIBS=$ac_check_lib_save_LIBS
11396 fi
11397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11398 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11399 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11400 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11401 else
11402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11403 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11404 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11405 $as_echo_n "(cached) " >&6
11406 else
11407 ac_check_lib_save_LIBS=$LIBS
11408 LIBS="-ldld $LIBS"
11409 if test x$gcc_no_link = xyes; then
11410 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11411 fi
11412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11413 /* end confdefs.h. */
11414
11415 /* Override any GCC internal prototype to avoid an error.
11416 Use char because int might match the return type of a GCC
11417 builtin and then its argument prototype would still apply. */
11418 #ifdef __cplusplus
11419 extern "C"
11420 #endif
11421 char dld_link ();
11422 int
11423 main ()
11424 {
11425 return dld_link ();
11426 ;
11427 return 0;
11428 }
11429 _ACEOF
11430 if ac_fn_c_try_link "$LINENO"; then :
11431 ac_cv_lib_dld_dld_link=yes
11432 else
11433 ac_cv_lib_dld_dld_link=no
11434 fi
11435 rm -f core conftest.err conftest.$ac_objext \
11436 conftest$ac_exeext conftest.$ac_ext
11437 LIBS=$ac_check_lib_save_LIBS
11438 fi
11439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11440 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11441 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11442 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11443 fi
11444
11445
11446 fi
11447
11448
11449 fi
11450
11451
11452 fi
11453
11454
11455 fi
11456
11457
11458 fi
11459
11460 ;;
11461 esac
11462
11463 if test "x$lt_cv_dlopen" != xno; then
11464 enable_dlopen=yes
11465 else
11466 enable_dlopen=no
11467 fi
11468
11469 case $lt_cv_dlopen in
11470 dlopen)
11471 save_CPPFLAGS="$CPPFLAGS"
11472 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11473
11474 save_LDFLAGS="$LDFLAGS"
11475 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11476
11477 save_LIBS="$LIBS"
11478 LIBS="$lt_cv_dlopen_libs $LIBS"
11479
11480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11481 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11482 if test "${lt_cv_dlopen_self+set}" = set; then :
11483 $as_echo_n "(cached) " >&6
11484 else
11485 if test "$cross_compiling" = yes; then :
11486 lt_cv_dlopen_self=cross
11487 else
11488 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11489 lt_status=$lt_dlunknown
11490 cat > conftest.$ac_ext <<_LT_EOF
11491 #line 11491 "configure"
11492 #include "confdefs.h"
11493
11494 #if HAVE_DLFCN_H
11495 #include <dlfcn.h>
11496 #endif
11497
11498 #include <stdio.h>
11499
11500 #ifdef RTLD_GLOBAL
11501 # define LT_DLGLOBAL RTLD_GLOBAL
11502 #else
11503 # ifdef DL_GLOBAL
11504 # define LT_DLGLOBAL DL_GLOBAL
11505 # else
11506 # define LT_DLGLOBAL 0
11507 # endif
11508 #endif
11509
11510 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11511 find out it does not work in some platform. */
11512 #ifndef LT_DLLAZY_OR_NOW
11513 # ifdef RTLD_LAZY
11514 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11515 # else
11516 # ifdef DL_LAZY
11517 # define LT_DLLAZY_OR_NOW DL_LAZY
11518 # else
11519 # ifdef RTLD_NOW
11520 # define LT_DLLAZY_OR_NOW RTLD_NOW
11521 # else
11522 # ifdef DL_NOW
11523 # define LT_DLLAZY_OR_NOW DL_NOW
11524 # else
11525 # define LT_DLLAZY_OR_NOW 0
11526 # endif
11527 # endif
11528 # endif
11529 # endif
11530 #endif
11531
11532 /* When -fvisbility=hidden is used, assume the code has been annotated
11533 correspondingly for the symbols needed. */
11534 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11535 void fnord () __attribute__((visibility("default")));
11536 #endif
11537
11538 void fnord () { int i=42; }
11539 int main ()
11540 {
11541 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11542 int status = $lt_dlunknown;
11543
11544 if (self)
11545 {
11546 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11547 else
11548 {
11549 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11550 else puts (dlerror ());
11551 }
11552 /* dlclose (self); */
11553 }
11554 else
11555 puts (dlerror ());
11556
11557 return status;
11558 }
11559 _LT_EOF
11560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11561 (eval $ac_link) 2>&5
11562 ac_status=$?
11563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11564 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11565 (./conftest; exit; ) >&5 2>/dev/null
11566 lt_status=$?
11567 case x$lt_status in
11568 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11569 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11570 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11571 esac
11572 else :
11573 # compilation failed
11574 lt_cv_dlopen_self=no
11575 fi
11576 fi
11577 rm -fr conftest*
11578
11579
11580 fi
11581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11582 $as_echo "$lt_cv_dlopen_self" >&6; }
11583
11584 if test "x$lt_cv_dlopen_self" = xyes; then
11585 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11587 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self_static=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11599
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11603
11604 #include <stdio.h>
11605
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11615
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11637
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11643
11644 void fnord () { int i=42; }
11645 int main ()
11646 {
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11649
11650 if (self)
11651 {
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11654 {
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11657 }
11658 /* dlclose (self); */
11659 }
11660 else
11661 puts (dlerror ());
11662
11663 return status;
11664 }
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self_static=no
11681 fi
11682 fi
11683 rm -fr conftest*
11684
11685
11686 fi
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11688 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11689 fi
11690
11691 CPPFLAGS="$save_CPPFLAGS"
11692 LDFLAGS="$save_LDFLAGS"
11693 LIBS="$save_LIBS"
11694 ;;
11695 esac
11696
11697 case $lt_cv_dlopen_self in
11698 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11699 *) enable_dlopen_self=unknown ;;
11700 esac
11701
11702 case $lt_cv_dlopen_self_static in
11703 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11704 *) enable_dlopen_self_static=unknown ;;
11705 esac
11706 fi
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724 striplib=
11725 old_striplib=
11726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11727 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11728 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11729 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11730 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11732 $as_echo "yes" >&6; }
11733 else
11734 # FIXME - insert some real tests, host_os isn't really good enough
11735 case $host_os in
11736 darwin*)
11737 if test -n "$STRIP" ; then
11738 striplib="$STRIP -x"
11739 old_striplib="$STRIP -S"
11740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11741 $as_echo "yes" >&6; }
11742 else
11743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11744 $as_echo "no" >&6; }
11745 fi
11746 ;;
11747 *)
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11749 $as_echo "no" >&6; }
11750 ;;
11751 esac
11752 fi
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765 # Report which library types will actually be built
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11767 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11769 $as_echo "$can_build_shared" >&6; }
11770
11771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11772 $as_echo_n "checking whether to build shared libraries... " >&6; }
11773 test "$can_build_shared" = "no" && enable_shared=no
11774
11775 # On AIX, shared libraries and static libraries use the same namespace, and
11776 # are all built from PIC.
11777 case $host_os in
11778 aix3*)
11779 test "$enable_shared" = yes && enable_static=no
11780 if test -n "$RANLIB"; then
11781 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11782 postinstall_cmds='$RANLIB $lib'
11783 fi
11784 ;;
11785
11786 aix[4-9]*)
11787 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11788 test "$enable_shared" = yes && enable_static=no
11789 fi
11790 ;;
11791 esac
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11793 $as_echo "$enable_shared" >&6; }
11794
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11796 $as_echo_n "checking whether to build static libraries... " >&6; }
11797 # Make sure either enable_shared or enable_static is yes.
11798 test "$enable_shared" = yes || enable_static=yes
11799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11800 $as_echo "$enable_static" >&6; }
11801
11802
11803
11804
11805 fi
11806 ac_ext=c
11807 ac_cpp='$CPP $CPPFLAGS'
11808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11811
11812 CC="$lt_save_CC"
11813
11814 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11815 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11816 (test "X$CXX" != "Xg++"))) ; then
11817 ac_ext=cpp
11818 ac_cpp='$CXXCPP $CPPFLAGS'
11819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11823 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11824 if test -z "$CXXCPP"; then
11825 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11826 $as_echo_n "(cached) " >&6
11827 else
11828 # Double quotes because CXXCPP needs to be expanded
11829 for CXXCPP in "$CXX -E" "/lib/cpp"
11830 do
11831 ac_preproc_ok=false
11832 for ac_cxx_preproc_warn_flag in '' yes
11833 do
11834 # Use a header file that comes with gcc, so configuring glibc
11835 # with a fresh cross-compiler works.
11836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11837 # <limits.h> exists even on freestanding compilers.
11838 # On the NeXT, cc -E runs the code through the compiler's parser,
11839 # not just through cpp. "Syntax error" is here to catch this case.
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 #ifdef __STDC__
11843 # include <limits.h>
11844 #else
11845 # include <assert.h>
11846 #endif
11847 Syntax error
11848 _ACEOF
11849 if ac_fn_cxx_try_cpp "$LINENO"; then :
11850
11851 else
11852 # Broken: fails on valid input.
11853 continue
11854 fi
11855 rm -f conftest.err conftest.$ac_ext
11856
11857 # OK, works on sane cases. Now check whether nonexistent headers
11858 # can be detected and how.
11859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11860 /* end confdefs.h. */
11861 #include <ac_nonexistent.h>
11862 _ACEOF
11863 if ac_fn_cxx_try_cpp "$LINENO"; then :
11864 # Broken: success on invalid input.
11865 continue
11866 else
11867 # Passes both tests.
11868 ac_preproc_ok=:
11869 break
11870 fi
11871 rm -f conftest.err conftest.$ac_ext
11872
11873 done
11874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11875 rm -f conftest.err conftest.$ac_ext
11876 if $ac_preproc_ok; then :
11877 break
11878 fi
11879
11880 done
11881 ac_cv_prog_CXXCPP=$CXXCPP
11882
11883 fi
11884 CXXCPP=$ac_cv_prog_CXXCPP
11885 else
11886 ac_cv_prog_CXXCPP=$CXXCPP
11887 fi
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11889 $as_echo "$CXXCPP" >&6; }
11890 ac_preproc_ok=false
11891 for ac_cxx_preproc_warn_flag in '' yes
11892 do
11893 # Use a header file that comes with gcc, so configuring glibc
11894 # with a fresh cross-compiler works.
11895 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11896 # <limits.h> exists even on freestanding compilers.
11897 # On the NeXT, cc -E runs the code through the compiler's parser,
11898 # not just through cpp. "Syntax error" is here to catch this case.
11899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11900 /* end confdefs.h. */
11901 #ifdef __STDC__
11902 # include <limits.h>
11903 #else
11904 # include <assert.h>
11905 #endif
11906 Syntax error
11907 _ACEOF
11908 if ac_fn_cxx_try_cpp "$LINENO"; then :
11909
11910 else
11911 # Broken: fails on valid input.
11912 continue
11913 fi
11914 rm -f conftest.err conftest.$ac_ext
11915
11916 # OK, works on sane cases. Now check whether nonexistent headers
11917 # can be detected and how.
11918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11919 /* end confdefs.h. */
11920 #include <ac_nonexistent.h>
11921 _ACEOF
11922 if ac_fn_cxx_try_cpp "$LINENO"; then :
11923 # Broken: success on invalid input.
11924 continue
11925 else
11926 # Passes both tests.
11927 ac_preproc_ok=:
11928 break
11929 fi
11930 rm -f conftest.err conftest.$ac_ext
11931
11932 done
11933 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11934 rm -f conftest.err conftest.$ac_ext
11935 if $ac_preproc_ok; then :
11936
11937 else
11938 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11939 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11940 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11941 See \`config.log' for more details." "$LINENO" 5; }
11942 fi
11943
11944 ac_ext=c
11945 ac_cpp='$CPP $CPPFLAGS'
11946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11949
11950 else
11951 _lt_caught_CXX_error=yes
11952 fi
11953
11954 ac_ext=cpp
11955 ac_cpp='$CXXCPP $CPPFLAGS'
11956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11959
11960 archive_cmds_need_lc_CXX=no
11961 allow_undefined_flag_CXX=
11962 always_export_symbols_CXX=no
11963 archive_expsym_cmds_CXX=
11964 compiler_needs_object_CXX=no
11965 export_dynamic_flag_spec_CXX=
11966 hardcode_direct_CXX=no
11967 hardcode_direct_absolute_CXX=no
11968 hardcode_libdir_flag_spec_CXX=
11969 hardcode_libdir_flag_spec_ld_CXX=
11970 hardcode_libdir_separator_CXX=
11971 hardcode_minus_L_CXX=no
11972 hardcode_shlibpath_var_CXX=unsupported
11973 hardcode_automatic_CXX=no
11974 inherit_rpath_CXX=no
11975 module_cmds_CXX=
11976 module_expsym_cmds_CXX=
11977 link_all_deplibs_CXX=unknown
11978 old_archive_cmds_CXX=$old_archive_cmds
11979 reload_flag_CXX=$reload_flag
11980 reload_cmds_CXX=$reload_cmds
11981 no_undefined_flag_CXX=
11982 whole_archive_flag_spec_CXX=
11983 enable_shared_with_static_runtimes_CXX=no
11984
11985 # Source file extension for C++ test sources.
11986 ac_ext=cpp
11987
11988 # Object file extension for compiled C++ test sources.
11989 objext=o
11990 objext_CXX=$objext
11991
11992 # No sense in running all these tests if we already determined that
11993 # the CXX compiler isn't working. Some variables (like enable_shared)
11994 # are currently assumed to apply to all compilers on this platform,
11995 # and will be corrupted by setting them based on a non-working compiler.
11996 if test "$_lt_caught_CXX_error" != yes; then
11997 # Code to be used in simple compile tests
11998 lt_simple_compile_test_code="int some_variable = 0;"
11999
12000 # Code to be used in simple link tests
12001 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12002
12003 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12004
12005
12006
12007
12008
12009
12010 # If no C compiler was specified, use CC.
12011 LTCC=${LTCC-"$CC"}
12012
12013 # If no C compiler flags were specified, use CFLAGS.
12014 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12015
12016 # Allow CC to be a program name with arguments.
12017 compiler=$CC
12018
12019
12020 # save warnings/boilerplate of simple test code
12021 ac_outfile=conftest.$ac_objext
12022 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12023 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12024 _lt_compiler_boilerplate=`cat conftest.err`
12025 $RM conftest*
12026
12027 ac_outfile=conftest.$ac_objext
12028 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12029 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12030 _lt_linker_boilerplate=`cat conftest.err`
12031 $RM -r conftest*
12032
12033
12034 # Allow CC to be a program name with arguments.
12035 lt_save_CC=$CC
12036 lt_save_LD=$LD
12037 lt_save_GCC=$GCC
12038 GCC=$GXX
12039 lt_save_with_gnu_ld=$with_gnu_ld
12040 lt_save_path_LD=$lt_cv_path_LD
12041 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12042 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12043 else
12044 $as_unset lt_cv_prog_gnu_ld
12045 fi
12046 if test -n "${lt_cv_path_LDCXX+set}"; then
12047 lt_cv_path_LD=$lt_cv_path_LDCXX
12048 else
12049 $as_unset lt_cv_path_LD
12050 fi
12051 test -z "${LDCXX+set}" || LD=$LDCXX
12052 CC=${CXX-"c++"}
12053 compiler=$CC
12054 compiler_CXX=$CC
12055 for cc_temp in $compiler""; do
12056 case $cc_temp in
12057 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12058 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12059 \-*) ;;
12060 *) break;;
12061 esac
12062 done
12063 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12064
12065
12066 if test -n "$compiler"; then
12067 # We don't want -fno-exception when compiling C++ code, so set the
12068 # no_builtin_flag separately
12069 if test "$GXX" = yes; then
12070 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12071 else
12072 lt_prog_compiler_no_builtin_flag_CXX=
12073 fi
12074
12075 if test "$GXX" = yes; then
12076 # Set up default GNU C++ configuration
12077
12078
12079
12080 # Check whether --with-gnu-ld was given.
12081 if test "${with_gnu_ld+set}" = set; then :
12082 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12083 else
12084 with_gnu_ld=no
12085 fi
12086
12087 ac_prog=ld
12088 if test "$GCC" = yes; then
12089 # Check if gcc -print-prog-name=ld gives a path.
12090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12091 $as_echo_n "checking for ld used by $CC... " >&6; }
12092 case $host in
12093 *-*-mingw*)
12094 # gcc leaves a trailing carriage return which upsets mingw
12095 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12096 *)
12097 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12098 esac
12099 case $ac_prog in
12100 # Accept absolute paths.
12101 [\\/]* | ?:[\\/]*)
12102 re_direlt='/[^/][^/]*/\.\./'
12103 # Canonicalize the pathname of ld
12104 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12105 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12106 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12107 done
12108 test -z "$LD" && LD="$ac_prog"
12109 ;;
12110 "")
12111 # If it fails, then pretend we aren't using GCC.
12112 ac_prog=ld
12113 ;;
12114 *)
12115 # If it is relative, then search for the first ld in PATH.
12116 with_gnu_ld=unknown
12117 ;;
12118 esac
12119 elif test "$with_gnu_ld" = yes; then
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12121 $as_echo_n "checking for GNU ld... " >&6; }
12122 else
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12124 $as_echo_n "checking for non-GNU ld... " >&6; }
12125 fi
12126 if test "${lt_cv_path_LD+set}" = set; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 if test -z "$LD"; then
12130 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12131 for ac_dir in $PATH; do
12132 IFS="$lt_save_ifs"
12133 test -z "$ac_dir" && ac_dir=.
12134 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12135 lt_cv_path_LD="$ac_dir/$ac_prog"
12136 # Check to see if the program is GNU ld. I'd rather use --version,
12137 # but apparently some variants of GNU ld only accept -v.
12138 # Break only if it was the GNU/non-GNU ld that we prefer.
12139 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12140 *GNU* | *'with BFD'*)
12141 test "$with_gnu_ld" != no && break
12142 ;;
12143 *)
12144 test "$with_gnu_ld" != yes && break
12145 ;;
12146 esac
12147 fi
12148 done
12149 IFS="$lt_save_ifs"
12150 else
12151 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12152 fi
12153 fi
12154
12155 LD="$lt_cv_path_LD"
12156 if test -n "$LD"; then
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12158 $as_echo "$LD" >&6; }
12159 else
12160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12161 $as_echo "no" >&6; }
12162 fi
12163 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12166 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12167 $as_echo_n "(cached) " >&6
12168 else
12169 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12170 case `$LD -v 2>&1 </dev/null` in
12171 *GNU* | *'with BFD'*)
12172 lt_cv_prog_gnu_ld=yes
12173 ;;
12174 *)
12175 lt_cv_prog_gnu_ld=no
12176 ;;
12177 esac
12178 fi
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12180 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12181 with_gnu_ld=$lt_cv_prog_gnu_ld
12182
12183
12184
12185
12186
12187
12188
12189 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12190 # archiving commands below assume that GNU ld is being used.
12191 if test "$with_gnu_ld" = yes; then
12192 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12193 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'
12194
12195 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12196 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12197
12198 # If archive_cmds runs LD, not CC, wlarc should be empty
12199 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12200 # investigate it a little bit more. (MM)
12201 wlarc='${wl}'
12202
12203 # ancient GNU ld didn't support --whole-archive et. al.
12204 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12205 $GREP 'no-whole-archive' > /dev/null; then
12206 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12207 else
12208 whole_archive_flag_spec_CXX=
12209 fi
12210 else
12211 with_gnu_ld=no
12212 wlarc=
12213
12214 # A generic and very simple default shared library creation
12215 # command for GNU C++ for the case where it uses the native
12216 # linker, instead of GNU ld. If possible, this setting should
12217 # overridden to take advantage of the native linker features on
12218 # the platform it is being used on.
12219 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12220 fi
12221
12222 # Commands to make compiler produce verbose output that lists
12223 # what "hidden" libraries, object files and flags are used when
12224 # linking a shared library.
12225 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12226
12227 else
12228 GXX=no
12229 with_gnu_ld=no
12230 wlarc=
12231 fi
12232
12233 # PORTME: fill in a description of your system's C++ link characteristics
12234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12235 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12236 ld_shlibs_CXX=yes
12237 case $host_os in
12238 aix3*)
12239 # FIXME: insert proper C++ library support
12240 ld_shlibs_CXX=no
12241 ;;
12242 aix[4-9]*)
12243 if test "$host_cpu" = ia64; then
12244 # On IA64, the linker does run time linking by default, so we don't
12245 # have to do anything special.
12246 aix_use_runtimelinking=no
12247 exp_sym_flag='-Bexport'
12248 no_entry_flag=""
12249 else
12250 aix_use_runtimelinking=no
12251
12252 # Test if we are trying to use run time linking or normal
12253 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12254 # need to do runtime linking.
12255 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12256 for ld_flag in $LDFLAGS; do
12257 case $ld_flag in
12258 *-brtl*)
12259 aix_use_runtimelinking=yes
12260 break
12261 ;;
12262 esac
12263 done
12264 ;;
12265 esac
12266
12267 exp_sym_flag='-bexport'
12268 no_entry_flag='-bnoentry'
12269 fi
12270
12271 # When large executables or shared objects are built, AIX ld can
12272 # have problems creating the table of contents. If linking a library
12273 # or program results in "error TOC overflow" add -mminimal-toc to
12274 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12275 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12276
12277 archive_cmds_CXX=''
12278 hardcode_direct_CXX=yes
12279 hardcode_direct_absolute_CXX=yes
12280 hardcode_libdir_separator_CXX=':'
12281 link_all_deplibs_CXX=yes
12282 file_list_spec_CXX='${wl}-f,'
12283
12284 if test "$GXX" = yes; then
12285 case $host_os in aix4.[012]|aix4.[012].*)
12286 # We only want to do this on AIX 4.2 and lower, the check
12287 # below for broken collect2 doesn't work under 4.3+
12288 collect2name=`${CC} -print-prog-name=collect2`
12289 if test -f "$collect2name" &&
12290 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12291 then
12292 # We have reworked collect2
12293 :
12294 else
12295 # We have old collect2
12296 hardcode_direct_CXX=unsupported
12297 # It fails to find uninstalled libraries when the uninstalled
12298 # path is not listed in the libpath. Setting hardcode_minus_L
12299 # to unsupported forces relinking
12300 hardcode_minus_L_CXX=yes
12301 hardcode_libdir_flag_spec_CXX='-L$libdir'
12302 hardcode_libdir_separator_CXX=
12303 fi
12304 esac
12305 shared_flag='-shared'
12306 if test "$aix_use_runtimelinking" = yes; then
12307 shared_flag="$shared_flag "'${wl}-G'
12308 fi
12309 else
12310 # not using gcc
12311 if test "$host_cpu" = ia64; then
12312 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12313 # chokes on -Wl,-G. The following line is correct:
12314 shared_flag='-G'
12315 else
12316 if test "$aix_use_runtimelinking" = yes; then
12317 shared_flag='${wl}-G'
12318 else
12319 shared_flag='${wl}-bM:SRE'
12320 fi
12321 fi
12322 fi
12323
12324 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12325 # It seems that -bexpall does not export symbols beginning with
12326 # underscore (_), so it is better to generate a list of symbols to
12327 # export.
12328 always_export_symbols_CXX=yes
12329 if test "$aix_use_runtimelinking" = yes; then
12330 # Warning - without using the other runtime loading flags (-brtl),
12331 # -berok will link without error, but may produce a broken library.
12332 allow_undefined_flag_CXX='-berok'
12333 # Determine the default libpath from the value encoded in an empty
12334 # executable.
12335 if test x$gcc_no_link = xyes; then
12336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12337 fi
12338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12339 /* end confdefs.h. */
12340
12341 int
12342 main ()
12343 {
12344
12345 ;
12346 return 0;
12347 }
12348 _ACEOF
12349 if ac_fn_cxx_try_link "$LINENO"; then :
12350
12351 lt_aix_libpath_sed='
12352 /Import File Strings/,/^$/ {
12353 /^0/ {
12354 s/^0 *\(.*\)$/\1/
12355 p
12356 }
12357 }'
12358 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12359 # Check for a 64-bit object if we didn't find anything.
12360 if test -z "$aix_libpath"; then
12361 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12362 fi
12363 fi
12364 rm -f core conftest.err conftest.$ac_objext \
12365 conftest$ac_exeext conftest.$ac_ext
12366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12367
12368 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12369
12370 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"
12371 else
12372 if test "$host_cpu" = ia64; then
12373 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12374 allow_undefined_flag_CXX="-z nodefs"
12375 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"
12376 else
12377 # Determine the default libpath from the value encoded in an
12378 # empty executable.
12379 if test x$gcc_no_link = xyes; then
12380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12381 fi
12382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12383 /* end confdefs.h. */
12384
12385 int
12386 main ()
12387 {
12388
12389 ;
12390 return 0;
12391 }
12392 _ACEOF
12393 if ac_fn_cxx_try_link "$LINENO"; then :
12394
12395 lt_aix_libpath_sed='
12396 /Import File Strings/,/^$/ {
12397 /^0/ {
12398 s/^0 *\(.*\)$/\1/
12399 p
12400 }
12401 }'
12402 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12403 # Check for a 64-bit object if we didn't find anything.
12404 if test -z "$aix_libpath"; then
12405 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12406 fi
12407 fi
12408 rm -f core conftest.err conftest.$ac_objext \
12409 conftest$ac_exeext conftest.$ac_ext
12410 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12411
12412 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12413 # Warning - without using the other run time loading flags,
12414 # -berok will link without error, but may produce a broken library.
12415 no_undefined_flag_CXX=' ${wl}-bernotok'
12416 allow_undefined_flag_CXX=' ${wl}-berok'
12417 if test "$with_gnu_ld" = yes; then
12418 # We only use this code for GNU lds that support --whole-archive.
12419 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12420 else
12421 # Exported symbols can be pulled into shared objects from archives
12422 whole_archive_flag_spec_CXX='$convenience'
12423 fi
12424 archive_cmds_need_lc_CXX=yes
12425 # This is similar to how AIX traditionally builds its shared
12426 # libraries.
12427 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'
12428 fi
12429 fi
12430 ;;
12431
12432 beos*)
12433 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12434 allow_undefined_flag_CXX=unsupported
12435 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12436 # support --undefined. This deserves some investigation. FIXME
12437 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12438 else
12439 ld_shlibs_CXX=no
12440 fi
12441 ;;
12442
12443 chorus*)
12444 case $cc_basename in
12445 *)
12446 # FIXME: insert proper C++ library support
12447 ld_shlibs_CXX=no
12448 ;;
12449 esac
12450 ;;
12451
12452 cygwin* | mingw* | pw32* | cegcc*)
12453 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12454 # as there is no search path for DLLs.
12455 hardcode_libdir_flag_spec_CXX='-L$libdir'
12456 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12457 allow_undefined_flag_CXX=unsupported
12458 always_export_symbols_CXX=no
12459 enable_shared_with_static_runtimes_CXX=yes
12460
12461 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12462 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'
12463 # If the export-symbols file already is a .def file (1st line
12464 # is EXPORTS), use it as is; otherwise, prepend...
12465 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12466 cp $export_symbols $output_objdir/$soname.def;
12467 else
12468 echo EXPORTS > $output_objdir/$soname.def;
12469 cat $export_symbols >> $output_objdir/$soname.def;
12470 fi~
12471 $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'
12472 else
12473 ld_shlibs_CXX=no
12474 fi
12475 ;;
12476 darwin* | rhapsody*)
12477
12478
12479 archive_cmds_need_lc_CXX=no
12480 hardcode_direct_CXX=no
12481 hardcode_automatic_CXX=yes
12482 hardcode_shlibpath_var_CXX=unsupported
12483 if test "$lt_cv_ld_force_load" = "yes"; then
12484 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\"`'
12485 else
12486 whole_archive_flag_spec_CXX=''
12487 fi
12488 link_all_deplibs_CXX=yes
12489 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12490 case $cc_basename in
12491 ifort*) _lt_dar_can_shared=yes ;;
12492 *) _lt_dar_can_shared=$GCC ;;
12493 esac
12494 if test "$_lt_dar_can_shared" = "yes"; then
12495 output_verbose_link_cmd=func_echo_all
12496 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}"
12497 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12498 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}"
12499 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}"
12500 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12501 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}"
12502 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}"
12503 fi
12504
12505 else
12506 ld_shlibs_CXX=no
12507 fi
12508
12509 ;;
12510
12511 dgux*)
12512 case $cc_basename in
12513 ec++*)
12514 # FIXME: insert proper C++ library support
12515 ld_shlibs_CXX=no
12516 ;;
12517 ghcx*)
12518 # Green Hills C++ Compiler
12519 # FIXME: insert proper C++ library support
12520 ld_shlibs_CXX=no
12521 ;;
12522 *)
12523 # FIXME: insert proper C++ library support
12524 ld_shlibs_CXX=no
12525 ;;
12526 esac
12527 ;;
12528
12529 freebsd2.*)
12530 # C++ shared libraries reported to be fairly broken before
12531 # switch to ELF
12532 ld_shlibs_CXX=no
12533 ;;
12534
12535 freebsd-elf*)
12536 archive_cmds_need_lc_CXX=no
12537 ;;
12538
12539 freebsd* | dragonfly*)
12540 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12541 # conventions
12542 ld_shlibs_CXX=yes
12543 ;;
12544
12545 gnu*)
12546 ;;
12547
12548 haiku*)
12549 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12550 link_all_deplibs_CXX=yes
12551 ;;
12552
12553 hpux9*)
12554 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12555 hardcode_libdir_separator_CXX=:
12556 export_dynamic_flag_spec_CXX='${wl}-E'
12557 hardcode_direct_CXX=yes
12558 hardcode_minus_L_CXX=yes # Not in the search PATH,
12559 # but as the default
12560 # location of the library.
12561
12562 case $cc_basename in
12563 CC*)
12564 # FIXME: insert proper C++ library support
12565 ld_shlibs_CXX=no
12566 ;;
12567 aCC*)
12568 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'
12569 # Commands to make compiler produce verbose output that lists
12570 # what "hidden" libraries, object files and flags are used when
12571 # linking a shared library.
12572 #
12573 # There doesn't appear to be a way to prevent this compiler from
12574 # explicitly linking system object files so we need to strip them
12575 # from the output so that they don't get included in the library
12576 # dependencies.
12577 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"'
12578 ;;
12579 *)
12580 if test "$GXX" = yes; then
12581 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'
12582 else
12583 # FIXME: insert proper C++ library support
12584 ld_shlibs_CXX=no
12585 fi
12586 ;;
12587 esac
12588 ;;
12589
12590 hpux10*|hpux11*)
12591 if test $with_gnu_ld = no; then
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12594
12595 case $host_cpu in
12596 hppa*64*|ia64*)
12597 ;;
12598 *)
12599 export_dynamic_flag_spec_CXX='${wl}-E'
12600 ;;
12601 esac
12602 fi
12603 case $host_cpu in
12604 hppa*64*|ia64*)
12605 hardcode_direct_CXX=no
12606 hardcode_shlibpath_var_CXX=no
12607 ;;
12608 *)
12609 hardcode_direct_CXX=yes
12610 hardcode_direct_absolute_CXX=yes
12611 hardcode_minus_L_CXX=yes # Not in the search PATH,
12612 # but as the default
12613 # location of the library.
12614 ;;
12615 esac
12616
12617 case $cc_basename in
12618 CC*)
12619 # FIXME: insert proper C++ library support
12620 ld_shlibs_CXX=no
12621 ;;
12622 aCC*)
12623 case $host_cpu in
12624 hppa*64*)
12625 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12626 ;;
12627 ia64*)
12628 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12629 ;;
12630 *)
12631 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12632 ;;
12633 esac
12634 # Commands to make compiler produce verbose output that lists
12635 # what "hidden" libraries, object files and flags are used when
12636 # linking a shared library.
12637 #
12638 # There doesn't appear to be a way to prevent this compiler from
12639 # explicitly linking system object files so we need to strip them
12640 # from the output so that they don't get included in the library
12641 # dependencies.
12642 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"'
12643 ;;
12644 *)
12645 if test "$GXX" = yes; then
12646 if test $with_gnu_ld = no; then
12647 case $host_cpu in
12648 hppa*64*)
12649 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12650 ;;
12651 ia64*)
12652 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12653 ;;
12654 *)
12655 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'
12656 ;;
12657 esac
12658 fi
12659 else
12660 # FIXME: insert proper C++ library support
12661 ld_shlibs_CXX=no
12662 fi
12663 ;;
12664 esac
12665 ;;
12666
12667 interix[3-9]*)
12668 hardcode_direct_CXX=no
12669 hardcode_shlibpath_var_CXX=no
12670 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12671 export_dynamic_flag_spec_CXX='${wl}-E'
12672 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12673 # Instead, shared libraries are loaded at an image base (0x10000000 by
12674 # default) and relocated if they conflict, which is a slow very memory
12675 # consuming and fragmenting process. To avoid this, we pick a random,
12676 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12677 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12678 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'
12679 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'
12680 ;;
12681 irix5* | irix6*)
12682 case $cc_basename in
12683 CC*)
12684 # SGI C++
12685 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'
12686
12687 # Archives containing C++ object files must be created using
12688 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12689 # necessary to make sure instantiated templates are included
12690 # in the archive.
12691 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12692 ;;
12693 *)
12694 if test "$GXX" = yes; then
12695 if test "$with_gnu_ld" = no; then
12696 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'
12697 else
12698 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'
12699 fi
12700 fi
12701 link_all_deplibs_CXX=yes
12702 ;;
12703 esac
12704 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12705 hardcode_libdir_separator_CXX=:
12706 inherit_rpath_CXX=yes
12707 ;;
12708
12709 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12710 case $cc_basename in
12711 KCC*)
12712 # Kuck and Associates, Inc. (KAI) C++ Compiler
12713
12714 # KCC will only create a shared library if the output file
12715 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12716 # to its proper name (with version) after linking.
12717 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'
12718 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'
12719 # Commands to make compiler produce verbose output that lists
12720 # what "hidden" libraries, object files and flags are used when
12721 # linking a shared library.
12722 #
12723 # There doesn't appear to be a way to prevent this compiler from
12724 # explicitly linking system object files so we need to strip them
12725 # from the output so that they don't get included in the library
12726 # dependencies.
12727 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"'
12728
12729 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12730 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12731
12732 # Archives containing C++ object files must be created using
12733 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12734 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12735 ;;
12736 icpc* | ecpc* )
12737 # Intel C++
12738 with_gnu_ld=yes
12739 # version 8.0 and above of icpc choke on multiply defined symbols
12740 # if we add $predep_objects and $postdep_objects, however 7.1 and
12741 # earlier do not add the objects themselves.
12742 case `$CC -V 2>&1` in
12743 *"Version 7."*)
12744 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12745 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'
12746 ;;
12747 *) # Version 8.0 or newer
12748 tmp_idyn=
12749 case $host_cpu in
12750 ia64*) tmp_idyn=' -i_dynamic';;
12751 esac
12752 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12753 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'
12754 ;;
12755 esac
12756 archive_cmds_need_lc_CXX=no
12757 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12758 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12759 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12760 ;;
12761 pgCC* | pgcpp*)
12762 # Portland Group C++ compiler
12763 case `$CC -V` in
12764 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12765 prelink_cmds_CXX='tpldir=Template.dir~
12766 rm -rf $tpldir~
12767 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12768 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12769 old_archive_cmds_CXX='tpldir=Template.dir~
12770 rm -rf $tpldir~
12771 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12772 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12773 $RANLIB $oldlib'
12774 archive_cmds_CXX='tpldir=Template.dir~
12775 rm -rf $tpldir~
12776 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12777 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12778 archive_expsym_cmds_CXX='tpldir=Template.dir~
12779 rm -rf $tpldir~
12780 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12781 $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'
12782 ;;
12783 *) # Version 6 and above use weak symbols
12784 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12785 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'
12786 ;;
12787 esac
12788
12789 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12790 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12791 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'
12792 ;;
12793 cxx*)
12794 # Compaq C++
12795 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12796 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'
12797
12798 runpath_var=LD_RUN_PATH
12799 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12800 hardcode_libdir_separator_CXX=:
12801
12802 # Commands to make compiler produce verbose output that lists
12803 # what "hidden" libraries, object files and flags are used when
12804 # linking a shared library.
12805 #
12806 # There doesn't appear to be a way to prevent this compiler from
12807 # explicitly linking system object files so we need to strip them
12808 # from the output so that they don't get included in the library
12809 # dependencies.
12810 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'
12811 ;;
12812 xl* | mpixl* | bgxl*)
12813 # IBM XL 8.0 on PPC, with GNU ld
12814 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12815 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12816 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12817 if test "x$supports_anon_versioning" = xyes; then
12818 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12819 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12820 echo "local: *; };" >> $output_objdir/$libname.ver~
12821 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12822 fi
12823 ;;
12824 *)
12825 case `$CC -V 2>&1 | sed 5q` in
12826 *Sun\ C*)
12827 # Sun C++ 5.9
12828 no_undefined_flag_CXX=' -zdefs'
12829 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12830 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'
12831 hardcode_libdir_flag_spec_CXX='-R$libdir'
12832 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'
12833 compiler_needs_object_CXX=yes
12834
12835 # Not sure whether something based on
12836 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12837 # would be better.
12838 output_verbose_link_cmd='func_echo_all'
12839
12840 # Archives containing C++ object files must be created using
12841 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12842 # necessary to make sure instantiated templates are included
12843 # in the archive.
12844 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12845 ;;
12846 esac
12847 ;;
12848 esac
12849 ;;
12850
12851 lynxos*)
12852 # FIXME: insert proper C++ library support
12853 ld_shlibs_CXX=no
12854 ;;
12855
12856 m88k*)
12857 # FIXME: insert proper C++ library support
12858 ld_shlibs_CXX=no
12859 ;;
12860
12861 mvs*)
12862 case $cc_basename in
12863 cxx*)
12864 # FIXME: insert proper C++ library support
12865 ld_shlibs_CXX=no
12866 ;;
12867 *)
12868 # FIXME: insert proper C++ library support
12869 ld_shlibs_CXX=no
12870 ;;
12871 esac
12872 ;;
12873
12874 netbsd*)
12875 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12876 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12877 wlarc=
12878 hardcode_libdir_flag_spec_CXX='-R$libdir'
12879 hardcode_direct_CXX=yes
12880 hardcode_shlibpath_var_CXX=no
12881 fi
12882 # Workaround some broken pre-1.5 toolchains
12883 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12884 ;;
12885
12886 *nto* | *qnx*)
12887 ld_shlibs_CXX=yes
12888 ;;
12889
12890 openbsd2*)
12891 # C++ shared libraries are fairly broken
12892 ld_shlibs_CXX=no
12893 ;;
12894
12895 openbsd*)
12896 if test -f /usr/libexec/ld.so; then
12897 hardcode_direct_CXX=yes
12898 hardcode_shlibpath_var_CXX=no
12899 hardcode_direct_absolute_CXX=yes
12900 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12901 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12902 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12903 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12904 export_dynamic_flag_spec_CXX='${wl}-E'
12905 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12906 fi
12907 output_verbose_link_cmd=func_echo_all
12908 else
12909 ld_shlibs_CXX=no
12910 fi
12911 ;;
12912
12913 osf3* | osf4* | osf5*)
12914 case $cc_basename in
12915 KCC*)
12916 # Kuck and Associates, Inc. (KAI) C++ Compiler
12917
12918 # KCC will only create a shared library if the output file
12919 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12920 # to its proper name (with version) after linking.
12921 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'
12922
12923 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12924 hardcode_libdir_separator_CXX=:
12925
12926 # Archives containing C++ object files must be created using
12927 # the KAI C++ compiler.
12928 case $host in
12929 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12930 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12931 esac
12932 ;;
12933 RCC*)
12934 # Rational C++ 2.4.1
12935 # FIXME: insert proper C++ library support
12936 ld_shlibs_CXX=no
12937 ;;
12938 cxx*)
12939 case $host in
12940 osf3*)
12941 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12942 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'
12943 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12944 ;;
12945 *)
12946 allow_undefined_flag_CXX=' -expect_unresolved \*'
12947 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'
12948 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12949 echo "-hidden">> $lib.exp~
12950 $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~
12951 $RM $lib.exp'
12952 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12953 ;;
12954 esac
12955
12956 hardcode_libdir_separator_CXX=:
12957
12958 # Commands to make compiler produce verbose output that lists
12959 # what "hidden" libraries, object files and flags are used when
12960 # linking a shared library.
12961 #
12962 # There doesn't appear to be a way to prevent this compiler from
12963 # explicitly linking system object files so we need to strip them
12964 # from the output so that they don't get included in the library
12965 # dependencies.
12966 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"'
12967 ;;
12968 *)
12969 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12970 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12971 case $host in
12972 osf3*)
12973 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'
12974 ;;
12975 *)
12976 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'
12977 ;;
12978 esac
12979
12980 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12981 hardcode_libdir_separator_CXX=:
12982
12983 # Commands to make compiler produce verbose output that lists
12984 # what "hidden" libraries, object files and flags are used when
12985 # linking a shared library.
12986 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12987
12988 else
12989 # FIXME: insert proper C++ library support
12990 ld_shlibs_CXX=no
12991 fi
12992 ;;
12993 esac
12994 ;;
12995
12996 psos*)
12997 # FIXME: insert proper C++ library support
12998 ld_shlibs_CXX=no
12999 ;;
13000
13001 sunos4*)
13002 case $cc_basename in
13003 CC*)
13004 # Sun C++ 4.x
13005 # FIXME: insert proper C++ library support
13006 ld_shlibs_CXX=no
13007 ;;
13008 lcc*)
13009 # Lucid
13010 # FIXME: insert proper C++ library support
13011 ld_shlibs_CXX=no
13012 ;;
13013 *)
13014 # FIXME: insert proper C++ library support
13015 ld_shlibs_CXX=no
13016 ;;
13017 esac
13018 ;;
13019
13020 solaris*)
13021 case $cc_basename in
13022 CC*)
13023 # Sun C++ 4.2, 5.x and Centerline C++
13024 archive_cmds_need_lc_CXX=yes
13025 no_undefined_flag_CXX=' -zdefs'
13026 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13027 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13028 $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'
13029
13030 hardcode_libdir_flag_spec_CXX='-R$libdir'
13031 hardcode_shlibpath_var_CXX=no
13032 case $host_os in
13033 solaris2.[0-5] | solaris2.[0-5].*) ;;
13034 *)
13035 # The compiler driver will combine and reorder linker options,
13036 # but understands `-z linker_flag'.
13037 # Supported since Solaris 2.6 (maybe 2.5.1?)
13038 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13039 ;;
13040 esac
13041 link_all_deplibs_CXX=yes
13042
13043 output_verbose_link_cmd='func_echo_all'
13044
13045 # Archives containing C++ object files must be created using
13046 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13047 # necessary to make sure instantiated templates are included
13048 # in the archive.
13049 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13050 ;;
13051 gcx*)
13052 # Green Hills C++ Compiler
13053 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13054
13055 # The C++ compiler must be used to create the archive.
13056 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13057 ;;
13058 *)
13059 # GNU C++ compiler with Solaris linker
13060 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13061 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13062 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13063 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13064 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13065 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13066
13067 # Commands to make compiler produce verbose output that lists
13068 # what "hidden" libraries, object files and flags are used when
13069 # linking a shared library.
13070 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13071 else
13072 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13073 # platform.
13074 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13075 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13076 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13077
13078 # Commands to make compiler produce verbose output that lists
13079 # what "hidden" libraries, object files and flags are used when
13080 # linking a shared library.
13081 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13082 fi
13083
13084 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13085 case $host_os in
13086 solaris2.[0-5] | solaris2.[0-5].*) ;;
13087 *)
13088 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13089 ;;
13090 esac
13091 fi
13092 ;;
13093 esac
13094 ;;
13095
13096 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13097 no_undefined_flag_CXX='${wl}-z,text'
13098 archive_cmds_need_lc_CXX=no
13099 hardcode_shlibpath_var_CXX=no
13100 runpath_var='LD_RUN_PATH'
13101
13102 case $cc_basename in
13103 CC*)
13104 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13105 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13106 ;;
13107 *)
13108 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13109 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13110 ;;
13111 esac
13112 ;;
13113
13114 sysv5* | sco3.2v5* | sco5v6*)
13115 # Note: We can NOT use -z defs as we might desire, because we do not
13116 # link with -lc, and that would cause any symbols used from libc to
13117 # always be unresolved, which means just about no library would
13118 # ever link correctly. If we're not using GNU ld we use -z text
13119 # though, which does catch some bad symbols but isn't as heavy-handed
13120 # as -z defs.
13121 no_undefined_flag_CXX='${wl}-z,text'
13122 allow_undefined_flag_CXX='${wl}-z,nodefs'
13123 archive_cmds_need_lc_CXX=no
13124 hardcode_shlibpath_var_CXX=no
13125 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13126 hardcode_libdir_separator_CXX=':'
13127 link_all_deplibs_CXX=yes
13128 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13129 runpath_var='LD_RUN_PATH'
13130
13131 case $cc_basename in
13132 CC*)
13133 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13134 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13136 '"$old_archive_cmds_CXX"
13137 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13138 '"$reload_cmds_CXX"
13139 ;;
13140 *)
13141 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13142 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 ;;
13144 esac
13145 ;;
13146
13147 tandem*)
13148 case $cc_basename in
13149 NCC*)
13150 # NonStop-UX NCC 3.20
13151 # FIXME: insert proper C++ library support
13152 ld_shlibs_CXX=no
13153 ;;
13154 *)
13155 # FIXME: insert proper C++ library support
13156 ld_shlibs_CXX=no
13157 ;;
13158 esac
13159 ;;
13160
13161 vxworks*)
13162 # FIXME: insert proper C++ library support
13163 ld_shlibs_CXX=no
13164 ;;
13165
13166 *)
13167 # FIXME: insert proper C++ library support
13168 ld_shlibs_CXX=no
13169 ;;
13170 esac
13171
13172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13173 $as_echo "$ld_shlibs_CXX" >&6; }
13174 test "$ld_shlibs_CXX" = no && can_build_shared=no
13175
13176 GCC_CXX="$GXX"
13177 LD_CXX="$LD"
13178
13179 ## CAVEAT EMPTOR:
13180 ## There is no encapsulation within the following macros, do not change
13181 ## the running order or otherwise move them around unless you know exactly
13182 ## what you are doing...
13183 # Dependencies to place before and after the object being linked:
13184 predep_objects_CXX=
13185 postdep_objects_CXX=
13186 predeps_CXX=
13187 postdeps_CXX=
13188 compiler_lib_search_path_CXX=
13189
13190 cat > conftest.$ac_ext <<_LT_EOF
13191 class Foo
13192 {
13193 public:
13194 Foo (void) { a = 0; }
13195 private:
13196 int a;
13197 };
13198 _LT_EOF
13199
13200 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13201 (eval $ac_compile) 2>&5
13202 ac_status=$?
13203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13204 test $ac_status = 0; }; then
13205 # Parse the compiler output and extract the necessary
13206 # objects, libraries and library flags.
13207
13208 # Sentinel used to keep track of whether or not we are before
13209 # the conftest object file.
13210 pre_test_object_deps_done=no
13211
13212 for p in `eval "$output_verbose_link_cmd"`; do
13213 case $p in
13214
13215 -L* | -R* | -l*)
13216 # Some compilers place space between "-{L,R}" and the path.
13217 # Remove the space.
13218 if test $p = "-L" ||
13219 test $p = "-R"; then
13220 prev=$p
13221 continue
13222 else
13223 prev=
13224 fi
13225
13226 if test "$pre_test_object_deps_done" = no; then
13227 case $p in
13228 -L* | -R*)
13229 # Internal compiler library paths should come after those
13230 # provided the user. The postdeps already come after the
13231 # user supplied libs so there is no need to process them.
13232 if test -z "$compiler_lib_search_path_CXX"; then
13233 compiler_lib_search_path_CXX="${prev}${p}"
13234 else
13235 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13236 fi
13237 ;;
13238 # The "-l" case would never come before the object being
13239 # linked, so don't bother handling this case.
13240 esac
13241 else
13242 if test -z "$postdeps_CXX"; then
13243 postdeps_CXX="${prev}${p}"
13244 else
13245 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13246 fi
13247 fi
13248 ;;
13249
13250 *.$objext)
13251 # This assumes that the test object file only shows up
13252 # once in the compiler output.
13253 if test "$p" = "conftest.$objext"; then
13254 pre_test_object_deps_done=yes
13255 continue
13256 fi
13257
13258 if test "$pre_test_object_deps_done" = no; then
13259 if test -z "$predep_objects_CXX"; then
13260 predep_objects_CXX="$p"
13261 else
13262 predep_objects_CXX="$predep_objects_CXX $p"
13263 fi
13264 else
13265 if test -z "$postdep_objects_CXX"; then
13266 postdep_objects_CXX="$p"
13267 else
13268 postdep_objects_CXX="$postdep_objects_CXX $p"
13269 fi
13270 fi
13271 ;;
13272
13273 *) ;; # Ignore the rest.
13274
13275 esac
13276 done
13277
13278 # Clean up.
13279 rm -f a.out a.exe
13280 else
13281 echo "libtool.m4: error: problem compiling CXX test program"
13282 fi
13283
13284 $RM -f confest.$objext
13285
13286 # PORTME: override above test on systems where it is broken
13287 case $host_os in
13288 interix[3-9]*)
13289 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13290 # hack all around it, let's just trust "g++" to DTRT.
13291 predep_objects_CXX=
13292 postdep_objects_CXX=
13293 postdeps_CXX=
13294 ;;
13295
13296 linux*)
13297 case `$CC -V 2>&1 | sed 5q` in
13298 *Sun\ C*)
13299 # Sun C++ 5.9
13300
13301 # The more standards-conforming stlport4 library is
13302 # incompatible with the Cstd library. Avoid specifying
13303 # it if it's in CXXFLAGS. Ignore libCrun as
13304 # -library=stlport4 depends on it.
13305 case " $CXX $CXXFLAGS " in
13306 *" -library=stlport4 "*)
13307 solaris_use_stlport4=yes
13308 ;;
13309 esac
13310
13311 if test "$solaris_use_stlport4" != yes; then
13312 postdeps_CXX='-library=Cstd -library=Crun'
13313 fi
13314 ;;
13315 esac
13316 ;;
13317
13318 solaris*)
13319 case $cc_basename in
13320 CC*)
13321 # The more standards-conforming stlport4 library is
13322 # incompatible with the Cstd library. Avoid specifying
13323 # it if it's in CXXFLAGS. Ignore libCrun as
13324 # -library=stlport4 depends on it.
13325 case " $CXX $CXXFLAGS " in
13326 *" -library=stlport4 "*)
13327 solaris_use_stlport4=yes
13328 ;;
13329 esac
13330
13331 # Adding this requires a known-good setup of shared libraries for
13332 # Sun compiler versions before 5.6, else PIC objects from an old
13333 # archive will be linked into the output, leading to subtle bugs.
13334 if test "$solaris_use_stlport4" != yes; then
13335 postdeps_CXX='-library=Cstd -library=Crun'
13336 fi
13337 ;;
13338 esac
13339 ;;
13340 esac
13341
13342
13343 case " $postdeps_CXX " in
13344 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13345 esac
13346 compiler_lib_search_dirs_CXX=
13347 if test -n "${compiler_lib_search_path_CXX}"; then
13348 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13349 fi
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381 lt_prog_compiler_wl_CXX=
13382 lt_prog_compiler_pic_CXX=
13383 lt_prog_compiler_static_CXX=
13384
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13386 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13387
13388 # C++ specific cases for pic, static, wl, etc.
13389 if test "$GXX" = yes; then
13390 lt_prog_compiler_wl_CXX='-Wl,'
13391 lt_prog_compiler_static_CXX='-static'
13392
13393 case $host_os in
13394 aix*)
13395 # All AIX code is PIC.
13396 if test "$host_cpu" = ia64; then
13397 # AIX 5 now supports IA64 processor
13398 lt_prog_compiler_static_CXX='-Bstatic'
13399 fi
13400 ;;
13401
13402 amigaos*)
13403 case $host_cpu in
13404 powerpc)
13405 # see comment about AmigaOS4 .so support
13406 lt_prog_compiler_pic_CXX='-fPIC'
13407 ;;
13408 m68k)
13409 # FIXME: we need at least 68020 code to build shared libraries, but
13410 # adding the `-m68020' flag to GCC prevents building anything better,
13411 # like `-m68040'.
13412 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13413 ;;
13414 esac
13415 ;;
13416
13417 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13418 # PIC is the default for these OSes.
13419 ;;
13420 mingw* | cygwin* | os2* | pw32* | cegcc*)
13421 # This hack is so that the source file can tell whether it is being
13422 # built for inclusion in a dll (and should export symbols for example).
13423 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13424 # (--disable-auto-import) libraries
13425 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13426 ;;
13427 darwin* | rhapsody*)
13428 # PIC is the default on this platform
13429 # Common symbols not allowed in MH_DYLIB files
13430 lt_prog_compiler_pic_CXX='-fno-common'
13431 ;;
13432 *djgpp*)
13433 # DJGPP does not support shared libraries at all
13434 lt_prog_compiler_pic_CXX=
13435 ;;
13436 haiku*)
13437 # PIC is the default for Haiku.
13438 # The "-static" flag exists, but is broken.
13439 lt_prog_compiler_static_CXX=
13440 ;;
13441 interix[3-9]*)
13442 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13443 # Instead, we relocate shared libraries at runtime.
13444 ;;
13445 sysv4*MP*)
13446 if test -d /usr/nec; then
13447 lt_prog_compiler_pic_CXX=-Kconform_pic
13448 fi
13449 ;;
13450 hpux*)
13451 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13452 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13453 # sets the default TLS model and affects inlining.
13454 case $host_cpu in
13455 hppa*64*)
13456 ;;
13457 *)
13458 lt_prog_compiler_pic_CXX='-fPIC'
13459 ;;
13460 esac
13461 ;;
13462 *qnx* | *nto*)
13463 # QNX uses GNU C++, but need to define -shared option too, otherwise
13464 # it will coredump.
13465 lt_prog_compiler_pic_CXX='-fPIC -shared'
13466 ;;
13467 *)
13468 lt_prog_compiler_pic_CXX='-fPIC'
13469 ;;
13470 esac
13471 else
13472 case $host_os in
13473 aix[4-9]*)
13474 # All AIX code is PIC.
13475 if test "$host_cpu" = ia64; then
13476 # AIX 5 now supports IA64 processor
13477 lt_prog_compiler_static_CXX='-Bstatic'
13478 else
13479 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13480 fi
13481 ;;
13482 chorus*)
13483 case $cc_basename in
13484 cxch68*)
13485 # Green Hills C++ Compiler
13486 # _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"
13487 ;;
13488 esac
13489 ;;
13490 dgux*)
13491 case $cc_basename in
13492 ec++*)
13493 lt_prog_compiler_pic_CXX='-KPIC'
13494 ;;
13495 ghcx*)
13496 # Green Hills C++ Compiler
13497 lt_prog_compiler_pic_CXX='-pic'
13498 ;;
13499 *)
13500 ;;
13501 esac
13502 ;;
13503 freebsd* | dragonfly*)
13504 # FreeBSD uses GNU C++
13505 ;;
13506 hpux9* | hpux10* | hpux11*)
13507 case $cc_basename in
13508 CC*)
13509 lt_prog_compiler_wl_CXX='-Wl,'
13510 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13511 if test "$host_cpu" != ia64; then
13512 lt_prog_compiler_pic_CXX='+Z'
13513 fi
13514 ;;
13515 aCC*)
13516 lt_prog_compiler_wl_CXX='-Wl,'
13517 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13518 case $host_cpu in
13519 hppa*64*|ia64*)
13520 # +Z the default
13521 ;;
13522 *)
13523 lt_prog_compiler_pic_CXX='+Z'
13524 ;;
13525 esac
13526 ;;
13527 *)
13528 ;;
13529 esac
13530 ;;
13531 interix*)
13532 # This is c89, which is MS Visual C++ (no shared libs)
13533 # Anyone wants to do a port?
13534 ;;
13535 irix5* | irix6* | nonstopux*)
13536 case $cc_basename in
13537 CC*)
13538 lt_prog_compiler_wl_CXX='-Wl,'
13539 lt_prog_compiler_static_CXX='-non_shared'
13540 # CC pic flag -KPIC is the default.
13541 ;;
13542 *)
13543 ;;
13544 esac
13545 ;;
13546 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13547 case $cc_basename in
13548 KCC*)
13549 # KAI C++ Compiler
13550 lt_prog_compiler_wl_CXX='--backend -Wl,'
13551 lt_prog_compiler_pic_CXX='-fPIC'
13552 ;;
13553 ecpc* )
13554 # old Intel C++ for x86_64 which still supported -KPIC.
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_pic_CXX='-KPIC'
13557 lt_prog_compiler_static_CXX='-static'
13558 ;;
13559 icpc* )
13560 # Intel C++, used to be incompatible with GCC.
13561 # ICC 10 doesn't accept -KPIC any more.
13562 lt_prog_compiler_wl_CXX='-Wl,'
13563 lt_prog_compiler_pic_CXX='-fPIC'
13564 lt_prog_compiler_static_CXX='-static'
13565 ;;
13566 pgCC* | pgcpp*)
13567 # Portland Group C++ compiler
13568 lt_prog_compiler_wl_CXX='-Wl,'
13569 lt_prog_compiler_pic_CXX='-fpic'
13570 lt_prog_compiler_static_CXX='-Bstatic'
13571 ;;
13572 cxx*)
13573 # Compaq C++
13574 # Make sure the PIC flag is empty. It appears that all Alpha
13575 # Linux and Compaq Tru64 Unix objects are PIC.
13576 lt_prog_compiler_pic_CXX=
13577 lt_prog_compiler_static_CXX='-non_shared'
13578 ;;
13579 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13580 # IBM XL 8.0, 9.0 on PPC and BlueGene
13581 lt_prog_compiler_wl_CXX='-Wl,'
13582 lt_prog_compiler_pic_CXX='-qpic'
13583 lt_prog_compiler_static_CXX='-qstaticlink'
13584 ;;
13585 *)
13586 case `$CC -V 2>&1 | sed 5q` in
13587 *Sun\ C*)
13588 # Sun C++ 5.9
13589 lt_prog_compiler_pic_CXX='-KPIC'
13590 lt_prog_compiler_static_CXX='-Bstatic'
13591 lt_prog_compiler_wl_CXX='-Qoption ld '
13592 ;;
13593 esac
13594 ;;
13595 esac
13596 ;;
13597 lynxos*)
13598 ;;
13599 m88k*)
13600 ;;
13601 mvs*)
13602 case $cc_basename in
13603 cxx*)
13604 lt_prog_compiler_pic_CXX='-W c,exportall'
13605 ;;
13606 *)
13607 ;;
13608 esac
13609 ;;
13610 netbsd*)
13611 ;;
13612 *qnx* | *nto*)
13613 # QNX uses GNU C++, but need to define -shared option too, otherwise
13614 # it will coredump.
13615 lt_prog_compiler_pic_CXX='-fPIC -shared'
13616 ;;
13617 osf3* | osf4* | osf5*)
13618 case $cc_basename in
13619 KCC*)
13620 lt_prog_compiler_wl_CXX='--backend -Wl,'
13621 ;;
13622 RCC*)
13623 # Rational C++ 2.4.1
13624 lt_prog_compiler_pic_CXX='-pic'
13625 ;;
13626 cxx*)
13627 # Digital/Compaq C++
13628 lt_prog_compiler_wl_CXX='-Wl,'
13629 # Make sure the PIC flag is empty. It appears that all Alpha
13630 # Linux and Compaq Tru64 Unix objects are PIC.
13631 lt_prog_compiler_pic_CXX=
13632 lt_prog_compiler_static_CXX='-non_shared'
13633 ;;
13634 *)
13635 ;;
13636 esac
13637 ;;
13638 psos*)
13639 ;;
13640 solaris*)
13641 case $cc_basename in
13642 CC*)
13643 # Sun C++ 4.2, 5.x and Centerline C++
13644 lt_prog_compiler_pic_CXX='-KPIC'
13645 lt_prog_compiler_static_CXX='-Bstatic'
13646 lt_prog_compiler_wl_CXX='-Qoption ld '
13647 ;;
13648 gcx*)
13649 # Green Hills C++ Compiler
13650 lt_prog_compiler_pic_CXX='-PIC'
13651 ;;
13652 *)
13653 ;;
13654 esac
13655 ;;
13656 sunos4*)
13657 case $cc_basename in
13658 CC*)
13659 # Sun C++ 4.x
13660 lt_prog_compiler_pic_CXX='-pic'
13661 lt_prog_compiler_static_CXX='-Bstatic'
13662 ;;
13663 lcc*)
13664 # Lucid
13665 lt_prog_compiler_pic_CXX='-pic'
13666 ;;
13667 *)
13668 ;;
13669 esac
13670 ;;
13671 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13672 case $cc_basename in
13673 CC*)
13674 lt_prog_compiler_wl_CXX='-Wl,'
13675 lt_prog_compiler_pic_CXX='-KPIC'
13676 lt_prog_compiler_static_CXX='-Bstatic'
13677 ;;
13678 esac
13679 ;;
13680 tandem*)
13681 case $cc_basename in
13682 NCC*)
13683 # NonStop-UX NCC 3.20
13684 lt_prog_compiler_pic_CXX='-KPIC'
13685 ;;
13686 *)
13687 ;;
13688 esac
13689 ;;
13690 vxworks*)
13691 ;;
13692 *)
13693 lt_prog_compiler_can_build_shared_CXX=no
13694 ;;
13695 esac
13696 fi
13697
13698 case $host_os in
13699 # For platforms which do not support PIC, -DPIC is meaningless:
13700 *djgpp*)
13701 lt_prog_compiler_pic_CXX=
13702 ;;
13703 *)
13704 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13705 ;;
13706 esac
13707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13708 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13709
13710
13711
13712 #
13713 # Check to make sure the PIC flag actually works.
13714 #
13715 if test -n "$lt_prog_compiler_pic_CXX"; then
13716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13717 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13718 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13719 $as_echo_n "(cached) " >&6
13720 else
13721 lt_cv_prog_compiler_pic_works_CXX=no
13722 ac_outfile=conftest.$ac_objext
13723 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13724 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13725 # Insert the option either (1) after the last *FLAGS variable, or
13726 # (2) before a word containing "conftest.", or (3) at the end.
13727 # Note that $ac_compile itself does not contain backslashes and begins
13728 # with a dollar sign (not a hyphen), so the echo should work correctly.
13729 # The option is referenced via a variable to avoid confusing sed.
13730 lt_compile=`echo "$ac_compile" | $SED \
13731 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13732 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13733 -e 's:$: $lt_compiler_flag:'`
13734 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13735 (eval "$lt_compile" 2>conftest.err)
13736 ac_status=$?
13737 cat conftest.err >&5
13738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13739 if (exit $ac_status) && test -s "$ac_outfile"; then
13740 # The compiler can only warn and ignore the option if not recognized
13741 # So say no if there are warnings other than the usual output.
13742 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13743 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13744 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13745 lt_cv_prog_compiler_pic_works_CXX=yes
13746 fi
13747 fi
13748 $RM conftest*
13749
13750 fi
13751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13752 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13753
13754 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13755 case $lt_prog_compiler_pic_CXX in
13756 "" | " "*) ;;
13757 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13758 esac
13759 else
13760 lt_prog_compiler_pic_CXX=
13761 lt_prog_compiler_can_build_shared_CXX=no
13762 fi
13763
13764 fi
13765
13766
13767
13768 #
13769 # Check to make sure the static flag actually works.
13770 #
13771 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13773 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13774 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13775 $as_echo_n "(cached) " >&6
13776 else
13777 lt_cv_prog_compiler_static_works_CXX=no
13778 save_LDFLAGS="$LDFLAGS"
13779 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13780 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13781 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13782 # The linker can only warn and ignore the option if not recognized
13783 # So say no if there are warnings
13784 if test -s conftest.err; then
13785 # Append any errors to the config.log.
13786 cat conftest.err 1>&5
13787 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13788 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13789 if diff conftest.exp conftest.er2 >/dev/null; then
13790 lt_cv_prog_compiler_static_works_CXX=yes
13791 fi
13792 else
13793 lt_cv_prog_compiler_static_works_CXX=yes
13794 fi
13795 fi
13796 $RM -r conftest*
13797 LDFLAGS="$save_LDFLAGS"
13798
13799 fi
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13801 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13802
13803 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13804 :
13805 else
13806 lt_prog_compiler_static_CXX=
13807 fi
13808
13809
13810
13811
13812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13813 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13814 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13815 $as_echo_n "(cached) " >&6
13816 else
13817 lt_cv_prog_compiler_c_o_CXX=no
13818 $RM -r conftest 2>/dev/null
13819 mkdir conftest
13820 cd conftest
13821 mkdir out
13822 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13823
13824 lt_compiler_flag="-o out/conftest2.$ac_objext"
13825 # Insert the option either (1) after the last *FLAGS variable, or
13826 # (2) before a word containing "conftest.", or (3) at the end.
13827 # Note that $ac_compile itself does not contain backslashes and begins
13828 # with a dollar sign (not a hyphen), so the echo should work correctly.
13829 lt_compile=`echo "$ac_compile" | $SED \
13830 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13831 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13832 -e 's:$: $lt_compiler_flag:'`
13833 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13834 (eval "$lt_compile" 2>out/conftest.err)
13835 ac_status=$?
13836 cat out/conftest.err >&5
13837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13838 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13839 then
13840 # The compiler can only warn and ignore the option if not recognized
13841 # So say no if there are warnings
13842 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13843 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13844 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13845 lt_cv_prog_compiler_c_o_CXX=yes
13846 fi
13847 fi
13848 chmod u+w . 2>&5
13849 $RM conftest*
13850 # SGI C++ compiler will create directory out/ii_files/ for
13851 # template instantiation
13852 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13853 $RM out/* && rmdir out
13854 cd ..
13855 $RM -r conftest
13856 $RM conftest*
13857
13858 fi
13859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13860 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13861
13862
13863
13864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13865 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13866 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13867 $as_echo_n "(cached) " >&6
13868 else
13869 lt_cv_prog_compiler_c_o_CXX=no
13870 $RM -r conftest 2>/dev/null
13871 mkdir conftest
13872 cd conftest
13873 mkdir out
13874 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13875
13876 lt_compiler_flag="-o out/conftest2.$ac_objext"
13877 # Insert the option either (1) after the last *FLAGS variable, or
13878 # (2) before a word containing "conftest.", or (3) at the end.
13879 # Note that $ac_compile itself does not contain backslashes and begins
13880 # with a dollar sign (not a hyphen), so the echo should work correctly.
13881 lt_compile=`echo "$ac_compile" | $SED \
13882 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13883 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13884 -e 's:$: $lt_compiler_flag:'`
13885 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13886 (eval "$lt_compile" 2>out/conftest.err)
13887 ac_status=$?
13888 cat out/conftest.err >&5
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13891 then
13892 # The compiler can only warn and ignore the option if not recognized
13893 # So say no if there are warnings
13894 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13895 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13896 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_c_o_CXX=yes
13898 fi
13899 fi
13900 chmod u+w . 2>&5
13901 $RM conftest*
13902 # SGI C++ compiler will create directory out/ii_files/ for
13903 # template instantiation
13904 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13905 $RM out/* && rmdir out
13906 cd ..
13907 $RM -r conftest
13908 $RM conftest*
13909
13910 fi
13911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13912 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13913
13914
13915
13916
13917 hard_links="nottested"
13918 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13919 # do not overwrite the value of need_locks provided by the user
13920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13921 $as_echo_n "checking if we can lock with hard links... " >&6; }
13922 hard_links=yes
13923 $RM conftest*
13924 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13925 touch conftest.a
13926 ln conftest.a conftest.b 2>&5 || hard_links=no
13927 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13929 $as_echo "$hard_links" >&6; }
13930 if test "$hard_links" = no; then
13931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13932 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13933 need_locks=warn
13934 fi
13935 else
13936 need_locks=no
13937 fi
13938
13939
13940
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13942 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13943
13944 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13945 case $host_os in
13946 aix[4-9]*)
13947 # If we're using GNU nm, then we don't want the "-C" option.
13948 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13949 # Also, AIX nm treats weak defined symbols like other global defined
13950 # symbols, whereas GNU nm marks them as "W".
13951 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13952 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'
13953 else
13954 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'
13955 fi
13956 ;;
13957 pw32*)
13958 export_symbols_cmds_CXX="$ltdll_cmds"
13959 ;;
13960 cygwin* | mingw* | cegcc*)
13961 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'
13962 ;;
13963 *)
13964 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13965 ;;
13966 esac
13967 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13968
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13970 $as_echo "$ld_shlibs_CXX" >&6; }
13971 test "$ld_shlibs_CXX" = no && can_build_shared=no
13972
13973 with_gnu_ld_CXX=$with_gnu_ld
13974
13975
13976
13977
13978
13979
13980 #
13981 # Do we need to explicitly link libc?
13982 #
13983 case "x$archive_cmds_need_lc_CXX" in
13984 x|xyes)
13985 # Assume -lc should be added
13986 archive_cmds_need_lc_CXX=yes
13987
13988 if test "$enable_shared" = yes && test "$GCC" = yes; then
13989 case $archive_cmds_CXX in
13990 *'~'*)
13991 # FIXME: we may have to deal with multi-command sequences.
13992 ;;
13993 '$CC '*)
13994 # Test whether the compiler implicitly links with -lc since on some
13995 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13996 # to ld, don't add -lc before -lgcc.
13997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13998 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13999 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14000 $as_echo_n "(cached) " >&6
14001 else
14002 $RM conftest*
14003 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14004
14005 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14006 (eval $ac_compile) 2>&5
14007 ac_status=$?
14008 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14009 test $ac_status = 0; } 2>conftest.err; then
14010 soname=conftest
14011 lib=conftest
14012 libobjs=conftest.$ac_objext
14013 deplibs=
14014 wl=$lt_prog_compiler_wl_CXX
14015 pic_flag=$lt_prog_compiler_pic_CXX
14016 compiler_flags=-v
14017 linker_flags=-v
14018 verstring=
14019 output_objdir=.
14020 libname=conftest
14021 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14022 allow_undefined_flag_CXX=
14023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14024 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14025 ac_status=$?
14026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14027 test $ac_status = 0; }
14028 then
14029 lt_cv_archive_cmds_need_lc_CXX=no
14030 else
14031 lt_cv_archive_cmds_need_lc_CXX=yes
14032 fi
14033 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14034 else
14035 cat conftest.err 1>&5
14036 fi
14037 $RM conftest*
14038
14039 fi
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14041 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14042 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14043 ;;
14044 esac
14045 fi
14046 ;;
14047 esac
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14113 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14114
14115 library_names_spec=
14116 libname_spec='lib$name'
14117 soname_spec=
14118 shrext_cmds=".so"
14119 postinstall_cmds=
14120 postuninstall_cmds=
14121 finish_cmds=
14122 finish_eval=
14123 shlibpath_var=
14124 shlibpath_overrides_runpath=unknown
14125 version_type=none
14126 dynamic_linker="$host_os ld.so"
14127 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14128 need_lib_prefix=unknown
14129 hardcode_into_libs=no
14130
14131 # when you set need_version to no, make sure it does not cause -set_version
14132 # flags to be left without arguments
14133 need_version=unknown
14134
14135 case $host_os in
14136 aix3*)
14137 version_type=linux
14138 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14139 shlibpath_var=LIBPATH
14140
14141 # AIX 3 has no versioning support, so we append a major version to the name.
14142 soname_spec='${libname}${release}${shared_ext}$major'
14143 ;;
14144
14145 aix[4-9]*)
14146 version_type=linux
14147 need_lib_prefix=no
14148 need_version=no
14149 hardcode_into_libs=yes
14150 if test "$host_cpu" = ia64; then
14151 # AIX 5 supports IA64
14152 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14153 shlibpath_var=LD_LIBRARY_PATH
14154 else
14155 # With GCC up to 2.95.x, collect2 would create an import file
14156 # for dependence libraries. The import file would start with
14157 # the line `#! .'. This would cause the generated library to
14158 # depend on `.', always an invalid library. This was fixed in
14159 # development snapshots of GCC prior to 3.0.
14160 case $host_os in
14161 aix4 | aix4.[01] | aix4.[01].*)
14162 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14163 echo ' yes '
14164 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14165 :
14166 else
14167 can_build_shared=no
14168 fi
14169 ;;
14170 esac
14171 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14172 # soname into executable. Probably we can add versioning support to
14173 # collect2, so additional links can be useful in future.
14174 if test "$aix_use_runtimelinking" = yes; then
14175 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14176 # instead of lib<name>.a to let people know that these are not
14177 # typical AIX shared libraries.
14178 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14179 else
14180 # We preserve .a as extension for shared libraries through AIX4.2
14181 # and later when we are not doing run time linking.
14182 library_names_spec='${libname}${release}.a $libname.a'
14183 soname_spec='${libname}${release}${shared_ext}$major'
14184 fi
14185 shlibpath_var=LIBPATH
14186 fi
14187 ;;
14188
14189 amigaos*)
14190 case $host_cpu in
14191 powerpc)
14192 # Since July 2007 AmigaOS4 officially supports .so libraries.
14193 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14194 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14195 ;;
14196 m68k)
14197 library_names_spec='$libname.ixlibrary $libname.a'
14198 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14199 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'
14200 ;;
14201 esac
14202 ;;
14203
14204 beos*)
14205 library_names_spec='${libname}${shared_ext}'
14206 dynamic_linker="$host_os ld.so"
14207 shlibpath_var=LIBRARY_PATH
14208 ;;
14209
14210 bsdi[45]*)
14211 version_type=linux
14212 need_version=no
14213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14214 soname_spec='${libname}${release}${shared_ext}$major'
14215 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14216 shlibpath_var=LD_LIBRARY_PATH
14217 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14218 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14219 # the default ld.so.conf also contains /usr/contrib/lib and
14220 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14221 # libtool to hard-code these into programs
14222 ;;
14223
14224 cygwin* | mingw* | pw32* | cegcc*)
14225 version_type=windows
14226 shrext_cmds=".dll"
14227 need_version=no
14228 need_lib_prefix=no
14229
14230 case $GCC,$host_os in
14231 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14232 library_names_spec='$libname.dll.a'
14233 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14234 postinstall_cmds='base_file=`basename \${file}`~
14235 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14236 dldir=$destdir/`dirname \$dlpath`~
14237 test -d \$dldir || mkdir -p \$dldir~
14238 $install_prog $dir/$dlname \$dldir/$dlname~
14239 chmod a+x \$dldir/$dlname~
14240 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14241 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14242 fi'
14243 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14244 dlpath=$dir/\$dldll~
14245 $RM \$dlpath'
14246 shlibpath_overrides_runpath=yes
14247
14248 case $host_os in
14249 cygwin*)
14250 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14251 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14252
14253 ;;
14254 mingw* | cegcc*)
14255 # MinGW DLLs use traditional 'lib' prefix
14256 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14257 ;;
14258 pw32*)
14259 # pw32 DLLs use 'pw' prefix rather than 'lib'
14260 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14261 ;;
14262 esac
14263 ;;
14264
14265 *)
14266 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14267 ;;
14268 esac
14269 dynamic_linker='Win32 ld.exe'
14270 # FIXME: first we should search . and the directory the executable is in
14271 shlibpath_var=PATH
14272 ;;
14273
14274 darwin* | rhapsody*)
14275 dynamic_linker="$host_os dyld"
14276 version_type=darwin
14277 need_lib_prefix=no
14278 need_version=no
14279 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14280 soname_spec='${libname}${release}${major}$shared_ext'
14281 shlibpath_overrides_runpath=yes
14282 shlibpath_var=DYLD_LIBRARY_PATH
14283 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14284
14285 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14286 ;;
14287
14288 dgux*)
14289 version_type=linux
14290 need_lib_prefix=no
14291 need_version=no
14292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14293 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LD_LIBRARY_PATH
14295 ;;
14296
14297 freebsd* | dragonfly*)
14298 # DragonFly does not have aout. When/if they implement a new
14299 # versioning mechanism, adjust this.
14300 if test -x /usr/bin/objformat; then
14301 objformat=`/usr/bin/objformat`
14302 else
14303 case $host_os in
14304 freebsd[23].*) objformat=aout ;;
14305 *) objformat=elf ;;
14306 esac
14307 fi
14308 version_type=freebsd-$objformat
14309 case $version_type in
14310 freebsd-elf*)
14311 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14312 need_version=no
14313 need_lib_prefix=no
14314 ;;
14315 freebsd-*)
14316 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14317 need_version=yes
14318 ;;
14319 esac
14320 shlibpath_var=LD_LIBRARY_PATH
14321 case $host_os in
14322 freebsd2.*)
14323 shlibpath_overrides_runpath=yes
14324 ;;
14325 freebsd3.[01]* | freebsdelf3.[01]*)
14326 shlibpath_overrides_runpath=yes
14327 hardcode_into_libs=yes
14328 ;;
14329 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14330 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14331 shlibpath_overrides_runpath=no
14332 hardcode_into_libs=yes
14333 ;;
14334 *) # from 4.6 on, and DragonFly
14335 shlibpath_overrides_runpath=yes
14336 hardcode_into_libs=yes
14337 ;;
14338 esac
14339 ;;
14340
14341 gnu*)
14342 version_type=linux
14343 need_lib_prefix=no
14344 need_version=no
14345 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14346 soname_spec='${libname}${release}${shared_ext}$major'
14347 shlibpath_var=LD_LIBRARY_PATH
14348 hardcode_into_libs=yes
14349 ;;
14350
14351 haiku*)
14352 version_type=linux
14353 need_lib_prefix=no
14354 need_version=no
14355 dynamic_linker="$host_os runtime_loader"
14356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14357 soname_spec='${libname}${release}${shared_ext}$major'
14358 shlibpath_var=LIBRARY_PATH
14359 shlibpath_overrides_runpath=yes
14360 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14361 hardcode_into_libs=yes
14362 ;;
14363
14364 hpux9* | hpux10* | hpux11*)
14365 # Give a soname corresponding to the major version so that dld.sl refuses to
14366 # link against other versions.
14367 version_type=sunos
14368 need_lib_prefix=no
14369 need_version=no
14370 case $host_cpu in
14371 ia64*)
14372 shrext_cmds='.so'
14373 hardcode_into_libs=yes
14374 dynamic_linker="$host_os dld.so"
14375 shlibpath_var=LD_LIBRARY_PATH
14376 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 if test "X$HPUX_IA64_MODE" = X32; then
14380 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14381 else
14382 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14383 fi
14384 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14385 ;;
14386 hppa*64*)
14387 shrext_cmds='.sl'
14388 hardcode_into_libs=yes
14389 dynamic_linker="$host_os dld.sl"
14390 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14391 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14392 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14393 soname_spec='${libname}${release}${shared_ext}$major'
14394 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14395 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14396 ;;
14397 *)
14398 shrext_cmds='.sl'
14399 dynamic_linker="$host_os dld.sl"
14400 shlibpath_var=SHLIB_PATH
14401 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14402 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14403 soname_spec='${libname}${release}${shared_ext}$major'
14404 ;;
14405 esac
14406 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14407 postinstall_cmds='chmod 555 $lib'
14408 # or fails outright, so override atomically:
14409 install_override_mode=555
14410 ;;
14411
14412 interix[3-9]*)
14413 version_type=linux
14414 need_lib_prefix=no
14415 need_version=no
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14419 shlibpath_var=LD_LIBRARY_PATH
14420 shlibpath_overrides_runpath=no
14421 hardcode_into_libs=yes
14422 ;;
14423
14424 irix5* | irix6* | nonstopux*)
14425 case $host_os in
14426 nonstopux*) version_type=nonstopux ;;
14427 *)
14428 if test "$lt_cv_prog_gnu_ld" = yes; then
14429 version_type=linux
14430 else
14431 version_type=irix
14432 fi ;;
14433 esac
14434 need_lib_prefix=no
14435 need_version=no
14436 soname_spec='${libname}${release}${shared_ext}$major'
14437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14438 case $host_os in
14439 irix5* | nonstopux*)
14440 libsuff= shlibsuff=
14441 ;;
14442 *)
14443 case $LD in # libtool.m4 will add one of these switches to LD
14444 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14445 libsuff= shlibsuff= libmagic=32-bit;;
14446 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14447 libsuff=32 shlibsuff=N32 libmagic=N32;;
14448 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14449 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14450 *) libsuff= shlibsuff= libmagic=never-match;;
14451 esac
14452 ;;
14453 esac
14454 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14455 shlibpath_overrides_runpath=no
14456 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14457 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14458 hardcode_into_libs=yes
14459 ;;
14460
14461 # No shared lib support for Linux oldld, aout, or coff.
14462 linux*oldld* | linux*aout* | linux*coff*)
14463 dynamic_linker=no
14464 ;;
14465
14466 # This must be Linux ELF.
14467 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14468 version_type=linux
14469 need_lib_prefix=no
14470 need_version=no
14471 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14472 soname_spec='${libname}${release}${shared_ext}$major'
14473 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14474 shlibpath_var=LD_LIBRARY_PATH
14475 shlibpath_overrides_runpath=no
14476
14477 # Some binutils ld are patched to set DT_RUNPATH
14478 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14479 $as_echo_n "(cached) " >&6
14480 else
14481 lt_cv_shlibpath_overrides_runpath=no
14482 save_LDFLAGS=$LDFLAGS
14483 save_libdir=$libdir
14484 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14485 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14486 if test x$gcc_no_link = xyes; then
14487 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14488 fi
14489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14490 /* end confdefs.h. */
14491
14492 int
14493 main ()
14494 {
14495
14496 ;
14497 return 0;
14498 }
14499 _ACEOF
14500 if ac_fn_cxx_try_link "$LINENO"; then :
14501 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14502 lt_cv_shlibpath_overrides_runpath=yes
14503 fi
14504 fi
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LDFLAGS=$save_LDFLAGS
14508 libdir=$save_libdir
14509
14510 fi
14511
14512 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14513
14514 # This implies no fast_install, which is unacceptable.
14515 # Some rework will be needed to allow for fast_install
14516 # before this can be enabled.
14517 hardcode_into_libs=yes
14518
14519 # Append ld.so.conf contents to the search path
14520 if test -f /etc/ld.so.conf; then
14521 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' ' '`
14522 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14523 fi
14524
14525 # We used to test for /lib/ld.so.1 and disable shared libraries on
14526 # powerpc, because MkLinux only supported shared libraries with the
14527 # GNU dynamic linker. Since this was broken with cross compilers,
14528 # most powerpc-linux boxes support dynamic linking these days and
14529 # people can always --disable-shared, the test was removed, and we
14530 # assume the GNU/Linux dynamic linker is in use.
14531 dynamic_linker='GNU/Linux ld.so'
14532 ;;
14533
14534 netbsd*)
14535 version_type=sunos
14536 need_lib_prefix=no
14537 need_version=no
14538 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14541 dynamic_linker='NetBSD (a.out) ld.so'
14542 else
14543 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14544 soname_spec='${libname}${release}${shared_ext}$major'
14545 dynamic_linker='NetBSD ld.elf_so'
14546 fi
14547 shlibpath_var=LD_LIBRARY_PATH
14548 shlibpath_overrides_runpath=yes
14549 hardcode_into_libs=yes
14550 ;;
14551
14552 newsos6)
14553 version_type=linux
14554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14555 shlibpath_var=LD_LIBRARY_PATH
14556 shlibpath_overrides_runpath=yes
14557 ;;
14558
14559 *nto* | *qnx*)
14560 version_type=qnx
14561 need_lib_prefix=no
14562 need_version=no
14563 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14564 soname_spec='${libname}${release}${shared_ext}$major'
14565 shlibpath_var=LD_LIBRARY_PATH
14566 shlibpath_overrides_runpath=no
14567 hardcode_into_libs=yes
14568 dynamic_linker='ldqnx.so'
14569 ;;
14570
14571 openbsd*)
14572 version_type=sunos
14573 sys_lib_dlsearch_path_spec="/usr/lib"
14574 need_lib_prefix=no
14575 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14576 case $host_os in
14577 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14578 *) need_version=no ;;
14579 esac
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14581 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14584 case $host_os in
14585 openbsd2.[89] | openbsd2.[89].*)
14586 shlibpath_overrides_runpath=no
14587 ;;
14588 *)
14589 shlibpath_overrides_runpath=yes
14590 ;;
14591 esac
14592 else
14593 shlibpath_overrides_runpath=yes
14594 fi
14595 ;;
14596
14597 os2*)
14598 libname_spec='$name'
14599 shrext_cmds=".dll"
14600 need_lib_prefix=no
14601 library_names_spec='$libname${shared_ext} $libname.a'
14602 dynamic_linker='OS/2 ld.exe'
14603 shlibpath_var=LIBPATH
14604 ;;
14605
14606 osf3* | osf4* | osf5*)
14607 version_type=osf
14608 need_lib_prefix=no
14609 need_version=no
14610 soname_spec='${libname}${release}${shared_ext}$major'
14611 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14612 shlibpath_var=LD_LIBRARY_PATH
14613 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14614 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14615 ;;
14616
14617 rdos*)
14618 dynamic_linker=no
14619 ;;
14620
14621 solaris*)
14622 version_type=linux
14623 need_lib_prefix=no
14624 need_version=no
14625 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14626 soname_spec='${libname}${release}${shared_ext}$major'
14627 shlibpath_var=LD_LIBRARY_PATH
14628 shlibpath_overrides_runpath=yes
14629 hardcode_into_libs=yes
14630 # ldd complains unless libraries are executable
14631 postinstall_cmds='chmod +x $lib'
14632 ;;
14633
14634 sunos4*)
14635 version_type=sunos
14636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14637 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14638 shlibpath_var=LD_LIBRARY_PATH
14639 shlibpath_overrides_runpath=yes
14640 if test "$with_gnu_ld" = yes; then
14641 need_lib_prefix=no
14642 fi
14643 need_version=yes
14644 ;;
14645
14646 sysv4 | sysv4.3*)
14647 version_type=linux
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 shlibpath_var=LD_LIBRARY_PATH
14651 case $host_vendor in
14652 sni)
14653 shlibpath_overrides_runpath=no
14654 need_lib_prefix=no
14655 runpath_var=LD_RUN_PATH
14656 ;;
14657 siemens)
14658 need_lib_prefix=no
14659 ;;
14660 motorola)
14661 need_lib_prefix=no
14662 need_version=no
14663 shlibpath_overrides_runpath=no
14664 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14665 ;;
14666 esac
14667 ;;
14668
14669 sysv4*MP*)
14670 if test -d /usr/nec ;then
14671 version_type=linux
14672 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14673 soname_spec='$libname${shared_ext}.$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14675 fi
14676 ;;
14677
14678 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14679 version_type=freebsd-elf
14680 need_lib_prefix=no
14681 need_version=no
14682 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14683 soname_spec='${libname}${release}${shared_ext}$major'
14684 shlibpath_var=LD_LIBRARY_PATH
14685 shlibpath_overrides_runpath=yes
14686 hardcode_into_libs=yes
14687 if test "$with_gnu_ld" = yes; then
14688 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14689 else
14690 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14691 case $host_os in
14692 sco3.2v5*)
14693 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14694 ;;
14695 esac
14696 fi
14697 sys_lib_dlsearch_path_spec='/usr/lib'
14698 ;;
14699
14700 tpf*)
14701 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14702 version_type=linux
14703 need_lib_prefix=no
14704 need_version=no
14705 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14706 shlibpath_var=LD_LIBRARY_PATH
14707 shlibpath_overrides_runpath=no
14708 hardcode_into_libs=yes
14709 ;;
14710
14711 uts4*)
14712 version_type=linux
14713 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14714 soname_spec='${libname}${release}${shared_ext}$major'
14715 shlibpath_var=LD_LIBRARY_PATH
14716 ;;
14717
14718 *)
14719 dynamic_linker=no
14720 ;;
14721 esac
14722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14723 $as_echo "$dynamic_linker" >&6; }
14724 test "$dynamic_linker" = no && can_build_shared=no
14725
14726 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14727 if test "$GCC" = yes; then
14728 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14729 fi
14730
14731 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14732 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14733 fi
14734 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14735 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14736 fi
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14776 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14777 hardcode_action_CXX=
14778 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14779 test -n "$runpath_var_CXX" ||
14780 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14781
14782 # We can hardcode non-existent directories.
14783 if test "$hardcode_direct_CXX" != no &&
14784 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14785 # have to relink, otherwise we might link with an installed library
14786 # when we should be linking with a yet-to-be-installed one
14787 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14788 test "$hardcode_minus_L_CXX" != no; then
14789 # Linking always hardcodes the temporary library directory.
14790 hardcode_action_CXX=relink
14791 else
14792 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14793 hardcode_action_CXX=immediate
14794 fi
14795 else
14796 # We cannot hardcode anything, or else we can only hardcode existing
14797 # directories.
14798 hardcode_action_CXX=unsupported
14799 fi
14800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14801 $as_echo "$hardcode_action_CXX" >&6; }
14802
14803 if test "$hardcode_action_CXX" = relink ||
14804 test "$inherit_rpath_CXX" = yes; then
14805 # Fast installation is not supported
14806 enable_fast_install=no
14807 elif test "$shlibpath_overrides_runpath" = yes ||
14808 test "$enable_shared" = no; then
14809 # Fast installation is not necessary
14810 enable_fast_install=needless
14811 fi
14812
14813
14814
14815
14816
14817
14818
14819 fi # test -n "$compiler"
14820
14821 CC=$lt_save_CC
14822 LDCXX=$LD
14823 LD=$lt_save_LD
14824 GCC=$lt_save_GCC
14825 with_gnu_ld=$lt_save_with_gnu_ld
14826 lt_cv_path_LDCXX=$lt_cv_path_LD
14827 lt_cv_path_LD=$lt_save_path_LD
14828 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14829 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14830 fi # test "$_lt_caught_CXX_error" != yes
14831
14832 ac_ext=c
14833 ac_cpp='$CPP $CPPFLAGS'
14834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850 ac_config_commands="$ac_config_commands libtool"
14851
14852
14853
14854
14855 # Only expand once:
14856
14857
14858
14859
14860
14861 case $host in
14862 *-cygwin* | *-mingw*)
14863 # 'host' will be top-level target in the case of a target lib,
14864 # we must compare to with_cross_host to decide if this is a native
14865 # or cross-compiler and select where to install dlls appropriately.
14866 if test -n "$with_cross_host" &&
14867 test x"$with_cross_host" != x"no"; then
14868 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14869 else
14870 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14871 fi
14872 ;;
14873 *)
14874 lt_host_flags=
14875 ;;
14876 esac
14877
14878
14879
14880
14881
14882
14883 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14884 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14885
14886 # Possibly disable most of the library.
14887 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14888 ## than just ignoring the results. Faster /and/ more correct, win win.
14889
14890 # Check whether --enable-hosted-libstdcxx was given.
14891 if test "${enable_hosted_libstdcxx+set}" = set; then :
14892 enableval=$enable_hosted_libstdcxx;
14893 else
14894 case "$host" in
14895 arm*-*-symbianelf*)
14896 enable_hosted_libstdcxx=no
14897 ;;
14898 *)
14899 enable_hosted_libstdcxx=yes
14900 ;;
14901 esac
14902 fi
14903
14904 if test "$enable_hosted_libstdcxx" = no; then
14905 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14906 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14907 is_hosted=no
14908 hosted_define=0
14909 enable_abi_check=no
14910 enable_libstdcxx_pch=no
14911 else
14912 is_hosted=yes
14913 hosted_define=1
14914 fi
14915
14916
14917 cat >>confdefs.h <<_ACEOF
14918 #define _GLIBCXX_HOSTED $hosted_define
14919 _ACEOF
14920
14921
14922
14923 # Enable compiler support that doesn't require linking.
14924
14925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
14926 $as_echo_n "checking for exception model to use... " >&6; }
14927
14928 ac_ext=cpp
14929 ac_cpp='$CXXCPP $CPPFLAGS'
14930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14933
14934 # Check whether --enable-sjlj-exceptions was given.
14935 if test "${enable_sjlj_exceptions+set}" = set; then :
14936 enableval=$enable_sjlj_exceptions;
14937 case "$enableval" in
14938 yes|no|auto) ;;
14939 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
14940 esac
14941
14942 else
14943 enable_sjlj_exceptions=auto
14944 fi
14945
14946
14947
14948 if test $enable_sjlj_exceptions = auto; then
14949 # Botheration. Now we've got to detect the exception model. Link tests
14950 # against libgcc.a are problematic since we've not been given proper -L
14951 # bits for single-tree newlib and libgloss.
14952 #
14953 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14954 cat > conftest.$ac_ext << EOF
14955 #line 14955 "configure"
14956 struct S { ~S(); };
14957 void bar();
14958 void foo()
14959 {
14960 S s;
14961 bar();
14962 }
14963 EOF
14964 old_CXXFLAGS="$CXXFLAGS"
14965 CXXFLAGS=-S
14966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14967 (eval $ac_compile) 2>&5
14968 ac_status=$?
14969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14970 test $ac_status = 0; }; then
14971 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14972 enable_sjlj_exceptions=yes
14973 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14974 enable_sjlj_exceptions=no
14975 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14976 enable_sjlj_exceptions=no
14977 fi
14978 fi
14979 CXXFLAGS="$old_CXXFLAGS"
14980 rm -f conftest*
14981 fi
14982
14983 # This is a tad weird, for hysterical raisins. We have to map
14984 # enable/disable to two different models.
14985 case $enable_sjlj_exceptions in
14986 yes)
14987
14988 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
14989
14990 ac_exception_model_name=sjlj
14991 ;;
14992 no)
14993 ac_exception_model_name="call frame"
14994 ;;
14995 *)
14996 as_fn_error "unable to detect exception model" "$LINENO" 5
14997 ;;
14998 esac
14999 ac_ext=c
15000 ac_cpp='$CPP $CPPFLAGS'
15001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15004
15005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15006 $as_echo "$ac_exception_model_name" >&6; }
15007
15008
15009 # Check whether --enable-libstdcxx-pch was given.
15010 if test "${enable_libstdcxx_pch+set}" = set; then :
15011 enableval=$enable_libstdcxx_pch;
15012 case "$enableval" in
15013 yes|no) ;;
15014 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15015 esac
15016
15017 else
15018 enable_libstdcxx_pch=$is_hosted
15019 fi
15020
15021
15022 if test $enable_libstdcxx_pch = yes; then
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15024 $as_echo_n "checking for compiler with PCH support... " >&6; }
15025 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_save_CXXFLAGS="$CXXFLAGS"
15029 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15030
15031 ac_ext=cpp
15032 ac_cpp='$CXXCPP $CPPFLAGS'
15033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15036
15037 echo '#include <math.h>' > conftest.h
15038 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15039 -o conftest.h.gch 1>&5 2>&1 &&
15040 echo '#error "pch failed"' > conftest.h &&
15041 echo '#include "conftest.h"' > conftest.cc &&
15042 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15043 then
15044 glibcxx_cv_prog_CXX_pch=yes
15045 else
15046 glibcxx_cv_prog_CXX_pch=no
15047 fi
15048 rm -f conftest*
15049 CXXFLAGS=$ac_save_CXXFLAGS
15050 ac_ext=c
15051 ac_cpp='$CPP $CPPFLAGS'
15052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15055
15056
15057 fi
15058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15059 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15060 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15061 fi
15062
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15064 $as_echo_n "checking for enabled PCH... " >&6; }
15065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15066 $as_echo "$enable_libstdcxx_pch" >&6; }
15067
15068
15069 if test $enable_libstdcxx_pch = yes; then
15070 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15071 else
15072 glibcxx_PCHFLAGS=""
15073 fi
15074
15075
15076
15077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15078 $as_echo_n "checking for thread model used by GCC... " >&6; }
15079 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15081 $as_echo "$target_thread_file" >&6; }
15082
15083
15084
15085 ac_ext=cpp
15086 ac_cpp='$CXXCPP $CPPFLAGS'
15087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15090
15091 old_CXXFLAGS="$CXXFLAGS"
15092
15093 # Do link tests if possible, instead asm tests, limited to some platforms
15094 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15095 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15096 atomic_builtins_link_tests=no
15097 if test x$gcc_no_link != xyes; then
15098 # Can do link tests. Limit to some tested platforms
15099 case "$host" in
15100 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15101 atomic_builtins_link_tests=yes
15102 ;;
15103 esac
15104 fi
15105
15106 if test x$atomic_builtins_link_tests = xyes; then
15107
15108 # Do link tests.
15109
15110 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15111
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15113 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15114 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15115 $as_echo_n "(cached) " >&6
15116 else
15117
15118 if test x$gcc_no_link = xyes; then
15119 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15120 fi
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123
15124 int
15125 main ()
15126 {
15127 typedef bool atomic_type;
15128 atomic_type c1;
15129 atomic_type c2;
15130 const atomic_type c3(0);
15131 __sync_fetch_and_add(&c1, c2);
15132 __sync_val_compare_and_swap(&c1, c3, c2);
15133 __sync_lock_test_and_set(&c1, c3);
15134 __sync_lock_release(&c1);
15135 __sync_synchronize();
15136 ;
15137 return 0;
15138 }
15139 _ACEOF
15140 if ac_fn_cxx_try_link "$LINENO"; then :
15141 glibcxx_cv_atomic_bool=yes
15142 else
15143 glibcxx_cv_atomic_bool=no
15144 fi
15145 rm -f core conftest.err conftest.$ac_objext \
15146 conftest$ac_exeext conftest.$ac_ext
15147
15148 fi
15149
15150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15151 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15152
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15154 $as_echo_n "checking for atomic builtins for short... " >&6; }
15155 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15156 $as_echo_n "(cached) " >&6
15157 else
15158
15159 if test x$gcc_no_link = xyes; then
15160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15161 fi
15162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15163 /* end confdefs.h. */
15164
15165 int
15166 main ()
15167 {
15168 typedef short atomic_type;
15169 atomic_type c1;
15170 atomic_type c2;
15171 const atomic_type c3(0);
15172 __sync_fetch_and_add(&c1, c2);
15173 __sync_val_compare_and_swap(&c1, c3, c2);
15174 __sync_lock_test_and_set(&c1, c3);
15175 __sync_lock_release(&c1);
15176 __sync_synchronize();
15177 ;
15178 return 0;
15179 }
15180 _ACEOF
15181 if ac_fn_cxx_try_link "$LINENO"; then :
15182 glibcxx_cv_atomic_short=yes
15183 else
15184 glibcxx_cv_atomic_short=no
15185 fi
15186 rm -f core conftest.err conftest.$ac_objext \
15187 conftest$ac_exeext conftest.$ac_ext
15188
15189 fi
15190
15191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15192 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15193
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15195 $as_echo_n "checking for atomic builtins for int... " >&6; }
15196 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15197 $as_echo_n "(cached) " >&6
15198 else
15199
15200 if test x$gcc_no_link = xyes; then
15201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15202 fi
15203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15204 /* end confdefs.h. */
15205
15206 int
15207 main ()
15208 {
15209 typedef int atomic_type;
15210 atomic_type c1;
15211 atomic_type c2;
15212 const atomic_type c3(0);
15213 __sync_fetch_and_add(&c1, c2);
15214 __sync_val_compare_and_swap(&c1, c3, c2);
15215 __sync_lock_test_and_set(&c1, c3);
15216 __sync_lock_release(&c1);
15217 __sync_synchronize();
15218 ;
15219 return 0;
15220 }
15221 _ACEOF
15222 if ac_fn_cxx_try_link "$LINENO"; then :
15223 glibcxx_cv_atomic_int=yes
15224 else
15225 glibcxx_cv_atomic_int=no
15226 fi
15227 rm -f core conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext conftest.$ac_ext
15229
15230 fi
15231
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15233 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15234
15235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15236 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15237 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15238 $as_echo_n "(cached) " >&6
15239 else
15240
15241 if test x$gcc_no_link = xyes; then
15242 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15243 fi
15244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15245 /* end confdefs.h. */
15246
15247 int
15248 main ()
15249 {
15250 typedef long long atomic_type;
15251 atomic_type c1;
15252 atomic_type c2;
15253 const atomic_type c3(0);
15254 __sync_fetch_and_add(&c1, c2);
15255 __sync_val_compare_and_swap(&c1, c3, c2);
15256 __sync_lock_test_and_set(&c1, c3);
15257 __sync_lock_release(&c1);
15258 __sync_synchronize();
15259 ;
15260 return 0;
15261 }
15262 _ACEOF
15263 if ac_fn_cxx_try_link "$LINENO"; then :
15264 glibcxx_cv_atomic_long_long=yes
15265 else
15266 glibcxx_cv_atomic_long_long=no
15267 fi
15268 rm -f core conftest.err conftest.$ac_objext \
15269 conftest$ac_exeext conftest.$ac_ext
15270
15271 fi
15272
15273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15274 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15275
15276 else
15277
15278 # Do asm tests.
15279
15280 # Compile unoptimized.
15281 CXXFLAGS='-O0 -S'
15282
15283 # Fake what AC_TRY_COMPILE does.
15284
15285 cat > conftest.$ac_ext << EOF
15286 #line 15286 "configure"
15287 int main()
15288 {
15289 typedef bool atomic_type;
15290 atomic_type c1;
15291 atomic_type c2;
15292 const atomic_type c3(0);
15293 __sync_fetch_and_add(&c1, c2);
15294 __sync_val_compare_and_swap(&c1, c3, c2);
15295 __sync_lock_test_and_set(&c1, c3);
15296 __sync_lock_release(&c1);
15297 __sync_synchronize();
15298 return 0;
15299 }
15300 EOF
15301
15302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15303 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15304 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15305 (eval $ac_compile) 2>&5
15306 ac_status=$?
15307 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15308 test $ac_status = 0; }; then
15309 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15310 glibcxx_cv_atomic_bool=no
15311 else
15312 glibcxx_cv_atomic_bool=yes
15313 fi
15314 fi
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15316 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15317 rm -f conftest*
15318
15319 cat > conftest.$ac_ext << EOF
15320 #line 15320 "configure"
15321 int main()
15322 {
15323 typedef short atomic_type;
15324 atomic_type c1;
15325 atomic_type c2;
15326 const atomic_type c3(0);
15327 __sync_fetch_and_add(&c1, c2);
15328 __sync_val_compare_and_swap(&c1, c3, c2);
15329 __sync_lock_test_and_set(&c1, c3);
15330 __sync_lock_release(&c1);
15331 __sync_synchronize();
15332 return 0;
15333 }
15334 EOF
15335
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15337 $as_echo_n "checking for atomic builtins for short... " >&6; }
15338 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15339 (eval $ac_compile) 2>&5
15340 ac_status=$?
15341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15342 test $ac_status = 0; }; then
15343 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15344 glibcxx_cv_atomic_short=no
15345 else
15346 glibcxx_cv_atomic_short=yes
15347 fi
15348 fi
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15350 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15351 rm -f conftest*
15352
15353 cat > conftest.$ac_ext << EOF
15354 #line 15354 "configure"
15355 int main()
15356 {
15357 // NB: _Atomic_word not necessarily int.
15358 typedef int atomic_type;
15359 atomic_type c1;
15360 atomic_type c2;
15361 const atomic_type c3(0);
15362 __sync_fetch_and_add(&c1, c2);
15363 __sync_val_compare_and_swap(&c1, c3, c2);
15364 __sync_lock_test_and_set(&c1, c3);
15365 __sync_lock_release(&c1);
15366 __sync_synchronize();
15367 return 0;
15368 }
15369 EOF
15370
15371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15372 $as_echo_n "checking for atomic builtins for int... " >&6; }
15373 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15374 (eval $ac_compile) 2>&5
15375 ac_status=$?
15376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15377 test $ac_status = 0; }; then
15378 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15379 glibcxx_cv_atomic_int=no
15380 else
15381 glibcxx_cv_atomic_int=yes
15382 fi
15383 fi
15384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15385 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15386 rm -f conftest*
15387
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15390 int main()
15391 {
15392 typedef long long atomic_type;
15393 atomic_type c1;
15394 atomic_type c2;
15395 const atomic_type c3(0);
15396 __sync_fetch_and_add(&c1, c2);
15397 __sync_val_compare_and_swap(&c1, c3, c2);
15398 __sync_lock_test_and_set(&c1, c3);
15399 __sync_lock_release(&c1);
15400 __sync_synchronize();
15401 return 0;
15402 }
15403 EOF
15404
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15406 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15408 (eval $ac_compile) 2>&5
15409 ac_status=$?
15410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15411 test $ac_status = 0; }; then
15412 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15413 glibcxx_cv_atomic_long_long=no
15414 else
15415 glibcxx_cv_atomic_long_long=yes
15416 fi
15417 fi
15418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15419 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15420 rm -f conftest*
15421
15422 fi
15423
15424 CXXFLAGS="$old_CXXFLAGS"
15425 ac_ext=c
15426 ac_cpp='$CPP $CPPFLAGS'
15427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15430
15431
15432 # Set atomicity_dir to builtins if either of above tests pass.
15433 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15434
15435 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15436
15437 atomicity_dir=cpu/generic/atomicity_builtins
15438 fi
15439
15440 # If still generic, set to mutex.
15441 if test $atomicity_dir = "cpu/generic" ; then
15442 atomicity_dir=cpu/generic/atomicity_mutex
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15444 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15445 if test "x$target_thread_file" = xsingle; then
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15447 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15449 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15450 else
15451 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15452 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15454 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15455 fi
15456 fi
15457
15458
15459
15460
15461 # Fake what AC_TRY_COMPILE does, without linking as this is
15462 # unnecessary for this test.
15463
15464 cat > conftest.$ac_ext << EOF
15465 #line 15465 "configure"
15466 int main()
15467 {
15468 _Decimal32 d1;
15469 _Decimal64 d2;
15470 _Decimal128 d3;
15471 return 0;
15472 }
15473 EOF
15474
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15476 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15477 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15478 (eval $ac_compile) 2>&5
15479 ac_status=$?
15480 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15481 test $ac_status = 0; }; then
15482
15483 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15484
15485 enable_dfp=yes
15486 else
15487 enable_dfp=no
15488 fi
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15490 $as_echo "$enable_dfp" >&6; }
15491 rm -f conftest*
15492
15493
15494
15495
15496 ac_ext=cpp
15497 ac_cpp='$CXXCPP $CPPFLAGS'
15498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15501
15502
15503 # Fake what AC_TRY_COMPILE does, without linking as this is
15504 # unnecessary for this test.
15505
15506 cat > conftest.$ac_ext << EOF
15507 #line 15507 "configure"
15508 template<typename T1, typename T2>
15509 struct same
15510 { typedef T2 type; };
15511
15512 template<typename T>
15513 struct same<T, T>;
15514
15515 int main()
15516 {
15517 typename same<long, __int128>::type i1;
15518 typename same<long long, __int128>::type i2;
15519 }
15520 EOF
15521
15522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15523 $as_echo_n "checking for __int128... " >&6; }
15524 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15525 (eval $ac_compile) 2>&5
15526 ac_status=$?
15527 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15528 test $ac_status = 0; }; then
15529
15530 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15531
15532 enable_int128=yes
15533 else
15534 enable_int128=no
15535 fi
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15537 $as_echo "$enable_int128" >&6; }
15538 rm -f conftest*
15539
15540 cat > conftest.$ac_ext << EOF
15541 #line 15541 "configure"
15542 template<typename T1, typename T2>
15543 struct same
15544 { typedef T2 type; };
15545
15546 template<typename T>
15547 struct same<T, T>;
15548
15549 int main()
15550 {
15551 typename same<double, __float128>::type f1;
15552 typename same<long double, __float128>::type f2;
15553 }
15554 EOF
15555
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15557 $as_echo_n "checking for __float128... " >&6; }
15558 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15559 (eval $ac_compile) 2>&5
15560 ac_status=$?
15561 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15562 test $ac_status = 0; }; then
15563
15564 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15565
15566 enable_float128=yes
15567 else
15568 enable_float128=no
15569 fi
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15571 $as_echo "$enable_float128" >&6; }
15572 rm -f conftest*
15573
15574 ac_ext=c
15575 ac_cpp='$CPP $CPPFLAGS'
15576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15579
15580
15581
15582 # Checks for compiler support that doesn't require linking.
15583
15584 # All these tests are for C++; save the language and the compiler flags.
15585 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15586 # found in GLIBCXX_CONFIGURE.
15587
15588 ac_ext=cpp
15589 ac_cpp='$CXXCPP $CPPFLAGS'
15590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15593
15594 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15595 ac_save_CXXFLAGS="$CXXFLAGS"
15596
15597 # Check for maintainer-mode bits.
15598 if test x"$USE_MAINTAINER_MODE" = xno; then
15599 WERROR=''
15600 else
15601 WERROR='-Werror'
15602 fi
15603
15604 # Check for -ffunction-sections -fdata-sections
15605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15606 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15607 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15609 /* end confdefs.h. */
15610 int foo; void bar() { };
15611 int
15612 main ()
15613 {
15614
15615 ;
15616 return 0;
15617 }
15618 _ACEOF
15619 if ac_fn_cxx_try_compile "$LINENO"; then :
15620 ac_fdsections=yes
15621 else
15622 ac_fdsections=no
15623 fi
15624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15625 if test "$ac_test_CXXFLAGS" = set; then
15626 CXXFLAGS="$ac_save_CXXFLAGS"
15627 else
15628 # this is the suspicious part
15629 CXXFLAGS=''
15630 fi
15631 if test x"$ac_fdsections" = x"yes"; then
15632 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15633 fi
15634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15635 $as_echo "$ac_fdsections" >&6; }
15636
15637 ac_ext=c
15638 ac_cpp='$CPP $CPPFLAGS'
15639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15642
15643
15644
15645
15646
15647 # Enable all the variable C++ runtime options that don't require linking.
15648
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15650 $as_echo_n "checking for underlying I/O to use... " >&6; }
15651 # Check whether --enable-cstdio was given.
15652 if test "${enable_cstdio+set}" = set; then :
15653 enableval=$enable_cstdio;
15654 case "$enableval" in
15655 stdio) ;;
15656 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15657 esac
15658
15659 else
15660 enable_cstdio=stdio
15661 fi
15662
15663
15664
15665 # Now that libio has been removed, you can have any color you want as long
15666 # as it's black. This is one big no-op until other packages are added, but
15667 # showing the framework never hurts.
15668 case ${enable_cstdio} in
15669 stdio)
15670 CSTDIO_H=config/io/c_io_stdio.h
15671 BASIC_FILE_H=config/io/basic_file_stdio.h
15672 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15674 $as_echo "stdio" >&6; }
15675 ;;
15676 esac
15677
15678
15679
15680
15681
15682
15683 # Check whether --enable-clocale was given.
15684 if test "${enable_clocale+set}" = set; then :
15685 enableval=$enable_clocale;
15686 case "$enableval" in
15687 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15688 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15689 esac
15690
15691 else
15692 enable_clocale=auto
15693 fi
15694
15695
15696
15697 # Deal with gettext issues. Default to not using it (=no) until we detect
15698 # support for it later. Let the user turn it off via --e/d, but let that
15699 # default to on for easier handling.
15700 USE_NLS=no
15701 # Check whether --enable-nls was given.
15702 if test "${enable_nls+set}" = set; then :
15703 enableval=$enable_nls;
15704 else
15705 enable_nls=yes
15706 fi
15707
15708
15709 # Either a known package, or "auto"
15710 if test $enable_clocale = no || test $enable_clocale = yes; then
15711 enable_clocale=auto
15712 fi
15713 enable_clocale_flag=$enable_clocale
15714
15715 # Probe for locale model to use if none specified.
15716 # Default to "generic".
15717 if test $enable_clocale_flag = auto; then
15718 case ${target_os} in
15719 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15720 enable_clocale_flag=gnu
15721 ;;
15722 darwin* | freebsd*)
15723 enable_clocale_flag=darwin
15724 ;;
15725 *)
15726 if test x"$with_newlib" = x"yes"; then
15727 enable_clocale_flag=newlib
15728 else
15729 enable_clocale_flag=generic
15730 fi
15731 ;;
15732 esac
15733 fi
15734
15735 # Sanity check model, and test for special functionality.
15736 if test $enable_clocale_flag = gnu; then
15737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15738 /* end confdefs.h. */
15739
15740 #include <features.h>
15741 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15742 _GLIBCXX_ok
15743 #endif
15744
15745 _ACEOF
15746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15747 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15748 enable_clocale_flag=gnu
15749 else
15750 enable_clocale_flag=generic
15751 fi
15752 rm -f conftest*
15753
15754
15755 # Set it to scream when it hurts.
15756 ac_save_CFLAGS="$CFLAGS"
15757 CFLAGS="-Wimplicit-function-declaration -Werror"
15758
15759 # Use strxfrm_l if available.
15760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15761 /* end confdefs.h. */
15762 #define _GNU_SOURCE 1
15763 #include <string.h>
15764 #include <locale.h>
15765 int
15766 main ()
15767 {
15768 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15769 ;
15770 return 0;
15771 }
15772 _ACEOF
15773 if ac_fn_c_try_compile "$LINENO"; then :
15774
15775 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15776
15777 fi
15778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15779
15780 # Use strerror_l if available.
15781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15782 /* end confdefs.h. */
15783 #define _GNU_SOURCE 1
15784 #include <string.h>
15785 #include <locale.h>
15786 int
15787 main ()
15788 {
15789 __locale_t loc; strerror_l(5, loc);
15790 ;
15791 return 0;
15792 }
15793 _ACEOF
15794 if ac_fn_c_try_compile "$LINENO"; then :
15795
15796 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15797
15798 fi
15799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15800
15801 CFLAGS="$ac_save_CFLAGS"
15802 fi
15803
15804 # Perhaps use strerror_r if available, and strerror_l isn't.
15805 ac_save_CFLAGS="$CFLAGS"
15806 CFLAGS="-Wimplicit-function-declaration -Werror"
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 char s[128]; strerror_r(5, s, 128);
15816 ;
15817 return 0;
15818 }
15819 _ACEOF
15820 if ac_fn_c_try_compile "$LINENO"; then :
15821
15822 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15823
15824 fi
15825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15826 CFLAGS="$ac_save_CFLAGS"
15827
15828 # Set configure bits for specified locale package
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15830 $as_echo_n "checking for C locale to use... " >&6; }
15831 case ${enable_clocale_flag} in
15832 generic)
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15834 $as_echo "generic" >&6; }
15835
15836 CLOCALE_H=config/locale/generic/c_locale.h
15837 CLOCALE_CC=config/locale/generic/c_locale.cc
15838 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15839 CCOLLATE_CC=config/locale/generic/collate_members.cc
15840 CCTYPE_CC=config/locale/generic/ctype_members.cc
15841 CMESSAGES_H=config/locale/generic/messages_members.h
15842 CMESSAGES_CC=config/locale/generic/messages_members.cc
15843 CMONEY_CC=config/locale/generic/monetary_members.cc
15844 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15845 CTIME_H=config/locale/generic/time_members.h
15846 CTIME_CC=config/locale/generic/time_members.cc
15847 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15848 ;;
15849 darwin)
15850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15851 $as_echo "darwin or freebsd" >&6; }
15852
15853 CLOCALE_H=config/locale/generic/c_locale.h
15854 CLOCALE_CC=config/locale/generic/c_locale.cc
15855 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15856 CCOLLATE_CC=config/locale/generic/collate_members.cc
15857 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15858 CMESSAGES_H=config/locale/generic/messages_members.h
15859 CMESSAGES_CC=config/locale/generic/messages_members.cc
15860 CMONEY_CC=config/locale/generic/monetary_members.cc
15861 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15862 CTIME_H=config/locale/generic/time_members.h
15863 CTIME_CC=config/locale/generic/time_members.cc
15864 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15865 ;;
15866
15867 gnu)
15868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15869 $as_echo "gnu" >&6; }
15870
15871 # Declare intention to use gettext, and add support for specific
15872 # languages.
15873 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15874 ALL_LINGUAS="de fr"
15875
15876 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15877 # Extract the first word of "msgfmt", so it can be a program name with args.
15878 set dummy msgfmt; ac_word=$2
15879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15880 $as_echo_n "checking for $ac_word... " >&6; }
15881 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15882 $as_echo_n "(cached) " >&6
15883 else
15884 if test -n "$check_msgfmt"; then
15885 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15886 else
15887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15888 for as_dir in $PATH
15889 do
15890 IFS=$as_save_IFS
15891 test -z "$as_dir" && as_dir=.
15892 for ac_exec_ext in '' $ac_executable_extensions; do
15893 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15894 ac_cv_prog_check_msgfmt="yes"
15895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15896 break 2
15897 fi
15898 done
15899 done
15900 IFS=$as_save_IFS
15901
15902 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15903 fi
15904 fi
15905 check_msgfmt=$ac_cv_prog_check_msgfmt
15906 if test -n "$check_msgfmt"; then
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
15908 $as_echo "$check_msgfmt" >&6; }
15909 else
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15911 $as_echo "no" >&6; }
15912 fi
15913
15914
15915 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15916 USE_NLS=yes
15917 fi
15918 # Export the build objects.
15919 for ling in $ALL_LINGUAS; do \
15920 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15921 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15922 done
15923
15924
15925
15926 CLOCALE_H=config/locale/gnu/c_locale.h
15927 CLOCALE_CC=config/locale/gnu/c_locale.cc
15928 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15929 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15930 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15931 CMESSAGES_H=config/locale/gnu/messages_members.h
15932 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15933 CMONEY_CC=config/locale/gnu/monetary_members.cc
15934 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15935 CTIME_H=config/locale/gnu/time_members.h
15936 CTIME_CC=config/locale/gnu/time_members.cc
15937 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15938 ;;
15939 ieee_1003.1-2001)
15940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
15941 $as_echo "IEEE 1003.1" >&6; }
15942
15943 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15944 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15945 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15946 CCOLLATE_CC=config/locale/generic/collate_members.cc
15947 CCTYPE_CC=config/locale/generic/ctype_members.cc
15948 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15949 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15950 CMONEY_CC=config/locale/generic/monetary_members.cc
15951 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15952 CTIME_H=config/locale/generic/time_members.h
15953 CTIME_CC=config/locale/generic/time_members.cc
15954 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15955 ;;
15956 newlib)
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
15958 $as_echo "newlib" >&6; }
15959
15960 CLOCALE_H=config/locale/generic/c_locale.h
15961 CLOCALE_CC=config/locale/generic/c_locale.cc
15962 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15963 CCOLLATE_CC=config/locale/generic/collate_members.cc
15964 CCTYPE_CC=config/locale/newlib/ctype_members.cc
15965 CMESSAGES_H=config/locale/generic/messages_members.h
15966 CMESSAGES_CC=config/locale/generic/messages_members.cc
15967 CMONEY_CC=config/locale/generic/monetary_members.cc
15968 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15969 CTIME_H=config/locale/generic/time_members.h
15970 CTIME_CC=config/locale/generic/time_members.cc
15971 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15972 ;;
15973 esac
15974
15975 # This is where the testsuite looks for locale catalogs, using the
15976 # -DLOCALEDIR define during testsuite compilation.
15977 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15978
15979
15980 # A standalone libintl (e.g., GNU libintl) may be in use.
15981 if test $USE_NLS = yes; then
15982 for ac_header in libintl.h
15983 do :
15984 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15985 if test "x$ac_cv_header_libintl_h" = x""yes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_LIBINTL_H 1
15988 _ACEOF
15989
15990 else
15991 USE_NLS=no
15992 fi
15993
15994 done
15995
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
15997 $as_echo_n "checking for library containing gettext... " >&6; }
15998 if test "${ac_cv_search_gettext+set}" = set; then :
15999 $as_echo_n "(cached) " >&6
16000 else
16001 ac_func_search_save_LIBS=$LIBS
16002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16003 /* end confdefs.h. */
16004
16005 /* Override any GCC internal prototype to avoid an error.
16006 Use char because int might match the return type of a GCC
16007 builtin and then its argument prototype would still apply. */
16008 #ifdef __cplusplus
16009 extern "C"
16010 #endif
16011 char gettext ();
16012 int
16013 main ()
16014 {
16015 return gettext ();
16016 ;
16017 return 0;
16018 }
16019 _ACEOF
16020 for ac_lib in '' intl; do
16021 if test -z "$ac_lib"; then
16022 ac_res="none required"
16023 else
16024 ac_res=-l$ac_lib
16025 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16026 fi
16027 if test x$gcc_no_link = xyes; then
16028 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16029 fi
16030 if ac_fn_c_try_link "$LINENO"; then :
16031 ac_cv_search_gettext=$ac_res
16032 fi
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext
16035 if test "${ac_cv_search_gettext+set}" = set; then :
16036 break
16037 fi
16038 done
16039 if test "${ac_cv_search_gettext+set}" = set; then :
16040
16041 else
16042 ac_cv_search_gettext=no
16043 fi
16044 rm conftest.$ac_ext
16045 LIBS=$ac_func_search_save_LIBS
16046 fi
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16048 $as_echo "$ac_cv_search_gettext" >&6; }
16049 ac_res=$ac_cv_search_gettext
16050 if test "$ac_res" != no; then :
16051 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16052
16053 else
16054 USE_NLS=no
16055 fi
16056
16057 fi
16058 if test $USE_NLS = yes; then
16059
16060 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16061
16062 fi
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16080 $as_echo_n "checking for std::allocator base class... " >&6; }
16081 # Check whether --enable-libstdcxx-allocator was given.
16082 if test "${enable_libstdcxx_allocator+set}" = set; then :
16083 enableval=$enable_libstdcxx_allocator;
16084 case "$enableval" in
16085 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16086 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16087 esac
16088
16089 else
16090 enable_libstdcxx_allocator=auto
16091 fi
16092
16093
16094
16095 # If they didn't use this option switch, or if they specified --enable
16096 # with no specific model, we'll have to look for one. If they
16097 # specified --disable (???), do likewise.
16098 if test $enable_libstdcxx_allocator = no ||
16099 test $enable_libstdcxx_allocator = yes;
16100 then
16101 enable_libstdcxx_allocator=auto
16102 fi
16103
16104 # Either a known package, or "auto". Auto implies the default choice
16105 # for a particular platform.
16106 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16107
16108 # Probe for host-specific support if no specific model is specified.
16109 # Default to "new".
16110 if test $enable_libstdcxx_allocator_flag = auto; then
16111 case ${target_os} in
16112 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16113 enable_libstdcxx_allocator_flag=new
16114 ;;
16115 *)
16116 enable_libstdcxx_allocator_flag=new
16117 ;;
16118 esac
16119 fi
16120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16121 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16122
16123
16124 # Set configure bits for specified locale package
16125 case ${enable_libstdcxx_allocator_flag} in
16126 bitmap)
16127 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16128 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16129 ;;
16130 malloc)
16131 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16132 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16133 ;;
16134 mt)
16135 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16136 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16137 ;;
16138 new)
16139 ALLOCATOR_H=config/allocator/new_allocator_base.h
16140 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16141 ;;
16142 pool)
16143 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16144 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16145 ;;
16146 esac
16147
16148
16149
16150
16151
16152 # Check whether --enable-cheaders was given.
16153 if test "${enable_cheaders+set}" = set; then :
16154 enableval=$enable_cheaders;
16155 case "$enableval" in
16156 c|c_std|c_global) ;;
16157 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16158 esac
16159
16160 else
16161 enable_cheaders=$c_model
16162 fi
16163
16164
16165 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16166 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16167
16168 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16169
16170 # Allow overrides to configure.host here.
16171 if test $enable_cheaders = c_global; then
16172 c_compatibility=yes
16173 fi
16174
16175
16176
16177
16178
16179
16180
16181 # Check whether --enable-long-long was given.
16182 if test "${enable_long_long+set}" = set; then :
16183 enableval=$enable_long_long;
16184 case "$enableval" in
16185 yes|no) ;;
16186 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16187 esac
16188
16189 else
16190 enable_long_long=yes
16191 fi
16192
16193
16194 if test $enable_long_long = yes; then
16195
16196 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16197
16198 fi
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16200 $as_echo_n "checking for enabled long long specializations... " >&6; }
16201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16202 $as_echo "$enable_long_long" >&6; }
16203
16204
16205 # Check whether --enable-wchar_t was given.
16206 if test "${enable_wchar_t+set}" = set; then :
16207 enableval=$enable_wchar_t;
16208 case "$enableval" in
16209 yes|no) ;;
16210 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16211 esac
16212
16213 else
16214 enable_wchar_t=yes
16215 fi
16216
16217
16218
16219 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16220 for ac_header in wchar.h
16221 do :
16222 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16223 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16224 cat >>confdefs.h <<_ACEOF
16225 #define HAVE_WCHAR_H 1
16226 _ACEOF
16227 ac_has_wchar_h=yes
16228 else
16229 ac_has_wchar_h=no
16230 fi
16231
16232 done
16233
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16235 $as_echo_n "checking for mbstate_t... " >&6; }
16236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16237 /* end confdefs.h. */
16238 #include <wchar.h>
16239 int
16240 main ()
16241 {
16242 mbstate_t teststate;
16243 ;
16244 return 0;
16245 }
16246 _ACEOF
16247 if ac_fn_c_try_compile "$LINENO"; then :
16248 have_mbstate_t=yes
16249 else
16250 have_mbstate_t=no
16251 fi
16252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16254 $as_echo "$have_mbstate_t" >&6; }
16255 if test x"$have_mbstate_t" = xyes; then
16256
16257 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16258
16259 fi
16260
16261 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16262 # ac_has_wchar_h.
16263 for ac_header in wctype.h
16264 do :
16265 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16266 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16267 cat >>confdefs.h <<_ACEOF
16268 #define HAVE_WCTYPE_H 1
16269 _ACEOF
16270 ac_has_wctype_h=yes
16271 else
16272 ac_has_wctype_h=no
16273 fi
16274
16275 done
16276
16277
16278 if test x"$enable_wchar_t" = x"yes"; then
16279
16280
16281 ac_ext=cpp
16282 ac_cpp='$CXXCPP $CPPFLAGS'
16283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16286
16287
16288 if test x"$ac_has_wchar_h" = xyes &&
16289 test x"$ac_has_wctype_h" = xyes; then
16290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16291 /* end confdefs.h. */
16292 #include <wchar.h>
16293 #include <stddef.h>
16294 wint_t i;
16295 long l = WEOF;
16296 long j = WCHAR_MIN;
16297 long k = WCHAR_MAX;
16298 namespace test
16299 {
16300 using ::btowc;
16301 using ::fgetwc;
16302 using ::fgetws;
16303 using ::fputwc;
16304 using ::fputws;
16305 using ::fwide;
16306 using ::fwprintf;
16307 using ::fwscanf;
16308 using ::getwc;
16309 using ::getwchar;
16310 using ::mbrlen;
16311 using ::mbrtowc;
16312 using ::mbsinit;
16313 using ::mbsrtowcs;
16314 using ::putwc;
16315 using ::putwchar;
16316 using ::swprintf;
16317 using ::swscanf;
16318 using ::ungetwc;
16319 using ::vfwprintf;
16320 using ::vswprintf;
16321 using ::vwprintf;
16322 using ::wcrtomb;
16323 using ::wcscat;
16324 using ::wcschr;
16325 using ::wcscmp;
16326 using ::wcscoll;
16327 using ::wcscpy;
16328 using ::wcscspn;
16329 using ::wcsftime;
16330 using ::wcslen;
16331 using ::wcsncat;
16332 using ::wcsncmp;
16333 using ::wcsncpy;
16334 using ::wcspbrk;
16335 using ::wcsrchr;
16336 using ::wcsrtombs;
16337 using ::wcsspn;
16338 using ::wcsstr;
16339 using ::wcstod;
16340 using ::wcstok;
16341 using ::wcstol;
16342 using ::wcstoul;
16343 using ::wcsxfrm;
16344 using ::wctob;
16345 using ::wmemchr;
16346 using ::wmemcmp;
16347 using ::wmemcpy;
16348 using ::wmemmove;
16349 using ::wmemset;
16350 using ::wprintf;
16351 using ::wscanf;
16352 }
16353
16354 int
16355 main ()
16356 {
16357
16358 ;
16359 return 0;
16360 }
16361 _ACEOF
16362 if ac_fn_cxx_try_compile "$LINENO"; then :
16363
16364 else
16365 enable_wchar_t=no
16366 fi
16367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16368 else
16369 enable_wchar_t=no
16370 fi
16371
16372 ac_ext=c
16373 ac_cpp='$CPP $CPPFLAGS'
16374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16377
16378 fi
16379
16380 if test x"$enable_wchar_t" = x"yes"; then
16381
16382 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16383
16384 fi
16385
16386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16387 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16389 $as_echo "$enable_wchar_t" >&6; }
16390
16391
16392
16393 # Check whether --enable-c99 was given.
16394 if test "${enable_c99+set}" = set; then :
16395 enableval=$enable_c99;
16396 case "$enableval" in
16397 yes|no) ;;
16398 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16399 esac
16400
16401 else
16402 enable_c99=yes
16403 fi
16404
16405
16406
16407 if test x"$enable_c99" = x"yes"; then
16408
16409
16410 ac_ext=cpp
16411 ac_cpp='$CXXCPP $CPPFLAGS'
16412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16415
16416
16417 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16418 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16419 # spuriously enabled.
16420 # Long term, -std=c++0x could be even better, could manage to explicitely
16421 # request C99 facilities to the underlying C headers.
16422 ac_save_CXXFLAGS="$CXXFLAGS"
16423 CXXFLAGS="$CXXFLAGS -std=c++98"
16424 ac_save_LIBS="$LIBS"
16425 ac_save_gcc_no_link="$gcc_no_link"
16426
16427 if test x$gcc_no_link != xyes; then
16428 # Use -fno-exceptions to that the C driver can link these tests without
16429 # hitting undefined references to personality routines.
16430 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16432 $as_echo_n "checking for sin in -lm... " >&6; }
16433 if test "${ac_cv_lib_m_sin+set}" = set; then :
16434 $as_echo_n "(cached) " >&6
16435 else
16436 ac_check_lib_save_LIBS=$LIBS
16437 LIBS="-lm $LIBS"
16438 if test x$gcc_no_link = xyes; then
16439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16440 fi
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443
16444 /* Override any GCC internal prototype to avoid an error.
16445 Use char because int might match the return type of a GCC
16446 builtin and then its argument prototype would still apply. */
16447 #ifdef __cplusplus
16448 extern "C"
16449 #endif
16450 char sin ();
16451 int
16452 main ()
16453 {
16454 return sin ();
16455 ;
16456 return 0;
16457 }
16458 _ACEOF
16459 if ac_fn_cxx_try_link "$LINENO"; then :
16460 ac_cv_lib_m_sin=yes
16461 else
16462 ac_cv_lib_m_sin=no
16463 fi
16464 rm -f core conftest.err conftest.$ac_objext \
16465 conftest$ac_exeext conftest.$ac_ext
16466 LIBS=$ac_check_lib_save_LIBS
16467 fi
16468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16469 $as_echo "$ac_cv_lib_m_sin" >&6; }
16470 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16471
16472 LIBS="$LIBS -lm"
16473
16474 else
16475
16476 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16477 gcc_no_link=yes
16478
16479 fi
16480
16481 fi
16482
16483 # Check for the existence of <math.h> functions used if C99 is enabled.
16484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16485 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16486 if test "${glibcxx_cv_c99_math+set}" = set; then :
16487 $as_echo_n "(cached) " >&6
16488 else
16489
16490 if test x$gcc_no_link = xyes; then
16491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16492 /* end confdefs.h. */
16493 #include <math.h>
16494 volatile double d1, d2;
16495 volatile int i;
16496 int
16497 main ()
16498 {
16499 i = fpclassify(d1);
16500 i = isfinite(d1);
16501 i = isinf(d1);
16502 i = isnan(d1);
16503 i = isnormal(d1);
16504 i = signbit(d1);
16505 i = isgreater(d1, d2);
16506 i = isgreaterequal(d1, d2);
16507 i = isless(d1, d2);
16508 i = islessequal(d1, d2);
16509 i = islessgreater(d1, d2);
16510 i = islessgreater(d1, d2);
16511 i = isunordered(d1, d2);
16512
16513 ;
16514 return 0;
16515 }
16516 _ACEOF
16517 if ac_fn_cxx_try_compile "$LINENO"; then :
16518 glibcxx_cv_c99_math=yes
16519 else
16520 glibcxx_cv_c99_math=no
16521 fi
16522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16523 else
16524 if test x$gcc_no_link = xyes; then
16525 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16526 fi
16527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16528 /* end confdefs.h. */
16529 #include <math.h>
16530 volatile double d1, d2;
16531 volatile int i;
16532 int
16533 main ()
16534 {
16535 i = fpclassify(d1);
16536 i = isfinite(d1);
16537 i = isinf(d1);
16538 i = isnan(d1);
16539 i = isnormal(d1);
16540 i = signbit(d1);
16541 i = isgreater(d1, d2);
16542 i = isgreaterequal(d1, d2);
16543 i = isless(d1, d2);
16544 i = islessequal(d1, d2);
16545 i = islessgreater(d1, d2);
16546 i = islessgreater(d1, d2);
16547 i = isunordered(d1, d2);
16548
16549 ;
16550 return 0;
16551 }
16552 _ACEOF
16553 if ac_fn_cxx_try_link "$LINENO"; then :
16554 glibcxx_cv_c99_math=yes
16555 else
16556 glibcxx_cv_c99_math=no
16557 fi
16558 rm -f core conftest.err conftest.$ac_objext \
16559 conftest$ac_exeext conftest.$ac_ext
16560 fi
16561
16562 fi
16563
16564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16565 $as_echo "$glibcxx_cv_c99_math" >&6; }
16566 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16567
16568 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16569
16570 fi
16571
16572 # Check for the existence of <complex.h> complex math functions.
16573 # This is necessary even though libstdc++ uses the builtin versions
16574 # of these functions, because if the builtin cannot be used, a reference
16575 # to the library function is emitted.
16576 for ac_header in tgmath.h
16577 do :
16578 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16579 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16580 cat >>confdefs.h <<_ACEOF
16581 #define HAVE_TGMATH_H 1
16582 _ACEOF
16583 ac_has_tgmath_h=yes
16584 else
16585 ac_has_tgmath_h=no
16586 fi
16587
16588 done
16589
16590 for ac_header in complex.h
16591 do :
16592 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16593 if test "x$ac_cv_header_complex_h" = x""yes; then :
16594 cat >>confdefs.h <<_ACEOF
16595 #define HAVE_COMPLEX_H 1
16596 _ACEOF
16597 ac_has_complex_h=yes
16598 else
16599 ac_has_complex_h=no
16600 fi
16601
16602 done
16603
16604 glibcxx_cv_c99_complex=no;
16605 if test x"$ac_has_complex_h" = x"yes"; then
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16607 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16608 if test x$gcc_no_link = xyes; then
16609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16610 /* end confdefs.h. */
16611 #include <complex.h>
16612 typedef __complex__ float float_type;
16613 typedef __complex__ double double_type;
16614 typedef __complex__ long double ld_type;
16615 volatile float_type tmpf;
16616 volatile double_type tmpd;
16617 volatile ld_type tmpld;
16618 volatile float f;
16619 volatile double d;
16620 volatile long double ld;
16621 int
16622 main ()
16623 {
16624 f = cabsf(tmpf);
16625 f = cargf(tmpf);
16626 tmpf = ccosf(tmpf);
16627 tmpf = ccoshf(tmpf);
16628 tmpf = cexpf(tmpf);
16629 tmpf = clogf(tmpf);
16630 tmpf = csinf(tmpf);
16631 tmpf = csinhf(tmpf);
16632 tmpf = csqrtf(tmpf);
16633 tmpf = ctanf(tmpf);
16634 tmpf = ctanhf(tmpf);
16635 tmpf = cpowf(tmpf, tmpf);
16636 tmpf = cprojf(tmpf);
16637 d = cabs(tmpd);
16638 d = carg(tmpd);
16639 tmpd = ccos(tmpd);
16640 tmpd = ccosh(tmpd);
16641 tmpd = cexp(tmpd);
16642 tmpd = clog(tmpd);
16643 tmpd = csin(tmpd);
16644 tmpd = csinh(tmpd);
16645 tmpd = csqrt(tmpd);
16646 tmpd = ctan(tmpd);
16647 tmpd = ctanh(tmpd);
16648 tmpd = cpow(tmpd, tmpd);
16649 tmpd = cproj(tmpd);
16650 ld = cabsl(tmpld);
16651 ld = cargl(tmpld);
16652 tmpld = ccosl(tmpld);
16653 tmpld = ccoshl(tmpld);
16654 tmpld = cexpl(tmpld);
16655 tmpld = clogl(tmpld);
16656 tmpld = csinl(tmpld);
16657 tmpld = csinhl(tmpld);
16658 tmpld = csqrtl(tmpld);
16659 tmpld = ctanl(tmpld);
16660 tmpld = ctanhl(tmpld);
16661 tmpld = cpowl(tmpld, tmpld);
16662 tmpld = cprojl(tmpld);
16663
16664 ;
16665 return 0;
16666 }
16667 _ACEOF
16668 if ac_fn_cxx_try_compile "$LINENO"; then :
16669 glibcxx_cv_c99_complex=yes
16670 else
16671 glibcxx_cv_c99_complex=no
16672 fi
16673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16674 else
16675 if test x$gcc_no_link = xyes; then
16676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16677 fi
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #include <complex.h>
16681 typedef __complex__ float float_type;
16682 typedef __complex__ double double_type;
16683 typedef __complex__ long double ld_type;
16684 volatile float_type tmpf;
16685 volatile double_type tmpd;
16686 volatile ld_type tmpld;
16687 volatile float f;
16688 volatile double d;
16689 volatile long double ld;
16690 int
16691 main ()
16692 {
16693 f = cabsf(tmpf);
16694 f = cargf(tmpf);
16695 tmpf = ccosf(tmpf);
16696 tmpf = ccoshf(tmpf);
16697 tmpf = cexpf(tmpf);
16698 tmpf = clogf(tmpf);
16699 tmpf = csinf(tmpf);
16700 tmpf = csinhf(tmpf);
16701 tmpf = csqrtf(tmpf);
16702 tmpf = ctanf(tmpf);
16703 tmpf = ctanhf(tmpf);
16704 tmpf = cpowf(tmpf, tmpf);
16705 tmpf = cprojf(tmpf);
16706 d = cabs(tmpd);
16707 d = carg(tmpd);
16708 tmpd = ccos(tmpd);
16709 tmpd = ccosh(tmpd);
16710 tmpd = cexp(tmpd);
16711 tmpd = clog(tmpd);
16712 tmpd = csin(tmpd);
16713 tmpd = csinh(tmpd);
16714 tmpd = csqrt(tmpd);
16715 tmpd = ctan(tmpd);
16716 tmpd = ctanh(tmpd);
16717 tmpd = cpow(tmpd, tmpd);
16718 tmpd = cproj(tmpd);
16719 ld = cabsl(tmpld);
16720 ld = cargl(tmpld);
16721 tmpld = ccosl(tmpld);
16722 tmpld = ccoshl(tmpld);
16723 tmpld = cexpl(tmpld);
16724 tmpld = clogl(tmpld);
16725 tmpld = csinl(tmpld);
16726 tmpld = csinhl(tmpld);
16727 tmpld = csqrtl(tmpld);
16728 tmpld = ctanl(tmpld);
16729 tmpld = ctanhl(tmpld);
16730 tmpld = cpowl(tmpld, tmpld);
16731 tmpld = cprojl(tmpld);
16732
16733 ;
16734 return 0;
16735 }
16736 _ACEOF
16737 if ac_fn_cxx_try_link "$LINENO"; then :
16738 glibcxx_cv_c99_complex=yes
16739 else
16740 glibcxx_cv_c99_complex=no
16741 fi
16742 rm -f core conftest.err conftest.$ac_objext \
16743 conftest$ac_exeext conftest.$ac_ext
16744 fi
16745 fi
16746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16747 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16748 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16749
16750 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16751
16752 fi
16753
16754 # Check for the existence in <stdio.h> of vscanf, et. al.
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16756 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16757 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16758 $as_echo_n "(cached) " >&6
16759 else
16760
16761 if test x$gcc_no_link = xyes; then
16762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16763 /* end confdefs.h. */
16764 #include <stdio.h>
16765 #include <stdarg.h>
16766 void foo(char* fmt, ...)
16767 {
16768 va_list args; va_start(args, fmt);
16769 vfscanf(stderr, "%i", args);
16770 vscanf("%i", args);
16771 vsnprintf(fmt, 0, "%i", args);
16772 vsscanf(fmt, "%i", args);
16773 }
16774 int
16775 main ()
16776 {
16777 snprintf("12", 0, "%i");
16778 ;
16779 return 0;
16780 }
16781 _ACEOF
16782 if ac_fn_cxx_try_compile "$LINENO"; then :
16783 glibcxx_cv_c99_stdio=yes
16784 else
16785 glibcxx_cv_c99_stdio=no
16786 fi
16787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16788 else
16789 if test x$gcc_no_link = xyes; then
16790 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16791 fi
16792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16793 /* end confdefs.h. */
16794 #include <stdio.h>
16795 #include <stdarg.h>
16796 void foo(char* fmt, ...)
16797 {
16798 va_list args; va_start(args, fmt);
16799 vfscanf(stderr, "%i", args);
16800 vscanf("%i", args);
16801 vsnprintf(fmt, 0, "%i", args);
16802 vsscanf(fmt, "%i", args);
16803 }
16804 int
16805 main ()
16806 {
16807 snprintf("12", 0, "%i");
16808 ;
16809 return 0;
16810 }
16811 _ACEOF
16812 if ac_fn_cxx_try_link "$LINENO"; then :
16813 glibcxx_cv_c99_stdio=yes
16814 else
16815 glibcxx_cv_c99_stdio=no
16816 fi
16817 rm -f core conftest.err conftest.$ac_objext \
16818 conftest$ac_exeext conftest.$ac_ext
16819 fi
16820
16821 fi
16822
16823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16824 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16825
16826 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16828 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16829 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16830 $as_echo_n "(cached) " >&6
16831 else
16832
16833 if test x$gcc_no_link = xyes; then
16834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16835 /* end confdefs.h. */
16836 #include <stdlib.h>
16837 volatile float f;
16838 volatile long double ld;
16839 volatile unsigned long long ll;
16840 lldiv_t mydivt;
16841 int
16842 main ()
16843 {
16844 char* tmp;
16845 f = strtof("gnu", &tmp);
16846 ld = strtold("gnu", &tmp);
16847 ll = strtoll("gnu", &tmp, 10);
16848 ll = strtoull("gnu", &tmp, 10);
16849 ll = llabs(10);
16850 mydivt = lldiv(10,1);
16851 ll = mydivt.quot;
16852 ll = mydivt.rem;
16853 ll = atoll("10");
16854 _Exit(0);
16855
16856 ;
16857 return 0;
16858 }
16859 _ACEOF
16860 if ac_fn_cxx_try_compile "$LINENO"; then :
16861 glibcxx_cv_c99_stdlib=yes
16862 else
16863 glibcxx_cv_c99_stdlib=no
16864 fi
16865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16866 else
16867 if test x$gcc_no_link = xyes; then
16868 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16869 fi
16870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16871 /* end confdefs.h. */
16872 #include <stdlib.h>
16873 volatile float f;
16874 volatile long double ld;
16875 volatile unsigned long long ll;
16876 lldiv_t mydivt;
16877 int
16878 main ()
16879 {
16880 char* tmp;
16881 f = strtof("gnu", &tmp);
16882 ld = strtold("gnu", &tmp);
16883 ll = strtoll("gnu", &tmp, 10);
16884 ll = strtoull("gnu", &tmp, 10);
16885 ll = llabs(10);
16886 mydivt = lldiv(10,1);
16887 ll = mydivt.quot;
16888 ll = mydivt.rem;
16889 ll = atoll("10");
16890 _Exit(0);
16891
16892 ;
16893 return 0;
16894 }
16895 _ACEOF
16896 if ac_fn_cxx_try_link "$LINENO"; then :
16897 glibcxx_cv_c99_stdlib=yes
16898 else
16899 glibcxx_cv_c99_stdlib=no
16900 fi
16901 rm -f core conftest.err conftest.$ac_objext \
16902 conftest$ac_exeext conftest.$ac_ext
16903 fi
16904
16905 fi
16906
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
16908 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
16909
16910 # Check for the existence in <wchar.h> of wcstold, etc.
16911 glibcxx_cv_c99_wchar=no;
16912 if test x"$ac_has_wchar_h" = xyes &&
16913 test x"$ac_has_wctype_h" = xyes; then
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
16915 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
16916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16917 /* end confdefs.h. */
16918 #include <wchar.h>
16919 namespace test
16920 {
16921 using ::wcstold;
16922 using ::wcstoll;
16923 using ::wcstoull;
16924 }
16925
16926 int
16927 main ()
16928 {
16929
16930 ;
16931 return 0;
16932 }
16933 _ACEOF
16934 if ac_fn_cxx_try_compile "$LINENO"; then :
16935 glibcxx_cv_c99_wchar=yes
16936 else
16937 glibcxx_cv_c99_wchar=no
16938 fi
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16940
16941 # Checks for wide character functions that may not be present.
16942 # Injection of these is wrapped with guard macros.
16943 # NB: only put functions here, instead of immediately above, if
16944 # absolutely necessary.
16945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16946 /* end confdefs.h. */
16947 #include <wchar.h>
16948 namespace test { using ::vfwscanf; }
16949 int
16950 main ()
16951 {
16952
16953 ;
16954 return 0;
16955 }
16956 _ACEOF
16957 if ac_fn_cxx_try_compile "$LINENO"; then :
16958
16959 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
16960
16961 fi
16962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16963
16964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16965 /* end confdefs.h. */
16966 #include <wchar.h>
16967 namespace test { using ::vswscanf; }
16968 int
16969 main ()
16970 {
16971
16972 ;
16973 return 0;
16974 }
16975 _ACEOF
16976 if ac_fn_cxx_try_compile "$LINENO"; then :
16977
16978 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
16979
16980 fi
16981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16982
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 #include <wchar.h>
16986 namespace test { using ::vwscanf; }
16987 int
16988 main ()
16989 {
16990
16991 ;
16992 return 0;
16993 }
16994 _ACEOF
16995 if ac_fn_cxx_try_compile "$LINENO"; then :
16996
16997 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
16998
16999 fi
17000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17001
17002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17003 /* end confdefs.h. */
17004 #include <wchar.h>
17005 namespace test { using ::wcstof; }
17006 int
17007 main ()
17008 {
17009
17010 ;
17011 return 0;
17012 }
17013 _ACEOF
17014 if ac_fn_cxx_try_compile "$LINENO"; then :
17015
17016 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17017
17018 fi
17019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17020
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #include <wctype.h>
17024 int
17025 main ()
17026 {
17027 wint_t t; int i = iswblank(t);
17028 ;
17029 return 0;
17030 }
17031 _ACEOF
17032 if ac_fn_cxx_try_compile "$LINENO"; then :
17033
17034 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17035
17036 fi
17037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17038
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17040 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17041 fi
17042
17043 # Option parsed, now set things appropriately.
17044 if test x"$glibcxx_cv_c99_math" = x"no" ||
17045 test x"$glibcxx_cv_c99_complex" = x"no" ||
17046 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17047 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17048 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17049 enable_c99=no;
17050 else
17051
17052 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17053
17054 fi
17055
17056 gcc_no_link="$ac_save_gcc_no_link"
17057 LIBS="$ac_save_LIBS"
17058 CXXFLAGS="$ac_save_CXXFLAGS"
17059 ac_ext=c
17060 ac_cpp='$CPP $CPPFLAGS'
17061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17064
17065 fi
17066
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17068 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17070 $as_echo "$enable_c99" >&6; }
17071
17072
17073 # Check whether --enable-concept-checks was given.
17074 if test "${enable_concept_checks+set}" = set; then :
17075 enableval=$enable_concept_checks;
17076 case "$enableval" in
17077 yes|no) ;;
17078 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17079 esac
17080
17081 else
17082 enable_concept_checks=no
17083 fi
17084
17085
17086 if test $enable_concept_checks = yes; then
17087
17088 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17089
17090 fi
17091
17092
17093 # Check whether --enable-libstdcxx-debug-flags was given.
17094 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17095 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17096 xno | x) enable_libstdcxx_debug_flags= ;;
17097 x-*) ;;
17098 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17099 esac
17100 else
17101 enable_libstdcxx_debug_flags="-g3 -O0"
17102 fi
17103
17104
17105
17106 # Option parsed, now set things appropriately
17107 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17108
17109
17110 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17111 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17112
17113
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17115 $as_echo_n "checking for additional debug build... " >&6; }
17116 # Check whether --enable-libstdcxx-debug was given.
17117 if test "${enable_libstdcxx_debug+set}" = set; then :
17118 enableval=$enable_libstdcxx_debug;
17119 case "$enableval" in
17120 yes|no) ;;
17121 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17122 esac
17123
17124 else
17125 enable_libstdcxx_debug=no
17126 fi
17127
17128
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17130 $as_echo "$enable_libstdcxx_debug" >&6; }
17131
17132
17133
17134
17135 enable_parallel=no;
17136
17137 # See if configured libgomp/omp.h exists. (libgomp may be in
17138 # noconfigdirs but not explicitly disabled.)
17139 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17140 enable_parallel=yes;
17141 else
17142 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17143 $as_echo "$as_me: target-libgomp not built" >&6;}
17144 fi
17145
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17147 $as_echo_n "checking for parallel mode support... " >&6; }
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17149 $as_echo "$enable_parallel" >&6; }
17150
17151
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17153 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17154 # Check whether --enable-cxx-flags was given.
17155 if test "${enable_cxx_flags+set}" = set; then :
17156 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17157 xno | x) enable_cxx_flags= ;;
17158 x-*) ;;
17159 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17160 esac
17161 else
17162 enable_cxx_flags=
17163 fi
17164
17165
17166
17167 # Run through flags (either default or command-line) and set anything
17168 # extra (e.g., #defines) that must accompany particular g++ options.
17169 if test -n "$enable_cxx_flags"; then
17170 for f in $enable_cxx_flags; do
17171 case "$f" in
17172 -fhonor-std) ;;
17173 -*) ;;
17174 *) # and we're trying to pass /what/ exactly?
17175 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17176 esac
17177 done
17178 fi
17179
17180 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17182 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17183
17184
17185
17186 # Check whether --enable-fully-dynamic-string was given.
17187 if test "${enable_fully_dynamic_string+set}" = set; then :
17188 enableval=$enable_fully_dynamic_string;
17189 case "$enableval" in
17190 yes|no) ;;
17191 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17192 esac
17193
17194 else
17195 enable_fully_dynamic_string=no
17196 fi
17197
17198
17199 if test $enable_fully_dynamic_string = yes; then
17200 enable_fully_dynamic_string_def=1
17201 else
17202 enable_fully_dynamic_string_def=0
17203 fi
17204
17205 cat >>confdefs.h <<_ACEOF
17206 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17207 _ACEOF
17208
17209
17210
17211
17212 # Check whether --enable-extern-template was given.
17213 if test "${enable_extern_template+set}" = set; then :
17214 enableval=$enable_extern_template;
17215 case "$enableval" in
17216 yes|no) ;;
17217 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17218 esac
17219
17220 else
17221 enable_extern_template=yes
17222 fi
17223
17224
17225
17226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17227 $as_echo_n "checking for extern template support... " >&6; }
17228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17229 $as_echo "$enable_extern_template" >&6; }
17230
17231
17232
17233
17234 # Checks for operating systems support that doesn't require linking.
17235
17236
17237
17238 ac_ext=cpp
17239 ac_cpp='$CXXCPP $CPPFLAGS'
17240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17243
17244
17245 case "$host" in
17246 *-*-solaris2.*)
17247 # Solaris 8 FCS only had an overload for double std::abs(double) in
17248 # <iso/math_iso.h>. Patches 111721-04 (SPARC) and 112757-01 (x86)
17249 # introduced the full set also found from Solaris 9 onwards.
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float std::abs(float) overload" >&5
17251 $as_echo_n "checking for float std::abs(float) overload... " >&6; }
17252 if test "${glibcxx_cv_abs_float+set}" = set; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17258 #include <math.h>
17259 namespace std {
17260 inline float abs(float __x)
17261 { return __builtin_fabsf(__x); }
17262 }
17263
17264 _ACEOF
17265 if ac_fn_cxx_try_compile "$LINENO"; then :
17266 glibcxx_cv_abs_float=no
17267 else
17268 glibcxx_cv_abs_float=yes
17269
17270 fi
17271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17272 fi
17273
17274
17275 # autoheader cannot handle indented templates.
17276
17277
17278
17279 if test $glibcxx_cv_abs_float = yes; then
17280 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO1 1" >>confdefs.h
17281
17282 else
17283 $as_echo "#define __CORRECT_ISO_CPP_MATH_H_PROTO2 1" >>confdefs.h
17284
17285 fi
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_float" >&5
17287 $as_echo "$glibcxx_cv_abs_float" >&6; }
17288 ;;
17289 esac
17290
17291 ac_ext=c
17292 ac_cpp='$CPP $CPPFLAGS'
17293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17296
17297
17298
17299
17300
17301 ac_ext=cpp
17302 ac_cpp='$CXXCPP $CPPFLAGS'
17303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17306
17307
17308 case "$host" in
17309 *-*-solaris2.*)
17310 # Solaris 8 FCS lacked the overloads for long std::abs(long) and
17311 # ldiv_t std::div(long, long) in <iso/stdlib_iso.h>. Patches 109607-02
17312 # (SPARC) and 109608-02 (x86) introduced them.
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long std::abs(long) overload" >&5
17314 $as_echo_n "checking for long std::abs(long) overload... " >&6; }
17315 if test "${glibcxx_cv_abs_long+set}" = set; then :
17316 $as_echo_n "(cached) " >&6
17317 else
17318
17319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17320 /* end confdefs.h. */
17321 #include <stdlib.h>
17322 namespace std {
17323 inline long
17324 abs(long __i) { return labs(__i); }
17325 }
17326
17327 _ACEOF
17328 if ac_fn_cxx_try_compile "$LINENO"; then :
17329 glibcxx_cv_abs_long=no
17330 else
17331 glibcxx_cv_abs_long=yes
17332
17333 fi
17334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17335 fi
17336
17337
17338 # autoheader cannot handle indented templates.
17339
17340 if test $glibcxx_cv_abs_long = yes; then
17341 $as_echo "#define __CORRECT_ISO_CPP_STDLIB_H_PROTO 1" >>confdefs.h
17342
17343 fi
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_abs_long" >&5
17345 $as_echo "$glibcxx_cv_abs_long" >&6; }
17346 ;;
17347 esac
17348
17349 ac_ext=c
17350 ac_cpp='$CPP $CPPFLAGS'
17351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17354
17355
17356
17357
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17359 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17360 if test "${glibcxx_cv_system_error1+set}" = set; then :
17361 $as_echo_n "(cached) " >&6
17362 else
17363
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17366 #include <errno.h>
17367 int
17368 main ()
17369 {
17370 int i = EOWNERDEAD;
17371 ;
17372 return 0;
17373 }
17374 _ACEOF
17375 if ac_fn_c_try_compile "$LINENO"; then :
17376 glibcxx_cv_system_error1=yes
17377 else
17378 glibcxx_cv_system_error1=no
17379 fi
17380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17381
17382 fi
17383
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17385 $as_echo "$glibcxx_cv_system_error1" >&6; }
17386 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17387
17388 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17389
17390 fi
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17392 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17393 if test "${glibcxx_cv_system_error2+set}" = set; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17396
17397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17398 /* end confdefs.h. */
17399 #include <errno.h>
17400 int
17401 main ()
17402 {
17403 int i = ENOTRECOVERABLE;
17404 ;
17405 return 0;
17406 }
17407 _ACEOF
17408 if ac_fn_c_try_compile "$LINENO"; then :
17409 glibcxx_cv_system_error2=yes
17410 else
17411 glibcxx_cv_system_error2=no
17412 fi
17413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17414
17415 fi
17416
17417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17418 $as_echo "$glibcxx_cv_system_error2" >&6; }
17419 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17420
17421 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17422
17423 fi
17424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17425 $as_echo_n "checking for ENOLINK... " >&6; }
17426 if test "${glibcxx_cv_system_error3+set}" = set; then :
17427 $as_echo_n "(cached) " >&6
17428 else
17429
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 #include <errno.h>
17433 int
17434 main ()
17435 {
17436 int i = ENOLINK;
17437 ;
17438 return 0;
17439 }
17440 _ACEOF
17441 if ac_fn_c_try_compile "$LINENO"; then :
17442 glibcxx_cv_system_error3=yes
17443 else
17444 glibcxx_cv_system_error3=no
17445 fi
17446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17447
17448 fi
17449
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17451 $as_echo "$glibcxx_cv_system_error3" >&6; }
17452 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17453
17454 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17455
17456 fi
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17458 $as_echo_n "checking for EPROTO... " >&6; }
17459 if test "${glibcxx_cv_system_error4+set}" = set; then :
17460 $as_echo_n "(cached) " >&6
17461 else
17462
17463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17464 /* end confdefs.h. */
17465 #include <errno.h>
17466 int
17467 main ()
17468 {
17469 int i = EPROTO;
17470 ;
17471 return 0;
17472 }
17473 _ACEOF
17474 if ac_fn_c_try_compile "$LINENO"; then :
17475 glibcxx_cv_system_error4=yes
17476 else
17477 glibcxx_cv_system_error4=no
17478 fi
17479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17480
17481 fi
17482
17483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17484 $as_echo "$glibcxx_cv_system_error4" >&6; }
17485 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17486
17487 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17488
17489 fi
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17491 $as_echo_n "checking for ENODATA... " >&6; }
17492 if test "${glibcxx_cv_system_error5+set}" = set; then :
17493 $as_echo_n "(cached) " >&6
17494 else
17495
17496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17497 /* end confdefs.h. */
17498 #include <errno.h>
17499 int
17500 main ()
17501 {
17502 int i = ENODATA;
17503 ;
17504 return 0;
17505 }
17506 _ACEOF
17507 if ac_fn_c_try_compile "$LINENO"; then :
17508 glibcxx_cv_system_error5=yes
17509 else
17510 glibcxx_cv_system_error5=no
17511 fi
17512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17513
17514 fi
17515
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17517 $as_echo "$glibcxx_cv_system_error5" >&6; }
17518 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17519
17520 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17521
17522 fi
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17524 $as_echo_n "checking for ENOSR... " >&6; }
17525 if test "${glibcxx_cv_system_error6+set}" = set; then :
17526 $as_echo_n "(cached) " >&6
17527 else
17528
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 #include <errno.h>
17532 int
17533 main ()
17534 {
17535 int i = ENOSR;
17536 ;
17537 return 0;
17538 }
17539 _ACEOF
17540 if ac_fn_c_try_compile "$LINENO"; then :
17541 glibcxx_cv_system_error6=yes
17542 else
17543 glibcxx_cv_system_error6=no
17544 fi
17545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17546
17547 fi
17548
17549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17550 $as_echo "$glibcxx_cv_system_error6" >&6; }
17551 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17552
17553 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17554
17555 fi
17556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17557 $as_echo_n "checking for ENOSTR... " >&6; }
17558 if test "${glibcxx_cv_system_error7+set}" = set; then :
17559 $as_echo_n "(cached) " >&6
17560 else
17561
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 #include <errno.h>
17565 int
17566 main ()
17567 {
17568 int i = ENOSTR;
17569 ;
17570 return 0;
17571 }
17572 _ACEOF
17573 if ac_fn_c_try_compile "$LINENO"; then :
17574 glibcxx_cv_system_error7=yes
17575 else
17576 glibcxx_cv_system_error7=no
17577 fi
17578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17579
17580 fi
17581
17582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17583 $as_echo "$glibcxx_cv_system_error7" >&6; }
17584 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17585
17586 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17587
17588 fi
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17590 $as_echo_n "checking for ETIME... " >&6; }
17591 if test "${glibcxx_cv_system_error8+set}" = set; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17594
17595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17596 /* end confdefs.h. */
17597 #include <errno.h>
17598 int
17599 main ()
17600 {
17601 int i = ETIME;
17602 ;
17603 return 0;
17604 }
17605 _ACEOF
17606 if ac_fn_c_try_compile "$LINENO"; then :
17607 glibcxx_cv_system_error8=yes
17608 else
17609 glibcxx_cv_system_error8=no
17610 fi
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17612
17613 fi
17614
17615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17616 $as_echo "$glibcxx_cv_system_error8" >&6; }
17617 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17618
17619 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17620
17621 fi
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17623 $as_echo_n "checking for EBADMSG... " >&6; }
17624 if test "${glibcxx_cv_system_error9+set}" = set; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627
17628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17629 /* end confdefs.h. */
17630 #include <errno.h>
17631 int
17632 main ()
17633 {
17634 int i = EBADMSG;
17635 ;
17636 return 0;
17637 }
17638 _ACEOF
17639 if ac_fn_c_try_compile "$LINENO"; then :
17640 glibcxx_cv_system_error9=yes
17641 else
17642 glibcxx_cv_system_error9=no
17643 fi
17644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17645
17646 fi
17647
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17649 $as_echo "$glibcxx_cv_system_error9" >&6; }
17650 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17651
17652 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17653
17654 fi
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17656 $as_echo_n "checking for ECANCELED... " >&6; }
17657 if test "${glibcxx_cv_system_error10+set}" = set; then :
17658 $as_echo_n "(cached) " >&6
17659 else
17660
17661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17662 /* end confdefs.h. */
17663 #include <errno.h>
17664 int
17665 main ()
17666 {
17667 int i = ECANCELED;
17668 ;
17669 return 0;
17670 }
17671 _ACEOF
17672 if ac_fn_c_try_compile "$LINENO"; then :
17673 glibcxx_cv_system_error10=yes
17674 else
17675 glibcxx_cv_system_error10=no
17676 fi
17677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17678
17679 fi
17680
17681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17682 $as_echo "$glibcxx_cv_system_error10" >&6; }
17683 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17684
17685 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17686
17687 fi
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17689 $as_echo_n "checking for EOVERFLOW... " >&6; }
17690 if test "${glibcxx_cv_system_error11+set}" = set; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17693
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #include <errno.h>
17697 int
17698 main ()
17699 {
17700 int i = EOVERFLOW;
17701 ;
17702 return 0;
17703 }
17704 _ACEOF
17705 if ac_fn_c_try_compile "$LINENO"; then :
17706 glibcxx_cv_system_error11=yes
17707 else
17708 glibcxx_cv_system_error11=no
17709 fi
17710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17711
17712 fi
17713
17714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17715 $as_echo "$glibcxx_cv_system_error11" >&6; }
17716 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17717
17718 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17719
17720 fi
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17722 $as_echo_n "checking for ENOTSUP... " >&6; }
17723 if test "${glibcxx_cv_system_error12+set}" = set; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17726
17727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17728 /* end confdefs.h. */
17729 #include <errno.h>
17730 int
17731 main ()
17732 {
17733 int i = ENOTSUP;
17734 ;
17735 return 0;
17736 }
17737 _ACEOF
17738 if ac_fn_c_try_compile "$LINENO"; then :
17739 glibcxx_cv_system_error12=yes
17740 else
17741 glibcxx_cv_system_error12=no
17742 fi
17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17744
17745 fi
17746
17747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17748 $as_echo "$glibcxx_cv_system_error12" >&6; }
17749 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17750
17751 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17752
17753 fi
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17755 $as_echo_n "checking for EIDRM... " >&6; }
17756 if test "${glibcxx_cv_system_error13+set}" = set; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17759
17760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17761 /* end confdefs.h. */
17762 #include <errno.h>
17763 int
17764 main ()
17765 {
17766 int i = EIDRM;
17767 ;
17768 return 0;
17769 }
17770 _ACEOF
17771 if ac_fn_c_try_compile "$LINENO"; then :
17772 glibcxx_cv_system_error13=yes
17773 else
17774 glibcxx_cv_system_error13=no
17775 fi
17776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17777
17778 fi
17779
17780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17781 $as_echo "$glibcxx_cv_system_error13" >&6; }
17782 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17783
17784 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17785
17786 fi
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17788 $as_echo_n "checking for ETXTBSY... " >&6; }
17789 if test "${glibcxx_cv_system_error14+set}" = set; then :
17790 $as_echo_n "(cached) " >&6
17791 else
17792
17793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17794 /* end confdefs.h. */
17795 #include <errno.h>
17796 int
17797 main ()
17798 {
17799 int i = ETXTBSY;
17800 ;
17801 return 0;
17802 }
17803 _ACEOF
17804 if ac_fn_c_try_compile "$LINENO"; then :
17805 glibcxx_cv_system_error14=yes
17806 else
17807 glibcxx_cv_system_error14=no
17808 fi
17809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17810
17811 fi
17812
17813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17814 $as_echo "$glibcxx_cv_system_error14" >&6; }
17815 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17816
17817 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17818
17819 fi
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17821 $as_echo_n "checking for ECHILD... " >&6; }
17822 if test "${glibcxx_cv_system_error15+set}" = set; then :
17823 $as_echo_n "(cached) " >&6
17824 else
17825
17826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17827 /* end confdefs.h. */
17828 #include <errno.h>
17829 int
17830 main ()
17831 {
17832 int i = ECHILD;
17833 ;
17834 return 0;
17835 }
17836 _ACEOF
17837 if ac_fn_c_try_compile "$LINENO"; then :
17838 glibcxx_cv_system_error15=yes
17839 else
17840 glibcxx_cv_system_error15=no
17841 fi
17842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17843
17844 fi
17845
17846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17847 $as_echo "$glibcxx_cv_system_error15" >&6; }
17848 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17849
17850 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17851
17852 fi
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17854 $as_echo_n "checking for ENOSPC... " >&6; }
17855 if test "${glibcxx_cv_system_error16+set}" = set; then :
17856 $as_echo_n "(cached) " >&6
17857 else
17858
17859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17860 /* end confdefs.h. */
17861 #include <errno.h>
17862 int
17863 main ()
17864 {
17865 int i = ENOSPC;
17866 ;
17867 return 0;
17868 }
17869 _ACEOF
17870 if ac_fn_c_try_compile "$LINENO"; then :
17871 glibcxx_cv_system_error16=yes
17872 else
17873 glibcxx_cv_system_error16=no
17874 fi
17875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17876
17877 fi
17878
17879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17880 $as_echo "$glibcxx_cv_system_error16" >&6; }
17881 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17882
17883 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17884
17885 fi
17886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17887 $as_echo_n "checking for EPERM... " >&6; }
17888 if test "${glibcxx_cv_system_error17+set}" = set; then :
17889 $as_echo_n "(cached) " >&6
17890 else
17891
17892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17893 /* end confdefs.h. */
17894 #include <errno.h>
17895 int
17896 main ()
17897 {
17898 int i = EPERM;
17899 ;
17900 return 0;
17901 }
17902 _ACEOF
17903 if ac_fn_c_try_compile "$LINENO"; then :
17904 glibcxx_cv_system_error17=yes
17905 else
17906 glibcxx_cv_system_error17=no
17907 fi
17908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17909
17910 fi
17911
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17913 $as_echo "$glibcxx_cv_system_error17" >&6; }
17914 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17915
17916 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17917
17918 fi
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17920 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17921 if test "${glibcxx_cv_system_error18+set}" = set; then :
17922 $as_echo_n "(cached) " >&6
17923 else
17924
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17927 #include <errno.h>
17928 int
17929 main ()
17930 {
17931 int i = ETIMEDOUT;
17932 ;
17933 return 0;
17934 }
17935 _ACEOF
17936 if ac_fn_c_try_compile "$LINENO"; then :
17937 glibcxx_cv_system_error18=yes
17938 else
17939 glibcxx_cv_system_error18=no
17940 fi
17941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17942
17943 fi
17944
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
17946 $as_echo "$glibcxx_cv_system_error18" >&6; }
17947 if test x"$glibcxx_cv_system_error18" = x"yes"; then
17948
17949 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
17950
17951 fi
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
17953 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
17954 if test "${glibcxx_cv_system_error19+set}" = set; then :
17955 $as_echo_n "(cached) " >&6
17956 else
17957
17958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17959 /* end confdefs.h. */
17960 #include <errno.h>
17961 int
17962 main ()
17963 {
17964 int i = EWOULDBLOCK;
17965 ;
17966 return 0;
17967 }
17968 _ACEOF
17969 if ac_fn_c_try_compile "$LINENO"; then :
17970 glibcxx_cv_system_error19=yes
17971 else
17972 glibcxx_cv_system_error19=no
17973 fi
17974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17975
17976 fi
17977
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
17979 $as_echo "$glibcxx_cv_system_error19" >&6; }
17980 if test x"$glibcxx_cv_system_error19" = x"yes"; then
17981
17982 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
17983
17984 fi
17985
17986
17987
17988 # For the streamoff typedef.
17989
17990
17991
17992 ac_ext=cpp
17993 ac_cpp='$CXXCPP $CPPFLAGS'
17994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17997
17998
17999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18000 $as_echo_n "checking for int64_t... " >&6; }
18001 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18002 $as_echo_n "(cached) " >&6
18003 else
18004
18005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18006 /* end confdefs.h. */
18007 #include <stdint.h>
18008 int
18009 main ()
18010 {
18011 int64_t var;
18012 ;
18013 return 0;
18014 }
18015 _ACEOF
18016 if ac_fn_cxx_try_compile "$LINENO"; then :
18017 glibcxx_cv_INT64_T=yes
18018 else
18019 glibcxx_cv_INT64_T=no
18020 fi
18021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18022
18023 fi
18024
18025
18026 if test $glibcxx_cv_INT64_T = yes; then
18027
18028 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18029
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18031 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18032
18033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18034 $as_echo_n "checking for int64_t as long... " >&6; }
18035 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18036 $as_echo_n "(cached) " >&6
18037 else
18038
18039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18040 /* end confdefs.h. */
18041 #include <stdint.h>
18042 template<typename, typename> struct same { enum { value = -1 }; };
18043 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18044 int array[same<int64_t, long>::value];
18045 int
18046 main ()
18047 {
18048
18049 ;
18050 return 0;
18051 }
18052 _ACEOF
18053 if ac_fn_cxx_try_compile "$LINENO"; then :
18054 glibcxx_cv_int64_t_long=yes
18055 else
18056 glibcxx_cv_int64_t_long=no
18057 fi
18058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18059
18060 fi
18061
18062
18063 if test $glibcxx_cv_int64_t_long = yes; then
18064
18065 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18066
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18068 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18069 fi
18070
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18072 $as_echo_n "checking for int64_t as long long... " >&6; }
18073 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18074 $as_echo_n "(cached) " >&6
18075 else
18076
18077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18078 /* end confdefs.h. */
18079 #include <stdint.h>
18080 template<typename, typename> struct same { enum { value = -1 }; };
18081 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18082 int array[same<int64_t, long long>::value];
18083 int
18084 main ()
18085 {
18086
18087 ;
18088 return 0;
18089 }
18090 _ACEOF
18091 if ac_fn_cxx_try_compile "$LINENO"; then :
18092 glibcxx_cv_int64_t_long_long=yes
18093 else
18094 glibcxx_cv_int64_t_long_long=no
18095 fi
18096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18097
18098 fi
18099
18100
18101 if test $glibcxx_cv_int64_t_long_long = yes; then
18102
18103 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18104
18105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18106 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18107 fi
18108 fi
18109
18110 ac_ext=c
18111 ac_cpp='$CPP $CPPFLAGS'
18112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18115
18116
18117
18118 # For LFS support.
18119
18120
18121 ac_ext=cpp
18122 ac_cpp='$CXXCPP $CPPFLAGS'
18123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18126
18127 ac_save_CXXFLAGS="$CXXFLAGS"
18128 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18130 $as_echo_n "checking for LFS support... " >&6; }
18131 if test "${glibcxx_cv_LFS+set}" = set; then :
18132 $as_echo_n "(cached) " >&6
18133 else
18134
18135 if test x$gcc_no_link = xyes; then
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18138 #include <unistd.h>
18139 #include <stdio.h>
18140 #include <sys/stat.h>
18141
18142 int
18143 main ()
18144 {
18145 FILE* fp;
18146 fopen64("t", "w");
18147 fseeko64(fp, 0, SEEK_CUR);
18148 ftello64(fp);
18149 lseek64(1, 0, SEEK_CUR);
18150 struct stat64 buf;
18151 fstat64(1, &buf);
18152 ;
18153 return 0;
18154 }
18155 _ACEOF
18156 if ac_fn_cxx_try_compile "$LINENO"; then :
18157 glibcxx_cv_LFS=yes
18158 else
18159 glibcxx_cv_LFS=no
18160 fi
18161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18162 else
18163 if test x$gcc_no_link = xyes; then
18164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18165 fi
18166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18167 /* end confdefs.h. */
18168 #include <unistd.h>
18169 #include <stdio.h>
18170 #include <sys/stat.h>
18171
18172 int
18173 main ()
18174 {
18175 FILE* fp;
18176 fopen64("t", "w");
18177 fseeko64(fp, 0, SEEK_CUR);
18178 ftello64(fp);
18179 lseek64(1, 0, SEEK_CUR);
18180 struct stat64 buf;
18181 fstat64(1, &buf);
18182 ;
18183 return 0;
18184 }
18185 _ACEOF
18186 if ac_fn_cxx_try_link "$LINENO"; then :
18187 glibcxx_cv_LFS=yes
18188 else
18189 glibcxx_cv_LFS=no
18190 fi
18191 rm -f core conftest.err conftest.$ac_objext \
18192 conftest$ac_exeext conftest.$ac_ext
18193 fi
18194
18195 fi
18196
18197 if test $glibcxx_cv_LFS = yes; then
18198
18199 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18200
18201 fi
18202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18203 $as_echo "$glibcxx_cv_LFS" >&6; }
18204 CXXFLAGS="$ac_save_CXXFLAGS"
18205 ac_ext=c
18206 ac_cpp='$CPP $CPPFLAGS'
18207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18210
18211
18212
18213 # For showmanyc_helper().
18214 for ac_header in sys/ioctl.h sys/filio.h
18215 do :
18216 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18217 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18218 eval as_val=\$$as_ac_Header
18219 if test "x$as_val" = x""yes; then :
18220 cat >>confdefs.h <<_ACEOF
18221 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18222 _ACEOF
18223
18224 fi
18225
18226 done
18227
18228
18229
18230
18231 ac_ext=cpp
18232 ac_cpp='$CXXCPP $CPPFLAGS'
18233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18236
18237 ac_save_CXXFLAGS="$CXXFLAGS"
18238 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18239
18240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18241 $as_echo_n "checking for poll... " >&6; }
18242 if test "${glibcxx_cv_POLL+set}" = set; then :
18243 $as_echo_n "(cached) " >&6
18244 else
18245
18246 if test x$gcc_no_link = xyes; then
18247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18248 /* end confdefs.h. */
18249 #include <poll.h>
18250 int
18251 main ()
18252 {
18253 struct pollfd pfd[1];
18254 pfd[0].events = POLLIN;
18255 poll(pfd, 1, 0);
18256 ;
18257 return 0;
18258 }
18259 _ACEOF
18260 if ac_fn_cxx_try_compile "$LINENO"; then :
18261 glibcxx_cv_POLL=yes
18262 else
18263 glibcxx_cv_POLL=no
18264 fi
18265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18266 else
18267 if test x$gcc_no_link = xyes; then
18268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18269 fi
18270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18271 /* end confdefs.h. */
18272 #include <poll.h>
18273 int
18274 main ()
18275 {
18276 struct pollfd pfd[1];
18277 pfd[0].events = POLLIN;
18278 poll(pfd, 1, 0);
18279 ;
18280 return 0;
18281 }
18282 _ACEOF
18283 if ac_fn_cxx_try_link "$LINENO"; then :
18284 glibcxx_cv_POLL=yes
18285 else
18286 glibcxx_cv_POLL=no
18287 fi
18288 rm -f core conftest.err conftest.$ac_objext \
18289 conftest$ac_exeext conftest.$ac_ext
18290 fi
18291
18292 fi
18293
18294 if test $glibcxx_cv_POLL = yes; then
18295
18296 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18297
18298 fi
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18300 $as_echo "$glibcxx_cv_POLL" >&6; }
18301
18302 CXXFLAGS="$ac_save_CXXFLAGS"
18303 ac_ext=c
18304 ac_cpp='$CPP $CPPFLAGS'
18305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18308
18309
18310
18311
18312
18313 ac_ext=cpp
18314 ac_cpp='$CXXCPP $CPPFLAGS'
18315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18318
18319 ac_save_CXXFLAGS="$CXXFLAGS"
18320 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18321
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18323 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18324 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18325 $as_echo_n "(cached) " >&6
18326 else
18327
18328 if test x$gcc_no_link = xyes; then
18329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18330 /* end confdefs.h. */
18331 #include <sys/stat.h>
18332 int
18333 main ()
18334 {
18335 struct stat buffer;
18336 fstat(0, &buffer);
18337 S_ISREG(buffer.st_mode);
18338 ;
18339 return 0;
18340 }
18341 _ACEOF
18342 if ac_fn_cxx_try_compile "$LINENO"; then :
18343 glibcxx_cv_S_ISREG=yes
18344 else
18345 glibcxx_cv_S_ISREG=no
18346 fi
18347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18348 else
18349 if test x$gcc_no_link = xyes; then
18350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18351 fi
18352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18353 /* end confdefs.h. */
18354 #include <sys/stat.h>
18355 int
18356 main ()
18357 {
18358 struct stat buffer;
18359 fstat(0, &buffer);
18360 S_ISREG(buffer.st_mode);
18361 ;
18362 return 0;
18363 }
18364 _ACEOF
18365 if ac_fn_cxx_try_link "$LINENO"; then :
18366 glibcxx_cv_S_ISREG=yes
18367 else
18368 glibcxx_cv_S_ISREG=no
18369 fi
18370 rm -f core conftest.err conftest.$ac_objext \
18371 conftest$ac_exeext conftest.$ac_ext
18372 fi
18373
18374 fi
18375
18376 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18377 $as_echo_n "(cached) " >&6
18378 else
18379
18380 if test x$gcc_no_link = xyes; then
18381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18382 /* end confdefs.h. */
18383 #include <sys/stat.h>
18384 int
18385 main ()
18386 {
18387 struct stat buffer;
18388 fstat(0, &buffer);
18389 S_IFREG & buffer.st_mode;
18390 ;
18391 return 0;
18392 }
18393 _ACEOF
18394 if ac_fn_cxx_try_compile "$LINENO"; then :
18395 glibcxx_cv_S_IFREG=yes
18396 else
18397 glibcxx_cv_S_IFREG=no
18398 fi
18399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18400 else
18401 if test x$gcc_no_link = xyes; then
18402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18403 fi
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18406 #include <sys/stat.h>
18407 int
18408 main ()
18409 {
18410 struct stat buffer;
18411 fstat(0, &buffer);
18412 S_IFREG & buffer.st_mode;
18413 ;
18414 return 0;
18415 }
18416 _ACEOF
18417 if ac_fn_cxx_try_link "$LINENO"; then :
18418 glibcxx_cv_S_IFREG=yes
18419 else
18420 glibcxx_cv_S_IFREG=no
18421 fi
18422 rm -f core conftest.err conftest.$ac_objext \
18423 conftest$ac_exeext conftest.$ac_ext
18424 fi
18425
18426 fi
18427
18428 res=no
18429 if test $glibcxx_cv_S_ISREG = yes; then
18430
18431 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18432
18433 res=S_ISREG
18434 elif test $glibcxx_cv_S_IFREG = yes; then
18435
18436 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18437
18438 res=S_IFREG
18439 fi
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18441 $as_echo "$res" >&6; }
18442
18443 CXXFLAGS="$ac_save_CXXFLAGS"
18444 ac_ext=c
18445 ac_cpp='$CPP $CPPFLAGS'
18446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18449
18450
18451
18452 # For xsputn_2().
18453 for ac_header in sys/uio.h
18454 do :
18455 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18456 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18457 cat >>confdefs.h <<_ACEOF
18458 #define HAVE_SYS_UIO_H 1
18459 _ACEOF
18460
18461 fi
18462
18463 done
18464
18465
18466
18467
18468 ac_ext=cpp
18469 ac_cpp='$CXXCPP $CPPFLAGS'
18470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18473
18474 ac_save_CXXFLAGS="$CXXFLAGS"
18475 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18476
18477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18478 $as_echo_n "checking for writev... " >&6; }
18479 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18480 $as_echo_n "(cached) " >&6
18481 else
18482
18483 if test x$gcc_no_link = xyes; then
18484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18486 #include <sys/uio.h>
18487 int
18488 main ()
18489 {
18490 struct iovec iov[2];
18491 writev(0, iov, 0);
18492 ;
18493 return 0;
18494 }
18495 _ACEOF
18496 if ac_fn_cxx_try_compile "$LINENO"; then :
18497 glibcxx_cv_WRITEV=yes
18498 else
18499 glibcxx_cv_WRITEV=no
18500 fi
18501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18502 else
18503 if test x$gcc_no_link = xyes; then
18504 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18505 fi
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18508 #include <sys/uio.h>
18509 int
18510 main ()
18511 {
18512 struct iovec iov[2];
18513 writev(0, iov, 0);
18514 ;
18515 return 0;
18516 }
18517 _ACEOF
18518 if ac_fn_cxx_try_link "$LINENO"; then :
18519 glibcxx_cv_WRITEV=yes
18520 else
18521 glibcxx_cv_WRITEV=no
18522 fi
18523 rm -f core conftest.err conftest.$ac_objext \
18524 conftest$ac_exeext conftest.$ac_ext
18525 fi
18526
18527 fi
18528
18529 if test $glibcxx_cv_WRITEV = yes; then
18530
18531 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18532
18533 fi
18534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18535 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18536
18537 CXXFLAGS="$ac_save_CXXFLAGS"
18538 ac_ext=c
18539 ac_cpp='$CPP $CPPFLAGS'
18540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18543
18544
18545
18546 # For C99 support to TR1.
18547
18548
18549
18550 ac_ext=cpp
18551 ac_cpp='$CXXCPP $CPPFLAGS'
18552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18555
18556
18557 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18558 # undefined and fake C99 facilities may be spuriously enabled.
18559 ac_save_CXXFLAGS="$CXXFLAGS"
18560 CXXFLAGS="$CXXFLAGS -std=c++98"
18561
18562 # Check for the existence of <complex.h> complex math functions used
18563 # by tr1/complex.
18564 for ac_header in complex.h
18565 do :
18566 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18567 if test "x$ac_cv_header_complex_h" = x""yes; then :
18568 cat >>confdefs.h <<_ACEOF
18569 #define HAVE_COMPLEX_H 1
18570 _ACEOF
18571 ac_has_complex_h=yes
18572 else
18573 ac_has_complex_h=no
18574 fi
18575
18576 done
18577
18578 ac_c99_complex_tr1=no;
18579 if test x"$ac_has_complex_h" = x"yes"; then
18580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18581 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18583 /* end confdefs.h. */
18584 #include <complex.h>
18585 int
18586 main ()
18587 {
18588 typedef __complex__ float float_type; float_type tmpf;
18589 cacosf(tmpf);
18590 casinf(tmpf);
18591 catanf(tmpf);
18592 cacoshf(tmpf);
18593 casinhf(tmpf);
18594 catanhf(tmpf);
18595 typedef __complex__ double double_type; double_type tmpd;
18596 cacos(tmpd);
18597 casin(tmpd);
18598 catan(tmpd);
18599 cacosh(tmpd);
18600 casinh(tmpd);
18601 catanh(tmpd);
18602 typedef __complex__ long double ld_type; ld_type tmpld;
18603 cacosl(tmpld);
18604 casinl(tmpld);
18605 catanl(tmpld);
18606 cacoshl(tmpld);
18607 casinhl(tmpld);
18608 catanhl(tmpld);
18609
18610 ;
18611 return 0;
18612 }
18613 _ACEOF
18614 if ac_fn_cxx_try_compile "$LINENO"; then :
18615 ac_c99_complex_tr1=yes
18616 else
18617 ac_c99_complex_tr1=no
18618 fi
18619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18620 fi
18621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18622 $as_echo "$ac_c99_complex_tr1" >&6; }
18623 if test x"$ac_c99_complex_tr1" = x"yes"; then
18624
18625 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18626
18627 fi
18628
18629 # Check for the existence of <ctype.h> functions.
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18631 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18632 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18633 $as_echo_n "(cached) " >&6
18634 else
18635
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18637 /* end confdefs.h. */
18638 #include <ctype.h>
18639 int
18640 main ()
18641 {
18642 int ch;
18643 int ret;
18644 ret = isblank(ch);
18645
18646 ;
18647 return 0;
18648 }
18649 _ACEOF
18650 if ac_fn_cxx_try_compile "$LINENO"; then :
18651 glibcxx_cv_c99_ctype_tr1=yes
18652 else
18653 glibcxx_cv_c99_ctype_tr1=no
18654 fi
18655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18656
18657 fi
18658
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18660 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18661 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18662
18663 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18664
18665 fi
18666
18667 # Check for the existence of <fenv.h> functions.
18668 for ac_header in fenv.h
18669 do :
18670 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18671 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18672 cat >>confdefs.h <<_ACEOF
18673 #define HAVE_FENV_H 1
18674 _ACEOF
18675 ac_has_fenv_h=yes
18676 else
18677 ac_has_fenv_h=no
18678 fi
18679
18680 done
18681
18682 ac_c99_fenv_tr1=no;
18683 if test x"$ac_has_fenv_h" = x"yes"; then
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18685 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18687 /* end confdefs.h. */
18688 #include <fenv.h>
18689 int
18690 main ()
18691 {
18692 int except, mode;
18693 fexcept_t* pflag;
18694 fenv_t* penv;
18695 int ret;
18696 ret = feclearexcept(except);
18697 ret = fegetexceptflag(pflag, except);
18698 ret = feraiseexcept(except);
18699 ret = fesetexceptflag(pflag, except);
18700 ret = fetestexcept(except);
18701 ret = fegetround();
18702 ret = fesetround(mode);
18703 ret = fegetenv(penv);
18704 ret = feholdexcept(penv);
18705 ret = fesetenv(penv);
18706 ret = feupdateenv(penv);
18707
18708 ;
18709 return 0;
18710 }
18711 _ACEOF
18712 if ac_fn_cxx_try_compile "$LINENO"; then :
18713 ac_c99_fenv_tr1=yes
18714 else
18715 ac_c99_fenv_tr1=no
18716 fi
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718 fi
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18720 $as_echo "$ac_c99_fenv_tr1" >&6; }
18721 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18722
18723 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18724
18725 fi
18726
18727 # Check for the existence of <stdint.h> types.
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18729 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18730 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18731 $as_echo_n "(cached) " >&6
18732 else
18733
18734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18735 /* end confdefs.h. */
18736 #define __STDC_LIMIT_MACROS
18737 #define __STDC_CONSTANT_MACROS
18738 #include <stdint.h>
18739 int
18740 main ()
18741 {
18742 typedef int8_t my_int8_t;
18743 my_int8_t i8 = INT8_MIN;
18744 i8 = INT8_MAX;
18745 typedef int16_t my_int16_t;
18746 my_int16_t i16 = INT16_MIN;
18747 i16 = INT16_MAX;
18748 typedef int32_t my_int32_t;
18749 my_int32_t i32 = INT32_MIN;
18750 i32 = INT32_MAX;
18751 typedef int64_t my_int64_t;
18752 my_int64_t i64 = INT64_MIN;
18753 i64 = INT64_MAX;
18754 typedef int_fast8_t my_int_fast8_t;
18755 my_int_fast8_t if8 = INT_FAST8_MIN;
18756 if8 = INT_FAST8_MAX;
18757 typedef int_fast16_t my_int_fast16_t;
18758 my_int_fast16_t if16 = INT_FAST16_MIN;
18759 if16 = INT_FAST16_MAX;
18760 typedef int_fast32_t my_int_fast32_t;
18761 my_int_fast32_t if32 = INT_FAST32_MIN;
18762 if32 = INT_FAST32_MAX;
18763 typedef int_fast64_t my_int_fast64_t;
18764 my_int_fast64_t if64 = INT_FAST64_MIN;
18765 if64 = INT_FAST64_MAX;
18766 typedef int_least8_t my_int_least8_t;
18767 my_int_least8_t il8 = INT_LEAST8_MIN;
18768 il8 = INT_LEAST8_MAX;
18769 typedef int_least16_t my_int_least16_t;
18770 my_int_least16_t il16 = INT_LEAST16_MIN;
18771 il16 = INT_LEAST16_MAX;
18772 typedef int_least32_t my_int_least32_t;
18773 my_int_least32_t il32 = INT_LEAST32_MIN;
18774 il32 = INT_LEAST32_MAX;
18775 typedef int_least64_t my_int_least64_t;
18776 my_int_least64_t il64 = INT_LEAST64_MIN;
18777 il64 = INT_LEAST64_MAX;
18778 typedef intmax_t my_intmax_t;
18779 my_intmax_t im = INTMAX_MAX;
18780 im = INTMAX_MIN;
18781 typedef intptr_t my_intptr_t;
18782 my_intptr_t ip = INTPTR_MAX;
18783 ip = INTPTR_MIN;
18784 typedef uint8_t my_uint8_t;
18785 my_uint8_t ui8 = UINT8_MAX;
18786 ui8 = UINT8_MAX;
18787 typedef uint16_t my_uint16_t;
18788 my_uint16_t ui16 = UINT16_MAX;
18789 ui16 = UINT16_MAX;
18790 typedef uint32_t my_uint32_t;
18791 my_uint32_t ui32 = UINT32_MAX;
18792 ui32 = UINT32_MAX;
18793 typedef uint64_t my_uint64_t;
18794 my_uint64_t ui64 = UINT64_MAX;
18795 ui64 = UINT64_MAX;
18796 typedef uint_fast8_t my_uint_fast8_t;
18797 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18798 uif8 = UINT_FAST8_MAX;
18799 typedef uint_fast16_t my_uint_fast16_t;
18800 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18801 uif16 = UINT_FAST16_MAX;
18802 typedef uint_fast32_t my_uint_fast32_t;
18803 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18804 uif32 = UINT_FAST32_MAX;
18805 typedef uint_fast64_t my_uint_fast64_t;
18806 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18807 uif64 = UINT_FAST64_MAX;
18808 typedef uint_least8_t my_uint_least8_t;
18809 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18810 uil8 = UINT_LEAST8_MAX;
18811 typedef uint_least16_t my_uint_least16_t;
18812 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18813 uil16 = UINT_LEAST16_MAX;
18814 typedef uint_least32_t my_uint_least32_t;
18815 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18816 uil32 = UINT_LEAST32_MAX;
18817 typedef uint_least64_t my_uint_least64_t;
18818 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18819 uil64 = UINT_LEAST64_MAX;
18820 typedef uintmax_t my_uintmax_t;
18821 my_uintmax_t uim = UINTMAX_MAX;
18822 uim = UINTMAX_MAX;
18823 typedef uintptr_t my_uintptr_t;
18824 my_uintptr_t uip = UINTPTR_MAX;
18825 uip = UINTPTR_MAX;
18826
18827 ;
18828 return 0;
18829 }
18830 _ACEOF
18831 if ac_fn_cxx_try_compile "$LINENO"; then :
18832 glibcxx_cv_c99_stdint_tr1=yes
18833 else
18834 glibcxx_cv_c99_stdint_tr1=no
18835 fi
18836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18837
18838 fi
18839
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18841 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18842 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18843
18844 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18845
18846 fi
18847
18848 # Check for the existence of <math.h> functions.
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18850 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18851 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18852 $as_echo_n "(cached) " >&6
18853 else
18854
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 #include <math.h>
18858 int
18859 main ()
18860 {
18861 typedef double_t my_double_t;
18862 typedef float_t my_float_t;
18863 acosh(0.0);
18864 acoshf(0.0f);
18865 acoshl(0.0l);
18866 asinh(0.0);
18867 asinhf(0.0f);
18868 asinhl(0.0l);
18869 atanh(0.0);
18870 atanhf(0.0f);
18871 atanhl(0.0l);
18872 cbrt(0.0);
18873 cbrtf(0.0f);
18874 cbrtl(0.0l);
18875 copysign(0.0, 0.0);
18876 copysignf(0.0f, 0.0f);
18877 copysignl(0.0l, 0.0l);
18878 erf(0.0);
18879 erff(0.0f);
18880 erfl(0.0l);
18881 erfc(0.0);
18882 erfcf(0.0f);
18883 erfcl(0.0l);
18884 exp2(0.0);
18885 exp2f(0.0f);
18886 exp2l(0.0l);
18887 expm1(0.0);
18888 expm1f(0.0f);
18889 expm1l(0.0l);
18890 fdim(0.0, 0.0);
18891 fdimf(0.0f, 0.0f);
18892 fdiml(0.0l, 0.0l);
18893 fma(0.0, 0.0, 0.0);
18894 fmaf(0.0f, 0.0f, 0.0f);
18895 fmal(0.0l, 0.0l, 0.0l);
18896 fmax(0.0, 0.0);
18897 fmaxf(0.0f, 0.0f);
18898 fmaxl(0.0l, 0.0l);
18899 fmin(0.0, 0.0);
18900 fminf(0.0f, 0.0f);
18901 fminl(0.0l, 0.0l);
18902 hypot(0.0, 0.0);
18903 hypotf(0.0f, 0.0f);
18904 hypotl(0.0l, 0.0l);
18905 ilogb(0.0);
18906 ilogbf(0.0f);
18907 ilogbl(0.0l);
18908 lgamma(0.0);
18909 lgammaf(0.0f);
18910 lgammal(0.0l);
18911 llrint(0.0);
18912 llrintf(0.0f);
18913 llrintl(0.0l);
18914 llround(0.0);
18915 llroundf(0.0f);
18916 llroundl(0.0l);
18917 log1p(0.0);
18918 log1pf(0.0f);
18919 log1pl(0.0l);
18920 log2(0.0);
18921 log2f(0.0f);
18922 log2l(0.0l);
18923 logb(0.0);
18924 logbf(0.0f);
18925 logbl(0.0l);
18926 lrint(0.0);
18927 lrintf(0.0f);
18928 lrintl(0.0l);
18929 lround(0.0);
18930 lroundf(0.0f);
18931 lroundl(0.0l);
18932 nan(0);
18933 nanf(0);
18934 nanl(0);
18935 nearbyint(0.0);
18936 nearbyintf(0.0f);
18937 nearbyintl(0.0l);
18938 nextafter(0.0, 0.0);
18939 nextafterf(0.0f, 0.0f);
18940 nextafterl(0.0l, 0.0l);
18941 nexttoward(0.0, 0.0);
18942 nexttowardf(0.0f, 0.0f);
18943 nexttowardl(0.0l, 0.0l);
18944 remainder(0.0, 0.0);
18945 remainderf(0.0f, 0.0f);
18946 remainderl(0.0l, 0.0l);
18947 remquo(0.0, 0.0, 0);
18948 remquof(0.0f, 0.0f, 0);
18949 remquol(0.0l, 0.0l, 0);
18950 rint(0.0);
18951 rintf(0.0f);
18952 rintl(0.0l);
18953 round(0.0);
18954 roundf(0.0f);
18955 roundl(0.0l);
18956 scalbln(0.0, 0l);
18957 scalblnf(0.0f, 0l);
18958 scalblnl(0.0l, 0l);
18959 scalbn(0.0, 0);
18960 scalbnf(0.0f, 0);
18961 scalbnl(0.0l, 0);
18962 tgamma(0.0);
18963 tgammaf(0.0f);
18964 tgammal(0.0l);
18965 trunc(0.0);
18966 truncf(0.0f);
18967 truncl(0.0l);
18968
18969 ;
18970 return 0;
18971 }
18972 _ACEOF
18973 if ac_fn_cxx_try_compile "$LINENO"; then :
18974 glibcxx_cv_c99_math_tr1=yes
18975 else
18976 glibcxx_cv_c99_math_tr1=no
18977 fi
18978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18979
18980 fi
18981
18982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
18983 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
18984 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
18985
18986 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
18987
18988 fi
18989
18990 # Check for the existence of <inttypes.h> functions (NB: doesn't make
18991 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
18992 ac_c99_inttypes_tr1=no;
18993 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
18995 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
18996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18997 /* end confdefs.h. */
18998 #include <inttypes.h>
18999 int
19000 main ()
19001 {
19002 intmax_t i, numer, denom, base;
19003 const char* s;
19004 char** endptr;
19005 intmax_t ret = imaxabs(i);
19006 imaxdiv_t dret = imaxdiv(numer, denom);
19007 ret = strtoimax(s, endptr, base);
19008 uintmax_t uret = strtoumax(s, endptr, base);
19009
19010 ;
19011 return 0;
19012 }
19013 _ACEOF
19014 if ac_fn_cxx_try_compile "$LINENO"; then :
19015 ac_c99_inttypes_tr1=yes
19016 else
19017 ac_c99_inttypes_tr1=no
19018 fi
19019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19020 fi
19021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19022 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19023 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19024
19025 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19026
19027 fi
19028
19029 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19030 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19031 ac_c99_inttypes_wchar_t_tr1=no;
19032 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19034 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19036 /* end confdefs.h. */
19037 #include <inttypes.h>
19038 int
19039 main ()
19040 {
19041 intmax_t base;
19042 const wchar_t* s;
19043 wchar_t** endptr;
19044 intmax_t ret = wcstoimax(s, endptr, base);
19045 uintmax_t uret = wcstoumax(s, endptr, base);
19046
19047 ;
19048 return 0;
19049 }
19050 _ACEOF
19051 if ac_fn_cxx_try_compile "$LINENO"; then :
19052 ac_c99_inttypes_wchar_t_tr1=yes
19053 else
19054 ac_c99_inttypes_wchar_t_tr1=no
19055 fi
19056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19057 fi
19058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19059 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19060 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19061
19062 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19063
19064 fi
19065
19066 # Check for the existence of the <stdbool.h> header.
19067 for ac_header in stdbool.h
19068 do :
19069 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19070 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19071 cat >>confdefs.h <<_ACEOF
19072 #define HAVE_STDBOOL_H 1
19073 _ACEOF
19074
19075 fi
19076
19077 done
19078
19079
19080 # Check for the existence of the <stdalign.h> header.
19081 for ac_header in stdalign.h
19082 do :
19083 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19084 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STDALIGN_H 1
19087 _ACEOF
19088
19089 fi
19090
19091 done
19092
19093
19094 CXXFLAGS="$ac_save_CXXFLAGS"
19095 ac_ext=c
19096 ac_cpp='$CPP $CPPFLAGS'
19097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19100
19101
19102
19103 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19104
19105
19106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19107 $as_echo_n "checking for the value of EOF... " >&6; }
19108 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19109 $as_echo_n "(cached) " >&6
19110 else
19111
19112 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19113
19114 else
19115 as_fn_error "computing EOF failed" "$LINENO" 5
19116 fi
19117
19118
19119 fi
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19121 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19122
19123 cat >>confdefs.h <<_ACEOF
19124 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19125 _ACEOF
19126
19127
19128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19129 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19130 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19131 $as_echo_n "(cached) " >&6
19132 else
19133
19134 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19135
19136 else
19137 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19138 fi
19139
19140
19141 fi
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19143 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19144
19145 cat >>confdefs.h <<_ACEOF
19146 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19147 _ACEOF
19148
19149
19150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19151 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19152 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19153 $as_echo_n "(cached) " >&6
19154 else
19155
19156 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19157
19158 else
19159 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19160 fi
19161
19162
19163 fi
19164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19165 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19166
19167 cat >>confdefs.h <<_ACEOF
19168 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19169 _ACEOF
19170
19171
19172
19173 # For gettimeofday support.
19174
19175
19176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19177 $as_echo_n "checking for gettimeofday... " >&6; }
19178
19179
19180 ac_ext=cpp
19181 ac_cpp='$CXXCPP $CPPFLAGS'
19182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19185
19186 ac_save_CXXFLAGS="$CXXFLAGS"
19187 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19188
19189 ac_has_gettimeofday=no;
19190 for ac_header in sys/time.h
19191 do :
19192 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19193 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19194 cat >>confdefs.h <<_ACEOF
19195 #define HAVE_SYS_TIME_H 1
19196 _ACEOF
19197 ac_has_sys_time_h=yes
19198 else
19199 ac_has_sys_time_h=no
19200 fi
19201
19202 done
19203
19204 if test x"$ac_has_sys_time_h" = x"yes"; then
19205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19206 $as_echo_n "checking for gettimeofday... " >&6; }
19207 if test x$gcc_no_link = xyes; then
19208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19209 /* end confdefs.h. */
19210 #include <sys/time.h>
19211 int
19212 main ()
19213 {
19214 timeval tv; gettimeofday(&tv, 0);
19215 ;
19216 return 0;
19217 }
19218 _ACEOF
19219 if ac_fn_cxx_try_compile "$LINENO"; then :
19220 ac_has_gettimeofday=yes
19221 else
19222 ac_has_gettimeofday=no
19223 fi
19224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225 else
19226 if test x$gcc_no_link = xyes; then
19227 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19228 fi
19229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19230 /* end confdefs.h. */
19231 #include <sys/time.h>
19232 int
19233 main ()
19234 {
19235 timeval tv; gettimeofday(&tv, 0);
19236 ;
19237 return 0;
19238 }
19239 _ACEOF
19240 if ac_fn_cxx_try_link "$LINENO"; then :
19241 ac_has_gettimeofday=yes
19242 else
19243 ac_has_gettimeofday=no
19244 fi
19245 rm -f core conftest.err conftest.$ac_objext \
19246 conftest$ac_exeext conftest.$ac_ext
19247 fi
19248
19249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19250 $as_echo "$ac_has_gettimeofday" >&6; }
19251 fi
19252
19253 if test x"$ac_has_gettimeofday" = x"yes"; then
19254
19255 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19256
19257 fi
19258
19259 CXXFLAGS="$ac_save_CXXFLAGS"
19260 ac_ext=c
19261 ac_cpp='$CPP $CPPFLAGS'
19262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19265
19266
19267
19268 # For clock_gettime, nanosleep and sched_yield support.
19269 # NB: The default is [no], because otherwise it requires linking.
19270
19271
19272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19273 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19274 # Check whether --enable-libstdcxx-time was given.
19275 if test "${enable_libstdcxx_time+set}" = set; then :
19276 enableval=$enable_libstdcxx_time;
19277 case "$enableval" in
19278 yes|no|rt) ;;
19279 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19280 esac
19281
19282 else
19283 enable_libstdcxx_time=no
19284 fi
19285
19286
19287
19288
19289 ac_ext=cpp
19290 ac_cpp='$CXXCPP $CPPFLAGS'
19291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19294
19295 ac_save_CXXFLAGS="$CXXFLAGS"
19296 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19297 ac_save_LIBS="$LIBS"
19298
19299 ac_has_clock_monotonic=no
19300 ac_has_clock_realtime=no
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19302 $as_echo "$enable_libstdcxx_time" >&6; }
19303
19304 if test x"$enable_libstdcxx_time" != x"no"; then
19305
19306 if test x"$enable_libstdcxx_time" = x"rt"; then
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19308 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19309 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19310 $as_echo_n "(cached) " >&6
19311 else
19312 ac_func_search_save_LIBS=$LIBS
19313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19314 /* end confdefs.h. */
19315
19316 /* Override any GCC internal prototype to avoid an error.
19317 Use char because int might match the return type of a GCC
19318 builtin and then its argument prototype would still apply. */
19319 #ifdef __cplusplus
19320 extern "C"
19321 #endif
19322 char clock_gettime ();
19323 int
19324 main ()
19325 {
19326 return clock_gettime ();
19327 ;
19328 return 0;
19329 }
19330 _ACEOF
19331 for ac_lib in '' rt posix4; do
19332 if test -z "$ac_lib"; then
19333 ac_res="none required"
19334 else
19335 ac_res=-l$ac_lib
19336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19337 fi
19338 if test x$gcc_no_link = xyes; then
19339 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19340 fi
19341 if ac_fn_cxx_try_link "$LINENO"; then :
19342 ac_cv_search_clock_gettime=$ac_res
19343 fi
19344 rm -f core conftest.err conftest.$ac_objext \
19345 conftest$ac_exeext
19346 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19347 break
19348 fi
19349 done
19350 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19351
19352 else
19353 ac_cv_search_clock_gettime=no
19354 fi
19355 rm conftest.$ac_ext
19356 LIBS=$ac_func_search_save_LIBS
19357 fi
19358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19359 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19360 ac_res=$ac_cv_search_clock_gettime
19361 if test "$ac_res" != no; then :
19362 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19363
19364 fi
19365
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19367 $as_echo_n "checking for library containing nanosleep... " >&6; }
19368 if test "${ac_cv_search_nanosleep+set}" = set; then :
19369 $as_echo_n "(cached) " >&6
19370 else
19371 ac_func_search_save_LIBS=$LIBS
19372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19373 /* end confdefs.h. */
19374
19375 /* Override any GCC internal prototype to avoid an error.
19376 Use char because int might match the return type of a GCC
19377 builtin and then its argument prototype would still apply. */
19378 #ifdef __cplusplus
19379 extern "C"
19380 #endif
19381 char nanosleep ();
19382 int
19383 main ()
19384 {
19385 return nanosleep ();
19386 ;
19387 return 0;
19388 }
19389 _ACEOF
19390 for ac_lib in '' rt posix4; do
19391 if test -z "$ac_lib"; then
19392 ac_res="none required"
19393 else
19394 ac_res=-l$ac_lib
19395 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19396 fi
19397 if test x$gcc_no_link = xyes; then
19398 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19399 fi
19400 if ac_fn_cxx_try_link "$LINENO"; then :
19401 ac_cv_search_nanosleep=$ac_res
19402 fi
19403 rm -f core conftest.err conftest.$ac_objext \
19404 conftest$ac_exeext
19405 if test "${ac_cv_search_nanosleep+set}" = set; then :
19406 break
19407 fi
19408 done
19409 if test "${ac_cv_search_nanosleep+set}" = set; then :
19410
19411 else
19412 ac_cv_search_nanosleep=no
19413 fi
19414 rm conftest.$ac_ext
19415 LIBS=$ac_func_search_save_LIBS
19416 fi
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19418 $as_echo "$ac_cv_search_nanosleep" >&6; }
19419 ac_res=$ac_cv_search_nanosleep
19420 if test "$ac_res" != no; then :
19421 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19422
19423 fi
19424
19425 else
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19427 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19428 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19429 $as_echo_n "(cached) " >&6
19430 else
19431 ac_func_search_save_LIBS=$LIBS
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434
19435 /* Override any GCC internal prototype to avoid an error.
19436 Use char because int might match the return type of a GCC
19437 builtin and then its argument prototype would still apply. */
19438 #ifdef __cplusplus
19439 extern "C"
19440 #endif
19441 char clock_gettime ();
19442 int
19443 main ()
19444 {
19445 return clock_gettime ();
19446 ;
19447 return 0;
19448 }
19449 _ACEOF
19450 for ac_lib in '' posix4; do
19451 if test -z "$ac_lib"; then
19452 ac_res="none required"
19453 else
19454 ac_res=-l$ac_lib
19455 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19456 fi
19457 if test x$gcc_no_link = xyes; then
19458 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19459 fi
19460 if ac_fn_cxx_try_link "$LINENO"; then :
19461 ac_cv_search_clock_gettime=$ac_res
19462 fi
19463 rm -f core conftest.err conftest.$ac_objext \
19464 conftest$ac_exeext
19465 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19466 break
19467 fi
19468 done
19469 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19470
19471 else
19472 ac_cv_search_clock_gettime=no
19473 fi
19474 rm conftest.$ac_ext
19475 LIBS=$ac_func_search_save_LIBS
19476 fi
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19478 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19479 ac_res=$ac_cv_search_clock_gettime
19480 if test "$ac_res" != no; then :
19481 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19482
19483 fi
19484
19485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19486 $as_echo_n "checking for library containing nanosleep... " >&6; }
19487 if test "${ac_cv_search_nanosleep+set}" = set; then :
19488 $as_echo_n "(cached) " >&6
19489 else
19490 ac_func_search_save_LIBS=$LIBS
19491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19492 /* end confdefs.h. */
19493
19494 /* Override any GCC internal prototype to avoid an error.
19495 Use char because int might match the return type of a GCC
19496 builtin and then its argument prototype would still apply. */
19497 #ifdef __cplusplus
19498 extern "C"
19499 #endif
19500 char nanosleep ();
19501 int
19502 main ()
19503 {
19504 return nanosleep ();
19505 ;
19506 return 0;
19507 }
19508 _ACEOF
19509 for ac_lib in '' posix4; do
19510 if test -z "$ac_lib"; then
19511 ac_res="none required"
19512 else
19513 ac_res=-l$ac_lib
19514 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19515 fi
19516 if test x$gcc_no_link = xyes; then
19517 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19518 fi
19519 if ac_fn_cxx_try_link "$LINENO"; then :
19520 ac_cv_search_nanosleep=$ac_res
19521 fi
19522 rm -f core conftest.err conftest.$ac_objext \
19523 conftest$ac_exeext
19524 if test "${ac_cv_search_nanosleep+set}" = set; then :
19525 break
19526 fi
19527 done
19528 if test "${ac_cv_search_nanosleep+set}" = set; then :
19529
19530 else
19531 ac_cv_search_nanosleep=no
19532 fi
19533 rm conftest.$ac_ext
19534 LIBS=$ac_func_search_save_LIBS
19535 fi
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19537 $as_echo "$ac_cv_search_nanosleep" >&6; }
19538 ac_res=$ac_cv_search_nanosleep
19539 if test "$ac_res" != no; then :
19540 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19541
19542 fi
19543
19544 fi
19545
19546 case "$ac_cv_search_clock_gettime" in
19547 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19548 ;;
19549 esac
19550 case "$ac_cv_search_nanosleep" in
19551 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19552 ;;
19553 esac
19554
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19556 $as_echo_n "checking for library containing sched_yield... " >&6; }
19557 if test "${ac_cv_search_sched_yield+set}" = set; then :
19558 $as_echo_n "(cached) " >&6
19559 else
19560 ac_func_search_save_LIBS=$LIBS
19561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19562 /* end confdefs.h. */
19563
19564 /* Override any GCC internal prototype to avoid an error.
19565 Use char because int might match the return type of a GCC
19566 builtin and then its argument prototype would still apply. */
19567 #ifdef __cplusplus
19568 extern "C"
19569 #endif
19570 char sched_yield ();
19571 int
19572 main ()
19573 {
19574 return sched_yield ();
19575 ;
19576 return 0;
19577 }
19578 _ACEOF
19579 for ac_lib in '' rt posix4; do
19580 if test -z "$ac_lib"; then
19581 ac_res="none required"
19582 else
19583 ac_res=-l$ac_lib
19584 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19585 fi
19586 if test x$gcc_no_link = xyes; then
19587 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19588 fi
19589 if ac_fn_cxx_try_link "$LINENO"; then :
19590 ac_cv_search_sched_yield=$ac_res
19591 fi
19592 rm -f core conftest.err conftest.$ac_objext \
19593 conftest$ac_exeext
19594 if test "${ac_cv_search_sched_yield+set}" = set; then :
19595 break
19596 fi
19597 done
19598 if test "${ac_cv_search_sched_yield+set}" = set; then :
19599
19600 else
19601 ac_cv_search_sched_yield=no
19602 fi
19603 rm conftest.$ac_ext
19604 LIBS=$ac_func_search_save_LIBS
19605 fi
19606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19607 $as_echo "$ac_cv_search_sched_yield" >&6; }
19608 ac_res=$ac_cv_search_sched_yield
19609 if test "$ac_res" != no; then :
19610 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19611
19612 fi
19613
19614
19615 case "$ac_cv_search_sched_yield" in
19616 -lposix4*)
19617 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19618
19619 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19620
19621 ;;
19622 -lrt*)
19623 if test x"$enable_libstdcxx_time" = x"rt"; then
19624 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19625
19626 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19627
19628 fi
19629 ;;
19630 *)
19631
19632 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19633
19634 ;;
19635 esac
19636
19637 for ac_header in unistd.h
19638 do :
19639 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19640 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19641 cat >>confdefs.h <<_ACEOF
19642 #define HAVE_UNISTD_H 1
19643 _ACEOF
19644 ac_has_unistd_h=yes
19645 else
19646 ac_has_unistd_h=no
19647 fi
19648
19649 done
19650
19651
19652 if test x"$ac_has_unistd_h" = x"yes"; then
19653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19654 $as_echo_n "checking for monotonic clock... " >&6; }
19655 if test x$gcc_no_link = xyes; then
19656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19657 fi
19658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19659 /* end confdefs.h. */
19660 #include <unistd.h>
19661 #include <time.h>
19662
19663 int
19664 main ()
19665 {
19666 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19667 timespec tp;
19668 #endif
19669 clock_gettime(CLOCK_MONOTONIC, &tp);
19670
19671 ;
19672 return 0;
19673 }
19674 _ACEOF
19675 if ac_fn_cxx_try_link "$LINENO"; then :
19676 ac_has_clock_monotonic=yes
19677 else
19678 ac_has_clock_monotonic=no
19679 fi
19680 rm -f core conftest.err conftest.$ac_objext \
19681 conftest$ac_exeext conftest.$ac_ext
19682
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19684 $as_echo "$ac_has_clock_monotonic" >&6; }
19685
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19687 $as_echo_n "checking for realtime clock... " >&6; }
19688 if test x$gcc_no_link = xyes; then
19689 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19690 fi
19691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19692 /* end confdefs.h. */
19693 #include <unistd.h>
19694 #include <time.h>
19695
19696 int
19697 main ()
19698 {
19699 #if _POSIX_TIMERS > 0
19700 timespec tp;
19701 #endif
19702 clock_gettime(CLOCK_REALTIME, &tp);
19703
19704 ;
19705 return 0;
19706 }
19707 _ACEOF
19708 if ac_fn_cxx_try_link "$LINENO"; then :
19709 ac_has_clock_realtime=yes
19710 else
19711 ac_has_clock_realtime=no
19712 fi
19713 rm -f core conftest.err conftest.$ac_objext \
19714 conftest$ac_exeext conftest.$ac_ext
19715
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19717 $as_echo "$ac_has_clock_realtime" >&6; }
19718
19719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19720 $as_echo_n "checking for nanosleep... " >&6; }
19721 if test x$gcc_no_link = xyes; then
19722 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19723 fi
19724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19725 /* end confdefs.h. */
19726 #include <unistd.h>
19727 #include <time.h>
19728
19729 int
19730 main ()
19731 {
19732 #if _POSIX_TIMERS > 0
19733 timespec tp;
19734 #endif
19735 nanosleep(&tp, 0);
19736
19737 ;
19738 return 0;
19739 }
19740 _ACEOF
19741 if ac_fn_cxx_try_link "$LINENO"; then :
19742 ac_has_nanosleep=yes
19743 else
19744 ac_has_nanosleep=no
19745 fi
19746 rm -f core conftest.err conftest.$ac_objext \
19747 conftest$ac_exeext conftest.$ac_ext
19748
19749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19750 $as_echo "$ac_has_nanosleep" >&6; }
19751 fi
19752 fi
19753
19754 if test x"$ac_has_clock_monotonic" = x"yes"; then
19755
19756 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19757
19758 fi
19759
19760 if test x"$ac_has_clock_realtime" = x"yes"; then
19761
19762 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19763
19764 fi
19765
19766 if test x"$ac_has_nanosleep" = x"yes"; then
19767
19768 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19769
19770 fi
19771
19772
19773
19774 CXXFLAGS="$ac_save_CXXFLAGS"
19775 LIBS="$ac_save_LIBS"
19776 ac_ext=c
19777 ac_cpp='$CPP $CPPFLAGS'
19778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19781
19782
19783
19784 # For gthread support
19785
19786
19787 ac_ext=cpp
19788 ac_cpp='$CXXCPP $CPPFLAGS'
19789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19792
19793
19794 ac_save_CXXFLAGS="$CXXFLAGS"
19795 CXXFLAGS="$CXXFLAGS -fno-exceptions \
19796 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
19797
19798 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
19799 case $target_thread_file in
19800 posix)
19801 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
19802 esac
19803
19804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
19805 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
19806
19807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19808 /* end confdefs.h. */
19809 #include <unistd.h>
19810 int
19811 main ()
19812 {
19813
19814 // In case of POSIX threads check _POSIX_TIMEOUTS.
19815 #if (defined(_PTHREADS) \
19816 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
19817 #error
19818 #endif
19819
19820 ;
19821 return 0;
19822 }
19823 _ACEOF
19824 if ac_fn_cxx_try_compile "$LINENO"; then :
19825 ac_gthread_use_mutex_timedlock=1
19826 else
19827 ac_gthread_use_mutex_timedlock=0
19828 fi
19829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19830
19831
19832 cat >>confdefs.h <<_ACEOF
19833 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
19834 _ACEOF
19835
19836
19837 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
19838 else res_mutex_timedlock=no ; fi
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
19840 $as_echo "$res_mutex_timedlock" >&6; }
19841
19842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
19843 $as_echo_n "checking for gthreads library... " >&6; }
19844
19845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19846 /* end confdefs.h. */
19847 #include "gthr.h"
19848 int
19849 main ()
19850 {
19851
19852 #ifndef __GTHREADS_CXX0X
19853 #error
19854 #endif
19855
19856 ;
19857 return 0;
19858 }
19859 _ACEOF
19860 if ac_fn_cxx_try_compile "$LINENO"; then :
19861 ac_has_gthreads=yes
19862 else
19863 ac_has_gthreads=no
19864 fi
19865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19866
19867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
19868 $as_echo "$ac_has_gthreads" >&6; }
19869
19870 if test x"$ac_has_gthreads" = x"yes"; then
19871
19872 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
19873
19874 fi
19875
19876 CXXFLAGS="$ac_save_CXXFLAGS"
19877 ac_ext=c
19878 ac_cpp='$CPP $CPPFLAGS'
19879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19882
19883
19884
19885
19886 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19887 if test "x$ac_cv_header_locale_h" = x""yes; then :
19888
19889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19890 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19891 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19892 $as_echo_n "(cached) " >&6
19893 else
19894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19895 /* end confdefs.h. */
19896 #include <locale.h>
19897 int
19898 main ()
19899 {
19900 return LC_MESSAGES
19901 ;
19902 return 0;
19903 }
19904 _ACEOF
19905 if ac_fn_c_try_compile "$LINENO"; then :
19906 ac_cv_val_LC_MESSAGES=yes
19907 else
19908 ac_cv_val_LC_MESSAGES=no
19909 fi
19910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19911 fi
19912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19913 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19914 if test $ac_cv_val_LC_MESSAGES = yes; then
19915
19916 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19917
19918 fi
19919
19920 fi
19921
19922
19923
19924
19925 # For hardware_concurrency
19926 for ac_header in sys/sysinfo.h
19927 do :
19928 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19929 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19930 cat >>confdefs.h <<_ACEOF
19931 #define HAVE_SYS_SYSINFO_H 1
19932 _ACEOF
19933
19934 fi
19935
19936 done
19937
19938
19939
19940
19941 ac_ext=cpp
19942 ac_cpp='$CXXCPP $CPPFLAGS'
19943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19946
19947 ac_save_CXXFLAGS="$CXXFLAGS"
19948 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19949
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19951 $as_echo_n "checking for get_nprocs... " >&6; }
19952 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19953 $as_echo_n "(cached) " >&6
19954 else
19955
19956 if test x$gcc_no_link = xyes; then
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19959 #include <sys/sysinfo.h>
19960 int
19961 main ()
19962 {
19963 int n = get_nprocs();
19964 ;
19965 return 0;
19966 }
19967 _ACEOF
19968 if ac_fn_cxx_try_compile "$LINENO"; then :
19969 glibcxx_cv_GET_NPROCS=yes
19970 else
19971 glibcxx_cv_GET_NPROCS=no
19972 fi
19973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19974 else
19975 if test x$gcc_no_link = xyes; then
19976 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19977 fi
19978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19979 /* end confdefs.h. */
19980 #include <sys/sysinfo.h>
19981 int
19982 main ()
19983 {
19984 int n = get_nprocs();
19985 ;
19986 return 0;
19987 }
19988 _ACEOF
19989 if ac_fn_cxx_try_link "$LINENO"; then :
19990 glibcxx_cv_GET_NPROCS=yes
19991 else
19992 glibcxx_cv_GET_NPROCS=no
19993 fi
19994 rm -f core conftest.err conftest.$ac_objext \
19995 conftest$ac_exeext conftest.$ac_ext
19996 fi
19997
19998 fi
19999
20000 if test $glibcxx_cv_GET_NPROCS = yes; then
20001
20002 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20003
20004 fi
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20006 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20007
20008 CXXFLAGS="$ac_save_CXXFLAGS"
20009 ac_ext=c
20010 ac_cpp='$CPP $CPPFLAGS'
20011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20014
20015
20016 for ac_header in unistd.h
20017 do :
20018 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20019 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20020 cat >>confdefs.h <<_ACEOF
20021 #define HAVE_UNISTD_H 1
20022 _ACEOF
20023
20024 fi
20025
20026 done
20027
20028
20029
20030
20031 ac_ext=cpp
20032 ac_cpp='$CXXCPP $CPPFLAGS'
20033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20036
20037 ac_save_CXXFLAGS="$CXXFLAGS"
20038 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20039
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20041 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20042 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20043 $as_echo_n "(cached) " >&6
20044 else
20045
20046 if test x$gcc_no_link = xyes; then
20047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20048 /* end confdefs.h. */
20049 #include <unistd.h>
20050 int
20051 main ()
20052 {
20053 int n = sysconf(_SC_NPROCESSORS_ONLN);
20054 ;
20055 return 0;
20056 }
20057 _ACEOF
20058 if ac_fn_cxx_try_compile "$LINENO"; then :
20059 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20060 else
20061 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20062 fi
20063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20064 else
20065 if test x$gcc_no_link = xyes; then
20066 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20067 fi
20068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20069 /* end confdefs.h. */
20070 #include <unistd.h>
20071 int
20072 main ()
20073 {
20074 int n = sysconf(_SC_NPROCESSORS_ONLN);
20075 ;
20076 return 0;
20077 }
20078 _ACEOF
20079 if ac_fn_cxx_try_link "$LINENO"; then :
20080 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20081 else
20082 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20083 fi
20084 rm -f core conftest.err conftest.$ac_objext \
20085 conftest$ac_exeext conftest.$ac_ext
20086 fi
20087
20088 fi
20089
20090 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20091
20092 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20093
20094 fi
20095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20096 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20097
20098 CXXFLAGS="$ac_save_CXXFLAGS"
20099 ac_ext=c
20100 ac_cpp='$CPP $CPPFLAGS'
20101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20104
20105
20106
20107
20108
20109 ac_ext=cpp
20110 ac_cpp='$CXXCPP $CPPFLAGS'
20111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20114
20115 ac_save_CXXFLAGS="$CXXFLAGS"
20116 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20117
20118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20119 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20120 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20121 $as_echo_n "(cached) " >&6
20122 else
20123
20124 if test x$gcc_no_link = xyes; then
20125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20126 /* end confdefs.h. */
20127 #include <unistd.h>
20128 int
20129 main ()
20130 {
20131 int n = sysconf(_SC_NPROC_ONLN);
20132 ;
20133 return 0;
20134 }
20135 _ACEOF
20136 if ac_fn_cxx_try_compile "$LINENO"; then :
20137 glibcxx_cv_SC_NPROC_ONLN=yes
20138 else
20139 glibcxx_cv_SC_NPROC_ONLN=no
20140 fi
20141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20142 else
20143 if test x$gcc_no_link = xyes; then
20144 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20145 fi
20146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20147 /* end confdefs.h. */
20148 #include <unistd.h>
20149 int
20150 main ()
20151 {
20152 int n = sysconf(_SC_NPROC_ONLN);
20153 ;
20154 return 0;
20155 }
20156 _ACEOF
20157 if ac_fn_cxx_try_link "$LINENO"; then :
20158 glibcxx_cv_SC_NPROC_ONLN=yes
20159 else
20160 glibcxx_cv_SC_NPROC_ONLN=no
20161 fi
20162 rm -f core conftest.err conftest.$ac_objext \
20163 conftest$ac_exeext conftest.$ac_ext
20164 fi
20165
20166 fi
20167
20168 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20169
20170 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20171
20172 fi
20173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20174 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20175
20176 CXXFLAGS="$ac_save_CXXFLAGS"
20177 ac_ext=c
20178 ac_cpp='$CPP $CPPFLAGS'
20179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20182
20183
20184
20185
20186
20187 ac_ext=cpp
20188 ac_cpp='$CXXCPP $CPPFLAGS'
20189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20192
20193 ac_save_CXXFLAGS="$CXXFLAGS"
20194 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20195
20196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20197 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20198 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20199 $as_echo_n "(cached) " >&6
20200 else
20201
20202 if test x$gcc_no_link = xyes; then
20203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20204 /* end confdefs.h. */
20205 #include <pthread.h>
20206 int
20207 main ()
20208 {
20209 int n = pthread_num_processors_np();
20210 ;
20211 return 0;
20212 }
20213 _ACEOF
20214 if ac_fn_cxx_try_compile "$LINENO"; then :
20215 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20216 else
20217 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20218 fi
20219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20220 else
20221 if test x$gcc_no_link = xyes; then
20222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20223 fi
20224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20225 /* end confdefs.h. */
20226 #include <pthread.h>
20227 int
20228 main ()
20229 {
20230 int n = pthread_num_processors_np();
20231 ;
20232 return 0;
20233 }
20234 _ACEOF
20235 if ac_fn_cxx_try_link "$LINENO"; then :
20236 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20237 else
20238 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20239 fi
20240 rm -f core conftest.err conftest.$ac_objext \
20241 conftest$ac_exeext conftest.$ac_ext
20242 fi
20243
20244 fi
20245
20246 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20247
20248 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20249
20250 fi
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20252 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20253
20254 CXXFLAGS="$ac_save_CXXFLAGS"
20255 ac_ext=c
20256 ac_cpp='$CPP $CPPFLAGS'
20257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20260
20261
20262
20263
20264
20265 ac_ext=cpp
20266 ac_cpp='$CXXCPP $CPPFLAGS'
20267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20270
20271 ac_save_CXXFLAGS="$CXXFLAGS"
20272 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20273
20274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20275 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20276 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20277 $as_echo_n "(cached) " >&6
20278 else
20279
20280 if test x$gcc_no_link = xyes; then
20281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20282 /* end confdefs.h. */
20283
20284 #include <stddef.h>
20285 #include <sys/sysctl.h>
20286
20287 int
20288 main ()
20289 {
20290
20291 int count;
20292 size_t size = sizeof(count);
20293 int mib[] = { CTL_HW, HW_NCPU };
20294 sysctl(mib, 2, &count, &size, NULL, 0);
20295
20296 ;
20297 return 0;
20298 }
20299 _ACEOF
20300 if ac_fn_cxx_try_compile "$LINENO"; then :
20301 glibcxx_cv_SYSCTL_HW_NCPU=yes
20302 else
20303 glibcxx_cv_SYSCTL_HW_NCPU=no
20304 fi
20305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20306 else
20307 if test x$gcc_no_link = xyes; then
20308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20309 fi
20310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20311 /* end confdefs.h. */
20312
20313 #include <stddef.h>
20314 #include <sys/sysctl.h>
20315
20316 int
20317 main ()
20318 {
20319
20320 int count;
20321 size_t size = sizeof(count);
20322 int mib[] = { CTL_HW, HW_NCPU };
20323 sysctl(mib, 2, &count, &size, NULL, 0);
20324
20325 ;
20326 return 0;
20327 }
20328 _ACEOF
20329 if ac_fn_cxx_try_link "$LINENO"; then :
20330 glibcxx_cv_SYSCTL_HW_NCPU=yes
20331 else
20332 glibcxx_cv_SYSCTL_HW_NCPU=no
20333 fi
20334 rm -f core conftest.err conftest.$ac_objext \
20335 conftest$ac_exeext conftest.$ac_ext
20336 fi
20337
20338 fi
20339
20340 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20341
20342 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20343
20344 fi
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20346 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20347
20348 CXXFLAGS="$ac_save_CXXFLAGS"
20349 ac_ext=c
20350 ac_cpp='$CPP $CPPFLAGS'
20351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20354
20355
20356
20357 # Check for available headers.
20358 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20359 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20360 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20361 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20362 wchar.h wctype.h
20363 do :
20364 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20365 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20366 eval as_val=\$$as_ac_Header
20367 if test "x$as_val" = x""yes; then :
20368 cat >>confdefs.h <<_ACEOF
20369 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20370 _ACEOF
20371
20372 fi
20373
20374 done
20375
20376
20377 # Only do link tests if native. Else, hardcode.
20378 if $GLIBCXX_IS_NATIVE; then
20379
20380 # We can do more elaborate tests that assume a working linker.
20381 CANADIAN=no
20382
20383
20384
20385 # Check whether --with-gnu-ld was given.
20386 if test "${with_gnu_ld+set}" = set; then :
20387 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20388 else
20389 with_gnu_ld=no
20390 fi
20391
20392 ac_prog=ld
20393 if test "$GCC" = yes; then
20394 # Check if gcc -print-prog-name=ld gives a path.
20395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20396 $as_echo_n "checking for ld used by $CC... " >&6; }
20397 case $host in
20398 *-*-mingw*)
20399 # gcc leaves a trailing carriage return which upsets mingw
20400 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20401 *)
20402 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20403 esac
20404 case $ac_prog in
20405 # Accept absolute paths.
20406 [\\/]* | ?:[\\/]*)
20407 re_direlt='/[^/][^/]*/\.\./'
20408 # Canonicalize the pathname of ld
20409 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20410 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20411 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20412 done
20413 test -z "$LD" && LD="$ac_prog"
20414 ;;
20415 "")
20416 # If it fails, then pretend we aren't using GCC.
20417 ac_prog=ld
20418 ;;
20419 *)
20420 # If it is relative, then search for the first ld in PATH.
20421 with_gnu_ld=unknown
20422 ;;
20423 esac
20424 elif test "$with_gnu_ld" = yes; then
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20426 $as_echo_n "checking for GNU ld... " >&6; }
20427 else
20428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20429 $as_echo_n "checking for non-GNU ld... " >&6; }
20430 fi
20431 if test "${lt_cv_path_LD+set}" = set; then :
20432 $as_echo_n "(cached) " >&6
20433 else
20434 if test -z "$LD"; then
20435 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20436 for ac_dir in $PATH; do
20437 IFS="$lt_save_ifs"
20438 test -z "$ac_dir" && ac_dir=.
20439 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20440 lt_cv_path_LD="$ac_dir/$ac_prog"
20441 # Check to see if the program is GNU ld. I'd rather use --version,
20442 # but apparently some variants of GNU ld only accept -v.
20443 # Break only if it was the GNU/non-GNU ld that we prefer.
20444 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20445 *GNU* | *'with BFD'*)
20446 test "$with_gnu_ld" != no && break
20447 ;;
20448 *)
20449 test "$with_gnu_ld" != yes && break
20450 ;;
20451 esac
20452 fi
20453 done
20454 IFS="$lt_save_ifs"
20455 else
20456 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20457 fi
20458 fi
20459
20460 LD="$lt_cv_path_LD"
20461 if test -n "$LD"; then
20462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20463 $as_echo "$LD" >&6; }
20464 else
20465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20466 $as_echo "no" >&6; }
20467 fi
20468 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20470 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20471 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20472 $as_echo_n "(cached) " >&6
20473 else
20474 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20475 case `$LD -v 2>&1 </dev/null` in
20476 *GNU* | *'with BFD'*)
20477 lt_cv_prog_gnu_ld=yes
20478 ;;
20479 *)
20480 lt_cv_prog_gnu_ld=no
20481 ;;
20482 esac
20483 fi
20484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20485 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20486 with_gnu_ld=$lt_cv_prog_gnu_ld
20487
20488
20489
20490
20491
20492
20493
20494 # If we're not using GNU ld, then there's no point in even trying these
20495 # tests. Check for that first. We should have already tested for gld
20496 # by now (in libtool), but require it now just to be safe...
20497 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20498 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20499
20500
20501
20502 # The name set by libtool depends on the version of libtool. Shame on us
20503 # for depending on an impl detail, but c'est la vie. Older versions used
20504 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20505 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20506 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20507 # set (hence we're using an older libtool), then set it.
20508 if test x${with_gnu_ld+set} != xset; then
20509 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20510 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20511 with_gnu_ld=no
20512 else
20513 with_gnu_ld=$ac_cv_prog_gnu_ld
20514 fi
20515 fi
20516
20517 # Start by getting the version number. I think the libtool test already
20518 # does some of this, but throws away the result.
20519 glibcxx_ld_is_gold=no
20520 if test x"$with_gnu_ld" = x"yes"; then
20521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20522 $as_echo_n "checking for ld version... " >&6; }
20523
20524 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20525 glibcxx_ld_is_gold=yes
20526 fi
20527 ldver=`$LD --version 2>/dev/null |
20528 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'`
20529
20530 glibcxx_gnu_ld_version=`echo $ldver | \
20531 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20533 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20534 fi
20535
20536 # Set --gc-sections.
20537 glibcxx_have_gc_sections=no
20538 if test "$glibcxx_ld_is_gold" = "yes"; then
20539 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20540 glibcxx_have_gc_sections=yes
20541 fi
20542 else
20543 glibcxx_gcsections_min_ld=21602
20544 if test x"$with_gnu_ld" = x"yes" &&
20545 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20546 glibcxx_have_gc_sections=yes
20547 fi
20548 fi
20549 if test "$glibcxx_have_gc_sections" = "yes"; then
20550 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20551 # NB: This flag only works reliably after 2.16.1. Configure tests
20552 # for this are difficult, so hard wire a value that should work.
20553
20554 ac_test_CFLAGS="${CFLAGS+set}"
20555 ac_save_CFLAGS="$CFLAGS"
20556 CFLAGS='-Wl,--gc-sections'
20557
20558 # Check for -Wl,--gc-sections
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20560 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20561 if test x$gcc_no_link = xyes; then
20562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20563 fi
20564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20565 /* end confdefs.h. */
20566 int one(void) { return 1; }
20567 int two(void) { return 2; }
20568
20569 int
20570 main ()
20571 {
20572 two();
20573 ;
20574 return 0;
20575 }
20576 _ACEOF
20577 if ac_fn_c_try_link "$LINENO"; then :
20578 ac_gcsections=yes
20579 else
20580 ac_gcsections=no
20581 fi
20582 rm -f core conftest.err conftest.$ac_objext \
20583 conftest$ac_exeext conftest.$ac_ext
20584 if test "$ac_gcsections" = "yes"; then
20585 rm -f conftest.c
20586 touch conftest.c
20587 if $CC -c conftest.c; then
20588 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20589 grep "Warning: gc-sections option ignored" > /dev/null; then
20590 ac_gcsections=no
20591 fi
20592 fi
20593 rm -f conftest.c conftest.o conftest
20594 fi
20595 if test "$ac_gcsections" = "yes"; then
20596 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20597 fi
20598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20599 $as_echo "$ac_gcsections" >&6; }
20600
20601 if test "$ac_test_CFLAGS" = set; then
20602 CFLAGS="$ac_save_CFLAGS"
20603 else
20604 # this is the suspicious part
20605 CFLAGS=''
20606 fi
20607 fi
20608
20609 # Set -z,relro.
20610 # Note this is only for shared objects.
20611 ac_ld_relro=no
20612 if test x"$with_gnu_ld" = x"yes"; then
20613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20614 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20615 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20616 if test -n "$cxx_z_relo"; then
20617 OPT_LDFLAGS="-Wl,-z,relro"
20618 ac_ld_relro=yes
20619 fi
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20621 $as_echo "$ac_ld_relro" >&6; }
20622 fi
20623
20624 # Set linker optimization flags.
20625 if test x"$with_gnu_ld" = x"yes"; then
20626 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20627 fi
20628
20629
20630
20631
20632
20633 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20634 ac_save_CXXFLAGS="$CXXFLAGS"
20635 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20636
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20638 $as_echo_n "checking for sin in -lm... " >&6; }
20639 if test "${ac_cv_lib_m_sin+set}" = set; then :
20640 $as_echo_n "(cached) " >&6
20641 else
20642 ac_check_lib_save_LIBS=$LIBS
20643 LIBS="-lm $LIBS"
20644 if test x$gcc_no_link = xyes; then
20645 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20646 fi
20647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20648 /* end confdefs.h. */
20649
20650 /* Override any GCC internal prototype to avoid an error.
20651 Use char because int might match the return type of a GCC
20652 builtin and then its argument prototype would still apply. */
20653 #ifdef __cplusplus
20654 extern "C"
20655 #endif
20656 char sin ();
20657 int
20658 main ()
20659 {
20660 return sin ();
20661 ;
20662 return 0;
20663 }
20664 _ACEOF
20665 if ac_fn_c_try_link "$LINENO"; then :
20666 ac_cv_lib_m_sin=yes
20667 else
20668 ac_cv_lib_m_sin=no
20669 fi
20670 rm -f core conftest.err conftest.$ac_objext \
20671 conftest$ac_exeext conftest.$ac_ext
20672 LIBS=$ac_check_lib_save_LIBS
20673 fi
20674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20675 $as_echo "$ac_cv_lib_m_sin" >&6; }
20676 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20677 libm="-lm"
20678 fi
20679
20680 ac_save_LIBS="$LIBS"
20681 LIBS="$LIBS $libm"
20682
20683
20684
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20686 $as_echo_n "checking for isinf declaration... " >&6; }
20687 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20688 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20689 $as_echo_n "(cached) " >&6
20690 else
20691
20692
20693 ac_ext=cpp
20694 ac_cpp='$CXXCPP $CPPFLAGS'
20695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20698
20699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20700 /* end confdefs.h. */
20701 #include <math.h>
20702 #ifdef HAVE_IEEEFP_H
20703 #include <ieeefp.h>
20704 #endif
20705
20706 int
20707 main ()
20708 {
20709 isinf(0);
20710 ;
20711 return 0;
20712 }
20713 _ACEOF
20714 if ac_fn_cxx_try_compile "$LINENO"; then :
20715 glibcxx_cv_func_isinf_use=yes
20716 else
20717 glibcxx_cv_func_isinf_use=no
20718 fi
20719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20720 ac_ext=c
20721 ac_cpp='$CPP $CPPFLAGS'
20722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20725
20726
20727 fi
20728
20729 fi
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20731 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20732
20733 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20734 for ac_func in isinf
20735 do :
20736 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20737 if test "x$ac_cv_func_isinf" = x""yes; then :
20738 cat >>confdefs.h <<_ACEOF
20739 #define HAVE_ISINF 1
20740 _ACEOF
20741
20742 fi
20743 done
20744
20745 else
20746
20747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20748 $as_echo_n "checking for _isinf declaration... " >&6; }
20749 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20750 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20751 $as_echo_n "(cached) " >&6
20752 else
20753
20754
20755 ac_ext=cpp
20756 ac_cpp='$CXXCPP $CPPFLAGS'
20757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20760
20761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20762 /* end confdefs.h. */
20763 #include <math.h>
20764 #ifdef HAVE_IEEEFP_H
20765 #include <ieeefp.h>
20766 #endif
20767
20768 int
20769 main ()
20770 {
20771 _isinf(0);
20772 ;
20773 return 0;
20774 }
20775 _ACEOF
20776 if ac_fn_cxx_try_compile "$LINENO"; then :
20777 glibcxx_cv_func__isinf_use=yes
20778 else
20779 glibcxx_cv_func__isinf_use=no
20780 fi
20781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20782 ac_ext=c
20783 ac_cpp='$CPP $CPPFLAGS'
20784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20787
20788
20789 fi
20790
20791 fi
20792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20793 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20794
20795 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20796 for ac_func in _isinf
20797 do :
20798 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20799 if test "x$ac_cv_func__isinf" = x""yes; then :
20800 cat >>confdefs.h <<_ACEOF
20801 #define HAVE__ISINF 1
20802 _ACEOF
20803
20804 fi
20805 done
20806
20807 fi
20808 fi
20809
20810
20811
20812
20813
20814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20815 $as_echo_n "checking for isnan declaration... " >&6; }
20816 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20817 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20818 $as_echo_n "(cached) " >&6
20819 else
20820
20821
20822 ac_ext=cpp
20823 ac_cpp='$CXXCPP $CPPFLAGS'
20824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20827
20828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20829 /* end confdefs.h. */
20830 #include <math.h>
20831 #ifdef HAVE_IEEEFP_H
20832 #include <ieeefp.h>
20833 #endif
20834
20835 int
20836 main ()
20837 {
20838 isnan(0);
20839 ;
20840 return 0;
20841 }
20842 _ACEOF
20843 if ac_fn_cxx_try_compile "$LINENO"; then :
20844 glibcxx_cv_func_isnan_use=yes
20845 else
20846 glibcxx_cv_func_isnan_use=no
20847 fi
20848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20849 ac_ext=c
20850 ac_cpp='$CPP $CPPFLAGS'
20851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20854
20855
20856 fi
20857
20858 fi
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20860 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20861
20862 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20863 for ac_func in isnan
20864 do :
20865 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20866 if test "x$ac_cv_func_isnan" = x""yes; then :
20867 cat >>confdefs.h <<_ACEOF
20868 #define HAVE_ISNAN 1
20869 _ACEOF
20870
20871 fi
20872 done
20873
20874 else
20875
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20877 $as_echo_n "checking for _isnan declaration... " >&6; }
20878 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20879 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20880 $as_echo_n "(cached) " >&6
20881 else
20882
20883
20884 ac_ext=cpp
20885 ac_cpp='$CXXCPP $CPPFLAGS'
20886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20889
20890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20891 /* end confdefs.h. */
20892 #include <math.h>
20893 #ifdef HAVE_IEEEFP_H
20894 #include <ieeefp.h>
20895 #endif
20896
20897 int
20898 main ()
20899 {
20900 _isnan(0);
20901 ;
20902 return 0;
20903 }
20904 _ACEOF
20905 if ac_fn_cxx_try_compile "$LINENO"; then :
20906 glibcxx_cv_func__isnan_use=yes
20907 else
20908 glibcxx_cv_func__isnan_use=no
20909 fi
20910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20911 ac_ext=c
20912 ac_cpp='$CPP $CPPFLAGS'
20913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20916
20917
20918 fi
20919
20920 fi
20921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20922 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20923
20924 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20925 for ac_func in _isnan
20926 do :
20927 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20928 if test "x$ac_cv_func__isnan" = x""yes; then :
20929 cat >>confdefs.h <<_ACEOF
20930 #define HAVE__ISNAN 1
20931 _ACEOF
20932
20933 fi
20934 done
20935
20936 fi
20937 fi
20938
20939
20940
20941
20942
20943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20944 $as_echo_n "checking for finite declaration... " >&6; }
20945 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20946 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20947 $as_echo_n "(cached) " >&6
20948 else
20949
20950
20951 ac_ext=cpp
20952 ac_cpp='$CXXCPP $CPPFLAGS'
20953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20956
20957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20958 /* end confdefs.h. */
20959 #include <math.h>
20960 #ifdef HAVE_IEEEFP_H
20961 #include <ieeefp.h>
20962 #endif
20963
20964 int
20965 main ()
20966 {
20967 finite(0);
20968 ;
20969 return 0;
20970 }
20971 _ACEOF
20972 if ac_fn_cxx_try_compile "$LINENO"; then :
20973 glibcxx_cv_func_finite_use=yes
20974 else
20975 glibcxx_cv_func_finite_use=no
20976 fi
20977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20978 ac_ext=c
20979 ac_cpp='$CPP $CPPFLAGS'
20980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20983
20984
20985 fi
20986
20987 fi
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20989 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20990
20991 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20992 for ac_func in finite
20993 do :
20994 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20995 if test "x$ac_cv_func_finite" = x""yes; then :
20996 cat >>confdefs.h <<_ACEOF
20997 #define HAVE_FINITE 1
20998 _ACEOF
20999
21000 fi
21001 done
21002
21003 else
21004
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21006 $as_echo_n "checking for _finite declaration... " >&6; }
21007 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21008 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21009 $as_echo_n "(cached) " >&6
21010 else
21011
21012
21013 ac_ext=cpp
21014 ac_cpp='$CXXCPP $CPPFLAGS'
21015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21018
21019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21021 #include <math.h>
21022 #ifdef HAVE_IEEEFP_H
21023 #include <ieeefp.h>
21024 #endif
21025
21026 int
21027 main ()
21028 {
21029 _finite(0);
21030 ;
21031 return 0;
21032 }
21033 _ACEOF
21034 if ac_fn_cxx_try_compile "$LINENO"; then :
21035 glibcxx_cv_func__finite_use=yes
21036 else
21037 glibcxx_cv_func__finite_use=no
21038 fi
21039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21040 ac_ext=c
21041 ac_cpp='$CPP $CPPFLAGS'
21042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21045
21046
21047 fi
21048
21049 fi
21050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21051 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21052
21053 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21054 for ac_func in _finite
21055 do :
21056 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21057 if test "x$ac_cv_func__finite" = x""yes; then :
21058 cat >>confdefs.h <<_ACEOF
21059 #define HAVE__FINITE 1
21060 _ACEOF
21061
21062 fi
21063 done
21064
21065 fi
21066 fi
21067
21068
21069
21070
21071
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21073 $as_echo_n "checking for sincos declaration... " >&6; }
21074 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21075 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21076 $as_echo_n "(cached) " >&6
21077 else
21078
21079
21080 ac_ext=cpp
21081 ac_cpp='$CXXCPP $CPPFLAGS'
21082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21085
21086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21087 /* end confdefs.h. */
21088 #include <math.h>
21089 int
21090 main ()
21091 {
21092 sincos(0, 0, 0);
21093 ;
21094 return 0;
21095 }
21096 _ACEOF
21097 if ac_fn_cxx_try_compile "$LINENO"; then :
21098 glibcxx_cv_func_sincos_use=yes
21099 else
21100 glibcxx_cv_func_sincos_use=no
21101 fi
21102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21103 ac_ext=c
21104 ac_cpp='$CPP $CPPFLAGS'
21105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21108
21109
21110 fi
21111
21112 fi
21113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21114 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21115
21116 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21117 for ac_func in sincos
21118 do :
21119 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21120 if test "x$ac_cv_func_sincos" = x""yes; then :
21121 cat >>confdefs.h <<_ACEOF
21122 #define HAVE_SINCOS 1
21123 _ACEOF
21124
21125 fi
21126 done
21127
21128 else
21129
21130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21131 $as_echo_n "checking for _sincos declaration... " >&6; }
21132 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21133 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21134 $as_echo_n "(cached) " >&6
21135 else
21136
21137
21138 ac_ext=cpp
21139 ac_cpp='$CXXCPP $CPPFLAGS'
21140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21143
21144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21145 /* end confdefs.h. */
21146 #include <math.h>
21147 int
21148 main ()
21149 {
21150 _sincos(0, 0, 0);
21151 ;
21152 return 0;
21153 }
21154 _ACEOF
21155 if ac_fn_cxx_try_compile "$LINENO"; then :
21156 glibcxx_cv_func__sincos_use=yes
21157 else
21158 glibcxx_cv_func__sincos_use=no
21159 fi
21160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21161 ac_ext=c
21162 ac_cpp='$CPP $CPPFLAGS'
21163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21166
21167
21168 fi
21169
21170 fi
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21172 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21173
21174 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21175 for ac_func in _sincos
21176 do :
21177 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21178 if test "x$ac_cv_func__sincos" = x""yes; then :
21179 cat >>confdefs.h <<_ACEOF
21180 #define HAVE__SINCOS 1
21181 _ACEOF
21182
21183 fi
21184 done
21185
21186 fi
21187 fi
21188
21189
21190
21191
21192
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21194 $as_echo_n "checking for fpclass declaration... " >&6; }
21195 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21196 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21197 $as_echo_n "(cached) " >&6
21198 else
21199
21200
21201 ac_ext=cpp
21202 ac_cpp='$CXXCPP $CPPFLAGS'
21203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21206
21207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21208 /* end confdefs.h. */
21209 #include <math.h>
21210 #ifdef HAVE_IEEEFP_H
21211 #include <ieeefp.h>
21212 #endif
21213
21214 int
21215 main ()
21216 {
21217 fpclass(0);
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 if ac_fn_cxx_try_compile "$LINENO"; then :
21223 glibcxx_cv_func_fpclass_use=yes
21224 else
21225 glibcxx_cv_func_fpclass_use=no
21226 fi
21227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21228 ac_ext=c
21229 ac_cpp='$CPP $CPPFLAGS'
21230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21233
21234
21235 fi
21236
21237 fi
21238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21239 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21240
21241 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21242 for ac_func in fpclass
21243 do :
21244 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21245 if test "x$ac_cv_func_fpclass" = x""yes; then :
21246 cat >>confdefs.h <<_ACEOF
21247 #define HAVE_FPCLASS 1
21248 _ACEOF
21249
21250 fi
21251 done
21252
21253 else
21254
21255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21256 $as_echo_n "checking for _fpclass declaration... " >&6; }
21257 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21258 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21259 $as_echo_n "(cached) " >&6
21260 else
21261
21262
21263 ac_ext=cpp
21264 ac_cpp='$CXXCPP $CPPFLAGS'
21265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21268
21269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21270 /* end confdefs.h. */
21271 #include <math.h>
21272 #ifdef HAVE_IEEEFP_H
21273 #include <ieeefp.h>
21274 #endif
21275
21276 int
21277 main ()
21278 {
21279 _fpclass(0);
21280 ;
21281 return 0;
21282 }
21283 _ACEOF
21284 if ac_fn_cxx_try_compile "$LINENO"; then :
21285 glibcxx_cv_func__fpclass_use=yes
21286 else
21287 glibcxx_cv_func__fpclass_use=no
21288 fi
21289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21290 ac_ext=c
21291 ac_cpp='$CPP $CPPFLAGS'
21292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21295
21296
21297 fi
21298
21299 fi
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21301 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21302
21303 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21304 for ac_func in _fpclass
21305 do :
21306 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21307 if test "x$ac_cv_func__fpclass" = x""yes; then :
21308 cat >>confdefs.h <<_ACEOF
21309 #define HAVE__FPCLASS 1
21310 _ACEOF
21311
21312 fi
21313 done
21314
21315 fi
21316 fi
21317
21318
21319
21320
21321
21322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21323 $as_echo_n "checking for qfpclass declaration... " >&6; }
21324 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21325 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21326 $as_echo_n "(cached) " >&6
21327 else
21328
21329
21330 ac_ext=cpp
21331 ac_cpp='$CXXCPP $CPPFLAGS'
21332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21335
21336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21337 /* end confdefs.h. */
21338 #include <math.h>
21339 #ifdef HAVE_IEEEFP_H
21340 #include <ieeefp.h>
21341 #endif
21342
21343 int
21344 main ()
21345 {
21346 qfpclass(0);
21347 ;
21348 return 0;
21349 }
21350 _ACEOF
21351 if ac_fn_cxx_try_compile "$LINENO"; then :
21352 glibcxx_cv_func_qfpclass_use=yes
21353 else
21354 glibcxx_cv_func_qfpclass_use=no
21355 fi
21356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21357 ac_ext=c
21358 ac_cpp='$CPP $CPPFLAGS'
21359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21362
21363
21364 fi
21365
21366 fi
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21368 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21369
21370 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21371 for ac_func in qfpclass
21372 do :
21373 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21374 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21375 cat >>confdefs.h <<_ACEOF
21376 #define HAVE_QFPCLASS 1
21377 _ACEOF
21378
21379 fi
21380 done
21381
21382 else
21383
21384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21385 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21386 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21387 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21388 $as_echo_n "(cached) " >&6
21389 else
21390
21391
21392 ac_ext=cpp
21393 ac_cpp='$CXXCPP $CPPFLAGS'
21394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21397
21398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21399 /* end confdefs.h. */
21400 #include <math.h>
21401 #ifdef HAVE_IEEEFP_H
21402 #include <ieeefp.h>
21403 #endif
21404
21405 int
21406 main ()
21407 {
21408 _qfpclass(0);
21409 ;
21410 return 0;
21411 }
21412 _ACEOF
21413 if ac_fn_cxx_try_compile "$LINENO"; then :
21414 glibcxx_cv_func__qfpclass_use=yes
21415 else
21416 glibcxx_cv_func__qfpclass_use=no
21417 fi
21418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21419 ac_ext=c
21420 ac_cpp='$CPP $CPPFLAGS'
21421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21424
21425
21426 fi
21427
21428 fi
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21430 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21431
21432 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21433 for ac_func in _qfpclass
21434 do :
21435 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21436 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21437 cat >>confdefs.h <<_ACEOF
21438 #define HAVE__QFPCLASS 1
21439 _ACEOF
21440
21441 fi
21442 done
21443
21444 fi
21445 fi
21446
21447
21448
21449
21450
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21452 $as_echo_n "checking for hypot declaration... " >&6; }
21453 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21454 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21455 $as_echo_n "(cached) " >&6
21456 else
21457
21458
21459 ac_ext=cpp
21460 ac_cpp='$CXXCPP $CPPFLAGS'
21461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21464
21465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21466 /* end confdefs.h. */
21467 #include <math.h>
21468 int
21469 main ()
21470 {
21471 hypot(0, 0);
21472 ;
21473 return 0;
21474 }
21475 _ACEOF
21476 if ac_fn_cxx_try_compile "$LINENO"; then :
21477 glibcxx_cv_func_hypot_use=yes
21478 else
21479 glibcxx_cv_func_hypot_use=no
21480 fi
21481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21482 ac_ext=c
21483 ac_cpp='$CPP $CPPFLAGS'
21484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21487
21488
21489 fi
21490
21491 fi
21492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21493 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21494
21495 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21496 for ac_func in hypot
21497 do :
21498 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21499 if test "x$ac_cv_func_hypot" = x""yes; then :
21500 cat >>confdefs.h <<_ACEOF
21501 #define HAVE_HYPOT 1
21502 _ACEOF
21503
21504 fi
21505 done
21506
21507 else
21508
21509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21510 $as_echo_n "checking for _hypot declaration... " >&6; }
21511 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21512 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21513 $as_echo_n "(cached) " >&6
21514 else
21515
21516
21517 ac_ext=cpp
21518 ac_cpp='$CXXCPP $CPPFLAGS'
21519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21522
21523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21524 /* end confdefs.h. */
21525 #include <math.h>
21526 int
21527 main ()
21528 {
21529 _hypot(0, 0);
21530 ;
21531 return 0;
21532 }
21533 _ACEOF
21534 if ac_fn_cxx_try_compile "$LINENO"; then :
21535 glibcxx_cv_func__hypot_use=yes
21536 else
21537 glibcxx_cv_func__hypot_use=no
21538 fi
21539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21540 ac_ext=c
21541 ac_cpp='$CPP $CPPFLAGS'
21542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21545
21546
21547 fi
21548
21549 fi
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21551 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21552
21553 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21554 for ac_func in _hypot
21555 do :
21556 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21557 if test "x$ac_cv_func__hypot" = x""yes; then :
21558 cat >>confdefs.h <<_ACEOF
21559 #define HAVE__HYPOT 1
21560 _ACEOF
21561
21562 fi
21563 done
21564
21565 fi
21566 fi
21567
21568
21569
21570
21571
21572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21573 $as_echo_n "checking for float trig functions... " >&6; }
21574 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21575 $as_echo_n "(cached) " >&6
21576 else
21577
21578
21579 ac_ext=cpp
21580 ac_cpp='$CXXCPP $CPPFLAGS'
21581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21584
21585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21586 /* end confdefs.h. */
21587 #include <math.h>
21588 int
21589 main ()
21590 {
21591 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21592 ;
21593 return 0;
21594 }
21595 _ACEOF
21596 if ac_fn_cxx_try_compile "$LINENO"; then :
21597 glibcxx_cv_func_float_trig_use=yes
21598 else
21599 glibcxx_cv_func_float_trig_use=no
21600 fi
21601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21602 ac_ext=c
21603 ac_cpp='$CPP $CPPFLAGS'
21604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21607
21608 fi
21609
21610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21611 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21612 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21613 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21614 do :
21615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21617 eval as_val=\$$as_ac_var
21618 if test "x$as_val" = x""yes; then :
21619 cat >>confdefs.h <<_ACEOF
21620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21621 _ACEOF
21622
21623 fi
21624 done
21625
21626 else
21627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21628 $as_echo_n "checking for _float trig functions... " >&6; }
21629 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21630 $as_echo_n "(cached) " >&6
21631 else
21632
21633
21634 ac_ext=cpp
21635 ac_cpp='$CXXCPP $CPPFLAGS'
21636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21639
21640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21641 /* end confdefs.h. */
21642 #include <math.h>
21643 int
21644 main ()
21645 {
21646 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21647 ;
21648 return 0;
21649 }
21650 _ACEOF
21651 if ac_fn_cxx_try_compile "$LINENO"; then :
21652 glibcxx_cv_func__float_trig_use=yes
21653 else
21654 glibcxx_cv_func__float_trig_use=no
21655 fi
21656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21657 ac_ext=c
21658 ac_cpp='$CPP $CPPFLAGS'
21659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21662
21663 fi
21664
21665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21666 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21667 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21668 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21669 do :
21670 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21671 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21672 eval as_val=\$$as_ac_var
21673 if test "x$as_val" = x""yes; then :
21674 cat >>confdefs.h <<_ACEOF
21675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21676 _ACEOF
21677
21678 fi
21679 done
21680
21681 fi
21682 fi
21683
21684
21685
21686
21687
21688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21689 $as_echo_n "checking for float round functions... " >&6; }
21690 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21691 $as_echo_n "(cached) " >&6
21692 else
21693
21694
21695 ac_ext=cpp
21696 ac_cpp='$CXXCPP $CPPFLAGS'
21697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21700
21701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21702 /* end confdefs.h. */
21703 #include <math.h>
21704 int
21705 main ()
21706 {
21707 ceilf (0); floorf (0);
21708 ;
21709 return 0;
21710 }
21711 _ACEOF
21712 if ac_fn_cxx_try_compile "$LINENO"; then :
21713 glibcxx_cv_func_float_round_use=yes
21714 else
21715 glibcxx_cv_func_float_round_use=no
21716 fi
21717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21718 ac_ext=c
21719 ac_cpp='$CPP $CPPFLAGS'
21720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21723
21724 fi
21725
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21727 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21728 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21729 for ac_func in ceilf floorf
21730 do :
21731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21733 eval as_val=\$$as_ac_var
21734 if test "x$as_val" = x""yes; then :
21735 cat >>confdefs.h <<_ACEOF
21736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21737 _ACEOF
21738
21739 fi
21740 done
21741
21742 else
21743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21744 $as_echo_n "checking for _float round functions... " >&6; }
21745 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21746 $as_echo_n "(cached) " >&6
21747 else
21748
21749
21750 ac_ext=cpp
21751 ac_cpp='$CXXCPP $CPPFLAGS'
21752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21755
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21758 #include <math.h>
21759 int
21760 main ()
21761 {
21762 _ceilf (0); _floorf (0);
21763 ;
21764 return 0;
21765 }
21766 _ACEOF
21767 if ac_fn_cxx_try_compile "$LINENO"; then :
21768 glibcxx_cv_func__float_round_use=yes
21769 else
21770 glibcxx_cv_func__float_round_use=no
21771 fi
21772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21773 ac_ext=c
21774 ac_cpp='$CPP $CPPFLAGS'
21775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21778
21779 fi
21780
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21782 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21783 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21784 for ac_func in _ceilf _floorf
21785 do :
21786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21788 eval as_val=\$$as_ac_var
21789 if test "x$as_val" = x""yes; then :
21790 cat >>confdefs.h <<_ACEOF
21791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21792 _ACEOF
21793
21794 fi
21795 done
21796
21797 fi
21798 fi
21799
21800
21801
21802
21803
21804
21805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21806 $as_echo_n "checking for expf declaration... " >&6; }
21807 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21808 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21809 $as_echo_n "(cached) " >&6
21810 else
21811
21812
21813 ac_ext=cpp
21814 ac_cpp='$CXXCPP $CPPFLAGS'
21815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21818
21819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21820 /* end confdefs.h. */
21821 #include <math.h>
21822 #ifdef HAVE_IEEEFP_H
21823 #include <ieeefp.h>
21824 #endif
21825
21826 int
21827 main ()
21828 {
21829 expf(0);
21830 ;
21831 return 0;
21832 }
21833 _ACEOF
21834 if ac_fn_cxx_try_compile "$LINENO"; then :
21835 glibcxx_cv_func_expf_use=yes
21836 else
21837 glibcxx_cv_func_expf_use=no
21838 fi
21839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21840 ac_ext=c
21841 ac_cpp='$CPP $CPPFLAGS'
21842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21845
21846
21847 fi
21848
21849 fi
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21851 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21852
21853 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21854 for ac_func in expf
21855 do :
21856 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21857 if test "x$ac_cv_func_expf" = x""yes; then :
21858 cat >>confdefs.h <<_ACEOF
21859 #define HAVE_EXPF 1
21860 _ACEOF
21861
21862 fi
21863 done
21864
21865 else
21866
21867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21868 $as_echo_n "checking for _expf declaration... " >&6; }
21869 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21870 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21871 $as_echo_n "(cached) " >&6
21872 else
21873
21874
21875 ac_ext=cpp
21876 ac_cpp='$CXXCPP $CPPFLAGS'
21877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21880
21881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21882 /* end confdefs.h. */
21883 #include <math.h>
21884 #ifdef HAVE_IEEEFP_H
21885 #include <ieeefp.h>
21886 #endif
21887
21888 int
21889 main ()
21890 {
21891 _expf(0);
21892 ;
21893 return 0;
21894 }
21895 _ACEOF
21896 if ac_fn_cxx_try_compile "$LINENO"; then :
21897 glibcxx_cv_func__expf_use=yes
21898 else
21899 glibcxx_cv_func__expf_use=no
21900 fi
21901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21902 ac_ext=c
21903 ac_cpp='$CPP $CPPFLAGS'
21904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21907
21908
21909 fi
21910
21911 fi
21912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21913 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21914
21915 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21916 for ac_func in _expf
21917 do :
21918 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21919 if test "x$ac_cv_func__expf" = x""yes; then :
21920 cat >>confdefs.h <<_ACEOF
21921 #define HAVE__EXPF 1
21922 _ACEOF
21923
21924 fi
21925 done
21926
21927 fi
21928 fi
21929
21930
21931
21932
21933
21934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21935 $as_echo_n "checking for isnanf declaration... " >&6; }
21936 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21937 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21938 $as_echo_n "(cached) " >&6
21939 else
21940
21941
21942 ac_ext=cpp
21943 ac_cpp='$CXXCPP $CPPFLAGS'
21944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21947
21948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21949 /* end confdefs.h. */
21950 #include <math.h>
21951 #ifdef HAVE_IEEEFP_H
21952 #include <ieeefp.h>
21953 #endif
21954
21955 int
21956 main ()
21957 {
21958 isnanf(0);
21959 ;
21960 return 0;
21961 }
21962 _ACEOF
21963 if ac_fn_cxx_try_compile "$LINENO"; then :
21964 glibcxx_cv_func_isnanf_use=yes
21965 else
21966 glibcxx_cv_func_isnanf_use=no
21967 fi
21968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21969 ac_ext=c
21970 ac_cpp='$CPP $CPPFLAGS'
21971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21974
21975
21976 fi
21977
21978 fi
21979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21980 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21981
21982 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21983 for ac_func in isnanf
21984 do :
21985 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21986 if test "x$ac_cv_func_isnanf" = x""yes; then :
21987 cat >>confdefs.h <<_ACEOF
21988 #define HAVE_ISNANF 1
21989 _ACEOF
21990
21991 fi
21992 done
21993
21994 else
21995
21996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21997 $as_echo_n "checking for _isnanf declaration... " >&6; }
21998 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21999 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22000 $as_echo_n "(cached) " >&6
22001 else
22002
22003
22004 ac_ext=cpp
22005 ac_cpp='$CXXCPP $CPPFLAGS'
22006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22009
22010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22011 /* end confdefs.h. */
22012 #include <math.h>
22013 #ifdef HAVE_IEEEFP_H
22014 #include <ieeefp.h>
22015 #endif
22016
22017 int
22018 main ()
22019 {
22020 _isnanf(0);
22021 ;
22022 return 0;
22023 }
22024 _ACEOF
22025 if ac_fn_cxx_try_compile "$LINENO"; then :
22026 glibcxx_cv_func__isnanf_use=yes
22027 else
22028 glibcxx_cv_func__isnanf_use=no
22029 fi
22030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22031 ac_ext=c
22032 ac_cpp='$CPP $CPPFLAGS'
22033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22036
22037
22038 fi
22039
22040 fi
22041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22042 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22043
22044 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22045 for ac_func in _isnanf
22046 do :
22047 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22048 if test "x$ac_cv_func__isnanf" = x""yes; then :
22049 cat >>confdefs.h <<_ACEOF
22050 #define HAVE__ISNANF 1
22051 _ACEOF
22052
22053 fi
22054 done
22055
22056 fi
22057 fi
22058
22059
22060
22061
22062
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22064 $as_echo_n "checking for isinff declaration... " >&6; }
22065 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22066 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22067 $as_echo_n "(cached) " >&6
22068 else
22069
22070
22071 ac_ext=cpp
22072 ac_cpp='$CXXCPP $CPPFLAGS'
22073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22076
22077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22078 /* end confdefs.h. */
22079 #include <math.h>
22080 #ifdef HAVE_IEEEFP_H
22081 #include <ieeefp.h>
22082 #endif
22083
22084 int
22085 main ()
22086 {
22087 isinff(0);
22088 ;
22089 return 0;
22090 }
22091 _ACEOF
22092 if ac_fn_cxx_try_compile "$LINENO"; then :
22093 glibcxx_cv_func_isinff_use=yes
22094 else
22095 glibcxx_cv_func_isinff_use=no
22096 fi
22097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22098 ac_ext=c
22099 ac_cpp='$CPP $CPPFLAGS'
22100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22103
22104
22105 fi
22106
22107 fi
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22109 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22110
22111 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22112 for ac_func in isinff
22113 do :
22114 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22115 if test "x$ac_cv_func_isinff" = x""yes; then :
22116 cat >>confdefs.h <<_ACEOF
22117 #define HAVE_ISINFF 1
22118 _ACEOF
22119
22120 fi
22121 done
22122
22123 else
22124
22125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22126 $as_echo_n "checking for _isinff declaration... " >&6; }
22127 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22128 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22129 $as_echo_n "(cached) " >&6
22130 else
22131
22132
22133 ac_ext=cpp
22134 ac_cpp='$CXXCPP $CPPFLAGS'
22135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22138
22139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22140 /* end confdefs.h. */
22141 #include <math.h>
22142 #ifdef HAVE_IEEEFP_H
22143 #include <ieeefp.h>
22144 #endif
22145
22146 int
22147 main ()
22148 {
22149 _isinff(0);
22150 ;
22151 return 0;
22152 }
22153 _ACEOF
22154 if ac_fn_cxx_try_compile "$LINENO"; then :
22155 glibcxx_cv_func__isinff_use=yes
22156 else
22157 glibcxx_cv_func__isinff_use=no
22158 fi
22159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22160 ac_ext=c
22161 ac_cpp='$CPP $CPPFLAGS'
22162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22165
22166
22167 fi
22168
22169 fi
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22171 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22172
22173 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22174 for ac_func in _isinff
22175 do :
22176 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22177 if test "x$ac_cv_func__isinff" = x""yes; then :
22178 cat >>confdefs.h <<_ACEOF
22179 #define HAVE__ISINFF 1
22180 _ACEOF
22181
22182 fi
22183 done
22184
22185 fi
22186 fi
22187
22188
22189
22190
22191
22192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22193 $as_echo_n "checking for atan2f declaration... " >&6; }
22194 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22195 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22196 $as_echo_n "(cached) " >&6
22197 else
22198
22199
22200 ac_ext=cpp
22201 ac_cpp='$CXXCPP $CPPFLAGS'
22202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22205
22206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22207 /* end confdefs.h. */
22208 #include <math.h>
22209 int
22210 main ()
22211 {
22212 atan2f(0, 0);
22213 ;
22214 return 0;
22215 }
22216 _ACEOF
22217 if ac_fn_cxx_try_compile "$LINENO"; then :
22218 glibcxx_cv_func_atan2f_use=yes
22219 else
22220 glibcxx_cv_func_atan2f_use=no
22221 fi
22222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22223 ac_ext=c
22224 ac_cpp='$CPP $CPPFLAGS'
22225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22228
22229
22230 fi
22231
22232 fi
22233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22234 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22235
22236 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22237 for ac_func in atan2f
22238 do :
22239 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22240 if test "x$ac_cv_func_atan2f" = x""yes; then :
22241 cat >>confdefs.h <<_ACEOF
22242 #define HAVE_ATAN2F 1
22243 _ACEOF
22244
22245 fi
22246 done
22247
22248 else
22249
22250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22251 $as_echo_n "checking for _atan2f declaration... " >&6; }
22252 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22253 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22254 $as_echo_n "(cached) " >&6
22255 else
22256
22257
22258 ac_ext=cpp
22259 ac_cpp='$CXXCPP $CPPFLAGS'
22260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22263
22264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22265 /* end confdefs.h. */
22266 #include <math.h>
22267 int
22268 main ()
22269 {
22270 _atan2f(0, 0);
22271 ;
22272 return 0;
22273 }
22274 _ACEOF
22275 if ac_fn_cxx_try_compile "$LINENO"; then :
22276 glibcxx_cv_func__atan2f_use=yes
22277 else
22278 glibcxx_cv_func__atan2f_use=no
22279 fi
22280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22281 ac_ext=c
22282 ac_cpp='$CPP $CPPFLAGS'
22283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22286
22287
22288 fi
22289
22290 fi
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22292 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22293
22294 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22295 for ac_func in _atan2f
22296 do :
22297 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22298 if test "x$ac_cv_func__atan2f" = x""yes; then :
22299 cat >>confdefs.h <<_ACEOF
22300 #define HAVE__ATAN2F 1
22301 _ACEOF
22302
22303 fi
22304 done
22305
22306 fi
22307 fi
22308
22309
22310
22311
22312
22313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22314 $as_echo_n "checking for fabsf declaration... " >&6; }
22315 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22316 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22317 $as_echo_n "(cached) " >&6
22318 else
22319
22320
22321 ac_ext=cpp
22322 ac_cpp='$CXXCPP $CPPFLAGS'
22323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22326
22327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22328 /* end confdefs.h. */
22329 #include <math.h>
22330 #ifdef HAVE_IEEEFP_H
22331 #include <ieeefp.h>
22332 #endif
22333
22334 int
22335 main ()
22336 {
22337 fabsf(0);
22338 ;
22339 return 0;
22340 }
22341 _ACEOF
22342 if ac_fn_cxx_try_compile "$LINENO"; then :
22343 glibcxx_cv_func_fabsf_use=yes
22344 else
22345 glibcxx_cv_func_fabsf_use=no
22346 fi
22347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22348 ac_ext=c
22349 ac_cpp='$CPP $CPPFLAGS'
22350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22353
22354
22355 fi
22356
22357 fi
22358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22359 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22360
22361 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22362 for ac_func in fabsf
22363 do :
22364 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22365 if test "x$ac_cv_func_fabsf" = x""yes; then :
22366 cat >>confdefs.h <<_ACEOF
22367 #define HAVE_FABSF 1
22368 _ACEOF
22369
22370 fi
22371 done
22372
22373 else
22374
22375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22376 $as_echo_n "checking for _fabsf declaration... " >&6; }
22377 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22378 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22379 $as_echo_n "(cached) " >&6
22380 else
22381
22382
22383 ac_ext=cpp
22384 ac_cpp='$CXXCPP $CPPFLAGS'
22385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22388
22389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22390 /* end confdefs.h. */
22391 #include <math.h>
22392 #ifdef HAVE_IEEEFP_H
22393 #include <ieeefp.h>
22394 #endif
22395
22396 int
22397 main ()
22398 {
22399 _fabsf(0);
22400 ;
22401 return 0;
22402 }
22403 _ACEOF
22404 if ac_fn_cxx_try_compile "$LINENO"; then :
22405 glibcxx_cv_func__fabsf_use=yes
22406 else
22407 glibcxx_cv_func__fabsf_use=no
22408 fi
22409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22410 ac_ext=c
22411 ac_cpp='$CPP $CPPFLAGS'
22412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22415
22416
22417 fi
22418
22419 fi
22420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22421 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22422
22423 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22424 for ac_func in _fabsf
22425 do :
22426 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22427 if test "x$ac_cv_func__fabsf" = x""yes; then :
22428 cat >>confdefs.h <<_ACEOF
22429 #define HAVE__FABSF 1
22430 _ACEOF
22431
22432 fi
22433 done
22434
22435 fi
22436 fi
22437
22438
22439
22440
22441
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22443 $as_echo_n "checking for fmodf declaration... " >&6; }
22444 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22445 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22446 $as_echo_n "(cached) " >&6
22447 else
22448
22449
22450 ac_ext=cpp
22451 ac_cpp='$CXXCPP $CPPFLAGS'
22452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22455
22456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22457 /* end confdefs.h. */
22458 #include <math.h>
22459 int
22460 main ()
22461 {
22462 fmodf(0, 0);
22463 ;
22464 return 0;
22465 }
22466 _ACEOF
22467 if ac_fn_cxx_try_compile "$LINENO"; then :
22468 glibcxx_cv_func_fmodf_use=yes
22469 else
22470 glibcxx_cv_func_fmodf_use=no
22471 fi
22472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22473 ac_ext=c
22474 ac_cpp='$CPP $CPPFLAGS'
22475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22478
22479
22480 fi
22481
22482 fi
22483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22484 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22485
22486 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22487 for ac_func in fmodf
22488 do :
22489 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22490 if test "x$ac_cv_func_fmodf" = x""yes; then :
22491 cat >>confdefs.h <<_ACEOF
22492 #define HAVE_FMODF 1
22493 _ACEOF
22494
22495 fi
22496 done
22497
22498 else
22499
22500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22501 $as_echo_n "checking for _fmodf declaration... " >&6; }
22502 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22503 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22504 $as_echo_n "(cached) " >&6
22505 else
22506
22507
22508 ac_ext=cpp
22509 ac_cpp='$CXXCPP $CPPFLAGS'
22510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22513
22514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22515 /* end confdefs.h. */
22516 #include <math.h>
22517 int
22518 main ()
22519 {
22520 _fmodf(0, 0);
22521 ;
22522 return 0;
22523 }
22524 _ACEOF
22525 if ac_fn_cxx_try_compile "$LINENO"; then :
22526 glibcxx_cv_func__fmodf_use=yes
22527 else
22528 glibcxx_cv_func__fmodf_use=no
22529 fi
22530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22531 ac_ext=c
22532 ac_cpp='$CPP $CPPFLAGS'
22533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22536
22537
22538 fi
22539
22540 fi
22541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22542 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22543
22544 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22545 for ac_func in _fmodf
22546 do :
22547 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22548 if test "x$ac_cv_func__fmodf" = x""yes; then :
22549 cat >>confdefs.h <<_ACEOF
22550 #define HAVE__FMODF 1
22551 _ACEOF
22552
22553 fi
22554 done
22555
22556 fi
22557 fi
22558
22559
22560
22561
22562
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22564 $as_echo_n "checking for frexpf declaration... " >&6; }
22565 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22566 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22567 $as_echo_n "(cached) " >&6
22568 else
22569
22570
22571 ac_ext=cpp
22572 ac_cpp='$CXXCPP $CPPFLAGS'
22573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22576
22577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22578 /* end confdefs.h. */
22579 #include <math.h>
22580 int
22581 main ()
22582 {
22583 frexpf(0, 0);
22584 ;
22585 return 0;
22586 }
22587 _ACEOF
22588 if ac_fn_cxx_try_compile "$LINENO"; then :
22589 glibcxx_cv_func_frexpf_use=yes
22590 else
22591 glibcxx_cv_func_frexpf_use=no
22592 fi
22593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22594 ac_ext=c
22595 ac_cpp='$CPP $CPPFLAGS'
22596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22599
22600
22601 fi
22602
22603 fi
22604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22605 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22606
22607 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22608 for ac_func in frexpf
22609 do :
22610 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22611 if test "x$ac_cv_func_frexpf" = x""yes; then :
22612 cat >>confdefs.h <<_ACEOF
22613 #define HAVE_FREXPF 1
22614 _ACEOF
22615
22616 fi
22617 done
22618
22619 else
22620
22621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22622 $as_echo_n "checking for _frexpf declaration... " >&6; }
22623 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22624 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22625 $as_echo_n "(cached) " >&6
22626 else
22627
22628
22629 ac_ext=cpp
22630 ac_cpp='$CXXCPP $CPPFLAGS'
22631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22634
22635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22636 /* end confdefs.h. */
22637 #include <math.h>
22638 int
22639 main ()
22640 {
22641 _frexpf(0, 0);
22642 ;
22643 return 0;
22644 }
22645 _ACEOF
22646 if ac_fn_cxx_try_compile "$LINENO"; then :
22647 glibcxx_cv_func__frexpf_use=yes
22648 else
22649 glibcxx_cv_func__frexpf_use=no
22650 fi
22651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22652 ac_ext=c
22653 ac_cpp='$CPP $CPPFLAGS'
22654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22657
22658
22659 fi
22660
22661 fi
22662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22663 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22664
22665 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22666 for ac_func in _frexpf
22667 do :
22668 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22669 if test "x$ac_cv_func__frexpf" = x""yes; then :
22670 cat >>confdefs.h <<_ACEOF
22671 #define HAVE__FREXPF 1
22672 _ACEOF
22673
22674 fi
22675 done
22676
22677 fi
22678 fi
22679
22680
22681
22682
22683
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22685 $as_echo_n "checking for hypotf declaration... " >&6; }
22686 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22687 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22688 $as_echo_n "(cached) " >&6
22689 else
22690
22691
22692 ac_ext=cpp
22693 ac_cpp='$CXXCPP $CPPFLAGS'
22694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22697
22698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22699 /* end confdefs.h. */
22700 #include <math.h>
22701 int
22702 main ()
22703 {
22704 hypotf(0, 0);
22705 ;
22706 return 0;
22707 }
22708 _ACEOF
22709 if ac_fn_cxx_try_compile "$LINENO"; then :
22710 glibcxx_cv_func_hypotf_use=yes
22711 else
22712 glibcxx_cv_func_hypotf_use=no
22713 fi
22714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22715 ac_ext=c
22716 ac_cpp='$CPP $CPPFLAGS'
22717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22720
22721
22722 fi
22723
22724 fi
22725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22726 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22727
22728 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22729 for ac_func in hypotf
22730 do :
22731 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22732 if test "x$ac_cv_func_hypotf" = x""yes; then :
22733 cat >>confdefs.h <<_ACEOF
22734 #define HAVE_HYPOTF 1
22735 _ACEOF
22736
22737 fi
22738 done
22739
22740 else
22741
22742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22743 $as_echo_n "checking for _hypotf declaration... " >&6; }
22744 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22745 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22746 $as_echo_n "(cached) " >&6
22747 else
22748
22749
22750 ac_ext=cpp
22751 ac_cpp='$CXXCPP $CPPFLAGS'
22752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22755
22756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22757 /* end confdefs.h. */
22758 #include <math.h>
22759 int
22760 main ()
22761 {
22762 _hypotf(0, 0);
22763 ;
22764 return 0;
22765 }
22766 _ACEOF
22767 if ac_fn_cxx_try_compile "$LINENO"; then :
22768 glibcxx_cv_func__hypotf_use=yes
22769 else
22770 glibcxx_cv_func__hypotf_use=no
22771 fi
22772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22773 ac_ext=c
22774 ac_cpp='$CPP $CPPFLAGS'
22775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22778
22779
22780 fi
22781
22782 fi
22783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22784 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22785
22786 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22787 for ac_func in _hypotf
22788 do :
22789 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22790 if test "x$ac_cv_func__hypotf" = x""yes; then :
22791 cat >>confdefs.h <<_ACEOF
22792 #define HAVE__HYPOTF 1
22793 _ACEOF
22794
22795 fi
22796 done
22797
22798 fi
22799 fi
22800
22801
22802
22803
22804
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22806 $as_echo_n "checking for ldexpf declaration... " >&6; }
22807 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22808 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22809 $as_echo_n "(cached) " >&6
22810 else
22811
22812
22813 ac_ext=cpp
22814 ac_cpp='$CXXCPP $CPPFLAGS'
22815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22818
22819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22820 /* end confdefs.h. */
22821 #include <math.h>
22822 int
22823 main ()
22824 {
22825 ldexpf(0, 0);
22826 ;
22827 return 0;
22828 }
22829 _ACEOF
22830 if ac_fn_cxx_try_compile "$LINENO"; then :
22831 glibcxx_cv_func_ldexpf_use=yes
22832 else
22833 glibcxx_cv_func_ldexpf_use=no
22834 fi
22835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22836 ac_ext=c
22837 ac_cpp='$CPP $CPPFLAGS'
22838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22841
22842
22843 fi
22844
22845 fi
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22847 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22848
22849 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22850 for ac_func in ldexpf
22851 do :
22852 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22853 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22854 cat >>confdefs.h <<_ACEOF
22855 #define HAVE_LDEXPF 1
22856 _ACEOF
22857
22858 fi
22859 done
22860
22861 else
22862
22863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22864 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22865 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22866 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22867 $as_echo_n "(cached) " >&6
22868 else
22869
22870
22871 ac_ext=cpp
22872 ac_cpp='$CXXCPP $CPPFLAGS'
22873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22876
22877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22878 /* end confdefs.h. */
22879 #include <math.h>
22880 int
22881 main ()
22882 {
22883 _ldexpf(0, 0);
22884 ;
22885 return 0;
22886 }
22887 _ACEOF
22888 if ac_fn_cxx_try_compile "$LINENO"; then :
22889 glibcxx_cv_func__ldexpf_use=yes
22890 else
22891 glibcxx_cv_func__ldexpf_use=no
22892 fi
22893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22894 ac_ext=c
22895 ac_cpp='$CPP $CPPFLAGS'
22896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22899
22900
22901 fi
22902
22903 fi
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22905 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22906
22907 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22908 for ac_func in _ldexpf
22909 do :
22910 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22911 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22912 cat >>confdefs.h <<_ACEOF
22913 #define HAVE__LDEXPF 1
22914 _ACEOF
22915
22916 fi
22917 done
22918
22919 fi
22920 fi
22921
22922
22923
22924
22925
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22927 $as_echo_n "checking for logf declaration... " >&6; }
22928 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22929 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22930 $as_echo_n "(cached) " >&6
22931 else
22932
22933
22934 ac_ext=cpp
22935 ac_cpp='$CXXCPP $CPPFLAGS'
22936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22939
22940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22941 /* end confdefs.h. */
22942 #include <math.h>
22943 #ifdef HAVE_IEEEFP_H
22944 #include <ieeefp.h>
22945 #endif
22946
22947 int
22948 main ()
22949 {
22950 logf(0);
22951 ;
22952 return 0;
22953 }
22954 _ACEOF
22955 if ac_fn_cxx_try_compile "$LINENO"; then :
22956 glibcxx_cv_func_logf_use=yes
22957 else
22958 glibcxx_cv_func_logf_use=no
22959 fi
22960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22961 ac_ext=c
22962 ac_cpp='$CPP $CPPFLAGS'
22963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22966
22967
22968 fi
22969
22970 fi
22971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22972 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22973
22974 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22975 for ac_func in logf
22976 do :
22977 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22978 if test "x$ac_cv_func_logf" = x""yes; then :
22979 cat >>confdefs.h <<_ACEOF
22980 #define HAVE_LOGF 1
22981 _ACEOF
22982
22983 fi
22984 done
22985
22986 else
22987
22988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22989 $as_echo_n "checking for _logf declaration... " >&6; }
22990 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22991 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22992 $as_echo_n "(cached) " >&6
22993 else
22994
22995
22996 ac_ext=cpp
22997 ac_cpp='$CXXCPP $CPPFLAGS'
22998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23001
23002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23003 /* end confdefs.h. */
23004 #include <math.h>
23005 #ifdef HAVE_IEEEFP_H
23006 #include <ieeefp.h>
23007 #endif
23008
23009 int
23010 main ()
23011 {
23012 _logf(0);
23013 ;
23014 return 0;
23015 }
23016 _ACEOF
23017 if ac_fn_cxx_try_compile "$LINENO"; then :
23018 glibcxx_cv_func__logf_use=yes
23019 else
23020 glibcxx_cv_func__logf_use=no
23021 fi
23022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23023 ac_ext=c
23024 ac_cpp='$CPP $CPPFLAGS'
23025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23028
23029
23030 fi
23031
23032 fi
23033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23034 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23035
23036 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23037 for ac_func in _logf
23038 do :
23039 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23040 if test "x$ac_cv_func__logf" = x""yes; then :
23041 cat >>confdefs.h <<_ACEOF
23042 #define HAVE__LOGF 1
23043 _ACEOF
23044
23045 fi
23046 done
23047
23048 fi
23049 fi
23050
23051
23052
23053
23054
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23056 $as_echo_n "checking for log10f declaration... " >&6; }
23057 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23058 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23059 $as_echo_n "(cached) " >&6
23060 else
23061
23062
23063 ac_ext=cpp
23064 ac_cpp='$CXXCPP $CPPFLAGS'
23065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23068
23069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23070 /* end confdefs.h. */
23071 #include <math.h>
23072 #ifdef HAVE_IEEEFP_H
23073 #include <ieeefp.h>
23074 #endif
23075
23076 int
23077 main ()
23078 {
23079 log10f(0);
23080 ;
23081 return 0;
23082 }
23083 _ACEOF
23084 if ac_fn_cxx_try_compile "$LINENO"; then :
23085 glibcxx_cv_func_log10f_use=yes
23086 else
23087 glibcxx_cv_func_log10f_use=no
23088 fi
23089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23090 ac_ext=c
23091 ac_cpp='$CPP $CPPFLAGS'
23092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23095
23096
23097 fi
23098
23099 fi
23100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23101 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23102
23103 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23104 for ac_func in log10f
23105 do :
23106 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23107 if test "x$ac_cv_func_log10f" = x""yes; then :
23108 cat >>confdefs.h <<_ACEOF
23109 #define HAVE_LOG10F 1
23110 _ACEOF
23111
23112 fi
23113 done
23114
23115 else
23116
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23118 $as_echo_n "checking for _log10f declaration... " >&6; }
23119 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23120 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23121 $as_echo_n "(cached) " >&6
23122 else
23123
23124
23125 ac_ext=cpp
23126 ac_cpp='$CXXCPP $CPPFLAGS'
23127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23130
23131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23132 /* end confdefs.h. */
23133 #include <math.h>
23134 #ifdef HAVE_IEEEFP_H
23135 #include <ieeefp.h>
23136 #endif
23137
23138 int
23139 main ()
23140 {
23141 _log10f(0);
23142 ;
23143 return 0;
23144 }
23145 _ACEOF
23146 if ac_fn_cxx_try_compile "$LINENO"; then :
23147 glibcxx_cv_func__log10f_use=yes
23148 else
23149 glibcxx_cv_func__log10f_use=no
23150 fi
23151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23152 ac_ext=c
23153 ac_cpp='$CPP $CPPFLAGS'
23154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23157
23158
23159 fi
23160
23161 fi
23162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23163 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23164
23165 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23166 for ac_func in _log10f
23167 do :
23168 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23169 if test "x$ac_cv_func__log10f" = x""yes; then :
23170 cat >>confdefs.h <<_ACEOF
23171 #define HAVE__LOG10F 1
23172 _ACEOF
23173
23174 fi
23175 done
23176
23177 fi
23178 fi
23179
23180
23181
23182
23183
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23185 $as_echo_n "checking for modff declaration... " >&6; }
23186 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23187 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23188 $as_echo_n "(cached) " >&6
23189 else
23190
23191
23192 ac_ext=cpp
23193 ac_cpp='$CXXCPP $CPPFLAGS'
23194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23197
23198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23199 /* end confdefs.h. */
23200 #include <math.h>
23201 int
23202 main ()
23203 {
23204 modff(0, 0);
23205 ;
23206 return 0;
23207 }
23208 _ACEOF
23209 if ac_fn_cxx_try_compile "$LINENO"; then :
23210 glibcxx_cv_func_modff_use=yes
23211 else
23212 glibcxx_cv_func_modff_use=no
23213 fi
23214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23215 ac_ext=c
23216 ac_cpp='$CPP $CPPFLAGS'
23217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23220
23221
23222 fi
23223
23224 fi
23225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23226 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23227
23228 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23229 for ac_func in modff
23230 do :
23231 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23232 if test "x$ac_cv_func_modff" = x""yes; then :
23233 cat >>confdefs.h <<_ACEOF
23234 #define HAVE_MODFF 1
23235 _ACEOF
23236
23237 fi
23238 done
23239
23240 else
23241
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23243 $as_echo_n "checking for _modff declaration... " >&6; }
23244 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23245 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23246 $as_echo_n "(cached) " >&6
23247 else
23248
23249
23250 ac_ext=cpp
23251 ac_cpp='$CXXCPP $CPPFLAGS'
23252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23255
23256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23257 /* end confdefs.h. */
23258 #include <math.h>
23259 int
23260 main ()
23261 {
23262 _modff(0, 0);
23263 ;
23264 return 0;
23265 }
23266 _ACEOF
23267 if ac_fn_cxx_try_compile "$LINENO"; then :
23268 glibcxx_cv_func__modff_use=yes
23269 else
23270 glibcxx_cv_func__modff_use=no
23271 fi
23272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23273 ac_ext=c
23274 ac_cpp='$CPP $CPPFLAGS'
23275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23278
23279
23280 fi
23281
23282 fi
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23284 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23285
23286 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23287 for ac_func in _modff
23288 do :
23289 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23290 if test "x$ac_cv_func__modff" = x""yes; then :
23291 cat >>confdefs.h <<_ACEOF
23292 #define HAVE__MODFF 1
23293 _ACEOF
23294
23295 fi
23296 done
23297
23298 fi
23299 fi
23300
23301
23302
23303
23304
23305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23306 $as_echo_n "checking for modf declaration... " >&6; }
23307 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23308 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23309 $as_echo_n "(cached) " >&6
23310 else
23311
23312
23313 ac_ext=cpp
23314 ac_cpp='$CXXCPP $CPPFLAGS'
23315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23318
23319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23320 /* end confdefs.h. */
23321 #include <math.h>
23322 int
23323 main ()
23324 {
23325 modf(0, 0);
23326 ;
23327 return 0;
23328 }
23329 _ACEOF
23330 if ac_fn_cxx_try_compile "$LINENO"; then :
23331 glibcxx_cv_func_modf_use=yes
23332 else
23333 glibcxx_cv_func_modf_use=no
23334 fi
23335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23336 ac_ext=c
23337 ac_cpp='$CPP $CPPFLAGS'
23338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23341
23342
23343 fi
23344
23345 fi
23346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23347 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23348
23349 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23350 for ac_func in modf
23351 do :
23352 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23353 if test "x$ac_cv_func_modf" = x""yes; then :
23354 cat >>confdefs.h <<_ACEOF
23355 #define HAVE_MODF 1
23356 _ACEOF
23357
23358 fi
23359 done
23360
23361 else
23362
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23364 $as_echo_n "checking for _modf declaration... " >&6; }
23365 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23366 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23367 $as_echo_n "(cached) " >&6
23368 else
23369
23370
23371 ac_ext=cpp
23372 ac_cpp='$CXXCPP $CPPFLAGS'
23373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23376
23377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23378 /* end confdefs.h. */
23379 #include <math.h>
23380 int
23381 main ()
23382 {
23383 _modf(0, 0);
23384 ;
23385 return 0;
23386 }
23387 _ACEOF
23388 if ac_fn_cxx_try_compile "$LINENO"; then :
23389 glibcxx_cv_func__modf_use=yes
23390 else
23391 glibcxx_cv_func__modf_use=no
23392 fi
23393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23394 ac_ext=c
23395 ac_cpp='$CPP $CPPFLAGS'
23396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23399
23400
23401 fi
23402
23403 fi
23404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23405 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23406
23407 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23408 for ac_func in _modf
23409 do :
23410 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23411 if test "x$ac_cv_func__modf" = x""yes; then :
23412 cat >>confdefs.h <<_ACEOF
23413 #define HAVE__MODF 1
23414 _ACEOF
23415
23416 fi
23417 done
23418
23419 fi
23420 fi
23421
23422
23423
23424
23425
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23427 $as_echo_n "checking for powf declaration... " >&6; }
23428 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23429 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23430 $as_echo_n "(cached) " >&6
23431 else
23432
23433
23434 ac_ext=cpp
23435 ac_cpp='$CXXCPP $CPPFLAGS'
23436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23439
23440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23441 /* end confdefs.h. */
23442 #include <math.h>
23443 int
23444 main ()
23445 {
23446 powf(0, 0);
23447 ;
23448 return 0;
23449 }
23450 _ACEOF
23451 if ac_fn_cxx_try_compile "$LINENO"; then :
23452 glibcxx_cv_func_powf_use=yes
23453 else
23454 glibcxx_cv_func_powf_use=no
23455 fi
23456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23457 ac_ext=c
23458 ac_cpp='$CPP $CPPFLAGS'
23459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23462
23463
23464 fi
23465
23466 fi
23467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23468 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23469
23470 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23471 for ac_func in powf
23472 do :
23473 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23474 if test "x$ac_cv_func_powf" = x""yes; then :
23475 cat >>confdefs.h <<_ACEOF
23476 #define HAVE_POWF 1
23477 _ACEOF
23478
23479 fi
23480 done
23481
23482 else
23483
23484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23485 $as_echo_n "checking for _powf declaration... " >&6; }
23486 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23487 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23488 $as_echo_n "(cached) " >&6
23489 else
23490
23491
23492 ac_ext=cpp
23493 ac_cpp='$CXXCPP $CPPFLAGS'
23494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23497
23498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23499 /* end confdefs.h. */
23500 #include <math.h>
23501 int
23502 main ()
23503 {
23504 _powf(0, 0);
23505 ;
23506 return 0;
23507 }
23508 _ACEOF
23509 if ac_fn_cxx_try_compile "$LINENO"; then :
23510 glibcxx_cv_func__powf_use=yes
23511 else
23512 glibcxx_cv_func__powf_use=no
23513 fi
23514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23515 ac_ext=c
23516 ac_cpp='$CPP $CPPFLAGS'
23517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23520
23521
23522 fi
23523
23524 fi
23525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23526 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23527
23528 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23529 for ac_func in _powf
23530 do :
23531 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23532 if test "x$ac_cv_func__powf" = x""yes; then :
23533 cat >>confdefs.h <<_ACEOF
23534 #define HAVE__POWF 1
23535 _ACEOF
23536
23537 fi
23538 done
23539
23540 fi
23541 fi
23542
23543
23544
23545
23546
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23548 $as_echo_n "checking for sqrtf declaration... " >&6; }
23549 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23550 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23551 $as_echo_n "(cached) " >&6
23552 else
23553
23554
23555 ac_ext=cpp
23556 ac_cpp='$CXXCPP $CPPFLAGS'
23557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23560
23561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23562 /* end confdefs.h. */
23563 #include <math.h>
23564 #ifdef HAVE_IEEEFP_H
23565 #include <ieeefp.h>
23566 #endif
23567
23568 int
23569 main ()
23570 {
23571 sqrtf(0);
23572 ;
23573 return 0;
23574 }
23575 _ACEOF
23576 if ac_fn_cxx_try_compile "$LINENO"; then :
23577 glibcxx_cv_func_sqrtf_use=yes
23578 else
23579 glibcxx_cv_func_sqrtf_use=no
23580 fi
23581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23582 ac_ext=c
23583 ac_cpp='$CPP $CPPFLAGS'
23584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23587
23588
23589 fi
23590
23591 fi
23592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23593 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23594
23595 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23596 for ac_func in sqrtf
23597 do :
23598 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23599 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23600 cat >>confdefs.h <<_ACEOF
23601 #define HAVE_SQRTF 1
23602 _ACEOF
23603
23604 fi
23605 done
23606
23607 else
23608
23609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23610 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23611 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23612 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23613 $as_echo_n "(cached) " >&6
23614 else
23615
23616
23617 ac_ext=cpp
23618 ac_cpp='$CXXCPP $CPPFLAGS'
23619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23622
23623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23624 /* end confdefs.h. */
23625 #include <math.h>
23626 #ifdef HAVE_IEEEFP_H
23627 #include <ieeefp.h>
23628 #endif
23629
23630 int
23631 main ()
23632 {
23633 _sqrtf(0);
23634 ;
23635 return 0;
23636 }
23637 _ACEOF
23638 if ac_fn_cxx_try_compile "$LINENO"; then :
23639 glibcxx_cv_func__sqrtf_use=yes
23640 else
23641 glibcxx_cv_func__sqrtf_use=no
23642 fi
23643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23644 ac_ext=c
23645 ac_cpp='$CPP $CPPFLAGS'
23646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23649
23650
23651 fi
23652
23653 fi
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23655 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23656
23657 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23658 for ac_func in _sqrtf
23659 do :
23660 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23661 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23662 cat >>confdefs.h <<_ACEOF
23663 #define HAVE__SQRTF 1
23664 _ACEOF
23665
23666 fi
23667 done
23668
23669 fi
23670 fi
23671
23672
23673
23674
23675
23676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23677 $as_echo_n "checking for sincosf declaration... " >&6; }
23678 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23679 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23680 $as_echo_n "(cached) " >&6
23681 else
23682
23683
23684 ac_ext=cpp
23685 ac_cpp='$CXXCPP $CPPFLAGS'
23686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23689
23690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23691 /* end confdefs.h. */
23692 #include <math.h>
23693 int
23694 main ()
23695 {
23696 sincosf(0, 0, 0);
23697 ;
23698 return 0;
23699 }
23700 _ACEOF
23701 if ac_fn_cxx_try_compile "$LINENO"; then :
23702 glibcxx_cv_func_sincosf_use=yes
23703 else
23704 glibcxx_cv_func_sincosf_use=no
23705 fi
23706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23707 ac_ext=c
23708 ac_cpp='$CPP $CPPFLAGS'
23709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23712
23713
23714 fi
23715
23716 fi
23717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23718 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23719
23720 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23721 for ac_func in sincosf
23722 do :
23723 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23724 if test "x$ac_cv_func_sincosf" = x""yes; then :
23725 cat >>confdefs.h <<_ACEOF
23726 #define HAVE_SINCOSF 1
23727 _ACEOF
23728
23729 fi
23730 done
23731
23732 else
23733
23734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23735 $as_echo_n "checking for _sincosf declaration... " >&6; }
23736 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23737 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23738 $as_echo_n "(cached) " >&6
23739 else
23740
23741
23742 ac_ext=cpp
23743 ac_cpp='$CXXCPP $CPPFLAGS'
23744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23747
23748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23749 /* end confdefs.h. */
23750 #include <math.h>
23751 int
23752 main ()
23753 {
23754 _sincosf(0, 0, 0);
23755 ;
23756 return 0;
23757 }
23758 _ACEOF
23759 if ac_fn_cxx_try_compile "$LINENO"; then :
23760 glibcxx_cv_func__sincosf_use=yes
23761 else
23762 glibcxx_cv_func__sincosf_use=no
23763 fi
23764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23765 ac_ext=c
23766 ac_cpp='$CPP $CPPFLAGS'
23767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23770
23771
23772 fi
23773
23774 fi
23775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23776 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23777
23778 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23779 for ac_func in _sincosf
23780 do :
23781 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23782 if test "x$ac_cv_func__sincosf" = x""yes; then :
23783 cat >>confdefs.h <<_ACEOF
23784 #define HAVE__SINCOSF 1
23785 _ACEOF
23786
23787 fi
23788 done
23789
23790 fi
23791 fi
23792
23793
23794
23795
23796
23797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23798 $as_echo_n "checking for finitef declaration... " >&6; }
23799 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23800 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23801 $as_echo_n "(cached) " >&6
23802 else
23803
23804
23805 ac_ext=cpp
23806 ac_cpp='$CXXCPP $CPPFLAGS'
23807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23810
23811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23812 /* end confdefs.h. */
23813 #include <math.h>
23814 #ifdef HAVE_IEEEFP_H
23815 #include <ieeefp.h>
23816 #endif
23817
23818 int
23819 main ()
23820 {
23821 finitef(0);
23822 ;
23823 return 0;
23824 }
23825 _ACEOF
23826 if ac_fn_cxx_try_compile "$LINENO"; then :
23827 glibcxx_cv_func_finitef_use=yes
23828 else
23829 glibcxx_cv_func_finitef_use=no
23830 fi
23831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23832 ac_ext=c
23833 ac_cpp='$CPP $CPPFLAGS'
23834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23837
23838
23839 fi
23840
23841 fi
23842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23843 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23844
23845 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23846 for ac_func in finitef
23847 do :
23848 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23849 if test "x$ac_cv_func_finitef" = x""yes; then :
23850 cat >>confdefs.h <<_ACEOF
23851 #define HAVE_FINITEF 1
23852 _ACEOF
23853
23854 fi
23855 done
23856
23857 else
23858
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23860 $as_echo_n "checking for _finitef declaration... " >&6; }
23861 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23862 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23863 $as_echo_n "(cached) " >&6
23864 else
23865
23866
23867 ac_ext=cpp
23868 ac_cpp='$CXXCPP $CPPFLAGS'
23869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23872
23873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23874 /* end confdefs.h. */
23875 #include <math.h>
23876 #ifdef HAVE_IEEEFP_H
23877 #include <ieeefp.h>
23878 #endif
23879
23880 int
23881 main ()
23882 {
23883 _finitef(0);
23884 ;
23885 return 0;
23886 }
23887 _ACEOF
23888 if ac_fn_cxx_try_compile "$LINENO"; then :
23889 glibcxx_cv_func__finitef_use=yes
23890 else
23891 glibcxx_cv_func__finitef_use=no
23892 fi
23893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23894 ac_ext=c
23895 ac_cpp='$CPP $CPPFLAGS'
23896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23899
23900
23901 fi
23902
23903 fi
23904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23905 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23906
23907 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23908 for ac_func in _finitef
23909 do :
23910 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23911 if test "x$ac_cv_func__finitef" = x""yes; then :
23912 cat >>confdefs.h <<_ACEOF
23913 #define HAVE__FINITEF 1
23914 _ACEOF
23915
23916 fi
23917 done
23918
23919 fi
23920 fi
23921
23922
23923
23924
23925
23926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23927 $as_echo_n "checking for long double trig functions... " >&6; }
23928 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23929 $as_echo_n "(cached) " >&6
23930 else
23931
23932
23933 ac_ext=cpp
23934 ac_cpp='$CXXCPP $CPPFLAGS'
23935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23938
23939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23940 /* end confdefs.h. */
23941 #include <math.h>
23942 int
23943 main ()
23944 {
23945 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23946 ;
23947 return 0;
23948 }
23949 _ACEOF
23950 if ac_fn_cxx_try_compile "$LINENO"; then :
23951 glibcxx_cv_func_long_double_trig_use=yes
23952 else
23953 glibcxx_cv_func_long_double_trig_use=no
23954 fi
23955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23956 ac_ext=c
23957 ac_cpp='$CPP $CPPFLAGS'
23958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23961
23962 fi
23963
23964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23965 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23966 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23967 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23968 do :
23969 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23970 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23971 eval as_val=\$$as_ac_var
23972 if test "x$as_val" = x""yes; then :
23973 cat >>confdefs.h <<_ACEOF
23974 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23975 _ACEOF
23976
23977 fi
23978 done
23979
23980 else
23981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23982 $as_echo_n "checking for _long double trig functions... " >&6; }
23983 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23984 $as_echo_n "(cached) " >&6
23985 else
23986
23987
23988 ac_ext=cpp
23989 ac_cpp='$CXXCPP $CPPFLAGS'
23990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23993
23994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23995 /* end confdefs.h. */
23996 #include <math.h>
23997 int
23998 main ()
23999 {
24000 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24001 ;
24002 return 0;
24003 }
24004 _ACEOF
24005 if ac_fn_cxx_try_compile "$LINENO"; then :
24006 glibcxx_cv_func__long_double_trig_use=yes
24007 else
24008 glibcxx_cv_func__long_double_trig_use=no
24009 fi
24010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24011 ac_ext=c
24012 ac_cpp='$CPP $CPPFLAGS'
24013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24016
24017 fi
24018
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24020 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24021 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24022 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24023 do :
24024 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24025 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24026 eval as_val=\$$as_ac_var
24027 if test "x$as_val" = x""yes; then :
24028 cat >>confdefs.h <<_ACEOF
24029 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24030 _ACEOF
24031
24032 fi
24033 done
24034
24035 fi
24036 fi
24037
24038
24039
24040
24041
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24043 $as_echo_n "checking for long double round functions... " >&6; }
24044 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24045 $as_echo_n "(cached) " >&6
24046 else
24047
24048
24049 ac_ext=cpp
24050 ac_cpp='$CXXCPP $CPPFLAGS'
24051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24054
24055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24056 /* end confdefs.h. */
24057 #include <math.h>
24058 int
24059 main ()
24060 {
24061 ceill (0); floorl (0);
24062 ;
24063 return 0;
24064 }
24065 _ACEOF
24066 if ac_fn_cxx_try_compile "$LINENO"; then :
24067 glibcxx_cv_func_long_double_round_use=yes
24068 else
24069 glibcxx_cv_func_long_double_round_use=no
24070 fi
24071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24072 ac_ext=c
24073 ac_cpp='$CPP $CPPFLAGS'
24074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24077
24078 fi
24079
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24081 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24082 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24083 for ac_func in ceill floorl
24084 do :
24085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24087 eval as_val=\$$as_ac_var
24088 if test "x$as_val" = x""yes; then :
24089 cat >>confdefs.h <<_ACEOF
24090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24091 _ACEOF
24092
24093 fi
24094 done
24095
24096 else
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24098 $as_echo_n "checking for _long double round functions... " >&6; }
24099 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24100 $as_echo_n "(cached) " >&6
24101 else
24102
24103
24104 ac_ext=cpp
24105 ac_cpp='$CXXCPP $CPPFLAGS'
24106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24109
24110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24111 /* end confdefs.h. */
24112 #include <math.h>
24113 int
24114 main ()
24115 {
24116 _ceill (0); _floorl (0);
24117 ;
24118 return 0;
24119 }
24120 _ACEOF
24121 if ac_fn_cxx_try_compile "$LINENO"; then :
24122 glibcxx_cv_func__long_double_round_use=yes
24123 else
24124 glibcxx_cv_func__long_double_round_use=no
24125 fi
24126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24127 ac_ext=c
24128 ac_cpp='$CPP $CPPFLAGS'
24129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24132
24133 fi
24134
24135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24136 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24137 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24138 for ac_func in _ceill _floorl
24139 do :
24140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24142 eval as_val=\$$as_ac_var
24143 if test "x$as_val" = x""yes; then :
24144 cat >>confdefs.h <<_ACEOF
24145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24146 _ACEOF
24147
24148 fi
24149 done
24150
24151 fi
24152 fi
24153
24154
24155
24156
24157
24158
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24160 $as_echo_n "checking for isnanl declaration... " >&6; }
24161 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24162 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24163 $as_echo_n "(cached) " >&6
24164 else
24165
24166
24167 ac_ext=cpp
24168 ac_cpp='$CXXCPP $CPPFLAGS'
24169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24172
24173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24174 /* end confdefs.h. */
24175 #include <math.h>
24176 #ifdef HAVE_IEEEFP_H
24177 #include <ieeefp.h>
24178 #endif
24179
24180 int
24181 main ()
24182 {
24183 isnanl(0);
24184 ;
24185 return 0;
24186 }
24187 _ACEOF
24188 if ac_fn_cxx_try_compile "$LINENO"; then :
24189 glibcxx_cv_func_isnanl_use=yes
24190 else
24191 glibcxx_cv_func_isnanl_use=no
24192 fi
24193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24194 ac_ext=c
24195 ac_cpp='$CPP $CPPFLAGS'
24196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24199
24200
24201 fi
24202
24203 fi
24204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24205 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24206
24207 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24208 for ac_func in isnanl
24209 do :
24210 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24211 if test "x$ac_cv_func_isnanl" = x""yes; then :
24212 cat >>confdefs.h <<_ACEOF
24213 #define HAVE_ISNANL 1
24214 _ACEOF
24215
24216 fi
24217 done
24218
24219 else
24220
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24222 $as_echo_n "checking for _isnanl declaration... " >&6; }
24223 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24224 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24225 $as_echo_n "(cached) " >&6
24226 else
24227
24228
24229 ac_ext=cpp
24230 ac_cpp='$CXXCPP $CPPFLAGS'
24231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24234
24235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24236 /* end confdefs.h. */
24237 #include <math.h>
24238 #ifdef HAVE_IEEEFP_H
24239 #include <ieeefp.h>
24240 #endif
24241
24242 int
24243 main ()
24244 {
24245 _isnanl(0);
24246 ;
24247 return 0;
24248 }
24249 _ACEOF
24250 if ac_fn_cxx_try_compile "$LINENO"; then :
24251 glibcxx_cv_func__isnanl_use=yes
24252 else
24253 glibcxx_cv_func__isnanl_use=no
24254 fi
24255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24256 ac_ext=c
24257 ac_cpp='$CPP $CPPFLAGS'
24258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24261
24262
24263 fi
24264
24265 fi
24266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24267 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24268
24269 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24270 for ac_func in _isnanl
24271 do :
24272 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24273 if test "x$ac_cv_func__isnanl" = x""yes; then :
24274 cat >>confdefs.h <<_ACEOF
24275 #define HAVE__ISNANL 1
24276 _ACEOF
24277
24278 fi
24279 done
24280
24281 fi
24282 fi
24283
24284
24285
24286
24287
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24289 $as_echo_n "checking for isinfl declaration... " >&6; }
24290 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24291 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24292 $as_echo_n "(cached) " >&6
24293 else
24294
24295
24296 ac_ext=cpp
24297 ac_cpp='$CXXCPP $CPPFLAGS'
24298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24301
24302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24303 /* end confdefs.h. */
24304 #include <math.h>
24305 #ifdef HAVE_IEEEFP_H
24306 #include <ieeefp.h>
24307 #endif
24308
24309 int
24310 main ()
24311 {
24312 isinfl(0);
24313 ;
24314 return 0;
24315 }
24316 _ACEOF
24317 if ac_fn_cxx_try_compile "$LINENO"; then :
24318 glibcxx_cv_func_isinfl_use=yes
24319 else
24320 glibcxx_cv_func_isinfl_use=no
24321 fi
24322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24323 ac_ext=c
24324 ac_cpp='$CPP $CPPFLAGS'
24325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24328
24329
24330 fi
24331
24332 fi
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24334 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24335
24336 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24337 for ac_func in isinfl
24338 do :
24339 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24340 if test "x$ac_cv_func_isinfl" = x""yes; then :
24341 cat >>confdefs.h <<_ACEOF
24342 #define HAVE_ISINFL 1
24343 _ACEOF
24344
24345 fi
24346 done
24347
24348 else
24349
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24351 $as_echo_n "checking for _isinfl declaration... " >&6; }
24352 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24353 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24354 $as_echo_n "(cached) " >&6
24355 else
24356
24357
24358 ac_ext=cpp
24359 ac_cpp='$CXXCPP $CPPFLAGS'
24360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24363
24364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24365 /* end confdefs.h. */
24366 #include <math.h>
24367 #ifdef HAVE_IEEEFP_H
24368 #include <ieeefp.h>
24369 #endif
24370
24371 int
24372 main ()
24373 {
24374 _isinfl(0);
24375 ;
24376 return 0;
24377 }
24378 _ACEOF
24379 if ac_fn_cxx_try_compile "$LINENO"; then :
24380 glibcxx_cv_func__isinfl_use=yes
24381 else
24382 glibcxx_cv_func__isinfl_use=no
24383 fi
24384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24385 ac_ext=c
24386 ac_cpp='$CPP $CPPFLAGS'
24387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24390
24391
24392 fi
24393
24394 fi
24395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24396 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24397
24398 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24399 for ac_func in _isinfl
24400 do :
24401 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24402 if test "x$ac_cv_func__isinfl" = x""yes; then :
24403 cat >>confdefs.h <<_ACEOF
24404 #define HAVE__ISINFL 1
24405 _ACEOF
24406
24407 fi
24408 done
24409
24410 fi
24411 fi
24412
24413
24414
24415
24416
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24418 $as_echo_n "checking for atan2l declaration... " >&6; }
24419 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24420 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24421 $as_echo_n "(cached) " >&6
24422 else
24423
24424
24425 ac_ext=cpp
24426 ac_cpp='$CXXCPP $CPPFLAGS'
24427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24430
24431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24432 /* end confdefs.h. */
24433 #include <math.h>
24434 int
24435 main ()
24436 {
24437 atan2l(0, 0);
24438 ;
24439 return 0;
24440 }
24441 _ACEOF
24442 if ac_fn_cxx_try_compile "$LINENO"; then :
24443 glibcxx_cv_func_atan2l_use=yes
24444 else
24445 glibcxx_cv_func_atan2l_use=no
24446 fi
24447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24448 ac_ext=c
24449 ac_cpp='$CPP $CPPFLAGS'
24450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24453
24454
24455 fi
24456
24457 fi
24458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24459 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24460
24461 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24462 for ac_func in atan2l
24463 do :
24464 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24465 if test "x$ac_cv_func_atan2l" = x""yes; then :
24466 cat >>confdefs.h <<_ACEOF
24467 #define HAVE_ATAN2L 1
24468 _ACEOF
24469
24470 fi
24471 done
24472
24473 else
24474
24475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24476 $as_echo_n "checking for _atan2l declaration... " >&6; }
24477 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24478 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24479 $as_echo_n "(cached) " >&6
24480 else
24481
24482
24483 ac_ext=cpp
24484 ac_cpp='$CXXCPP $CPPFLAGS'
24485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24488
24489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24490 /* end confdefs.h. */
24491 #include <math.h>
24492 int
24493 main ()
24494 {
24495 _atan2l(0, 0);
24496 ;
24497 return 0;
24498 }
24499 _ACEOF
24500 if ac_fn_cxx_try_compile "$LINENO"; then :
24501 glibcxx_cv_func__atan2l_use=yes
24502 else
24503 glibcxx_cv_func__atan2l_use=no
24504 fi
24505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24506 ac_ext=c
24507 ac_cpp='$CPP $CPPFLAGS'
24508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24511
24512
24513 fi
24514
24515 fi
24516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24517 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24518
24519 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24520 for ac_func in _atan2l
24521 do :
24522 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24523 if test "x$ac_cv_func__atan2l" = x""yes; then :
24524 cat >>confdefs.h <<_ACEOF
24525 #define HAVE__ATAN2L 1
24526 _ACEOF
24527
24528 fi
24529 done
24530
24531 fi
24532 fi
24533
24534
24535
24536
24537
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24539 $as_echo_n "checking for expl declaration... " >&6; }
24540 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24541 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24542 $as_echo_n "(cached) " >&6
24543 else
24544
24545
24546 ac_ext=cpp
24547 ac_cpp='$CXXCPP $CPPFLAGS'
24548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24551
24552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24553 /* end confdefs.h. */
24554 #include <math.h>
24555 #ifdef HAVE_IEEEFP_H
24556 #include <ieeefp.h>
24557 #endif
24558
24559 int
24560 main ()
24561 {
24562 expl(0);
24563 ;
24564 return 0;
24565 }
24566 _ACEOF
24567 if ac_fn_cxx_try_compile "$LINENO"; then :
24568 glibcxx_cv_func_expl_use=yes
24569 else
24570 glibcxx_cv_func_expl_use=no
24571 fi
24572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24573 ac_ext=c
24574 ac_cpp='$CPP $CPPFLAGS'
24575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24578
24579
24580 fi
24581
24582 fi
24583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24584 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24585
24586 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24587 for ac_func in expl
24588 do :
24589 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24590 if test "x$ac_cv_func_expl" = x""yes; then :
24591 cat >>confdefs.h <<_ACEOF
24592 #define HAVE_EXPL 1
24593 _ACEOF
24594
24595 fi
24596 done
24597
24598 else
24599
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24601 $as_echo_n "checking for _expl declaration... " >&6; }
24602 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24603 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24604 $as_echo_n "(cached) " >&6
24605 else
24606
24607
24608 ac_ext=cpp
24609 ac_cpp='$CXXCPP $CPPFLAGS'
24610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24613
24614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24615 /* end confdefs.h. */
24616 #include <math.h>
24617 #ifdef HAVE_IEEEFP_H
24618 #include <ieeefp.h>
24619 #endif
24620
24621 int
24622 main ()
24623 {
24624 _expl(0);
24625 ;
24626 return 0;
24627 }
24628 _ACEOF
24629 if ac_fn_cxx_try_compile "$LINENO"; then :
24630 glibcxx_cv_func__expl_use=yes
24631 else
24632 glibcxx_cv_func__expl_use=no
24633 fi
24634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24635 ac_ext=c
24636 ac_cpp='$CPP $CPPFLAGS'
24637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24640
24641
24642 fi
24643
24644 fi
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24646 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24647
24648 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24649 for ac_func in _expl
24650 do :
24651 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24652 if test "x$ac_cv_func__expl" = x""yes; then :
24653 cat >>confdefs.h <<_ACEOF
24654 #define HAVE__EXPL 1
24655 _ACEOF
24656
24657 fi
24658 done
24659
24660 fi
24661 fi
24662
24663
24664
24665
24666
24667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24668 $as_echo_n "checking for fabsl declaration... " >&6; }
24669 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24670 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24671 $as_echo_n "(cached) " >&6
24672 else
24673
24674
24675 ac_ext=cpp
24676 ac_cpp='$CXXCPP $CPPFLAGS'
24677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24680
24681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24682 /* end confdefs.h. */
24683 #include <math.h>
24684 #ifdef HAVE_IEEEFP_H
24685 #include <ieeefp.h>
24686 #endif
24687
24688 int
24689 main ()
24690 {
24691 fabsl(0);
24692 ;
24693 return 0;
24694 }
24695 _ACEOF
24696 if ac_fn_cxx_try_compile "$LINENO"; then :
24697 glibcxx_cv_func_fabsl_use=yes
24698 else
24699 glibcxx_cv_func_fabsl_use=no
24700 fi
24701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24702 ac_ext=c
24703 ac_cpp='$CPP $CPPFLAGS'
24704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24707
24708
24709 fi
24710
24711 fi
24712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24713 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24714
24715 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24716 for ac_func in fabsl
24717 do :
24718 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24719 if test "x$ac_cv_func_fabsl" = x""yes; then :
24720 cat >>confdefs.h <<_ACEOF
24721 #define HAVE_FABSL 1
24722 _ACEOF
24723
24724 fi
24725 done
24726
24727 else
24728
24729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24730 $as_echo_n "checking for _fabsl declaration... " >&6; }
24731 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24732 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24733 $as_echo_n "(cached) " >&6
24734 else
24735
24736
24737 ac_ext=cpp
24738 ac_cpp='$CXXCPP $CPPFLAGS'
24739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24742
24743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24744 /* end confdefs.h. */
24745 #include <math.h>
24746 #ifdef HAVE_IEEEFP_H
24747 #include <ieeefp.h>
24748 #endif
24749
24750 int
24751 main ()
24752 {
24753 _fabsl(0);
24754 ;
24755 return 0;
24756 }
24757 _ACEOF
24758 if ac_fn_cxx_try_compile "$LINENO"; then :
24759 glibcxx_cv_func__fabsl_use=yes
24760 else
24761 glibcxx_cv_func__fabsl_use=no
24762 fi
24763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24764 ac_ext=c
24765 ac_cpp='$CPP $CPPFLAGS'
24766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24769
24770
24771 fi
24772
24773 fi
24774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24775 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24776
24777 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24778 for ac_func in _fabsl
24779 do :
24780 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24781 if test "x$ac_cv_func__fabsl" = x""yes; then :
24782 cat >>confdefs.h <<_ACEOF
24783 #define HAVE__FABSL 1
24784 _ACEOF
24785
24786 fi
24787 done
24788
24789 fi
24790 fi
24791
24792
24793
24794
24795
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24797 $as_echo_n "checking for fmodl declaration... " >&6; }
24798 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24799 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24800 $as_echo_n "(cached) " >&6
24801 else
24802
24803
24804 ac_ext=cpp
24805 ac_cpp='$CXXCPP $CPPFLAGS'
24806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24809
24810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24811 /* end confdefs.h. */
24812 #include <math.h>
24813 int
24814 main ()
24815 {
24816 fmodl(0, 0);
24817 ;
24818 return 0;
24819 }
24820 _ACEOF
24821 if ac_fn_cxx_try_compile "$LINENO"; then :
24822 glibcxx_cv_func_fmodl_use=yes
24823 else
24824 glibcxx_cv_func_fmodl_use=no
24825 fi
24826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24827 ac_ext=c
24828 ac_cpp='$CPP $CPPFLAGS'
24829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24832
24833
24834 fi
24835
24836 fi
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24838 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24839
24840 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24841 for ac_func in fmodl
24842 do :
24843 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24844 if test "x$ac_cv_func_fmodl" = x""yes; then :
24845 cat >>confdefs.h <<_ACEOF
24846 #define HAVE_FMODL 1
24847 _ACEOF
24848
24849 fi
24850 done
24851
24852 else
24853
24854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24855 $as_echo_n "checking for _fmodl declaration... " >&6; }
24856 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24857 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24858 $as_echo_n "(cached) " >&6
24859 else
24860
24861
24862 ac_ext=cpp
24863 ac_cpp='$CXXCPP $CPPFLAGS'
24864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24867
24868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24869 /* end confdefs.h. */
24870 #include <math.h>
24871 int
24872 main ()
24873 {
24874 _fmodl(0, 0);
24875 ;
24876 return 0;
24877 }
24878 _ACEOF
24879 if ac_fn_cxx_try_compile "$LINENO"; then :
24880 glibcxx_cv_func__fmodl_use=yes
24881 else
24882 glibcxx_cv_func__fmodl_use=no
24883 fi
24884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24885 ac_ext=c
24886 ac_cpp='$CPP $CPPFLAGS'
24887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24890
24891
24892 fi
24893
24894 fi
24895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24896 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24897
24898 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24899 for ac_func in _fmodl
24900 do :
24901 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24902 if test "x$ac_cv_func__fmodl" = x""yes; then :
24903 cat >>confdefs.h <<_ACEOF
24904 #define HAVE__FMODL 1
24905 _ACEOF
24906
24907 fi
24908 done
24909
24910 fi
24911 fi
24912
24913
24914
24915
24916
24917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24918 $as_echo_n "checking for frexpl declaration... " >&6; }
24919 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24920 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24921 $as_echo_n "(cached) " >&6
24922 else
24923
24924
24925 ac_ext=cpp
24926 ac_cpp='$CXXCPP $CPPFLAGS'
24927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24930
24931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24932 /* end confdefs.h. */
24933 #include <math.h>
24934 int
24935 main ()
24936 {
24937 frexpl(0, 0);
24938 ;
24939 return 0;
24940 }
24941 _ACEOF
24942 if ac_fn_cxx_try_compile "$LINENO"; then :
24943 glibcxx_cv_func_frexpl_use=yes
24944 else
24945 glibcxx_cv_func_frexpl_use=no
24946 fi
24947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24948 ac_ext=c
24949 ac_cpp='$CPP $CPPFLAGS'
24950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24953
24954
24955 fi
24956
24957 fi
24958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24959 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24960
24961 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24962 for ac_func in frexpl
24963 do :
24964 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24965 if test "x$ac_cv_func_frexpl" = x""yes; then :
24966 cat >>confdefs.h <<_ACEOF
24967 #define HAVE_FREXPL 1
24968 _ACEOF
24969
24970 fi
24971 done
24972
24973 else
24974
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24976 $as_echo_n "checking for _frexpl declaration... " >&6; }
24977 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24978 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24979 $as_echo_n "(cached) " >&6
24980 else
24981
24982
24983 ac_ext=cpp
24984 ac_cpp='$CXXCPP $CPPFLAGS'
24985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24988
24989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24990 /* end confdefs.h. */
24991 #include <math.h>
24992 int
24993 main ()
24994 {
24995 _frexpl(0, 0);
24996 ;
24997 return 0;
24998 }
24999 _ACEOF
25000 if ac_fn_cxx_try_compile "$LINENO"; then :
25001 glibcxx_cv_func__frexpl_use=yes
25002 else
25003 glibcxx_cv_func__frexpl_use=no
25004 fi
25005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25006 ac_ext=c
25007 ac_cpp='$CPP $CPPFLAGS'
25008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25011
25012
25013 fi
25014
25015 fi
25016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25017 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25018
25019 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25020 for ac_func in _frexpl
25021 do :
25022 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25023 if test "x$ac_cv_func__frexpl" = x""yes; then :
25024 cat >>confdefs.h <<_ACEOF
25025 #define HAVE__FREXPL 1
25026 _ACEOF
25027
25028 fi
25029 done
25030
25031 fi
25032 fi
25033
25034
25035
25036
25037
25038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25039 $as_echo_n "checking for hypotl declaration... " >&6; }
25040 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25041 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25042 $as_echo_n "(cached) " >&6
25043 else
25044
25045
25046 ac_ext=cpp
25047 ac_cpp='$CXXCPP $CPPFLAGS'
25048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25051
25052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25053 /* end confdefs.h. */
25054 #include <math.h>
25055 int
25056 main ()
25057 {
25058 hypotl(0, 0);
25059 ;
25060 return 0;
25061 }
25062 _ACEOF
25063 if ac_fn_cxx_try_compile "$LINENO"; then :
25064 glibcxx_cv_func_hypotl_use=yes
25065 else
25066 glibcxx_cv_func_hypotl_use=no
25067 fi
25068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25069 ac_ext=c
25070 ac_cpp='$CPP $CPPFLAGS'
25071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25074
25075
25076 fi
25077
25078 fi
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25080 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25081
25082 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25083 for ac_func in hypotl
25084 do :
25085 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25086 if test "x$ac_cv_func_hypotl" = x""yes; then :
25087 cat >>confdefs.h <<_ACEOF
25088 #define HAVE_HYPOTL 1
25089 _ACEOF
25090
25091 fi
25092 done
25093
25094 else
25095
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25097 $as_echo_n "checking for _hypotl declaration... " >&6; }
25098 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25099 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25100 $as_echo_n "(cached) " >&6
25101 else
25102
25103
25104 ac_ext=cpp
25105 ac_cpp='$CXXCPP $CPPFLAGS'
25106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25109
25110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25111 /* end confdefs.h. */
25112 #include <math.h>
25113 int
25114 main ()
25115 {
25116 _hypotl(0, 0);
25117 ;
25118 return 0;
25119 }
25120 _ACEOF
25121 if ac_fn_cxx_try_compile "$LINENO"; then :
25122 glibcxx_cv_func__hypotl_use=yes
25123 else
25124 glibcxx_cv_func__hypotl_use=no
25125 fi
25126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25127 ac_ext=c
25128 ac_cpp='$CPP $CPPFLAGS'
25129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25132
25133
25134 fi
25135
25136 fi
25137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25138 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25139
25140 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25141 for ac_func in _hypotl
25142 do :
25143 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25144 if test "x$ac_cv_func__hypotl" = x""yes; then :
25145 cat >>confdefs.h <<_ACEOF
25146 #define HAVE__HYPOTL 1
25147 _ACEOF
25148
25149 fi
25150 done
25151
25152 fi
25153 fi
25154
25155
25156
25157
25158
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25160 $as_echo_n "checking for ldexpl declaration... " >&6; }
25161 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25162 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25163 $as_echo_n "(cached) " >&6
25164 else
25165
25166
25167 ac_ext=cpp
25168 ac_cpp='$CXXCPP $CPPFLAGS'
25169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25172
25173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25174 /* end confdefs.h. */
25175 #include <math.h>
25176 int
25177 main ()
25178 {
25179 ldexpl(0, 0);
25180 ;
25181 return 0;
25182 }
25183 _ACEOF
25184 if ac_fn_cxx_try_compile "$LINENO"; then :
25185 glibcxx_cv_func_ldexpl_use=yes
25186 else
25187 glibcxx_cv_func_ldexpl_use=no
25188 fi
25189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25190 ac_ext=c
25191 ac_cpp='$CPP $CPPFLAGS'
25192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25195
25196
25197 fi
25198
25199 fi
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25201 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25202
25203 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25204 for ac_func in ldexpl
25205 do :
25206 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25207 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25208 cat >>confdefs.h <<_ACEOF
25209 #define HAVE_LDEXPL 1
25210 _ACEOF
25211
25212 fi
25213 done
25214
25215 else
25216
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25218 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25219 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25220 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25221 $as_echo_n "(cached) " >&6
25222 else
25223
25224
25225 ac_ext=cpp
25226 ac_cpp='$CXXCPP $CPPFLAGS'
25227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25230
25231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25232 /* end confdefs.h. */
25233 #include <math.h>
25234 int
25235 main ()
25236 {
25237 _ldexpl(0, 0);
25238 ;
25239 return 0;
25240 }
25241 _ACEOF
25242 if ac_fn_cxx_try_compile "$LINENO"; then :
25243 glibcxx_cv_func__ldexpl_use=yes
25244 else
25245 glibcxx_cv_func__ldexpl_use=no
25246 fi
25247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25248 ac_ext=c
25249 ac_cpp='$CPP $CPPFLAGS'
25250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25253
25254
25255 fi
25256
25257 fi
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25259 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25260
25261 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25262 for ac_func in _ldexpl
25263 do :
25264 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25265 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25266 cat >>confdefs.h <<_ACEOF
25267 #define HAVE__LDEXPL 1
25268 _ACEOF
25269
25270 fi
25271 done
25272
25273 fi
25274 fi
25275
25276
25277
25278
25279
25280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25281 $as_echo_n "checking for logl declaration... " >&6; }
25282 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25283 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25284 $as_echo_n "(cached) " >&6
25285 else
25286
25287
25288 ac_ext=cpp
25289 ac_cpp='$CXXCPP $CPPFLAGS'
25290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25293
25294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25295 /* end confdefs.h. */
25296 #include <math.h>
25297 #ifdef HAVE_IEEEFP_H
25298 #include <ieeefp.h>
25299 #endif
25300
25301 int
25302 main ()
25303 {
25304 logl(0);
25305 ;
25306 return 0;
25307 }
25308 _ACEOF
25309 if ac_fn_cxx_try_compile "$LINENO"; then :
25310 glibcxx_cv_func_logl_use=yes
25311 else
25312 glibcxx_cv_func_logl_use=no
25313 fi
25314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25315 ac_ext=c
25316 ac_cpp='$CPP $CPPFLAGS'
25317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25320
25321
25322 fi
25323
25324 fi
25325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25326 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25327
25328 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25329 for ac_func in logl
25330 do :
25331 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25332 if test "x$ac_cv_func_logl" = x""yes; then :
25333 cat >>confdefs.h <<_ACEOF
25334 #define HAVE_LOGL 1
25335 _ACEOF
25336
25337 fi
25338 done
25339
25340 else
25341
25342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25343 $as_echo_n "checking for _logl declaration... " >&6; }
25344 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25345 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25346 $as_echo_n "(cached) " >&6
25347 else
25348
25349
25350 ac_ext=cpp
25351 ac_cpp='$CXXCPP $CPPFLAGS'
25352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25355
25356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25357 /* end confdefs.h. */
25358 #include <math.h>
25359 #ifdef HAVE_IEEEFP_H
25360 #include <ieeefp.h>
25361 #endif
25362
25363 int
25364 main ()
25365 {
25366 _logl(0);
25367 ;
25368 return 0;
25369 }
25370 _ACEOF
25371 if ac_fn_cxx_try_compile "$LINENO"; then :
25372 glibcxx_cv_func__logl_use=yes
25373 else
25374 glibcxx_cv_func__logl_use=no
25375 fi
25376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25377 ac_ext=c
25378 ac_cpp='$CPP $CPPFLAGS'
25379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25382
25383
25384 fi
25385
25386 fi
25387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25388 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25389
25390 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25391 for ac_func in _logl
25392 do :
25393 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25394 if test "x$ac_cv_func__logl" = x""yes; then :
25395 cat >>confdefs.h <<_ACEOF
25396 #define HAVE__LOGL 1
25397 _ACEOF
25398
25399 fi
25400 done
25401
25402 fi
25403 fi
25404
25405
25406
25407
25408
25409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25410 $as_echo_n "checking for log10l declaration... " >&6; }
25411 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25412 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25413 $as_echo_n "(cached) " >&6
25414 else
25415
25416
25417 ac_ext=cpp
25418 ac_cpp='$CXXCPP $CPPFLAGS'
25419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25422
25423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25424 /* end confdefs.h. */
25425 #include <math.h>
25426 #ifdef HAVE_IEEEFP_H
25427 #include <ieeefp.h>
25428 #endif
25429
25430 int
25431 main ()
25432 {
25433 log10l(0);
25434 ;
25435 return 0;
25436 }
25437 _ACEOF
25438 if ac_fn_cxx_try_compile "$LINENO"; then :
25439 glibcxx_cv_func_log10l_use=yes
25440 else
25441 glibcxx_cv_func_log10l_use=no
25442 fi
25443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25444 ac_ext=c
25445 ac_cpp='$CPP $CPPFLAGS'
25446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25449
25450
25451 fi
25452
25453 fi
25454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25455 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25456
25457 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25458 for ac_func in log10l
25459 do :
25460 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25461 if test "x$ac_cv_func_log10l" = x""yes; then :
25462 cat >>confdefs.h <<_ACEOF
25463 #define HAVE_LOG10L 1
25464 _ACEOF
25465
25466 fi
25467 done
25468
25469 else
25470
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25472 $as_echo_n "checking for _log10l declaration... " >&6; }
25473 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25474 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25475 $as_echo_n "(cached) " >&6
25476 else
25477
25478
25479 ac_ext=cpp
25480 ac_cpp='$CXXCPP $CPPFLAGS'
25481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25484
25485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25486 /* end confdefs.h. */
25487 #include <math.h>
25488 #ifdef HAVE_IEEEFP_H
25489 #include <ieeefp.h>
25490 #endif
25491
25492 int
25493 main ()
25494 {
25495 _log10l(0);
25496 ;
25497 return 0;
25498 }
25499 _ACEOF
25500 if ac_fn_cxx_try_compile "$LINENO"; then :
25501 glibcxx_cv_func__log10l_use=yes
25502 else
25503 glibcxx_cv_func__log10l_use=no
25504 fi
25505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25506 ac_ext=c
25507 ac_cpp='$CPP $CPPFLAGS'
25508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25511
25512
25513 fi
25514
25515 fi
25516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25517 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25518
25519 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25520 for ac_func in _log10l
25521 do :
25522 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25523 if test "x$ac_cv_func__log10l" = x""yes; then :
25524 cat >>confdefs.h <<_ACEOF
25525 #define HAVE__LOG10L 1
25526 _ACEOF
25527
25528 fi
25529 done
25530
25531 fi
25532 fi
25533
25534
25535
25536
25537
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25539 $as_echo_n "checking for modfl declaration... " >&6; }
25540 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25541 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25542 $as_echo_n "(cached) " >&6
25543 else
25544
25545
25546 ac_ext=cpp
25547 ac_cpp='$CXXCPP $CPPFLAGS'
25548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25551
25552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25553 /* end confdefs.h. */
25554 #include <math.h>
25555 int
25556 main ()
25557 {
25558 modfl(0, 0);
25559 ;
25560 return 0;
25561 }
25562 _ACEOF
25563 if ac_fn_cxx_try_compile "$LINENO"; then :
25564 glibcxx_cv_func_modfl_use=yes
25565 else
25566 glibcxx_cv_func_modfl_use=no
25567 fi
25568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25569 ac_ext=c
25570 ac_cpp='$CPP $CPPFLAGS'
25571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25574
25575
25576 fi
25577
25578 fi
25579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25580 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25581
25582 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25583 for ac_func in modfl
25584 do :
25585 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25586 if test "x$ac_cv_func_modfl" = x""yes; then :
25587 cat >>confdefs.h <<_ACEOF
25588 #define HAVE_MODFL 1
25589 _ACEOF
25590
25591 fi
25592 done
25593
25594 else
25595
25596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25597 $as_echo_n "checking for _modfl declaration... " >&6; }
25598 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25599 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25600 $as_echo_n "(cached) " >&6
25601 else
25602
25603
25604 ac_ext=cpp
25605 ac_cpp='$CXXCPP $CPPFLAGS'
25606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25609
25610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25611 /* end confdefs.h. */
25612 #include <math.h>
25613 int
25614 main ()
25615 {
25616 _modfl(0, 0);
25617 ;
25618 return 0;
25619 }
25620 _ACEOF
25621 if ac_fn_cxx_try_compile "$LINENO"; then :
25622 glibcxx_cv_func__modfl_use=yes
25623 else
25624 glibcxx_cv_func__modfl_use=no
25625 fi
25626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25627 ac_ext=c
25628 ac_cpp='$CPP $CPPFLAGS'
25629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25632
25633
25634 fi
25635
25636 fi
25637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25638 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25639
25640 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25641 for ac_func in _modfl
25642 do :
25643 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25644 if test "x$ac_cv_func__modfl" = x""yes; then :
25645 cat >>confdefs.h <<_ACEOF
25646 #define HAVE__MODFL 1
25647 _ACEOF
25648
25649 fi
25650 done
25651
25652 fi
25653 fi
25654
25655
25656
25657
25658
25659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25660 $as_echo_n "checking for powl declaration... " >&6; }
25661 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25662 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25663 $as_echo_n "(cached) " >&6
25664 else
25665
25666
25667 ac_ext=cpp
25668 ac_cpp='$CXXCPP $CPPFLAGS'
25669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25672
25673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25674 /* end confdefs.h. */
25675 #include <math.h>
25676 int
25677 main ()
25678 {
25679 powl(0, 0);
25680 ;
25681 return 0;
25682 }
25683 _ACEOF
25684 if ac_fn_cxx_try_compile "$LINENO"; then :
25685 glibcxx_cv_func_powl_use=yes
25686 else
25687 glibcxx_cv_func_powl_use=no
25688 fi
25689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25690 ac_ext=c
25691 ac_cpp='$CPP $CPPFLAGS'
25692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25695
25696
25697 fi
25698
25699 fi
25700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25701 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25702
25703 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25704 for ac_func in powl
25705 do :
25706 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25707 if test "x$ac_cv_func_powl" = x""yes; then :
25708 cat >>confdefs.h <<_ACEOF
25709 #define HAVE_POWL 1
25710 _ACEOF
25711
25712 fi
25713 done
25714
25715 else
25716
25717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25718 $as_echo_n "checking for _powl declaration... " >&6; }
25719 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25720 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25721 $as_echo_n "(cached) " >&6
25722 else
25723
25724
25725 ac_ext=cpp
25726 ac_cpp='$CXXCPP $CPPFLAGS'
25727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25730
25731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25732 /* end confdefs.h. */
25733 #include <math.h>
25734 int
25735 main ()
25736 {
25737 _powl(0, 0);
25738 ;
25739 return 0;
25740 }
25741 _ACEOF
25742 if ac_fn_cxx_try_compile "$LINENO"; then :
25743 glibcxx_cv_func__powl_use=yes
25744 else
25745 glibcxx_cv_func__powl_use=no
25746 fi
25747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25748 ac_ext=c
25749 ac_cpp='$CPP $CPPFLAGS'
25750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25753
25754
25755 fi
25756
25757 fi
25758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25759 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25760
25761 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25762 for ac_func in _powl
25763 do :
25764 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25765 if test "x$ac_cv_func__powl" = x""yes; then :
25766 cat >>confdefs.h <<_ACEOF
25767 #define HAVE__POWL 1
25768 _ACEOF
25769
25770 fi
25771 done
25772
25773 fi
25774 fi
25775
25776
25777
25778
25779
25780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25781 $as_echo_n "checking for sqrtl declaration... " >&6; }
25782 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25783 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25784 $as_echo_n "(cached) " >&6
25785 else
25786
25787
25788 ac_ext=cpp
25789 ac_cpp='$CXXCPP $CPPFLAGS'
25790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25793
25794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25795 /* end confdefs.h. */
25796 #include <math.h>
25797 #ifdef HAVE_IEEEFP_H
25798 #include <ieeefp.h>
25799 #endif
25800
25801 int
25802 main ()
25803 {
25804 sqrtl(0);
25805 ;
25806 return 0;
25807 }
25808 _ACEOF
25809 if ac_fn_cxx_try_compile "$LINENO"; then :
25810 glibcxx_cv_func_sqrtl_use=yes
25811 else
25812 glibcxx_cv_func_sqrtl_use=no
25813 fi
25814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25815 ac_ext=c
25816 ac_cpp='$CPP $CPPFLAGS'
25817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25820
25821
25822 fi
25823
25824 fi
25825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25826 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25827
25828 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25829 for ac_func in sqrtl
25830 do :
25831 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25832 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25833 cat >>confdefs.h <<_ACEOF
25834 #define HAVE_SQRTL 1
25835 _ACEOF
25836
25837 fi
25838 done
25839
25840 else
25841
25842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25843 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25844 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25845 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25846 $as_echo_n "(cached) " >&6
25847 else
25848
25849
25850 ac_ext=cpp
25851 ac_cpp='$CXXCPP $CPPFLAGS'
25852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25855
25856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25857 /* end confdefs.h. */
25858 #include <math.h>
25859 #ifdef HAVE_IEEEFP_H
25860 #include <ieeefp.h>
25861 #endif
25862
25863 int
25864 main ()
25865 {
25866 _sqrtl(0);
25867 ;
25868 return 0;
25869 }
25870 _ACEOF
25871 if ac_fn_cxx_try_compile "$LINENO"; then :
25872 glibcxx_cv_func__sqrtl_use=yes
25873 else
25874 glibcxx_cv_func__sqrtl_use=no
25875 fi
25876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25877 ac_ext=c
25878 ac_cpp='$CPP $CPPFLAGS'
25879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25882
25883
25884 fi
25885
25886 fi
25887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25888 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25889
25890 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25891 for ac_func in _sqrtl
25892 do :
25893 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25894 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25895 cat >>confdefs.h <<_ACEOF
25896 #define HAVE__SQRTL 1
25897 _ACEOF
25898
25899 fi
25900 done
25901
25902 fi
25903 fi
25904
25905
25906
25907
25908
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25910 $as_echo_n "checking for sincosl declaration... " >&6; }
25911 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25912 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25913 $as_echo_n "(cached) " >&6
25914 else
25915
25916
25917 ac_ext=cpp
25918 ac_cpp='$CXXCPP $CPPFLAGS'
25919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25922
25923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25924 /* end confdefs.h. */
25925 #include <math.h>
25926 int
25927 main ()
25928 {
25929 sincosl(0, 0, 0);
25930 ;
25931 return 0;
25932 }
25933 _ACEOF
25934 if ac_fn_cxx_try_compile "$LINENO"; then :
25935 glibcxx_cv_func_sincosl_use=yes
25936 else
25937 glibcxx_cv_func_sincosl_use=no
25938 fi
25939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25940 ac_ext=c
25941 ac_cpp='$CPP $CPPFLAGS'
25942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25945
25946
25947 fi
25948
25949 fi
25950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25951 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25952
25953 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25954 for ac_func in sincosl
25955 do :
25956 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25957 if test "x$ac_cv_func_sincosl" = x""yes; then :
25958 cat >>confdefs.h <<_ACEOF
25959 #define HAVE_SINCOSL 1
25960 _ACEOF
25961
25962 fi
25963 done
25964
25965 else
25966
25967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25968 $as_echo_n "checking for _sincosl declaration... " >&6; }
25969 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25970 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25971 $as_echo_n "(cached) " >&6
25972 else
25973
25974
25975 ac_ext=cpp
25976 ac_cpp='$CXXCPP $CPPFLAGS'
25977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25980
25981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25982 /* end confdefs.h. */
25983 #include <math.h>
25984 int
25985 main ()
25986 {
25987 _sincosl(0, 0, 0);
25988 ;
25989 return 0;
25990 }
25991 _ACEOF
25992 if ac_fn_cxx_try_compile "$LINENO"; then :
25993 glibcxx_cv_func__sincosl_use=yes
25994 else
25995 glibcxx_cv_func__sincosl_use=no
25996 fi
25997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25998 ac_ext=c
25999 ac_cpp='$CPP $CPPFLAGS'
26000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26003
26004
26005 fi
26006
26007 fi
26008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26009 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26010
26011 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26012 for ac_func in _sincosl
26013 do :
26014 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26015 if test "x$ac_cv_func__sincosl" = x""yes; then :
26016 cat >>confdefs.h <<_ACEOF
26017 #define HAVE__SINCOSL 1
26018 _ACEOF
26019
26020 fi
26021 done
26022
26023 fi
26024 fi
26025
26026
26027
26028
26029
26030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26031 $as_echo_n "checking for finitel declaration... " >&6; }
26032 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26033 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26034 $as_echo_n "(cached) " >&6
26035 else
26036
26037
26038 ac_ext=cpp
26039 ac_cpp='$CXXCPP $CPPFLAGS'
26040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26043
26044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26045 /* end confdefs.h. */
26046 #include <math.h>
26047 #ifdef HAVE_IEEEFP_H
26048 #include <ieeefp.h>
26049 #endif
26050
26051 int
26052 main ()
26053 {
26054 finitel(0);
26055 ;
26056 return 0;
26057 }
26058 _ACEOF
26059 if ac_fn_cxx_try_compile "$LINENO"; then :
26060 glibcxx_cv_func_finitel_use=yes
26061 else
26062 glibcxx_cv_func_finitel_use=no
26063 fi
26064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26065 ac_ext=c
26066 ac_cpp='$CPP $CPPFLAGS'
26067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26070
26071
26072 fi
26073
26074 fi
26075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26076 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26077
26078 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26079 for ac_func in finitel
26080 do :
26081 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26082 if test "x$ac_cv_func_finitel" = x""yes; then :
26083 cat >>confdefs.h <<_ACEOF
26084 #define HAVE_FINITEL 1
26085 _ACEOF
26086
26087 fi
26088 done
26089
26090 else
26091
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26093 $as_echo_n "checking for _finitel declaration... " >&6; }
26094 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26095 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26096 $as_echo_n "(cached) " >&6
26097 else
26098
26099
26100 ac_ext=cpp
26101 ac_cpp='$CXXCPP $CPPFLAGS'
26102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26105
26106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26107 /* end confdefs.h. */
26108 #include <math.h>
26109 #ifdef HAVE_IEEEFP_H
26110 #include <ieeefp.h>
26111 #endif
26112
26113 int
26114 main ()
26115 {
26116 _finitel(0);
26117 ;
26118 return 0;
26119 }
26120 _ACEOF
26121 if ac_fn_cxx_try_compile "$LINENO"; then :
26122 glibcxx_cv_func__finitel_use=yes
26123 else
26124 glibcxx_cv_func__finitel_use=no
26125 fi
26126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26127 ac_ext=c
26128 ac_cpp='$CPP $CPPFLAGS'
26129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26132
26133
26134 fi
26135
26136 fi
26137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26138 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26139
26140 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26141 for ac_func in _finitel
26142 do :
26143 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26144 if test "x$ac_cv_func__finitel" = x""yes; then :
26145 cat >>confdefs.h <<_ACEOF
26146 #define HAVE__FINITEL 1
26147 _ACEOF
26148
26149 fi
26150 done
26151
26152 fi
26153 fi
26154
26155
26156
26157
26158 LIBS="$ac_save_LIBS"
26159 CXXFLAGS="$ac_save_CXXFLAGS"
26160
26161
26162 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26163 ac_save_CXXFLAGS="$CXXFLAGS"
26164 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26165
26166
26167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26168 $as_echo_n "checking for strtold declaration... " >&6; }
26169 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26170 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26171 $as_echo_n "(cached) " >&6
26172 else
26173
26174
26175 ac_ext=cpp
26176 ac_cpp='$CXXCPP $CPPFLAGS'
26177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26180
26181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26182 /* end confdefs.h. */
26183 #include <stdlib.h>
26184 int
26185 main ()
26186 {
26187 strtold(0, 0);
26188 ;
26189 return 0;
26190 }
26191 _ACEOF
26192 if ac_fn_cxx_try_compile "$LINENO"; then :
26193 glibcxx_cv_func_strtold_use=yes
26194 else
26195 glibcxx_cv_func_strtold_use=no
26196 fi
26197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26198 ac_ext=c
26199 ac_cpp='$CPP $CPPFLAGS'
26200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26203
26204
26205 fi
26206
26207 fi
26208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26209 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26210 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26211 for ac_func in strtold
26212 do :
26213 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26214 if test "x$ac_cv_func_strtold" = x""yes; then :
26215 cat >>confdefs.h <<_ACEOF
26216 #define HAVE_STRTOLD 1
26217 _ACEOF
26218
26219 fi
26220 done
26221
26222 fi
26223
26224
26225
26226
26227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26228 $as_echo_n "checking for strtof declaration... " >&6; }
26229 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26230 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26231 $as_echo_n "(cached) " >&6
26232 else
26233
26234
26235 ac_ext=cpp
26236 ac_cpp='$CXXCPP $CPPFLAGS'
26237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26240
26241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26242 /* end confdefs.h. */
26243 #include <stdlib.h>
26244 int
26245 main ()
26246 {
26247 strtof(0, 0);
26248 ;
26249 return 0;
26250 }
26251 _ACEOF
26252 if ac_fn_cxx_try_compile "$LINENO"; then :
26253 glibcxx_cv_func_strtof_use=yes
26254 else
26255 glibcxx_cv_func_strtof_use=no
26256 fi
26257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26258 ac_ext=c
26259 ac_cpp='$CPP $CPPFLAGS'
26260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26263
26264
26265 fi
26266
26267 fi
26268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26269 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26270 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26271 for ac_func in strtof
26272 do :
26273 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26274 if test "x$ac_cv_func_strtof" = x""yes; then :
26275 cat >>confdefs.h <<_ACEOF
26276 #define HAVE_STRTOF 1
26277 _ACEOF
26278
26279 fi
26280 done
26281
26282 fi
26283
26284
26285
26286
26287 CXXFLAGS="$ac_save_CXXFLAGS"
26288
26289
26290 # For /dev/random and /dev/urandom for TR1.
26291
26292
26293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26294 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26295 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26296 $as_echo_n "(cached) " >&6
26297 else
26298
26299 if test -r /dev/random && test -r /dev/urandom; then
26300 glibcxx_cv_random_tr1=yes;
26301 else
26302 glibcxx_cv_random_tr1=no;
26303 fi
26304
26305 fi
26306
26307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26308 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26309
26310 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26311
26312 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26313
26314 fi
26315
26316
26317
26318 # For TLS support.
26319
26320
26321 # Check whether --enable-tls was given.
26322 if test "${enable_tls+set}" = set; then :
26323 enableval=$enable_tls;
26324 case "$enableval" in
26325 yes|no) ;;
26326 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26327 esac
26328
26329 else
26330 enable_tls=yes
26331 fi
26332
26333
26334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26335 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26336 if test "${gcc_cv_have_tls+set}" = set; then :
26337 $as_echo_n "(cached) " >&6
26338 else
26339
26340 if test "$cross_compiling" = yes; then :
26341 if test x$gcc_no_link = xyes; then
26342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26343 fi
26344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26345 /* end confdefs.h. */
26346 __thread int a; int b; int main() { return a = b; }
26347 _ACEOF
26348 if ac_fn_c_try_link "$LINENO"; then :
26349 chktls_save_LDFLAGS="$LDFLAGS"
26350 case $host in
26351 *-*-linux*)
26352 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26353 ;;
26354 esac
26355 chktls_save_CFLAGS="$CFLAGS"
26356 CFLAGS="-fPIC $CFLAGS"
26357 if test x$gcc_no_link = xyes; then
26358 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26359 fi
26360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26361 /* end confdefs.h. */
26362 int f() { return 0; }
26363 _ACEOF
26364 if ac_fn_c_try_link "$LINENO"; then :
26365 if test x$gcc_no_link = xyes; then
26366 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26367 fi
26368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26369 /* end confdefs.h. */
26370 __thread int a; int b; int f() { return a = b; }
26371 _ACEOF
26372 if ac_fn_c_try_link "$LINENO"; then :
26373 gcc_cv_have_tls=yes
26374 else
26375 gcc_cv_have_tls=no
26376 fi
26377 rm -f core conftest.err conftest.$ac_objext \
26378 conftest$ac_exeext conftest.$ac_ext
26379 else
26380 gcc_cv_have_tls=yes
26381 fi
26382 rm -f core conftest.err conftest.$ac_objext \
26383 conftest$ac_exeext conftest.$ac_ext
26384 CFLAGS="$chktls_save_CFLAGS"
26385 LDFLAGS="$chktls_save_LDFLAGS"
26386 else
26387 gcc_cv_have_tls=no
26388 fi
26389 rm -f core conftest.err conftest.$ac_objext \
26390 conftest$ac_exeext conftest.$ac_ext
26391
26392
26393 else
26394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26395 /* end confdefs.h. */
26396 __thread int a; int b; int main() { return a = b; }
26397 _ACEOF
26398 if ac_fn_c_try_run "$LINENO"; then :
26399 chktls_save_LDFLAGS="$LDFLAGS"
26400 LDFLAGS="-static $LDFLAGS"
26401 if test x$gcc_no_link = xyes; then
26402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26403 fi
26404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26405 /* end confdefs.h. */
26406 int main() { return 0; }
26407 _ACEOF
26408 if ac_fn_c_try_link "$LINENO"; then :
26409 if test "$cross_compiling" = yes; then :
26410 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26411 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26412 as_fn_error "cannot run test program while cross compiling
26413 See \`config.log' for more details." "$LINENO" 5; }
26414 else
26415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26416 /* end confdefs.h. */
26417 __thread int a; int b; int main() { return a = b; }
26418 _ACEOF
26419 if ac_fn_c_try_run "$LINENO"; then :
26420 gcc_cv_have_tls=yes
26421 else
26422 gcc_cv_have_tls=no
26423 fi
26424 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26425 conftest.$ac_objext conftest.beam conftest.$ac_ext
26426 fi
26427
26428 else
26429 gcc_cv_have_tls=yes
26430 fi
26431 rm -f core conftest.err conftest.$ac_objext \
26432 conftest$ac_exeext conftest.$ac_ext
26433 LDFLAGS="$chktls_save_LDFLAGS"
26434 if test $gcc_cv_have_tls = yes; then
26435 chktls_save_CFLAGS="$CFLAGS"
26436 thread_CFLAGS=failed
26437 for flag in '' '-pthread' '-lpthread'; do
26438 CFLAGS="$flag $chktls_save_CFLAGS"
26439 if test x$gcc_no_link = xyes; then
26440 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26441 fi
26442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26443 /* end confdefs.h. */
26444 #include <pthread.h>
26445 void *g(void *d) { return NULL; }
26446 int
26447 main ()
26448 {
26449 pthread_t t; pthread_create(&t,NULL,g,NULL);
26450 ;
26451 return 0;
26452 }
26453 _ACEOF
26454 if ac_fn_c_try_link "$LINENO"; then :
26455 thread_CFLAGS="$flag"
26456 fi
26457 rm -f core conftest.err conftest.$ac_objext \
26458 conftest$ac_exeext conftest.$ac_ext
26459 if test "X$thread_CFLAGS" != Xfailed; then
26460 break
26461 fi
26462 done
26463 CFLAGS="$chktls_save_CFLAGS"
26464 if test "X$thread_CFLAGS" != Xfailed; then
26465 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26466 if test "$cross_compiling" = yes; then :
26467 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26468 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26469 as_fn_error "cannot run test program while cross compiling
26470 See \`config.log' for more details." "$LINENO" 5; }
26471 else
26472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26473 /* end confdefs.h. */
26474 #include <pthread.h>
26475 __thread int a;
26476 static int *volatile a_in_other_thread;
26477 static void *
26478 thread_func (void *arg)
26479 {
26480 a_in_other_thread = &a;
26481 return (void *)0;
26482 }
26483 int
26484 main ()
26485 {
26486 pthread_t thread;
26487 void *thread_retval;
26488 int *volatile a_in_main_thread;
26489 a_in_main_thread = &a;
26490 if (pthread_create (&thread, (pthread_attr_t *)0,
26491 thread_func, (void *)0))
26492 return 0;
26493 if (pthread_join (thread, &thread_retval))
26494 return 0;
26495 return (a_in_other_thread == a_in_main_thread);
26496 ;
26497 return 0;
26498 }
26499 _ACEOF
26500 if ac_fn_c_try_run "$LINENO"; then :
26501 gcc_cv_have_tls=yes
26502 else
26503 gcc_cv_have_tls=no
26504 fi
26505 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26506 conftest.$ac_objext conftest.beam conftest.$ac_ext
26507 fi
26508
26509 CFLAGS="$chktls_save_CFLAGS"
26510 fi
26511 fi
26512 else
26513 gcc_cv_have_tls=no
26514 fi
26515 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26516 conftest.$ac_objext conftest.beam conftest.$ac_ext
26517 fi
26518
26519 fi
26520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26521 $as_echo "$gcc_cv_have_tls" >&6; }
26522 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26523
26524 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26525
26526 fi
26527
26528 # For iconv support.
26529
26530 if test "X$prefix" = "XNONE"; then
26531 acl_final_prefix="$ac_default_prefix"
26532 else
26533 acl_final_prefix="$prefix"
26534 fi
26535 if test "X$exec_prefix" = "XNONE"; then
26536 acl_final_exec_prefix='${prefix}'
26537 else
26538 acl_final_exec_prefix="$exec_prefix"
26539 fi
26540 acl_save_prefix="$prefix"
26541 prefix="$acl_final_prefix"
26542 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26543 prefix="$acl_save_prefix"
26544
26545
26546 # Check whether --with-gnu-ld was given.
26547 if test "${with_gnu_ld+set}" = set; then :
26548 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26549 else
26550 with_gnu_ld=no
26551 fi
26552
26553 # Prepare PATH_SEPARATOR.
26554 # The user is always right.
26555 if test "${PATH_SEPARATOR+set}" != set; then
26556 echo "#! /bin/sh" >conf$$.sh
26557 echo "exit 0" >>conf$$.sh
26558 chmod +x conf$$.sh
26559 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26560 PATH_SEPARATOR=';'
26561 else
26562 PATH_SEPARATOR=:
26563 fi
26564 rm -f conf$$.sh
26565 fi
26566 ac_prog=ld
26567 if test "$GCC" = yes; then
26568 # Check if gcc -print-prog-name=ld gives a path.
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26570 $as_echo_n "checking for ld used by GCC... " >&6; }
26571 case $host in
26572 *-*-mingw*)
26573 # gcc leaves a trailing carriage return which upsets mingw
26574 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26575 *)
26576 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26577 esac
26578 case $ac_prog in
26579 # Accept absolute paths.
26580 [\\/]* | [A-Za-z]:[\\/]*)
26581 re_direlt='/[^/][^/]*/\.\./'
26582 # Canonicalize the path of ld
26583 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26584 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26585 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26586 done
26587 test -z "$LD" && LD="$ac_prog"
26588 ;;
26589 "")
26590 # If it fails, then pretend we aren't using GCC.
26591 ac_prog=ld
26592 ;;
26593 *)
26594 # If it is relative, then search for the first ld in PATH.
26595 with_gnu_ld=unknown
26596 ;;
26597 esac
26598 elif test "$with_gnu_ld" = yes; then
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26600 $as_echo_n "checking for GNU ld... " >&6; }
26601 else
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26603 $as_echo_n "checking for non-GNU ld... " >&6; }
26604 fi
26605 if test "${acl_cv_path_LD+set}" = set; then :
26606 $as_echo_n "(cached) " >&6
26607 else
26608 if test -z "$LD"; then
26609 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26610 for ac_dir in $PATH; do
26611 test -z "$ac_dir" && ac_dir=.
26612 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26613 acl_cv_path_LD="$ac_dir/$ac_prog"
26614 # Check to see if the program is GNU ld. I'd rather use --version,
26615 # but apparently some GNU ld's only accept -v.
26616 # Break only if it was the GNU/non-GNU ld that we prefer.
26617 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26618 test "$with_gnu_ld" != no && break
26619 else
26620 test "$with_gnu_ld" != yes && break
26621 fi
26622 fi
26623 done
26624 IFS="$ac_save_ifs"
26625 else
26626 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26627 fi
26628 fi
26629
26630 LD="$acl_cv_path_LD"
26631 if test -n "$LD"; then
26632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26633 $as_echo "$LD" >&6; }
26634 else
26635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26636 $as_echo "no" >&6; }
26637 fi
26638 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26640 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26641 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26642 $as_echo_n "(cached) " >&6
26643 else
26644 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26645 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26646 acl_cv_prog_gnu_ld=yes
26647 else
26648 acl_cv_prog_gnu_ld=no
26649 fi
26650 fi
26651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26652 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26653 with_gnu_ld=$acl_cv_prog_gnu_ld
26654
26655
26656
26657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26658 $as_echo_n "checking for shared library run path origin... " >&6; }
26659 if test "${acl_cv_rpath+set}" = set; then :
26660 $as_echo_n "(cached) " >&6
26661 else
26662
26663 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26664 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26665 . ./conftest.sh
26666 rm -f ./conftest.sh
26667 acl_cv_rpath=done
26668
26669 fi
26670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26671 $as_echo "$acl_cv_rpath" >&6; }
26672 wl="$acl_cv_wl"
26673 libext="$acl_cv_libext"
26674 shlibext="$acl_cv_shlibext"
26675 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26676 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26677 hardcode_direct="$acl_cv_hardcode_direct"
26678 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26679 # Check whether --enable-rpath was given.
26680 if test "${enable_rpath+set}" = set; then :
26681 enableval=$enable_rpath; :
26682 else
26683 enable_rpath=yes
26684 fi
26685
26686
26687
26688
26689
26690
26691
26692
26693 use_additional=yes
26694
26695 acl_save_prefix="$prefix"
26696 prefix="$acl_final_prefix"
26697 acl_save_exec_prefix="$exec_prefix"
26698 exec_prefix="$acl_final_exec_prefix"
26699
26700 eval additional_includedir=\"$includedir\"
26701 eval additional_libdir=\"$libdir\"
26702
26703 exec_prefix="$acl_save_exec_prefix"
26704 prefix="$acl_save_prefix"
26705
26706
26707 # Check whether --with-libiconv-prefix was given.
26708 if test "${with_libiconv_prefix+set}" = set; then :
26709 withval=$with_libiconv_prefix;
26710 if test "X$withval" = "Xno"; then
26711 use_additional=no
26712 else
26713 if test "X$withval" = "X"; then
26714
26715 acl_save_prefix="$prefix"
26716 prefix="$acl_final_prefix"
26717 acl_save_exec_prefix="$exec_prefix"
26718 exec_prefix="$acl_final_exec_prefix"
26719
26720 eval additional_includedir=\"$includedir\"
26721 eval additional_libdir=\"$libdir\"
26722
26723 exec_prefix="$acl_save_exec_prefix"
26724 prefix="$acl_save_prefix"
26725
26726 else
26727 additional_includedir="$withval/include"
26728 additional_libdir="$withval/lib"
26729 fi
26730 fi
26731
26732 fi
26733
26734 LIBICONV=
26735 LTLIBICONV=
26736 INCICONV=
26737 rpathdirs=
26738 ltrpathdirs=
26739 names_already_handled=
26740 names_next_round='iconv '
26741 while test -n "$names_next_round"; do
26742 names_this_round="$names_next_round"
26743 names_next_round=
26744 for name in $names_this_round; do
26745 already_handled=
26746 for n in $names_already_handled; do
26747 if test "$n" = "$name"; then
26748 already_handled=yes
26749 break
26750 fi
26751 done
26752 if test -z "$already_handled"; then
26753 names_already_handled="$names_already_handled $name"
26754 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26755 eval value=\"\$HAVE_LIB$uppername\"
26756 if test -n "$value"; then
26757 if test "$value" = yes; then
26758 eval value=\"\$LIB$uppername\"
26759 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26760 eval value=\"\$LTLIB$uppername\"
26761 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26762 else
26763 :
26764 fi
26765 else
26766 found_dir=
26767 found_la=
26768 found_so=
26769 found_a=
26770 if test $use_additional = yes; then
26771 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26772 found_dir="$additional_libdir"
26773 found_so="$additional_libdir/lib$name.$shlibext"
26774 if test -f "$additional_libdir/lib$name.la"; then
26775 found_la="$additional_libdir/lib$name.la"
26776 fi
26777 else
26778 if test -f "$additional_libdir/lib$name.$libext"; then
26779 found_dir="$additional_libdir"
26780 found_a="$additional_libdir/lib$name.$libext"
26781 if test -f "$additional_libdir/lib$name.la"; then
26782 found_la="$additional_libdir/lib$name.la"
26783 fi
26784 fi
26785 fi
26786 fi
26787 if test "X$found_dir" = "X"; then
26788 for x in $LDFLAGS $LTLIBICONV; do
26789
26790 acl_save_prefix="$prefix"
26791 prefix="$acl_final_prefix"
26792 acl_save_exec_prefix="$exec_prefix"
26793 exec_prefix="$acl_final_exec_prefix"
26794 eval x=\"$x\"
26795 exec_prefix="$acl_save_exec_prefix"
26796 prefix="$acl_save_prefix"
26797
26798 case "$x" in
26799 -L*)
26800 dir=`echo "X$x" | sed -e 's/^X-L//'`
26801 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26802 found_dir="$dir"
26803 found_so="$dir/lib$name.$shlibext"
26804 if test -f "$dir/lib$name.la"; then
26805 found_la="$dir/lib$name.la"
26806 fi
26807 else
26808 if test -f "$dir/lib$name.$libext"; then
26809 found_dir="$dir"
26810 found_a="$dir/lib$name.$libext"
26811 if test -f "$dir/lib$name.la"; then
26812 found_la="$dir/lib$name.la"
26813 fi
26814 fi
26815 fi
26816 ;;
26817 esac
26818 if test "X$found_dir" != "X"; then
26819 break
26820 fi
26821 done
26822 fi
26823 if test "X$found_dir" != "X"; then
26824 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26825 if test "X$found_so" != "X"; then
26826 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26827 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26828 else
26829 haveit=
26830 for x in $ltrpathdirs; do
26831 if test "X$x" = "X$found_dir"; then
26832 haveit=yes
26833 break
26834 fi
26835 done
26836 if test -z "$haveit"; then
26837 ltrpathdirs="$ltrpathdirs $found_dir"
26838 fi
26839 if test "$hardcode_direct" = yes; then
26840 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26841 else
26842 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26843 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26844 haveit=
26845 for x in $rpathdirs; do
26846 if test "X$x" = "X$found_dir"; then
26847 haveit=yes
26848 break
26849 fi
26850 done
26851 if test -z "$haveit"; then
26852 rpathdirs="$rpathdirs $found_dir"
26853 fi
26854 else
26855 haveit=
26856 for x in $LDFLAGS $LIBICONV; do
26857
26858 acl_save_prefix="$prefix"
26859 prefix="$acl_final_prefix"
26860 acl_save_exec_prefix="$exec_prefix"
26861 exec_prefix="$acl_final_exec_prefix"
26862 eval x=\"$x\"
26863 exec_prefix="$acl_save_exec_prefix"
26864 prefix="$acl_save_prefix"
26865
26866 if test "X$x" = "X-L$found_dir"; then
26867 haveit=yes
26868 break
26869 fi
26870 done
26871 if test -z "$haveit"; then
26872 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26873 fi
26874 if test "$hardcode_minus_L" != no; then
26875 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26876 else
26877 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26878 fi
26879 fi
26880 fi
26881 fi
26882 else
26883 if test "X$found_a" != "X"; then
26884 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26885 else
26886 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26887 fi
26888 fi
26889 additional_includedir=
26890 case "$found_dir" in
26891 */lib | */lib/)
26892 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26893 additional_includedir="$basedir/include"
26894 ;;
26895 esac
26896 if test "X$additional_includedir" != "X"; then
26897 if test "X$additional_includedir" != "X/usr/include"; then
26898 haveit=
26899 if test "X$additional_includedir" = "X/usr/local/include"; then
26900 if test -n "$GCC"; then
26901 case $host_os in
26902 linux*) haveit=yes;;
26903 esac
26904 fi
26905 fi
26906 if test -z "$haveit"; then
26907 for x in $CPPFLAGS $INCICONV; do
26908
26909 acl_save_prefix="$prefix"
26910 prefix="$acl_final_prefix"
26911 acl_save_exec_prefix="$exec_prefix"
26912 exec_prefix="$acl_final_exec_prefix"
26913 eval x=\"$x\"
26914 exec_prefix="$acl_save_exec_prefix"
26915 prefix="$acl_save_prefix"
26916
26917 if test "X$x" = "X-I$additional_includedir"; then
26918 haveit=yes
26919 break
26920 fi
26921 done
26922 if test -z "$haveit"; then
26923 if test -d "$additional_includedir"; then
26924 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26925 fi
26926 fi
26927 fi
26928 fi
26929 fi
26930 if test -n "$found_la"; then
26931 save_libdir="$libdir"
26932 case "$found_la" in
26933 */* | *\\*) . "$found_la" ;;
26934 *) . "./$found_la" ;;
26935 esac
26936 libdir="$save_libdir"
26937 for dep in $dependency_libs; do
26938 case "$dep" in
26939 -L*)
26940 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26941 if test "X$additional_libdir" != "X/usr/lib"; then
26942 haveit=
26943 if test "X$additional_libdir" = "X/usr/local/lib"; then
26944 if test -n "$GCC"; then
26945 case $host_os in
26946 linux*) haveit=yes;;
26947 esac
26948 fi
26949 fi
26950 if test -z "$haveit"; then
26951 haveit=
26952 for x in $LDFLAGS $LIBICONV; do
26953
26954 acl_save_prefix="$prefix"
26955 prefix="$acl_final_prefix"
26956 acl_save_exec_prefix="$exec_prefix"
26957 exec_prefix="$acl_final_exec_prefix"
26958 eval x=\"$x\"
26959 exec_prefix="$acl_save_exec_prefix"
26960 prefix="$acl_save_prefix"
26961
26962 if test "X$x" = "X-L$additional_libdir"; then
26963 haveit=yes
26964 break
26965 fi
26966 done
26967 if test -z "$haveit"; then
26968 if test -d "$additional_libdir"; then
26969 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26970 fi
26971 fi
26972 haveit=
26973 for x in $LDFLAGS $LTLIBICONV; 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-L$additional_libdir"; then
26984 haveit=yes
26985 break
26986 fi
26987 done
26988 if test -z "$haveit"; then
26989 if test -d "$additional_libdir"; then
26990 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26991 fi
26992 fi
26993 fi
26994 fi
26995 ;;
26996 -R*)
26997 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26998 if test "$enable_rpath" != no; then
26999 haveit=
27000 for x in $rpathdirs; do
27001 if test "X$x" = "X$dir"; then
27002 haveit=yes
27003 break
27004 fi
27005 done
27006 if test -z "$haveit"; then
27007 rpathdirs="$rpathdirs $dir"
27008 fi
27009 haveit=
27010 for x in $ltrpathdirs; do
27011 if test "X$x" = "X$dir"; then
27012 haveit=yes
27013 break
27014 fi
27015 done
27016 if test -z "$haveit"; then
27017 ltrpathdirs="$ltrpathdirs $dir"
27018 fi
27019 fi
27020 ;;
27021 -l*)
27022 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27023 ;;
27024 *.la)
27025 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27026 ;;
27027 *)
27028 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27029 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27030 ;;
27031 esac
27032 done
27033 fi
27034 else
27035 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27036 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27037 fi
27038 fi
27039 fi
27040 done
27041 done
27042 if test "X$rpathdirs" != "X"; then
27043 if test -n "$hardcode_libdir_separator"; then
27044 alldirs=
27045 for found_dir in $rpathdirs; do
27046 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27047 done
27048 acl_save_libdir="$libdir"
27049 libdir="$alldirs"
27050 eval flag=\"$hardcode_libdir_flag_spec\"
27051 libdir="$acl_save_libdir"
27052 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27053 else
27054 for found_dir in $rpathdirs; do
27055 acl_save_libdir="$libdir"
27056 libdir="$found_dir"
27057 eval flag=\"$hardcode_libdir_flag_spec\"
27058 libdir="$acl_save_libdir"
27059 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27060 done
27061 fi
27062 fi
27063 if test "X$ltrpathdirs" != "X"; then
27064 for found_dir in $ltrpathdirs; do
27065 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27066 done
27067 fi
27068
27069
27070
27071
27072
27073
27074
27075 am_save_CPPFLAGS="$CPPFLAGS"
27076
27077 for element in $INCICONV; do
27078 haveit=
27079 for x in $CPPFLAGS; do
27080
27081 acl_save_prefix="$prefix"
27082 prefix="$acl_final_prefix"
27083 acl_save_exec_prefix="$exec_prefix"
27084 exec_prefix="$acl_final_exec_prefix"
27085 eval x=\"$x\"
27086 exec_prefix="$acl_save_exec_prefix"
27087 prefix="$acl_save_prefix"
27088
27089 if test "X$x" = "X$element"; then
27090 haveit=yes
27091 break
27092 fi
27093 done
27094 if test -z "$haveit"; then
27095 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27096 fi
27097 done
27098
27099
27100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27101 $as_echo_n "checking for iconv... " >&6; }
27102 if test "${am_cv_func_iconv+set}" = set; then :
27103 $as_echo_n "(cached) " >&6
27104 else
27105
27106 am_cv_func_iconv="no, consider installing GNU libiconv"
27107 am_cv_lib_iconv=no
27108 if test x$gcc_no_link = xyes; then
27109 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27110 fi
27111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27112 /* end confdefs.h. */
27113 #include <stdlib.h>
27114 #include <iconv.h>
27115 int
27116 main ()
27117 {
27118 iconv_t cd = iconv_open("","");
27119 iconv(cd,NULL,NULL,NULL,NULL);
27120 iconv_close(cd);
27121 ;
27122 return 0;
27123 }
27124 _ACEOF
27125 if ac_fn_c_try_link "$LINENO"; then :
27126 am_cv_func_iconv=yes
27127 fi
27128 rm -f core conftest.err conftest.$ac_objext \
27129 conftest$ac_exeext conftest.$ac_ext
27130 if test "$am_cv_func_iconv" != yes; then
27131 am_save_LIBS="$LIBS"
27132 LIBS="$LIBS $LIBICONV"
27133 if test x$gcc_no_link = xyes; then
27134 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27135 fi
27136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27137 /* end confdefs.h. */
27138 #include <stdlib.h>
27139 #include <iconv.h>
27140 int
27141 main ()
27142 {
27143 iconv_t cd = iconv_open("","");
27144 iconv(cd,NULL,NULL,NULL,NULL);
27145 iconv_close(cd);
27146 ;
27147 return 0;
27148 }
27149 _ACEOF
27150 if ac_fn_c_try_link "$LINENO"; then :
27151 am_cv_lib_iconv=yes
27152 am_cv_func_iconv=yes
27153 fi
27154 rm -f core conftest.err conftest.$ac_objext \
27155 conftest$ac_exeext conftest.$ac_ext
27156 LIBS="$am_save_LIBS"
27157 fi
27158
27159 fi
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27161 $as_echo "$am_cv_func_iconv" >&6; }
27162 if test "$am_cv_func_iconv" = yes; then
27163
27164 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27165
27166 fi
27167 if test "$am_cv_lib_iconv" = yes; then
27168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27169 $as_echo_n "checking how to link with libiconv... " >&6; }
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27171 $as_echo "$LIBICONV" >&6; }
27172 else
27173 CPPFLAGS="$am_save_CPPFLAGS"
27174 LIBICONV=
27175 LTLIBICONV=
27176 fi
27177
27178
27179
27180 if test "$am_cv_func_iconv" = yes; then
27181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27182 $as_echo_n "checking for iconv declaration... " >&6; }
27183 if test "${am_cv_proto_iconv+set}" = set; then :
27184 $as_echo_n "(cached) " >&6
27185 else
27186
27187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27188 /* end confdefs.h. */
27189
27190 #include <stdlib.h>
27191 #include <iconv.h>
27192 extern
27193 #ifdef __cplusplus
27194 "C"
27195 #endif
27196 #if defined(__STDC__) || defined(__cplusplus)
27197 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27198 #else
27199 size_t iconv();
27200 #endif
27201
27202 int
27203 main ()
27204 {
27205
27206 ;
27207 return 0;
27208 }
27209 _ACEOF
27210 if ac_fn_c_try_compile "$LINENO"; then :
27211 am_cv_proto_iconv_arg1=""
27212 else
27213 am_cv_proto_iconv_arg1="const"
27214 fi
27215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27216 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);"
27217 fi
27218
27219 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27221 }$am_cv_proto_iconv" >&5
27222 $as_echo "${ac_t:-
27223 }$am_cv_proto_iconv" >&6; }
27224
27225 cat >>confdefs.h <<_ACEOF
27226 #define ICONV_CONST $am_cv_proto_iconv_arg1
27227 _ACEOF
27228
27229 fi
27230
27231
27232 else
27233
27234 # This lets us hard-code the functionality we know we'll have in the cross
27235 # target environment. "Let" is a sugar-coated word placed on an especially
27236 # dull and tedious hack, actually.
27237 #
27238 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27239 # that involve linking, can't be used:
27240 # "cannot open sim-crt0.o"
27241 # "cannot open crt0.o"
27242 # etc. All this is because there currently exists no unified, consistent
27243 # way for top level CC information to be passed down to target directories:
27244 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27245 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27246 # crosses can be removed.
27247
27248 # If Canadian cross, then don't pick up tools from the build directory.
27249 # Used only in GLIBCXX_EXPORT_INCLUDES.
27250 if test -n "$with_cross_host" &&
27251 test x"$build_alias" != x"$with_cross_host" &&
27252 test x"$build" != x"$target";
27253 then
27254 CANADIAN=yes
27255 else
27256 CANADIAN=no
27257 fi
27258
27259 # Construct crosses by hand, eliminating bits that need ld...
27260 # GLIBCXX_CHECK_MATH_SUPPORT
27261
27262 # First, test for "known" system libraries. We may be using newlib even
27263 # on a hosted environment.
27264 if test "x${with_newlib}" = "xyes"; then
27265 os_include_dir="os/newlib"
27266 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27267
27268
27269 # GLIBCXX_CHECK_STDLIB_SUPPORT
27270 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27271
27272
27273 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27274
27275 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27276
27277 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27278
27279 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27280
27281 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27282
27283 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27284
27285 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27286
27287 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27288
27289 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27290
27291 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27292
27293 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27294
27295 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27296
27297 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27298
27299 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27300
27301 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27302
27303 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27304
27305 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27306
27307 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27308
27309 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27310
27311 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27312
27313 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27314
27315 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27316
27317
27318 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27319
27320 else
27321
27322 # Base decisions on target environment.
27323 case "${host}" in
27324 arm*-*-symbianelf*)
27325 # This is a freestanding configuration; there is nothing to do here.
27326 ;;
27327
27328 mips*-sde-elf*)
27329 # These definitions are for the SDE C library rather than newlib.
27330 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27331
27332
27333 # All these tests are for C++; save the language and the compiler flags.
27334 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27335 # found in GLIBCXX_CONFIGURE.
27336
27337 ac_ext=cpp
27338 ac_cpp='$CXXCPP $CPPFLAGS'
27339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27342
27343 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27344 ac_save_CXXFLAGS="$CXXFLAGS"
27345
27346 # Check for maintainer-mode bits.
27347 if test x"$USE_MAINTAINER_MODE" = xno; then
27348 WERROR=''
27349 else
27350 WERROR='-Werror'
27351 fi
27352
27353 # Check for -ffunction-sections -fdata-sections
27354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27355 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27356 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27358 /* end confdefs.h. */
27359 int foo; void bar() { };
27360 int
27361 main ()
27362 {
27363
27364 ;
27365 return 0;
27366 }
27367 _ACEOF
27368 if ac_fn_cxx_try_compile "$LINENO"; then :
27369 ac_fdsections=yes
27370 else
27371 ac_fdsections=no
27372 fi
27373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27374 if test "$ac_test_CXXFLAGS" = set; then
27375 CXXFLAGS="$ac_save_CXXFLAGS"
27376 else
27377 # this is the suspicious part
27378 CXXFLAGS=''
27379 fi
27380 if test x"$ac_fdsections" = x"yes"; then
27381 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27382 fi
27383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27384 $as_echo "$ac_fdsections" >&6; }
27385
27386 ac_ext=c
27387 ac_cpp='$CPP $CPPFLAGS'
27388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27391
27392
27393
27394
27395
27396 # If we're not using GNU ld, then there's no point in even trying these
27397 # tests. Check for that first. We should have already tested for gld
27398 # by now (in libtool), but require it now just to be safe...
27399 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27400 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27401
27402
27403
27404 # The name set by libtool depends on the version of libtool. Shame on us
27405 # for depending on an impl detail, but c'est la vie. Older versions used
27406 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27407 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27408 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27409 # set (hence we're using an older libtool), then set it.
27410 if test x${with_gnu_ld+set} != xset; then
27411 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27412 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27413 with_gnu_ld=no
27414 else
27415 with_gnu_ld=$ac_cv_prog_gnu_ld
27416 fi
27417 fi
27418
27419 # Start by getting the version number. I think the libtool test already
27420 # does some of this, but throws away the result.
27421 glibcxx_ld_is_gold=no
27422 if test x"$with_gnu_ld" = x"yes"; then
27423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27424 $as_echo_n "checking for ld version... " >&6; }
27425
27426 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27427 glibcxx_ld_is_gold=yes
27428 fi
27429 ldver=`$LD --version 2>/dev/null |
27430 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'`
27431
27432 glibcxx_gnu_ld_version=`echo $ldver | \
27433 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27435 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27436 fi
27437
27438 # Set --gc-sections.
27439 glibcxx_have_gc_sections=no
27440 if test "$glibcxx_ld_is_gold" = "yes"; then
27441 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27442 glibcxx_have_gc_sections=yes
27443 fi
27444 else
27445 glibcxx_gcsections_min_ld=21602
27446 if test x"$with_gnu_ld" = x"yes" &&
27447 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27448 glibcxx_have_gc_sections=yes
27449 fi
27450 fi
27451 if test "$glibcxx_have_gc_sections" = "yes"; then
27452 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27453 # NB: This flag only works reliably after 2.16.1. Configure tests
27454 # for this are difficult, so hard wire a value that should work.
27455
27456 ac_test_CFLAGS="${CFLAGS+set}"
27457 ac_save_CFLAGS="$CFLAGS"
27458 CFLAGS='-Wl,--gc-sections'
27459
27460 # Check for -Wl,--gc-sections
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27462 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27463 if test x$gcc_no_link = xyes; then
27464 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27465 fi
27466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27467 /* end confdefs.h. */
27468 int one(void) { return 1; }
27469 int two(void) { return 2; }
27470
27471 int
27472 main ()
27473 {
27474 two();
27475 ;
27476 return 0;
27477 }
27478 _ACEOF
27479 if ac_fn_c_try_link "$LINENO"; then :
27480 ac_gcsections=yes
27481 else
27482 ac_gcsections=no
27483 fi
27484 rm -f core conftest.err conftest.$ac_objext \
27485 conftest$ac_exeext conftest.$ac_ext
27486 if test "$ac_gcsections" = "yes"; then
27487 rm -f conftest.c
27488 touch conftest.c
27489 if $CC -c conftest.c; then
27490 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27491 grep "Warning: gc-sections option ignored" > /dev/null; then
27492 ac_gcsections=no
27493 fi
27494 fi
27495 rm -f conftest.c conftest.o conftest
27496 fi
27497 if test "$ac_gcsections" = "yes"; then
27498 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27499 fi
27500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27501 $as_echo "$ac_gcsections" >&6; }
27502
27503 if test "$ac_test_CFLAGS" = set; then
27504 CFLAGS="$ac_save_CFLAGS"
27505 else
27506 # this is the suspicious part
27507 CFLAGS=''
27508 fi
27509 fi
27510
27511 # Set -z,relro.
27512 # Note this is only for shared objects.
27513 ac_ld_relro=no
27514 if test x"$with_gnu_ld" = x"yes"; then
27515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27516 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27517 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27518 if test -n "$cxx_z_relo"; then
27519 OPT_LDFLAGS="-Wl,-z,relro"
27520 ac_ld_relro=yes
27521 fi
27522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27523 $as_echo "$ac_ld_relro" >&6; }
27524 fi
27525
27526 # Set linker optimization flags.
27527 if test x"$with_gnu_ld" = x"yes"; then
27528 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27529 fi
27530
27531
27532
27533
27534
27535 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27536 ac_save_CXXFLAGS="$CXXFLAGS"
27537 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27538
27539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27540 $as_echo_n "checking for sin in -lm... " >&6; }
27541 if test "${ac_cv_lib_m_sin+set}" = set; then :
27542 $as_echo_n "(cached) " >&6
27543 else
27544 ac_check_lib_save_LIBS=$LIBS
27545 LIBS="-lm $LIBS"
27546 if test x$gcc_no_link = xyes; then
27547 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27548 fi
27549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27550 /* end confdefs.h. */
27551
27552 /* Override any GCC internal prototype to avoid an error.
27553 Use char because int might match the return type of a GCC
27554 builtin and then its argument prototype would still apply. */
27555 #ifdef __cplusplus
27556 extern "C"
27557 #endif
27558 char sin ();
27559 int
27560 main ()
27561 {
27562 return sin ();
27563 ;
27564 return 0;
27565 }
27566 _ACEOF
27567 if ac_fn_c_try_link "$LINENO"; then :
27568 ac_cv_lib_m_sin=yes
27569 else
27570 ac_cv_lib_m_sin=no
27571 fi
27572 rm -f core conftest.err conftest.$ac_objext \
27573 conftest$ac_exeext conftest.$ac_ext
27574 LIBS=$ac_check_lib_save_LIBS
27575 fi
27576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27577 $as_echo "$ac_cv_lib_m_sin" >&6; }
27578 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27579 libm="-lm"
27580 fi
27581
27582 ac_save_LIBS="$LIBS"
27583 LIBS="$LIBS $libm"
27584
27585
27586
27587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27588 $as_echo_n "checking for isinf declaration... " >&6; }
27589 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27590 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27591 $as_echo_n "(cached) " >&6
27592 else
27593
27594
27595 ac_ext=cpp
27596 ac_cpp='$CXXCPP $CPPFLAGS'
27597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27600
27601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27602 /* end confdefs.h. */
27603 #include <math.h>
27604 #ifdef HAVE_IEEEFP_H
27605 #include <ieeefp.h>
27606 #endif
27607
27608 int
27609 main ()
27610 {
27611 isinf(0);
27612 ;
27613 return 0;
27614 }
27615 _ACEOF
27616 if ac_fn_cxx_try_compile "$LINENO"; then :
27617 glibcxx_cv_func_isinf_use=yes
27618 else
27619 glibcxx_cv_func_isinf_use=no
27620 fi
27621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27622 ac_ext=c
27623 ac_cpp='$CPP $CPPFLAGS'
27624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27627
27628
27629 fi
27630
27631 fi
27632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27633 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27634
27635 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27636 for ac_func in isinf
27637 do :
27638 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27639 if test "x$ac_cv_func_isinf" = x""yes; then :
27640 cat >>confdefs.h <<_ACEOF
27641 #define HAVE_ISINF 1
27642 _ACEOF
27643
27644 fi
27645 done
27646
27647 else
27648
27649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27650 $as_echo_n "checking for _isinf declaration... " >&6; }
27651 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27652 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27653 $as_echo_n "(cached) " >&6
27654 else
27655
27656
27657 ac_ext=cpp
27658 ac_cpp='$CXXCPP $CPPFLAGS'
27659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27662
27663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27664 /* end confdefs.h. */
27665 #include <math.h>
27666 #ifdef HAVE_IEEEFP_H
27667 #include <ieeefp.h>
27668 #endif
27669
27670 int
27671 main ()
27672 {
27673 _isinf(0);
27674 ;
27675 return 0;
27676 }
27677 _ACEOF
27678 if ac_fn_cxx_try_compile "$LINENO"; then :
27679 glibcxx_cv_func__isinf_use=yes
27680 else
27681 glibcxx_cv_func__isinf_use=no
27682 fi
27683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27684 ac_ext=c
27685 ac_cpp='$CPP $CPPFLAGS'
27686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27689
27690
27691 fi
27692
27693 fi
27694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27695 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27696
27697 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27698 for ac_func in _isinf
27699 do :
27700 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27701 if test "x$ac_cv_func__isinf" = x""yes; then :
27702 cat >>confdefs.h <<_ACEOF
27703 #define HAVE__ISINF 1
27704 _ACEOF
27705
27706 fi
27707 done
27708
27709 fi
27710 fi
27711
27712
27713
27714
27715
27716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27717 $as_echo_n "checking for isnan declaration... " >&6; }
27718 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27719 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27720 $as_echo_n "(cached) " >&6
27721 else
27722
27723
27724 ac_ext=cpp
27725 ac_cpp='$CXXCPP $CPPFLAGS'
27726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27729
27730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27731 /* end confdefs.h. */
27732 #include <math.h>
27733 #ifdef HAVE_IEEEFP_H
27734 #include <ieeefp.h>
27735 #endif
27736
27737 int
27738 main ()
27739 {
27740 isnan(0);
27741 ;
27742 return 0;
27743 }
27744 _ACEOF
27745 if ac_fn_cxx_try_compile "$LINENO"; then :
27746 glibcxx_cv_func_isnan_use=yes
27747 else
27748 glibcxx_cv_func_isnan_use=no
27749 fi
27750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27751 ac_ext=c
27752 ac_cpp='$CPP $CPPFLAGS'
27753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27756
27757
27758 fi
27759
27760 fi
27761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27762 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27763
27764 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27765 for ac_func in isnan
27766 do :
27767 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27768 if test "x$ac_cv_func_isnan" = x""yes; then :
27769 cat >>confdefs.h <<_ACEOF
27770 #define HAVE_ISNAN 1
27771 _ACEOF
27772
27773 fi
27774 done
27775
27776 else
27777
27778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27779 $as_echo_n "checking for _isnan declaration... " >&6; }
27780 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27781 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27782 $as_echo_n "(cached) " >&6
27783 else
27784
27785
27786 ac_ext=cpp
27787 ac_cpp='$CXXCPP $CPPFLAGS'
27788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27791
27792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27793 /* end confdefs.h. */
27794 #include <math.h>
27795 #ifdef HAVE_IEEEFP_H
27796 #include <ieeefp.h>
27797 #endif
27798
27799 int
27800 main ()
27801 {
27802 _isnan(0);
27803 ;
27804 return 0;
27805 }
27806 _ACEOF
27807 if ac_fn_cxx_try_compile "$LINENO"; then :
27808 glibcxx_cv_func__isnan_use=yes
27809 else
27810 glibcxx_cv_func__isnan_use=no
27811 fi
27812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27813 ac_ext=c
27814 ac_cpp='$CPP $CPPFLAGS'
27815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27818
27819
27820 fi
27821
27822 fi
27823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27824 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27825
27826 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27827 for ac_func in _isnan
27828 do :
27829 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27830 if test "x$ac_cv_func__isnan" = x""yes; then :
27831 cat >>confdefs.h <<_ACEOF
27832 #define HAVE__ISNAN 1
27833 _ACEOF
27834
27835 fi
27836 done
27837
27838 fi
27839 fi
27840
27841
27842
27843
27844
27845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27846 $as_echo_n "checking for finite declaration... " >&6; }
27847 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27848 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27849 $as_echo_n "(cached) " >&6
27850 else
27851
27852
27853 ac_ext=cpp
27854 ac_cpp='$CXXCPP $CPPFLAGS'
27855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27858
27859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27860 /* end confdefs.h. */
27861 #include <math.h>
27862 #ifdef HAVE_IEEEFP_H
27863 #include <ieeefp.h>
27864 #endif
27865
27866 int
27867 main ()
27868 {
27869 finite(0);
27870 ;
27871 return 0;
27872 }
27873 _ACEOF
27874 if ac_fn_cxx_try_compile "$LINENO"; then :
27875 glibcxx_cv_func_finite_use=yes
27876 else
27877 glibcxx_cv_func_finite_use=no
27878 fi
27879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27880 ac_ext=c
27881 ac_cpp='$CPP $CPPFLAGS'
27882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27885
27886
27887 fi
27888
27889 fi
27890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27891 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27892
27893 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27894 for ac_func in finite
27895 do :
27896 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27897 if test "x$ac_cv_func_finite" = x""yes; then :
27898 cat >>confdefs.h <<_ACEOF
27899 #define HAVE_FINITE 1
27900 _ACEOF
27901
27902 fi
27903 done
27904
27905 else
27906
27907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27908 $as_echo_n "checking for _finite declaration... " >&6; }
27909 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27910 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27911 $as_echo_n "(cached) " >&6
27912 else
27913
27914
27915 ac_ext=cpp
27916 ac_cpp='$CXXCPP $CPPFLAGS'
27917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27920
27921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27922 /* end confdefs.h. */
27923 #include <math.h>
27924 #ifdef HAVE_IEEEFP_H
27925 #include <ieeefp.h>
27926 #endif
27927
27928 int
27929 main ()
27930 {
27931 _finite(0);
27932 ;
27933 return 0;
27934 }
27935 _ACEOF
27936 if ac_fn_cxx_try_compile "$LINENO"; then :
27937 glibcxx_cv_func__finite_use=yes
27938 else
27939 glibcxx_cv_func__finite_use=no
27940 fi
27941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27942 ac_ext=c
27943 ac_cpp='$CPP $CPPFLAGS'
27944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27947
27948
27949 fi
27950
27951 fi
27952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27953 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27954
27955 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27956 for ac_func in _finite
27957 do :
27958 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27959 if test "x$ac_cv_func__finite" = x""yes; then :
27960 cat >>confdefs.h <<_ACEOF
27961 #define HAVE__FINITE 1
27962 _ACEOF
27963
27964 fi
27965 done
27966
27967 fi
27968 fi
27969
27970
27971
27972
27973
27974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27975 $as_echo_n "checking for sincos declaration... " >&6; }
27976 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27977 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27978 $as_echo_n "(cached) " >&6
27979 else
27980
27981
27982 ac_ext=cpp
27983 ac_cpp='$CXXCPP $CPPFLAGS'
27984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27987
27988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27989 /* end confdefs.h. */
27990 #include <math.h>
27991 int
27992 main ()
27993 {
27994 sincos(0, 0, 0);
27995 ;
27996 return 0;
27997 }
27998 _ACEOF
27999 if ac_fn_cxx_try_compile "$LINENO"; then :
28000 glibcxx_cv_func_sincos_use=yes
28001 else
28002 glibcxx_cv_func_sincos_use=no
28003 fi
28004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28005 ac_ext=c
28006 ac_cpp='$CPP $CPPFLAGS'
28007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28010
28011
28012 fi
28013
28014 fi
28015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28016 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28017
28018 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28019 for ac_func in sincos
28020 do :
28021 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28022 if test "x$ac_cv_func_sincos" = x""yes; then :
28023 cat >>confdefs.h <<_ACEOF
28024 #define HAVE_SINCOS 1
28025 _ACEOF
28026
28027 fi
28028 done
28029
28030 else
28031
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28033 $as_echo_n "checking for _sincos declaration... " >&6; }
28034 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28035 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28036 $as_echo_n "(cached) " >&6
28037 else
28038
28039
28040 ac_ext=cpp
28041 ac_cpp='$CXXCPP $CPPFLAGS'
28042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28045
28046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28047 /* end confdefs.h. */
28048 #include <math.h>
28049 int
28050 main ()
28051 {
28052 _sincos(0, 0, 0);
28053 ;
28054 return 0;
28055 }
28056 _ACEOF
28057 if ac_fn_cxx_try_compile "$LINENO"; then :
28058 glibcxx_cv_func__sincos_use=yes
28059 else
28060 glibcxx_cv_func__sincos_use=no
28061 fi
28062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28063 ac_ext=c
28064 ac_cpp='$CPP $CPPFLAGS'
28065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28068
28069
28070 fi
28071
28072 fi
28073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28074 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28075
28076 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28077 for ac_func in _sincos
28078 do :
28079 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28080 if test "x$ac_cv_func__sincos" = x""yes; then :
28081 cat >>confdefs.h <<_ACEOF
28082 #define HAVE__SINCOS 1
28083 _ACEOF
28084
28085 fi
28086 done
28087
28088 fi
28089 fi
28090
28091
28092
28093
28094
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28096 $as_echo_n "checking for fpclass declaration... " >&6; }
28097 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28098 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28099 $as_echo_n "(cached) " >&6
28100 else
28101
28102
28103 ac_ext=cpp
28104 ac_cpp='$CXXCPP $CPPFLAGS'
28105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28108
28109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28110 /* end confdefs.h. */
28111 #include <math.h>
28112 #ifdef HAVE_IEEEFP_H
28113 #include <ieeefp.h>
28114 #endif
28115
28116 int
28117 main ()
28118 {
28119 fpclass(0);
28120 ;
28121 return 0;
28122 }
28123 _ACEOF
28124 if ac_fn_cxx_try_compile "$LINENO"; then :
28125 glibcxx_cv_func_fpclass_use=yes
28126 else
28127 glibcxx_cv_func_fpclass_use=no
28128 fi
28129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28130 ac_ext=c
28131 ac_cpp='$CPP $CPPFLAGS'
28132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28135
28136
28137 fi
28138
28139 fi
28140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28141 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28142
28143 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28144 for ac_func in fpclass
28145 do :
28146 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28147 if test "x$ac_cv_func_fpclass" = x""yes; then :
28148 cat >>confdefs.h <<_ACEOF
28149 #define HAVE_FPCLASS 1
28150 _ACEOF
28151
28152 fi
28153 done
28154
28155 else
28156
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28158 $as_echo_n "checking for _fpclass declaration... " >&6; }
28159 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28160 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28161 $as_echo_n "(cached) " >&6
28162 else
28163
28164
28165 ac_ext=cpp
28166 ac_cpp='$CXXCPP $CPPFLAGS'
28167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28170
28171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28172 /* end confdefs.h. */
28173 #include <math.h>
28174 #ifdef HAVE_IEEEFP_H
28175 #include <ieeefp.h>
28176 #endif
28177
28178 int
28179 main ()
28180 {
28181 _fpclass(0);
28182 ;
28183 return 0;
28184 }
28185 _ACEOF
28186 if ac_fn_cxx_try_compile "$LINENO"; then :
28187 glibcxx_cv_func__fpclass_use=yes
28188 else
28189 glibcxx_cv_func__fpclass_use=no
28190 fi
28191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28192 ac_ext=c
28193 ac_cpp='$CPP $CPPFLAGS'
28194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28197
28198
28199 fi
28200
28201 fi
28202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28203 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28204
28205 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28206 for ac_func in _fpclass
28207 do :
28208 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28209 if test "x$ac_cv_func__fpclass" = x""yes; then :
28210 cat >>confdefs.h <<_ACEOF
28211 #define HAVE__FPCLASS 1
28212 _ACEOF
28213
28214 fi
28215 done
28216
28217 fi
28218 fi
28219
28220
28221
28222
28223
28224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28225 $as_echo_n "checking for qfpclass declaration... " >&6; }
28226 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28227 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28228 $as_echo_n "(cached) " >&6
28229 else
28230
28231
28232 ac_ext=cpp
28233 ac_cpp='$CXXCPP $CPPFLAGS'
28234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28237
28238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28239 /* end confdefs.h. */
28240 #include <math.h>
28241 #ifdef HAVE_IEEEFP_H
28242 #include <ieeefp.h>
28243 #endif
28244
28245 int
28246 main ()
28247 {
28248 qfpclass(0);
28249 ;
28250 return 0;
28251 }
28252 _ACEOF
28253 if ac_fn_cxx_try_compile "$LINENO"; then :
28254 glibcxx_cv_func_qfpclass_use=yes
28255 else
28256 glibcxx_cv_func_qfpclass_use=no
28257 fi
28258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28259 ac_ext=c
28260 ac_cpp='$CPP $CPPFLAGS'
28261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28264
28265
28266 fi
28267
28268 fi
28269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28270 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28271
28272 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28273 for ac_func in qfpclass
28274 do :
28275 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28276 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28277 cat >>confdefs.h <<_ACEOF
28278 #define HAVE_QFPCLASS 1
28279 _ACEOF
28280
28281 fi
28282 done
28283
28284 else
28285
28286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28287 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28288 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28289 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28290 $as_echo_n "(cached) " >&6
28291 else
28292
28293
28294 ac_ext=cpp
28295 ac_cpp='$CXXCPP $CPPFLAGS'
28296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28299
28300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28301 /* end confdefs.h. */
28302 #include <math.h>
28303 #ifdef HAVE_IEEEFP_H
28304 #include <ieeefp.h>
28305 #endif
28306
28307 int
28308 main ()
28309 {
28310 _qfpclass(0);
28311 ;
28312 return 0;
28313 }
28314 _ACEOF
28315 if ac_fn_cxx_try_compile "$LINENO"; then :
28316 glibcxx_cv_func__qfpclass_use=yes
28317 else
28318 glibcxx_cv_func__qfpclass_use=no
28319 fi
28320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28321 ac_ext=c
28322 ac_cpp='$CPP $CPPFLAGS'
28323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28326
28327
28328 fi
28329
28330 fi
28331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28332 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28333
28334 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28335 for ac_func in _qfpclass
28336 do :
28337 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28338 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28339 cat >>confdefs.h <<_ACEOF
28340 #define HAVE__QFPCLASS 1
28341 _ACEOF
28342
28343 fi
28344 done
28345
28346 fi
28347 fi
28348
28349
28350
28351
28352
28353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28354 $as_echo_n "checking for hypot declaration... " >&6; }
28355 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28356 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28357 $as_echo_n "(cached) " >&6
28358 else
28359
28360
28361 ac_ext=cpp
28362 ac_cpp='$CXXCPP $CPPFLAGS'
28363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28366
28367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28368 /* end confdefs.h. */
28369 #include <math.h>
28370 int
28371 main ()
28372 {
28373 hypot(0, 0);
28374 ;
28375 return 0;
28376 }
28377 _ACEOF
28378 if ac_fn_cxx_try_compile "$LINENO"; then :
28379 glibcxx_cv_func_hypot_use=yes
28380 else
28381 glibcxx_cv_func_hypot_use=no
28382 fi
28383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28384 ac_ext=c
28385 ac_cpp='$CPP $CPPFLAGS'
28386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28389
28390
28391 fi
28392
28393 fi
28394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28395 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28396
28397 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28398 for ac_func in hypot
28399 do :
28400 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28401 if test "x$ac_cv_func_hypot" = x""yes; then :
28402 cat >>confdefs.h <<_ACEOF
28403 #define HAVE_HYPOT 1
28404 _ACEOF
28405
28406 fi
28407 done
28408
28409 else
28410
28411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28412 $as_echo_n "checking for _hypot declaration... " >&6; }
28413 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28414 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28415 $as_echo_n "(cached) " >&6
28416 else
28417
28418
28419 ac_ext=cpp
28420 ac_cpp='$CXXCPP $CPPFLAGS'
28421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28424
28425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28426 /* end confdefs.h. */
28427 #include <math.h>
28428 int
28429 main ()
28430 {
28431 _hypot(0, 0);
28432 ;
28433 return 0;
28434 }
28435 _ACEOF
28436 if ac_fn_cxx_try_compile "$LINENO"; then :
28437 glibcxx_cv_func__hypot_use=yes
28438 else
28439 glibcxx_cv_func__hypot_use=no
28440 fi
28441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28442 ac_ext=c
28443 ac_cpp='$CPP $CPPFLAGS'
28444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28447
28448
28449 fi
28450
28451 fi
28452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28453 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28454
28455 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28456 for ac_func in _hypot
28457 do :
28458 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28459 if test "x$ac_cv_func__hypot" = x""yes; then :
28460 cat >>confdefs.h <<_ACEOF
28461 #define HAVE__HYPOT 1
28462 _ACEOF
28463
28464 fi
28465 done
28466
28467 fi
28468 fi
28469
28470
28471
28472
28473
28474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28475 $as_echo_n "checking for float trig functions... " >&6; }
28476 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28477 $as_echo_n "(cached) " >&6
28478 else
28479
28480
28481 ac_ext=cpp
28482 ac_cpp='$CXXCPP $CPPFLAGS'
28483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28486
28487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28488 /* end confdefs.h. */
28489 #include <math.h>
28490 int
28491 main ()
28492 {
28493 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28494 ;
28495 return 0;
28496 }
28497 _ACEOF
28498 if ac_fn_cxx_try_compile "$LINENO"; then :
28499 glibcxx_cv_func_float_trig_use=yes
28500 else
28501 glibcxx_cv_func_float_trig_use=no
28502 fi
28503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28504 ac_ext=c
28505 ac_cpp='$CPP $CPPFLAGS'
28506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28509
28510 fi
28511
28512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28513 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28514 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28515 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28516 do :
28517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28519 eval as_val=\$$as_ac_var
28520 if test "x$as_val" = x""yes; then :
28521 cat >>confdefs.h <<_ACEOF
28522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28523 _ACEOF
28524
28525 fi
28526 done
28527
28528 else
28529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28530 $as_echo_n "checking for _float trig functions... " >&6; }
28531 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28532 $as_echo_n "(cached) " >&6
28533 else
28534
28535
28536 ac_ext=cpp
28537 ac_cpp='$CXXCPP $CPPFLAGS'
28538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28541
28542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28543 /* end confdefs.h. */
28544 #include <math.h>
28545 int
28546 main ()
28547 {
28548 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28549 ;
28550 return 0;
28551 }
28552 _ACEOF
28553 if ac_fn_cxx_try_compile "$LINENO"; then :
28554 glibcxx_cv_func__float_trig_use=yes
28555 else
28556 glibcxx_cv_func__float_trig_use=no
28557 fi
28558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28559 ac_ext=c
28560 ac_cpp='$CPP $CPPFLAGS'
28561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28564
28565 fi
28566
28567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28568 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28569 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28570 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28571 do :
28572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28574 eval as_val=\$$as_ac_var
28575 if test "x$as_val" = x""yes; then :
28576 cat >>confdefs.h <<_ACEOF
28577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28578 _ACEOF
28579
28580 fi
28581 done
28582
28583 fi
28584 fi
28585
28586
28587
28588
28589
28590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28591 $as_echo_n "checking for float round functions... " >&6; }
28592 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28593 $as_echo_n "(cached) " >&6
28594 else
28595
28596
28597 ac_ext=cpp
28598 ac_cpp='$CXXCPP $CPPFLAGS'
28599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28602
28603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28604 /* end confdefs.h. */
28605 #include <math.h>
28606 int
28607 main ()
28608 {
28609 ceilf (0); floorf (0);
28610 ;
28611 return 0;
28612 }
28613 _ACEOF
28614 if ac_fn_cxx_try_compile "$LINENO"; then :
28615 glibcxx_cv_func_float_round_use=yes
28616 else
28617 glibcxx_cv_func_float_round_use=no
28618 fi
28619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28620 ac_ext=c
28621 ac_cpp='$CPP $CPPFLAGS'
28622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28625
28626 fi
28627
28628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28629 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28630 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28631 for ac_func in ceilf floorf
28632 do :
28633 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28634 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28635 eval as_val=\$$as_ac_var
28636 if test "x$as_val" = x""yes; then :
28637 cat >>confdefs.h <<_ACEOF
28638 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28639 _ACEOF
28640
28641 fi
28642 done
28643
28644 else
28645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28646 $as_echo_n "checking for _float round functions... " >&6; }
28647 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28648 $as_echo_n "(cached) " >&6
28649 else
28650
28651
28652 ac_ext=cpp
28653 ac_cpp='$CXXCPP $CPPFLAGS'
28654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28657
28658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28659 /* end confdefs.h. */
28660 #include <math.h>
28661 int
28662 main ()
28663 {
28664 _ceilf (0); _floorf (0);
28665 ;
28666 return 0;
28667 }
28668 _ACEOF
28669 if ac_fn_cxx_try_compile "$LINENO"; then :
28670 glibcxx_cv_func__float_round_use=yes
28671 else
28672 glibcxx_cv_func__float_round_use=no
28673 fi
28674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28675 ac_ext=c
28676 ac_cpp='$CPP $CPPFLAGS'
28677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28680
28681 fi
28682
28683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28684 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28685 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28686 for ac_func in _ceilf _floorf
28687 do :
28688 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28689 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28690 eval as_val=\$$as_ac_var
28691 if test "x$as_val" = x""yes; then :
28692 cat >>confdefs.h <<_ACEOF
28693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28694 _ACEOF
28695
28696 fi
28697 done
28698
28699 fi
28700 fi
28701
28702
28703
28704
28705
28706
28707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28708 $as_echo_n "checking for expf declaration... " >&6; }
28709 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28710 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28711 $as_echo_n "(cached) " >&6
28712 else
28713
28714
28715 ac_ext=cpp
28716 ac_cpp='$CXXCPP $CPPFLAGS'
28717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28720
28721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28722 /* end confdefs.h. */
28723 #include <math.h>
28724 #ifdef HAVE_IEEEFP_H
28725 #include <ieeefp.h>
28726 #endif
28727
28728 int
28729 main ()
28730 {
28731 expf(0);
28732 ;
28733 return 0;
28734 }
28735 _ACEOF
28736 if ac_fn_cxx_try_compile "$LINENO"; then :
28737 glibcxx_cv_func_expf_use=yes
28738 else
28739 glibcxx_cv_func_expf_use=no
28740 fi
28741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28742 ac_ext=c
28743 ac_cpp='$CPP $CPPFLAGS'
28744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28747
28748
28749 fi
28750
28751 fi
28752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28753 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28754
28755 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28756 for ac_func in expf
28757 do :
28758 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28759 if test "x$ac_cv_func_expf" = x""yes; then :
28760 cat >>confdefs.h <<_ACEOF
28761 #define HAVE_EXPF 1
28762 _ACEOF
28763
28764 fi
28765 done
28766
28767 else
28768
28769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28770 $as_echo_n "checking for _expf declaration... " >&6; }
28771 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28772 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28773 $as_echo_n "(cached) " >&6
28774 else
28775
28776
28777 ac_ext=cpp
28778 ac_cpp='$CXXCPP $CPPFLAGS'
28779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28782
28783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28784 /* end confdefs.h. */
28785 #include <math.h>
28786 #ifdef HAVE_IEEEFP_H
28787 #include <ieeefp.h>
28788 #endif
28789
28790 int
28791 main ()
28792 {
28793 _expf(0);
28794 ;
28795 return 0;
28796 }
28797 _ACEOF
28798 if ac_fn_cxx_try_compile "$LINENO"; then :
28799 glibcxx_cv_func__expf_use=yes
28800 else
28801 glibcxx_cv_func__expf_use=no
28802 fi
28803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28804 ac_ext=c
28805 ac_cpp='$CPP $CPPFLAGS'
28806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28809
28810
28811 fi
28812
28813 fi
28814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28815 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28816
28817 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28818 for ac_func in _expf
28819 do :
28820 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28821 if test "x$ac_cv_func__expf" = x""yes; then :
28822 cat >>confdefs.h <<_ACEOF
28823 #define HAVE__EXPF 1
28824 _ACEOF
28825
28826 fi
28827 done
28828
28829 fi
28830 fi
28831
28832
28833
28834
28835
28836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28837 $as_echo_n "checking for isnanf declaration... " >&6; }
28838 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28839 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28840 $as_echo_n "(cached) " >&6
28841 else
28842
28843
28844 ac_ext=cpp
28845 ac_cpp='$CXXCPP $CPPFLAGS'
28846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28849
28850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28851 /* end confdefs.h. */
28852 #include <math.h>
28853 #ifdef HAVE_IEEEFP_H
28854 #include <ieeefp.h>
28855 #endif
28856
28857 int
28858 main ()
28859 {
28860 isnanf(0);
28861 ;
28862 return 0;
28863 }
28864 _ACEOF
28865 if ac_fn_cxx_try_compile "$LINENO"; then :
28866 glibcxx_cv_func_isnanf_use=yes
28867 else
28868 glibcxx_cv_func_isnanf_use=no
28869 fi
28870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28871 ac_ext=c
28872 ac_cpp='$CPP $CPPFLAGS'
28873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28876
28877
28878 fi
28879
28880 fi
28881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28882 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28883
28884 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28885 for ac_func in isnanf
28886 do :
28887 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28888 if test "x$ac_cv_func_isnanf" = x""yes; then :
28889 cat >>confdefs.h <<_ACEOF
28890 #define HAVE_ISNANF 1
28891 _ACEOF
28892
28893 fi
28894 done
28895
28896 else
28897
28898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28899 $as_echo_n "checking for _isnanf declaration... " >&6; }
28900 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28901 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28902 $as_echo_n "(cached) " >&6
28903 else
28904
28905
28906 ac_ext=cpp
28907 ac_cpp='$CXXCPP $CPPFLAGS'
28908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28911
28912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28913 /* end confdefs.h. */
28914 #include <math.h>
28915 #ifdef HAVE_IEEEFP_H
28916 #include <ieeefp.h>
28917 #endif
28918
28919 int
28920 main ()
28921 {
28922 _isnanf(0);
28923 ;
28924 return 0;
28925 }
28926 _ACEOF
28927 if ac_fn_cxx_try_compile "$LINENO"; then :
28928 glibcxx_cv_func__isnanf_use=yes
28929 else
28930 glibcxx_cv_func__isnanf_use=no
28931 fi
28932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28933 ac_ext=c
28934 ac_cpp='$CPP $CPPFLAGS'
28935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28938
28939
28940 fi
28941
28942 fi
28943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28944 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28945
28946 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28947 for ac_func in _isnanf
28948 do :
28949 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28950 if test "x$ac_cv_func__isnanf" = x""yes; then :
28951 cat >>confdefs.h <<_ACEOF
28952 #define HAVE__ISNANF 1
28953 _ACEOF
28954
28955 fi
28956 done
28957
28958 fi
28959 fi
28960
28961
28962
28963
28964
28965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28966 $as_echo_n "checking for isinff declaration... " >&6; }
28967 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28968 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28969 $as_echo_n "(cached) " >&6
28970 else
28971
28972
28973 ac_ext=cpp
28974 ac_cpp='$CXXCPP $CPPFLAGS'
28975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28978
28979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28980 /* end confdefs.h. */
28981 #include <math.h>
28982 #ifdef HAVE_IEEEFP_H
28983 #include <ieeefp.h>
28984 #endif
28985
28986 int
28987 main ()
28988 {
28989 isinff(0);
28990 ;
28991 return 0;
28992 }
28993 _ACEOF
28994 if ac_fn_cxx_try_compile "$LINENO"; then :
28995 glibcxx_cv_func_isinff_use=yes
28996 else
28997 glibcxx_cv_func_isinff_use=no
28998 fi
28999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29000 ac_ext=c
29001 ac_cpp='$CPP $CPPFLAGS'
29002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29005
29006
29007 fi
29008
29009 fi
29010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29011 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29012
29013 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29014 for ac_func in isinff
29015 do :
29016 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29017 if test "x$ac_cv_func_isinff" = x""yes; then :
29018 cat >>confdefs.h <<_ACEOF
29019 #define HAVE_ISINFF 1
29020 _ACEOF
29021
29022 fi
29023 done
29024
29025 else
29026
29027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29028 $as_echo_n "checking for _isinff declaration... " >&6; }
29029 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29030 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29031 $as_echo_n "(cached) " >&6
29032 else
29033
29034
29035 ac_ext=cpp
29036 ac_cpp='$CXXCPP $CPPFLAGS'
29037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29040
29041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29042 /* end confdefs.h. */
29043 #include <math.h>
29044 #ifdef HAVE_IEEEFP_H
29045 #include <ieeefp.h>
29046 #endif
29047
29048 int
29049 main ()
29050 {
29051 _isinff(0);
29052 ;
29053 return 0;
29054 }
29055 _ACEOF
29056 if ac_fn_cxx_try_compile "$LINENO"; then :
29057 glibcxx_cv_func__isinff_use=yes
29058 else
29059 glibcxx_cv_func__isinff_use=no
29060 fi
29061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29062 ac_ext=c
29063 ac_cpp='$CPP $CPPFLAGS'
29064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29067
29068
29069 fi
29070
29071 fi
29072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29073 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29074
29075 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29076 for ac_func in _isinff
29077 do :
29078 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29079 if test "x$ac_cv_func__isinff" = x""yes; then :
29080 cat >>confdefs.h <<_ACEOF
29081 #define HAVE__ISINFF 1
29082 _ACEOF
29083
29084 fi
29085 done
29086
29087 fi
29088 fi
29089
29090
29091
29092
29093
29094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29095 $as_echo_n "checking for atan2f declaration... " >&6; }
29096 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29097 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29098 $as_echo_n "(cached) " >&6
29099 else
29100
29101
29102 ac_ext=cpp
29103 ac_cpp='$CXXCPP $CPPFLAGS'
29104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29107
29108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29109 /* end confdefs.h. */
29110 #include <math.h>
29111 int
29112 main ()
29113 {
29114 atan2f(0, 0);
29115 ;
29116 return 0;
29117 }
29118 _ACEOF
29119 if ac_fn_cxx_try_compile "$LINENO"; then :
29120 glibcxx_cv_func_atan2f_use=yes
29121 else
29122 glibcxx_cv_func_atan2f_use=no
29123 fi
29124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29125 ac_ext=c
29126 ac_cpp='$CPP $CPPFLAGS'
29127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29130
29131
29132 fi
29133
29134 fi
29135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29136 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29137
29138 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29139 for ac_func in atan2f
29140 do :
29141 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29142 if test "x$ac_cv_func_atan2f" = x""yes; then :
29143 cat >>confdefs.h <<_ACEOF
29144 #define HAVE_ATAN2F 1
29145 _ACEOF
29146
29147 fi
29148 done
29149
29150 else
29151
29152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29153 $as_echo_n "checking for _atan2f declaration... " >&6; }
29154 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29155 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29156 $as_echo_n "(cached) " >&6
29157 else
29158
29159
29160 ac_ext=cpp
29161 ac_cpp='$CXXCPP $CPPFLAGS'
29162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29165
29166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29167 /* end confdefs.h. */
29168 #include <math.h>
29169 int
29170 main ()
29171 {
29172 _atan2f(0, 0);
29173 ;
29174 return 0;
29175 }
29176 _ACEOF
29177 if ac_fn_cxx_try_compile "$LINENO"; then :
29178 glibcxx_cv_func__atan2f_use=yes
29179 else
29180 glibcxx_cv_func__atan2f_use=no
29181 fi
29182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29183 ac_ext=c
29184 ac_cpp='$CPP $CPPFLAGS'
29185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29188
29189
29190 fi
29191
29192 fi
29193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29194 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29195
29196 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29197 for ac_func in _atan2f
29198 do :
29199 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29200 if test "x$ac_cv_func__atan2f" = x""yes; then :
29201 cat >>confdefs.h <<_ACEOF
29202 #define HAVE__ATAN2F 1
29203 _ACEOF
29204
29205 fi
29206 done
29207
29208 fi
29209 fi
29210
29211
29212
29213
29214
29215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29216 $as_echo_n "checking for fabsf declaration... " >&6; }
29217 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29218 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29219 $as_echo_n "(cached) " >&6
29220 else
29221
29222
29223 ac_ext=cpp
29224 ac_cpp='$CXXCPP $CPPFLAGS'
29225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29228
29229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29230 /* end confdefs.h. */
29231 #include <math.h>
29232 #ifdef HAVE_IEEEFP_H
29233 #include <ieeefp.h>
29234 #endif
29235
29236 int
29237 main ()
29238 {
29239 fabsf(0);
29240 ;
29241 return 0;
29242 }
29243 _ACEOF
29244 if ac_fn_cxx_try_compile "$LINENO"; then :
29245 glibcxx_cv_func_fabsf_use=yes
29246 else
29247 glibcxx_cv_func_fabsf_use=no
29248 fi
29249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29250 ac_ext=c
29251 ac_cpp='$CPP $CPPFLAGS'
29252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29255
29256
29257 fi
29258
29259 fi
29260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29261 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29262
29263 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29264 for ac_func in fabsf
29265 do :
29266 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29267 if test "x$ac_cv_func_fabsf" = x""yes; then :
29268 cat >>confdefs.h <<_ACEOF
29269 #define HAVE_FABSF 1
29270 _ACEOF
29271
29272 fi
29273 done
29274
29275 else
29276
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29278 $as_echo_n "checking for _fabsf declaration... " >&6; }
29279 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29280 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29281 $as_echo_n "(cached) " >&6
29282 else
29283
29284
29285 ac_ext=cpp
29286 ac_cpp='$CXXCPP $CPPFLAGS'
29287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29290
29291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29292 /* end confdefs.h. */
29293 #include <math.h>
29294 #ifdef HAVE_IEEEFP_H
29295 #include <ieeefp.h>
29296 #endif
29297
29298 int
29299 main ()
29300 {
29301 _fabsf(0);
29302 ;
29303 return 0;
29304 }
29305 _ACEOF
29306 if ac_fn_cxx_try_compile "$LINENO"; then :
29307 glibcxx_cv_func__fabsf_use=yes
29308 else
29309 glibcxx_cv_func__fabsf_use=no
29310 fi
29311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29312 ac_ext=c
29313 ac_cpp='$CPP $CPPFLAGS'
29314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29317
29318
29319 fi
29320
29321 fi
29322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29323 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29324
29325 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29326 for ac_func in _fabsf
29327 do :
29328 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29329 if test "x$ac_cv_func__fabsf" = x""yes; then :
29330 cat >>confdefs.h <<_ACEOF
29331 #define HAVE__FABSF 1
29332 _ACEOF
29333
29334 fi
29335 done
29336
29337 fi
29338 fi
29339
29340
29341
29342
29343
29344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29345 $as_echo_n "checking for fmodf declaration... " >&6; }
29346 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29347 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29348 $as_echo_n "(cached) " >&6
29349 else
29350
29351
29352 ac_ext=cpp
29353 ac_cpp='$CXXCPP $CPPFLAGS'
29354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29357
29358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29359 /* end confdefs.h. */
29360 #include <math.h>
29361 int
29362 main ()
29363 {
29364 fmodf(0, 0);
29365 ;
29366 return 0;
29367 }
29368 _ACEOF
29369 if ac_fn_cxx_try_compile "$LINENO"; then :
29370 glibcxx_cv_func_fmodf_use=yes
29371 else
29372 glibcxx_cv_func_fmodf_use=no
29373 fi
29374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29375 ac_ext=c
29376 ac_cpp='$CPP $CPPFLAGS'
29377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29380
29381
29382 fi
29383
29384 fi
29385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29386 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29387
29388 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29389 for ac_func in fmodf
29390 do :
29391 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29392 if test "x$ac_cv_func_fmodf" = x""yes; then :
29393 cat >>confdefs.h <<_ACEOF
29394 #define HAVE_FMODF 1
29395 _ACEOF
29396
29397 fi
29398 done
29399
29400 else
29401
29402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29403 $as_echo_n "checking for _fmodf declaration... " >&6; }
29404 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29405 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29406 $as_echo_n "(cached) " >&6
29407 else
29408
29409
29410 ac_ext=cpp
29411 ac_cpp='$CXXCPP $CPPFLAGS'
29412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29415
29416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29417 /* end confdefs.h. */
29418 #include <math.h>
29419 int
29420 main ()
29421 {
29422 _fmodf(0, 0);
29423 ;
29424 return 0;
29425 }
29426 _ACEOF
29427 if ac_fn_cxx_try_compile "$LINENO"; then :
29428 glibcxx_cv_func__fmodf_use=yes
29429 else
29430 glibcxx_cv_func__fmodf_use=no
29431 fi
29432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29433 ac_ext=c
29434 ac_cpp='$CPP $CPPFLAGS'
29435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29438
29439
29440 fi
29441
29442 fi
29443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29444 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29445
29446 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29447 for ac_func in _fmodf
29448 do :
29449 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29450 if test "x$ac_cv_func__fmodf" = x""yes; then :
29451 cat >>confdefs.h <<_ACEOF
29452 #define HAVE__FMODF 1
29453 _ACEOF
29454
29455 fi
29456 done
29457
29458 fi
29459 fi
29460
29461
29462
29463
29464
29465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29466 $as_echo_n "checking for frexpf declaration... " >&6; }
29467 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29468 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29469 $as_echo_n "(cached) " >&6
29470 else
29471
29472
29473 ac_ext=cpp
29474 ac_cpp='$CXXCPP $CPPFLAGS'
29475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29478
29479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29480 /* end confdefs.h. */
29481 #include <math.h>
29482 int
29483 main ()
29484 {
29485 frexpf(0, 0);
29486 ;
29487 return 0;
29488 }
29489 _ACEOF
29490 if ac_fn_cxx_try_compile "$LINENO"; then :
29491 glibcxx_cv_func_frexpf_use=yes
29492 else
29493 glibcxx_cv_func_frexpf_use=no
29494 fi
29495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29496 ac_ext=c
29497 ac_cpp='$CPP $CPPFLAGS'
29498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29501
29502
29503 fi
29504
29505 fi
29506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29507 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29508
29509 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29510 for ac_func in frexpf
29511 do :
29512 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29513 if test "x$ac_cv_func_frexpf" = x""yes; then :
29514 cat >>confdefs.h <<_ACEOF
29515 #define HAVE_FREXPF 1
29516 _ACEOF
29517
29518 fi
29519 done
29520
29521 else
29522
29523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29524 $as_echo_n "checking for _frexpf declaration... " >&6; }
29525 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29526 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29527 $as_echo_n "(cached) " >&6
29528 else
29529
29530
29531 ac_ext=cpp
29532 ac_cpp='$CXXCPP $CPPFLAGS'
29533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29536
29537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29538 /* end confdefs.h. */
29539 #include <math.h>
29540 int
29541 main ()
29542 {
29543 _frexpf(0, 0);
29544 ;
29545 return 0;
29546 }
29547 _ACEOF
29548 if ac_fn_cxx_try_compile "$LINENO"; then :
29549 glibcxx_cv_func__frexpf_use=yes
29550 else
29551 glibcxx_cv_func__frexpf_use=no
29552 fi
29553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29554 ac_ext=c
29555 ac_cpp='$CPP $CPPFLAGS'
29556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29559
29560
29561 fi
29562
29563 fi
29564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29565 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29566
29567 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29568 for ac_func in _frexpf
29569 do :
29570 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29571 if test "x$ac_cv_func__frexpf" = x""yes; then :
29572 cat >>confdefs.h <<_ACEOF
29573 #define HAVE__FREXPF 1
29574 _ACEOF
29575
29576 fi
29577 done
29578
29579 fi
29580 fi
29581
29582
29583
29584
29585
29586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29587 $as_echo_n "checking for hypotf declaration... " >&6; }
29588 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29589 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29590 $as_echo_n "(cached) " >&6
29591 else
29592
29593
29594 ac_ext=cpp
29595 ac_cpp='$CXXCPP $CPPFLAGS'
29596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29599
29600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29601 /* end confdefs.h. */
29602 #include <math.h>
29603 int
29604 main ()
29605 {
29606 hypotf(0, 0);
29607 ;
29608 return 0;
29609 }
29610 _ACEOF
29611 if ac_fn_cxx_try_compile "$LINENO"; then :
29612 glibcxx_cv_func_hypotf_use=yes
29613 else
29614 glibcxx_cv_func_hypotf_use=no
29615 fi
29616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29617 ac_ext=c
29618 ac_cpp='$CPP $CPPFLAGS'
29619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29622
29623
29624 fi
29625
29626 fi
29627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29628 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29629
29630 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29631 for ac_func in hypotf
29632 do :
29633 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29634 if test "x$ac_cv_func_hypotf" = x""yes; then :
29635 cat >>confdefs.h <<_ACEOF
29636 #define HAVE_HYPOTF 1
29637 _ACEOF
29638
29639 fi
29640 done
29641
29642 else
29643
29644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29645 $as_echo_n "checking for _hypotf declaration... " >&6; }
29646 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29647 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29648 $as_echo_n "(cached) " >&6
29649 else
29650
29651
29652 ac_ext=cpp
29653 ac_cpp='$CXXCPP $CPPFLAGS'
29654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29657
29658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29659 /* end confdefs.h. */
29660 #include <math.h>
29661 int
29662 main ()
29663 {
29664 _hypotf(0, 0);
29665 ;
29666 return 0;
29667 }
29668 _ACEOF
29669 if ac_fn_cxx_try_compile "$LINENO"; then :
29670 glibcxx_cv_func__hypotf_use=yes
29671 else
29672 glibcxx_cv_func__hypotf_use=no
29673 fi
29674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29675 ac_ext=c
29676 ac_cpp='$CPP $CPPFLAGS'
29677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29680
29681
29682 fi
29683
29684 fi
29685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29686 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29687
29688 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29689 for ac_func in _hypotf
29690 do :
29691 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29692 if test "x$ac_cv_func__hypotf" = x""yes; then :
29693 cat >>confdefs.h <<_ACEOF
29694 #define HAVE__HYPOTF 1
29695 _ACEOF
29696
29697 fi
29698 done
29699
29700 fi
29701 fi
29702
29703
29704
29705
29706
29707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29708 $as_echo_n "checking for ldexpf declaration... " >&6; }
29709 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29710 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29711 $as_echo_n "(cached) " >&6
29712 else
29713
29714
29715 ac_ext=cpp
29716 ac_cpp='$CXXCPP $CPPFLAGS'
29717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29720
29721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29722 /* end confdefs.h. */
29723 #include <math.h>
29724 int
29725 main ()
29726 {
29727 ldexpf(0, 0);
29728 ;
29729 return 0;
29730 }
29731 _ACEOF
29732 if ac_fn_cxx_try_compile "$LINENO"; then :
29733 glibcxx_cv_func_ldexpf_use=yes
29734 else
29735 glibcxx_cv_func_ldexpf_use=no
29736 fi
29737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29738 ac_ext=c
29739 ac_cpp='$CPP $CPPFLAGS'
29740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29743
29744
29745 fi
29746
29747 fi
29748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29749 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29750
29751 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29752 for ac_func in ldexpf
29753 do :
29754 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29755 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29756 cat >>confdefs.h <<_ACEOF
29757 #define HAVE_LDEXPF 1
29758 _ACEOF
29759
29760 fi
29761 done
29762
29763 else
29764
29765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29766 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29767 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29768 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29769 $as_echo_n "(cached) " >&6
29770 else
29771
29772
29773 ac_ext=cpp
29774 ac_cpp='$CXXCPP $CPPFLAGS'
29775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29778
29779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29780 /* end confdefs.h. */
29781 #include <math.h>
29782 int
29783 main ()
29784 {
29785 _ldexpf(0, 0);
29786 ;
29787 return 0;
29788 }
29789 _ACEOF
29790 if ac_fn_cxx_try_compile "$LINENO"; then :
29791 glibcxx_cv_func__ldexpf_use=yes
29792 else
29793 glibcxx_cv_func__ldexpf_use=no
29794 fi
29795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29796 ac_ext=c
29797 ac_cpp='$CPP $CPPFLAGS'
29798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29801
29802
29803 fi
29804
29805 fi
29806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29807 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29808
29809 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29810 for ac_func in _ldexpf
29811 do :
29812 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29813 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29814 cat >>confdefs.h <<_ACEOF
29815 #define HAVE__LDEXPF 1
29816 _ACEOF
29817
29818 fi
29819 done
29820
29821 fi
29822 fi
29823
29824
29825
29826
29827
29828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29829 $as_echo_n "checking for logf declaration... " >&6; }
29830 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29831 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29832 $as_echo_n "(cached) " >&6
29833 else
29834
29835
29836 ac_ext=cpp
29837 ac_cpp='$CXXCPP $CPPFLAGS'
29838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29841
29842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29843 /* end confdefs.h. */
29844 #include <math.h>
29845 #ifdef HAVE_IEEEFP_H
29846 #include <ieeefp.h>
29847 #endif
29848
29849 int
29850 main ()
29851 {
29852 logf(0);
29853 ;
29854 return 0;
29855 }
29856 _ACEOF
29857 if ac_fn_cxx_try_compile "$LINENO"; then :
29858 glibcxx_cv_func_logf_use=yes
29859 else
29860 glibcxx_cv_func_logf_use=no
29861 fi
29862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29863 ac_ext=c
29864 ac_cpp='$CPP $CPPFLAGS'
29865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29868
29869
29870 fi
29871
29872 fi
29873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29874 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29875
29876 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29877 for ac_func in logf
29878 do :
29879 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29880 if test "x$ac_cv_func_logf" = x""yes; then :
29881 cat >>confdefs.h <<_ACEOF
29882 #define HAVE_LOGF 1
29883 _ACEOF
29884
29885 fi
29886 done
29887
29888 else
29889
29890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29891 $as_echo_n "checking for _logf declaration... " >&6; }
29892 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29893 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29894 $as_echo_n "(cached) " >&6
29895 else
29896
29897
29898 ac_ext=cpp
29899 ac_cpp='$CXXCPP $CPPFLAGS'
29900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29903
29904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29905 /* end confdefs.h. */
29906 #include <math.h>
29907 #ifdef HAVE_IEEEFP_H
29908 #include <ieeefp.h>
29909 #endif
29910
29911 int
29912 main ()
29913 {
29914 _logf(0);
29915 ;
29916 return 0;
29917 }
29918 _ACEOF
29919 if ac_fn_cxx_try_compile "$LINENO"; then :
29920 glibcxx_cv_func__logf_use=yes
29921 else
29922 glibcxx_cv_func__logf_use=no
29923 fi
29924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29925 ac_ext=c
29926 ac_cpp='$CPP $CPPFLAGS'
29927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29930
29931
29932 fi
29933
29934 fi
29935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29936 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29937
29938 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29939 for ac_func in _logf
29940 do :
29941 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29942 if test "x$ac_cv_func__logf" = x""yes; then :
29943 cat >>confdefs.h <<_ACEOF
29944 #define HAVE__LOGF 1
29945 _ACEOF
29946
29947 fi
29948 done
29949
29950 fi
29951 fi
29952
29953
29954
29955
29956
29957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29958 $as_echo_n "checking for log10f declaration... " >&6; }
29959 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29960 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29961 $as_echo_n "(cached) " >&6
29962 else
29963
29964
29965 ac_ext=cpp
29966 ac_cpp='$CXXCPP $CPPFLAGS'
29967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29970
29971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29972 /* end confdefs.h. */
29973 #include <math.h>
29974 #ifdef HAVE_IEEEFP_H
29975 #include <ieeefp.h>
29976 #endif
29977
29978 int
29979 main ()
29980 {
29981 log10f(0);
29982 ;
29983 return 0;
29984 }
29985 _ACEOF
29986 if ac_fn_cxx_try_compile "$LINENO"; then :
29987 glibcxx_cv_func_log10f_use=yes
29988 else
29989 glibcxx_cv_func_log10f_use=no
29990 fi
29991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29992 ac_ext=c
29993 ac_cpp='$CPP $CPPFLAGS'
29994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29997
29998
29999 fi
30000
30001 fi
30002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30003 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30004
30005 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30006 for ac_func in log10f
30007 do :
30008 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30009 if test "x$ac_cv_func_log10f" = x""yes; then :
30010 cat >>confdefs.h <<_ACEOF
30011 #define HAVE_LOG10F 1
30012 _ACEOF
30013
30014 fi
30015 done
30016
30017 else
30018
30019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30020 $as_echo_n "checking for _log10f declaration... " >&6; }
30021 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30022 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30023 $as_echo_n "(cached) " >&6
30024 else
30025
30026
30027 ac_ext=cpp
30028 ac_cpp='$CXXCPP $CPPFLAGS'
30029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30032
30033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30034 /* end confdefs.h. */
30035 #include <math.h>
30036 #ifdef HAVE_IEEEFP_H
30037 #include <ieeefp.h>
30038 #endif
30039
30040 int
30041 main ()
30042 {
30043 _log10f(0);
30044 ;
30045 return 0;
30046 }
30047 _ACEOF
30048 if ac_fn_cxx_try_compile "$LINENO"; then :
30049 glibcxx_cv_func__log10f_use=yes
30050 else
30051 glibcxx_cv_func__log10f_use=no
30052 fi
30053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30054 ac_ext=c
30055 ac_cpp='$CPP $CPPFLAGS'
30056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30059
30060
30061 fi
30062
30063 fi
30064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30065 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30066
30067 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30068 for ac_func in _log10f
30069 do :
30070 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30071 if test "x$ac_cv_func__log10f" = x""yes; then :
30072 cat >>confdefs.h <<_ACEOF
30073 #define HAVE__LOG10F 1
30074 _ACEOF
30075
30076 fi
30077 done
30078
30079 fi
30080 fi
30081
30082
30083
30084
30085
30086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30087 $as_echo_n "checking for modff declaration... " >&6; }
30088 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30089 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30090 $as_echo_n "(cached) " >&6
30091 else
30092
30093
30094 ac_ext=cpp
30095 ac_cpp='$CXXCPP $CPPFLAGS'
30096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30099
30100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30101 /* end confdefs.h. */
30102 #include <math.h>
30103 int
30104 main ()
30105 {
30106 modff(0, 0);
30107 ;
30108 return 0;
30109 }
30110 _ACEOF
30111 if ac_fn_cxx_try_compile "$LINENO"; then :
30112 glibcxx_cv_func_modff_use=yes
30113 else
30114 glibcxx_cv_func_modff_use=no
30115 fi
30116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30117 ac_ext=c
30118 ac_cpp='$CPP $CPPFLAGS'
30119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30122
30123
30124 fi
30125
30126 fi
30127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30128 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30129
30130 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30131 for ac_func in modff
30132 do :
30133 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30134 if test "x$ac_cv_func_modff" = x""yes; then :
30135 cat >>confdefs.h <<_ACEOF
30136 #define HAVE_MODFF 1
30137 _ACEOF
30138
30139 fi
30140 done
30141
30142 else
30143
30144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30145 $as_echo_n "checking for _modff declaration... " >&6; }
30146 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30147 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30148 $as_echo_n "(cached) " >&6
30149 else
30150
30151
30152 ac_ext=cpp
30153 ac_cpp='$CXXCPP $CPPFLAGS'
30154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30157
30158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30159 /* end confdefs.h. */
30160 #include <math.h>
30161 int
30162 main ()
30163 {
30164 _modff(0, 0);
30165 ;
30166 return 0;
30167 }
30168 _ACEOF
30169 if ac_fn_cxx_try_compile "$LINENO"; then :
30170 glibcxx_cv_func__modff_use=yes
30171 else
30172 glibcxx_cv_func__modff_use=no
30173 fi
30174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30175 ac_ext=c
30176 ac_cpp='$CPP $CPPFLAGS'
30177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30180
30181
30182 fi
30183
30184 fi
30185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30186 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30187
30188 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30189 for ac_func in _modff
30190 do :
30191 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30192 if test "x$ac_cv_func__modff" = x""yes; then :
30193 cat >>confdefs.h <<_ACEOF
30194 #define HAVE__MODFF 1
30195 _ACEOF
30196
30197 fi
30198 done
30199
30200 fi
30201 fi
30202
30203
30204
30205
30206
30207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30208 $as_echo_n "checking for modf declaration... " >&6; }
30209 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30210 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30211 $as_echo_n "(cached) " >&6
30212 else
30213
30214
30215 ac_ext=cpp
30216 ac_cpp='$CXXCPP $CPPFLAGS'
30217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30220
30221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30222 /* end confdefs.h. */
30223 #include <math.h>
30224 int
30225 main ()
30226 {
30227 modf(0, 0);
30228 ;
30229 return 0;
30230 }
30231 _ACEOF
30232 if ac_fn_cxx_try_compile "$LINENO"; then :
30233 glibcxx_cv_func_modf_use=yes
30234 else
30235 glibcxx_cv_func_modf_use=no
30236 fi
30237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30238 ac_ext=c
30239 ac_cpp='$CPP $CPPFLAGS'
30240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30243
30244
30245 fi
30246
30247 fi
30248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30249 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30250
30251 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30252 for ac_func in modf
30253 do :
30254 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30255 if test "x$ac_cv_func_modf" = x""yes; then :
30256 cat >>confdefs.h <<_ACEOF
30257 #define HAVE_MODF 1
30258 _ACEOF
30259
30260 fi
30261 done
30262
30263 else
30264
30265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30266 $as_echo_n "checking for _modf declaration... " >&6; }
30267 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30268 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30269 $as_echo_n "(cached) " >&6
30270 else
30271
30272
30273 ac_ext=cpp
30274 ac_cpp='$CXXCPP $CPPFLAGS'
30275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30278
30279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30280 /* end confdefs.h. */
30281 #include <math.h>
30282 int
30283 main ()
30284 {
30285 _modf(0, 0);
30286 ;
30287 return 0;
30288 }
30289 _ACEOF
30290 if ac_fn_cxx_try_compile "$LINENO"; then :
30291 glibcxx_cv_func__modf_use=yes
30292 else
30293 glibcxx_cv_func__modf_use=no
30294 fi
30295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30296 ac_ext=c
30297 ac_cpp='$CPP $CPPFLAGS'
30298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30301
30302
30303 fi
30304
30305 fi
30306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30307 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30308
30309 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30310 for ac_func in _modf
30311 do :
30312 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30313 if test "x$ac_cv_func__modf" = x""yes; then :
30314 cat >>confdefs.h <<_ACEOF
30315 #define HAVE__MODF 1
30316 _ACEOF
30317
30318 fi
30319 done
30320
30321 fi
30322 fi
30323
30324
30325
30326
30327
30328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30329 $as_echo_n "checking for powf declaration... " >&6; }
30330 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30331 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30332 $as_echo_n "(cached) " >&6
30333 else
30334
30335
30336 ac_ext=cpp
30337 ac_cpp='$CXXCPP $CPPFLAGS'
30338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30341
30342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30343 /* end confdefs.h. */
30344 #include <math.h>
30345 int
30346 main ()
30347 {
30348 powf(0, 0);
30349 ;
30350 return 0;
30351 }
30352 _ACEOF
30353 if ac_fn_cxx_try_compile "$LINENO"; then :
30354 glibcxx_cv_func_powf_use=yes
30355 else
30356 glibcxx_cv_func_powf_use=no
30357 fi
30358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30359 ac_ext=c
30360 ac_cpp='$CPP $CPPFLAGS'
30361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30364
30365
30366 fi
30367
30368 fi
30369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30370 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30371
30372 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30373 for ac_func in powf
30374 do :
30375 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30376 if test "x$ac_cv_func_powf" = x""yes; then :
30377 cat >>confdefs.h <<_ACEOF
30378 #define HAVE_POWF 1
30379 _ACEOF
30380
30381 fi
30382 done
30383
30384 else
30385
30386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30387 $as_echo_n "checking for _powf declaration... " >&6; }
30388 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30389 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30390 $as_echo_n "(cached) " >&6
30391 else
30392
30393
30394 ac_ext=cpp
30395 ac_cpp='$CXXCPP $CPPFLAGS'
30396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30399
30400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30401 /* end confdefs.h. */
30402 #include <math.h>
30403 int
30404 main ()
30405 {
30406 _powf(0, 0);
30407 ;
30408 return 0;
30409 }
30410 _ACEOF
30411 if ac_fn_cxx_try_compile "$LINENO"; then :
30412 glibcxx_cv_func__powf_use=yes
30413 else
30414 glibcxx_cv_func__powf_use=no
30415 fi
30416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30417 ac_ext=c
30418 ac_cpp='$CPP $CPPFLAGS'
30419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30422
30423
30424 fi
30425
30426 fi
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30428 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30429
30430 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30431 for ac_func in _powf
30432 do :
30433 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30434 if test "x$ac_cv_func__powf" = x""yes; then :
30435 cat >>confdefs.h <<_ACEOF
30436 #define HAVE__POWF 1
30437 _ACEOF
30438
30439 fi
30440 done
30441
30442 fi
30443 fi
30444
30445
30446
30447
30448
30449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30450 $as_echo_n "checking for sqrtf declaration... " >&6; }
30451 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30452 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30453 $as_echo_n "(cached) " >&6
30454 else
30455
30456
30457 ac_ext=cpp
30458 ac_cpp='$CXXCPP $CPPFLAGS'
30459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30462
30463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30464 /* end confdefs.h. */
30465 #include <math.h>
30466 #ifdef HAVE_IEEEFP_H
30467 #include <ieeefp.h>
30468 #endif
30469
30470 int
30471 main ()
30472 {
30473 sqrtf(0);
30474 ;
30475 return 0;
30476 }
30477 _ACEOF
30478 if ac_fn_cxx_try_compile "$LINENO"; then :
30479 glibcxx_cv_func_sqrtf_use=yes
30480 else
30481 glibcxx_cv_func_sqrtf_use=no
30482 fi
30483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30484 ac_ext=c
30485 ac_cpp='$CPP $CPPFLAGS'
30486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30489
30490
30491 fi
30492
30493 fi
30494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30495 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30496
30497 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30498 for ac_func in sqrtf
30499 do :
30500 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30501 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30502 cat >>confdefs.h <<_ACEOF
30503 #define HAVE_SQRTF 1
30504 _ACEOF
30505
30506 fi
30507 done
30508
30509 else
30510
30511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30512 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30513 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30514 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30515 $as_echo_n "(cached) " >&6
30516 else
30517
30518
30519 ac_ext=cpp
30520 ac_cpp='$CXXCPP $CPPFLAGS'
30521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30524
30525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30526 /* end confdefs.h. */
30527 #include <math.h>
30528 #ifdef HAVE_IEEEFP_H
30529 #include <ieeefp.h>
30530 #endif
30531
30532 int
30533 main ()
30534 {
30535 _sqrtf(0);
30536 ;
30537 return 0;
30538 }
30539 _ACEOF
30540 if ac_fn_cxx_try_compile "$LINENO"; then :
30541 glibcxx_cv_func__sqrtf_use=yes
30542 else
30543 glibcxx_cv_func__sqrtf_use=no
30544 fi
30545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30546 ac_ext=c
30547 ac_cpp='$CPP $CPPFLAGS'
30548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30551
30552
30553 fi
30554
30555 fi
30556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30557 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30558
30559 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30560 for ac_func in _sqrtf
30561 do :
30562 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30563 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30564 cat >>confdefs.h <<_ACEOF
30565 #define HAVE__SQRTF 1
30566 _ACEOF
30567
30568 fi
30569 done
30570
30571 fi
30572 fi
30573
30574
30575
30576
30577
30578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30579 $as_echo_n "checking for sincosf declaration... " >&6; }
30580 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30581 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30582 $as_echo_n "(cached) " >&6
30583 else
30584
30585
30586 ac_ext=cpp
30587 ac_cpp='$CXXCPP $CPPFLAGS'
30588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30591
30592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30593 /* end confdefs.h. */
30594 #include <math.h>
30595 int
30596 main ()
30597 {
30598 sincosf(0, 0, 0);
30599 ;
30600 return 0;
30601 }
30602 _ACEOF
30603 if ac_fn_cxx_try_compile "$LINENO"; then :
30604 glibcxx_cv_func_sincosf_use=yes
30605 else
30606 glibcxx_cv_func_sincosf_use=no
30607 fi
30608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30609 ac_ext=c
30610 ac_cpp='$CPP $CPPFLAGS'
30611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30614
30615
30616 fi
30617
30618 fi
30619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30620 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30621
30622 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30623 for ac_func in sincosf
30624 do :
30625 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30626 if test "x$ac_cv_func_sincosf" = x""yes; then :
30627 cat >>confdefs.h <<_ACEOF
30628 #define HAVE_SINCOSF 1
30629 _ACEOF
30630
30631 fi
30632 done
30633
30634 else
30635
30636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30637 $as_echo_n "checking for _sincosf declaration... " >&6; }
30638 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30639 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30640 $as_echo_n "(cached) " >&6
30641 else
30642
30643
30644 ac_ext=cpp
30645 ac_cpp='$CXXCPP $CPPFLAGS'
30646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30649
30650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30651 /* end confdefs.h. */
30652 #include <math.h>
30653 int
30654 main ()
30655 {
30656 _sincosf(0, 0, 0);
30657 ;
30658 return 0;
30659 }
30660 _ACEOF
30661 if ac_fn_cxx_try_compile "$LINENO"; then :
30662 glibcxx_cv_func__sincosf_use=yes
30663 else
30664 glibcxx_cv_func__sincosf_use=no
30665 fi
30666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30667 ac_ext=c
30668 ac_cpp='$CPP $CPPFLAGS'
30669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30672
30673
30674 fi
30675
30676 fi
30677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30678 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30679
30680 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30681 for ac_func in _sincosf
30682 do :
30683 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30684 if test "x$ac_cv_func__sincosf" = x""yes; then :
30685 cat >>confdefs.h <<_ACEOF
30686 #define HAVE__SINCOSF 1
30687 _ACEOF
30688
30689 fi
30690 done
30691
30692 fi
30693 fi
30694
30695
30696
30697
30698
30699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30700 $as_echo_n "checking for finitef declaration... " >&6; }
30701 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30702 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30703 $as_echo_n "(cached) " >&6
30704 else
30705
30706
30707 ac_ext=cpp
30708 ac_cpp='$CXXCPP $CPPFLAGS'
30709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30712
30713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30714 /* end confdefs.h. */
30715 #include <math.h>
30716 #ifdef HAVE_IEEEFP_H
30717 #include <ieeefp.h>
30718 #endif
30719
30720 int
30721 main ()
30722 {
30723 finitef(0);
30724 ;
30725 return 0;
30726 }
30727 _ACEOF
30728 if ac_fn_cxx_try_compile "$LINENO"; then :
30729 glibcxx_cv_func_finitef_use=yes
30730 else
30731 glibcxx_cv_func_finitef_use=no
30732 fi
30733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30734 ac_ext=c
30735 ac_cpp='$CPP $CPPFLAGS'
30736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30739
30740
30741 fi
30742
30743 fi
30744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30745 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30746
30747 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30748 for ac_func in finitef
30749 do :
30750 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30751 if test "x$ac_cv_func_finitef" = x""yes; then :
30752 cat >>confdefs.h <<_ACEOF
30753 #define HAVE_FINITEF 1
30754 _ACEOF
30755
30756 fi
30757 done
30758
30759 else
30760
30761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30762 $as_echo_n "checking for _finitef declaration... " >&6; }
30763 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30764 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30765 $as_echo_n "(cached) " >&6
30766 else
30767
30768
30769 ac_ext=cpp
30770 ac_cpp='$CXXCPP $CPPFLAGS'
30771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30774
30775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30776 /* end confdefs.h. */
30777 #include <math.h>
30778 #ifdef HAVE_IEEEFP_H
30779 #include <ieeefp.h>
30780 #endif
30781
30782 int
30783 main ()
30784 {
30785 _finitef(0);
30786 ;
30787 return 0;
30788 }
30789 _ACEOF
30790 if ac_fn_cxx_try_compile "$LINENO"; then :
30791 glibcxx_cv_func__finitef_use=yes
30792 else
30793 glibcxx_cv_func__finitef_use=no
30794 fi
30795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30796 ac_ext=c
30797 ac_cpp='$CPP $CPPFLAGS'
30798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30801
30802
30803 fi
30804
30805 fi
30806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30807 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30808
30809 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30810 for ac_func in _finitef
30811 do :
30812 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30813 if test "x$ac_cv_func__finitef" = x""yes; then :
30814 cat >>confdefs.h <<_ACEOF
30815 #define HAVE__FINITEF 1
30816 _ACEOF
30817
30818 fi
30819 done
30820
30821 fi
30822 fi
30823
30824
30825
30826
30827
30828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30829 $as_echo_n "checking for long double trig functions... " >&6; }
30830 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30831 $as_echo_n "(cached) " >&6
30832 else
30833
30834
30835 ac_ext=cpp
30836 ac_cpp='$CXXCPP $CPPFLAGS'
30837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30840
30841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30842 /* end confdefs.h. */
30843 #include <math.h>
30844 int
30845 main ()
30846 {
30847 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30848 ;
30849 return 0;
30850 }
30851 _ACEOF
30852 if ac_fn_cxx_try_compile "$LINENO"; then :
30853 glibcxx_cv_func_long_double_trig_use=yes
30854 else
30855 glibcxx_cv_func_long_double_trig_use=no
30856 fi
30857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30858 ac_ext=c
30859 ac_cpp='$CPP $CPPFLAGS'
30860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30863
30864 fi
30865
30866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30867 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30868 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30869 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30870 do :
30871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30873 eval as_val=\$$as_ac_var
30874 if test "x$as_val" = x""yes; then :
30875 cat >>confdefs.h <<_ACEOF
30876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30877 _ACEOF
30878
30879 fi
30880 done
30881
30882 else
30883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30884 $as_echo_n "checking for _long double trig functions... " >&6; }
30885 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30886 $as_echo_n "(cached) " >&6
30887 else
30888
30889
30890 ac_ext=cpp
30891 ac_cpp='$CXXCPP $CPPFLAGS'
30892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30895
30896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30897 /* end confdefs.h. */
30898 #include <math.h>
30899 int
30900 main ()
30901 {
30902 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30903 ;
30904 return 0;
30905 }
30906 _ACEOF
30907 if ac_fn_cxx_try_compile "$LINENO"; then :
30908 glibcxx_cv_func__long_double_trig_use=yes
30909 else
30910 glibcxx_cv_func__long_double_trig_use=no
30911 fi
30912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30913 ac_ext=c
30914 ac_cpp='$CPP $CPPFLAGS'
30915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30918
30919 fi
30920
30921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30922 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30923 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30924 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30925 do :
30926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30928 eval as_val=\$$as_ac_var
30929 if test "x$as_val" = x""yes; then :
30930 cat >>confdefs.h <<_ACEOF
30931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30932 _ACEOF
30933
30934 fi
30935 done
30936
30937 fi
30938 fi
30939
30940
30941
30942
30943
30944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30945 $as_echo_n "checking for long double round functions... " >&6; }
30946 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30947 $as_echo_n "(cached) " >&6
30948 else
30949
30950
30951 ac_ext=cpp
30952 ac_cpp='$CXXCPP $CPPFLAGS'
30953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30956
30957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30958 /* end confdefs.h. */
30959 #include <math.h>
30960 int
30961 main ()
30962 {
30963 ceill (0); floorl (0);
30964 ;
30965 return 0;
30966 }
30967 _ACEOF
30968 if ac_fn_cxx_try_compile "$LINENO"; then :
30969 glibcxx_cv_func_long_double_round_use=yes
30970 else
30971 glibcxx_cv_func_long_double_round_use=no
30972 fi
30973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30974 ac_ext=c
30975 ac_cpp='$CPP $CPPFLAGS'
30976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30979
30980 fi
30981
30982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30983 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30984 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30985 for ac_func in ceill floorl
30986 do :
30987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30989 eval as_val=\$$as_ac_var
30990 if test "x$as_val" = x""yes; then :
30991 cat >>confdefs.h <<_ACEOF
30992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30993 _ACEOF
30994
30995 fi
30996 done
30997
30998 else
30999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31000 $as_echo_n "checking for _long double round functions... " >&6; }
31001 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31002 $as_echo_n "(cached) " >&6
31003 else
31004
31005
31006 ac_ext=cpp
31007 ac_cpp='$CXXCPP $CPPFLAGS'
31008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31011
31012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31013 /* end confdefs.h. */
31014 #include <math.h>
31015 int
31016 main ()
31017 {
31018 _ceill (0); _floorl (0);
31019 ;
31020 return 0;
31021 }
31022 _ACEOF
31023 if ac_fn_cxx_try_compile "$LINENO"; then :
31024 glibcxx_cv_func__long_double_round_use=yes
31025 else
31026 glibcxx_cv_func__long_double_round_use=no
31027 fi
31028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31029 ac_ext=c
31030 ac_cpp='$CPP $CPPFLAGS'
31031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31034
31035 fi
31036
31037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31038 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31039 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31040 for ac_func in _ceill _floorl
31041 do :
31042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31044 eval as_val=\$$as_ac_var
31045 if test "x$as_val" = x""yes; then :
31046 cat >>confdefs.h <<_ACEOF
31047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31048 _ACEOF
31049
31050 fi
31051 done
31052
31053 fi
31054 fi
31055
31056
31057
31058
31059
31060
31061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31062 $as_echo_n "checking for isnanl declaration... " >&6; }
31063 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31064 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31065 $as_echo_n "(cached) " >&6
31066 else
31067
31068
31069 ac_ext=cpp
31070 ac_cpp='$CXXCPP $CPPFLAGS'
31071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31074
31075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31076 /* end confdefs.h. */
31077 #include <math.h>
31078 #ifdef HAVE_IEEEFP_H
31079 #include <ieeefp.h>
31080 #endif
31081
31082 int
31083 main ()
31084 {
31085 isnanl(0);
31086 ;
31087 return 0;
31088 }
31089 _ACEOF
31090 if ac_fn_cxx_try_compile "$LINENO"; then :
31091 glibcxx_cv_func_isnanl_use=yes
31092 else
31093 glibcxx_cv_func_isnanl_use=no
31094 fi
31095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31096 ac_ext=c
31097 ac_cpp='$CPP $CPPFLAGS'
31098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31101
31102
31103 fi
31104
31105 fi
31106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31107 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31108
31109 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31110 for ac_func in isnanl
31111 do :
31112 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31113 if test "x$ac_cv_func_isnanl" = x""yes; then :
31114 cat >>confdefs.h <<_ACEOF
31115 #define HAVE_ISNANL 1
31116 _ACEOF
31117
31118 fi
31119 done
31120
31121 else
31122
31123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31124 $as_echo_n "checking for _isnanl declaration... " >&6; }
31125 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31126 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31127 $as_echo_n "(cached) " >&6
31128 else
31129
31130
31131 ac_ext=cpp
31132 ac_cpp='$CXXCPP $CPPFLAGS'
31133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31136
31137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31138 /* end confdefs.h. */
31139 #include <math.h>
31140 #ifdef HAVE_IEEEFP_H
31141 #include <ieeefp.h>
31142 #endif
31143
31144 int
31145 main ()
31146 {
31147 _isnanl(0);
31148 ;
31149 return 0;
31150 }
31151 _ACEOF
31152 if ac_fn_cxx_try_compile "$LINENO"; then :
31153 glibcxx_cv_func__isnanl_use=yes
31154 else
31155 glibcxx_cv_func__isnanl_use=no
31156 fi
31157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31158 ac_ext=c
31159 ac_cpp='$CPP $CPPFLAGS'
31160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31163
31164
31165 fi
31166
31167 fi
31168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31169 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31170
31171 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31172 for ac_func in _isnanl
31173 do :
31174 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31175 if test "x$ac_cv_func__isnanl" = x""yes; then :
31176 cat >>confdefs.h <<_ACEOF
31177 #define HAVE__ISNANL 1
31178 _ACEOF
31179
31180 fi
31181 done
31182
31183 fi
31184 fi
31185
31186
31187
31188
31189
31190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31191 $as_echo_n "checking for isinfl declaration... " >&6; }
31192 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31193 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31194 $as_echo_n "(cached) " >&6
31195 else
31196
31197
31198 ac_ext=cpp
31199 ac_cpp='$CXXCPP $CPPFLAGS'
31200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31203
31204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31205 /* end confdefs.h. */
31206 #include <math.h>
31207 #ifdef HAVE_IEEEFP_H
31208 #include <ieeefp.h>
31209 #endif
31210
31211 int
31212 main ()
31213 {
31214 isinfl(0);
31215 ;
31216 return 0;
31217 }
31218 _ACEOF
31219 if ac_fn_cxx_try_compile "$LINENO"; then :
31220 glibcxx_cv_func_isinfl_use=yes
31221 else
31222 glibcxx_cv_func_isinfl_use=no
31223 fi
31224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31225 ac_ext=c
31226 ac_cpp='$CPP $CPPFLAGS'
31227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31230
31231
31232 fi
31233
31234 fi
31235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31236 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31237
31238 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31239 for ac_func in isinfl
31240 do :
31241 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31242 if test "x$ac_cv_func_isinfl" = x""yes; then :
31243 cat >>confdefs.h <<_ACEOF
31244 #define HAVE_ISINFL 1
31245 _ACEOF
31246
31247 fi
31248 done
31249
31250 else
31251
31252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31253 $as_echo_n "checking for _isinfl declaration... " >&6; }
31254 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31255 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31256 $as_echo_n "(cached) " >&6
31257 else
31258
31259
31260 ac_ext=cpp
31261 ac_cpp='$CXXCPP $CPPFLAGS'
31262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31265
31266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31267 /* end confdefs.h. */
31268 #include <math.h>
31269 #ifdef HAVE_IEEEFP_H
31270 #include <ieeefp.h>
31271 #endif
31272
31273 int
31274 main ()
31275 {
31276 _isinfl(0);
31277 ;
31278 return 0;
31279 }
31280 _ACEOF
31281 if ac_fn_cxx_try_compile "$LINENO"; then :
31282 glibcxx_cv_func__isinfl_use=yes
31283 else
31284 glibcxx_cv_func__isinfl_use=no
31285 fi
31286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31287 ac_ext=c
31288 ac_cpp='$CPP $CPPFLAGS'
31289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31292
31293
31294 fi
31295
31296 fi
31297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31298 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31299
31300 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31301 for ac_func in _isinfl
31302 do :
31303 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31304 if test "x$ac_cv_func__isinfl" = x""yes; then :
31305 cat >>confdefs.h <<_ACEOF
31306 #define HAVE__ISINFL 1
31307 _ACEOF
31308
31309 fi
31310 done
31311
31312 fi
31313 fi
31314
31315
31316
31317
31318
31319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31320 $as_echo_n "checking for atan2l declaration... " >&6; }
31321 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31322 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31323 $as_echo_n "(cached) " >&6
31324 else
31325
31326
31327 ac_ext=cpp
31328 ac_cpp='$CXXCPP $CPPFLAGS'
31329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31332
31333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31334 /* end confdefs.h. */
31335 #include <math.h>
31336 int
31337 main ()
31338 {
31339 atan2l(0, 0);
31340 ;
31341 return 0;
31342 }
31343 _ACEOF
31344 if ac_fn_cxx_try_compile "$LINENO"; then :
31345 glibcxx_cv_func_atan2l_use=yes
31346 else
31347 glibcxx_cv_func_atan2l_use=no
31348 fi
31349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31350 ac_ext=c
31351 ac_cpp='$CPP $CPPFLAGS'
31352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31355
31356
31357 fi
31358
31359 fi
31360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31361 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31362
31363 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31364 for ac_func in atan2l
31365 do :
31366 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31367 if test "x$ac_cv_func_atan2l" = x""yes; then :
31368 cat >>confdefs.h <<_ACEOF
31369 #define HAVE_ATAN2L 1
31370 _ACEOF
31371
31372 fi
31373 done
31374
31375 else
31376
31377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31378 $as_echo_n "checking for _atan2l declaration... " >&6; }
31379 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31380 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31381 $as_echo_n "(cached) " >&6
31382 else
31383
31384
31385 ac_ext=cpp
31386 ac_cpp='$CXXCPP $CPPFLAGS'
31387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31390
31391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31392 /* end confdefs.h. */
31393 #include <math.h>
31394 int
31395 main ()
31396 {
31397 _atan2l(0, 0);
31398 ;
31399 return 0;
31400 }
31401 _ACEOF
31402 if ac_fn_cxx_try_compile "$LINENO"; then :
31403 glibcxx_cv_func__atan2l_use=yes
31404 else
31405 glibcxx_cv_func__atan2l_use=no
31406 fi
31407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31408 ac_ext=c
31409 ac_cpp='$CPP $CPPFLAGS'
31410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31413
31414
31415 fi
31416
31417 fi
31418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31419 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31420
31421 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31422 for ac_func in _atan2l
31423 do :
31424 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31425 if test "x$ac_cv_func__atan2l" = x""yes; then :
31426 cat >>confdefs.h <<_ACEOF
31427 #define HAVE__ATAN2L 1
31428 _ACEOF
31429
31430 fi
31431 done
31432
31433 fi
31434 fi
31435
31436
31437
31438
31439
31440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31441 $as_echo_n "checking for expl declaration... " >&6; }
31442 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31443 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31444 $as_echo_n "(cached) " >&6
31445 else
31446
31447
31448 ac_ext=cpp
31449 ac_cpp='$CXXCPP $CPPFLAGS'
31450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31453
31454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31455 /* end confdefs.h. */
31456 #include <math.h>
31457 #ifdef HAVE_IEEEFP_H
31458 #include <ieeefp.h>
31459 #endif
31460
31461 int
31462 main ()
31463 {
31464 expl(0);
31465 ;
31466 return 0;
31467 }
31468 _ACEOF
31469 if ac_fn_cxx_try_compile "$LINENO"; then :
31470 glibcxx_cv_func_expl_use=yes
31471 else
31472 glibcxx_cv_func_expl_use=no
31473 fi
31474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31475 ac_ext=c
31476 ac_cpp='$CPP $CPPFLAGS'
31477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31480
31481
31482 fi
31483
31484 fi
31485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31486 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31487
31488 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31489 for ac_func in expl
31490 do :
31491 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31492 if test "x$ac_cv_func_expl" = x""yes; then :
31493 cat >>confdefs.h <<_ACEOF
31494 #define HAVE_EXPL 1
31495 _ACEOF
31496
31497 fi
31498 done
31499
31500 else
31501
31502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31503 $as_echo_n "checking for _expl declaration... " >&6; }
31504 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31505 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31506 $as_echo_n "(cached) " >&6
31507 else
31508
31509
31510 ac_ext=cpp
31511 ac_cpp='$CXXCPP $CPPFLAGS'
31512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31515
31516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31517 /* end confdefs.h. */
31518 #include <math.h>
31519 #ifdef HAVE_IEEEFP_H
31520 #include <ieeefp.h>
31521 #endif
31522
31523 int
31524 main ()
31525 {
31526 _expl(0);
31527 ;
31528 return 0;
31529 }
31530 _ACEOF
31531 if ac_fn_cxx_try_compile "$LINENO"; then :
31532 glibcxx_cv_func__expl_use=yes
31533 else
31534 glibcxx_cv_func__expl_use=no
31535 fi
31536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31537 ac_ext=c
31538 ac_cpp='$CPP $CPPFLAGS'
31539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31542
31543
31544 fi
31545
31546 fi
31547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31548 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31549
31550 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31551 for ac_func in _expl
31552 do :
31553 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31554 if test "x$ac_cv_func__expl" = x""yes; then :
31555 cat >>confdefs.h <<_ACEOF
31556 #define HAVE__EXPL 1
31557 _ACEOF
31558
31559 fi
31560 done
31561
31562 fi
31563 fi
31564
31565
31566
31567
31568
31569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31570 $as_echo_n "checking for fabsl declaration... " >&6; }
31571 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31572 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31573 $as_echo_n "(cached) " >&6
31574 else
31575
31576
31577 ac_ext=cpp
31578 ac_cpp='$CXXCPP $CPPFLAGS'
31579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31582
31583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31584 /* end confdefs.h. */
31585 #include <math.h>
31586 #ifdef HAVE_IEEEFP_H
31587 #include <ieeefp.h>
31588 #endif
31589
31590 int
31591 main ()
31592 {
31593 fabsl(0);
31594 ;
31595 return 0;
31596 }
31597 _ACEOF
31598 if ac_fn_cxx_try_compile "$LINENO"; then :
31599 glibcxx_cv_func_fabsl_use=yes
31600 else
31601 glibcxx_cv_func_fabsl_use=no
31602 fi
31603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31604 ac_ext=c
31605 ac_cpp='$CPP $CPPFLAGS'
31606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31609
31610
31611 fi
31612
31613 fi
31614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31615 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31616
31617 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31618 for ac_func in fabsl
31619 do :
31620 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31621 if test "x$ac_cv_func_fabsl" = x""yes; then :
31622 cat >>confdefs.h <<_ACEOF
31623 #define HAVE_FABSL 1
31624 _ACEOF
31625
31626 fi
31627 done
31628
31629 else
31630
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31632 $as_echo_n "checking for _fabsl declaration... " >&6; }
31633 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31634 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31635 $as_echo_n "(cached) " >&6
31636 else
31637
31638
31639 ac_ext=cpp
31640 ac_cpp='$CXXCPP $CPPFLAGS'
31641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31644
31645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31646 /* end confdefs.h. */
31647 #include <math.h>
31648 #ifdef HAVE_IEEEFP_H
31649 #include <ieeefp.h>
31650 #endif
31651
31652 int
31653 main ()
31654 {
31655 _fabsl(0);
31656 ;
31657 return 0;
31658 }
31659 _ACEOF
31660 if ac_fn_cxx_try_compile "$LINENO"; then :
31661 glibcxx_cv_func__fabsl_use=yes
31662 else
31663 glibcxx_cv_func__fabsl_use=no
31664 fi
31665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31666 ac_ext=c
31667 ac_cpp='$CPP $CPPFLAGS'
31668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31671
31672
31673 fi
31674
31675 fi
31676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31677 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31678
31679 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31680 for ac_func in _fabsl
31681 do :
31682 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31683 if test "x$ac_cv_func__fabsl" = x""yes; then :
31684 cat >>confdefs.h <<_ACEOF
31685 #define HAVE__FABSL 1
31686 _ACEOF
31687
31688 fi
31689 done
31690
31691 fi
31692 fi
31693
31694
31695
31696
31697
31698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31699 $as_echo_n "checking for fmodl declaration... " >&6; }
31700 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31701 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31702 $as_echo_n "(cached) " >&6
31703 else
31704
31705
31706 ac_ext=cpp
31707 ac_cpp='$CXXCPP $CPPFLAGS'
31708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31711
31712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31713 /* end confdefs.h. */
31714 #include <math.h>
31715 int
31716 main ()
31717 {
31718 fmodl(0, 0);
31719 ;
31720 return 0;
31721 }
31722 _ACEOF
31723 if ac_fn_cxx_try_compile "$LINENO"; then :
31724 glibcxx_cv_func_fmodl_use=yes
31725 else
31726 glibcxx_cv_func_fmodl_use=no
31727 fi
31728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31729 ac_ext=c
31730 ac_cpp='$CPP $CPPFLAGS'
31731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31734
31735
31736 fi
31737
31738 fi
31739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31740 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31741
31742 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31743 for ac_func in fmodl
31744 do :
31745 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31746 if test "x$ac_cv_func_fmodl" = x""yes; then :
31747 cat >>confdefs.h <<_ACEOF
31748 #define HAVE_FMODL 1
31749 _ACEOF
31750
31751 fi
31752 done
31753
31754 else
31755
31756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31757 $as_echo_n "checking for _fmodl declaration... " >&6; }
31758 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31759 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31760 $as_echo_n "(cached) " >&6
31761 else
31762
31763
31764 ac_ext=cpp
31765 ac_cpp='$CXXCPP $CPPFLAGS'
31766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31769
31770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31771 /* end confdefs.h. */
31772 #include <math.h>
31773 int
31774 main ()
31775 {
31776 _fmodl(0, 0);
31777 ;
31778 return 0;
31779 }
31780 _ACEOF
31781 if ac_fn_cxx_try_compile "$LINENO"; then :
31782 glibcxx_cv_func__fmodl_use=yes
31783 else
31784 glibcxx_cv_func__fmodl_use=no
31785 fi
31786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31787 ac_ext=c
31788 ac_cpp='$CPP $CPPFLAGS'
31789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31792
31793
31794 fi
31795
31796 fi
31797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31798 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31799
31800 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31801 for ac_func in _fmodl
31802 do :
31803 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31804 if test "x$ac_cv_func__fmodl" = x""yes; then :
31805 cat >>confdefs.h <<_ACEOF
31806 #define HAVE__FMODL 1
31807 _ACEOF
31808
31809 fi
31810 done
31811
31812 fi
31813 fi
31814
31815
31816
31817
31818
31819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31820 $as_echo_n "checking for frexpl declaration... " >&6; }
31821 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31822 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31823 $as_echo_n "(cached) " >&6
31824 else
31825
31826
31827 ac_ext=cpp
31828 ac_cpp='$CXXCPP $CPPFLAGS'
31829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31832
31833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31834 /* end confdefs.h. */
31835 #include <math.h>
31836 int
31837 main ()
31838 {
31839 frexpl(0, 0);
31840 ;
31841 return 0;
31842 }
31843 _ACEOF
31844 if ac_fn_cxx_try_compile "$LINENO"; then :
31845 glibcxx_cv_func_frexpl_use=yes
31846 else
31847 glibcxx_cv_func_frexpl_use=no
31848 fi
31849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31850 ac_ext=c
31851 ac_cpp='$CPP $CPPFLAGS'
31852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31855
31856
31857 fi
31858
31859 fi
31860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31861 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31862
31863 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31864 for ac_func in frexpl
31865 do :
31866 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31867 if test "x$ac_cv_func_frexpl" = x""yes; then :
31868 cat >>confdefs.h <<_ACEOF
31869 #define HAVE_FREXPL 1
31870 _ACEOF
31871
31872 fi
31873 done
31874
31875 else
31876
31877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31878 $as_echo_n "checking for _frexpl declaration... " >&6; }
31879 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31880 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31881 $as_echo_n "(cached) " >&6
31882 else
31883
31884
31885 ac_ext=cpp
31886 ac_cpp='$CXXCPP $CPPFLAGS'
31887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31890
31891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31892 /* end confdefs.h. */
31893 #include <math.h>
31894 int
31895 main ()
31896 {
31897 _frexpl(0, 0);
31898 ;
31899 return 0;
31900 }
31901 _ACEOF
31902 if ac_fn_cxx_try_compile "$LINENO"; then :
31903 glibcxx_cv_func__frexpl_use=yes
31904 else
31905 glibcxx_cv_func__frexpl_use=no
31906 fi
31907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31908 ac_ext=c
31909 ac_cpp='$CPP $CPPFLAGS'
31910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31913
31914
31915 fi
31916
31917 fi
31918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31919 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31920
31921 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31922 for ac_func in _frexpl
31923 do :
31924 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31925 if test "x$ac_cv_func__frexpl" = x""yes; then :
31926 cat >>confdefs.h <<_ACEOF
31927 #define HAVE__FREXPL 1
31928 _ACEOF
31929
31930 fi
31931 done
31932
31933 fi
31934 fi
31935
31936
31937
31938
31939
31940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31941 $as_echo_n "checking for hypotl declaration... " >&6; }
31942 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31943 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31944 $as_echo_n "(cached) " >&6
31945 else
31946
31947
31948 ac_ext=cpp
31949 ac_cpp='$CXXCPP $CPPFLAGS'
31950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31953
31954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31955 /* end confdefs.h. */
31956 #include <math.h>
31957 int
31958 main ()
31959 {
31960 hypotl(0, 0);
31961 ;
31962 return 0;
31963 }
31964 _ACEOF
31965 if ac_fn_cxx_try_compile "$LINENO"; then :
31966 glibcxx_cv_func_hypotl_use=yes
31967 else
31968 glibcxx_cv_func_hypotl_use=no
31969 fi
31970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31971 ac_ext=c
31972 ac_cpp='$CPP $CPPFLAGS'
31973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31976
31977
31978 fi
31979
31980 fi
31981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31982 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31983
31984 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31985 for ac_func in hypotl
31986 do :
31987 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31988 if test "x$ac_cv_func_hypotl" = x""yes; then :
31989 cat >>confdefs.h <<_ACEOF
31990 #define HAVE_HYPOTL 1
31991 _ACEOF
31992
31993 fi
31994 done
31995
31996 else
31997
31998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31999 $as_echo_n "checking for _hypotl declaration... " >&6; }
32000 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32001 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32002 $as_echo_n "(cached) " >&6
32003 else
32004
32005
32006 ac_ext=cpp
32007 ac_cpp='$CXXCPP $CPPFLAGS'
32008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32011
32012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32013 /* end confdefs.h. */
32014 #include <math.h>
32015 int
32016 main ()
32017 {
32018 _hypotl(0, 0);
32019 ;
32020 return 0;
32021 }
32022 _ACEOF
32023 if ac_fn_cxx_try_compile "$LINENO"; then :
32024 glibcxx_cv_func__hypotl_use=yes
32025 else
32026 glibcxx_cv_func__hypotl_use=no
32027 fi
32028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32029 ac_ext=c
32030 ac_cpp='$CPP $CPPFLAGS'
32031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32034
32035
32036 fi
32037
32038 fi
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32040 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32041
32042 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32043 for ac_func in _hypotl
32044 do :
32045 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32046 if test "x$ac_cv_func__hypotl" = x""yes; then :
32047 cat >>confdefs.h <<_ACEOF
32048 #define HAVE__HYPOTL 1
32049 _ACEOF
32050
32051 fi
32052 done
32053
32054 fi
32055 fi
32056
32057
32058
32059
32060
32061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32062 $as_echo_n "checking for ldexpl declaration... " >&6; }
32063 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32064 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32065 $as_echo_n "(cached) " >&6
32066 else
32067
32068
32069 ac_ext=cpp
32070 ac_cpp='$CXXCPP $CPPFLAGS'
32071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32074
32075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32076 /* end confdefs.h. */
32077 #include <math.h>
32078 int
32079 main ()
32080 {
32081 ldexpl(0, 0);
32082 ;
32083 return 0;
32084 }
32085 _ACEOF
32086 if ac_fn_cxx_try_compile "$LINENO"; then :
32087 glibcxx_cv_func_ldexpl_use=yes
32088 else
32089 glibcxx_cv_func_ldexpl_use=no
32090 fi
32091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32092 ac_ext=c
32093 ac_cpp='$CPP $CPPFLAGS'
32094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32097
32098
32099 fi
32100
32101 fi
32102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32103 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32104
32105 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32106 for ac_func in ldexpl
32107 do :
32108 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32109 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32110 cat >>confdefs.h <<_ACEOF
32111 #define HAVE_LDEXPL 1
32112 _ACEOF
32113
32114 fi
32115 done
32116
32117 else
32118
32119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32120 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32121 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32122 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32123 $as_echo_n "(cached) " >&6
32124 else
32125
32126
32127 ac_ext=cpp
32128 ac_cpp='$CXXCPP $CPPFLAGS'
32129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32132
32133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32134 /* end confdefs.h. */
32135 #include <math.h>
32136 int
32137 main ()
32138 {
32139 _ldexpl(0, 0);
32140 ;
32141 return 0;
32142 }
32143 _ACEOF
32144 if ac_fn_cxx_try_compile "$LINENO"; then :
32145 glibcxx_cv_func__ldexpl_use=yes
32146 else
32147 glibcxx_cv_func__ldexpl_use=no
32148 fi
32149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32150 ac_ext=c
32151 ac_cpp='$CPP $CPPFLAGS'
32152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32155
32156
32157 fi
32158
32159 fi
32160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32161 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32162
32163 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32164 for ac_func in _ldexpl
32165 do :
32166 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32167 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32168 cat >>confdefs.h <<_ACEOF
32169 #define HAVE__LDEXPL 1
32170 _ACEOF
32171
32172 fi
32173 done
32174
32175 fi
32176 fi
32177
32178
32179
32180
32181
32182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32183 $as_echo_n "checking for logl declaration... " >&6; }
32184 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32185 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32186 $as_echo_n "(cached) " >&6
32187 else
32188
32189
32190 ac_ext=cpp
32191 ac_cpp='$CXXCPP $CPPFLAGS'
32192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32195
32196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32197 /* end confdefs.h. */
32198 #include <math.h>
32199 #ifdef HAVE_IEEEFP_H
32200 #include <ieeefp.h>
32201 #endif
32202
32203 int
32204 main ()
32205 {
32206 logl(0);
32207 ;
32208 return 0;
32209 }
32210 _ACEOF
32211 if ac_fn_cxx_try_compile "$LINENO"; then :
32212 glibcxx_cv_func_logl_use=yes
32213 else
32214 glibcxx_cv_func_logl_use=no
32215 fi
32216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32217 ac_ext=c
32218 ac_cpp='$CPP $CPPFLAGS'
32219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32222
32223
32224 fi
32225
32226 fi
32227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32228 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32229
32230 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32231 for ac_func in logl
32232 do :
32233 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32234 if test "x$ac_cv_func_logl" = x""yes; then :
32235 cat >>confdefs.h <<_ACEOF
32236 #define HAVE_LOGL 1
32237 _ACEOF
32238
32239 fi
32240 done
32241
32242 else
32243
32244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32245 $as_echo_n "checking for _logl declaration... " >&6; }
32246 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32247 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32248 $as_echo_n "(cached) " >&6
32249 else
32250
32251
32252 ac_ext=cpp
32253 ac_cpp='$CXXCPP $CPPFLAGS'
32254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32257
32258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32259 /* end confdefs.h. */
32260 #include <math.h>
32261 #ifdef HAVE_IEEEFP_H
32262 #include <ieeefp.h>
32263 #endif
32264
32265 int
32266 main ()
32267 {
32268 _logl(0);
32269 ;
32270 return 0;
32271 }
32272 _ACEOF
32273 if ac_fn_cxx_try_compile "$LINENO"; then :
32274 glibcxx_cv_func__logl_use=yes
32275 else
32276 glibcxx_cv_func__logl_use=no
32277 fi
32278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32279 ac_ext=c
32280 ac_cpp='$CPP $CPPFLAGS'
32281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32284
32285
32286 fi
32287
32288 fi
32289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32290 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32291
32292 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32293 for ac_func in _logl
32294 do :
32295 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32296 if test "x$ac_cv_func__logl" = x""yes; then :
32297 cat >>confdefs.h <<_ACEOF
32298 #define HAVE__LOGL 1
32299 _ACEOF
32300
32301 fi
32302 done
32303
32304 fi
32305 fi
32306
32307
32308
32309
32310
32311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32312 $as_echo_n "checking for log10l declaration... " >&6; }
32313 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32314 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32315 $as_echo_n "(cached) " >&6
32316 else
32317
32318
32319 ac_ext=cpp
32320 ac_cpp='$CXXCPP $CPPFLAGS'
32321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32324
32325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32326 /* end confdefs.h. */
32327 #include <math.h>
32328 #ifdef HAVE_IEEEFP_H
32329 #include <ieeefp.h>
32330 #endif
32331
32332 int
32333 main ()
32334 {
32335 log10l(0);
32336 ;
32337 return 0;
32338 }
32339 _ACEOF
32340 if ac_fn_cxx_try_compile "$LINENO"; then :
32341 glibcxx_cv_func_log10l_use=yes
32342 else
32343 glibcxx_cv_func_log10l_use=no
32344 fi
32345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32346 ac_ext=c
32347 ac_cpp='$CPP $CPPFLAGS'
32348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32351
32352
32353 fi
32354
32355 fi
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32357 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32358
32359 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32360 for ac_func in log10l
32361 do :
32362 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32363 if test "x$ac_cv_func_log10l" = x""yes; then :
32364 cat >>confdefs.h <<_ACEOF
32365 #define HAVE_LOG10L 1
32366 _ACEOF
32367
32368 fi
32369 done
32370
32371 else
32372
32373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32374 $as_echo_n "checking for _log10l declaration... " >&6; }
32375 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32376 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32377 $as_echo_n "(cached) " >&6
32378 else
32379
32380
32381 ac_ext=cpp
32382 ac_cpp='$CXXCPP $CPPFLAGS'
32383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32386
32387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32388 /* end confdefs.h. */
32389 #include <math.h>
32390 #ifdef HAVE_IEEEFP_H
32391 #include <ieeefp.h>
32392 #endif
32393
32394 int
32395 main ()
32396 {
32397 _log10l(0);
32398 ;
32399 return 0;
32400 }
32401 _ACEOF
32402 if ac_fn_cxx_try_compile "$LINENO"; then :
32403 glibcxx_cv_func__log10l_use=yes
32404 else
32405 glibcxx_cv_func__log10l_use=no
32406 fi
32407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32408 ac_ext=c
32409 ac_cpp='$CPP $CPPFLAGS'
32410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32413
32414
32415 fi
32416
32417 fi
32418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32419 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32420
32421 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32422 for ac_func in _log10l
32423 do :
32424 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32425 if test "x$ac_cv_func__log10l" = x""yes; then :
32426 cat >>confdefs.h <<_ACEOF
32427 #define HAVE__LOG10L 1
32428 _ACEOF
32429
32430 fi
32431 done
32432
32433 fi
32434 fi
32435
32436
32437
32438
32439
32440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32441 $as_echo_n "checking for modfl declaration... " >&6; }
32442 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32443 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32444 $as_echo_n "(cached) " >&6
32445 else
32446
32447
32448 ac_ext=cpp
32449 ac_cpp='$CXXCPP $CPPFLAGS'
32450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32453
32454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32455 /* end confdefs.h. */
32456 #include <math.h>
32457 int
32458 main ()
32459 {
32460 modfl(0, 0);
32461 ;
32462 return 0;
32463 }
32464 _ACEOF
32465 if ac_fn_cxx_try_compile "$LINENO"; then :
32466 glibcxx_cv_func_modfl_use=yes
32467 else
32468 glibcxx_cv_func_modfl_use=no
32469 fi
32470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32471 ac_ext=c
32472 ac_cpp='$CPP $CPPFLAGS'
32473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32476
32477
32478 fi
32479
32480 fi
32481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32482 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32483
32484 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32485 for ac_func in modfl
32486 do :
32487 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32488 if test "x$ac_cv_func_modfl" = x""yes; then :
32489 cat >>confdefs.h <<_ACEOF
32490 #define HAVE_MODFL 1
32491 _ACEOF
32492
32493 fi
32494 done
32495
32496 else
32497
32498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32499 $as_echo_n "checking for _modfl declaration... " >&6; }
32500 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32501 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32502 $as_echo_n "(cached) " >&6
32503 else
32504
32505
32506 ac_ext=cpp
32507 ac_cpp='$CXXCPP $CPPFLAGS'
32508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32511
32512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32513 /* end confdefs.h. */
32514 #include <math.h>
32515 int
32516 main ()
32517 {
32518 _modfl(0, 0);
32519 ;
32520 return 0;
32521 }
32522 _ACEOF
32523 if ac_fn_cxx_try_compile "$LINENO"; then :
32524 glibcxx_cv_func__modfl_use=yes
32525 else
32526 glibcxx_cv_func__modfl_use=no
32527 fi
32528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32529 ac_ext=c
32530 ac_cpp='$CPP $CPPFLAGS'
32531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32534
32535
32536 fi
32537
32538 fi
32539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32540 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32541
32542 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32543 for ac_func in _modfl
32544 do :
32545 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32546 if test "x$ac_cv_func__modfl" = x""yes; then :
32547 cat >>confdefs.h <<_ACEOF
32548 #define HAVE__MODFL 1
32549 _ACEOF
32550
32551 fi
32552 done
32553
32554 fi
32555 fi
32556
32557
32558
32559
32560
32561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32562 $as_echo_n "checking for powl declaration... " >&6; }
32563 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32564 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32565 $as_echo_n "(cached) " >&6
32566 else
32567
32568
32569 ac_ext=cpp
32570 ac_cpp='$CXXCPP $CPPFLAGS'
32571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32574
32575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32576 /* end confdefs.h. */
32577 #include <math.h>
32578 int
32579 main ()
32580 {
32581 powl(0, 0);
32582 ;
32583 return 0;
32584 }
32585 _ACEOF
32586 if ac_fn_cxx_try_compile "$LINENO"; then :
32587 glibcxx_cv_func_powl_use=yes
32588 else
32589 glibcxx_cv_func_powl_use=no
32590 fi
32591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32592 ac_ext=c
32593 ac_cpp='$CPP $CPPFLAGS'
32594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32597
32598
32599 fi
32600
32601 fi
32602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32603 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32604
32605 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32606 for ac_func in powl
32607 do :
32608 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32609 if test "x$ac_cv_func_powl" = x""yes; then :
32610 cat >>confdefs.h <<_ACEOF
32611 #define HAVE_POWL 1
32612 _ACEOF
32613
32614 fi
32615 done
32616
32617 else
32618
32619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32620 $as_echo_n "checking for _powl declaration... " >&6; }
32621 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32622 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32623 $as_echo_n "(cached) " >&6
32624 else
32625
32626
32627 ac_ext=cpp
32628 ac_cpp='$CXXCPP $CPPFLAGS'
32629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32632
32633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32634 /* end confdefs.h. */
32635 #include <math.h>
32636 int
32637 main ()
32638 {
32639 _powl(0, 0);
32640 ;
32641 return 0;
32642 }
32643 _ACEOF
32644 if ac_fn_cxx_try_compile "$LINENO"; then :
32645 glibcxx_cv_func__powl_use=yes
32646 else
32647 glibcxx_cv_func__powl_use=no
32648 fi
32649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32650 ac_ext=c
32651 ac_cpp='$CPP $CPPFLAGS'
32652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32655
32656
32657 fi
32658
32659 fi
32660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32661 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32662
32663 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32664 for ac_func in _powl
32665 do :
32666 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32667 if test "x$ac_cv_func__powl" = x""yes; then :
32668 cat >>confdefs.h <<_ACEOF
32669 #define HAVE__POWL 1
32670 _ACEOF
32671
32672 fi
32673 done
32674
32675 fi
32676 fi
32677
32678
32679
32680
32681
32682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32683 $as_echo_n "checking for sqrtl declaration... " >&6; }
32684 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32685 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32686 $as_echo_n "(cached) " >&6
32687 else
32688
32689
32690 ac_ext=cpp
32691 ac_cpp='$CXXCPP $CPPFLAGS'
32692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32695
32696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32697 /* end confdefs.h. */
32698 #include <math.h>
32699 #ifdef HAVE_IEEEFP_H
32700 #include <ieeefp.h>
32701 #endif
32702
32703 int
32704 main ()
32705 {
32706 sqrtl(0);
32707 ;
32708 return 0;
32709 }
32710 _ACEOF
32711 if ac_fn_cxx_try_compile "$LINENO"; then :
32712 glibcxx_cv_func_sqrtl_use=yes
32713 else
32714 glibcxx_cv_func_sqrtl_use=no
32715 fi
32716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32717 ac_ext=c
32718 ac_cpp='$CPP $CPPFLAGS'
32719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32722
32723
32724 fi
32725
32726 fi
32727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32728 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32729
32730 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32731 for ac_func in sqrtl
32732 do :
32733 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32734 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32735 cat >>confdefs.h <<_ACEOF
32736 #define HAVE_SQRTL 1
32737 _ACEOF
32738
32739 fi
32740 done
32741
32742 else
32743
32744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32745 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32746 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32747 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32748 $as_echo_n "(cached) " >&6
32749 else
32750
32751
32752 ac_ext=cpp
32753 ac_cpp='$CXXCPP $CPPFLAGS'
32754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32757
32758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32759 /* end confdefs.h. */
32760 #include <math.h>
32761 #ifdef HAVE_IEEEFP_H
32762 #include <ieeefp.h>
32763 #endif
32764
32765 int
32766 main ()
32767 {
32768 _sqrtl(0);
32769 ;
32770 return 0;
32771 }
32772 _ACEOF
32773 if ac_fn_cxx_try_compile "$LINENO"; then :
32774 glibcxx_cv_func__sqrtl_use=yes
32775 else
32776 glibcxx_cv_func__sqrtl_use=no
32777 fi
32778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32779 ac_ext=c
32780 ac_cpp='$CPP $CPPFLAGS'
32781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32784
32785
32786 fi
32787
32788 fi
32789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32790 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32791
32792 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32793 for ac_func in _sqrtl
32794 do :
32795 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32796 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32797 cat >>confdefs.h <<_ACEOF
32798 #define HAVE__SQRTL 1
32799 _ACEOF
32800
32801 fi
32802 done
32803
32804 fi
32805 fi
32806
32807
32808
32809
32810
32811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32812 $as_echo_n "checking for sincosl declaration... " >&6; }
32813 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32814 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32815 $as_echo_n "(cached) " >&6
32816 else
32817
32818
32819 ac_ext=cpp
32820 ac_cpp='$CXXCPP $CPPFLAGS'
32821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32824
32825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32826 /* end confdefs.h. */
32827 #include <math.h>
32828 int
32829 main ()
32830 {
32831 sincosl(0, 0, 0);
32832 ;
32833 return 0;
32834 }
32835 _ACEOF
32836 if ac_fn_cxx_try_compile "$LINENO"; then :
32837 glibcxx_cv_func_sincosl_use=yes
32838 else
32839 glibcxx_cv_func_sincosl_use=no
32840 fi
32841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32842 ac_ext=c
32843 ac_cpp='$CPP $CPPFLAGS'
32844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32847
32848
32849 fi
32850
32851 fi
32852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32853 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32854
32855 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32856 for ac_func in sincosl
32857 do :
32858 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32859 if test "x$ac_cv_func_sincosl" = x""yes; then :
32860 cat >>confdefs.h <<_ACEOF
32861 #define HAVE_SINCOSL 1
32862 _ACEOF
32863
32864 fi
32865 done
32866
32867 else
32868
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32870 $as_echo_n "checking for _sincosl declaration... " >&6; }
32871 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32872 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32873 $as_echo_n "(cached) " >&6
32874 else
32875
32876
32877 ac_ext=cpp
32878 ac_cpp='$CXXCPP $CPPFLAGS'
32879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32882
32883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32884 /* end confdefs.h. */
32885 #include <math.h>
32886 int
32887 main ()
32888 {
32889 _sincosl(0, 0, 0);
32890 ;
32891 return 0;
32892 }
32893 _ACEOF
32894 if ac_fn_cxx_try_compile "$LINENO"; then :
32895 glibcxx_cv_func__sincosl_use=yes
32896 else
32897 glibcxx_cv_func__sincosl_use=no
32898 fi
32899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32900 ac_ext=c
32901 ac_cpp='$CPP $CPPFLAGS'
32902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32905
32906
32907 fi
32908
32909 fi
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32911 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32912
32913 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32914 for ac_func in _sincosl
32915 do :
32916 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32917 if test "x$ac_cv_func__sincosl" = x""yes; then :
32918 cat >>confdefs.h <<_ACEOF
32919 #define HAVE__SINCOSL 1
32920 _ACEOF
32921
32922 fi
32923 done
32924
32925 fi
32926 fi
32927
32928
32929
32930
32931
32932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32933 $as_echo_n "checking for finitel declaration... " >&6; }
32934 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32935 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32936 $as_echo_n "(cached) " >&6
32937 else
32938
32939
32940 ac_ext=cpp
32941 ac_cpp='$CXXCPP $CPPFLAGS'
32942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32945
32946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32947 /* end confdefs.h. */
32948 #include <math.h>
32949 #ifdef HAVE_IEEEFP_H
32950 #include <ieeefp.h>
32951 #endif
32952
32953 int
32954 main ()
32955 {
32956 finitel(0);
32957 ;
32958 return 0;
32959 }
32960 _ACEOF
32961 if ac_fn_cxx_try_compile "$LINENO"; then :
32962 glibcxx_cv_func_finitel_use=yes
32963 else
32964 glibcxx_cv_func_finitel_use=no
32965 fi
32966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32967 ac_ext=c
32968 ac_cpp='$CPP $CPPFLAGS'
32969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32972
32973
32974 fi
32975
32976 fi
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32978 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32979
32980 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32981 for ac_func in finitel
32982 do :
32983 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32984 if test "x$ac_cv_func_finitel" = x""yes; then :
32985 cat >>confdefs.h <<_ACEOF
32986 #define HAVE_FINITEL 1
32987 _ACEOF
32988
32989 fi
32990 done
32991
32992 else
32993
32994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32995 $as_echo_n "checking for _finitel declaration... " >&6; }
32996 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32997 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32998 $as_echo_n "(cached) " >&6
32999 else
33000
33001
33002 ac_ext=cpp
33003 ac_cpp='$CXXCPP $CPPFLAGS'
33004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33007
33008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33009 /* end confdefs.h. */
33010 #include <math.h>
33011 #ifdef HAVE_IEEEFP_H
33012 #include <ieeefp.h>
33013 #endif
33014
33015 int
33016 main ()
33017 {
33018 _finitel(0);
33019 ;
33020 return 0;
33021 }
33022 _ACEOF
33023 if ac_fn_cxx_try_compile "$LINENO"; then :
33024 glibcxx_cv_func__finitel_use=yes
33025 else
33026 glibcxx_cv_func__finitel_use=no
33027 fi
33028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33029 ac_ext=c
33030 ac_cpp='$CPP $CPPFLAGS'
33031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33034
33035
33036 fi
33037
33038 fi
33039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33040 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33041
33042 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33043 for ac_func in _finitel
33044 do :
33045 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33046 if test "x$ac_cv_func__finitel" = x""yes; then :
33047 cat >>confdefs.h <<_ACEOF
33048 #define HAVE__FINITEL 1
33049 _ACEOF
33050
33051 fi
33052 done
33053
33054 fi
33055 fi
33056
33057
33058
33059
33060 LIBS="$ac_save_LIBS"
33061 CXXFLAGS="$ac_save_CXXFLAGS"
33062
33063
33064 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33065 ac_save_CXXFLAGS="$CXXFLAGS"
33066 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33067
33068
33069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33070 $as_echo_n "checking for strtold declaration... " >&6; }
33071 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33072 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33073 $as_echo_n "(cached) " >&6
33074 else
33075
33076
33077 ac_ext=cpp
33078 ac_cpp='$CXXCPP $CPPFLAGS'
33079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33082
33083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33084 /* end confdefs.h. */
33085 #include <stdlib.h>
33086 int
33087 main ()
33088 {
33089 strtold(0, 0);
33090 ;
33091 return 0;
33092 }
33093 _ACEOF
33094 if ac_fn_cxx_try_compile "$LINENO"; then :
33095 glibcxx_cv_func_strtold_use=yes
33096 else
33097 glibcxx_cv_func_strtold_use=no
33098 fi
33099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33100 ac_ext=c
33101 ac_cpp='$CPP $CPPFLAGS'
33102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33105
33106
33107 fi
33108
33109 fi
33110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33111 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33112 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33113 for ac_func in strtold
33114 do :
33115 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33116 if test "x$ac_cv_func_strtold" = x""yes; then :
33117 cat >>confdefs.h <<_ACEOF
33118 #define HAVE_STRTOLD 1
33119 _ACEOF
33120
33121 fi
33122 done
33123
33124 fi
33125
33126
33127
33128
33129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33130 $as_echo_n "checking for strtof declaration... " >&6; }
33131 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33132 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33133 $as_echo_n "(cached) " >&6
33134 else
33135
33136
33137 ac_ext=cpp
33138 ac_cpp='$CXXCPP $CPPFLAGS'
33139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33142
33143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33144 /* end confdefs.h. */
33145 #include <stdlib.h>
33146 int
33147 main ()
33148 {
33149 strtof(0, 0);
33150 ;
33151 return 0;
33152 }
33153 _ACEOF
33154 if ac_fn_cxx_try_compile "$LINENO"; then :
33155 glibcxx_cv_func_strtof_use=yes
33156 else
33157 glibcxx_cv_func_strtof_use=no
33158 fi
33159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33160 ac_ext=c
33161 ac_cpp='$CPP $CPPFLAGS'
33162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33165
33166
33167 fi
33168
33169 fi
33170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33171 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33172 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33173 for ac_func in strtof
33174 do :
33175 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33176 if test "x$ac_cv_func_strtof" = x""yes; then :
33177 cat >>confdefs.h <<_ACEOF
33178 #define HAVE_STRTOF 1
33179 _ACEOF
33180
33181 fi
33182 done
33183
33184 fi
33185
33186
33187
33188
33189 CXXFLAGS="$ac_save_CXXFLAGS"
33190
33191
33192 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33193
33194 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33195
33196 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33197
33198 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33199
33200
33201 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33202
33203 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33204
33205 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33206
33207 ;;
33208
33209 *-aix*)
33210
33211 # If we're not using GNU ld, then there's no point in even trying these
33212 # tests. Check for that first. We should have already tested for gld
33213 # by now (in libtool), but require it now just to be safe...
33214 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33215 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33216
33217
33218
33219 # The name set by libtool depends on the version of libtool. Shame on us
33220 # for depending on an impl detail, but c'est la vie. Older versions used
33221 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33222 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33223 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33224 # set (hence we're using an older libtool), then set it.
33225 if test x${with_gnu_ld+set} != xset; then
33226 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33227 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33228 with_gnu_ld=no
33229 else
33230 with_gnu_ld=$ac_cv_prog_gnu_ld
33231 fi
33232 fi
33233
33234 # Start by getting the version number. I think the libtool test already
33235 # does some of this, but throws away the result.
33236 glibcxx_ld_is_gold=no
33237 if test x"$with_gnu_ld" = x"yes"; then
33238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33239 $as_echo_n "checking for ld version... " >&6; }
33240
33241 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33242 glibcxx_ld_is_gold=yes
33243 fi
33244 ldver=`$LD --version 2>/dev/null |
33245 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'`
33246
33247 glibcxx_gnu_ld_version=`echo $ldver | \
33248 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33250 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33251 fi
33252
33253 # Set --gc-sections.
33254 glibcxx_have_gc_sections=no
33255 if test "$glibcxx_ld_is_gold" = "yes"; then
33256 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33257 glibcxx_have_gc_sections=yes
33258 fi
33259 else
33260 glibcxx_gcsections_min_ld=21602
33261 if test x"$with_gnu_ld" = x"yes" &&
33262 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33263 glibcxx_have_gc_sections=yes
33264 fi
33265 fi
33266 if test "$glibcxx_have_gc_sections" = "yes"; then
33267 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33268 # NB: This flag only works reliably after 2.16.1. Configure tests
33269 # for this are difficult, so hard wire a value that should work.
33270
33271 ac_test_CFLAGS="${CFLAGS+set}"
33272 ac_save_CFLAGS="$CFLAGS"
33273 CFLAGS='-Wl,--gc-sections'
33274
33275 # Check for -Wl,--gc-sections
33276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33277 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33278 if test x$gcc_no_link = xyes; then
33279 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33280 fi
33281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282 /* end confdefs.h. */
33283 int one(void) { return 1; }
33284 int two(void) { return 2; }
33285
33286 int
33287 main ()
33288 {
33289 two();
33290 ;
33291 return 0;
33292 }
33293 _ACEOF
33294 if ac_fn_c_try_link "$LINENO"; then :
33295 ac_gcsections=yes
33296 else
33297 ac_gcsections=no
33298 fi
33299 rm -f core conftest.err conftest.$ac_objext \
33300 conftest$ac_exeext conftest.$ac_ext
33301 if test "$ac_gcsections" = "yes"; then
33302 rm -f conftest.c
33303 touch conftest.c
33304 if $CC -c conftest.c; then
33305 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33306 grep "Warning: gc-sections option ignored" > /dev/null; then
33307 ac_gcsections=no
33308 fi
33309 fi
33310 rm -f conftest.c conftest.o conftest
33311 fi
33312 if test "$ac_gcsections" = "yes"; then
33313 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33314 fi
33315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33316 $as_echo "$ac_gcsections" >&6; }
33317
33318 if test "$ac_test_CFLAGS" = set; then
33319 CFLAGS="$ac_save_CFLAGS"
33320 else
33321 # this is the suspicious part
33322 CFLAGS=''
33323 fi
33324 fi
33325
33326 # Set -z,relro.
33327 # Note this is only for shared objects.
33328 ac_ld_relro=no
33329 if test x"$with_gnu_ld" = x"yes"; then
33330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33331 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33332 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33333 if test -n "$cxx_z_relo"; then
33334 OPT_LDFLAGS="-Wl,-z,relro"
33335 ac_ld_relro=yes
33336 fi
33337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33338 $as_echo "$ac_ld_relro" >&6; }
33339 fi
33340
33341 # Set linker optimization flags.
33342 if test x"$with_gnu_ld" = x"yes"; then
33343 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33344 fi
33345
33346
33347
33348
33349
33350 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33351 ac_save_CXXFLAGS="$CXXFLAGS"
33352 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33353
33354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33355 $as_echo_n "checking for sin in -lm... " >&6; }
33356 if test "${ac_cv_lib_m_sin+set}" = set; then :
33357 $as_echo_n "(cached) " >&6
33358 else
33359 ac_check_lib_save_LIBS=$LIBS
33360 LIBS="-lm $LIBS"
33361 if test x$gcc_no_link = xyes; then
33362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33363 fi
33364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33365 /* end confdefs.h. */
33366
33367 /* Override any GCC internal prototype to avoid an error.
33368 Use char because int might match the return type of a GCC
33369 builtin and then its argument prototype would still apply. */
33370 #ifdef __cplusplus
33371 extern "C"
33372 #endif
33373 char sin ();
33374 int
33375 main ()
33376 {
33377 return sin ();
33378 ;
33379 return 0;
33380 }
33381 _ACEOF
33382 if ac_fn_c_try_link "$LINENO"; then :
33383 ac_cv_lib_m_sin=yes
33384 else
33385 ac_cv_lib_m_sin=no
33386 fi
33387 rm -f core conftest.err conftest.$ac_objext \
33388 conftest$ac_exeext conftest.$ac_ext
33389 LIBS=$ac_check_lib_save_LIBS
33390 fi
33391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33392 $as_echo "$ac_cv_lib_m_sin" >&6; }
33393 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33394 libm="-lm"
33395 fi
33396
33397 ac_save_LIBS="$LIBS"
33398 LIBS="$LIBS $libm"
33399
33400
33401
33402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33403 $as_echo_n "checking for isinf declaration... " >&6; }
33404 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33405 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33406 $as_echo_n "(cached) " >&6
33407 else
33408
33409
33410 ac_ext=cpp
33411 ac_cpp='$CXXCPP $CPPFLAGS'
33412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33415
33416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33417 /* end confdefs.h. */
33418 #include <math.h>
33419 #ifdef HAVE_IEEEFP_H
33420 #include <ieeefp.h>
33421 #endif
33422
33423 int
33424 main ()
33425 {
33426 isinf(0);
33427 ;
33428 return 0;
33429 }
33430 _ACEOF
33431 if ac_fn_cxx_try_compile "$LINENO"; then :
33432 glibcxx_cv_func_isinf_use=yes
33433 else
33434 glibcxx_cv_func_isinf_use=no
33435 fi
33436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33437 ac_ext=c
33438 ac_cpp='$CPP $CPPFLAGS'
33439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33442
33443
33444 fi
33445
33446 fi
33447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33448 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33449
33450 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33451 for ac_func in isinf
33452 do :
33453 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33454 if test "x$ac_cv_func_isinf" = x""yes; then :
33455 cat >>confdefs.h <<_ACEOF
33456 #define HAVE_ISINF 1
33457 _ACEOF
33458
33459 fi
33460 done
33461
33462 else
33463
33464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33465 $as_echo_n "checking for _isinf declaration... " >&6; }
33466 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33467 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33468 $as_echo_n "(cached) " >&6
33469 else
33470
33471
33472 ac_ext=cpp
33473 ac_cpp='$CXXCPP $CPPFLAGS'
33474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33477
33478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33479 /* end confdefs.h. */
33480 #include <math.h>
33481 #ifdef HAVE_IEEEFP_H
33482 #include <ieeefp.h>
33483 #endif
33484
33485 int
33486 main ()
33487 {
33488 _isinf(0);
33489 ;
33490 return 0;
33491 }
33492 _ACEOF
33493 if ac_fn_cxx_try_compile "$LINENO"; then :
33494 glibcxx_cv_func__isinf_use=yes
33495 else
33496 glibcxx_cv_func__isinf_use=no
33497 fi
33498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33499 ac_ext=c
33500 ac_cpp='$CPP $CPPFLAGS'
33501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33504
33505
33506 fi
33507
33508 fi
33509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33510 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33511
33512 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33513 for ac_func in _isinf
33514 do :
33515 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33516 if test "x$ac_cv_func__isinf" = x""yes; then :
33517 cat >>confdefs.h <<_ACEOF
33518 #define HAVE__ISINF 1
33519 _ACEOF
33520
33521 fi
33522 done
33523
33524 fi
33525 fi
33526
33527
33528
33529
33530
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33532 $as_echo_n "checking for isnan declaration... " >&6; }
33533 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33534 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33535 $as_echo_n "(cached) " >&6
33536 else
33537
33538
33539 ac_ext=cpp
33540 ac_cpp='$CXXCPP $CPPFLAGS'
33541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33544
33545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33546 /* end confdefs.h. */
33547 #include <math.h>
33548 #ifdef HAVE_IEEEFP_H
33549 #include <ieeefp.h>
33550 #endif
33551
33552 int
33553 main ()
33554 {
33555 isnan(0);
33556 ;
33557 return 0;
33558 }
33559 _ACEOF
33560 if ac_fn_cxx_try_compile "$LINENO"; then :
33561 glibcxx_cv_func_isnan_use=yes
33562 else
33563 glibcxx_cv_func_isnan_use=no
33564 fi
33565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33566 ac_ext=c
33567 ac_cpp='$CPP $CPPFLAGS'
33568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33571
33572
33573 fi
33574
33575 fi
33576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33577 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33578
33579 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33580 for ac_func in isnan
33581 do :
33582 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33583 if test "x$ac_cv_func_isnan" = x""yes; then :
33584 cat >>confdefs.h <<_ACEOF
33585 #define HAVE_ISNAN 1
33586 _ACEOF
33587
33588 fi
33589 done
33590
33591 else
33592
33593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33594 $as_echo_n "checking for _isnan declaration... " >&6; }
33595 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33596 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33597 $as_echo_n "(cached) " >&6
33598 else
33599
33600
33601 ac_ext=cpp
33602 ac_cpp='$CXXCPP $CPPFLAGS'
33603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33606
33607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33608 /* end confdefs.h. */
33609 #include <math.h>
33610 #ifdef HAVE_IEEEFP_H
33611 #include <ieeefp.h>
33612 #endif
33613
33614 int
33615 main ()
33616 {
33617 _isnan(0);
33618 ;
33619 return 0;
33620 }
33621 _ACEOF
33622 if ac_fn_cxx_try_compile "$LINENO"; then :
33623 glibcxx_cv_func__isnan_use=yes
33624 else
33625 glibcxx_cv_func__isnan_use=no
33626 fi
33627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33628 ac_ext=c
33629 ac_cpp='$CPP $CPPFLAGS'
33630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33633
33634
33635 fi
33636
33637 fi
33638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33639 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33640
33641 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33642 for ac_func in _isnan
33643 do :
33644 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33645 if test "x$ac_cv_func__isnan" = x""yes; then :
33646 cat >>confdefs.h <<_ACEOF
33647 #define HAVE__ISNAN 1
33648 _ACEOF
33649
33650 fi
33651 done
33652
33653 fi
33654 fi
33655
33656
33657
33658
33659
33660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33661 $as_echo_n "checking for finite declaration... " >&6; }
33662 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33663 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33664 $as_echo_n "(cached) " >&6
33665 else
33666
33667
33668 ac_ext=cpp
33669 ac_cpp='$CXXCPP $CPPFLAGS'
33670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33673
33674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33675 /* end confdefs.h. */
33676 #include <math.h>
33677 #ifdef HAVE_IEEEFP_H
33678 #include <ieeefp.h>
33679 #endif
33680
33681 int
33682 main ()
33683 {
33684 finite(0);
33685 ;
33686 return 0;
33687 }
33688 _ACEOF
33689 if ac_fn_cxx_try_compile "$LINENO"; then :
33690 glibcxx_cv_func_finite_use=yes
33691 else
33692 glibcxx_cv_func_finite_use=no
33693 fi
33694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33695 ac_ext=c
33696 ac_cpp='$CPP $CPPFLAGS'
33697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33700
33701
33702 fi
33703
33704 fi
33705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33706 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33707
33708 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33709 for ac_func in finite
33710 do :
33711 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33712 if test "x$ac_cv_func_finite" = x""yes; then :
33713 cat >>confdefs.h <<_ACEOF
33714 #define HAVE_FINITE 1
33715 _ACEOF
33716
33717 fi
33718 done
33719
33720 else
33721
33722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33723 $as_echo_n "checking for _finite declaration... " >&6; }
33724 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33725 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33726 $as_echo_n "(cached) " >&6
33727 else
33728
33729
33730 ac_ext=cpp
33731 ac_cpp='$CXXCPP $CPPFLAGS'
33732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33735
33736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33737 /* end confdefs.h. */
33738 #include <math.h>
33739 #ifdef HAVE_IEEEFP_H
33740 #include <ieeefp.h>
33741 #endif
33742
33743 int
33744 main ()
33745 {
33746 _finite(0);
33747 ;
33748 return 0;
33749 }
33750 _ACEOF
33751 if ac_fn_cxx_try_compile "$LINENO"; then :
33752 glibcxx_cv_func__finite_use=yes
33753 else
33754 glibcxx_cv_func__finite_use=no
33755 fi
33756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33757 ac_ext=c
33758 ac_cpp='$CPP $CPPFLAGS'
33759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33762
33763
33764 fi
33765
33766 fi
33767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33768 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33769
33770 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33771 for ac_func in _finite
33772 do :
33773 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33774 if test "x$ac_cv_func__finite" = x""yes; then :
33775 cat >>confdefs.h <<_ACEOF
33776 #define HAVE__FINITE 1
33777 _ACEOF
33778
33779 fi
33780 done
33781
33782 fi
33783 fi
33784
33785
33786
33787
33788
33789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33790 $as_echo_n "checking for sincos declaration... " >&6; }
33791 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33792 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33793 $as_echo_n "(cached) " >&6
33794 else
33795
33796
33797 ac_ext=cpp
33798 ac_cpp='$CXXCPP $CPPFLAGS'
33799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33802
33803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33804 /* end confdefs.h. */
33805 #include <math.h>
33806 int
33807 main ()
33808 {
33809 sincos(0, 0, 0);
33810 ;
33811 return 0;
33812 }
33813 _ACEOF
33814 if ac_fn_cxx_try_compile "$LINENO"; then :
33815 glibcxx_cv_func_sincos_use=yes
33816 else
33817 glibcxx_cv_func_sincos_use=no
33818 fi
33819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33820 ac_ext=c
33821 ac_cpp='$CPP $CPPFLAGS'
33822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33825
33826
33827 fi
33828
33829 fi
33830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33831 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33832
33833 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33834 for ac_func in sincos
33835 do :
33836 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33837 if test "x$ac_cv_func_sincos" = x""yes; then :
33838 cat >>confdefs.h <<_ACEOF
33839 #define HAVE_SINCOS 1
33840 _ACEOF
33841
33842 fi
33843 done
33844
33845 else
33846
33847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33848 $as_echo_n "checking for _sincos declaration... " >&6; }
33849 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33850 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33851 $as_echo_n "(cached) " >&6
33852 else
33853
33854
33855 ac_ext=cpp
33856 ac_cpp='$CXXCPP $CPPFLAGS'
33857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33860
33861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33862 /* end confdefs.h. */
33863 #include <math.h>
33864 int
33865 main ()
33866 {
33867 _sincos(0, 0, 0);
33868 ;
33869 return 0;
33870 }
33871 _ACEOF
33872 if ac_fn_cxx_try_compile "$LINENO"; then :
33873 glibcxx_cv_func__sincos_use=yes
33874 else
33875 glibcxx_cv_func__sincos_use=no
33876 fi
33877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33878 ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33883
33884
33885 fi
33886
33887 fi
33888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33889 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33890
33891 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33892 for ac_func in _sincos
33893 do :
33894 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33895 if test "x$ac_cv_func__sincos" = x""yes; then :
33896 cat >>confdefs.h <<_ACEOF
33897 #define HAVE__SINCOS 1
33898 _ACEOF
33899
33900 fi
33901 done
33902
33903 fi
33904 fi
33905
33906
33907
33908
33909
33910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33911 $as_echo_n "checking for fpclass declaration... " >&6; }
33912 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33913 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33914 $as_echo_n "(cached) " >&6
33915 else
33916
33917
33918 ac_ext=cpp
33919 ac_cpp='$CXXCPP $CPPFLAGS'
33920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33923
33924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33925 /* end confdefs.h. */
33926 #include <math.h>
33927 #ifdef HAVE_IEEEFP_H
33928 #include <ieeefp.h>
33929 #endif
33930
33931 int
33932 main ()
33933 {
33934 fpclass(0);
33935 ;
33936 return 0;
33937 }
33938 _ACEOF
33939 if ac_fn_cxx_try_compile "$LINENO"; then :
33940 glibcxx_cv_func_fpclass_use=yes
33941 else
33942 glibcxx_cv_func_fpclass_use=no
33943 fi
33944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33945 ac_ext=c
33946 ac_cpp='$CPP $CPPFLAGS'
33947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33950
33951
33952 fi
33953
33954 fi
33955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33956 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33957
33958 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33959 for ac_func in fpclass
33960 do :
33961 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33962 if test "x$ac_cv_func_fpclass" = x""yes; then :
33963 cat >>confdefs.h <<_ACEOF
33964 #define HAVE_FPCLASS 1
33965 _ACEOF
33966
33967 fi
33968 done
33969
33970 else
33971
33972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33973 $as_echo_n "checking for _fpclass declaration... " >&6; }
33974 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33975 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33976 $as_echo_n "(cached) " >&6
33977 else
33978
33979
33980 ac_ext=cpp
33981 ac_cpp='$CXXCPP $CPPFLAGS'
33982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33985
33986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33987 /* end confdefs.h. */
33988 #include <math.h>
33989 #ifdef HAVE_IEEEFP_H
33990 #include <ieeefp.h>
33991 #endif
33992
33993 int
33994 main ()
33995 {
33996 _fpclass(0);
33997 ;
33998 return 0;
33999 }
34000 _ACEOF
34001 if ac_fn_cxx_try_compile "$LINENO"; then :
34002 glibcxx_cv_func__fpclass_use=yes
34003 else
34004 glibcxx_cv_func__fpclass_use=no
34005 fi
34006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34007 ac_ext=c
34008 ac_cpp='$CPP $CPPFLAGS'
34009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34012
34013
34014 fi
34015
34016 fi
34017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34018 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34019
34020 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34021 for ac_func in _fpclass
34022 do :
34023 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34024 if test "x$ac_cv_func__fpclass" = x""yes; then :
34025 cat >>confdefs.h <<_ACEOF
34026 #define HAVE__FPCLASS 1
34027 _ACEOF
34028
34029 fi
34030 done
34031
34032 fi
34033 fi
34034
34035
34036
34037
34038
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34040 $as_echo_n "checking for qfpclass declaration... " >&6; }
34041 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34042 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34043 $as_echo_n "(cached) " >&6
34044 else
34045
34046
34047 ac_ext=cpp
34048 ac_cpp='$CXXCPP $CPPFLAGS'
34049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34052
34053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34054 /* end confdefs.h. */
34055 #include <math.h>
34056 #ifdef HAVE_IEEEFP_H
34057 #include <ieeefp.h>
34058 #endif
34059
34060 int
34061 main ()
34062 {
34063 qfpclass(0);
34064 ;
34065 return 0;
34066 }
34067 _ACEOF
34068 if ac_fn_cxx_try_compile "$LINENO"; then :
34069 glibcxx_cv_func_qfpclass_use=yes
34070 else
34071 glibcxx_cv_func_qfpclass_use=no
34072 fi
34073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34074 ac_ext=c
34075 ac_cpp='$CPP $CPPFLAGS'
34076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34079
34080
34081 fi
34082
34083 fi
34084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34085 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34086
34087 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34088 for ac_func in qfpclass
34089 do :
34090 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34091 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34092 cat >>confdefs.h <<_ACEOF
34093 #define HAVE_QFPCLASS 1
34094 _ACEOF
34095
34096 fi
34097 done
34098
34099 else
34100
34101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34102 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34103 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34104 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34105 $as_echo_n "(cached) " >&6
34106 else
34107
34108
34109 ac_ext=cpp
34110 ac_cpp='$CXXCPP $CPPFLAGS'
34111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34114
34115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34116 /* end confdefs.h. */
34117 #include <math.h>
34118 #ifdef HAVE_IEEEFP_H
34119 #include <ieeefp.h>
34120 #endif
34121
34122 int
34123 main ()
34124 {
34125 _qfpclass(0);
34126 ;
34127 return 0;
34128 }
34129 _ACEOF
34130 if ac_fn_cxx_try_compile "$LINENO"; then :
34131 glibcxx_cv_func__qfpclass_use=yes
34132 else
34133 glibcxx_cv_func__qfpclass_use=no
34134 fi
34135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34136 ac_ext=c
34137 ac_cpp='$CPP $CPPFLAGS'
34138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34141
34142
34143 fi
34144
34145 fi
34146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34147 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34148
34149 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34150 for ac_func in _qfpclass
34151 do :
34152 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34153 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34154 cat >>confdefs.h <<_ACEOF
34155 #define HAVE__QFPCLASS 1
34156 _ACEOF
34157
34158 fi
34159 done
34160
34161 fi
34162 fi
34163
34164
34165
34166
34167
34168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34169 $as_echo_n "checking for hypot declaration... " >&6; }
34170 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34171 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34172 $as_echo_n "(cached) " >&6
34173 else
34174
34175
34176 ac_ext=cpp
34177 ac_cpp='$CXXCPP $CPPFLAGS'
34178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34181
34182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34183 /* end confdefs.h. */
34184 #include <math.h>
34185 int
34186 main ()
34187 {
34188 hypot(0, 0);
34189 ;
34190 return 0;
34191 }
34192 _ACEOF
34193 if ac_fn_cxx_try_compile "$LINENO"; then :
34194 glibcxx_cv_func_hypot_use=yes
34195 else
34196 glibcxx_cv_func_hypot_use=no
34197 fi
34198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34199 ac_ext=c
34200 ac_cpp='$CPP $CPPFLAGS'
34201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34204
34205
34206 fi
34207
34208 fi
34209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34210 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34211
34212 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34213 for ac_func in hypot
34214 do :
34215 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34216 if test "x$ac_cv_func_hypot" = x""yes; then :
34217 cat >>confdefs.h <<_ACEOF
34218 #define HAVE_HYPOT 1
34219 _ACEOF
34220
34221 fi
34222 done
34223
34224 else
34225
34226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34227 $as_echo_n "checking for _hypot declaration... " >&6; }
34228 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34229 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34230 $as_echo_n "(cached) " >&6
34231 else
34232
34233
34234 ac_ext=cpp
34235 ac_cpp='$CXXCPP $CPPFLAGS'
34236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34239
34240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34241 /* end confdefs.h. */
34242 #include <math.h>
34243 int
34244 main ()
34245 {
34246 _hypot(0, 0);
34247 ;
34248 return 0;
34249 }
34250 _ACEOF
34251 if ac_fn_cxx_try_compile "$LINENO"; then :
34252 glibcxx_cv_func__hypot_use=yes
34253 else
34254 glibcxx_cv_func__hypot_use=no
34255 fi
34256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34257 ac_ext=c
34258 ac_cpp='$CPP $CPPFLAGS'
34259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34262
34263
34264 fi
34265
34266 fi
34267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34268 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34269
34270 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34271 for ac_func in _hypot
34272 do :
34273 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34274 if test "x$ac_cv_func__hypot" = x""yes; then :
34275 cat >>confdefs.h <<_ACEOF
34276 #define HAVE__HYPOT 1
34277 _ACEOF
34278
34279 fi
34280 done
34281
34282 fi
34283 fi
34284
34285
34286
34287
34288
34289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34290 $as_echo_n "checking for float trig functions... " >&6; }
34291 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34292 $as_echo_n "(cached) " >&6
34293 else
34294
34295
34296 ac_ext=cpp
34297 ac_cpp='$CXXCPP $CPPFLAGS'
34298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34301
34302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34303 /* end confdefs.h. */
34304 #include <math.h>
34305 int
34306 main ()
34307 {
34308 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34309 ;
34310 return 0;
34311 }
34312 _ACEOF
34313 if ac_fn_cxx_try_compile "$LINENO"; then :
34314 glibcxx_cv_func_float_trig_use=yes
34315 else
34316 glibcxx_cv_func_float_trig_use=no
34317 fi
34318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34319 ac_ext=c
34320 ac_cpp='$CPP $CPPFLAGS'
34321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34324
34325 fi
34326
34327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34328 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34329 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34330 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34331 do :
34332 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34333 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34334 eval as_val=\$$as_ac_var
34335 if test "x$as_val" = x""yes; then :
34336 cat >>confdefs.h <<_ACEOF
34337 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34338 _ACEOF
34339
34340 fi
34341 done
34342
34343 else
34344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34345 $as_echo_n "checking for _float trig functions... " >&6; }
34346 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34347 $as_echo_n "(cached) " >&6
34348 else
34349
34350
34351 ac_ext=cpp
34352 ac_cpp='$CXXCPP $CPPFLAGS'
34353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34356
34357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34358 /* end confdefs.h. */
34359 #include <math.h>
34360 int
34361 main ()
34362 {
34363 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34364 ;
34365 return 0;
34366 }
34367 _ACEOF
34368 if ac_fn_cxx_try_compile "$LINENO"; then :
34369 glibcxx_cv_func__float_trig_use=yes
34370 else
34371 glibcxx_cv_func__float_trig_use=no
34372 fi
34373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34374 ac_ext=c
34375 ac_cpp='$CPP $CPPFLAGS'
34376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34379
34380 fi
34381
34382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34383 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34384 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34385 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34386 do :
34387 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34388 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34389 eval as_val=\$$as_ac_var
34390 if test "x$as_val" = x""yes; then :
34391 cat >>confdefs.h <<_ACEOF
34392 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34393 _ACEOF
34394
34395 fi
34396 done
34397
34398 fi
34399 fi
34400
34401
34402
34403
34404
34405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34406 $as_echo_n "checking for float round functions... " >&6; }
34407 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34408 $as_echo_n "(cached) " >&6
34409 else
34410
34411
34412 ac_ext=cpp
34413 ac_cpp='$CXXCPP $CPPFLAGS'
34414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34417
34418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34419 /* end confdefs.h. */
34420 #include <math.h>
34421 int
34422 main ()
34423 {
34424 ceilf (0); floorf (0);
34425 ;
34426 return 0;
34427 }
34428 _ACEOF
34429 if ac_fn_cxx_try_compile "$LINENO"; then :
34430 glibcxx_cv_func_float_round_use=yes
34431 else
34432 glibcxx_cv_func_float_round_use=no
34433 fi
34434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34435 ac_ext=c
34436 ac_cpp='$CPP $CPPFLAGS'
34437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34440
34441 fi
34442
34443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34444 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34445 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34446 for ac_func in ceilf floorf
34447 do :
34448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34450 eval as_val=\$$as_ac_var
34451 if test "x$as_val" = x""yes; then :
34452 cat >>confdefs.h <<_ACEOF
34453 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34454 _ACEOF
34455
34456 fi
34457 done
34458
34459 else
34460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34461 $as_echo_n "checking for _float round functions... " >&6; }
34462 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34463 $as_echo_n "(cached) " >&6
34464 else
34465
34466
34467 ac_ext=cpp
34468 ac_cpp='$CXXCPP $CPPFLAGS'
34469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34472
34473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34474 /* end confdefs.h. */
34475 #include <math.h>
34476 int
34477 main ()
34478 {
34479 _ceilf (0); _floorf (0);
34480 ;
34481 return 0;
34482 }
34483 _ACEOF
34484 if ac_fn_cxx_try_compile "$LINENO"; then :
34485 glibcxx_cv_func__float_round_use=yes
34486 else
34487 glibcxx_cv_func__float_round_use=no
34488 fi
34489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34490 ac_ext=c
34491 ac_cpp='$CPP $CPPFLAGS'
34492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34495
34496 fi
34497
34498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34499 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34500 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34501 for ac_func in _ceilf _floorf
34502 do :
34503 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34504 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34505 eval as_val=\$$as_ac_var
34506 if test "x$as_val" = x""yes; then :
34507 cat >>confdefs.h <<_ACEOF
34508 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34509 _ACEOF
34510
34511 fi
34512 done
34513
34514 fi
34515 fi
34516
34517
34518
34519
34520
34521
34522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34523 $as_echo_n "checking for expf declaration... " >&6; }
34524 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34525 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34526 $as_echo_n "(cached) " >&6
34527 else
34528
34529
34530 ac_ext=cpp
34531 ac_cpp='$CXXCPP $CPPFLAGS'
34532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34535
34536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34537 /* end confdefs.h. */
34538 #include <math.h>
34539 #ifdef HAVE_IEEEFP_H
34540 #include <ieeefp.h>
34541 #endif
34542
34543 int
34544 main ()
34545 {
34546 expf(0);
34547 ;
34548 return 0;
34549 }
34550 _ACEOF
34551 if ac_fn_cxx_try_compile "$LINENO"; then :
34552 glibcxx_cv_func_expf_use=yes
34553 else
34554 glibcxx_cv_func_expf_use=no
34555 fi
34556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34557 ac_ext=c
34558 ac_cpp='$CPP $CPPFLAGS'
34559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34562
34563
34564 fi
34565
34566 fi
34567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34568 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34569
34570 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34571 for ac_func in expf
34572 do :
34573 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34574 if test "x$ac_cv_func_expf" = x""yes; then :
34575 cat >>confdefs.h <<_ACEOF
34576 #define HAVE_EXPF 1
34577 _ACEOF
34578
34579 fi
34580 done
34581
34582 else
34583
34584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34585 $as_echo_n "checking for _expf declaration... " >&6; }
34586 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34587 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34588 $as_echo_n "(cached) " >&6
34589 else
34590
34591
34592 ac_ext=cpp
34593 ac_cpp='$CXXCPP $CPPFLAGS'
34594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34597
34598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34599 /* end confdefs.h. */
34600 #include <math.h>
34601 #ifdef HAVE_IEEEFP_H
34602 #include <ieeefp.h>
34603 #endif
34604
34605 int
34606 main ()
34607 {
34608 _expf(0);
34609 ;
34610 return 0;
34611 }
34612 _ACEOF
34613 if ac_fn_cxx_try_compile "$LINENO"; then :
34614 glibcxx_cv_func__expf_use=yes
34615 else
34616 glibcxx_cv_func__expf_use=no
34617 fi
34618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34619 ac_ext=c
34620 ac_cpp='$CPP $CPPFLAGS'
34621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34624
34625
34626 fi
34627
34628 fi
34629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34630 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34631
34632 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34633 for ac_func in _expf
34634 do :
34635 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34636 if test "x$ac_cv_func__expf" = x""yes; then :
34637 cat >>confdefs.h <<_ACEOF
34638 #define HAVE__EXPF 1
34639 _ACEOF
34640
34641 fi
34642 done
34643
34644 fi
34645 fi
34646
34647
34648
34649
34650
34651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34652 $as_echo_n "checking for isnanf declaration... " >&6; }
34653 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34654 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34655 $as_echo_n "(cached) " >&6
34656 else
34657
34658
34659 ac_ext=cpp
34660 ac_cpp='$CXXCPP $CPPFLAGS'
34661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34664
34665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34666 /* end confdefs.h. */
34667 #include <math.h>
34668 #ifdef HAVE_IEEEFP_H
34669 #include <ieeefp.h>
34670 #endif
34671
34672 int
34673 main ()
34674 {
34675 isnanf(0);
34676 ;
34677 return 0;
34678 }
34679 _ACEOF
34680 if ac_fn_cxx_try_compile "$LINENO"; then :
34681 glibcxx_cv_func_isnanf_use=yes
34682 else
34683 glibcxx_cv_func_isnanf_use=no
34684 fi
34685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34686 ac_ext=c
34687 ac_cpp='$CPP $CPPFLAGS'
34688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34691
34692
34693 fi
34694
34695 fi
34696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34697 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34698
34699 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34700 for ac_func in isnanf
34701 do :
34702 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34703 if test "x$ac_cv_func_isnanf" = x""yes; then :
34704 cat >>confdefs.h <<_ACEOF
34705 #define HAVE_ISNANF 1
34706 _ACEOF
34707
34708 fi
34709 done
34710
34711 else
34712
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34714 $as_echo_n "checking for _isnanf declaration... " >&6; }
34715 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34716 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34717 $as_echo_n "(cached) " >&6
34718 else
34719
34720
34721 ac_ext=cpp
34722 ac_cpp='$CXXCPP $CPPFLAGS'
34723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34726
34727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34728 /* end confdefs.h. */
34729 #include <math.h>
34730 #ifdef HAVE_IEEEFP_H
34731 #include <ieeefp.h>
34732 #endif
34733
34734 int
34735 main ()
34736 {
34737 _isnanf(0);
34738 ;
34739 return 0;
34740 }
34741 _ACEOF
34742 if ac_fn_cxx_try_compile "$LINENO"; then :
34743 glibcxx_cv_func__isnanf_use=yes
34744 else
34745 glibcxx_cv_func__isnanf_use=no
34746 fi
34747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34748 ac_ext=c
34749 ac_cpp='$CPP $CPPFLAGS'
34750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34753
34754
34755 fi
34756
34757 fi
34758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34759 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34760
34761 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34762 for ac_func in _isnanf
34763 do :
34764 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34765 if test "x$ac_cv_func__isnanf" = x""yes; then :
34766 cat >>confdefs.h <<_ACEOF
34767 #define HAVE__ISNANF 1
34768 _ACEOF
34769
34770 fi
34771 done
34772
34773 fi
34774 fi
34775
34776
34777
34778
34779
34780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34781 $as_echo_n "checking for isinff declaration... " >&6; }
34782 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34783 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34784 $as_echo_n "(cached) " >&6
34785 else
34786
34787
34788 ac_ext=cpp
34789 ac_cpp='$CXXCPP $CPPFLAGS'
34790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34793
34794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34795 /* end confdefs.h. */
34796 #include <math.h>
34797 #ifdef HAVE_IEEEFP_H
34798 #include <ieeefp.h>
34799 #endif
34800
34801 int
34802 main ()
34803 {
34804 isinff(0);
34805 ;
34806 return 0;
34807 }
34808 _ACEOF
34809 if ac_fn_cxx_try_compile "$LINENO"; then :
34810 glibcxx_cv_func_isinff_use=yes
34811 else
34812 glibcxx_cv_func_isinff_use=no
34813 fi
34814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34815 ac_ext=c
34816 ac_cpp='$CPP $CPPFLAGS'
34817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34820
34821
34822 fi
34823
34824 fi
34825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34826 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34827
34828 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34829 for ac_func in isinff
34830 do :
34831 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34832 if test "x$ac_cv_func_isinff" = x""yes; then :
34833 cat >>confdefs.h <<_ACEOF
34834 #define HAVE_ISINFF 1
34835 _ACEOF
34836
34837 fi
34838 done
34839
34840 else
34841
34842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34843 $as_echo_n "checking for _isinff declaration... " >&6; }
34844 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34845 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34846 $as_echo_n "(cached) " >&6
34847 else
34848
34849
34850 ac_ext=cpp
34851 ac_cpp='$CXXCPP $CPPFLAGS'
34852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34855
34856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34857 /* end confdefs.h. */
34858 #include <math.h>
34859 #ifdef HAVE_IEEEFP_H
34860 #include <ieeefp.h>
34861 #endif
34862
34863 int
34864 main ()
34865 {
34866 _isinff(0);
34867 ;
34868 return 0;
34869 }
34870 _ACEOF
34871 if ac_fn_cxx_try_compile "$LINENO"; then :
34872 glibcxx_cv_func__isinff_use=yes
34873 else
34874 glibcxx_cv_func__isinff_use=no
34875 fi
34876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34877 ac_ext=c
34878 ac_cpp='$CPP $CPPFLAGS'
34879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34882
34883
34884 fi
34885
34886 fi
34887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34888 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34889
34890 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34891 for ac_func in _isinff
34892 do :
34893 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34894 if test "x$ac_cv_func__isinff" = x""yes; then :
34895 cat >>confdefs.h <<_ACEOF
34896 #define HAVE__ISINFF 1
34897 _ACEOF
34898
34899 fi
34900 done
34901
34902 fi
34903 fi
34904
34905
34906
34907
34908
34909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34910 $as_echo_n "checking for atan2f declaration... " >&6; }
34911 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34912 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34913 $as_echo_n "(cached) " >&6
34914 else
34915
34916
34917 ac_ext=cpp
34918 ac_cpp='$CXXCPP $CPPFLAGS'
34919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34922
34923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34924 /* end confdefs.h. */
34925 #include <math.h>
34926 int
34927 main ()
34928 {
34929 atan2f(0, 0);
34930 ;
34931 return 0;
34932 }
34933 _ACEOF
34934 if ac_fn_cxx_try_compile "$LINENO"; then :
34935 glibcxx_cv_func_atan2f_use=yes
34936 else
34937 glibcxx_cv_func_atan2f_use=no
34938 fi
34939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34940 ac_ext=c
34941 ac_cpp='$CPP $CPPFLAGS'
34942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34945
34946
34947 fi
34948
34949 fi
34950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34951 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34952
34953 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34954 for ac_func in atan2f
34955 do :
34956 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34957 if test "x$ac_cv_func_atan2f" = x""yes; then :
34958 cat >>confdefs.h <<_ACEOF
34959 #define HAVE_ATAN2F 1
34960 _ACEOF
34961
34962 fi
34963 done
34964
34965 else
34966
34967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34968 $as_echo_n "checking for _atan2f declaration... " >&6; }
34969 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34970 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34971 $as_echo_n "(cached) " >&6
34972 else
34973
34974
34975 ac_ext=cpp
34976 ac_cpp='$CXXCPP $CPPFLAGS'
34977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34980
34981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34982 /* end confdefs.h. */
34983 #include <math.h>
34984 int
34985 main ()
34986 {
34987 _atan2f(0, 0);
34988 ;
34989 return 0;
34990 }
34991 _ACEOF
34992 if ac_fn_cxx_try_compile "$LINENO"; then :
34993 glibcxx_cv_func__atan2f_use=yes
34994 else
34995 glibcxx_cv_func__atan2f_use=no
34996 fi
34997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34998 ac_ext=c
34999 ac_cpp='$CPP $CPPFLAGS'
35000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35003
35004
35005 fi
35006
35007 fi
35008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35009 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35010
35011 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35012 for ac_func in _atan2f
35013 do :
35014 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35015 if test "x$ac_cv_func__atan2f" = x""yes; then :
35016 cat >>confdefs.h <<_ACEOF
35017 #define HAVE__ATAN2F 1
35018 _ACEOF
35019
35020 fi
35021 done
35022
35023 fi
35024 fi
35025
35026
35027
35028
35029
35030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35031 $as_echo_n "checking for fabsf declaration... " >&6; }
35032 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35033 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35034 $as_echo_n "(cached) " >&6
35035 else
35036
35037
35038 ac_ext=cpp
35039 ac_cpp='$CXXCPP $CPPFLAGS'
35040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35043
35044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35045 /* end confdefs.h. */
35046 #include <math.h>
35047 #ifdef HAVE_IEEEFP_H
35048 #include <ieeefp.h>
35049 #endif
35050
35051 int
35052 main ()
35053 {
35054 fabsf(0);
35055 ;
35056 return 0;
35057 }
35058 _ACEOF
35059 if ac_fn_cxx_try_compile "$LINENO"; then :
35060 glibcxx_cv_func_fabsf_use=yes
35061 else
35062 glibcxx_cv_func_fabsf_use=no
35063 fi
35064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35065 ac_ext=c
35066 ac_cpp='$CPP $CPPFLAGS'
35067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35070
35071
35072 fi
35073
35074 fi
35075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35076 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35077
35078 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35079 for ac_func in fabsf
35080 do :
35081 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35082 if test "x$ac_cv_func_fabsf" = x""yes; then :
35083 cat >>confdefs.h <<_ACEOF
35084 #define HAVE_FABSF 1
35085 _ACEOF
35086
35087 fi
35088 done
35089
35090 else
35091
35092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35093 $as_echo_n "checking for _fabsf declaration... " >&6; }
35094 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35095 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35096 $as_echo_n "(cached) " >&6
35097 else
35098
35099
35100 ac_ext=cpp
35101 ac_cpp='$CXXCPP $CPPFLAGS'
35102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35105
35106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35107 /* end confdefs.h. */
35108 #include <math.h>
35109 #ifdef HAVE_IEEEFP_H
35110 #include <ieeefp.h>
35111 #endif
35112
35113 int
35114 main ()
35115 {
35116 _fabsf(0);
35117 ;
35118 return 0;
35119 }
35120 _ACEOF
35121 if ac_fn_cxx_try_compile "$LINENO"; then :
35122 glibcxx_cv_func__fabsf_use=yes
35123 else
35124 glibcxx_cv_func__fabsf_use=no
35125 fi
35126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35127 ac_ext=c
35128 ac_cpp='$CPP $CPPFLAGS'
35129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35132
35133
35134 fi
35135
35136 fi
35137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35138 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35139
35140 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35141 for ac_func in _fabsf
35142 do :
35143 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35144 if test "x$ac_cv_func__fabsf" = x""yes; then :
35145 cat >>confdefs.h <<_ACEOF
35146 #define HAVE__FABSF 1
35147 _ACEOF
35148
35149 fi
35150 done
35151
35152 fi
35153 fi
35154
35155
35156
35157
35158
35159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35160 $as_echo_n "checking for fmodf declaration... " >&6; }
35161 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35162 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35163 $as_echo_n "(cached) " >&6
35164 else
35165
35166
35167 ac_ext=cpp
35168 ac_cpp='$CXXCPP $CPPFLAGS'
35169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35172
35173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35174 /* end confdefs.h. */
35175 #include <math.h>
35176 int
35177 main ()
35178 {
35179 fmodf(0, 0);
35180 ;
35181 return 0;
35182 }
35183 _ACEOF
35184 if ac_fn_cxx_try_compile "$LINENO"; then :
35185 glibcxx_cv_func_fmodf_use=yes
35186 else
35187 glibcxx_cv_func_fmodf_use=no
35188 fi
35189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35190 ac_ext=c
35191 ac_cpp='$CPP $CPPFLAGS'
35192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35195
35196
35197 fi
35198
35199 fi
35200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35201 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35202
35203 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35204 for ac_func in fmodf
35205 do :
35206 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35207 if test "x$ac_cv_func_fmodf" = x""yes; then :
35208 cat >>confdefs.h <<_ACEOF
35209 #define HAVE_FMODF 1
35210 _ACEOF
35211
35212 fi
35213 done
35214
35215 else
35216
35217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35218 $as_echo_n "checking for _fmodf declaration... " >&6; }
35219 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35220 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35221 $as_echo_n "(cached) " >&6
35222 else
35223
35224
35225 ac_ext=cpp
35226 ac_cpp='$CXXCPP $CPPFLAGS'
35227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35230
35231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35232 /* end confdefs.h. */
35233 #include <math.h>
35234 int
35235 main ()
35236 {
35237 _fmodf(0, 0);
35238 ;
35239 return 0;
35240 }
35241 _ACEOF
35242 if ac_fn_cxx_try_compile "$LINENO"; then :
35243 glibcxx_cv_func__fmodf_use=yes
35244 else
35245 glibcxx_cv_func__fmodf_use=no
35246 fi
35247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35248 ac_ext=c
35249 ac_cpp='$CPP $CPPFLAGS'
35250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35253
35254
35255 fi
35256
35257 fi
35258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35259 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35260
35261 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35262 for ac_func in _fmodf
35263 do :
35264 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35265 if test "x$ac_cv_func__fmodf" = x""yes; then :
35266 cat >>confdefs.h <<_ACEOF
35267 #define HAVE__FMODF 1
35268 _ACEOF
35269
35270 fi
35271 done
35272
35273 fi
35274 fi
35275
35276
35277
35278
35279
35280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35281 $as_echo_n "checking for frexpf declaration... " >&6; }
35282 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35283 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35284 $as_echo_n "(cached) " >&6
35285 else
35286
35287
35288 ac_ext=cpp
35289 ac_cpp='$CXXCPP $CPPFLAGS'
35290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35293
35294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35295 /* end confdefs.h. */
35296 #include <math.h>
35297 int
35298 main ()
35299 {
35300 frexpf(0, 0);
35301 ;
35302 return 0;
35303 }
35304 _ACEOF
35305 if ac_fn_cxx_try_compile "$LINENO"; then :
35306 glibcxx_cv_func_frexpf_use=yes
35307 else
35308 glibcxx_cv_func_frexpf_use=no
35309 fi
35310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35311 ac_ext=c
35312 ac_cpp='$CPP $CPPFLAGS'
35313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35316
35317
35318 fi
35319
35320 fi
35321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35322 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35323
35324 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35325 for ac_func in frexpf
35326 do :
35327 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35328 if test "x$ac_cv_func_frexpf" = x""yes; then :
35329 cat >>confdefs.h <<_ACEOF
35330 #define HAVE_FREXPF 1
35331 _ACEOF
35332
35333 fi
35334 done
35335
35336 else
35337
35338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35339 $as_echo_n "checking for _frexpf declaration... " >&6; }
35340 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35341 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35342 $as_echo_n "(cached) " >&6
35343 else
35344
35345
35346 ac_ext=cpp
35347 ac_cpp='$CXXCPP $CPPFLAGS'
35348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35351
35352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35353 /* end confdefs.h. */
35354 #include <math.h>
35355 int
35356 main ()
35357 {
35358 _frexpf(0, 0);
35359 ;
35360 return 0;
35361 }
35362 _ACEOF
35363 if ac_fn_cxx_try_compile "$LINENO"; then :
35364 glibcxx_cv_func__frexpf_use=yes
35365 else
35366 glibcxx_cv_func__frexpf_use=no
35367 fi
35368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35369 ac_ext=c
35370 ac_cpp='$CPP $CPPFLAGS'
35371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35374
35375
35376 fi
35377
35378 fi
35379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35380 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35381
35382 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35383 for ac_func in _frexpf
35384 do :
35385 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35386 if test "x$ac_cv_func__frexpf" = x""yes; then :
35387 cat >>confdefs.h <<_ACEOF
35388 #define HAVE__FREXPF 1
35389 _ACEOF
35390
35391 fi
35392 done
35393
35394 fi
35395 fi
35396
35397
35398
35399
35400
35401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35402 $as_echo_n "checking for hypotf declaration... " >&6; }
35403 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35404 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35405 $as_echo_n "(cached) " >&6
35406 else
35407
35408
35409 ac_ext=cpp
35410 ac_cpp='$CXXCPP $CPPFLAGS'
35411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35414
35415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35416 /* end confdefs.h. */
35417 #include <math.h>
35418 int
35419 main ()
35420 {
35421 hypotf(0, 0);
35422 ;
35423 return 0;
35424 }
35425 _ACEOF
35426 if ac_fn_cxx_try_compile "$LINENO"; then :
35427 glibcxx_cv_func_hypotf_use=yes
35428 else
35429 glibcxx_cv_func_hypotf_use=no
35430 fi
35431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35432 ac_ext=c
35433 ac_cpp='$CPP $CPPFLAGS'
35434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35437
35438
35439 fi
35440
35441 fi
35442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35443 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35444
35445 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35446 for ac_func in hypotf
35447 do :
35448 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35449 if test "x$ac_cv_func_hypotf" = x""yes; then :
35450 cat >>confdefs.h <<_ACEOF
35451 #define HAVE_HYPOTF 1
35452 _ACEOF
35453
35454 fi
35455 done
35456
35457 else
35458
35459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35460 $as_echo_n "checking for _hypotf declaration... " >&6; }
35461 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35462 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35463 $as_echo_n "(cached) " >&6
35464 else
35465
35466
35467 ac_ext=cpp
35468 ac_cpp='$CXXCPP $CPPFLAGS'
35469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35472
35473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35474 /* end confdefs.h. */
35475 #include <math.h>
35476 int
35477 main ()
35478 {
35479 _hypotf(0, 0);
35480 ;
35481 return 0;
35482 }
35483 _ACEOF
35484 if ac_fn_cxx_try_compile "$LINENO"; then :
35485 glibcxx_cv_func__hypotf_use=yes
35486 else
35487 glibcxx_cv_func__hypotf_use=no
35488 fi
35489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35490 ac_ext=c
35491 ac_cpp='$CPP $CPPFLAGS'
35492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35495
35496
35497 fi
35498
35499 fi
35500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35501 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35502
35503 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35504 for ac_func in _hypotf
35505 do :
35506 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35507 if test "x$ac_cv_func__hypotf" = x""yes; then :
35508 cat >>confdefs.h <<_ACEOF
35509 #define HAVE__HYPOTF 1
35510 _ACEOF
35511
35512 fi
35513 done
35514
35515 fi
35516 fi
35517
35518
35519
35520
35521
35522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35523 $as_echo_n "checking for ldexpf declaration... " >&6; }
35524 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35525 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35526 $as_echo_n "(cached) " >&6
35527 else
35528
35529
35530 ac_ext=cpp
35531 ac_cpp='$CXXCPP $CPPFLAGS'
35532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35535
35536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35537 /* end confdefs.h. */
35538 #include <math.h>
35539 int
35540 main ()
35541 {
35542 ldexpf(0, 0);
35543 ;
35544 return 0;
35545 }
35546 _ACEOF
35547 if ac_fn_cxx_try_compile "$LINENO"; then :
35548 glibcxx_cv_func_ldexpf_use=yes
35549 else
35550 glibcxx_cv_func_ldexpf_use=no
35551 fi
35552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35553 ac_ext=c
35554 ac_cpp='$CPP $CPPFLAGS'
35555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35558
35559
35560 fi
35561
35562 fi
35563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35564 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35565
35566 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35567 for ac_func in ldexpf
35568 do :
35569 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35570 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35571 cat >>confdefs.h <<_ACEOF
35572 #define HAVE_LDEXPF 1
35573 _ACEOF
35574
35575 fi
35576 done
35577
35578 else
35579
35580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35581 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35582 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35583 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35584 $as_echo_n "(cached) " >&6
35585 else
35586
35587
35588 ac_ext=cpp
35589 ac_cpp='$CXXCPP $CPPFLAGS'
35590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35593
35594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35595 /* end confdefs.h. */
35596 #include <math.h>
35597 int
35598 main ()
35599 {
35600 _ldexpf(0, 0);
35601 ;
35602 return 0;
35603 }
35604 _ACEOF
35605 if ac_fn_cxx_try_compile "$LINENO"; then :
35606 glibcxx_cv_func__ldexpf_use=yes
35607 else
35608 glibcxx_cv_func__ldexpf_use=no
35609 fi
35610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35611 ac_ext=c
35612 ac_cpp='$CPP $CPPFLAGS'
35613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35616
35617
35618 fi
35619
35620 fi
35621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35622 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35623
35624 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35625 for ac_func in _ldexpf
35626 do :
35627 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35628 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35629 cat >>confdefs.h <<_ACEOF
35630 #define HAVE__LDEXPF 1
35631 _ACEOF
35632
35633 fi
35634 done
35635
35636 fi
35637 fi
35638
35639
35640
35641
35642
35643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35644 $as_echo_n "checking for logf declaration... " >&6; }
35645 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35646 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35647 $as_echo_n "(cached) " >&6
35648 else
35649
35650
35651 ac_ext=cpp
35652 ac_cpp='$CXXCPP $CPPFLAGS'
35653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35656
35657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35658 /* end confdefs.h. */
35659 #include <math.h>
35660 #ifdef HAVE_IEEEFP_H
35661 #include <ieeefp.h>
35662 #endif
35663
35664 int
35665 main ()
35666 {
35667 logf(0);
35668 ;
35669 return 0;
35670 }
35671 _ACEOF
35672 if ac_fn_cxx_try_compile "$LINENO"; then :
35673 glibcxx_cv_func_logf_use=yes
35674 else
35675 glibcxx_cv_func_logf_use=no
35676 fi
35677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35678 ac_ext=c
35679 ac_cpp='$CPP $CPPFLAGS'
35680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35683
35684
35685 fi
35686
35687 fi
35688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35689 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35690
35691 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35692 for ac_func in logf
35693 do :
35694 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35695 if test "x$ac_cv_func_logf" = x""yes; then :
35696 cat >>confdefs.h <<_ACEOF
35697 #define HAVE_LOGF 1
35698 _ACEOF
35699
35700 fi
35701 done
35702
35703 else
35704
35705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35706 $as_echo_n "checking for _logf declaration... " >&6; }
35707 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35708 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35709 $as_echo_n "(cached) " >&6
35710 else
35711
35712
35713 ac_ext=cpp
35714 ac_cpp='$CXXCPP $CPPFLAGS'
35715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35718
35719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35720 /* end confdefs.h. */
35721 #include <math.h>
35722 #ifdef HAVE_IEEEFP_H
35723 #include <ieeefp.h>
35724 #endif
35725
35726 int
35727 main ()
35728 {
35729 _logf(0);
35730 ;
35731 return 0;
35732 }
35733 _ACEOF
35734 if ac_fn_cxx_try_compile "$LINENO"; then :
35735 glibcxx_cv_func__logf_use=yes
35736 else
35737 glibcxx_cv_func__logf_use=no
35738 fi
35739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35740 ac_ext=c
35741 ac_cpp='$CPP $CPPFLAGS'
35742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35745
35746
35747 fi
35748
35749 fi
35750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35751 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35752
35753 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35754 for ac_func in _logf
35755 do :
35756 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35757 if test "x$ac_cv_func__logf" = x""yes; then :
35758 cat >>confdefs.h <<_ACEOF
35759 #define HAVE__LOGF 1
35760 _ACEOF
35761
35762 fi
35763 done
35764
35765 fi
35766 fi
35767
35768
35769
35770
35771
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35773 $as_echo_n "checking for log10f declaration... " >&6; }
35774 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35775 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35776 $as_echo_n "(cached) " >&6
35777 else
35778
35779
35780 ac_ext=cpp
35781 ac_cpp='$CXXCPP $CPPFLAGS'
35782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35785
35786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35787 /* end confdefs.h. */
35788 #include <math.h>
35789 #ifdef HAVE_IEEEFP_H
35790 #include <ieeefp.h>
35791 #endif
35792
35793 int
35794 main ()
35795 {
35796 log10f(0);
35797 ;
35798 return 0;
35799 }
35800 _ACEOF
35801 if ac_fn_cxx_try_compile "$LINENO"; then :
35802 glibcxx_cv_func_log10f_use=yes
35803 else
35804 glibcxx_cv_func_log10f_use=no
35805 fi
35806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35807 ac_ext=c
35808 ac_cpp='$CPP $CPPFLAGS'
35809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35812
35813
35814 fi
35815
35816 fi
35817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35818 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35819
35820 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35821 for ac_func in log10f
35822 do :
35823 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35824 if test "x$ac_cv_func_log10f" = x""yes; then :
35825 cat >>confdefs.h <<_ACEOF
35826 #define HAVE_LOG10F 1
35827 _ACEOF
35828
35829 fi
35830 done
35831
35832 else
35833
35834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35835 $as_echo_n "checking for _log10f declaration... " >&6; }
35836 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35837 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35838 $as_echo_n "(cached) " >&6
35839 else
35840
35841
35842 ac_ext=cpp
35843 ac_cpp='$CXXCPP $CPPFLAGS'
35844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35847
35848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35849 /* end confdefs.h. */
35850 #include <math.h>
35851 #ifdef HAVE_IEEEFP_H
35852 #include <ieeefp.h>
35853 #endif
35854
35855 int
35856 main ()
35857 {
35858 _log10f(0);
35859 ;
35860 return 0;
35861 }
35862 _ACEOF
35863 if ac_fn_cxx_try_compile "$LINENO"; then :
35864 glibcxx_cv_func__log10f_use=yes
35865 else
35866 glibcxx_cv_func__log10f_use=no
35867 fi
35868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35869 ac_ext=c
35870 ac_cpp='$CPP $CPPFLAGS'
35871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35874
35875
35876 fi
35877
35878 fi
35879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35880 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35881
35882 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35883 for ac_func in _log10f
35884 do :
35885 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35886 if test "x$ac_cv_func__log10f" = x""yes; then :
35887 cat >>confdefs.h <<_ACEOF
35888 #define HAVE__LOG10F 1
35889 _ACEOF
35890
35891 fi
35892 done
35893
35894 fi
35895 fi
35896
35897
35898
35899
35900
35901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35902 $as_echo_n "checking for modff declaration... " >&6; }
35903 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35904 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35905 $as_echo_n "(cached) " >&6
35906 else
35907
35908
35909 ac_ext=cpp
35910 ac_cpp='$CXXCPP $CPPFLAGS'
35911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35914
35915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35916 /* end confdefs.h. */
35917 #include <math.h>
35918 int
35919 main ()
35920 {
35921 modff(0, 0);
35922 ;
35923 return 0;
35924 }
35925 _ACEOF
35926 if ac_fn_cxx_try_compile "$LINENO"; then :
35927 glibcxx_cv_func_modff_use=yes
35928 else
35929 glibcxx_cv_func_modff_use=no
35930 fi
35931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35932 ac_ext=c
35933 ac_cpp='$CPP $CPPFLAGS'
35934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35937
35938
35939 fi
35940
35941 fi
35942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35943 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35944
35945 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35946 for ac_func in modff
35947 do :
35948 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35949 if test "x$ac_cv_func_modff" = x""yes; then :
35950 cat >>confdefs.h <<_ACEOF
35951 #define HAVE_MODFF 1
35952 _ACEOF
35953
35954 fi
35955 done
35956
35957 else
35958
35959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35960 $as_echo_n "checking for _modff declaration... " >&6; }
35961 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35962 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35963 $as_echo_n "(cached) " >&6
35964 else
35965
35966
35967 ac_ext=cpp
35968 ac_cpp='$CXXCPP $CPPFLAGS'
35969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35972
35973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35974 /* end confdefs.h. */
35975 #include <math.h>
35976 int
35977 main ()
35978 {
35979 _modff(0, 0);
35980 ;
35981 return 0;
35982 }
35983 _ACEOF
35984 if ac_fn_cxx_try_compile "$LINENO"; then :
35985 glibcxx_cv_func__modff_use=yes
35986 else
35987 glibcxx_cv_func__modff_use=no
35988 fi
35989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35990 ac_ext=c
35991 ac_cpp='$CPP $CPPFLAGS'
35992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35995
35996
35997 fi
35998
35999 fi
36000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36001 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36002
36003 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36004 for ac_func in _modff
36005 do :
36006 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36007 if test "x$ac_cv_func__modff" = x""yes; then :
36008 cat >>confdefs.h <<_ACEOF
36009 #define HAVE__MODFF 1
36010 _ACEOF
36011
36012 fi
36013 done
36014
36015 fi
36016 fi
36017
36018
36019
36020
36021
36022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36023 $as_echo_n "checking for modf declaration... " >&6; }
36024 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36025 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36026 $as_echo_n "(cached) " >&6
36027 else
36028
36029
36030 ac_ext=cpp
36031 ac_cpp='$CXXCPP $CPPFLAGS'
36032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36035
36036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36037 /* end confdefs.h. */
36038 #include <math.h>
36039 int
36040 main ()
36041 {
36042 modf(0, 0);
36043 ;
36044 return 0;
36045 }
36046 _ACEOF
36047 if ac_fn_cxx_try_compile "$LINENO"; then :
36048 glibcxx_cv_func_modf_use=yes
36049 else
36050 glibcxx_cv_func_modf_use=no
36051 fi
36052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36053 ac_ext=c
36054 ac_cpp='$CPP $CPPFLAGS'
36055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36058
36059
36060 fi
36061
36062 fi
36063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36064 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36065
36066 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36067 for ac_func in modf
36068 do :
36069 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36070 if test "x$ac_cv_func_modf" = x""yes; then :
36071 cat >>confdefs.h <<_ACEOF
36072 #define HAVE_MODF 1
36073 _ACEOF
36074
36075 fi
36076 done
36077
36078 else
36079
36080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36081 $as_echo_n "checking for _modf declaration... " >&6; }
36082 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36083 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36084 $as_echo_n "(cached) " >&6
36085 else
36086
36087
36088 ac_ext=cpp
36089 ac_cpp='$CXXCPP $CPPFLAGS'
36090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36093
36094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36095 /* end confdefs.h. */
36096 #include <math.h>
36097 int
36098 main ()
36099 {
36100 _modf(0, 0);
36101 ;
36102 return 0;
36103 }
36104 _ACEOF
36105 if ac_fn_cxx_try_compile "$LINENO"; then :
36106 glibcxx_cv_func__modf_use=yes
36107 else
36108 glibcxx_cv_func__modf_use=no
36109 fi
36110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36111 ac_ext=c
36112 ac_cpp='$CPP $CPPFLAGS'
36113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36116
36117
36118 fi
36119
36120 fi
36121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36122 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36123
36124 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36125 for ac_func in _modf
36126 do :
36127 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36128 if test "x$ac_cv_func__modf" = x""yes; then :
36129 cat >>confdefs.h <<_ACEOF
36130 #define HAVE__MODF 1
36131 _ACEOF
36132
36133 fi
36134 done
36135
36136 fi
36137 fi
36138
36139
36140
36141
36142
36143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36144 $as_echo_n "checking for powf declaration... " >&6; }
36145 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36146 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36147 $as_echo_n "(cached) " >&6
36148 else
36149
36150
36151 ac_ext=cpp
36152 ac_cpp='$CXXCPP $CPPFLAGS'
36153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36156
36157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36158 /* end confdefs.h. */
36159 #include <math.h>
36160 int
36161 main ()
36162 {
36163 powf(0, 0);
36164 ;
36165 return 0;
36166 }
36167 _ACEOF
36168 if ac_fn_cxx_try_compile "$LINENO"; then :
36169 glibcxx_cv_func_powf_use=yes
36170 else
36171 glibcxx_cv_func_powf_use=no
36172 fi
36173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36174 ac_ext=c
36175 ac_cpp='$CPP $CPPFLAGS'
36176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36179
36180
36181 fi
36182
36183 fi
36184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36185 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36186
36187 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36188 for ac_func in powf
36189 do :
36190 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36191 if test "x$ac_cv_func_powf" = x""yes; then :
36192 cat >>confdefs.h <<_ACEOF
36193 #define HAVE_POWF 1
36194 _ACEOF
36195
36196 fi
36197 done
36198
36199 else
36200
36201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36202 $as_echo_n "checking for _powf declaration... " >&6; }
36203 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36204 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36205 $as_echo_n "(cached) " >&6
36206 else
36207
36208
36209 ac_ext=cpp
36210 ac_cpp='$CXXCPP $CPPFLAGS'
36211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36214
36215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36216 /* end confdefs.h. */
36217 #include <math.h>
36218 int
36219 main ()
36220 {
36221 _powf(0, 0);
36222 ;
36223 return 0;
36224 }
36225 _ACEOF
36226 if ac_fn_cxx_try_compile "$LINENO"; then :
36227 glibcxx_cv_func__powf_use=yes
36228 else
36229 glibcxx_cv_func__powf_use=no
36230 fi
36231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36232 ac_ext=c
36233 ac_cpp='$CPP $CPPFLAGS'
36234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36237
36238
36239 fi
36240
36241 fi
36242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36243 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36244
36245 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36246 for ac_func in _powf
36247 do :
36248 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36249 if test "x$ac_cv_func__powf" = x""yes; then :
36250 cat >>confdefs.h <<_ACEOF
36251 #define HAVE__POWF 1
36252 _ACEOF
36253
36254 fi
36255 done
36256
36257 fi
36258 fi
36259
36260
36261
36262
36263
36264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36265 $as_echo_n "checking for sqrtf declaration... " >&6; }
36266 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36267 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36268 $as_echo_n "(cached) " >&6
36269 else
36270
36271
36272 ac_ext=cpp
36273 ac_cpp='$CXXCPP $CPPFLAGS'
36274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36277
36278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36279 /* end confdefs.h. */
36280 #include <math.h>
36281 #ifdef HAVE_IEEEFP_H
36282 #include <ieeefp.h>
36283 #endif
36284
36285 int
36286 main ()
36287 {
36288 sqrtf(0);
36289 ;
36290 return 0;
36291 }
36292 _ACEOF
36293 if ac_fn_cxx_try_compile "$LINENO"; then :
36294 glibcxx_cv_func_sqrtf_use=yes
36295 else
36296 glibcxx_cv_func_sqrtf_use=no
36297 fi
36298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36299 ac_ext=c
36300 ac_cpp='$CPP $CPPFLAGS'
36301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36304
36305
36306 fi
36307
36308 fi
36309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36310 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36311
36312 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36313 for ac_func in sqrtf
36314 do :
36315 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36316 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36317 cat >>confdefs.h <<_ACEOF
36318 #define HAVE_SQRTF 1
36319 _ACEOF
36320
36321 fi
36322 done
36323
36324 else
36325
36326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36327 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36328 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36329 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36330 $as_echo_n "(cached) " >&6
36331 else
36332
36333
36334 ac_ext=cpp
36335 ac_cpp='$CXXCPP $CPPFLAGS'
36336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36339
36340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36341 /* end confdefs.h. */
36342 #include <math.h>
36343 #ifdef HAVE_IEEEFP_H
36344 #include <ieeefp.h>
36345 #endif
36346
36347 int
36348 main ()
36349 {
36350 _sqrtf(0);
36351 ;
36352 return 0;
36353 }
36354 _ACEOF
36355 if ac_fn_cxx_try_compile "$LINENO"; then :
36356 glibcxx_cv_func__sqrtf_use=yes
36357 else
36358 glibcxx_cv_func__sqrtf_use=no
36359 fi
36360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36361 ac_ext=c
36362 ac_cpp='$CPP $CPPFLAGS'
36363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36366
36367
36368 fi
36369
36370 fi
36371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36372 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36373
36374 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36375 for ac_func in _sqrtf
36376 do :
36377 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36378 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36379 cat >>confdefs.h <<_ACEOF
36380 #define HAVE__SQRTF 1
36381 _ACEOF
36382
36383 fi
36384 done
36385
36386 fi
36387 fi
36388
36389
36390
36391
36392
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36394 $as_echo_n "checking for sincosf declaration... " >&6; }
36395 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36396 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36397 $as_echo_n "(cached) " >&6
36398 else
36399
36400
36401 ac_ext=cpp
36402 ac_cpp='$CXXCPP $CPPFLAGS'
36403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36406
36407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36408 /* end confdefs.h. */
36409 #include <math.h>
36410 int
36411 main ()
36412 {
36413 sincosf(0, 0, 0);
36414 ;
36415 return 0;
36416 }
36417 _ACEOF
36418 if ac_fn_cxx_try_compile "$LINENO"; then :
36419 glibcxx_cv_func_sincosf_use=yes
36420 else
36421 glibcxx_cv_func_sincosf_use=no
36422 fi
36423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36424 ac_ext=c
36425 ac_cpp='$CPP $CPPFLAGS'
36426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36429
36430
36431 fi
36432
36433 fi
36434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36435 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36436
36437 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36438 for ac_func in sincosf
36439 do :
36440 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36441 if test "x$ac_cv_func_sincosf" = x""yes; then :
36442 cat >>confdefs.h <<_ACEOF
36443 #define HAVE_SINCOSF 1
36444 _ACEOF
36445
36446 fi
36447 done
36448
36449 else
36450
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36452 $as_echo_n "checking for _sincosf declaration... " >&6; }
36453 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36454 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36455 $as_echo_n "(cached) " >&6
36456 else
36457
36458
36459 ac_ext=cpp
36460 ac_cpp='$CXXCPP $CPPFLAGS'
36461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36464
36465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36466 /* end confdefs.h. */
36467 #include <math.h>
36468 int
36469 main ()
36470 {
36471 _sincosf(0, 0, 0);
36472 ;
36473 return 0;
36474 }
36475 _ACEOF
36476 if ac_fn_cxx_try_compile "$LINENO"; then :
36477 glibcxx_cv_func__sincosf_use=yes
36478 else
36479 glibcxx_cv_func__sincosf_use=no
36480 fi
36481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36482 ac_ext=c
36483 ac_cpp='$CPP $CPPFLAGS'
36484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36487
36488
36489 fi
36490
36491 fi
36492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36493 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36494
36495 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36496 for ac_func in _sincosf
36497 do :
36498 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36499 if test "x$ac_cv_func__sincosf" = x""yes; then :
36500 cat >>confdefs.h <<_ACEOF
36501 #define HAVE__SINCOSF 1
36502 _ACEOF
36503
36504 fi
36505 done
36506
36507 fi
36508 fi
36509
36510
36511
36512
36513
36514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36515 $as_echo_n "checking for finitef declaration... " >&6; }
36516 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36517 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36518 $as_echo_n "(cached) " >&6
36519 else
36520
36521
36522 ac_ext=cpp
36523 ac_cpp='$CXXCPP $CPPFLAGS'
36524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36527
36528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36529 /* end confdefs.h. */
36530 #include <math.h>
36531 #ifdef HAVE_IEEEFP_H
36532 #include <ieeefp.h>
36533 #endif
36534
36535 int
36536 main ()
36537 {
36538 finitef(0);
36539 ;
36540 return 0;
36541 }
36542 _ACEOF
36543 if ac_fn_cxx_try_compile "$LINENO"; then :
36544 glibcxx_cv_func_finitef_use=yes
36545 else
36546 glibcxx_cv_func_finitef_use=no
36547 fi
36548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36549 ac_ext=c
36550 ac_cpp='$CPP $CPPFLAGS'
36551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36554
36555
36556 fi
36557
36558 fi
36559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36560 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36561
36562 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36563 for ac_func in finitef
36564 do :
36565 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36566 if test "x$ac_cv_func_finitef" = x""yes; then :
36567 cat >>confdefs.h <<_ACEOF
36568 #define HAVE_FINITEF 1
36569 _ACEOF
36570
36571 fi
36572 done
36573
36574 else
36575
36576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36577 $as_echo_n "checking for _finitef declaration... " >&6; }
36578 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36579 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36580 $as_echo_n "(cached) " >&6
36581 else
36582
36583
36584 ac_ext=cpp
36585 ac_cpp='$CXXCPP $CPPFLAGS'
36586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36589
36590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36591 /* end confdefs.h. */
36592 #include <math.h>
36593 #ifdef HAVE_IEEEFP_H
36594 #include <ieeefp.h>
36595 #endif
36596
36597 int
36598 main ()
36599 {
36600 _finitef(0);
36601 ;
36602 return 0;
36603 }
36604 _ACEOF
36605 if ac_fn_cxx_try_compile "$LINENO"; then :
36606 glibcxx_cv_func__finitef_use=yes
36607 else
36608 glibcxx_cv_func__finitef_use=no
36609 fi
36610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36611 ac_ext=c
36612 ac_cpp='$CPP $CPPFLAGS'
36613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36616
36617
36618 fi
36619
36620 fi
36621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36622 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36623
36624 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36625 for ac_func in _finitef
36626 do :
36627 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36628 if test "x$ac_cv_func__finitef" = x""yes; then :
36629 cat >>confdefs.h <<_ACEOF
36630 #define HAVE__FINITEF 1
36631 _ACEOF
36632
36633 fi
36634 done
36635
36636 fi
36637 fi
36638
36639
36640
36641
36642
36643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36644 $as_echo_n "checking for long double trig functions... " >&6; }
36645 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36646 $as_echo_n "(cached) " >&6
36647 else
36648
36649
36650 ac_ext=cpp
36651 ac_cpp='$CXXCPP $CPPFLAGS'
36652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36655
36656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36657 /* end confdefs.h. */
36658 #include <math.h>
36659 int
36660 main ()
36661 {
36662 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36663 ;
36664 return 0;
36665 }
36666 _ACEOF
36667 if ac_fn_cxx_try_compile "$LINENO"; then :
36668 glibcxx_cv_func_long_double_trig_use=yes
36669 else
36670 glibcxx_cv_func_long_double_trig_use=no
36671 fi
36672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36673 ac_ext=c
36674 ac_cpp='$CPP $CPPFLAGS'
36675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36678
36679 fi
36680
36681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36682 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36683 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36684 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36685 do :
36686 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36687 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36688 eval as_val=\$$as_ac_var
36689 if test "x$as_val" = x""yes; then :
36690 cat >>confdefs.h <<_ACEOF
36691 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36692 _ACEOF
36693
36694 fi
36695 done
36696
36697 else
36698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36699 $as_echo_n "checking for _long double trig functions... " >&6; }
36700 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36701 $as_echo_n "(cached) " >&6
36702 else
36703
36704
36705 ac_ext=cpp
36706 ac_cpp='$CXXCPP $CPPFLAGS'
36707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36710
36711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36712 /* end confdefs.h. */
36713 #include <math.h>
36714 int
36715 main ()
36716 {
36717 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36718 ;
36719 return 0;
36720 }
36721 _ACEOF
36722 if ac_fn_cxx_try_compile "$LINENO"; then :
36723 glibcxx_cv_func__long_double_trig_use=yes
36724 else
36725 glibcxx_cv_func__long_double_trig_use=no
36726 fi
36727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36728 ac_ext=c
36729 ac_cpp='$CPP $CPPFLAGS'
36730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36733
36734 fi
36735
36736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36737 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36738 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36739 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36740 do :
36741 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36742 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36743 eval as_val=\$$as_ac_var
36744 if test "x$as_val" = x""yes; then :
36745 cat >>confdefs.h <<_ACEOF
36746 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36747 _ACEOF
36748
36749 fi
36750 done
36751
36752 fi
36753 fi
36754
36755
36756
36757
36758
36759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36760 $as_echo_n "checking for long double round functions... " >&6; }
36761 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36762 $as_echo_n "(cached) " >&6
36763 else
36764
36765
36766 ac_ext=cpp
36767 ac_cpp='$CXXCPP $CPPFLAGS'
36768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36771
36772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36773 /* end confdefs.h. */
36774 #include <math.h>
36775 int
36776 main ()
36777 {
36778 ceill (0); floorl (0);
36779 ;
36780 return 0;
36781 }
36782 _ACEOF
36783 if ac_fn_cxx_try_compile "$LINENO"; then :
36784 glibcxx_cv_func_long_double_round_use=yes
36785 else
36786 glibcxx_cv_func_long_double_round_use=no
36787 fi
36788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36789 ac_ext=c
36790 ac_cpp='$CPP $CPPFLAGS'
36791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36794
36795 fi
36796
36797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36798 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36799 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36800 for ac_func in ceill floorl
36801 do :
36802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36804 eval as_val=\$$as_ac_var
36805 if test "x$as_val" = x""yes; then :
36806 cat >>confdefs.h <<_ACEOF
36807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36808 _ACEOF
36809
36810 fi
36811 done
36812
36813 else
36814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36815 $as_echo_n "checking for _long double round functions... " >&6; }
36816 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36817 $as_echo_n "(cached) " >&6
36818 else
36819
36820
36821 ac_ext=cpp
36822 ac_cpp='$CXXCPP $CPPFLAGS'
36823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36826
36827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36828 /* end confdefs.h. */
36829 #include <math.h>
36830 int
36831 main ()
36832 {
36833 _ceill (0); _floorl (0);
36834 ;
36835 return 0;
36836 }
36837 _ACEOF
36838 if ac_fn_cxx_try_compile "$LINENO"; then :
36839 glibcxx_cv_func__long_double_round_use=yes
36840 else
36841 glibcxx_cv_func__long_double_round_use=no
36842 fi
36843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36844 ac_ext=c
36845 ac_cpp='$CPP $CPPFLAGS'
36846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36849
36850 fi
36851
36852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36853 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36854 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36855 for ac_func in _ceill _floorl
36856 do :
36857 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36858 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36859 eval as_val=\$$as_ac_var
36860 if test "x$as_val" = x""yes; then :
36861 cat >>confdefs.h <<_ACEOF
36862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36863 _ACEOF
36864
36865 fi
36866 done
36867
36868 fi
36869 fi
36870
36871
36872
36873
36874
36875
36876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36877 $as_echo_n "checking for isnanl declaration... " >&6; }
36878 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36879 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36880 $as_echo_n "(cached) " >&6
36881 else
36882
36883
36884 ac_ext=cpp
36885 ac_cpp='$CXXCPP $CPPFLAGS'
36886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36889
36890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36891 /* end confdefs.h. */
36892 #include <math.h>
36893 #ifdef HAVE_IEEEFP_H
36894 #include <ieeefp.h>
36895 #endif
36896
36897 int
36898 main ()
36899 {
36900 isnanl(0);
36901 ;
36902 return 0;
36903 }
36904 _ACEOF
36905 if ac_fn_cxx_try_compile "$LINENO"; then :
36906 glibcxx_cv_func_isnanl_use=yes
36907 else
36908 glibcxx_cv_func_isnanl_use=no
36909 fi
36910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36911 ac_ext=c
36912 ac_cpp='$CPP $CPPFLAGS'
36913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36916
36917
36918 fi
36919
36920 fi
36921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36922 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36923
36924 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36925 for ac_func in isnanl
36926 do :
36927 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36928 if test "x$ac_cv_func_isnanl" = x""yes; then :
36929 cat >>confdefs.h <<_ACEOF
36930 #define HAVE_ISNANL 1
36931 _ACEOF
36932
36933 fi
36934 done
36935
36936 else
36937
36938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36939 $as_echo_n "checking for _isnanl declaration... " >&6; }
36940 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36941 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36942 $as_echo_n "(cached) " >&6
36943 else
36944
36945
36946 ac_ext=cpp
36947 ac_cpp='$CXXCPP $CPPFLAGS'
36948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36951
36952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36953 /* end confdefs.h. */
36954 #include <math.h>
36955 #ifdef HAVE_IEEEFP_H
36956 #include <ieeefp.h>
36957 #endif
36958
36959 int
36960 main ()
36961 {
36962 _isnanl(0);
36963 ;
36964 return 0;
36965 }
36966 _ACEOF
36967 if ac_fn_cxx_try_compile "$LINENO"; then :
36968 glibcxx_cv_func__isnanl_use=yes
36969 else
36970 glibcxx_cv_func__isnanl_use=no
36971 fi
36972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36973 ac_ext=c
36974 ac_cpp='$CPP $CPPFLAGS'
36975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36978
36979
36980 fi
36981
36982 fi
36983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36984 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36985
36986 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36987 for ac_func in _isnanl
36988 do :
36989 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36990 if test "x$ac_cv_func__isnanl" = x""yes; then :
36991 cat >>confdefs.h <<_ACEOF
36992 #define HAVE__ISNANL 1
36993 _ACEOF
36994
36995 fi
36996 done
36997
36998 fi
36999 fi
37000
37001
37002
37003
37004
37005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37006 $as_echo_n "checking for isinfl declaration... " >&6; }
37007 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37008 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37009 $as_echo_n "(cached) " >&6
37010 else
37011
37012
37013 ac_ext=cpp
37014 ac_cpp='$CXXCPP $CPPFLAGS'
37015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37018
37019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37020 /* end confdefs.h. */
37021 #include <math.h>
37022 #ifdef HAVE_IEEEFP_H
37023 #include <ieeefp.h>
37024 #endif
37025
37026 int
37027 main ()
37028 {
37029 isinfl(0);
37030 ;
37031 return 0;
37032 }
37033 _ACEOF
37034 if ac_fn_cxx_try_compile "$LINENO"; then :
37035 glibcxx_cv_func_isinfl_use=yes
37036 else
37037 glibcxx_cv_func_isinfl_use=no
37038 fi
37039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37040 ac_ext=c
37041 ac_cpp='$CPP $CPPFLAGS'
37042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37045
37046
37047 fi
37048
37049 fi
37050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37051 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37052
37053 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37054 for ac_func in isinfl
37055 do :
37056 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37057 if test "x$ac_cv_func_isinfl" = x""yes; then :
37058 cat >>confdefs.h <<_ACEOF
37059 #define HAVE_ISINFL 1
37060 _ACEOF
37061
37062 fi
37063 done
37064
37065 else
37066
37067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37068 $as_echo_n "checking for _isinfl declaration... " >&6; }
37069 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37070 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37071 $as_echo_n "(cached) " >&6
37072 else
37073
37074
37075 ac_ext=cpp
37076 ac_cpp='$CXXCPP $CPPFLAGS'
37077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37080
37081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37082 /* end confdefs.h. */
37083 #include <math.h>
37084 #ifdef HAVE_IEEEFP_H
37085 #include <ieeefp.h>
37086 #endif
37087
37088 int
37089 main ()
37090 {
37091 _isinfl(0);
37092 ;
37093 return 0;
37094 }
37095 _ACEOF
37096 if ac_fn_cxx_try_compile "$LINENO"; then :
37097 glibcxx_cv_func__isinfl_use=yes
37098 else
37099 glibcxx_cv_func__isinfl_use=no
37100 fi
37101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37102 ac_ext=c
37103 ac_cpp='$CPP $CPPFLAGS'
37104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37107
37108
37109 fi
37110
37111 fi
37112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37113 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37114
37115 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37116 for ac_func in _isinfl
37117 do :
37118 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37119 if test "x$ac_cv_func__isinfl" = x""yes; then :
37120 cat >>confdefs.h <<_ACEOF
37121 #define HAVE__ISINFL 1
37122 _ACEOF
37123
37124 fi
37125 done
37126
37127 fi
37128 fi
37129
37130
37131
37132
37133
37134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37135 $as_echo_n "checking for atan2l declaration... " >&6; }
37136 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37137 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37138 $as_echo_n "(cached) " >&6
37139 else
37140
37141
37142 ac_ext=cpp
37143 ac_cpp='$CXXCPP $CPPFLAGS'
37144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37147
37148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37149 /* end confdefs.h. */
37150 #include <math.h>
37151 int
37152 main ()
37153 {
37154 atan2l(0, 0);
37155 ;
37156 return 0;
37157 }
37158 _ACEOF
37159 if ac_fn_cxx_try_compile "$LINENO"; then :
37160 glibcxx_cv_func_atan2l_use=yes
37161 else
37162 glibcxx_cv_func_atan2l_use=no
37163 fi
37164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37165 ac_ext=c
37166 ac_cpp='$CPP $CPPFLAGS'
37167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37170
37171
37172 fi
37173
37174 fi
37175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37176 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37177
37178 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37179 for ac_func in atan2l
37180 do :
37181 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37182 if test "x$ac_cv_func_atan2l" = x""yes; then :
37183 cat >>confdefs.h <<_ACEOF
37184 #define HAVE_ATAN2L 1
37185 _ACEOF
37186
37187 fi
37188 done
37189
37190 else
37191
37192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37193 $as_echo_n "checking for _atan2l declaration... " >&6; }
37194 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37195 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37196 $as_echo_n "(cached) " >&6
37197 else
37198
37199
37200 ac_ext=cpp
37201 ac_cpp='$CXXCPP $CPPFLAGS'
37202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37205
37206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37207 /* end confdefs.h. */
37208 #include <math.h>
37209 int
37210 main ()
37211 {
37212 _atan2l(0, 0);
37213 ;
37214 return 0;
37215 }
37216 _ACEOF
37217 if ac_fn_cxx_try_compile "$LINENO"; then :
37218 glibcxx_cv_func__atan2l_use=yes
37219 else
37220 glibcxx_cv_func__atan2l_use=no
37221 fi
37222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37223 ac_ext=c
37224 ac_cpp='$CPP $CPPFLAGS'
37225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37228
37229
37230 fi
37231
37232 fi
37233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37234 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37235
37236 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37237 for ac_func in _atan2l
37238 do :
37239 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37240 if test "x$ac_cv_func__atan2l" = x""yes; then :
37241 cat >>confdefs.h <<_ACEOF
37242 #define HAVE__ATAN2L 1
37243 _ACEOF
37244
37245 fi
37246 done
37247
37248 fi
37249 fi
37250
37251
37252
37253
37254
37255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37256 $as_echo_n "checking for expl declaration... " >&6; }
37257 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37258 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37259 $as_echo_n "(cached) " >&6
37260 else
37261
37262
37263 ac_ext=cpp
37264 ac_cpp='$CXXCPP $CPPFLAGS'
37265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37268
37269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37270 /* end confdefs.h. */
37271 #include <math.h>
37272 #ifdef HAVE_IEEEFP_H
37273 #include <ieeefp.h>
37274 #endif
37275
37276 int
37277 main ()
37278 {
37279 expl(0);
37280 ;
37281 return 0;
37282 }
37283 _ACEOF
37284 if ac_fn_cxx_try_compile "$LINENO"; then :
37285 glibcxx_cv_func_expl_use=yes
37286 else
37287 glibcxx_cv_func_expl_use=no
37288 fi
37289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37290 ac_ext=c
37291 ac_cpp='$CPP $CPPFLAGS'
37292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37295
37296
37297 fi
37298
37299 fi
37300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37301 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37302
37303 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37304 for ac_func in expl
37305 do :
37306 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37307 if test "x$ac_cv_func_expl" = x""yes; then :
37308 cat >>confdefs.h <<_ACEOF
37309 #define HAVE_EXPL 1
37310 _ACEOF
37311
37312 fi
37313 done
37314
37315 else
37316
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37318 $as_echo_n "checking for _expl declaration... " >&6; }
37319 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37320 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37321 $as_echo_n "(cached) " >&6
37322 else
37323
37324
37325 ac_ext=cpp
37326 ac_cpp='$CXXCPP $CPPFLAGS'
37327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37330
37331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37332 /* end confdefs.h. */
37333 #include <math.h>
37334 #ifdef HAVE_IEEEFP_H
37335 #include <ieeefp.h>
37336 #endif
37337
37338 int
37339 main ()
37340 {
37341 _expl(0);
37342 ;
37343 return 0;
37344 }
37345 _ACEOF
37346 if ac_fn_cxx_try_compile "$LINENO"; then :
37347 glibcxx_cv_func__expl_use=yes
37348 else
37349 glibcxx_cv_func__expl_use=no
37350 fi
37351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37352 ac_ext=c
37353 ac_cpp='$CPP $CPPFLAGS'
37354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37357
37358
37359 fi
37360
37361 fi
37362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37363 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37364
37365 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37366 for ac_func in _expl
37367 do :
37368 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37369 if test "x$ac_cv_func__expl" = x""yes; then :
37370 cat >>confdefs.h <<_ACEOF
37371 #define HAVE__EXPL 1
37372 _ACEOF
37373
37374 fi
37375 done
37376
37377 fi
37378 fi
37379
37380
37381
37382
37383
37384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37385 $as_echo_n "checking for fabsl declaration... " >&6; }
37386 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37387 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37388 $as_echo_n "(cached) " >&6
37389 else
37390
37391
37392 ac_ext=cpp
37393 ac_cpp='$CXXCPP $CPPFLAGS'
37394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37397
37398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37399 /* end confdefs.h. */
37400 #include <math.h>
37401 #ifdef HAVE_IEEEFP_H
37402 #include <ieeefp.h>
37403 #endif
37404
37405 int
37406 main ()
37407 {
37408 fabsl(0);
37409 ;
37410 return 0;
37411 }
37412 _ACEOF
37413 if ac_fn_cxx_try_compile "$LINENO"; then :
37414 glibcxx_cv_func_fabsl_use=yes
37415 else
37416 glibcxx_cv_func_fabsl_use=no
37417 fi
37418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37419 ac_ext=c
37420 ac_cpp='$CPP $CPPFLAGS'
37421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37424
37425
37426 fi
37427
37428 fi
37429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37430 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37431
37432 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37433 for ac_func in fabsl
37434 do :
37435 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37436 if test "x$ac_cv_func_fabsl" = x""yes; then :
37437 cat >>confdefs.h <<_ACEOF
37438 #define HAVE_FABSL 1
37439 _ACEOF
37440
37441 fi
37442 done
37443
37444 else
37445
37446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37447 $as_echo_n "checking for _fabsl declaration... " >&6; }
37448 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37449 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37450 $as_echo_n "(cached) " >&6
37451 else
37452
37453
37454 ac_ext=cpp
37455 ac_cpp='$CXXCPP $CPPFLAGS'
37456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37459
37460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37461 /* end confdefs.h. */
37462 #include <math.h>
37463 #ifdef HAVE_IEEEFP_H
37464 #include <ieeefp.h>
37465 #endif
37466
37467 int
37468 main ()
37469 {
37470 _fabsl(0);
37471 ;
37472 return 0;
37473 }
37474 _ACEOF
37475 if ac_fn_cxx_try_compile "$LINENO"; then :
37476 glibcxx_cv_func__fabsl_use=yes
37477 else
37478 glibcxx_cv_func__fabsl_use=no
37479 fi
37480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37481 ac_ext=c
37482 ac_cpp='$CPP $CPPFLAGS'
37483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37486
37487
37488 fi
37489
37490 fi
37491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37492 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37493
37494 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37495 for ac_func in _fabsl
37496 do :
37497 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37498 if test "x$ac_cv_func__fabsl" = x""yes; then :
37499 cat >>confdefs.h <<_ACEOF
37500 #define HAVE__FABSL 1
37501 _ACEOF
37502
37503 fi
37504 done
37505
37506 fi
37507 fi
37508
37509
37510
37511
37512
37513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37514 $as_echo_n "checking for fmodl declaration... " >&6; }
37515 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37516 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37517 $as_echo_n "(cached) " >&6
37518 else
37519
37520
37521 ac_ext=cpp
37522 ac_cpp='$CXXCPP $CPPFLAGS'
37523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37526
37527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37528 /* end confdefs.h. */
37529 #include <math.h>
37530 int
37531 main ()
37532 {
37533 fmodl(0, 0);
37534 ;
37535 return 0;
37536 }
37537 _ACEOF
37538 if ac_fn_cxx_try_compile "$LINENO"; then :
37539 glibcxx_cv_func_fmodl_use=yes
37540 else
37541 glibcxx_cv_func_fmodl_use=no
37542 fi
37543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37544 ac_ext=c
37545 ac_cpp='$CPP $CPPFLAGS'
37546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37549
37550
37551 fi
37552
37553 fi
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37555 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37556
37557 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37558 for ac_func in fmodl
37559 do :
37560 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37561 if test "x$ac_cv_func_fmodl" = x""yes; then :
37562 cat >>confdefs.h <<_ACEOF
37563 #define HAVE_FMODL 1
37564 _ACEOF
37565
37566 fi
37567 done
37568
37569 else
37570
37571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37572 $as_echo_n "checking for _fmodl declaration... " >&6; }
37573 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37574 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37575 $as_echo_n "(cached) " >&6
37576 else
37577
37578
37579 ac_ext=cpp
37580 ac_cpp='$CXXCPP $CPPFLAGS'
37581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37584
37585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37586 /* end confdefs.h. */
37587 #include <math.h>
37588 int
37589 main ()
37590 {
37591 _fmodl(0, 0);
37592 ;
37593 return 0;
37594 }
37595 _ACEOF
37596 if ac_fn_cxx_try_compile "$LINENO"; then :
37597 glibcxx_cv_func__fmodl_use=yes
37598 else
37599 glibcxx_cv_func__fmodl_use=no
37600 fi
37601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37602 ac_ext=c
37603 ac_cpp='$CPP $CPPFLAGS'
37604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37607
37608
37609 fi
37610
37611 fi
37612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37613 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37614
37615 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37616 for ac_func in _fmodl
37617 do :
37618 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37619 if test "x$ac_cv_func__fmodl" = x""yes; then :
37620 cat >>confdefs.h <<_ACEOF
37621 #define HAVE__FMODL 1
37622 _ACEOF
37623
37624 fi
37625 done
37626
37627 fi
37628 fi
37629
37630
37631
37632
37633
37634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37635 $as_echo_n "checking for frexpl declaration... " >&6; }
37636 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37637 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37638 $as_echo_n "(cached) " >&6
37639 else
37640
37641
37642 ac_ext=cpp
37643 ac_cpp='$CXXCPP $CPPFLAGS'
37644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37647
37648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37649 /* end confdefs.h. */
37650 #include <math.h>
37651 int
37652 main ()
37653 {
37654 frexpl(0, 0);
37655 ;
37656 return 0;
37657 }
37658 _ACEOF
37659 if ac_fn_cxx_try_compile "$LINENO"; then :
37660 glibcxx_cv_func_frexpl_use=yes
37661 else
37662 glibcxx_cv_func_frexpl_use=no
37663 fi
37664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37665 ac_ext=c
37666 ac_cpp='$CPP $CPPFLAGS'
37667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37670
37671
37672 fi
37673
37674 fi
37675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37676 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37677
37678 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37679 for ac_func in frexpl
37680 do :
37681 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37682 if test "x$ac_cv_func_frexpl" = x""yes; then :
37683 cat >>confdefs.h <<_ACEOF
37684 #define HAVE_FREXPL 1
37685 _ACEOF
37686
37687 fi
37688 done
37689
37690 else
37691
37692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37693 $as_echo_n "checking for _frexpl declaration... " >&6; }
37694 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37695 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37696 $as_echo_n "(cached) " >&6
37697 else
37698
37699
37700 ac_ext=cpp
37701 ac_cpp='$CXXCPP $CPPFLAGS'
37702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37705
37706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37707 /* end confdefs.h. */
37708 #include <math.h>
37709 int
37710 main ()
37711 {
37712 _frexpl(0, 0);
37713 ;
37714 return 0;
37715 }
37716 _ACEOF
37717 if ac_fn_cxx_try_compile "$LINENO"; then :
37718 glibcxx_cv_func__frexpl_use=yes
37719 else
37720 glibcxx_cv_func__frexpl_use=no
37721 fi
37722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37723 ac_ext=c
37724 ac_cpp='$CPP $CPPFLAGS'
37725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37728
37729
37730 fi
37731
37732 fi
37733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37734 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37735
37736 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37737 for ac_func in _frexpl
37738 do :
37739 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37740 if test "x$ac_cv_func__frexpl" = x""yes; then :
37741 cat >>confdefs.h <<_ACEOF
37742 #define HAVE__FREXPL 1
37743 _ACEOF
37744
37745 fi
37746 done
37747
37748 fi
37749 fi
37750
37751
37752
37753
37754
37755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37756 $as_echo_n "checking for hypotl declaration... " >&6; }
37757 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37758 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37759 $as_echo_n "(cached) " >&6
37760 else
37761
37762
37763 ac_ext=cpp
37764 ac_cpp='$CXXCPP $CPPFLAGS'
37765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37768
37769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37770 /* end confdefs.h. */
37771 #include <math.h>
37772 int
37773 main ()
37774 {
37775 hypotl(0, 0);
37776 ;
37777 return 0;
37778 }
37779 _ACEOF
37780 if ac_fn_cxx_try_compile "$LINENO"; then :
37781 glibcxx_cv_func_hypotl_use=yes
37782 else
37783 glibcxx_cv_func_hypotl_use=no
37784 fi
37785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37786 ac_ext=c
37787 ac_cpp='$CPP $CPPFLAGS'
37788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37791
37792
37793 fi
37794
37795 fi
37796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37797 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37798
37799 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37800 for ac_func in hypotl
37801 do :
37802 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37803 if test "x$ac_cv_func_hypotl" = x""yes; then :
37804 cat >>confdefs.h <<_ACEOF
37805 #define HAVE_HYPOTL 1
37806 _ACEOF
37807
37808 fi
37809 done
37810
37811 else
37812
37813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37814 $as_echo_n "checking for _hypotl declaration... " >&6; }
37815 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37816 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37817 $as_echo_n "(cached) " >&6
37818 else
37819
37820
37821 ac_ext=cpp
37822 ac_cpp='$CXXCPP $CPPFLAGS'
37823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37826
37827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37828 /* end confdefs.h. */
37829 #include <math.h>
37830 int
37831 main ()
37832 {
37833 _hypotl(0, 0);
37834 ;
37835 return 0;
37836 }
37837 _ACEOF
37838 if ac_fn_cxx_try_compile "$LINENO"; then :
37839 glibcxx_cv_func__hypotl_use=yes
37840 else
37841 glibcxx_cv_func__hypotl_use=no
37842 fi
37843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37844 ac_ext=c
37845 ac_cpp='$CPP $CPPFLAGS'
37846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37849
37850
37851 fi
37852
37853 fi
37854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37855 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37856
37857 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37858 for ac_func in _hypotl
37859 do :
37860 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37861 if test "x$ac_cv_func__hypotl" = x""yes; then :
37862 cat >>confdefs.h <<_ACEOF
37863 #define HAVE__HYPOTL 1
37864 _ACEOF
37865
37866 fi
37867 done
37868
37869 fi
37870 fi
37871
37872
37873
37874
37875
37876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37877 $as_echo_n "checking for ldexpl declaration... " >&6; }
37878 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37879 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37880 $as_echo_n "(cached) " >&6
37881 else
37882
37883
37884 ac_ext=cpp
37885 ac_cpp='$CXXCPP $CPPFLAGS'
37886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37889
37890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37891 /* end confdefs.h. */
37892 #include <math.h>
37893 int
37894 main ()
37895 {
37896 ldexpl(0, 0);
37897 ;
37898 return 0;
37899 }
37900 _ACEOF
37901 if ac_fn_cxx_try_compile "$LINENO"; then :
37902 glibcxx_cv_func_ldexpl_use=yes
37903 else
37904 glibcxx_cv_func_ldexpl_use=no
37905 fi
37906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37907 ac_ext=c
37908 ac_cpp='$CPP $CPPFLAGS'
37909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37912
37913
37914 fi
37915
37916 fi
37917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37918 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37919
37920 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37921 for ac_func in ldexpl
37922 do :
37923 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37924 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37925 cat >>confdefs.h <<_ACEOF
37926 #define HAVE_LDEXPL 1
37927 _ACEOF
37928
37929 fi
37930 done
37931
37932 else
37933
37934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37935 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37936 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37937 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37938 $as_echo_n "(cached) " >&6
37939 else
37940
37941
37942 ac_ext=cpp
37943 ac_cpp='$CXXCPP $CPPFLAGS'
37944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37947
37948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37949 /* end confdefs.h. */
37950 #include <math.h>
37951 int
37952 main ()
37953 {
37954 _ldexpl(0, 0);
37955 ;
37956 return 0;
37957 }
37958 _ACEOF
37959 if ac_fn_cxx_try_compile "$LINENO"; then :
37960 glibcxx_cv_func__ldexpl_use=yes
37961 else
37962 glibcxx_cv_func__ldexpl_use=no
37963 fi
37964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37965 ac_ext=c
37966 ac_cpp='$CPP $CPPFLAGS'
37967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37970
37971
37972 fi
37973
37974 fi
37975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37976 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37977
37978 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37979 for ac_func in _ldexpl
37980 do :
37981 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37982 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37983 cat >>confdefs.h <<_ACEOF
37984 #define HAVE__LDEXPL 1
37985 _ACEOF
37986
37987 fi
37988 done
37989
37990 fi
37991 fi
37992
37993
37994
37995
37996
37997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37998 $as_echo_n "checking for logl declaration... " >&6; }
37999 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38000 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38001 $as_echo_n "(cached) " >&6
38002 else
38003
38004
38005 ac_ext=cpp
38006 ac_cpp='$CXXCPP $CPPFLAGS'
38007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38010
38011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38012 /* end confdefs.h. */
38013 #include <math.h>
38014 #ifdef HAVE_IEEEFP_H
38015 #include <ieeefp.h>
38016 #endif
38017
38018 int
38019 main ()
38020 {
38021 logl(0);
38022 ;
38023 return 0;
38024 }
38025 _ACEOF
38026 if ac_fn_cxx_try_compile "$LINENO"; then :
38027 glibcxx_cv_func_logl_use=yes
38028 else
38029 glibcxx_cv_func_logl_use=no
38030 fi
38031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38032 ac_ext=c
38033 ac_cpp='$CPP $CPPFLAGS'
38034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38037
38038
38039 fi
38040
38041 fi
38042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38043 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38044
38045 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38046 for ac_func in logl
38047 do :
38048 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38049 if test "x$ac_cv_func_logl" = x""yes; then :
38050 cat >>confdefs.h <<_ACEOF
38051 #define HAVE_LOGL 1
38052 _ACEOF
38053
38054 fi
38055 done
38056
38057 else
38058
38059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38060 $as_echo_n "checking for _logl declaration... " >&6; }
38061 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38062 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38063 $as_echo_n "(cached) " >&6
38064 else
38065
38066
38067 ac_ext=cpp
38068 ac_cpp='$CXXCPP $CPPFLAGS'
38069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38072
38073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38074 /* end confdefs.h. */
38075 #include <math.h>
38076 #ifdef HAVE_IEEEFP_H
38077 #include <ieeefp.h>
38078 #endif
38079
38080 int
38081 main ()
38082 {
38083 _logl(0);
38084 ;
38085 return 0;
38086 }
38087 _ACEOF
38088 if ac_fn_cxx_try_compile "$LINENO"; then :
38089 glibcxx_cv_func__logl_use=yes
38090 else
38091 glibcxx_cv_func__logl_use=no
38092 fi
38093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38094 ac_ext=c
38095 ac_cpp='$CPP $CPPFLAGS'
38096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38099
38100
38101 fi
38102
38103 fi
38104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38105 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38106
38107 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38108 for ac_func in _logl
38109 do :
38110 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38111 if test "x$ac_cv_func__logl" = x""yes; then :
38112 cat >>confdefs.h <<_ACEOF
38113 #define HAVE__LOGL 1
38114 _ACEOF
38115
38116 fi
38117 done
38118
38119 fi
38120 fi
38121
38122
38123
38124
38125
38126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38127 $as_echo_n "checking for log10l declaration... " >&6; }
38128 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38129 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38130 $as_echo_n "(cached) " >&6
38131 else
38132
38133
38134 ac_ext=cpp
38135 ac_cpp='$CXXCPP $CPPFLAGS'
38136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38139
38140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38141 /* end confdefs.h. */
38142 #include <math.h>
38143 #ifdef HAVE_IEEEFP_H
38144 #include <ieeefp.h>
38145 #endif
38146
38147 int
38148 main ()
38149 {
38150 log10l(0);
38151 ;
38152 return 0;
38153 }
38154 _ACEOF
38155 if ac_fn_cxx_try_compile "$LINENO"; then :
38156 glibcxx_cv_func_log10l_use=yes
38157 else
38158 glibcxx_cv_func_log10l_use=no
38159 fi
38160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38161 ac_ext=c
38162 ac_cpp='$CPP $CPPFLAGS'
38163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38166
38167
38168 fi
38169
38170 fi
38171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38172 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38173
38174 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38175 for ac_func in log10l
38176 do :
38177 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38178 if test "x$ac_cv_func_log10l" = x""yes; then :
38179 cat >>confdefs.h <<_ACEOF
38180 #define HAVE_LOG10L 1
38181 _ACEOF
38182
38183 fi
38184 done
38185
38186 else
38187
38188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38189 $as_echo_n "checking for _log10l declaration... " >&6; }
38190 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38191 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38192 $as_echo_n "(cached) " >&6
38193 else
38194
38195
38196 ac_ext=cpp
38197 ac_cpp='$CXXCPP $CPPFLAGS'
38198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38201
38202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38203 /* end confdefs.h. */
38204 #include <math.h>
38205 #ifdef HAVE_IEEEFP_H
38206 #include <ieeefp.h>
38207 #endif
38208
38209 int
38210 main ()
38211 {
38212 _log10l(0);
38213 ;
38214 return 0;
38215 }
38216 _ACEOF
38217 if ac_fn_cxx_try_compile "$LINENO"; then :
38218 glibcxx_cv_func__log10l_use=yes
38219 else
38220 glibcxx_cv_func__log10l_use=no
38221 fi
38222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38223 ac_ext=c
38224 ac_cpp='$CPP $CPPFLAGS'
38225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38228
38229
38230 fi
38231
38232 fi
38233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38234 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38235
38236 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38237 for ac_func in _log10l
38238 do :
38239 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38240 if test "x$ac_cv_func__log10l" = x""yes; then :
38241 cat >>confdefs.h <<_ACEOF
38242 #define HAVE__LOG10L 1
38243 _ACEOF
38244
38245 fi
38246 done
38247
38248 fi
38249 fi
38250
38251
38252
38253
38254
38255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38256 $as_echo_n "checking for modfl declaration... " >&6; }
38257 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38258 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38259 $as_echo_n "(cached) " >&6
38260 else
38261
38262
38263 ac_ext=cpp
38264 ac_cpp='$CXXCPP $CPPFLAGS'
38265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38268
38269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38270 /* end confdefs.h. */
38271 #include <math.h>
38272 int
38273 main ()
38274 {
38275 modfl(0, 0);
38276 ;
38277 return 0;
38278 }
38279 _ACEOF
38280 if ac_fn_cxx_try_compile "$LINENO"; then :
38281 glibcxx_cv_func_modfl_use=yes
38282 else
38283 glibcxx_cv_func_modfl_use=no
38284 fi
38285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38286 ac_ext=c
38287 ac_cpp='$CPP $CPPFLAGS'
38288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38291
38292
38293 fi
38294
38295 fi
38296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38297 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38298
38299 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38300 for ac_func in modfl
38301 do :
38302 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38303 if test "x$ac_cv_func_modfl" = x""yes; then :
38304 cat >>confdefs.h <<_ACEOF
38305 #define HAVE_MODFL 1
38306 _ACEOF
38307
38308 fi
38309 done
38310
38311 else
38312
38313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38314 $as_echo_n "checking for _modfl declaration... " >&6; }
38315 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38316 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38317 $as_echo_n "(cached) " >&6
38318 else
38319
38320
38321 ac_ext=cpp
38322 ac_cpp='$CXXCPP $CPPFLAGS'
38323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38326
38327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38328 /* end confdefs.h. */
38329 #include <math.h>
38330 int
38331 main ()
38332 {
38333 _modfl(0, 0);
38334 ;
38335 return 0;
38336 }
38337 _ACEOF
38338 if ac_fn_cxx_try_compile "$LINENO"; then :
38339 glibcxx_cv_func__modfl_use=yes
38340 else
38341 glibcxx_cv_func__modfl_use=no
38342 fi
38343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38344 ac_ext=c
38345 ac_cpp='$CPP $CPPFLAGS'
38346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38349
38350
38351 fi
38352
38353 fi
38354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38355 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38356
38357 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38358 for ac_func in _modfl
38359 do :
38360 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38361 if test "x$ac_cv_func__modfl" = x""yes; then :
38362 cat >>confdefs.h <<_ACEOF
38363 #define HAVE__MODFL 1
38364 _ACEOF
38365
38366 fi
38367 done
38368
38369 fi
38370 fi
38371
38372
38373
38374
38375
38376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38377 $as_echo_n "checking for powl declaration... " >&6; }
38378 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38379 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38380 $as_echo_n "(cached) " >&6
38381 else
38382
38383
38384 ac_ext=cpp
38385 ac_cpp='$CXXCPP $CPPFLAGS'
38386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38389
38390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38391 /* end confdefs.h. */
38392 #include <math.h>
38393 int
38394 main ()
38395 {
38396 powl(0, 0);
38397 ;
38398 return 0;
38399 }
38400 _ACEOF
38401 if ac_fn_cxx_try_compile "$LINENO"; then :
38402 glibcxx_cv_func_powl_use=yes
38403 else
38404 glibcxx_cv_func_powl_use=no
38405 fi
38406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38407 ac_ext=c
38408 ac_cpp='$CPP $CPPFLAGS'
38409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38412
38413
38414 fi
38415
38416 fi
38417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38418 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38419
38420 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38421 for ac_func in powl
38422 do :
38423 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38424 if test "x$ac_cv_func_powl" = x""yes; then :
38425 cat >>confdefs.h <<_ACEOF
38426 #define HAVE_POWL 1
38427 _ACEOF
38428
38429 fi
38430 done
38431
38432 else
38433
38434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38435 $as_echo_n "checking for _powl declaration... " >&6; }
38436 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38437 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38438 $as_echo_n "(cached) " >&6
38439 else
38440
38441
38442 ac_ext=cpp
38443 ac_cpp='$CXXCPP $CPPFLAGS'
38444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38447
38448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38449 /* end confdefs.h. */
38450 #include <math.h>
38451 int
38452 main ()
38453 {
38454 _powl(0, 0);
38455 ;
38456 return 0;
38457 }
38458 _ACEOF
38459 if ac_fn_cxx_try_compile "$LINENO"; then :
38460 glibcxx_cv_func__powl_use=yes
38461 else
38462 glibcxx_cv_func__powl_use=no
38463 fi
38464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38465 ac_ext=c
38466 ac_cpp='$CPP $CPPFLAGS'
38467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38470
38471
38472 fi
38473
38474 fi
38475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38476 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38477
38478 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38479 for ac_func in _powl
38480 do :
38481 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38482 if test "x$ac_cv_func__powl" = x""yes; then :
38483 cat >>confdefs.h <<_ACEOF
38484 #define HAVE__POWL 1
38485 _ACEOF
38486
38487 fi
38488 done
38489
38490 fi
38491 fi
38492
38493
38494
38495
38496
38497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38498 $as_echo_n "checking for sqrtl declaration... " >&6; }
38499 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38500 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38501 $as_echo_n "(cached) " >&6
38502 else
38503
38504
38505 ac_ext=cpp
38506 ac_cpp='$CXXCPP $CPPFLAGS'
38507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38510
38511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38512 /* end confdefs.h. */
38513 #include <math.h>
38514 #ifdef HAVE_IEEEFP_H
38515 #include <ieeefp.h>
38516 #endif
38517
38518 int
38519 main ()
38520 {
38521 sqrtl(0);
38522 ;
38523 return 0;
38524 }
38525 _ACEOF
38526 if ac_fn_cxx_try_compile "$LINENO"; then :
38527 glibcxx_cv_func_sqrtl_use=yes
38528 else
38529 glibcxx_cv_func_sqrtl_use=no
38530 fi
38531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38532 ac_ext=c
38533 ac_cpp='$CPP $CPPFLAGS'
38534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38537
38538
38539 fi
38540
38541 fi
38542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38543 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38544
38545 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38546 for ac_func in sqrtl
38547 do :
38548 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38549 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38550 cat >>confdefs.h <<_ACEOF
38551 #define HAVE_SQRTL 1
38552 _ACEOF
38553
38554 fi
38555 done
38556
38557 else
38558
38559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38560 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38561 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38562 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38563 $as_echo_n "(cached) " >&6
38564 else
38565
38566
38567 ac_ext=cpp
38568 ac_cpp='$CXXCPP $CPPFLAGS'
38569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38572
38573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38574 /* end confdefs.h. */
38575 #include <math.h>
38576 #ifdef HAVE_IEEEFP_H
38577 #include <ieeefp.h>
38578 #endif
38579
38580 int
38581 main ()
38582 {
38583 _sqrtl(0);
38584 ;
38585 return 0;
38586 }
38587 _ACEOF
38588 if ac_fn_cxx_try_compile "$LINENO"; then :
38589 glibcxx_cv_func__sqrtl_use=yes
38590 else
38591 glibcxx_cv_func__sqrtl_use=no
38592 fi
38593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38594 ac_ext=c
38595 ac_cpp='$CPP $CPPFLAGS'
38596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38599
38600
38601 fi
38602
38603 fi
38604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38605 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38606
38607 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38608 for ac_func in _sqrtl
38609 do :
38610 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38611 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38612 cat >>confdefs.h <<_ACEOF
38613 #define HAVE__SQRTL 1
38614 _ACEOF
38615
38616 fi
38617 done
38618
38619 fi
38620 fi
38621
38622
38623
38624
38625
38626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38627 $as_echo_n "checking for sincosl declaration... " >&6; }
38628 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38629 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38630 $as_echo_n "(cached) " >&6
38631 else
38632
38633
38634 ac_ext=cpp
38635 ac_cpp='$CXXCPP $CPPFLAGS'
38636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38639
38640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38641 /* end confdefs.h. */
38642 #include <math.h>
38643 int
38644 main ()
38645 {
38646 sincosl(0, 0, 0);
38647 ;
38648 return 0;
38649 }
38650 _ACEOF
38651 if ac_fn_cxx_try_compile "$LINENO"; then :
38652 glibcxx_cv_func_sincosl_use=yes
38653 else
38654 glibcxx_cv_func_sincosl_use=no
38655 fi
38656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38657 ac_ext=c
38658 ac_cpp='$CPP $CPPFLAGS'
38659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38662
38663
38664 fi
38665
38666 fi
38667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38668 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38669
38670 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38671 for ac_func in sincosl
38672 do :
38673 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38674 if test "x$ac_cv_func_sincosl" = x""yes; then :
38675 cat >>confdefs.h <<_ACEOF
38676 #define HAVE_SINCOSL 1
38677 _ACEOF
38678
38679 fi
38680 done
38681
38682 else
38683
38684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38685 $as_echo_n "checking for _sincosl declaration... " >&6; }
38686 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38687 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38688 $as_echo_n "(cached) " >&6
38689 else
38690
38691
38692 ac_ext=cpp
38693 ac_cpp='$CXXCPP $CPPFLAGS'
38694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38697
38698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38699 /* end confdefs.h. */
38700 #include <math.h>
38701 int
38702 main ()
38703 {
38704 _sincosl(0, 0, 0);
38705 ;
38706 return 0;
38707 }
38708 _ACEOF
38709 if ac_fn_cxx_try_compile "$LINENO"; then :
38710 glibcxx_cv_func__sincosl_use=yes
38711 else
38712 glibcxx_cv_func__sincosl_use=no
38713 fi
38714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38715 ac_ext=c
38716 ac_cpp='$CPP $CPPFLAGS'
38717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38720
38721
38722 fi
38723
38724 fi
38725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38726 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38727
38728 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38729 for ac_func in _sincosl
38730 do :
38731 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38732 if test "x$ac_cv_func__sincosl" = x""yes; then :
38733 cat >>confdefs.h <<_ACEOF
38734 #define HAVE__SINCOSL 1
38735 _ACEOF
38736
38737 fi
38738 done
38739
38740 fi
38741 fi
38742
38743
38744
38745
38746
38747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38748 $as_echo_n "checking for finitel declaration... " >&6; }
38749 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38750 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38751 $as_echo_n "(cached) " >&6
38752 else
38753
38754
38755 ac_ext=cpp
38756 ac_cpp='$CXXCPP $CPPFLAGS'
38757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38760
38761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38762 /* end confdefs.h. */
38763 #include <math.h>
38764 #ifdef HAVE_IEEEFP_H
38765 #include <ieeefp.h>
38766 #endif
38767
38768 int
38769 main ()
38770 {
38771 finitel(0);
38772 ;
38773 return 0;
38774 }
38775 _ACEOF
38776 if ac_fn_cxx_try_compile "$LINENO"; then :
38777 glibcxx_cv_func_finitel_use=yes
38778 else
38779 glibcxx_cv_func_finitel_use=no
38780 fi
38781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38782 ac_ext=c
38783 ac_cpp='$CPP $CPPFLAGS'
38784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38787
38788
38789 fi
38790
38791 fi
38792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38793 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38794
38795 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38796 for ac_func in finitel
38797 do :
38798 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38799 if test "x$ac_cv_func_finitel" = x""yes; then :
38800 cat >>confdefs.h <<_ACEOF
38801 #define HAVE_FINITEL 1
38802 _ACEOF
38803
38804 fi
38805 done
38806
38807 else
38808
38809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38810 $as_echo_n "checking for _finitel declaration... " >&6; }
38811 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38812 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38813 $as_echo_n "(cached) " >&6
38814 else
38815
38816
38817 ac_ext=cpp
38818 ac_cpp='$CXXCPP $CPPFLAGS'
38819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38822
38823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38824 /* end confdefs.h. */
38825 #include <math.h>
38826 #ifdef HAVE_IEEEFP_H
38827 #include <ieeefp.h>
38828 #endif
38829
38830 int
38831 main ()
38832 {
38833 _finitel(0);
38834 ;
38835 return 0;
38836 }
38837 _ACEOF
38838 if ac_fn_cxx_try_compile "$LINENO"; then :
38839 glibcxx_cv_func__finitel_use=yes
38840 else
38841 glibcxx_cv_func__finitel_use=no
38842 fi
38843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38844 ac_ext=c
38845 ac_cpp='$CPP $CPPFLAGS'
38846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38849
38850
38851 fi
38852
38853 fi
38854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38855 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38856
38857 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38858 for ac_func in _finitel
38859 do :
38860 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38861 if test "x$ac_cv_func__finitel" = x""yes; then :
38862 cat >>confdefs.h <<_ACEOF
38863 #define HAVE__FINITEL 1
38864 _ACEOF
38865
38866 fi
38867 done
38868
38869 fi
38870 fi
38871
38872
38873
38874
38875 LIBS="$ac_save_LIBS"
38876 CXXFLAGS="$ac_save_CXXFLAGS"
38877
38878
38879 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38880 ac_save_CXXFLAGS="$CXXFLAGS"
38881 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38882
38883
38884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38885 $as_echo_n "checking for strtold declaration... " >&6; }
38886 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38887 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38888 $as_echo_n "(cached) " >&6
38889 else
38890
38891
38892 ac_ext=cpp
38893 ac_cpp='$CXXCPP $CPPFLAGS'
38894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38897
38898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38899 /* end confdefs.h. */
38900 #include <stdlib.h>
38901 int
38902 main ()
38903 {
38904 strtold(0, 0);
38905 ;
38906 return 0;
38907 }
38908 _ACEOF
38909 if ac_fn_cxx_try_compile "$LINENO"; then :
38910 glibcxx_cv_func_strtold_use=yes
38911 else
38912 glibcxx_cv_func_strtold_use=no
38913 fi
38914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38915 ac_ext=c
38916 ac_cpp='$CPP $CPPFLAGS'
38917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38920
38921
38922 fi
38923
38924 fi
38925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38926 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38927 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38928 for ac_func in strtold
38929 do :
38930 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38931 if test "x$ac_cv_func_strtold" = x""yes; then :
38932 cat >>confdefs.h <<_ACEOF
38933 #define HAVE_STRTOLD 1
38934 _ACEOF
38935
38936 fi
38937 done
38938
38939 fi
38940
38941
38942
38943
38944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38945 $as_echo_n "checking for strtof declaration... " >&6; }
38946 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38947 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38948 $as_echo_n "(cached) " >&6
38949 else
38950
38951
38952 ac_ext=cpp
38953 ac_cpp='$CXXCPP $CPPFLAGS'
38954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38957
38958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38959 /* end confdefs.h. */
38960 #include <stdlib.h>
38961 int
38962 main ()
38963 {
38964 strtof(0, 0);
38965 ;
38966 return 0;
38967 }
38968 _ACEOF
38969 if ac_fn_cxx_try_compile "$LINENO"; then :
38970 glibcxx_cv_func_strtof_use=yes
38971 else
38972 glibcxx_cv_func_strtof_use=no
38973 fi
38974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38975 ac_ext=c
38976 ac_cpp='$CPP $CPPFLAGS'
38977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38980
38981
38982 fi
38983
38984 fi
38985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38986 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38987 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38988 for ac_func in strtof
38989 do :
38990 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38991 if test "x$ac_cv_func_strtof" = x""yes; then :
38992 cat >>confdefs.h <<_ACEOF
38993 #define HAVE_STRTOF 1
38994 _ACEOF
38995
38996 fi
38997 done
38998
38999 fi
39000
39001
39002
39003
39004 CXXFLAGS="$ac_save_CXXFLAGS"
39005
39006 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
39007
39008 # We don't yet support AIX's TLS ABI.
39009 #GCC_CHECK_TLS
39010
39011
39012
39013
39014
39015 am_save_CPPFLAGS="$CPPFLAGS"
39016
39017 for element in $INCICONV; do
39018 haveit=
39019 for x in $CPPFLAGS; do
39020
39021 acl_save_prefix="$prefix"
39022 prefix="$acl_final_prefix"
39023 acl_save_exec_prefix="$exec_prefix"
39024 exec_prefix="$acl_final_exec_prefix"
39025 eval x=\"$x\"
39026 exec_prefix="$acl_save_exec_prefix"
39027 prefix="$acl_save_prefix"
39028
39029 if test "X$x" = "X$element"; then
39030 haveit=yes
39031 break
39032 fi
39033 done
39034 if test -z "$haveit"; then
39035 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39036 fi
39037 done
39038
39039
39040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39041 $as_echo_n "checking for iconv... " >&6; }
39042 if test "${am_cv_func_iconv+set}" = set; then :
39043 $as_echo_n "(cached) " >&6
39044 else
39045
39046 am_cv_func_iconv="no, consider installing GNU libiconv"
39047 am_cv_lib_iconv=no
39048 if test x$gcc_no_link = xyes; then
39049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39050 fi
39051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39052 /* end confdefs.h. */
39053 #include <stdlib.h>
39054 #include <iconv.h>
39055 int
39056 main ()
39057 {
39058 iconv_t cd = iconv_open("","");
39059 iconv(cd,NULL,NULL,NULL,NULL);
39060 iconv_close(cd);
39061 ;
39062 return 0;
39063 }
39064 _ACEOF
39065 if ac_fn_c_try_link "$LINENO"; then :
39066 am_cv_func_iconv=yes
39067 fi
39068 rm -f core conftest.err conftest.$ac_objext \
39069 conftest$ac_exeext conftest.$ac_ext
39070 if test "$am_cv_func_iconv" != yes; then
39071 am_save_LIBS="$LIBS"
39072 LIBS="$LIBS $LIBICONV"
39073 if test x$gcc_no_link = xyes; then
39074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39075 fi
39076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39077 /* end confdefs.h. */
39078 #include <stdlib.h>
39079 #include <iconv.h>
39080 int
39081 main ()
39082 {
39083 iconv_t cd = iconv_open("","");
39084 iconv(cd,NULL,NULL,NULL,NULL);
39085 iconv_close(cd);
39086 ;
39087 return 0;
39088 }
39089 _ACEOF
39090 if ac_fn_c_try_link "$LINENO"; then :
39091 am_cv_lib_iconv=yes
39092 am_cv_func_iconv=yes
39093 fi
39094 rm -f core conftest.err conftest.$ac_objext \
39095 conftest$ac_exeext conftest.$ac_ext
39096 LIBS="$am_save_LIBS"
39097 fi
39098
39099 fi
39100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39101 $as_echo "$am_cv_func_iconv" >&6; }
39102 if test "$am_cv_func_iconv" = yes; then
39103
39104 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39105
39106 fi
39107 if test "$am_cv_lib_iconv" = yes; then
39108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39109 $as_echo_n "checking how to link with libiconv... " >&6; }
39110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39111 $as_echo "$LIBICONV" >&6; }
39112 else
39113 CPPFLAGS="$am_save_CPPFLAGS"
39114 LIBICONV=
39115 LTLIBICONV=
39116 fi
39117
39118
39119
39120 if test "$am_cv_func_iconv" = yes; then
39121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39122 $as_echo_n "checking for iconv declaration... " >&6; }
39123 if test "${am_cv_proto_iconv+set}" = set; then :
39124 $as_echo_n "(cached) " >&6
39125 else
39126
39127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39128 /* end confdefs.h. */
39129
39130 #include <stdlib.h>
39131 #include <iconv.h>
39132 extern
39133 #ifdef __cplusplus
39134 "C"
39135 #endif
39136 #if defined(__STDC__) || defined(__cplusplus)
39137 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39138 #else
39139 size_t iconv();
39140 #endif
39141
39142 int
39143 main ()
39144 {
39145
39146 ;
39147 return 0;
39148 }
39149 _ACEOF
39150 if ac_fn_c_try_compile "$LINENO"; then :
39151 am_cv_proto_iconv_arg1=""
39152 else
39153 am_cv_proto_iconv_arg1="const"
39154 fi
39155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39156 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);"
39157 fi
39158
39159 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39161 }$am_cv_proto_iconv" >&5
39162 $as_echo "${ac_t:-
39163 }$am_cv_proto_iconv" >&6; }
39164
39165 cat >>confdefs.h <<_ACEOF
39166 #define ICONV_CONST $am_cv_proto_iconv_arg1
39167 _ACEOF
39168
39169 fi
39170
39171 ;;
39172
39173 *-darwin*)
39174 # Darwin versions vary, but the linker should work in a cross environment,
39175 # so we just check for all the features here.
39176 # Check for available headers.
39177
39178 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39179
39180 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39181 ac_save_CXXFLAGS="$CXXFLAGS"
39182 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39183
39184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39185 $as_echo_n "checking for sin in -lm... " >&6; }
39186 if test "${ac_cv_lib_m_sin+set}" = set; then :
39187 $as_echo_n "(cached) " >&6
39188 else
39189 ac_check_lib_save_LIBS=$LIBS
39190 LIBS="-lm $LIBS"
39191 if test x$gcc_no_link = xyes; then
39192 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39193 fi
39194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39195 /* end confdefs.h. */
39196
39197 /* Override any GCC internal prototype to avoid an error.
39198 Use char because int might match the return type of a GCC
39199 builtin and then its argument prototype would still apply. */
39200 #ifdef __cplusplus
39201 extern "C"
39202 #endif
39203 char sin ();
39204 int
39205 main ()
39206 {
39207 return sin ();
39208 ;
39209 return 0;
39210 }
39211 _ACEOF
39212 if ac_fn_c_try_link "$LINENO"; then :
39213 ac_cv_lib_m_sin=yes
39214 else
39215 ac_cv_lib_m_sin=no
39216 fi
39217 rm -f core conftest.err conftest.$ac_objext \
39218 conftest$ac_exeext conftest.$ac_ext
39219 LIBS=$ac_check_lib_save_LIBS
39220 fi
39221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39222 $as_echo "$ac_cv_lib_m_sin" >&6; }
39223 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39224 libm="-lm"
39225 fi
39226
39227 ac_save_LIBS="$LIBS"
39228 LIBS="$LIBS $libm"
39229
39230
39231
39232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39233 $as_echo_n "checking for isinf declaration... " >&6; }
39234 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39235 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39236 $as_echo_n "(cached) " >&6
39237 else
39238
39239
39240 ac_ext=cpp
39241 ac_cpp='$CXXCPP $CPPFLAGS'
39242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39245
39246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39247 /* end confdefs.h. */
39248 #include <math.h>
39249 #ifdef HAVE_IEEEFP_H
39250 #include <ieeefp.h>
39251 #endif
39252
39253 int
39254 main ()
39255 {
39256 isinf(0);
39257 ;
39258 return 0;
39259 }
39260 _ACEOF
39261 if ac_fn_cxx_try_compile "$LINENO"; then :
39262 glibcxx_cv_func_isinf_use=yes
39263 else
39264 glibcxx_cv_func_isinf_use=no
39265 fi
39266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39267 ac_ext=c
39268 ac_cpp='$CPP $CPPFLAGS'
39269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39272
39273
39274 fi
39275
39276 fi
39277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39278 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39279
39280 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39281 for ac_func in isinf
39282 do :
39283 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39284 if test "x$ac_cv_func_isinf" = x""yes; then :
39285 cat >>confdefs.h <<_ACEOF
39286 #define HAVE_ISINF 1
39287 _ACEOF
39288
39289 fi
39290 done
39291
39292 else
39293
39294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39295 $as_echo_n "checking for _isinf declaration... " >&6; }
39296 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39297 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39298 $as_echo_n "(cached) " >&6
39299 else
39300
39301
39302 ac_ext=cpp
39303 ac_cpp='$CXXCPP $CPPFLAGS'
39304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39307
39308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39309 /* end confdefs.h. */
39310 #include <math.h>
39311 #ifdef HAVE_IEEEFP_H
39312 #include <ieeefp.h>
39313 #endif
39314
39315 int
39316 main ()
39317 {
39318 _isinf(0);
39319 ;
39320 return 0;
39321 }
39322 _ACEOF
39323 if ac_fn_cxx_try_compile "$LINENO"; then :
39324 glibcxx_cv_func__isinf_use=yes
39325 else
39326 glibcxx_cv_func__isinf_use=no
39327 fi
39328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39329 ac_ext=c
39330 ac_cpp='$CPP $CPPFLAGS'
39331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39334
39335
39336 fi
39337
39338 fi
39339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39340 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39341
39342 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39343 for ac_func in _isinf
39344 do :
39345 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39346 if test "x$ac_cv_func__isinf" = x""yes; then :
39347 cat >>confdefs.h <<_ACEOF
39348 #define HAVE__ISINF 1
39349 _ACEOF
39350
39351 fi
39352 done
39353
39354 fi
39355 fi
39356
39357
39358
39359
39360
39361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39362 $as_echo_n "checking for isnan declaration... " >&6; }
39363 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39364 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39365 $as_echo_n "(cached) " >&6
39366 else
39367
39368
39369 ac_ext=cpp
39370 ac_cpp='$CXXCPP $CPPFLAGS'
39371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39374
39375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39376 /* end confdefs.h. */
39377 #include <math.h>
39378 #ifdef HAVE_IEEEFP_H
39379 #include <ieeefp.h>
39380 #endif
39381
39382 int
39383 main ()
39384 {
39385 isnan(0);
39386 ;
39387 return 0;
39388 }
39389 _ACEOF
39390 if ac_fn_cxx_try_compile "$LINENO"; then :
39391 glibcxx_cv_func_isnan_use=yes
39392 else
39393 glibcxx_cv_func_isnan_use=no
39394 fi
39395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39396 ac_ext=c
39397 ac_cpp='$CPP $CPPFLAGS'
39398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39401
39402
39403 fi
39404
39405 fi
39406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39407 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39408
39409 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39410 for ac_func in isnan
39411 do :
39412 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39413 if test "x$ac_cv_func_isnan" = x""yes; then :
39414 cat >>confdefs.h <<_ACEOF
39415 #define HAVE_ISNAN 1
39416 _ACEOF
39417
39418 fi
39419 done
39420
39421 else
39422
39423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39424 $as_echo_n "checking for _isnan declaration... " >&6; }
39425 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39426 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39427 $as_echo_n "(cached) " >&6
39428 else
39429
39430
39431 ac_ext=cpp
39432 ac_cpp='$CXXCPP $CPPFLAGS'
39433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39436
39437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39438 /* end confdefs.h. */
39439 #include <math.h>
39440 #ifdef HAVE_IEEEFP_H
39441 #include <ieeefp.h>
39442 #endif
39443
39444 int
39445 main ()
39446 {
39447 _isnan(0);
39448 ;
39449 return 0;
39450 }
39451 _ACEOF
39452 if ac_fn_cxx_try_compile "$LINENO"; then :
39453 glibcxx_cv_func__isnan_use=yes
39454 else
39455 glibcxx_cv_func__isnan_use=no
39456 fi
39457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39458 ac_ext=c
39459 ac_cpp='$CPP $CPPFLAGS'
39460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39463
39464
39465 fi
39466
39467 fi
39468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39469 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39470
39471 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39472 for ac_func in _isnan
39473 do :
39474 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39475 if test "x$ac_cv_func__isnan" = x""yes; then :
39476 cat >>confdefs.h <<_ACEOF
39477 #define HAVE__ISNAN 1
39478 _ACEOF
39479
39480 fi
39481 done
39482
39483 fi
39484 fi
39485
39486
39487
39488
39489
39490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39491 $as_echo_n "checking for finite declaration... " >&6; }
39492 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39493 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39494 $as_echo_n "(cached) " >&6
39495 else
39496
39497
39498 ac_ext=cpp
39499 ac_cpp='$CXXCPP $CPPFLAGS'
39500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39503
39504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39505 /* end confdefs.h. */
39506 #include <math.h>
39507 #ifdef HAVE_IEEEFP_H
39508 #include <ieeefp.h>
39509 #endif
39510
39511 int
39512 main ()
39513 {
39514 finite(0);
39515 ;
39516 return 0;
39517 }
39518 _ACEOF
39519 if ac_fn_cxx_try_compile "$LINENO"; then :
39520 glibcxx_cv_func_finite_use=yes
39521 else
39522 glibcxx_cv_func_finite_use=no
39523 fi
39524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39525 ac_ext=c
39526 ac_cpp='$CPP $CPPFLAGS'
39527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39530
39531
39532 fi
39533
39534 fi
39535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39536 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39537
39538 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39539 for ac_func in finite
39540 do :
39541 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39542 if test "x$ac_cv_func_finite" = x""yes; then :
39543 cat >>confdefs.h <<_ACEOF
39544 #define HAVE_FINITE 1
39545 _ACEOF
39546
39547 fi
39548 done
39549
39550 else
39551
39552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39553 $as_echo_n "checking for _finite declaration... " >&6; }
39554 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39555 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39556 $as_echo_n "(cached) " >&6
39557 else
39558
39559
39560 ac_ext=cpp
39561 ac_cpp='$CXXCPP $CPPFLAGS'
39562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39565
39566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39567 /* end confdefs.h. */
39568 #include <math.h>
39569 #ifdef HAVE_IEEEFP_H
39570 #include <ieeefp.h>
39571 #endif
39572
39573 int
39574 main ()
39575 {
39576 _finite(0);
39577 ;
39578 return 0;
39579 }
39580 _ACEOF
39581 if ac_fn_cxx_try_compile "$LINENO"; then :
39582 glibcxx_cv_func__finite_use=yes
39583 else
39584 glibcxx_cv_func__finite_use=no
39585 fi
39586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39587 ac_ext=c
39588 ac_cpp='$CPP $CPPFLAGS'
39589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39592
39593
39594 fi
39595
39596 fi
39597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39598 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39599
39600 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39601 for ac_func in _finite
39602 do :
39603 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39604 if test "x$ac_cv_func__finite" = x""yes; then :
39605 cat >>confdefs.h <<_ACEOF
39606 #define HAVE__FINITE 1
39607 _ACEOF
39608
39609 fi
39610 done
39611
39612 fi
39613 fi
39614
39615
39616
39617
39618
39619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39620 $as_echo_n "checking for sincos declaration... " >&6; }
39621 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39622 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39623 $as_echo_n "(cached) " >&6
39624 else
39625
39626
39627 ac_ext=cpp
39628 ac_cpp='$CXXCPP $CPPFLAGS'
39629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39632
39633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39634 /* end confdefs.h. */
39635 #include <math.h>
39636 int
39637 main ()
39638 {
39639 sincos(0, 0, 0);
39640 ;
39641 return 0;
39642 }
39643 _ACEOF
39644 if ac_fn_cxx_try_compile "$LINENO"; then :
39645 glibcxx_cv_func_sincos_use=yes
39646 else
39647 glibcxx_cv_func_sincos_use=no
39648 fi
39649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39650 ac_ext=c
39651 ac_cpp='$CPP $CPPFLAGS'
39652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39655
39656
39657 fi
39658
39659 fi
39660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39661 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39662
39663 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39664 for ac_func in sincos
39665 do :
39666 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39667 if test "x$ac_cv_func_sincos" = x""yes; then :
39668 cat >>confdefs.h <<_ACEOF
39669 #define HAVE_SINCOS 1
39670 _ACEOF
39671
39672 fi
39673 done
39674
39675 else
39676
39677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39678 $as_echo_n "checking for _sincos declaration... " >&6; }
39679 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39680 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39681 $as_echo_n "(cached) " >&6
39682 else
39683
39684
39685 ac_ext=cpp
39686 ac_cpp='$CXXCPP $CPPFLAGS'
39687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39690
39691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39692 /* end confdefs.h. */
39693 #include <math.h>
39694 int
39695 main ()
39696 {
39697 _sincos(0, 0, 0);
39698 ;
39699 return 0;
39700 }
39701 _ACEOF
39702 if ac_fn_cxx_try_compile "$LINENO"; then :
39703 glibcxx_cv_func__sincos_use=yes
39704 else
39705 glibcxx_cv_func__sincos_use=no
39706 fi
39707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39708 ac_ext=c
39709 ac_cpp='$CPP $CPPFLAGS'
39710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39713
39714
39715 fi
39716
39717 fi
39718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39719 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39720
39721 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39722 for ac_func in _sincos
39723 do :
39724 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39725 if test "x$ac_cv_func__sincos" = x""yes; then :
39726 cat >>confdefs.h <<_ACEOF
39727 #define HAVE__SINCOS 1
39728 _ACEOF
39729
39730 fi
39731 done
39732
39733 fi
39734 fi
39735
39736
39737
39738
39739
39740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39741 $as_echo_n "checking for fpclass declaration... " >&6; }
39742 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39743 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39744 $as_echo_n "(cached) " >&6
39745 else
39746
39747
39748 ac_ext=cpp
39749 ac_cpp='$CXXCPP $CPPFLAGS'
39750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39753
39754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39755 /* end confdefs.h. */
39756 #include <math.h>
39757 #ifdef HAVE_IEEEFP_H
39758 #include <ieeefp.h>
39759 #endif
39760
39761 int
39762 main ()
39763 {
39764 fpclass(0);
39765 ;
39766 return 0;
39767 }
39768 _ACEOF
39769 if ac_fn_cxx_try_compile "$LINENO"; then :
39770 glibcxx_cv_func_fpclass_use=yes
39771 else
39772 glibcxx_cv_func_fpclass_use=no
39773 fi
39774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39775 ac_ext=c
39776 ac_cpp='$CPP $CPPFLAGS'
39777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39780
39781
39782 fi
39783
39784 fi
39785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39786 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39787
39788 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39789 for ac_func in fpclass
39790 do :
39791 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39792 if test "x$ac_cv_func_fpclass" = x""yes; then :
39793 cat >>confdefs.h <<_ACEOF
39794 #define HAVE_FPCLASS 1
39795 _ACEOF
39796
39797 fi
39798 done
39799
39800 else
39801
39802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39803 $as_echo_n "checking for _fpclass declaration... " >&6; }
39804 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39805 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39806 $as_echo_n "(cached) " >&6
39807 else
39808
39809
39810 ac_ext=cpp
39811 ac_cpp='$CXXCPP $CPPFLAGS'
39812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39815
39816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39817 /* end confdefs.h. */
39818 #include <math.h>
39819 #ifdef HAVE_IEEEFP_H
39820 #include <ieeefp.h>
39821 #endif
39822
39823 int
39824 main ()
39825 {
39826 _fpclass(0);
39827 ;
39828 return 0;
39829 }
39830 _ACEOF
39831 if ac_fn_cxx_try_compile "$LINENO"; then :
39832 glibcxx_cv_func__fpclass_use=yes
39833 else
39834 glibcxx_cv_func__fpclass_use=no
39835 fi
39836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39837 ac_ext=c
39838 ac_cpp='$CPP $CPPFLAGS'
39839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39842
39843
39844 fi
39845
39846 fi
39847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39848 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39849
39850 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39851 for ac_func in _fpclass
39852 do :
39853 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39854 if test "x$ac_cv_func__fpclass" = x""yes; then :
39855 cat >>confdefs.h <<_ACEOF
39856 #define HAVE__FPCLASS 1
39857 _ACEOF
39858
39859 fi
39860 done
39861
39862 fi
39863 fi
39864
39865
39866
39867
39868
39869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39870 $as_echo_n "checking for qfpclass declaration... " >&6; }
39871 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39872 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39873 $as_echo_n "(cached) " >&6
39874 else
39875
39876
39877 ac_ext=cpp
39878 ac_cpp='$CXXCPP $CPPFLAGS'
39879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39882
39883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39884 /* end confdefs.h. */
39885 #include <math.h>
39886 #ifdef HAVE_IEEEFP_H
39887 #include <ieeefp.h>
39888 #endif
39889
39890 int
39891 main ()
39892 {
39893 qfpclass(0);
39894 ;
39895 return 0;
39896 }
39897 _ACEOF
39898 if ac_fn_cxx_try_compile "$LINENO"; then :
39899 glibcxx_cv_func_qfpclass_use=yes
39900 else
39901 glibcxx_cv_func_qfpclass_use=no
39902 fi
39903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39904 ac_ext=c
39905 ac_cpp='$CPP $CPPFLAGS'
39906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39909
39910
39911 fi
39912
39913 fi
39914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39915 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39916
39917 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39918 for ac_func in qfpclass
39919 do :
39920 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39921 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39922 cat >>confdefs.h <<_ACEOF
39923 #define HAVE_QFPCLASS 1
39924 _ACEOF
39925
39926 fi
39927 done
39928
39929 else
39930
39931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39932 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39933 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39934 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39935 $as_echo_n "(cached) " >&6
39936 else
39937
39938
39939 ac_ext=cpp
39940 ac_cpp='$CXXCPP $CPPFLAGS'
39941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39944
39945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39946 /* end confdefs.h. */
39947 #include <math.h>
39948 #ifdef HAVE_IEEEFP_H
39949 #include <ieeefp.h>
39950 #endif
39951
39952 int
39953 main ()
39954 {
39955 _qfpclass(0);
39956 ;
39957 return 0;
39958 }
39959 _ACEOF
39960 if ac_fn_cxx_try_compile "$LINENO"; then :
39961 glibcxx_cv_func__qfpclass_use=yes
39962 else
39963 glibcxx_cv_func__qfpclass_use=no
39964 fi
39965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39966 ac_ext=c
39967 ac_cpp='$CPP $CPPFLAGS'
39968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39971
39972
39973 fi
39974
39975 fi
39976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39977 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39978
39979 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39980 for ac_func in _qfpclass
39981 do :
39982 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39983 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39984 cat >>confdefs.h <<_ACEOF
39985 #define HAVE__QFPCLASS 1
39986 _ACEOF
39987
39988 fi
39989 done
39990
39991 fi
39992 fi
39993
39994
39995
39996
39997
39998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39999 $as_echo_n "checking for hypot declaration... " >&6; }
40000 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40001 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40002 $as_echo_n "(cached) " >&6
40003 else
40004
40005
40006 ac_ext=cpp
40007 ac_cpp='$CXXCPP $CPPFLAGS'
40008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40011
40012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40013 /* end confdefs.h. */
40014 #include <math.h>
40015 int
40016 main ()
40017 {
40018 hypot(0, 0);
40019 ;
40020 return 0;
40021 }
40022 _ACEOF
40023 if ac_fn_cxx_try_compile "$LINENO"; then :
40024 glibcxx_cv_func_hypot_use=yes
40025 else
40026 glibcxx_cv_func_hypot_use=no
40027 fi
40028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40029 ac_ext=c
40030 ac_cpp='$CPP $CPPFLAGS'
40031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40034
40035
40036 fi
40037
40038 fi
40039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40040 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40041
40042 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40043 for ac_func in hypot
40044 do :
40045 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40046 if test "x$ac_cv_func_hypot" = x""yes; then :
40047 cat >>confdefs.h <<_ACEOF
40048 #define HAVE_HYPOT 1
40049 _ACEOF
40050
40051 fi
40052 done
40053
40054 else
40055
40056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40057 $as_echo_n "checking for _hypot declaration... " >&6; }
40058 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40059 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40060 $as_echo_n "(cached) " >&6
40061 else
40062
40063
40064 ac_ext=cpp
40065 ac_cpp='$CXXCPP $CPPFLAGS'
40066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40069
40070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40071 /* end confdefs.h. */
40072 #include <math.h>
40073 int
40074 main ()
40075 {
40076 _hypot(0, 0);
40077 ;
40078 return 0;
40079 }
40080 _ACEOF
40081 if ac_fn_cxx_try_compile "$LINENO"; then :
40082 glibcxx_cv_func__hypot_use=yes
40083 else
40084 glibcxx_cv_func__hypot_use=no
40085 fi
40086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40087 ac_ext=c
40088 ac_cpp='$CPP $CPPFLAGS'
40089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40092
40093
40094 fi
40095
40096 fi
40097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40098 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40099
40100 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40101 for ac_func in _hypot
40102 do :
40103 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40104 if test "x$ac_cv_func__hypot" = x""yes; then :
40105 cat >>confdefs.h <<_ACEOF
40106 #define HAVE__HYPOT 1
40107 _ACEOF
40108
40109 fi
40110 done
40111
40112 fi
40113 fi
40114
40115
40116
40117
40118
40119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40120 $as_echo_n "checking for float trig functions... " >&6; }
40121 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40122 $as_echo_n "(cached) " >&6
40123 else
40124
40125
40126 ac_ext=cpp
40127 ac_cpp='$CXXCPP $CPPFLAGS'
40128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40131
40132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40133 /* end confdefs.h. */
40134 #include <math.h>
40135 int
40136 main ()
40137 {
40138 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40139 ;
40140 return 0;
40141 }
40142 _ACEOF
40143 if ac_fn_cxx_try_compile "$LINENO"; then :
40144 glibcxx_cv_func_float_trig_use=yes
40145 else
40146 glibcxx_cv_func_float_trig_use=no
40147 fi
40148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40149 ac_ext=c
40150 ac_cpp='$CPP $CPPFLAGS'
40151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40154
40155 fi
40156
40157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40158 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40159 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40160 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40161 do :
40162 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40163 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40164 eval as_val=\$$as_ac_var
40165 if test "x$as_val" = x""yes; then :
40166 cat >>confdefs.h <<_ACEOF
40167 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40168 _ACEOF
40169
40170 fi
40171 done
40172
40173 else
40174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40175 $as_echo_n "checking for _float trig functions... " >&6; }
40176 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40177 $as_echo_n "(cached) " >&6
40178 else
40179
40180
40181 ac_ext=cpp
40182 ac_cpp='$CXXCPP $CPPFLAGS'
40183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40186
40187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40188 /* end confdefs.h. */
40189 #include <math.h>
40190 int
40191 main ()
40192 {
40193 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40194 ;
40195 return 0;
40196 }
40197 _ACEOF
40198 if ac_fn_cxx_try_compile "$LINENO"; then :
40199 glibcxx_cv_func__float_trig_use=yes
40200 else
40201 glibcxx_cv_func__float_trig_use=no
40202 fi
40203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40204 ac_ext=c
40205 ac_cpp='$CPP $CPPFLAGS'
40206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40209
40210 fi
40211
40212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40213 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40214 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40215 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40216 do :
40217 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40218 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40219 eval as_val=\$$as_ac_var
40220 if test "x$as_val" = x""yes; then :
40221 cat >>confdefs.h <<_ACEOF
40222 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40223 _ACEOF
40224
40225 fi
40226 done
40227
40228 fi
40229 fi
40230
40231
40232
40233
40234
40235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40236 $as_echo_n "checking for float round functions... " >&6; }
40237 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40238 $as_echo_n "(cached) " >&6
40239 else
40240
40241
40242 ac_ext=cpp
40243 ac_cpp='$CXXCPP $CPPFLAGS'
40244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40247
40248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40249 /* end confdefs.h. */
40250 #include <math.h>
40251 int
40252 main ()
40253 {
40254 ceilf (0); floorf (0);
40255 ;
40256 return 0;
40257 }
40258 _ACEOF
40259 if ac_fn_cxx_try_compile "$LINENO"; then :
40260 glibcxx_cv_func_float_round_use=yes
40261 else
40262 glibcxx_cv_func_float_round_use=no
40263 fi
40264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40265 ac_ext=c
40266 ac_cpp='$CPP $CPPFLAGS'
40267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40270
40271 fi
40272
40273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40274 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40275 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40276 for ac_func in ceilf floorf
40277 do :
40278 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40279 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40280 eval as_val=\$$as_ac_var
40281 if test "x$as_val" = x""yes; then :
40282 cat >>confdefs.h <<_ACEOF
40283 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40284 _ACEOF
40285
40286 fi
40287 done
40288
40289 else
40290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40291 $as_echo_n "checking for _float round functions... " >&6; }
40292 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40293 $as_echo_n "(cached) " >&6
40294 else
40295
40296
40297 ac_ext=cpp
40298 ac_cpp='$CXXCPP $CPPFLAGS'
40299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40302
40303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40304 /* end confdefs.h. */
40305 #include <math.h>
40306 int
40307 main ()
40308 {
40309 _ceilf (0); _floorf (0);
40310 ;
40311 return 0;
40312 }
40313 _ACEOF
40314 if ac_fn_cxx_try_compile "$LINENO"; then :
40315 glibcxx_cv_func__float_round_use=yes
40316 else
40317 glibcxx_cv_func__float_round_use=no
40318 fi
40319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40320 ac_ext=c
40321 ac_cpp='$CPP $CPPFLAGS'
40322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40325
40326 fi
40327
40328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40329 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40330 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40331 for ac_func in _ceilf _floorf
40332 do :
40333 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40334 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40335 eval as_val=\$$as_ac_var
40336 if test "x$as_val" = x""yes; then :
40337 cat >>confdefs.h <<_ACEOF
40338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40339 _ACEOF
40340
40341 fi
40342 done
40343
40344 fi
40345 fi
40346
40347
40348
40349
40350
40351
40352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40353 $as_echo_n "checking for expf declaration... " >&6; }
40354 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40355 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40356 $as_echo_n "(cached) " >&6
40357 else
40358
40359
40360 ac_ext=cpp
40361 ac_cpp='$CXXCPP $CPPFLAGS'
40362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40365
40366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40367 /* end confdefs.h. */
40368 #include <math.h>
40369 #ifdef HAVE_IEEEFP_H
40370 #include <ieeefp.h>
40371 #endif
40372
40373 int
40374 main ()
40375 {
40376 expf(0);
40377 ;
40378 return 0;
40379 }
40380 _ACEOF
40381 if ac_fn_cxx_try_compile "$LINENO"; then :
40382 glibcxx_cv_func_expf_use=yes
40383 else
40384 glibcxx_cv_func_expf_use=no
40385 fi
40386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40387 ac_ext=c
40388 ac_cpp='$CPP $CPPFLAGS'
40389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40392
40393
40394 fi
40395
40396 fi
40397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40398 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40399
40400 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40401 for ac_func in expf
40402 do :
40403 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40404 if test "x$ac_cv_func_expf" = x""yes; then :
40405 cat >>confdefs.h <<_ACEOF
40406 #define HAVE_EXPF 1
40407 _ACEOF
40408
40409 fi
40410 done
40411
40412 else
40413
40414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40415 $as_echo_n "checking for _expf declaration... " >&6; }
40416 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40417 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40418 $as_echo_n "(cached) " >&6
40419 else
40420
40421
40422 ac_ext=cpp
40423 ac_cpp='$CXXCPP $CPPFLAGS'
40424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40427
40428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40429 /* end confdefs.h. */
40430 #include <math.h>
40431 #ifdef HAVE_IEEEFP_H
40432 #include <ieeefp.h>
40433 #endif
40434
40435 int
40436 main ()
40437 {
40438 _expf(0);
40439 ;
40440 return 0;
40441 }
40442 _ACEOF
40443 if ac_fn_cxx_try_compile "$LINENO"; then :
40444 glibcxx_cv_func__expf_use=yes
40445 else
40446 glibcxx_cv_func__expf_use=no
40447 fi
40448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40449 ac_ext=c
40450 ac_cpp='$CPP $CPPFLAGS'
40451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40454
40455
40456 fi
40457
40458 fi
40459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40460 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40461
40462 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40463 for ac_func in _expf
40464 do :
40465 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40466 if test "x$ac_cv_func__expf" = x""yes; then :
40467 cat >>confdefs.h <<_ACEOF
40468 #define HAVE__EXPF 1
40469 _ACEOF
40470
40471 fi
40472 done
40473
40474 fi
40475 fi
40476
40477
40478
40479
40480
40481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40482 $as_echo_n "checking for isnanf declaration... " >&6; }
40483 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40484 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40485 $as_echo_n "(cached) " >&6
40486 else
40487
40488
40489 ac_ext=cpp
40490 ac_cpp='$CXXCPP $CPPFLAGS'
40491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40494
40495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40496 /* end confdefs.h. */
40497 #include <math.h>
40498 #ifdef HAVE_IEEEFP_H
40499 #include <ieeefp.h>
40500 #endif
40501
40502 int
40503 main ()
40504 {
40505 isnanf(0);
40506 ;
40507 return 0;
40508 }
40509 _ACEOF
40510 if ac_fn_cxx_try_compile "$LINENO"; then :
40511 glibcxx_cv_func_isnanf_use=yes
40512 else
40513 glibcxx_cv_func_isnanf_use=no
40514 fi
40515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40516 ac_ext=c
40517 ac_cpp='$CPP $CPPFLAGS'
40518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40521
40522
40523 fi
40524
40525 fi
40526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40527 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40528
40529 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40530 for ac_func in isnanf
40531 do :
40532 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40533 if test "x$ac_cv_func_isnanf" = x""yes; then :
40534 cat >>confdefs.h <<_ACEOF
40535 #define HAVE_ISNANF 1
40536 _ACEOF
40537
40538 fi
40539 done
40540
40541 else
40542
40543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40544 $as_echo_n "checking for _isnanf declaration... " >&6; }
40545 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40546 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40547 $as_echo_n "(cached) " >&6
40548 else
40549
40550
40551 ac_ext=cpp
40552 ac_cpp='$CXXCPP $CPPFLAGS'
40553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40556
40557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40558 /* end confdefs.h. */
40559 #include <math.h>
40560 #ifdef HAVE_IEEEFP_H
40561 #include <ieeefp.h>
40562 #endif
40563
40564 int
40565 main ()
40566 {
40567 _isnanf(0);
40568 ;
40569 return 0;
40570 }
40571 _ACEOF
40572 if ac_fn_cxx_try_compile "$LINENO"; then :
40573 glibcxx_cv_func__isnanf_use=yes
40574 else
40575 glibcxx_cv_func__isnanf_use=no
40576 fi
40577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40578 ac_ext=c
40579 ac_cpp='$CPP $CPPFLAGS'
40580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40583
40584
40585 fi
40586
40587 fi
40588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40589 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40590
40591 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40592 for ac_func in _isnanf
40593 do :
40594 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40595 if test "x$ac_cv_func__isnanf" = x""yes; then :
40596 cat >>confdefs.h <<_ACEOF
40597 #define HAVE__ISNANF 1
40598 _ACEOF
40599
40600 fi
40601 done
40602
40603 fi
40604 fi
40605
40606
40607
40608
40609
40610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40611 $as_echo_n "checking for isinff declaration... " >&6; }
40612 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40613 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40614 $as_echo_n "(cached) " >&6
40615 else
40616
40617
40618 ac_ext=cpp
40619 ac_cpp='$CXXCPP $CPPFLAGS'
40620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40623
40624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40625 /* end confdefs.h. */
40626 #include <math.h>
40627 #ifdef HAVE_IEEEFP_H
40628 #include <ieeefp.h>
40629 #endif
40630
40631 int
40632 main ()
40633 {
40634 isinff(0);
40635 ;
40636 return 0;
40637 }
40638 _ACEOF
40639 if ac_fn_cxx_try_compile "$LINENO"; then :
40640 glibcxx_cv_func_isinff_use=yes
40641 else
40642 glibcxx_cv_func_isinff_use=no
40643 fi
40644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40645 ac_ext=c
40646 ac_cpp='$CPP $CPPFLAGS'
40647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40650
40651
40652 fi
40653
40654 fi
40655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40656 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40657
40658 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40659 for ac_func in isinff
40660 do :
40661 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40662 if test "x$ac_cv_func_isinff" = x""yes; then :
40663 cat >>confdefs.h <<_ACEOF
40664 #define HAVE_ISINFF 1
40665 _ACEOF
40666
40667 fi
40668 done
40669
40670 else
40671
40672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40673 $as_echo_n "checking for _isinff declaration... " >&6; }
40674 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40675 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40676 $as_echo_n "(cached) " >&6
40677 else
40678
40679
40680 ac_ext=cpp
40681 ac_cpp='$CXXCPP $CPPFLAGS'
40682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40685
40686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40687 /* end confdefs.h. */
40688 #include <math.h>
40689 #ifdef HAVE_IEEEFP_H
40690 #include <ieeefp.h>
40691 #endif
40692
40693 int
40694 main ()
40695 {
40696 _isinff(0);
40697 ;
40698 return 0;
40699 }
40700 _ACEOF
40701 if ac_fn_cxx_try_compile "$LINENO"; then :
40702 glibcxx_cv_func__isinff_use=yes
40703 else
40704 glibcxx_cv_func__isinff_use=no
40705 fi
40706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40707 ac_ext=c
40708 ac_cpp='$CPP $CPPFLAGS'
40709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40712
40713
40714 fi
40715
40716 fi
40717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40718 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40719
40720 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40721 for ac_func in _isinff
40722 do :
40723 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40724 if test "x$ac_cv_func__isinff" = x""yes; then :
40725 cat >>confdefs.h <<_ACEOF
40726 #define HAVE__ISINFF 1
40727 _ACEOF
40728
40729 fi
40730 done
40731
40732 fi
40733 fi
40734
40735
40736
40737
40738
40739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40740 $as_echo_n "checking for atan2f declaration... " >&6; }
40741 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40742 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40743 $as_echo_n "(cached) " >&6
40744 else
40745
40746
40747 ac_ext=cpp
40748 ac_cpp='$CXXCPP $CPPFLAGS'
40749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40752
40753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40754 /* end confdefs.h. */
40755 #include <math.h>
40756 int
40757 main ()
40758 {
40759 atan2f(0, 0);
40760 ;
40761 return 0;
40762 }
40763 _ACEOF
40764 if ac_fn_cxx_try_compile "$LINENO"; then :
40765 glibcxx_cv_func_atan2f_use=yes
40766 else
40767 glibcxx_cv_func_atan2f_use=no
40768 fi
40769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40770 ac_ext=c
40771 ac_cpp='$CPP $CPPFLAGS'
40772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40775
40776
40777 fi
40778
40779 fi
40780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40781 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40782
40783 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40784 for ac_func in atan2f
40785 do :
40786 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40787 if test "x$ac_cv_func_atan2f" = x""yes; then :
40788 cat >>confdefs.h <<_ACEOF
40789 #define HAVE_ATAN2F 1
40790 _ACEOF
40791
40792 fi
40793 done
40794
40795 else
40796
40797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40798 $as_echo_n "checking for _atan2f declaration... " >&6; }
40799 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40800 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40801 $as_echo_n "(cached) " >&6
40802 else
40803
40804
40805 ac_ext=cpp
40806 ac_cpp='$CXXCPP $CPPFLAGS'
40807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40810
40811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40812 /* end confdefs.h. */
40813 #include <math.h>
40814 int
40815 main ()
40816 {
40817 _atan2f(0, 0);
40818 ;
40819 return 0;
40820 }
40821 _ACEOF
40822 if ac_fn_cxx_try_compile "$LINENO"; then :
40823 glibcxx_cv_func__atan2f_use=yes
40824 else
40825 glibcxx_cv_func__atan2f_use=no
40826 fi
40827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40828 ac_ext=c
40829 ac_cpp='$CPP $CPPFLAGS'
40830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40833
40834
40835 fi
40836
40837 fi
40838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40839 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40840
40841 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40842 for ac_func in _atan2f
40843 do :
40844 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40845 if test "x$ac_cv_func__atan2f" = x""yes; then :
40846 cat >>confdefs.h <<_ACEOF
40847 #define HAVE__ATAN2F 1
40848 _ACEOF
40849
40850 fi
40851 done
40852
40853 fi
40854 fi
40855
40856
40857
40858
40859
40860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40861 $as_echo_n "checking for fabsf declaration... " >&6; }
40862 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40863 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40864 $as_echo_n "(cached) " >&6
40865 else
40866
40867
40868 ac_ext=cpp
40869 ac_cpp='$CXXCPP $CPPFLAGS'
40870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40873
40874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40875 /* end confdefs.h. */
40876 #include <math.h>
40877 #ifdef HAVE_IEEEFP_H
40878 #include <ieeefp.h>
40879 #endif
40880
40881 int
40882 main ()
40883 {
40884 fabsf(0);
40885 ;
40886 return 0;
40887 }
40888 _ACEOF
40889 if ac_fn_cxx_try_compile "$LINENO"; then :
40890 glibcxx_cv_func_fabsf_use=yes
40891 else
40892 glibcxx_cv_func_fabsf_use=no
40893 fi
40894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40895 ac_ext=c
40896 ac_cpp='$CPP $CPPFLAGS'
40897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40900
40901
40902 fi
40903
40904 fi
40905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40906 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40907
40908 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40909 for ac_func in fabsf
40910 do :
40911 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40912 if test "x$ac_cv_func_fabsf" = x""yes; then :
40913 cat >>confdefs.h <<_ACEOF
40914 #define HAVE_FABSF 1
40915 _ACEOF
40916
40917 fi
40918 done
40919
40920 else
40921
40922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40923 $as_echo_n "checking for _fabsf declaration... " >&6; }
40924 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40925 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40926 $as_echo_n "(cached) " >&6
40927 else
40928
40929
40930 ac_ext=cpp
40931 ac_cpp='$CXXCPP $CPPFLAGS'
40932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40935
40936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40937 /* end confdefs.h. */
40938 #include <math.h>
40939 #ifdef HAVE_IEEEFP_H
40940 #include <ieeefp.h>
40941 #endif
40942
40943 int
40944 main ()
40945 {
40946 _fabsf(0);
40947 ;
40948 return 0;
40949 }
40950 _ACEOF
40951 if ac_fn_cxx_try_compile "$LINENO"; then :
40952 glibcxx_cv_func__fabsf_use=yes
40953 else
40954 glibcxx_cv_func__fabsf_use=no
40955 fi
40956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40957 ac_ext=c
40958 ac_cpp='$CPP $CPPFLAGS'
40959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40962
40963
40964 fi
40965
40966 fi
40967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40968 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40969
40970 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40971 for ac_func in _fabsf
40972 do :
40973 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40974 if test "x$ac_cv_func__fabsf" = x""yes; then :
40975 cat >>confdefs.h <<_ACEOF
40976 #define HAVE__FABSF 1
40977 _ACEOF
40978
40979 fi
40980 done
40981
40982 fi
40983 fi
40984
40985
40986
40987
40988
40989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40990 $as_echo_n "checking for fmodf declaration... " >&6; }
40991 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40992 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40993 $as_echo_n "(cached) " >&6
40994 else
40995
40996
40997 ac_ext=cpp
40998 ac_cpp='$CXXCPP $CPPFLAGS'
40999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41002
41003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41004 /* end confdefs.h. */
41005 #include <math.h>
41006 int
41007 main ()
41008 {
41009 fmodf(0, 0);
41010 ;
41011 return 0;
41012 }
41013 _ACEOF
41014 if ac_fn_cxx_try_compile "$LINENO"; then :
41015 glibcxx_cv_func_fmodf_use=yes
41016 else
41017 glibcxx_cv_func_fmodf_use=no
41018 fi
41019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41020 ac_ext=c
41021 ac_cpp='$CPP $CPPFLAGS'
41022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41025
41026
41027 fi
41028
41029 fi
41030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41031 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41032
41033 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41034 for ac_func in fmodf
41035 do :
41036 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41037 if test "x$ac_cv_func_fmodf" = x""yes; then :
41038 cat >>confdefs.h <<_ACEOF
41039 #define HAVE_FMODF 1
41040 _ACEOF
41041
41042 fi
41043 done
41044
41045 else
41046
41047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41048 $as_echo_n "checking for _fmodf declaration... " >&6; }
41049 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41050 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41051 $as_echo_n "(cached) " >&6
41052 else
41053
41054
41055 ac_ext=cpp
41056 ac_cpp='$CXXCPP $CPPFLAGS'
41057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41060
41061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41062 /* end confdefs.h. */
41063 #include <math.h>
41064 int
41065 main ()
41066 {
41067 _fmodf(0, 0);
41068 ;
41069 return 0;
41070 }
41071 _ACEOF
41072 if ac_fn_cxx_try_compile "$LINENO"; then :
41073 glibcxx_cv_func__fmodf_use=yes
41074 else
41075 glibcxx_cv_func__fmodf_use=no
41076 fi
41077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41078 ac_ext=c
41079 ac_cpp='$CPP $CPPFLAGS'
41080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41083
41084
41085 fi
41086
41087 fi
41088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41089 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41090
41091 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41092 for ac_func in _fmodf
41093 do :
41094 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41095 if test "x$ac_cv_func__fmodf" = x""yes; then :
41096 cat >>confdefs.h <<_ACEOF
41097 #define HAVE__FMODF 1
41098 _ACEOF
41099
41100 fi
41101 done
41102
41103 fi
41104 fi
41105
41106
41107
41108
41109
41110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41111 $as_echo_n "checking for frexpf declaration... " >&6; }
41112 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41113 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41114 $as_echo_n "(cached) " >&6
41115 else
41116
41117
41118 ac_ext=cpp
41119 ac_cpp='$CXXCPP $CPPFLAGS'
41120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41123
41124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41125 /* end confdefs.h. */
41126 #include <math.h>
41127 int
41128 main ()
41129 {
41130 frexpf(0, 0);
41131 ;
41132 return 0;
41133 }
41134 _ACEOF
41135 if ac_fn_cxx_try_compile "$LINENO"; then :
41136 glibcxx_cv_func_frexpf_use=yes
41137 else
41138 glibcxx_cv_func_frexpf_use=no
41139 fi
41140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41141 ac_ext=c
41142 ac_cpp='$CPP $CPPFLAGS'
41143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41146
41147
41148 fi
41149
41150 fi
41151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41152 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41153
41154 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41155 for ac_func in frexpf
41156 do :
41157 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41158 if test "x$ac_cv_func_frexpf" = x""yes; then :
41159 cat >>confdefs.h <<_ACEOF
41160 #define HAVE_FREXPF 1
41161 _ACEOF
41162
41163 fi
41164 done
41165
41166 else
41167
41168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41169 $as_echo_n "checking for _frexpf declaration... " >&6; }
41170 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41171 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41172 $as_echo_n "(cached) " >&6
41173 else
41174
41175
41176 ac_ext=cpp
41177 ac_cpp='$CXXCPP $CPPFLAGS'
41178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41181
41182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41183 /* end confdefs.h. */
41184 #include <math.h>
41185 int
41186 main ()
41187 {
41188 _frexpf(0, 0);
41189 ;
41190 return 0;
41191 }
41192 _ACEOF
41193 if ac_fn_cxx_try_compile "$LINENO"; then :
41194 glibcxx_cv_func__frexpf_use=yes
41195 else
41196 glibcxx_cv_func__frexpf_use=no
41197 fi
41198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41199 ac_ext=c
41200 ac_cpp='$CPP $CPPFLAGS'
41201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41204
41205
41206 fi
41207
41208 fi
41209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41210 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41211
41212 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41213 for ac_func in _frexpf
41214 do :
41215 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41216 if test "x$ac_cv_func__frexpf" = x""yes; then :
41217 cat >>confdefs.h <<_ACEOF
41218 #define HAVE__FREXPF 1
41219 _ACEOF
41220
41221 fi
41222 done
41223
41224 fi
41225 fi
41226
41227
41228
41229
41230
41231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41232 $as_echo_n "checking for hypotf declaration... " >&6; }
41233 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41234 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41235 $as_echo_n "(cached) " >&6
41236 else
41237
41238
41239 ac_ext=cpp
41240 ac_cpp='$CXXCPP $CPPFLAGS'
41241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41244
41245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41246 /* end confdefs.h. */
41247 #include <math.h>
41248 int
41249 main ()
41250 {
41251 hypotf(0, 0);
41252 ;
41253 return 0;
41254 }
41255 _ACEOF
41256 if ac_fn_cxx_try_compile "$LINENO"; then :
41257 glibcxx_cv_func_hypotf_use=yes
41258 else
41259 glibcxx_cv_func_hypotf_use=no
41260 fi
41261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41262 ac_ext=c
41263 ac_cpp='$CPP $CPPFLAGS'
41264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41267
41268
41269 fi
41270
41271 fi
41272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41273 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41274
41275 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41276 for ac_func in hypotf
41277 do :
41278 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41279 if test "x$ac_cv_func_hypotf" = x""yes; then :
41280 cat >>confdefs.h <<_ACEOF
41281 #define HAVE_HYPOTF 1
41282 _ACEOF
41283
41284 fi
41285 done
41286
41287 else
41288
41289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41290 $as_echo_n "checking for _hypotf declaration... " >&6; }
41291 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41292 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41293 $as_echo_n "(cached) " >&6
41294 else
41295
41296
41297 ac_ext=cpp
41298 ac_cpp='$CXXCPP $CPPFLAGS'
41299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41302
41303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41304 /* end confdefs.h. */
41305 #include <math.h>
41306 int
41307 main ()
41308 {
41309 _hypotf(0, 0);
41310 ;
41311 return 0;
41312 }
41313 _ACEOF
41314 if ac_fn_cxx_try_compile "$LINENO"; then :
41315 glibcxx_cv_func__hypotf_use=yes
41316 else
41317 glibcxx_cv_func__hypotf_use=no
41318 fi
41319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41320 ac_ext=c
41321 ac_cpp='$CPP $CPPFLAGS'
41322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41325
41326
41327 fi
41328
41329 fi
41330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41331 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41332
41333 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41334 for ac_func in _hypotf
41335 do :
41336 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41337 if test "x$ac_cv_func__hypotf" = x""yes; then :
41338 cat >>confdefs.h <<_ACEOF
41339 #define HAVE__HYPOTF 1
41340 _ACEOF
41341
41342 fi
41343 done
41344
41345 fi
41346 fi
41347
41348
41349
41350
41351
41352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41353 $as_echo_n "checking for ldexpf declaration... " >&6; }
41354 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41355 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41356 $as_echo_n "(cached) " >&6
41357 else
41358
41359
41360 ac_ext=cpp
41361 ac_cpp='$CXXCPP $CPPFLAGS'
41362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41365
41366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41367 /* end confdefs.h. */
41368 #include <math.h>
41369 int
41370 main ()
41371 {
41372 ldexpf(0, 0);
41373 ;
41374 return 0;
41375 }
41376 _ACEOF
41377 if ac_fn_cxx_try_compile "$LINENO"; then :
41378 glibcxx_cv_func_ldexpf_use=yes
41379 else
41380 glibcxx_cv_func_ldexpf_use=no
41381 fi
41382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41383 ac_ext=c
41384 ac_cpp='$CPP $CPPFLAGS'
41385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41388
41389
41390 fi
41391
41392 fi
41393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41394 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41395
41396 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41397 for ac_func in ldexpf
41398 do :
41399 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41400 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41401 cat >>confdefs.h <<_ACEOF
41402 #define HAVE_LDEXPF 1
41403 _ACEOF
41404
41405 fi
41406 done
41407
41408 else
41409
41410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41411 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41412 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41413 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41414 $as_echo_n "(cached) " >&6
41415 else
41416
41417
41418 ac_ext=cpp
41419 ac_cpp='$CXXCPP $CPPFLAGS'
41420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41423
41424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41425 /* end confdefs.h. */
41426 #include <math.h>
41427 int
41428 main ()
41429 {
41430 _ldexpf(0, 0);
41431 ;
41432 return 0;
41433 }
41434 _ACEOF
41435 if ac_fn_cxx_try_compile "$LINENO"; then :
41436 glibcxx_cv_func__ldexpf_use=yes
41437 else
41438 glibcxx_cv_func__ldexpf_use=no
41439 fi
41440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41441 ac_ext=c
41442 ac_cpp='$CPP $CPPFLAGS'
41443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41446
41447
41448 fi
41449
41450 fi
41451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41452 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41453
41454 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41455 for ac_func in _ldexpf
41456 do :
41457 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41458 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41459 cat >>confdefs.h <<_ACEOF
41460 #define HAVE__LDEXPF 1
41461 _ACEOF
41462
41463 fi
41464 done
41465
41466 fi
41467 fi
41468
41469
41470
41471
41472
41473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41474 $as_echo_n "checking for logf declaration... " >&6; }
41475 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41476 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41477 $as_echo_n "(cached) " >&6
41478 else
41479
41480
41481 ac_ext=cpp
41482 ac_cpp='$CXXCPP $CPPFLAGS'
41483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41486
41487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41488 /* end confdefs.h. */
41489 #include <math.h>
41490 #ifdef HAVE_IEEEFP_H
41491 #include <ieeefp.h>
41492 #endif
41493
41494 int
41495 main ()
41496 {
41497 logf(0);
41498 ;
41499 return 0;
41500 }
41501 _ACEOF
41502 if ac_fn_cxx_try_compile "$LINENO"; then :
41503 glibcxx_cv_func_logf_use=yes
41504 else
41505 glibcxx_cv_func_logf_use=no
41506 fi
41507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41508 ac_ext=c
41509 ac_cpp='$CPP $CPPFLAGS'
41510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41513
41514
41515 fi
41516
41517 fi
41518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41519 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41520
41521 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41522 for ac_func in logf
41523 do :
41524 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41525 if test "x$ac_cv_func_logf" = x""yes; then :
41526 cat >>confdefs.h <<_ACEOF
41527 #define HAVE_LOGF 1
41528 _ACEOF
41529
41530 fi
41531 done
41532
41533 else
41534
41535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41536 $as_echo_n "checking for _logf declaration... " >&6; }
41537 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41538 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41539 $as_echo_n "(cached) " >&6
41540 else
41541
41542
41543 ac_ext=cpp
41544 ac_cpp='$CXXCPP $CPPFLAGS'
41545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41548
41549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41550 /* end confdefs.h. */
41551 #include <math.h>
41552 #ifdef HAVE_IEEEFP_H
41553 #include <ieeefp.h>
41554 #endif
41555
41556 int
41557 main ()
41558 {
41559 _logf(0);
41560 ;
41561 return 0;
41562 }
41563 _ACEOF
41564 if ac_fn_cxx_try_compile "$LINENO"; then :
41565 glibcxx_cv_func__logf_use=yes
41566 else
41567 glibcxx_cv_func__logf_use=no
41568 fi
41569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41570 ac_ext=c
41571 ac_cpp='$CPP $CPPFLAGS'
41572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41575
41576
41577 fi
41578
41579 fi
41580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41581 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41582
41583 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41584 for ac_func in _logf
41585 do :
41586 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41587 if test "x$ac_cv_func__logf" = x""yes; then :
41588 cat >>confdefs.h <<_ACEOF
41589 #define HAVE__LOGF 1
41590 _ACEOF
41591
41592 fi
41593 done
41594
41595 fi
41596 fi
41597
41598
41599
41600
41601
41602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41603 $as_echo_n "checking for log10f declaration... " >&6; }
41604 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41605 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41606 $as_echo_n "(cached) " >&6
41607 else
41608
41609
41610 ac_ext=cpp
41611 ac_cpp='$CXXCPP $CPPFLAGS'
41612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41615
41616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41617 /* end confdefs.h. */
41618 #include <math.h>
41619 #ifdef HAVE_IEEEFP_H
41620 #include <ieeefp.h>
41621 #endif
41622
41623 int
41624 main ()
41625 {
41626 log10f(0);
41627 ;
41628 return 0;
41629 }
41630 _ACEOF
41631 if ac_fn_cxx_try_compile "$LINENO"; then :
41632 glibcxx_cv_func_log10f_use=yes
41633 else
41634 glibcxx_cv_func_log10f_use=no
41635 fi
41636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41637 ac_ext=c
41638 ac_cpp='$CPP $CPPFLAGS'
41639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41642
41643
41644 fi
41645
41646 fi
41647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41648 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41649
41650 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41651 for ac_func in log10f
41652 do :
41653 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41654 if test "x$ac_cv_func_log10f" = x""yes; then :
41655 cat >>confdefs.h <<_ACEOF
41656 #define HAVE_LOG10F 1
41657 _ACEOF
41658
41659 fi
41660 done
41661
41662 else
41663
41664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41665 $as_echo_n "checking for _log10f declaration... " >&6; }
41666 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41667 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41668 $as_echo_n "(cached) " >&6
41669 else
41670
41671
41672 ac_ext=cpp
41673 ac_cpp='$CXXCPP $CPPFLAGS'
41674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41677
41678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41679 /* end confdefs.h. */
41680 #include <math.h>
41681 #ifdef HAVE_IEEEFP_H
41682 #include <ieeefp.h>
41683 #endif
41684
41685 int
41686 main ()
41687 {
41688 _log10f(0);
41689 ;
41690 return 0;
41691 }
41692 _ACEOF
41693 if ac_fn_cxx_try_compile "$LINENO"; then :
41694 glibcxx_cv_func__log10f_use=yes
41695 else
41696 glibcxx_cv_func__log10f_use=no
41697 fi
41698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41699 ac_ext=c
41700 ac_cpp='$CPP $CPPFLAGS'
41701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41704
41705
41706 fi
41707
41708 fi
41709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41710 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41711
41712 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41713 for ac_func in _log10f
41714 do :
41715 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41716 if test "x$ac_cv_func__log10f" = x""yes; then :
41717 cat >>confdefs.h <<_ACEOF
41718 #define HAVE__LOG10F 1
41719 _ACEOF
41720
41721 fi
41722 done
41723
41724 fi
41725 fi
41726
41727
41728
41729
41730
41731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41732 $as_echo_n "checking for modff declaration... " >&6; }
41733 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41734 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41735 $as_echo_n "(cached) " >&6
41736 else
41737
41738
41739 ac_ext=cpp
41740 ac_cpp='$CXXCPP $CPPFLAGS'
41741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41744
41745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41746 /* end confdefs.h. */
41747 #include <math.h>
41748 int
41749 main ()
41750 {
41751 modff(0, 0);
41752 ;
41753 return 0;
41754 }
41755 _ACEOF
41756 if ac_fn_cxx_try_compile "$LINENO"; then :
41757 glibcxx_cv_func_modff_use=yes
41758 else
41759 glibcxx_cv_func_modff_use=no
41760 fi
41761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41762 ac_ext=c
41763 ac_cpp='$CPP $CPPFLAGS'
41764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41767
41768
41769 fi
41770
41771 fi
41772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41773 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41774
41775 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41776 for ac_func in modff
41777 do :
41778 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41779 if test "x$ac_cv_func_modff" = x""yes; then :
41780 cat >>confdefs.h <<_ACEOF
41781 #define HAVE_MODFF 1
41782 _ACEOF
41783
41784 fi
41785 done
41786
41787 else
41788
41789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41790 $as_echo_n "checking for _modff declaration... " >&6; }
41791 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41792 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41793 $as_echo_n "(cached) " >&6
41794 else
41795
41796
41797 ac_ext=cpp
41798 ac_cpp='$CXXCPP $CPPFLAGS'
41799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41802
41803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41804 /* end confdefs.h. */
41805 #include <math.h>
41806 int
41807 main ()
41808 {
41809 _modff(0, 0);
41810 ;
41811 return 0;
41812 }
41813 _ACEOF
41814 if ac_fn_cxx_try_compile "$LINENO"; then :
41815 glibcxx_cv_func__modff_use=yes
41816 else
41817 glibcxx_cv_func__modff_use=no
41818 fi
41819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41820 ac_ext=c
41821 ac_cpp='$CPP $CPPFLAGS'
41822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41825
41826
41827 fi
41828
41829 fi
41830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41831 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41832
41833 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41834 for ac_func in _modff
41835 do :
41836 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41837 if test "x$ac_cv_func__modff" = x""yes; then :
41838 cat >>confdefs.h <<_ACEOF
41839 #define HAVE__MODFF 1
41840 _ACEOF
41841
41842 fi
41843 done
41844
41845 fi
41846 fi
41847
41848
41849
41850
41851
41852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41853 $as_echo_n "checking for modf declaration... " >&6; }
41854 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41855 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41856 $as_echo_n "(cached) " >&6
41857 else
41858
41859
41860 ac_ext=cpp
41861 ac_cpp='$CXXCPP $CPPFLAGS'
41862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41865
41866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41867 /* end confdefs.h. */
41868 #include <math.h>
41869 int
41870 main ()
41871 {
41872 modf(0, 0);
41873 ;
41874 return 0;
41875 }
41876 _ACEOF
41877 if ac_fn_cxx_try_compile "$LINENO"; then :
41878 glibcxx_cv_func_modf_use=yes
41879 else
41880 glibcxx_cv_func_modf_use=no
41881 fi
41882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41883 ac_ext=c
41884 ac_cpp='$CPP $CPPFLAGS'
41885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41888
41889
41890 fi
41891
41892 fi
41893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41894 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41895
41896 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41897 for ac_func in modf
41898 do :
41899 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41900 if test "x$ac_cv_func_modf" = x""yes; then :
41901 cat >>confdefs.h <<_ACEOF
41902 #define HAVE_MODF 1
41903 _ACEOF
41904
41905 fi
41906 done
41907
41908 else
41909
41910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41911 $as_echo_n "checking for _modf declaration... " >&6; }
41912 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41913 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41914 $as_echo_n "(cached) " >&6
41915 else
41916
41917
41918 ac_ext=cpp
41919 ac_cpp='$CXXCPP $CPPFLAGS'
41920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41923
41924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41925 /* end confdefs.h. */
41926 #include <math.h>
41927 int
41928 main ()
41929 {
41930 _modf(0, 0);
41931 ;
41932 return 0;
41933 }
41934 _ACEOF
41935 if ac_fn_cxx_try_compile "$LINENO"; then :
41936 glibcxx_cv_func__modf_use=yes
41937 else
41938 glibcxx_cv_func__modf_use=no
41939 fi
41940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41941 ac_ext=c
41942 ac_cpp='$CPP $CPPFLAGS'
41943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41946
41947
41948 fi
41949
41950 fi
41951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41952 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41953
41954 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41955 for ac_func in _modf
41956 do :
41957 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41958 if test "x$ac_cv_func__modf" = x""yes; then :
41959 cat >>confdefs.h <<_ACEOF
41960 #define HAVE__MODF 1
41961 _ACEOF
41962
41963 fi
41964 done
41965
41966 fi
41967 fi
41968
41969
41970
41971
41972
41973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41974 $as_echo_n "checking for powf declaration... " >&6; }
41975 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41976 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41977 $as_echo_n "(cached) " >&6
41978 else
41979
41980
41981 ac_ext=cpp
41982 ac_cpp='$CXXCPP $CPPFLAGS'
41983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41986
41987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41988 /* end confdefs.h. */
41989 #include <math.h>
41990 int
41991 main ()
41992 {
41993 powf(0, 0);
41994 ;
41995 return 0;
41996 }
41997 _ACEOF
41998 if ac_fn_cxx_try_compile "$LINENO"; then :
41999 glibcxx_cv_func_powf_use=yes
42000 else
42001 glibcxx_cv_func_powf_use=no
42002 fi
42003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42004 ac_ext=c
42005 ac_cpp='$CPP $CPPFLAGS'
42006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42009
42010
42011 fi
42012
42013 fi
42014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42015 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42016
42017 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42018 for ac_func in powf
42019 do :
42020 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42021 if test "x$ac_cv_func_powf" = x""yes; then :
42022 cat >>confdefs.h <<_ACEOF
42023 #define HAVE_POWF 1
42024 _ACEOF
42025
42026 fi
42027 done
42028
42029 else
42030
42031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42032 $as_echo_n "checking for _powf declaration... " >&6; }
42033 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42034 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42035 $as_echo_n "(cached) " >&6
42036 else
42037
42038
42039 ac_ext=cpp
42040 ac_cpp='$CXXCPP $CPPFLAGS'
42041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42044
42045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42046 /* end confdefs.h. */
42047 #include <math.h>
42048 int
42049 main ()
42050 {
42051 _powf(0, 0);
42052 ;
42053 return 0;
42054 }
42055 _ACEOF
42056 if ac_fn_cxx_try_compile "$LINENO"; then :
42057 glibcxx_cv_func__powf_use=yes
42058 else
42059 glibcxx_cv_func__powf_use=no
42060 fi
42061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42062 ac_ext=c
42063 ac_cpp='$CPP $CPPFLAGS'
42064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42067
42068
42069 fi
42070
42071 fi
42072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42073 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42074
42075 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42076 for ac_func in _powf
42077 do :
42078 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42079 if test "x$ac_cv_func__powf" = x""yes; then :
42080 cat >>confdefs.h <<_ACEOF
42081 #define HAVE__POWF 1
42082 _ACEOF
42083
42084 fi
42085 done
42086
42087 fi
42088 fi
42089
42090
42091
42092
42093
42094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42095 $as_echo_n "checking for sqrtf declaration... " >&6; }
42096 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42097 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42098 $as_echo_n "(cached) " >&6
42099 else
42100
42101
42102 ac_ext=cpp
42103 ac_cpp='$CXXCPP $CPPFLAGS'
42104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42107
42108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42109 /* end confdefs.h. */
42110 #include <math.h>
42111 #ifdef HAVE_IEEEFP_H
42112 #include <ieeefp.h>
42113 #endif
42114
42115 int
42116 main ()
42117 {
42118 sqrtf(0);
42119 ;
42120 return 0;
42121 }
42122 _ACEOF
42123 if ac_fn_cxx_try_compile "$LINENO"; then :
42124 glibcxx_cv_func_sqrtf_use=yes
42125 else
42126 glibcxx_cv_func_sqrtf_use=no
42127 fi
42128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42129 ac_ext=c
42130 ac_cpp='$CPP $CPPFLAGS'
42131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42134
42135
42136 fi
42137
42138 fi
42139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42140 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42141
42142 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42143 for ac_func in sqrtf
42144 do :
42145 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42146 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42147 cat >>confdefs.h <<_ACEOF
42148 #define HAVE_SQRTF 1
42149 _ACEOF
42150
42151 fi
42152 done
42153
42154 else
42155
42156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42157 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42158 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42159 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42160 $as_echo_n "(cached) " >&6
42161 else
42162
42163
42164 ac_ext=cpp
42165 ac_cpp='$CXXCPP $CPPFLAGS'
42166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42169
42170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42171 /* end confdefs.h. */
42172 #include <math.h>
42173 #ifdef HAVE_IEEEFP_H
42174 #include <ieeefp.h>
42175 #endif
42176
42177 int
42178 main ()
42179 {
42180 _sqrtf(0);
42181 ;
42182 return 0;
42183 }
42184 _ACEOF
42185 if ac_fn_cxx_try_compile "$LINENO"; then :
42186 glibcxx_cv_func__sqrtf_use=yes
42187 else
42188 glibcxx_cv_func__sqrtf_use=no
42189 fi
42190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42191 ac_ext=c
42192 ac_cpp='$CPP $CPPFLAGS'
42193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42196
42197
42198 fi
42199
42200 fi
42201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42202 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42203
42204 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42205 for ac_func in _sqrtf
42206 do :
42207 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42208 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42209 cat >>confdefs.h <<_ACEOF
42210 #define HAVE__SQRTF 1
42211 _ACEOF
42212
42213 fi
42214 done
42215
42216 fi
42217 fi
42218
42219
42220
42221
42222
42223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42224 $as_echo_n "checking for sincosf declaration... " >&6; }
42225 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42226 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42227 $as_echo_n "(cached) " >&6
42228 else
42229
42230
42231 ac_ext=cpp
42232 ac_cpp='$CXXCPP $CPPFLAGS'
42233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42236
42237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42238 /* end confdefs.h. */
42239 #include <math.h>
42240 int
42241 main ()
42242 {
42243 sincosf(0, 0, 0);
42244 ;
42245 return 0;
42246 }
42247 _ACEOF
42248 if ac_fn_cxx_try_compile "$LINENO"; then :
42249 glibcxx_cv_func_sincosf_use=yes
42250 else
42251 glibcxx_cv_func_sincosf_use=no
42252 fi
42253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42254 ac_ext=c
42255 ac_cpp='$CPP $CPPFLAGS'
42256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42259
42260
42261 fi
42262
42263 fi
42264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42265 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42266
42267 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42268 for ac_func in sincosf
42269 do :
42270 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42271 if test "x$ac_cv_func_sincosf" = x""yes; then :
42272 cat >>confdefs.h <<_ACEOF
42273 #define HAVE_SINCOSF 1
42274 _ACEOF
42275
42276 fi
42277 done
42278
42279 else
42280
42281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42282 $as_echo_n "checking for _sincosf declaration... " >&6; }
42283 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42284 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42285 $as_echo_n "(cached) " >&6
42286 else
42287
42288
42289 ac_ext=cpp
42290 ac_cpp='$CXXCPP $CPPFLAGS'
42291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42294
42295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42296 /* end confdefs.h. */
42297 #include <math.h>
42298 int
42299 main ()
42300 {
42301 _sincosf(0, 0, 0);
42302 ;
42303 return 0;
42304 }
42305 _ACEOF
42306 if ac_fn_cxx_try_compile "$LINENO"; then :
42307 glibcxx_cv_func__sincosf_use=yes
42308 else
42309 glibcxx_cv_func__sincosf_use=no
42310 fi
42311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42312 ac_ext=c
42313 ac_cpp='$CPP $CPPFLAGS'
42314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42317
42318
42319 fi
42320
42321 fi
42322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42323 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42324
42325 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42326 for ac_func in _sincosf
42327 do :
42328 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42329 if test "x$ac_cv_func__sincosf" = x""yes; then :
42330 cat >>confdefs.h <<_ACEOF
42331 #define HAVE__SINCOSF 1
42332 _ACEOF
42333
42334 fi
42335 done
42336
42337 fi
42338 fi
42339
42340
42341
42342
42343
42344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42345 $as_echo_n "checking for finitef declaration... " >&6; }
42346 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42347 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42348 $as_echo_n "(cached) " >&6
42349 else
42350
42351
42352 ac_ext=cpp
42353 ac_cpp='$CXXCPP $CPPFLAGS'
42354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42357
42358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42359 /* end confdefs.h. */
42360 #include <math.h>
42361 #ifdef HAVE_IEEEFP_H
42362 #include <ieeefp.h>
42363 #endif
42364
42365 int
42366 main ()
42367 {
42368 finitef(0);
42369 ;
42370 return 0;
42371 }
42372 _ACEOF
42373 if ac_fn_cxx_try_compile "$LINENO"; then :
42374 glibcxx_cv_func_finitef_use=yes
42375 else
42376 glibcxx_cv_func_finitef_use=no
42377 fi
42378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42379 ac_ext=c
42380 ac_cpp='$CPP $CPPFLAGS'
42381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42384
42385
42386 fi
42387
42388 fi
42389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42390 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42391
42392 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42393 for ac_func in finitef
42394 do :
42395 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42396 if test "x$ac_cv_func_finitef" = x""yes; then :
42397 cat >>confdefs.h <<_ACEOF
42398 #define HAVE_FINITEF 1
42399 _ACEOF
42400
42401 fi
42402 done
42403
42404 else
42405
42406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42407 $as_echo_n "checking for _finitef declaration... " >&6; }
42408 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42409 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42410 $as_echo_n "(cached) " >&6
42411 else
42412
42413
42414 ac_ext=cpp
42415 ac_cpp='$CXXCPP $CPPFLAGS'
42416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42419
42420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42421 /* end confdefs.h. */
42422 #include <math.h>
42423 #ifdef HAVE_IEEEFP_H
42424 #include <ieeefp.h>
42425 #endif
42426
42427 int
42428 main ()
42429 {
42430 _finitef(0);
42431 ;
42432 return 0;
42433 }
42434 _ACEOF
42435 if ac_fn_cxx_try_compile "$LINENO"; then :
42436 glibcxx_cv_func__finitef_use=yes
42437 else
42438 glibcxx_cv_func__finitef_use=no
42439 fi
42440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42441 ac_ext=c
42442 ac_cpp='$CPP $CPPFLAGS'
42443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42446
42447
42448 fi
42449
42450 fi
42451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42452 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42453
42454 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42455 for ac_func in _finitef
42456 do :
42457 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42458 if test "x$ac_cv_func__finitef" = x""yes; then :
42459 cat >>confdefs.h <<_ACEOF
42460 #define HAVE__FINITEF 1
42461 _ACEOF
42462
42463 fi
42464 done
42465
42466 fi
42467 fi
42468
42469
42470
42471
42472
42473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42474 $as_echo_n "checking for long double trig functions... " >&6; }
42475 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42476 $as_echo_n "(cached) " >&6
42477 else
42478
42479
42480 ac_ext=cpp
42481 ac_cpp='$CXXCPP $CPPFLAGS'
42482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42485
42486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42487 /* end confdefs.h. */
42488 #include <math.h>
42489 int
42490 main ()
42491 {
42492 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42493 ;
42494 return 0;
42495 }
42496 _ACEOF
42497 if ac_fn_cxx_try_compile "$LINENO"; then :
42498 glibcxx_cv_func_long_double_trig_use=yes
42499 else
42500 glibcxx_cv_func_long_double_trig_use=no
42501 fi
42502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42503 ac_ext=c
42504 ac_cpp='$CPP $CPPFLAGS'
42505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42508
42509 fi
42510
42511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42512 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42513 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42514 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42515 do :
42516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42518 eval as_val=\$$as_ac_var
42519 if test "x$as_val" = x""yes; then :
42520 cat >>confdefs.h <<_ACEOF
42521 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42522 _ACEOF
42523
42524 fi
42525 done
42526
42527 else
42528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42529 $as_echo_n "checking for _long double trig functions... " >&6; }
42530 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42531 $as_echo_n "(cached) " >&6
42532 else
42533
42534
42535 ac_ext=cpp
42536 ac_cpp='$CXXCPP $CPPFLAGS'
42537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42540
42541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42542 /* end confdefs.h. */
42543 #include <math.h>
42544 int
42545 main ()
42546 {
42547 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42548 ;
42549 return 0;
42550 }
42551 _ACEOF
42552 if ac_fn_cxx_try_compile "$LINENO"; then :
42553 glibcxx_cv_func__long_double_trig_use=yes
42554 else
42555 glibcxx_cv_func__long_double_trig_use=no
42556 fi
42557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42558 ac_ext=c
42559 ac_cpp='$CPP $CPPFLAGS'
42560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42563
42564 fi
42565
42566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42567 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42568 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42569 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42570 do :
42571 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42572 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42573 eval as_val=\$$as_ac_var
42574 if test "x$as_val" = x""yes; then :
42575 cat >>confdefs.h <<_ACEOF
42576 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42577 _ACEOF
42578
42579 fi
42580 done
42581
42582 fi
42583 fi
42584
42585
42586
42587
42588
42589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42590 $as_echo_n "checking for long double round functions... " >&6; }
42591 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42592 $as_echo_n "(cached) " >&6
42593 else
42594
42595
42596 ac_ext=cpp
42597 ac_cpp='$CXXCPP $CPPFLAGS'
42598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42601
42602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42603 /* end confdefs.h. */
42604 #include <math.h>
42605 int
42606 main ()
42607 {
42608 ceill (0); floorl (0);
42609 ;
42610 return 0;
42611 }
42612 _ACEOF
42613 if ac_fn_cxx_try_compile "$LINENO"; then :
42614 glibcxx_cv_func_long_double_round_use=yes
42615 else
42616 glibcxx_cv_func_long_double_round_use=no
42617 fi
42618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42619 ac_ext=c
42620 ac_cpp='$CPP $CPPFLAGS'
42621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42624
42625 fi
42626
42627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42628 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42629 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42630 for ac_func in ceill floorl
42631 do :
42632 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42633 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42634 eval as_val=\$$as_ac_var
42635 if test "x$as_val" = x""yes; then :
42636 cat >>confdefs.h <<_ACEOF
42637 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42638 _ACEOF
42639
42640 fi
42641 done
42642
42643 else
42644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42645 $as_echo_n "checking for _long double round functions... " >&6; }
42646 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42647 $as_echo_n "(cached) " >&6
42648 else
42649
42650
42651 ac_ext=cpp
42652 ac_cpp='$CXXCPP $CPPFLAGS'
42653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42656
42657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42658 /* end confdefs.h. */
42659 #include <math.h>
42660 int
42661 main ()
42662 {
42663 _ceill (0); _floorl (0);
42664 ;
42665 return 0;
42666 }
42667 _ACEOF
42668 if ac_fn_cxx_try_compile "$LINENO"; then :
42669 glibcxx_cv_func__long_double_round_use=yes
42670 else
42671 glibcxx_cv_func__long_double_round_use=no
42672 fi
42673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42674 ac_ext=c
42675 ac_cpp='$CPP $CPPFLAGS'
42676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42679
42680 fi
42681
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42683 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42684 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42685 for ac_func in _ceill _floorl
42686 do :
42687 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42688 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42689 eval as_val=\$$as_ac_var
42690 if test "x$as_val" = x""yes; then :
42691 cat >>confdefs.h <<_ACEOF
42692 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42693 _ACEOF
42694
42695 fi
42696 done
42697
42698 fi
42699 fi
42700
42701
42702
42703
42704
42705
42706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42707 $as_echo_n "checking for isnanl declaration... " >&6; }
42708 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42709 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42710 $as_echo_n "(cached) " >&6
42711 else
42712
42713
42714 ac_ext=cpp
42715 ac_cpp='$CXXCPP $CPPFLAGS'
42716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42719
42720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42721 /* end confdefs.h. */
42722 #include <math.h>
42723 #ifdef HAVE_IEEEFP_H
42724 #include <ieeefp.h>
42725 #endif
42726
42727 int
42728 main ()
42729 {
42730 isnanl(0);
42731 ;
42732 return 0;
42733 }
42734 _ACEOF
42735 if ac_fn_cxx_try_compile "$LINENO"; then :
42736 glibcxx_cv_func_isnanl_use=yes
42737 else
42738 glibcxx_cv_func_isnanl_use=no
42739 fi
42740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42741 ac_ext=c
42742 ac_cpp='$CPP $CPPFLAGS'
42743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42746
42747
42748 fi
42749
42750 fi
42751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42752 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42753
42754 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42755 for ac_func in isnanl
42756 do :
42757 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42758 if test "x$ac_cv_func_isnanl" = x""yes; then :
42759 cat >>confdefs.h <<_ACEOF
42760 #define HAVE_ISNANL 1
42761 _ACEOF
42762
42763 fi
42764 done
42765
42766 else
42767
42768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42769 $as_echo_n "checking for _isnanl declaration... " >&6; }
42770 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42771 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42772 $as_echo_n "(cached) " >&6
42773 else
42774
42775
42776 ac_ext=cpp
42777 ac_cpp='$CXXCPP $CPPFLAGS'
42778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42781
42782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42783 /* end confdefs.h. */
42784 #include <math.h>
42785 #ifdef HAVE_IEEEFP_H
42786 #include <ieeefp.h>
42787 #endif
42788
42789 int
42790 main ()
42791 {
42792 _isnanl(0);
42793 ;
42794 return 0;
42795 }
42796 _ACEOF
42797 if ac_fn_cxx_try_compile "$LINENO"; then :
42798 glibcxx_cv_func__isnanl_use=yes
42799 else
42800 glibcxx_cv_func__isnanl_use=no
42801 fi
42802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42803 ac_ext=c
42804 ac_cpp='$CPP $CPPFLAGS'
42805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42808
42809
42810 fi
42811
42812 fi
42813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42814 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42815
42816 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42817 for ac_func in _isnanl
42818 do :
42819 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42820 if test "x$ac_cv_func__isnanl" = x""yes; then :
42821 cat >>confdefs.h <<_ACEOF
42822 #define HAVE__ISNANL 1
42823 _ACEOF
42824
42825 fi
42826 done
42827
42828 fi
42829 fi
42830
42831
42832
42833
42834
42835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42836 $as_echo_n "checking for isinfl declaration... " >&6; }
42837 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42838 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42839 $as_echo_n "(cached) " >&6
42840 else
42841
42842
42843 ac_ext=cpp
42844 ac_cpp='$CXXCPP $CPPFLAGS'
42845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42848
42849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42850 /* end confdefs.h. */
42851 #include <math.h>
42852 #ifdef HAVE_IEEEFP_H
42853 #include <ieeefp.h>
42854 #endif
42855
42856 int
42857 main ()
42858 {
42859 isinfl(0);
42860 ;
42861 return 0;
42862 }
42863 _ACEOF
42864 if ac_fn_cxx_try_compile "$LINENO"; then :
42865 glibcxx_cv_func_isinfl_use=yes
42866 else
42867 glibcxx_cv_func_isinfl_use=no
42868 fi
42869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42870 ac_ext=c
42871 ac_cpp='$CPP $CPPFLAGS'
42872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42875
42876
42877 fi
42878
42879 fi
42880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42881 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42882
42883 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42884 for ac_func in isinfl
42885 do :
42886 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42887 if test "x$ac_cv_func_isinfl" = x""yes; then :
42888 cat >>confdefs.h <<_ACEOF
42889 #define HAVE_ISINFL 1
42890 _ACEOF
42891
42892 fi
42893 done
42894
42895 else
42896
42897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42898 $as_echo_n "checking for _isinfl declaration... " >&6; }
42899 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42900 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42901 $as_echo_n "(cached) " >&6
42902 else
42903
42904
42905 ac_ext=cpp
42906 ac_cpp='$CXXCPP $CPPFLAGS'
42907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42910
42911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42912 /* end confdefs.h. */
42913 #include <math.h>
42914 #ifdef HAVE_IEEEFP_H
42915 #include <ieeefp.h>
42916 #endif
42917
42918 int
42919 main ()
42920 {
42921 _isinfl(0);
42922 ;
42923 return 0;
42924 }
42925 _ACEOF
42926 if ac_fn_cxx_try_compile "$LINENO"; then :
42927 glibcxx_cv_func__isinfl_use=yes
42928 else
42929 glibcxx_cv_func__isinfl_use=no
42930 fi
42931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42932 ac_ext=c
42933 ac_cpp='$CPP $CPPFLAGS'
42934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42937
42938
42939 fi
42940
42941 fi
42942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42943 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42944
42945 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42946 for ac_func in _isinfl
42947 do :
42948 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42949 if test "x$ac_cv_func__isinfl" = x""yes; then :
42950 cat >>confdefs.h <<_ACEOF
42951 #define HAVE__ISINFL 1
42952 _ACEOF
42953
42954 fi
42955 done
42956
42957 fi
42958 fi
42959
42960
42961
42962
42963
42964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42965 $as_echo_n "checking for atan2l declaration... " >&6; }
42966 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42967 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42968 $as_echo_n "(cached) " >&6
42969 else
42970
42971
42972 ac_ext=cpp
42973 ac_cpp='$CXXCPP $CPPFLAGS'
42974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42977
42978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42979 /* end confdefs.h. */
42980 #include <math.h>
42981 int
42982 main ()
42983 {
42984 atan2l(0, 0);
42985 ;
42986 return 0;
42987 }
42988 _ACEOF
42989 if ac_fn_cxx_try_compile "$LINENO"; then :
42990 glibcxx_cv_func_atan2l_use=yes
42991 else
42992 glibcxx_cv_func_atan2l_use=no
42993 fi
42994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42995 ac_ext=c
42996 ac_cpp='$CPP $CPPFLAGS'
42997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43000
43001
43002 fi
43003
43004 fi
43005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43006 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43007
43008 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43009 for ac_func in atan2l
43010 do :
43011 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43012 if test "x$ac_cv_func_atan2l" = x""yes; then :
43013 cat >>confdefs.h <<_ACEOF
43014 #define HAVE_ATAN2L 1
43015 _ACEOF
43016
43017 fi
43018 done
43019
43020 else
43021
43022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43023 $as_echo_n "checking for _atan2l declaration... " >&6; }
43024 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43025 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43026 $as_echo_n "(cached) " >&6
43027 else
43028
43029
43030 ac_ext=cpp
43031 ac_cpp='$CXXCPP $CPPFLAGS'
43032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43035
43036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43037 /* end confdefs.h. */
43038 #include <math.h>
43039 int
43040 main ()
43041 {
43042 _atan2l(0, 0);
43043 ;
43044 return 0;
43045 }
43046 _ACEOF
43047 if ac_fn_cxx_try_compile "$LINENO"; then :
43048 glibcxx_cv_func__atan2l_use=yes
43049 else
43050 glibcxx_cv_func__atan2l_use=no
43051 fi
43052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43053 ac_ext=c
43054 ac_cpp='$CPP $CPPFLAGS'
43055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43058
43059
43060 fi
43061
43062 fi
43063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43064 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43065
43066 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43067 for ac_func in _atan2l
43068 do :
43069 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43070 if test "x$ac_cv_func__atan2l" = x""yes; then :
43071 cat >>confdefs.h <<_ACEOF
43072 #define HAVE__ATAN2L 1
43073 _ACEOF
43074
43075 fi
43076 done
43077
43078 fi
43079 fi
43080
43081
43082
43083
43084
43085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43086 $as_echo_n "checking for expl declaration... " >&6; }
43087 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43088 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43089 $as_echo_n "(cached) " >&6
43090 else
43091
43092
43093 ac_ext=cpp
43094 ac_cpp='$CXXCPP $CPPFLAGS'
43095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43098
43099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43100 /* end confdefs.h. */
43101 #include <math.h>
43102 #ifdef HAVE_IEEEFP_H
43103 #include <ieeefp.h>
43104 #endif
43105
43106 int
43107 main ()
43108 {
43109 expl(0);
43110 ;
43111 return 0;
43112 }
43113 _ACEOF
43114 if ac_fn_cxx_try_compile "$LINENO"; then :
43115 glibcxx_cv_func_expl_use=yes
43116 else
43117 glibcxx_cv_func_expl_use=no
43118 fi
43119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43120 ac_ext=c
43121 ac_cpp='$CPP $CPPFLAGS'
43122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43125
43126
43127 fi
43128
43129 fi
43130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43131 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43132
43133 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43134 for ac_func in expl
43135 do :
43136 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43137 if test "x$ac_cv_func_expl" = x""yes; then :
43138 cat >>confdefs.h <<_ACEOF
43139 #define HAVE_EXPL 1
43140 _ACEOF
43141
43142 fi
43143 done
43144
43145 else
43146
43147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43148 $as_echo_n "checking for _expl declaration... " >&6; }
43149 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43150 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43151 $as_echo_n "(cached) " >&6
43152 else
43153
43154
43155 ac_ext=cpp
43156 ac_cpp='$CXXCPP $CPPFLAGS'
43157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43160
43161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43162 /* end confdefs.h. */
43163 #include <math.h>
43164 #ifdef HAVE_IEEEFP_H
43165 #include <ieeefp.h>
43166 #endif
43167
43168 int
43169 main ()
43170 {
43171 _expl(0);
43172 ;
43173 return 0;
43174 }
43175 _ACEOF
43176 if ac_fn_cxx_try_compile "$LINENO"; then :
43177 glibcxx_cv_func__expl_use=yes
43178 else
43179 glibcxx_cv_func__expl_use=no
43180 fi
43181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43182 ac_ext=c
43183 ac_cpp='$CPP $CPPFLAGS'
43184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43187
43188
43189 fi
43190
43191 fi
43192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43193 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43194
43195 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43196 for ac_func in _expl
43197 do :
43198 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43199 if test "x$ac_cv_func__expl" = x""yes; then :
43200 cat >>confdefs.h <<_ACEOF
43201 #define HAVE__EXPL 1
43202 _ACEOF
43203
43204 fi
43205 done
43206
43207 fi
43208 fi
43209
43210
43211
43212
43213
43214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43215 $as_echo_n "checking for fabsl declaration... " >&6; }
43216 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43217 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43218 $as_echo_n "(cached) " >&6
43219 else
43220
43221
43222 ac_ext=cpp
43223 ac_cpp='$CXXCPP $CPPFLAGS'
43224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43227
43228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43229 /* end confdefs.h. */
43230 #include <math.h>
43231 #ifdef HAVE_IEEEFP_H
43232 #include <ieeefp.h>
43233 #endif
43234
43235 int
43236 main ()
43237 {
43238 fabsl(0);
43239 ;
43240 return 0;
43241 }
43242 _ACEOF
43243 if ac_fn_cxx_try_compile "$LINENO"; then :
43244 glibcxx_cv_func_fabsl_use=yes
43245 else
43246 glibcxx_cv_func_fabsl_use=no
43247 fi
43248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43249 ac_ext=c
43250 ac_cpp='$CPP $CPPFLAGS'
43251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43254
43255
43256 fi
43257
43258 fi
43259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43260 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43261
43262 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43263 for ac_func in fabsl
43264 do :
43265 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43266 if test "x$ac_cv_func_fabsl" = x""yes; then :
43267 cat >>confdefs.h <<_ACEOF
43268 #define HAVE_FABSL 1
43269 _ACEOF
43270
43271 fi
43272 done
43273
43274 else
43275
43276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43277 $as_echo_n "checking for _fabsl declaration... " >&6; }
43278 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43279 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43280 $as_echo_n "(cached) " >&6
43281 else
43282
43283
43284 ac_ext=cpp
43285 ac_cpp='$CXXCPP $CPPFLAGS'
43286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43289
43290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43291 /* end confdefs.h. */
43292 #include <math.h>
43293 #ifdef HAVE_IEEEFP_H
43294 #include <ieeefp.h>
43295 #endif
43296
43297 int
43298 main ()
43299 {
43300 _fabsl(0);
43301 ;
43302 return 0;
43303 }
43304 _ACEOF
43305 if ac_fn_cxx_try_compile "$LINENO"; then :
43306 glibcxx_cv_func__fabsl_use=yes
43307 else
43308 glibcxx_cv_func__fabsl_use=no
43309 fi
43310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43311 ac_ext=c
43312 ac_cpp='$CPP $CPPFLAGS'
43313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43316
43317
43318 fi
43319
43320 fi
43321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43322 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43323
43324 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43325 for ac_func in _fabsl
43326 do :
43327 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43328 if test "x$ac_cv_func__fabsl" = x""yes; then :
43329 cat >>confdefs.h <<_ACEOF
43330 #define HAVE__FABSL 1
43331 _ACEOF
43332
43333 fi
43334 done
43335
43336 fi
43337 fi
43338
43339
43340
43341
43342
43343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43344 $as_echo_n "checking for fmodl declaration... " >&6; }
43345 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43346 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43347 $as_echo_n "(cached) " >&6
43348 else
43349
43350
43351 ac_ext=cpp
43352 ac_cpp='$CXXCPP $CPPFLAGS'
43353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43356
43357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43358 /* end confdefs.h. */
43359 #include <math.h>
43360 int
43361 main ()
43362 {
43363 fmodl(0, 0);
43364 ;
43365 return 0;
43366 }
43367 _ACEOF
43368 if ac_fn_cxx_try_compile "$LINENO"; then :
43369 glibcxx_cv_func_fmodl_use=yes
43370 else
43371 glibcxx_cv_func_fmodl_use=no
43372 fi
43373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43374 ac_ext=c
43375 ac_cpp='$CPP $CPPFLAGS'
43376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43379
43380
43381 fi
43382
43383 fi
43384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43385 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43386
43387 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43388 for ac_func in fmodl
43389 do :
43390 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43391 if test "x$ac_cv_func_fmodl" = x""yes; then :
43392 cat >>confdefs.h <<_ACEOF
43393 #define HAVE_FMODL 1
43394 _ACEOF
43395
43396 fi
43397 done
43398
43399 else
43400
43401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43402 $as_echo_n "checking for _fmodl declaration... " >&6; }
43403 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43404 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43405 $as_echo_n "(cached) " >&6
43406 else
43407
43408
43409 ac_ext=cpp
43410 ac_cpp='$CXXCPP $CPPFLAGS'
43411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43414
43415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43416 /* end confdefs.h. */
43417 #include <math.h>
43418 int
43419 main ()
43420 {
43421 _fmodl(0, 0);
43422 ;
43423 return 0;
43424 }
43425 _ACEOF
43426 if ac_fn_cxx_try_compile "$LINENO"; then :
43427 glibcxx_cv_func__fmodl_use=yes
43428 else
43429 glibcxx_cv_func__fmodl_use=no
43430 fi
43431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43432 ac_ext=c
43433 ac_cpp='$CPP $CPPFLAGS'
43434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43437
43438
43439 fi
43440
43441 fi
43442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43443 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43444
43445 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43446 for ac_func in _fmodl
43447 do :
43448 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43449 if test "x$ac_cv_func__fmodl" = x""yes; then :
43450 cat >>confdefs.h <<_ACEOF
43451 #define HAVE__FMODL 1
43452 _ACEOF
43453
43454 fi
43455 done
43456
43457 fi
43458 fi
43459
43460
43461
43462
43463
43464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43465 $as_echo_n "checking for frexpl declaration... " >&6; }
43466 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43467 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43468 $as_echo_n "(cached) " >&6
43469 else
43470
43471
43472 ac_ext=cpp
43473 ac_cpp='$CXXCPP $CPPFLAGS'
43474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43477
43478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43479 /* end confdefs.h. */
43480 #include <math.h>
43481 int
43482 main ()
43483 {
43484 frexpl(0, 0);
43485 ;
43486 return 0;
43487 }
43488 _ACEOF
43489 if ac_fn_cxx_try_compile "$LINENO"; then :
43490 glibcxx_cv_func_frexpl_use=yes
43491 else
43492 glibcxx_cv_func_frexpl_use=no
43493 fi
43494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43495 ac_ext=c
43496 ac_cpp='$CPP $CPPFLAGS'
43497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43500
43501
43502 fi
43503
43504 fi
43505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43506 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43507
43508 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43509 for ac_func in frexpl
43510 do :
43511 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43512 if test "x$ac_cv_func_frexpl" = x""yes; then :
43513 cat >>confdefs.h <<_ACEOF
43514 #define HAVE_FREXPL 1
43515 _ACEOF
43516
43517 fi
43518 done
43519
43520 else
43521
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43523 $as_echo_n "checking for _frexpl declaration... " >&6; }
43524 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43525 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43526 $as_echo_n "(cached) " >&6
43527 else
43528
43529
43530 ac_ext=cpp
43531 ac_cpp='$CXXCPP $CPPFLAGS'
43532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43535
43536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43537 /* end confdefs.h. */
43538 #include <math.h>
43539 int
43540 main ()
43541 {
43542 _frexpl(0, 0);
43543 ;
43544 return 0;
43545 }
43546 _ACEOF
43547 if ac_fn_cxx_try_compile "$LINENO"; then :
43548 glibcxx_cv_func__frexpl_use=yes
43549 else
43550 glibcxx_cv_func__frexpl_use=no
43551 fi
43552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43553 ac_ext=c
43554 ac_cpp='$CPP $CPPFLAGS'
43555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43558
43559
43560 fi
43561
43562 fi
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43564 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43565
43566 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43567 for ac_func in _frexpl
43568 do :
43569 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43570 if test "x$ac_cv_func__frexpl" = x""yes; then :
43571 cat >>confdefs.h <<_ACEOF
43572 #define HAVE__FREXPL 1
43573 _ACEOF
43574
43575 fi
43576 done
43577
43578 fi
43579 fi
43580
43581
43582
43583
43584
43585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43586 $as_echo_n "checking for hypotl declaration... " >&6; }
43587 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43588 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43589 $as_echo_n "(cached) " >&6
43590 else
43591
43592
43593 ac_ext=cpp
43594 ac_cpp='$CXXCPP $CPPFLAGS'
43595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43598
43599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43600 /* end confdefs.h. */
43601 #include <math.h>
43602 int
43603 main ()
43604 {
43605 hypotl(0, 0);
43606 ;
43607 return 0;
43608 }
43609 _ACEOF
43610 if ac_fn_cxx_try_compile "$LINENO"; then :
43611 glibcxx_cv_func_hypotl_use=yes
43612 else
43613 glibcxx_cv_func_hypotl_use=no
43614 fi
43615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43616 ac_ext=c
43617 ac_cpp='$CPP $CPPFLAGS'
43618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43621
43622
43623 fi
43624
43625 fi
43626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43627 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43628
43629 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43630 for ac_func in hypotl
43631 do :
43632 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43633 if test "x$ac_cv_func_hypotl" = x""yes; then :
43634 cat >>confdefs.h <<_ACEOF
43635 #define HAVE_HYPOTL 1
43636 _ACEOF
43637
43638 fi
43639 done
43640
43641 else
43642
43643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43644 $as_echo_n "checking for _hypotl declaration... " >&6; }
43645 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43646 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43647 $as_echo_n "(cached) " >&6
43648 else
43649
43650
43651 ac_ext=cpp
43652 ac_cpp='$CXXCPP $CPPFLAGS'
43653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43656
43657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43658 /* end confdefs.h. */
43659 #include <math.h>
43660 int
43661 main ()
43662 {
43663 _hypotl(0, 0);
43664 ;
43665 return 0;
43666 }
43667 _ACEOF
43668 if ac_fn_cxx_try_compile "$LINENO"; then :
43669 glibcxx_cv_func__hypotl_use=yes
43670 else
43671 glibcxx_cv_func__hypotl_use=no
43672 fi
43673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43674 ac_ext=c
43675 ac_cpp='$CPP $CPPFLAGS'
43676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43679
43680
43681 fi
43682
43683 fi
43684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43685 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43686
43687 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43688 for ac_func in _hypotl
43689 do :
43690 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43691 if test "x$ac_cv_func__hypotl" = x""yes; then :
43692 cat >>confdefs.h <<_ACEOF
43693 #define HAVE__HYPOTL 1
43694 _ACEOF
43695
43696 fi
43697 done
43698
43699 fi
43700 fi
43701
43702
43703
43704
43705
43706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43707 $as_echo_n "checking for ldexpl declaration... " >&6; }
43708 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43709 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43710 $as_echo_n "(cached) " >&6
43711 else
43712
43713
43714 ac_ext=cpp
43715 ac_cpp='$CXXCPP $CPPFLAGS'
43716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43719
43720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43721 /* end confdefs.h. */
43722 #include <math.h>
43723 int
43724 main ()
43725 {
43726 ldexpl(0, 0);
43727 ;
43728 return 0;
43729 }
43730 _ACEOF
43731 if ac_fn_cxx_try_compile "$LINENO"; then :
43732 glibcxx_cv_func_ldexpl_use=yes
43733 else
43734 glibcxx_cv_func_ldexpl_use=no
43735 fi
43736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43737 ac_ext=c
43738 ac_cpp='$CPP $CPPFLAGS'
43739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43742
43743
43744 fi
43745
43746 fi
43747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43748 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43749
43750 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43751 for ac_func in ldexpl
43752 do :
43753 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43754 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43755 cat >>confdefs.h <<_ACEOF
43756 #define HAVE_LDEXPL 1
43757 _ACEOF
43758
43759 fi
43760 done
43761
43762 else
43763
43764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43765 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43766 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43767 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43768 $as_echo_n "(cached) " >&6
43769 else
43770
43771
43772 ac_ext=cpp
43773 ac_cpp='$CXXCPP $CPPFLAGS'
43774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43777
43778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43779 /* end confdefs.h. */
43780 #include <math.h>
43781 int
43782 main ()
43783 {
43784 _ldexpl(0, 0);
43785 ;
43786 return 0;
43787 }
43788 _ACEOF
43789 if ac_fn_cxx_try_compile "$LINENO"; then :
43790 glibcxx_cv_func__ldexpl_use=yes
43791 else
43792 glibcxx_cv_func__ldexpl_use=no
43793 fi
43794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43795 ac_ext=c
43796 ac_cpp='$CPP $CPPFLAGS'
43797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43800
43801
43802 fi
43803
43804 fi
43805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43806 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43807
43808 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43809 for ac_func in _ldexpl
43810 do :
43811 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43812 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43813 cat >>confdefs.h <<_ACEOF
43814 #define HAVE__LDEXPL 1
43815 _ACEOF
43816
43817 fi
43818 done
43819
43820 fi
43821 fi
43822
43823
43824
43825
43826
43827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43828 $as_echo_n "checking for logl declaration... " >&6; }
43829 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43830 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43831 $as_echo_n "(cached) " >&6
43832 else
43833
43834
43835 ac_ext=cpp
43836 ac_cpp='$CXXCPP $CPPFLAGS'
43837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43840
43841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43842 /* end confdefs.h. */
43843 #include <math.h>
43844 #ifdef HAVE_IEEEFP_H
43845 #include <ieeefp.h>
43846 #endif
43847
43848 int
43849 main ()
43850 {
43851 logl(0);
43852 ;
43853 return 0;
43854 }
43855 _ACEOF
43856 if ac_fn_cxx_try_compile "$LINENO"; then :
43857 glibcxx_cv_func_logl_use=yes
43858 else
43859 glibcxx_cv_func_logl_use=no
43860 fi
43861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43862 ac_ext=c
43863 ac_cpp='$CPP $CPPFLAGS'
43864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43867
43868
43869 fi
43870
43871 fi
43872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43873 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43874
43875 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43876 for ac_func in logl
43877 do :
43878 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43879 if test "x$ac_cv_func_logl" = x""yes; then :
43880 cat >>confdefs.h <<_ACEOF
43881 #define HAVE_LOGL 1
43882 _ACEOF
43883
43884 fi
43885 done
43886
43887 else
43888
43889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43890 $as_echo_n "checking for _logl declaration... " >&6; }
43891 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43892 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43893 $as_echo_n "(cached) " >&6
43894 else
43895
43896
43897 ac_ext=cpp
43898 ac_cpp='$CXXCPP $CPPFLAGS'
43899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43902
43903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43904 /* end confdefs.h. */
43905 #include <math.h>
43906 #ifdef HAVE_IEEEFP_H
43907 #include <ieeefp.h>
43908 #endif
43909
43910 int
43911 main ()
43912 {
43913 _logl(0);
43914 ;
43915 return 0;
43916 }
43917 _ACEOF
43918 if ac_fn_cxx_try_compile "$LINENO"; then :
43919 glibcxx_cv_func__logl_use=yes
43920 else
43921 glibcxx_cv_func__logl_use=no
43922 fi
43923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43924 ac_ext=c
43925 ac_cpp='$CPP $CPPFLAGS'
43926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43929
43930
43931 fi
43932
43933 fi
43934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43935 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43936
43937 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43938 for ac_func in _logl
43939 do :
43940 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43941 if test "x$ac_cv_func__logl" = x""yes; then :
43942 cat >>confdefs.h <<_ACEOF
43943 #define HAVE__LOGL 1
43944 _ACEOF
43945
43946 fi
43947 done
43948
43949 fi
43950 fi
43951
43952
43953
43954
43955
43956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43957 $as_echo_n "checking for log10l declaration... " >&6; }
43958 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43959 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43960 $as_echo_n "(cached) " >&6
43961 else
43962
43963
43964 ac_ext=cpp
43965 ac_cpp='$CXXCPP $CPPFLAGS'
43966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43969
43970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43971 /* end confdefs.h. */
43972 #include <math.h>
43973 #ifdef HAVE_IEEEFP_H
43974 #include <ieeefp.h>
43975 #endif
43976
43977 int
43978 main ()
43979 {
43980 log10l(0);
43981 ;
43982 return 0;
43983 }
43984 _ACEOF
43985 if ac_fn_cxx_try_compile "$LINENO"; then :
43986 glibcxx_cv_func_log10l_use=yes
43987 else
43988 glibcxx_cv_func_log10l_use=no
43989 fi
43990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43991 ac_ext=c
43992 ac_cpp='$CPP $CPPFLAGS'
43993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43996
43997
43998 fi
43999
44000 fi
44001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44002 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44003
44004 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44005 for ac_func in log10l
44006 do :
44007 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44008 if test "x$ac_cv_func_log10l" = x""yes; then :
44009 cat >>confdefs.h <<_ACEOF
44010 #define HAVE_LOG10L 1
44011 _ACEOF
44012
44013 fi
44014 done
44015
44016 else
44017
44018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44019 $as_echo_n "checking for _log10l declaration... " >&6; }
44020 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44021 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44022 $as_echo_n "(cached) " >&6
44023 else
44024
44025
44026 ac_ext=cpp
44027 ac_cpp='$CXXCPP $CPPFLAGS'
44028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44031
44032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44033 /* end confdefs.h. */
44034 #include <math.h>
44035 #ifdef HAVE_IEEEFP_H
44036 #include <ieeefp.h>
44037 #endif
44038
44039 int
44040 main ()
44041 {
44042 _log10l(0);
44043 ;
44044 return 0;
44045 }
44046 _ACEOF
44047 if ac_fn_cxx_try_compile "$LINENO"; then :
44048 glibcxx_cv_func__log10l_use=yes
44049 else
44050 glibcxx_cv_func__log10l_use=no
44051 fi
44052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44053 ac_ext=c
44054 ac_cpp='$CPP $CPPFLAGS'
44055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44058
44059
44060 fi
44061
44062 fi
44063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44064 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44065
44066 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44067 for ac_func in _log10l
44068 do :
44069 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44070 if test "x$ac_cv_func__log10l" = x""yes; then :
44071 cat >>confdefs.h <<_ACEOF
44072 #define HAVE__LOG10L 1
44073 _ACEOF
44074
44075 fi
44076 done
44077
44078 fi
44079 fi
44080
44081
44082
44083
44084
44085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44086 $as_echo_n "checking for modfl declaration... " >&6; }
44087 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44088 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44089 $as_echo_n "(cached) " >&6
44090 else
44091
44092
44093 ac_ext=cpp
44094 ac_cpp='$CXXCPP $CPPFLAGS'
44095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44098
44099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44100 /* end confdefs.h. */
44101 #include <math.h>
44102 int
44103 main ()
44104 {
44105 modfl(0, 0);
44106 ;
44107 return 0;
44108 }
44109 _ACEOF
44110 if ac_fn_cxx_try_compile "$LINENO"; then :
44111 glibcxx_cv_func_modfl_use=yes
44112 else
44113 glibcxx_cv_func_modfl_use=no
44114 fi
44115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44116 ac_ext=c
44117 ac_cpp='$CPP $CPPFLAGS'
44118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44121
44122
44123 fi
44124
44125 fi
44126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44127 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44128
44129 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44130 for ac_func in modfl
44131 do :
44132 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44133 if test "x$ac_cv_func_modfl" = x""yes; then :
44134 cat >>confdefs.h <<_ACEOF
44135 #define HAVE_MODFL 1
44136 _ACEOF
44137
44138 fi
44139 done
44140
44141 else
44142
44143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44144 $as_echo_n "checking for _modfl declaration... " >&6; }
44145 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44146 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44147 $as_echo_n "(cached) " >&6
44148 else
44149
44150
44151 ac_ext=cpp
44152 ac_cpp='$CXXCPP $CPPFLAGS'
44153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44156
44157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44158 /* end confdefs.h. */
44159 #include <math.h>
44160 int
44161 main ()
44162 {
44163 _modfl(0, 0);
44164 ;
44165 return 0;
44166 }
44167 _ACEOF
44168 if ac_fn_cxx_try_compile "$LINENO"; then :
44169 glibcxx_cv_func__modfl_use=yes
44170 else
44171 glibcxx_cv_func__modfl_use=no
44172 fi
44173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44174 ac_ext=c
44175 ac_cpp='$CPP $CPPFLAGS'
44176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44179
44180
44181 fi
44182
44183 fi
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44185 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44186
44187 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44188 for ac_func in _modfl
44189 do :
44190 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44191 if test "x$ac_cv_func__modfl" = x""yes; then :
44192 cat >>confdefs.h <<_ACEOF
44193 #define HAVE__MODFL 1
44194 _ACEOF
44195
44196 fi
44197 done
44198
44199 fi
44200 fi
44201
44202
44203
44204
44205
44206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44207 $as_echo_n "checking for powl declaration... " >&6; }
44208 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44209 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44210 $as_echo_n "(cached) " >&6
44211 else
44212
44213
44214 ac_ext=cpp
44215 ac_cpp='$CXXCPP $CPPFLAGS'
44216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44219
44220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44221 /* end confdefs.h. */
44222 #include <math.h>
44223 int
44224 main ()
44225 {
44226 powl(0, 0);
44227 ;
44228 return 0;
44229 }
44230 _ACEOF
44231 if ac_fn_cxx_try_compile "$LINENO"; then :
44232 glibcxx_cv_func_powl_use=yes
44233 else
44234 glibcxx_cv_func_powl_use=no
44235 fi
44236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44237 ac_ext=c
44238 ac_cpp='$CPP $CPPFLAGS'
44239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44242
44243
44244 fi
44245
44246 fi
44247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44248 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44249
44250 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44251 for ac_func in powl
44252 do :
44253 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44254 if test "x$ac_cv_func_powl" = x""yes; then :
44255 cat >>confdefs.h <<_ACEOF
44256 #define HAVE_POWL 1
44257 _ACEOF
44258
44259 fi
44260 done
44261
44262 else
44263
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44265 $as_echo_n "checking for _powl declaration... " >&6; }
44266 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44267 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44268 $as_echo_n "(cached) " >&6
44269 else
44270
44271
44272 ac_ext=cpp
44273 ac_cpp='$CXXCPP $CPPFLAGS'
44274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44277
44278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44279 /* end confdefs.h. */
44280 #include <math.h>
44281 int
44282 main ()
44283 {
44284 _powl(0, 0);
44285 ;
44286 return 0;
44287 }
44288 _ACEOF
44289 if ac_fn_cxx_try_compile "$LINENO"; then :
44290 glibcxx_cv_func__powl_use=yes
44291 else
44292 glibcxx_cv_func__powl_use=no
44293 fi
44294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44295 ac_ext=c
44296 ac_cpp='$CPP $CPPFLAGS'
44297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44300
44301
44302 fi
44303
44304 fi
44305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44306 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44307
44308 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44309 for ac_func in _powl
44310 do :
44311 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44312 if test "x$ac_cv_func__powl" = x""yes; then :
44313 cat >>confdefs.h <<_ACEOF
44314 #define HAVE__POWL 1
44315 _ACEOF
44316
44317 fi
44318 done
44319
44320 fi
44321 fi
44322
44323
44324
44325
44326
44327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44328 $as_echo_n "checking for sqrtl declaration... " >&6; }
44329 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44330 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44331 $as_echo_n "(cached) " >&6
44332 else
44333
44334
44335 ac_ext=cpp
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44340
44341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44342 /* end confdefs.h. */
44343 #include <math.h>
44344 #ifdef HAVE_IEEEFP_H
44345 #include <ieeefp.h>
44346 #endif
44347
44348 int
44349 main ()
44350 {
44351 sqrtl(0);
44352 ;
44353 return 0;
44354 }
44355 _ACEOF
44356 if ac_fn_cxx_try_compile "$LINENO"; then :
44357 glibcxx_cv_func_sqrtl_use=yes
44358 else
44359 glibcxx_cv_func_sqrtl_use=no
44360 fi
44361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44362 ac_ext=c
44363 ac_cpp='$CPP $CPPFLAGS'
44364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44367
44368
44369 fi
44370
44371 fi
44372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44373 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44374
44375 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44376 for ac_func in sqrtl
44377 do :
44378 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44379 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44380 cat >>confdefs.h <<_ACEOF
44381 #define HAVE_SQRTL 1
44382 _ACEOF
44383
44384 fi
44385 done
44386
44387 else
44388
44389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44390 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44391 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44392 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44393 $as_echo_n "(cached) " >&6
44394 else
44395
44396
44397 ac_ext=cpp
44398 ac_cpp='$CXXCPP $CPPFLAGS'
44399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44402
44403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44404 /* end confdefs.h. */
44405 #include <math.h>
44406 #ifdef HAVE_IEEEFP_H
44407 #include <ieeefp.h>
44408 #endif
44409
44410 int
44411 main ()
44412 {
44413 _sqrtl(0);
44414 ;
44415 return 0;
44416 }
44417 _ACEOF
44418 if ac_fn_cxx_try_compile "$LINENO"; then :
44419 glibcxx_cv_func__sqrtl_use=yes
44420 else
44421 glibcxx_cv_func__sqrtl_use=no
44422 fi
44423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44424 ac_ext=c
44425 ac_cpp='$CPP $CPPFLAGS'
44426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44429
44430
44431 fi
44432
44433 fi
44434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44435 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44436
44437 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44438 for ac_func in _sqrtl
44439 do :
44440 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44441 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44442 cat >>confdefs.h <<_ACEOF
44443 #define HAVE__SQRTL 1
44444 _ACEOF
44445
44446 fi
44447 done
44448
44449 fi
44450 fi
44451
44452
44453
44454
44455
44456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44457 $as_echo_n "checking for sincosl declaration... " >&6; }
44458 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44459 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44460 $as_echo_n "(cached) " >&6
44461 else
44462
44463
44464 ac_ext=cpp
44465 ac_cpp='$CXXCPP $CPPFLAGS'
44466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44469
44470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44471 /* end confdefs.h. */
44472 #include <math.h>
44473 int
44474 main ()
44475 {
44476 sincosl(0, 0, 0);
44477 ;
44478 return 0;
44479 }
44480 _ACEOF
44481 if ac_fn_cxx_try_compile "$LINENO"; then :
44482 glibcxx_cv_func_sincosl_use=yes
44483 else
44484 glibcxx_cv_func_sincosl_use=no
44485 fi
44486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44487 ac_ext=c
44488 ac_cpp='$CPP $CPPFLAGS'
44489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44492
44493
44494 fi
44495
44496 fi
44497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44498 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44499
44500 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44501 for ac_func in sincosl
44502 do :
44503 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44504 if test "x$ac_cv_func_sincosl" = x""yes; then :
44505 cat >>confdefs.h <<_ACEOF
44506 #define HAVE_SINCOSL 1
44507 _ACEOF
44508
44509 fi
44510 done
44511
44512 else
44513
44514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44515 $as_echo_n "checking for _sincosl declaration... " >&6; }
44516 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44517 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44518 $as_echo_n "(cached) " >&6
44519 else
44520
44521
44522 ac_ext=cpp
44523 ac_cpp='$CXXCPP $CPPFLAGS'
44524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44527
44528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44529 /* end confdefs.h. */
44530 #include <math.h>
44531 int
44532 main ()
44533 {
44534 _sincosl(0, 0, 0);
44535 ;
44536 return 0;
44537 }
44538 _ACEOF
44539 if ac_fn_cxx_try_compile "$LINENO"; then :
44540 glibcxx_cv_func__sincosl_use=yes
44541 else
44542 glibcxx_cv_func__sincosl_use=no
44543 fi
44544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44545 ac_ext=c
44546 ac_cpp='$CPP $CPPFLAGS'
44547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44550
44551
44552 fi
44553
44554 fi
44555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44556 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44557
44558 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44559 for ac_func in _sincosl
44560 do :
44561 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44562 if test "x$ac_cv_func__sincosl" = x""yes; then :
44563 cat >>confdefs.h <<_ACEOF
44564 #define HAVE__SINCOSL 1
44565 _ACEOF
44566
44567 fi
44568 done
44569
44570 fi
44571 fi
44572
44573
44574
44575
44576
44577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44578 $as_echo_n "checking for finitel declaration... " >&6; }
44579 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44580 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44581 $as_echo_n "(cached) " >&6
44582 else
44583
44584
44585 ac_ext=cpp
44586 ac_cpp='$CXXCPP $CPPFLAGS'
44587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44590
44591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44592 /* end confdefs.h. */
44593 #include <math.h>
44594 #ifdef HAVE_IEEEFP_H
44595 #include <ieeefp.h>
44596 #endif
44597
44598 int
44599 main ()
44600 {
44601 finitel(0);
44602 ;
44603 return 0;
44604 }
44605 _ACEOF
44606 if ac_fn_cxx_try_compile "$LINENO"; then :
44607 glibcxx_cv_func_finitel_use=yes
44608 else
44609 glibcxx_cv_func_finitel_use=no
44610 fi
44611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44612 ac_ext=c
44613 ac_cpp='$CPP $CPPFLAGS'
44614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44617
44618
44619 fi
44620
44621 fi
44622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44623 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44624
44625 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44626 for ac_func in finitel
44627 do :
44628 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44629 if test "x$ac_cv_func_finitel" = x""yes; then :
44630 cat >>confdefs.h <<_ACEOF
44631 #define HAVE_FINITEL 1
44632 _ACEOF
44633
44634 fi
44635 done
44636
44637 else
44638
44639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44640 $as_echo_n "checking for _finitel declaration... " >&6; }
44641 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44642 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44643 $as_echo_n "(cached) " >&6
44644 else
44645
44646
44647 ac_ext=cpp
44648 ac_cpp='$CXXCPP $CPPFLAGS'
44649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44652
44653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44654 /* end confdefs.h. */
44655 #include <math.h>
44656 #ifdef HAVE_IEEEFP_H
44657 #include <ieeefp.h>
44658 #endif
44659
44660 int
44661 main ()
44662 {
44663 _finitel(0);
44664 ;
44665 return 0;
44666 }
44667 _ACEOF
44668 if ac_fn_cxx_try_compile "$LINENO"; then :
44669 glibcxx_cv_func__finitel_use=yes
44670 else
44671 glibcxx_cv_func__finitel_use=no
44672 fi
44673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44674 ac_ext=c
44675 ac_cpp='$CPP $CPPFLAGS'
44676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44679
44680
44681 fi
44682
44683 fi
44684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44685 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44686
44687 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44688 for ac_func in _finitel
44689 do :
44690 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44691 if test "x$ac_cv_func__finitel" = x""yes; then :
44692 cat >>confdefs.h <<_ACEOF
44693 #define HAVE__FINITEL 1
44694 _ACEOF
44695
44696 fi
44697 done
44698
44699 fi
44700 fi
44701
44702
44703
44704
44705 LIBS="$ac_save_LIBS"
44706 CXXFLAGS="$ac_save_CXXFLAGS"
44707
44708
44709 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44710 ac_save_CXXFLAGS="$CXXFLAGS"
44711 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44712
44713
44714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44715 $as_echo_n "checking for strtold declaration... " >&6; }
44716 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44717 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44718 $as_echo_n "(cached) " >&6
44719 else
44720
44721
44722 ac_ext=cpp
44723 ac_cpp='$CXXCPP $CPPFLAGS'
44724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44727
44728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44729 /* end confdefs.h. */
44730 #include <stdlib.h>
44731 int
44732 main ()
44733 {
44734 strtold(0, 0);
44735 ;
44736 return 0;
44737 }
44738 _ACEOF
44739 if ac_fn_cxx_try_compile "$LINENO"; then :
44740 glibcxx_cv_func_strtold_use=yes
44741 else
44742 glibcxx_cv_func_strtold_use=no
44743 fi
44744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44745 ac_ext=c
44746 ac_cpp='$CPP $CPPFLAGS'
44747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44750
44751
44752 fi
44753
44754 fi
44755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44756 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44757 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44758 for ac_func in strtold
44759 do :
44760 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44761 if test "x$ac_cv_func_strtold" = x""yes; then :
44762 cat >>confdefs.h <<_ACEOF
44763 #define HAVE_STRTOLD 1
44764 _ACEOF
44765
44766 fi
44767 done
44768
44769 fi
44770
44771
44772
44773
44774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44775 $as_echo_n "checking for strtof declaration... " >&6; }
44776 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44777 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44778 $as_echo_n "(cached) " >&6
44779 else
44780
44781
44782 ac_ext=cpp
44783 ac_cpp='$CXXCPP $CPPFLAGS'
44784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44787
44788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44789 /* end confdefs.h. */
44790 #include <stdlib.h>
44791 int
44792 main ()
44793 {
44794 strtof(0, 0);
44795 ;
44796 return 0;
44797 }
44798 _ACEOF
44799 if ac_fn_cxx_try_compile "$LINENO"; then :
44800 glibcxx_cv_func_strtof_use=yes
44801 else
44802 glibcxx_cv_func_strtof_use=no
44803 fi
44804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44805 ac_ext=c
44806 ac_cpp='$CPP $CPPFLAGS'
44807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44810
44811
44812 fi
44813
44814 fi
44815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44816 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44817 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44818 for ac_func in strtof
44819 do :
44820 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44821 if test "x$ac_cv_func_strtof" = x""yes; then :
44822 cat >>confdefs.h <<_ACEOF
44823 #define HAVE_STRTOF 1
44824 _ACEOF
44825
44826 fi
44827 done
44828
44829 fi
44830
44831
44832
44833
44834 CXXFLAGS="$ac_save_CXXFLAGS"
44835
44836 ;;
44837
44838 *djgpp)
44839 # GLIBCXX_CHECK_MATH_SUPPORT
44840 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44841
44842 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44843
44844 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44845
44846 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44847
44848 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44849
44850 ;;
44851
44852 *-freebsd*)
44853 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44854
44855
44856 # If we're not using GNU ld, then there's no point in even trying these
44857 # tests. Check for that first. We should have already tested for gld
44858 # by now (in libtool), but require it now just to be safe...
44859 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44860 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44861
44862
44863
44864 # The name set by libtool depends on the version of libtool. Shame on us
44865 # for depending on an impl detail, but c'est la vie. Older versions used
44866 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44867 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44868 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44869 # set (hence we're using an older libtool), then set it.
44870 if test x${with_gnu_ld+set} != xset; then
44871 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44872 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44873 with_gnu_ld=no
44874 else
44875 with_gnu_ld=$ac_cv_prog_gnu_ld
44876 fi
44877 fi
44878
44879 # Start by getting the version number. I think the libtool test already
44880 # does some of this, but throws away the result.
44881 glibcxx_ld_is_gold=no
44882 if test x"$with_gnu_ld" = x"yes"; then
44883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44884 $as_echo_n "checking for ld version... " >&6; }
44885
44886 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44887 glibcxx_ld_is_gold=yes
44888 fi
44889 ldver=`$LD --version 2>/dev/null |
44890 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'`
44891
44892 glibcxx_gnu_ld_version=`echo $ldver | \
44893 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44895 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44896 fi
44897
44898 # Set --gc-sections.
44899 glibcxx_have_gc_sections=no
44900 if test "$glibcxx_ld_is_gold" = "yes"; then
44901 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44902 glibcxx_have_gc_sections=yes
44903 fi
44904 else
44905 glibcxx_gcsections_min_ld=21602
44906 if test x"$with_gnu_ld" = x"yes" &&
44907 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44908 glibcxx_have_gc_sections=yes
44909 fi
44910 fi
44911 if test "$glibcxx_have_gc_sections" = "yes"; then
44912 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44913 # NB: This flag only works reliably after 2.16.1. Configure tests
44914 # for this are difficult, so hard wire a value that should work.
44915
44916 ac_test_CFLAGS="${CFLAGS+set}"
44917 ac_save_CFLAGS="$CFLAGS"
44918 CFLAGS='-Wl,--gc-sections'
44919
44920 # Check for -Wl,--gc-sections
44921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44922 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44923 if test x$gcc_no_link = xyes; then
44924 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44925 fi
44926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44927 /* end confdefs.h. */
44928 int one(void) { return 1; }
44929 int two(void) { return 2; }
44930
44931 int
44932 main ()
44933 {
44934 two();
44935 ;
44936 return 0;
44937 }
44938 _ACEOF
44939 if ac_fn_c_try_link "$LINENO"; then :
44940 ac_gcsections=yes
44941 else
44942 ac_gcsections=no
44943 fi
44944 rm -f core conftest.err conftest.$ac_objext \
44945 conftest$ac_exeext conftest.$ac_ext
44946 if test "$ac_gcsections" = "yes"; then
44947 rm -f conftest.c
44948 touch conftest.c
44949 if $CC -c conftest.c; then
44950 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44951 grep "Warning: gc-sections option ignored" > /dev/null; then
44952 ac_gcsections=no
44953 fi
44954 fi
44955 rm -f conftest.c conftest.o conftest
44956 fi
44957 if test "$ac_gcsections" = "yes"; then
44958 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44959 fi
44960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44961 $as_echo "$ac_gcsections" >&6; }
44962
44963 if test "$ac_test_CFLAGS" = set; then
44964 CFLAGS="$ac_save_CFLAGS"
44965 else
44966 # this is the suspicious part
44967 CFLAGS=''
44968 fi
44969 fi
44970
44971 # Set -z,relro.
44972 # Note this is only for shared objects.
44973 ac_ld_relro=no
44974 if test x"$with_gnu_ld" = x"yes"; then
44975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44976 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44977 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44978 if test -n "$cxx_z_relo"; then
44979 OPT_LDFLAGS="-Wl,-z,relro"
44980 ac_ld_relro=yes
44981 fi
44982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44983 $as_echo "$ac_ld_relro" >&6; }
44984 fi
44985
44986 # Set linker optimization flags.
44987 if test x"$with_gnu_ld" = x"yes"; then
44988 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44989 fi
44990
44991
44992
44993
44994 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44995
44996 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44997
44998 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44999
45000 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45001
45002 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45003
45004 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
45005
45006 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45007
45008 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45009
45010 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45011
45012
45013 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45014
45015 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45016
45017 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45018
45019 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45020
45021 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
45022
45023 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45024
45025 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45026
45027 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45028
45029 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45030
45031 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
45032
45033 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45034
45035 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45036
45037 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
45038
45039 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45040
45041 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45042
45043 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45044
45045 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45046
45047 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45048
45049 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45050
45051 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45052
45053 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45054
45055 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45056
45057 if test x"long_double_math_on_this_cpu" = x"yes"; then
45058 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45059
45060 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45061
45062 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45063
45064 fi
45065 ;;
45066 *-hpux*)
45067 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45068
45069
45070 # If we're not using GNU ld, then there's no point in even trying these
45071 # tests. Check for that first. We should have already tested for gld
45072 # by now (in libtool), but require it now just to be safe...
45073 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45074 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45075
45076
45077
45078 # The name set by libtool depends on the version of libtool. Shame on us
45079 # for depending on an impl detail, but c'est la vie. Older versions used
45080 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45081 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45082 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45083 # set (hence we're using an older libtool), then set it.
45084 if test x${with_gnu_ld+set} != xset; then
45085 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45086 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45087 with_gnu_ld=no
45088 else
45089 with_gnu_ld=$ac_cv_prog_gnu_ld
45090 fi
45091 fi
45092
45093 # Start by getting the version number. I think the libtool test already
45094 # does some of this, but throws away the result.
45095 glibcxx_ld_is_gold=no
45096 if test x"$with_gnu_ld" = x"yes"; then
45097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45098 $as_echo_n "checking for ld version... " >&6; }
45099
45100 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45101 glibcxx_ld_is_gold=yes
45102 fi
45103 ldver=`$LD --version 2>/dev/null |
45104 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'`
45105
45106 glibcxx_gnu_ld_version=`echo $ldver | \
45107 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45109 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45110 fi
45111
45112 # Set --gc-sections.
45113 glibcxx_have_gc_sections=no
45114 if test "$glibcxx_ld_is_gold" = "yes"; then
45115 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45116 glibcxx_have_gc_sections=yes
45117 fi
45118 else
45119 glibcxx_gcsections_min_ld=21602
45120 if test x"$with_gnu_ld" = x"yes" &&
45121 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45122 glibcxx_have_gc_sections=yes
45123 fi
45124 fi
45125 if test "$glibcxx_have_gc_sections" = "yes"; then
45126 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45127 # NB: This flag only works reliably after 2.16.1. Configure tests
45128 # for this are difficult, so hard wire a value that should work.
45129
45130 ac_test_CFLAGS="${CFLAGS+set}"
45131 ac_save_CFLAGS="$CFLAGS"
45132 CFLAGS='-Wl,--gc-sections'
45133
45134 # Check for -Wl,--gc-sections
45135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45136 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45137 if test x$gcc_no_link = xyes; then
45138 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45139 fi
45140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45141 /* end confdefs.h. */
45142 int one(void) { return 1; }
45143 int two(void) { return 2; }
45144
45145 int
45146 main ()
45147 {
45148 two();
45149 ;
45150 return 0;
45151 }
45152 _ACEOF
45153 if ac_fn_c_try_link "$LINENO"; then :
45154 ac_gcsections=yes
45155 else
45156 ac_gcsections=no
45157 fi
45158 rm -f core conftest.err conftest.$ac_objext \
45159 conftest$ac_exeext conftest.$ac_ext
45160 if test "$ac_gcsections" = "yes"; then
45161 rm -f conftest.c
45162 touch conftest.c
45163 if $CC -c conftest.c; then
45164 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45165 grep "Warning: gc-sections option ignored" > /dev/null; then
45166 ac_gcsections=no
45167 fi
45168 fi
45169 rm -f conftest.c conftest.o conftest
45170 fi
45171 if test "$ac_gcsections" = "yes"; then
45172 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45173 fi
45174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45175 $as_echo "$ac_gcsections" >&6; }
45176
45177 if test "$ac_test_CFLAGS" = set; then
45178 CFLAGS="$ac_save_CFLAGS"
45179 else
45180 # this is the suspicious part
45181 CFLAGS=''
45182 fi
45183 fi
45184
45185 # Set -z,relro.
45186 # Note this is only for shared objects.
45187 ac_ld_relro=no
45188 if test x"$with_gnu_ld" = x"yes"; then
45189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45190 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45191 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45192 if test -n "$cxx_z_relo"; then
45193 OPT_LDFLAGS="-Wl,-z,relro"
45194 ac_ld_relro=yes
45195 fi
45196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45197 $as_echo "$ac_ld_relro" >&6; }
45198 fi
45199
45200 # Set linker optimization flags.
45201 if test x"$with_gnu_ld" = x"yes"; then
45202 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45203 fi
45204
45205
45206
45207
45208
45209 # GLIBCXX_CHECK_MATH_SUPPORT
45210 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45211
45212 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45213
45214 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45215
45216 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45217
45218 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45219
45220 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45221
45222 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45223
45224 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45225
45226 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45227
45228 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45229
45230 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45231
45232 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45233
45234 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45235
45236 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45237
45238 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45239
45240 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45241
45242 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45243
45244 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45245
45246 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45247
45248 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45249
45250 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45251
45252
45253 # GLIBCXX_CHECK_STDLIB_SUPPORT
45254 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45255
45256
45257
45258
45259 # Check whether --enable-tls was given.
45260 if test "${enable_tls+set}" = set; then :
45261 enableval=$enable_tls;
45262 case "$enableval" in
45263 yes|no) ;;
45264 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45265 esac
45266
45267 else
45268 enable_tls=yes
45269 fi
45270
45271
45272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45273 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45274 if test "${gcc_cv_have_tls+set}" = set; then :
45275 $as_echo_n "(cached) " >&6
45276 else
45277
45278 if test "$cross_compiling" = yes; then :
45279 if test x$gcc_no_link = xyes; then
45280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45281 fi
45282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45283 /* end confdefs.h. */
45284 __thread int a; int b; int main() { return a = b; }
45285 _ACEOF
45286 if ac_fn_c_try_link "$LINENO"; then :
45287 chktls_save_LDFLAGS="$LDFLAGS"
45288 case $host in
45289 *-*-linux*)
45290 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45291 ;;
45292 esac
45293 chktls_save_CFLAGS="$CFLAGS"
45294 CFLAGS="-fPIC $CFLAGS"
45295 if test x$gcc_no_link = xyes; then
45296 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45297 fi
45298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45299 /* end confdefs.h. */
45300 int f() { return 0; }
45301 _ACEOF
45302 if ac_fn_c_try_link "$LINENO"; then :
45303 if test x$gcc_no_link = xyes; then
45304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45305 fi
45306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45307 /* end confdefs.h. */
45308 __thread int a; int b; int f() { return a = b; }
45309 _ACEOF
45310 if ac_fn_c_try_link "$LINENO"; then :
45311 gcc_cv_have_tls=yes
45312 else
45313 gcc_cv_have_tls=no
45314 fi
45315 rm -f core conftest.err conftest.$ac_objext \
45316 conftest$ac_exeext conftest.$ac_ext
45317 else
45318 gcc_cv_have_tls=yes
45319 fi
45320 rm -f core conftest.err conftest.$ac_objext \
45321 conftest$ac_exeext conftest.$ac_ext
45322 CFLAGS="$chktls_save_CFLAGS"
45323 LDFLAGS="$chktls_save_LDFLAGS"
45324 else
45325 gcc_cv_have_tls=no
45326 fi
45327 rm -f core conftest.err conftest.$ac_objext \
45328 conftest$ac_exeext conftest.$ac_ext
45329
45330
45331 else
45332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45333 /* end confdefs.h. */
45334 __thread int a; int b; int main() { return a = b; }
45335 _ACEOF
45336 if ac_fn_c_try_run "$LINENO"; then :
45337 chktls_save_LDFLAGS="$LDFLAGS"
45338 LDFLAGS="-static $LDFLAGS"
45339 if test x$gcc_no_link = xyes; then
45340 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45341 fi
45342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45343 /* end confdefs.h. */
45344 int main() { return 0; }
45345 _ACEOF
45346 if ac_fn_c_try_link "$LINENO"; then :
45347 if test "$cross_compiling" = yes; then :
45348 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45349 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45350 as_fn_error "cannot run test program while cross compiling
45351 See \`config.log' for more details." "$LINENO" 5; }
45352 else
45353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45354 /* end confdefs.h. */
45355 __thread int a; int b; int main() { return a = b; }
45356 _ACEOF
45357 if ac_fn_c_try_run "$LINENO"; then :
45358 gcc_cv_have_tls=yes
45359 else
45360 gcc_cv_have_tls=no
45361 fi
45362 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45363 conftest.$ac_objext conftest.beam conftest.$ac_ext
45364 fi
45365
45366 else
45367 gcc_cv_have_tls=yes
45368 fi
45369 rm -f core conftest.err conftest.$ac_objext \
45370 conftest$ac_exeext conftest.$ac_ext
45371 LDFLAGS="$chktls_save_LDFLAGS"
45372 if test $gcc_cv_have_tls = yes; then
45373 chktls_save_CFLAGS="$CFLAGS"
45374 thread_CFLAGS=failed
45375 for flag in '' '-pthread' '-lpthread'; do
45376 CFLAGS="$flag $chktls_save_CFLAGS"
45377 if test x$gcc_no_link = xyes; then
45378 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45379 fi
45380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45381 /* end confdefs.h. */
45382 #include <pthread.h>
45383 void *g(void *d) { return NULL; }
45384 int
45385 main ()
45386 {
45387 pthread_t t; pthread_create(&t,NULL,g,NULL);
45388 ;
45389 return 0;
45390 }
45391 _ACEOF
45392 if ac_fn_c_try_link "$LINENO"; then :
45393 thread_CFLAGS="$flag"
45394 fi
45395 rm -f core conftest.err conftest.$ac_objext \
45396 conftest$ac_exeext conftest.$ac_ext
45397 if test "X$thread_CFLAGS" != Xfailed; then
45398 break
45399 fi
45400 done
45401 CFLAGS="$chktls_save_CFLAGS"
45402 if test "X$thread_CFLAGS" != Xfailed; then
45403 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45404 if test "$cross_compiling" = yes; then :
45405 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45406 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45407 as_fn_error "cannot run test program while cross compiling
45408 See \`config.log' for more details." "$LINENO" 5; }
45409 else
45410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45411 /* end confdefs.h. */
45412 #include <pthread.h>
45413 __thread int a;
45414 static int *volatile a_in_other_thread;
45415 static void *
45416 thread_func (void *arg)
45417 {
45418 a_in_other_thread = &a;
45419 return (void *)0;
45420 }
45421 int
45422 main ()
45423 {
45424 pthread_t thread;
45425 void *thread_retval;
45426 int *volatile a_in_main_thread;
45427 a_in_main_thread = &a;
45428 if (pthread_create (&thread, (pthread_attr_t *)0,
45429 thread_func, (void *)0))
45430 return 0;
45431 if (pthread_join (thread, &thread_retval))
45432 return 0;
45433 return (a_in_other_thread == a_in_main_thread);
45434 ;
45435 return 0;
45436 }
45437 _ACEOF
45438 if ac_fn_c_try_run "$LINENO"; then :
45439 gcc_cv_have_tls=yes
45440 else
45441 gcc_cv_have_tls=no
45442 fi
45443 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45444 conftest.$ac_objext conftest.beam conftest.$ac_ext
45445 fi
45446
45447 CFLAGS="$chktls_save_CFLAGS"
45448 fi
45449 fi
45450 else
45451 gcc_cv_have_tls=no
45452 fi
45453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45454 conftest.$ac_objext conftest.beam conftest.$ac_ext
45455 fi
45456
45457 fi
45458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45459 $as_echo "$gcc_cv_have_tls" >&6; }
45460 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45461
45462 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45463
45464 fi
45465 case "$target" in
45466 *-hpux10*)
45467 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45468
45469 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45470
45471 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45472
45473 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45474
45475 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45476
45477 ;;
45478 esac
45479 ;;
45480 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45481
45482 # All these tests are for C++; save the language and the compiler flags.
45483 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45484 # found in GLIBCXX_CONFIGURE.
45485
45486 ac_ext=cpp
45487 ac_cpp='$CXXCPP $CPPFLAGS'
45488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45491
45492 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45493 ac_save_CXXFLAGS="$CXXFLAGS"
45494
45495 # Check for maintainer-mode bits.
45496 if test x"$USE_MAINTAINER_MODE" = xno; then
45497 WERROR=''
45498 else
45499 WERROR='-Werror'
45500 fi
45501
45502 # Check for -ffunction-sections -fdata-sections
45503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45504 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45505 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45507 /* end confdefs.h. */
45508 int foo; void bar() { };
45509 int
45510 main ()
45511 {
45512
45513 ;
45514 return 0;
45515 }
45516 _ACEOF
45517 if ac_fn_cxx_try_compile "$LINENO"; then :
45518 ac_fdsections=yes
45519 else
45520 ac_fdsections=no
45521 fi
45522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45523 if test "$ac_test_CXXFLAGS" = set; then
45524 CXXFLAGS="$ac_save_CXXFLAGS"
45525 else
45526 # this is the suspicious part
45527 CXXFLAGS=''
45528 fi
45529 if test x"$ac_fdsections" = x"yes"; then
45530 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45531 fi
45532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45533 $as_echo "$ac_fdsections" >&6; }
45534
45535 ac_ext=c
45536 ac_cpp='$CPP $CPPFLAGS'
45537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45540
45541
45542
45543
45544
45545 # If we're not using GNU ld, then there's no point in even trying these
45546 # tests. Check for that first. We should have already tested for gld
45547 # by now (in libtool), but require it now just to be safe...
45548 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45549 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45550
45551
45552
45553 # The name set by libtool depends on the version of libtool. Shame on us
45554 # for depending on an impl detail, but c'est la vie. Older versions used
45555 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45556 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45557 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45558 # set (hence we're using an older libtool), then set it.
45559 if test x${with_gnu_ld+set} != xset; then
45560 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45561 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45562 with_gnu_ld=no
45563 else
45564 with_gnu_ld=$ac_cv_prog_gnu_ld
45565 fi
45566 fi
45567
45568 # Start by getting the version number. I think the libtool test already
45569 # does some of this, but throws away the result.
45570 glibcxx_ld_is_gold=no
45571 if test x"$with_gnu_ld" = x"yes"; then
45572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45573 $as_echo_n "checking for ld version... " >&6; }
45574
45575 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45576 glibcxx_ld_is_gold=yes
45577 fi
45578 ldver=`$LD --version 2>/dev/null |
45579 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'`
45580
45581 glibcxx_gnu_ld_version=`echo $ldver | \
45582 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45584 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45585 fi
45586
45587 # Set --gc-sections.
45588 glibcxx_have_gc_sections=no
45589 if test "$glibcxx_ld_is_gold" = "yes"; then
45590 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45591 glibcxx_have_gc_sections=yes
45592 fi
45593 else
45594 glibcxx_gcsections_min_ld=21602
45595 if test x"$with_gnu_ld" = x"yes" &&
45596 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45597 glibcxx_have_gc_sections=yes
45598 fi
45599 fi
45600 if test "$glibcxx_have_gc_sections" = "yes"; then
45601 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45602 # NB: This flag only works reliably after 2.16.1. Configure tests
45603 # for this are difficult, so hard wire a value that should work.
45604
45605 ac_test_CFLAGS="${CFLAGS+set}"
45606 ac_save_CFLAGS="$CFLAGS"
45607 CFLAGS='-Wl,--gc-sections'
45608
45609 # Check for -Wl,--gc-sections
45610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45611 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45612 if test x$gcc_no_link = xyes; then
45613 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45614 fi
45615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45616 /* end confdefs.h. */
45617 int one(void) { return 1; }
45618 int two(void) { return 2; }
45619
45620 int
45621 main ()
45622 {
45623 two();
45624 ;
45625 return 0;
45626 }
45627 _ACEOF
45628 if ac_fn_c_try_link "$LINENO"; then :
45629 ac_gcsections=yes
45630 else
45631 ac_gcsections=no
45632 fi
45633 rm -f core conftest.err conftest.$ac_objext \
45634 conftest$ac_exeext conftest.$ac_ext
45635 if test "$ac_gcsections" = "yes"; then
45636 rm -f conftest.c
45637 touch conftest.c
45638 if $CC -c conftest.c; then
45639 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45640 grep "Warning: gc-sections option ignored" > /dev/null; then
45641 ac_gcsections=no
45642 fi
45643 fi
45644 rm -f conftest.c conftest.o conftest
45645 fi
45646 if test "$ac_gcsections" = "yes"; then
45647 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45648 fi
45649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45650 $as_echo "$ac_gcsections" >&6; }
45651
45652 if test "$ac_test_CFLAGS" = set; then
45653 CFLAGS="$ac_save_CFLAGS"
45654 else
45655 # this is the suspicious part
45656 CFLAGS=''
45657 fi
45658 fi
45659
45660 # Set -z,relro.
45661 # Note this is only for shared objects.
45662 ac_ld_relro=no
45663 if test x"$with_gnu_ld" = x"yes"; then
45664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45665 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45666 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45667 if test -n "$cxx_z_relo"; then
45668 OPT_LDFLAGS="-Wl,-z,relro"
45669 ac_ld_relro=yes
45670 fi
45671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45672 $as_echo "$ac_ld_relro" >&6; }
45673 fi
45674
45675 # Set linker optimization flags.
45676 if test x"$with_gnu_ld" = x"yes"; then
45677 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45678 fi
45679
45680
45681
45682
45683
45684 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45685 ac_save_CXXFLAGS="$CXXFLAGS"
45686 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45687
45688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45689 $as_echo_n "checking for sin in -lm... " >&6; }
45690 if test "${ac_cv_lib_m_sin+set}" = set; then :
45691 $as_echo_n "(cached) " >&6
45692 else
45693 ac_check_lib_save_LIBS=$LIBS
45694 LIBS="-lm $LIBS"
45695 if test x$gcc_no_link = xyes; then
45696 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45697 fi
45698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45699 /* end confdefs.h. */
45700
45701 /* Override any GCC internal prototype to avoid an error.
45702 Use char because int might match the return type of a GCC
45703 builtin and then its argument prototype would still apply. */
45704 #ifdef __cplusplus
45705 extern "C"
45706 #endif
45707 char sin ();
45708 int
45709 main ()
45710 {
45711 return sin ();
45712 ;
45713 return 0;
45714 }
45715 _ACEOF
45716 if ac_fn_c_try_link "$LINENO"; then :
45717 ac_cv_lib_m_sin=yes
45718 else
45719 ac_cv_lib_m_sin=no
45720 fi
45721 rm -f core conftest.err conftest.$ac_objext \
45722 conftest$ac_exeext conftest.$ac_ext
45723 LIBS=$ac_check_lib_save_LIBS
45724 fi
45725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45726 $as_echo "$ac_cv_lib_m_sin" >&6; }
45727 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45728 libm="-lm"
45729 fi
45730
45731 ac_save_LIBS="$LIBS"
45732 LIBS="$LIBS $libm"
45733
45734
45735
45736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45737 $as_echo_n "checking for isinf declaration... " >&6; }
45738 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45739 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45740 $as_echo_n "(cached) " >&6
45741 else
45742
45743
45744 ac_ext=cpp
45745 ac_cpp='$CXXCPP $CPPFLAGS'
45746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45749
45750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45751 /* end confdefs.h. */
45752 #include <math.h>
45753 #ifdef HAVE_IEEEFP_H
45754 #include <ieeefp.h>
45755 #endif
45756
45757 int
45758 main ()
45759 {
45760 isinf(0);
45761 ;
45762 return 0;
45763 }
45764 _ACEOF
45765 if ac_fn_cxx_try_compile "$LINENO"; then :
45766 glibcxx_cv_func_isinf_use=yes
45767 else
45768 glibcxx_cv_func_isinf_use=no
45769 fi
45770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45771 ac_ext=c
45772 ac_cpp='$CPP $CPPFLAGS'
45773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45776
45777
45778 fi
45779
45780 fi
45781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45782 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45783
45784 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45785 for ac_func in isinf
45786 do :
45787 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45788 if test "x$ac_cv_func_isinf" = x""yes; then :
45789 cat >>confdefs.h <<_ACEOF
45790 #define HAVE_ISINF 1
45791 _ACEOF
45792
45793 fi
45794 done
45795
45796 else
45797
45798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45799 $as_echo_n "checking for _isinf declaration... " >&6; }
45800 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45801 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45802 $as_echo_n "(cached) " >&6
45803 else
45804
45805
45806 ac_ext=cpp
45807 ac_cpp='$CXXCPP $CPPFLAGS'
45808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45811
45812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45813 /* end confdefs.h. */
45814 #include <math.h>
45815 #ifdef HAVE_IEEEFP_H
45816 #include <ieeefp.h>
45817 #endif
45818
45819 int
45820 main ()
45821 {
45822 _isinf(0);
45823 ;
45824 return 0;
45825 }
45826 _ACEOF
45827 if ac_fn_cxx_try_compile "$LINENO"; then :
45828 glibcxx_cv_func__isinf_use=yes
45829 else
45830 glibcxx_cv_func__isinf_use=no
45831 fi
45832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45833 ac_ext=c
45834 ac_cpp='$CPP $CPPFLAGS'
45835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45838
45839
45840 fi
45841
45842 fi
45843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45844 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45845
45846 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45847 for ac_func in _isinf
45848 do :
45849 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45850 if test "x$ac_cv_func__isinf" = x""yes; then :
45851 cat >>confdefs.h <<_ACEOF
45852 #define HAVE__ISINF 1
45853 _ACEOF
45854
45855 fi
45856 done
45857
45858 fi
45859 fi
45860
45861
45862
45863
45864
45865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45866 $as_echo_n "checking for isnan declaration... " >&6; }
45867 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45868 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45869 $as_echo_n "(cached) " >&6
45870 else
45871
45872
45873 ac_ext=cpp
45874 ac_cpp='$CXXCPP $CPPFLAGS'
45875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45878
45879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45880 /* end confdefs.h. */
45881 #include <math.h>
45882 #ifdef HAVE_IEEEFP_H
45883 #include <ieeefp.h>
45884 #endif
45885
45886 int
45887 main ()
45888 {
45889 isnan(0);
45890 ;
45891 return 0;
45892 }
45893 _ACEOF
45894 if ac_fn_cxx_try_compile "$LINENO"; then :
45895 glibcxx_cv_func_isnan_use=yes
45896 else
45897 glibcxx_cv_func_isnan_use=no
45898 fi
45899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45900 ac_ext=c
45901 ac_cpp='$CPP $CPPFLAGS'
45902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45905
45906
45907 fi
45908
45909 fi
45910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45911 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45912
45913 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45914 for ac_func in isnan
45915 do :
45916 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45917 if test "x$ac_cv_func_isnan" = x""yes; then :
45918 cat >>confdefs.h <<_ACEOF
45919 #define HAVE_ISNAN 1
45920 _ACEOF
45921
45922 fi
45923 done
45924
45925 else
45926
45927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45928 $as_echo_n "checking for _isnan declaration... " >&6; }
45929 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45930 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45931 $as_echo_n "(cached) " >&6
45932 else
45933
45934
45935 ac_ext=cpp
45936 ac_cpp='$CXXCPP $CPPFLAGS'
45937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45940
45941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45942 /* end confdefs.h. */
45943 #include <math.h>
45944 #ifdef HAVE_IEEEFP_H
45945 #include <ieeefp.h>
45946 #endif
45947
45948 int
45949 main ()
45950 {
45951 _isnan(0);
45952 ;
45953 return 0;
45954 }
45955 _ACEOF
45956 if ac_fn_cxx_try_compile "$LINENO"; then :
45957 glibcxx_cv_func__isnan_use=yes
45958 else
45959 glibcxx_cv_func__isnan_use=no
45960 fi
45961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45962 ac_ext=c
45963 ac_cpp='$CPP $CPPFLAGS'
45964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45967
45968
45969 fi
45970
45971 fi
45972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45973 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45974
45975 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45976 for ac_func in _isnan
45977 do :
45978 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45979 if test "x$ac_cv_func__isnan" = x""yes; then :
45980 cat >>confdefs.h <<_ACEOF
45981 #define HAVE__ISNAN 1
45982 _ACEOF
45983
45984 fi
45985 done
45986
45987 fi
45988 fi
45989
45990
45991
45992
45993
45994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45995 $as_echo_n "checking for finite declaration... " >&6; }
45996 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45997 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45998 $as_echo_n "(cached) " >&6
45999 else
46000
46001
46002 ac_ext=cpp
46003 ac_cpp='$CXXCPP $CPPFLAGS'
46004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46007
46008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46009 /* end confdefs.h. */
46010 #include <math.h>
46011 #ifdef HAVE_IEEEFP_H
46012 #include <ieeefp.h>
46013 #endif
46014
46015 int
46016 main ()
46017 {
46018 finite(0);
46019 ;
46020 return 0;
46021 }
46022 _ACEOF
46023 if ac_fn_cxx_try_compile "$LINENO"; then :
46024 glibcxx_cv_func_finite_use=yes
46025 else
46026 glibcxx_cv_func_finite_use=no
46027 fi
46028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46029 ac_ext=c
46030 ac_cpp='$CPP $CPPFLAGS'
46031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46034
46035
46036 fi
46037
46038 fi
46039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46040 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46041
46042 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46043 for ac_func in finite
46044 do :
46045 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46046 if test "x$ac_cv_func_finite" = x""yes; then :
46047 cat >>confdefs.h <<_ACEOF
46048 #define HAVE_FINITE 1
46049 _ACEOF
46050
46051 fi
46052 done
46053
46054 else
46055
46056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46057 $as_echo_n "checking for _finite declaration... " >&6; }
46058 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46059 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46060 $as_echo_n "(cached) " >&6
46061 else
46062
46063
46064 ac_ext=cpp
46065 ac_cpp='$CXXCPP $CPPFLAGS'
46066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46069
46070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46071 /* end confdefs.h. */
46072 #include <math.h>
46073 #ifdef HAVE_IEEEFP_H
46074 #include <ieeefp.h>
46075 #endif
46076
46077 int
46078 main ()
46079 {
46080 _finite(0);
46081 ;
46082 return 0;
46083 }
46084 _ACEOF
46085 if ac_fn_cxx_try_compile "$LINENO"; then :
46086 glibcxx_cv_func__finite_use=yes
46087 else
46088 glibcxx_cv_func__finite_use=no
46089 fi
46090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46091 ac_ext=c
46092 ac_cpp='$CPP $CPPFLAGS'
46093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46096
46097
46098 fi
46099
46100 fi
46101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46102 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46103
46104 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46105 for ac_func in _finite
46106 do :
46107 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46108 if test "x$ac_cv_func__finite" = x""yes; then :
46109 cat >>confdefs.h <<_ACEOF
46110 #define HAVE__FINITE 1
46111 _ACEOF
46112
46113 fi
46114 done
46115
46116 fi
46117 fi
46118
46119
46120
46121
46122
46123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46124 $as_echo_n "checking for sincos declaration... " >&6; }
46125 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46126 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46127 $as_echo_n "(cached) " >&6
46128 else
46129
46130
46131 ac_ext=cpp
46132 ac_cpp='$CXXCPP $CPPFLAGS'
46133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46136
46137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46138 /* end confdefs.h. */
46139 #include <math.h>
46140 int
46141 main ()
46142 {
46143 sincos(0, 0, 0);
46144 ;
46145 return 0;
46146 }
46147 _ACEOF
46148 if ac_fn_cxx_try_compile "$LINENO"; then :
46149 glibcxx_cv_func_sincos_use=yes
46150 else
46151 glibcxx_cv_func_sincos_use=no
46152 fi
46153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46154 ac_ext=c
46155 ac_cpp='$CPP $CPPFLAGS'
46156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46159
46160
46161 fi
46162
46163 fi
46164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46165 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46166
46167 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46168 for ac_func in sincos
46169 do :
46170 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46171 if test "x$ac_cv_func_sincos" = x""yes; then :
46172 cat >>confdefs.h <<_ACEOF
46173 #define HAVE_SINCOS 1
46174 _ACEOF
46175
46176 fi
46177 done
46178
46179 else
46180
46181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46182 $as_echo_n "checking for _sincos declaration... " >&6; }
46183 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46184 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46185 $as_echo_n "(cached) " >&6
46186 else
46187
46188
46189 ac_ext=cpp
46190 ac_cpp='$CXXCPP $CPPFLAGS'
46191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46194
46195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46196 /* end confdefs.h. */
46197 #include <math.h>
46198 int
46199 main ()
46200 {
46201 _sincos(0, 0, 0);
46202 ;
46203 return 0;
46204 }
46205 _ACEOF
46206 if ac_fn_cxx_try_compile "$LINENO"; then :
46207 glibcxx_cv_func__sincos_use=yes
46208 else
46209 glibcxx_cv_func__sincos_use=no
46210 fi
46211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46212 ac_ext=c
46213 ac_cpp='$CPP $CPPFLAGS'
46214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46217
46218
46219 fi
46220
46221 fi
46222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46223 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46224
46225 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46226 for ac_func in _sincos
46227 do :
46228 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46229 if test "x$ac_cv_func__sincos" = x""yes; then :
46230 cat >>confdefs.h <<_ACEOF
46231 #define HAVE__SINCOS 1
46232 _ACEOF
46233
46234 fi
46235 done
46236
46237 fi
46238 fi
46239
46240
46241
46242
46243
46244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46245 $as_echo_n "checking for fpclass declaration... " >&6; }
46246 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46247 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46248 $as_echo_n "(cached) " >&6
46249 else
46250
46251
46252 ac_ext=cpp
46253 ac_cpp='$CXXCPP $CPPFLAGS'
46254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46257
46258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46259 /* end confdefs.h. */
46260 #include <math.h>
46261 #ifdef HAVE_IEEEFP_H
46262 #include <ieeefp.h>
46263 #endif
46264
46265 int
46266 main ()
46267 {
46268 fpclass(0);
46269 ;
46270 return 0;
46271 }
46272 _ACEOF
46273 if ac_fn_cxx_try_compile "$LINENO"; then :
46274 glibcxx_cv_func_fpclass_use=yes
46275 else
46276 glibcxx_cv_func_fpclass_use=no
46277 fi
46278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46279 ac_ext=c
46280 ac_cpp='$CPP $CPPFLAGS'
46281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46284
46285
46286 fi
46287
46288 fi
46289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46290 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46291
46292 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46293 for ac_func in fpclass
46294 do :
46295 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46296 if test "x$ac_cv_func_fpclass" = x""yes; then :
46297 cat >>confdefs.h <<_ACEOF
46298 #define HAVE_FPCLASS 1
46299 _ACEOF
46300
46301 fi
46302 done
46303
46304 else
46305
46306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46307 $as_echo_n "checking for _fpclass declaration... " >&6; }
46308 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46309 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46310 $as_echo_n "(cached) " >&6
46311 else
46312
46313
46314 ac_ext=cpp
46315 ac_cpp='$CXXCPP $CPPFLAGS'
46316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46319
46320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46321 /* end confdefs.h. */
46322 #include <math.h>
46323 #ifdef HAVE_IEEEFP_H
46324 #include <ieeefp.h>
46325 #endif
46326
46327 int
46328 main ()
46329 {
46330 _fpclass(0);
46331 ;
46332 return 0;
46333 }
46334 _ACEOF
46335 if ac_fn_cxx_try_compile "$LINENO"; then :
46336 glibcxx_cv_func__fpclass_use=yes
46337 else
46338 glibcxx_cv_func__fpclass_use=no
46339 fi
46340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46341 ac_ext=c
46342 ac_cpp='$CPP $CPPFLAGS'
46343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46346
46347
46348 fi
46349
46350 fi
46351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46352 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46353
46354 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46355 for ac_func in _fpclass
46356 do :
46357 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46358 if test "x$ac_cv_func__fpclass" = x""yes; then :
46359 cat >>confdefs.h <<_ACEOF
46360 #define HAVE__FPCLASS 1
46361 _ACEOF
46362
46363 fi
46364 done
46365
46366 fi
46367 fi
46368
46369
46370
46371
46372
46373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46374 $as_echo_n "checking for qfpclass declaration... " >&6; }
46375 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46376 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46377 $as_echo_n "(cached) " >&6
46378 else
46379
46380
46381 ac_ext=cpp
46382 ac_cpp='$CXXCPP $CPPFLAGS'
46383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46386
46387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46388 /* end confdefs.h. */
46389 #include <math.h>
46390 #ifdef HAVE_IEEEFP_H
46391 #include <ieeefp.h>
46392 #endif
46393
46394 int
46395 main ()
46396 {
46397 qfpclass(0);
46398 ;
46399 return 0;
46400 }
46401 _ACEOF
46402 if ac_fn_cxx_try_compile "$LINENO"; then :
46403 glibcxx_cv_func_qfpclass_use=yes
46404 else
46405 glibcxx_cv_func_qfpclass_use=no
46406 fi
46407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46408 ac_ext=c
46409 ac_cpp='$CPP $CPPFLAGS'
46410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46413
46414
46415 fi
46416
46417 fi
46418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46419 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46420
46421 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46422 for ac_func in qfpclass
46423 do :
46424 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46425 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46426 cat >>confdefs.h <<_ACEOF
46427 #define HAVE_QFPCLASS 1
46428 _ACEOF
46429
46430 fi
46431 done
46432
46433 else
46434
46435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46436 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46437 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46438 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46439 $as_echo_n "(cached) " >&6
46440 else
46441
46442
46443 ac_ext=cpp
46444 ac_cpp='$CXXCPP $CPPFLAGS'
46445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46448
46449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46450 /* end confdefs.h. */
46451 #include <math.h>
46452 #ifdef HAVE_IEEEFP_H
46453 #include <ieeefp.h>
46454 #endif
46455
46456 int
46457 main ()
46458 {
46459 _qfpclass(0);
46460 ;
46461 return 0;
46462 }
46463 _ACEOF
46464 if ac_fn_cxx_try_compile "$LINENO"; then :
46465 glibcxx_cv_func__qfpclass_use=yes
46466 else
46467 glibcxx_cv_func__qfpclass_use=no
46468 fi
46469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46470 ac_ext=c
46471 ac_cpp='$CPP $CPPFLAGS'
46472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46475
46476
46477 fi
46478
46479 fi
46480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46481 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46482
46483 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46484 for ac_func in _qfpclass
46485 do :
46486 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46487 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46488 cat >>confdefs.h <<_ACEOF
46489 #define HAVE__QFPCLASS 1
46490 _ACEOF
46491
46492 fi
46493 done
46494
46495 fi
46496 fi
46497
46498
46499
46500
46501
46502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46503 $as_echo_n "checking for hypot declaration... " >&6; }
46504 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46505 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46506 $as_echo_n "(cached) " >&6
46507 else
46508
46509
46510 ac_ext=cpp
46511 ac_cpp='$CXXCPP $CPPFLAGS'
46512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46515
46516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46517 /* end confdefs.h. */
46518 #include <math.h>
46519 int
46520 main ()
46521 {
46522 hypot(0, 0);
46523 ;
46524 return 0;
46525 }
46526 _ACEOF
46527 if ac_fn_cxx_try_compile "$LINENO"; then :
46528 glibcxx_cv_func_hypot_use=yes
46529 else
46530 glibcxx_cv_func_hypot_use=no
46531 fi
46532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46533 ac_ext=c
46534 ac_cpp='$CPP $CPPFLAGS'
46535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46538
46539
46540 fi
46541
46542 fi
46543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46544 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46545
46546 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46547 for ac_func in hypot
46548 do :
46549 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46550 if test "x$ac_cv_func_hypot" = x""yes; then :
46551 cat >>confdefs.h <<_ACEOF
46552 #define HAVE_HYPOT 1
46553 _ACEOF
46554
46555 fi
46556 done
46557
46558 else
46559
46560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46561 $as_echo_n "checking for _hypot declaration... " >&6; }
46562 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46563 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46564 $as_echo_n "(cached) " >&6
46565 else
46566
46567
46568 ac_ext=cpp
46569 ac_cpp='$CXXCPP $CPPFLAGS'
46570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46573
46574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46575 /* end confdefs.h. */
46576 #include <math.h>
46577 int
46578 main ()
46579 {
46580 _hypot(0, 0);
46581 ;
46582 return 0;
46583 }
46584 _ACEOF
46585 if ac_fn_cxx_try_compile "$LINENO"; then :
46586 glibcxx_cv_func__hypot_use=yes
46587 else
46588 glibcxx_cv_func__hypot_use=no
46589 fi
46590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46591 ac_ext=c
46592 ac_cpp='$CPP $CPPFLAGS'
46593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46596
46597
46598 fi
46599
46600 fi
46601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46602 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46603
46604 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46605 for ac_func in _hypot
46606 do :
46607 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46608 if test "x$ac_cv_func__hypot" = x""yes; then :
46609 cat >>confdefs.h <<_ACEOF
46610 #define HAVE__HYPOT 1
46611 _ACEOF
46612
46613 fi
46614 done
46615
46616 fi
46617 fi
46618
46619
46620
46621
46622
46623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46624 $as_echo_n "checking for float trig functions... " >&6; }
46625 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46626 $as_echo_n "(cached) " >&6
46627 else
46628
46629
46630 ac_ext=cpp
46631 ac_cpp='$CXXCPP $CPPFLAGS'
46632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46635
46636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46637 /* end confdefs.h. */
46638 #include <math.h>
46639 int
46640 main ()
46641 {
46642 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46643 ;
46644 return 0;
46645 }
46646 _ACEOF
46647 if ac_fn_cxx_try_compile "$LINENO"; then :
46648 glibcxx_cv_func_float_trig_use=yes
46649 else
46650 glibcxx_cv_func_float_trig_use=no
46651 fi
46652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46653 ac_ext=c
46654 ac_cpp='$CPP $CPPFLAGS'
46655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46658
46659 fi
46660
46661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46662 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46663 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46664 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46665 do :
46666 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46667 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46668 eval as_val=\$$as_ac_var
46669 if test "x$as_val" = x""yes; then :
46670 cat >>confdefs.h <<_ACEOF
46671 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46672 _ACEOF
46673
46674 fi
46675 done
46676
46677 else
46678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46679 $as_echo_n "checking for _float trig functions... " >&6; }
46680 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46681 $as_echo_n "(cached) " >&6
46682 else
46683
46684
46685 ac_ext=cpp
46686 ac_cpp='$CXXCPP $CPPFLAGS'
46687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46690
46691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46692 /* end confdefs.h. */
46693 #include <math.h>
46694 int
46695 main ()
46696 {
46697 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46698 ;
46699 return 0;
46700 }
46701 _ACEOF
46702 if ac_fn_cxx_try_compile "$LINENO"; then :
46703 glibcxx_cv_func__float_trig_use=yes
46704 else
46705 glibcxx_cv_func__float_trig_use=no
46706 fi
46707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46708 ac_ext=c
46709 ac_cpp='$CPP $CPPFLAGS'
46710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46713
46714 fi
46715
46716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46717 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46718 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46719 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46720 do :
46721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46723 eval as_val=\$$as_ac_var
46724 if test "x$as_val" = x""yes; then :
46725 cat >>confdefs.h <<_ACEOF
46726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46727 _ACEOF
46728
46729 fi
46730 done
46731
46732 fi
46733 fi
46734
46735
46736
46737
46738
46739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46740 $as_echo_n "checking for float round functions... " >&6; }
46741 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46742 $as_echo_n "(cached) " >&6
46743 else
46744
46745
46746 ac_ext=cpp
46747 ac_cpp='$CXXCPP $CPPFLAGS'
46748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46751
46752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46753 /* end confdefs.h. */
46754 #include <math.h>
46755 int
46756 main ()
46757 {
46758 ceilf (0); floorf (0);
46759 ;
46760 return 0;
46761 }
46762 _ACEOF
46763 if ac_fn_cxx_try_compile "$LINENO"; then :
46764 glibcxx_cv_func_float_round_use=yes
46765 else
46766 glibcxx_cv_func_float_round_use=no
46767 fi
46768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46769 ac_ext=c
46770 ac_cpp='$CPP $CPPFLAGS'
46771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46774
46775 fi
46776
46777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46778 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46779 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46780 for ac_func in ceilf floorf
46781 do :
46782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46784 eval as_val=\$$as_ac_var
46785 if test "x$as_val" = x""yes; then :
46786 cat >>confdefs.h <<_ACEOF
46787 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46788 _ACEOF
46789
46790 fi
46791 done
46792
46793 else
46794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46795 $as_echo_n "checking for _float round functions... " >&6; }
46796 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46797 $as_echo_n "(cached) " >&6
46798 else
46799
46800
46801 ac_ext=cpp
46802 ac_cpp='$CXXCPP $CPPFLAGS'
46803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46806
46807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46808 /* end confdefs.h. */
46809 #include <math.h>
46810 int
46811 main ()
46812 {
46813 _ceilf (0); _floorf (0);
46814 ;
46815 return 0;
46816 }
46817 _ACEOF
46818 if ac_fn_cxx_try_compile "$LINENO"; then :
46819 glibcxx_cv_func__float_round_use=yes
46820 else
46821 glibcxx_cv_func__float_round_use=no
46822 fi
46823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46824 ac_ext=c
46825 ac_cpp='$CPP $CPPFLAGS'
46826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46829
46830 fi
46831
46832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46833 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46834 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46835 for ac_func in _ceilf _floorf
46836 do :
46837 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46838 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46839 eval as_val=\$$as_ac_var
46840 if test "x$as_val" = x""yes; then :
46841 cat >>confdefs.h <<_ACEOF
46842 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46843 _ACEOF
46844
46845 fi
46846 done
46847
46848 fi
46849 fi
46850
46851
46852
46853
46854
46855
46856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46857 $as_echo_n "checking for expf declaration... " >&6; }
46858 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46859 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46860 $as_echo_n "(cached) " >&6
46861 else
46862
46863
46864 ac_ext=cpp
46865 ac_cpp='$CXXCPP $CPPFLAGS'
46866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46869
46870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46871 /* end confdefs.h. */
46872 #include <math.h>
46873 #ifdef HAVE_IEEEFP_H
46874 #include <ieeefp.h>
46875 #endif
46876
46877 int
46878 main ()
46879 {
46880 expf(0);
46881 ;
46882 return 0;
46883 }
46884 _ACEOF
46885 if ac_fn_cxx_try_compile "$LINENO"; then :
46886 glibcxx_cv_func_expf_use=yes
46887 else
46888 glibcxx_cv_func_expf_use=no
46889 fi
46890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46891 ac_ext=c
46892 ac_cpp='$CPP $CPPFLAGS'
46893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46896
46897
46898 fi
46899
46900 fi
46901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46902 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46903
46904 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46905 for ac_func in expf
46906 do :
46907 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46908 if test "x$ac_cv_func_expf" = x""yes; then :
46909 cat >>confdefs.h <<_ACEOF
46910 #define HAVE_EXPF 1
46911 _ACEOF
46912
46913 fi
46914 done
46915
46916 else
46917
46918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46919 $as_echo_n "checking for _expf declaration... " >&6; }
46920 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46921 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46922 $as_echo_n "(cached) " >&6
46923 else
46924
46925
46926 ac_ext=cpp
46927 ac_cpp='$CXXCPP $CPPFLAGS'
46928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46931
46932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46933 /* end confdefs.h. */
46934 #include <math.h>
46935 #ifdef HAVE_IEEEFP_H
46936 #include <ieeefp.h>
46937 #endif
46938
46939 int
46940 main ()
46941 {
46942 _expf(0);
46943 ;
46944 return 0;
46945 }
46946 _ACEOF
46947 if ac_fn_cxx_try_compile "$LINENO"; then :
46948 glibcxx_cv_func__expf_use=yes
46949 else
46950 glibcxx_cv_func__expf_use=no
46951 fi
46952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46953 ac_ext=c
46954 ac_cpp='$CPP $CPPFLAGS'
46955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46958
46959
46960 fi
46961
46962 fi
46963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46964 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46965
46966 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46967 for ac_func in _expf
46968 do :
46969 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46970 if test "x$ac_cv_func__expf" = x""yes; then :
46971 cat >>confdefs.h <<_ACEOF
46972 #define HAVE__EXPF 1
46973 _ACEOF
46974
46975 fi
46976 done
46977
46978 fi
46979 fi
46980
46981
46982
46983
46984
46985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46986 $as_echo_n "checking for isnanf declaration... " >&6; }
46987 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46988 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46989 $as_echo_n "(cached) " >&6
46990 else
46991
46992
46993 ac_ext=cpp
46994 ac_cpp='$CXXCPP $CPPFLAGS'
46995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46998
46999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47000 /* end confdefs.h. */
47001 #include <math.h>
47002 #ifdef HAVE_IEEEFP_H
47003 #include <ieeefp.h>
47004 #endif
47005
47006 int
47007 main ()
47008 {
47009 isnanf(0);
47010 ;
47011 return 0;
47012 }
47013 _ACEOF
47014 if ac_fn_cxx_try_compile "$LINENO"; then :
47015 glibcxx_cv_func_isnanf_use=yes
47016 else
47017 glibcxx_cv_func_isnanf_use=no
47018 fi
47019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47020 ac_ext=c
47021 ac_cpp='$CPP $CPPFLAGS'
47022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47025
47026
47027 fi
47028
47029 fi
47030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47031 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47032
47033 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47034 for ac_func in isnanf
47035 do :
47036 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47037 if test "x$ac_cv_func_isnanf" = x""yes; then :
47038 cat >>confdefs.h <<_ACEOF
47039 #define HAVE_ISNANF 1
47040 _ACEOF
47041
47042 fi
47043 done
47044
47045 else
47046
47047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47048 $as_echo_n "checking for _isnanf declaration... " >&6; }
47049 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47050 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47051 $as_echo_n "(cached) " >&6
47052 else
47053
47054
47055 ac_ext=cpp
47056 ac_cpp='$CXXCPP $CPPFLAGS'
47057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47060
47061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47062 /* end confdefs.h. */
47063 #include <math.h>
47064 #ifdef HAVE_IEEEFP_H
47065 #include <ieeefp.h>
47066 #endif
47067
47068 int
47069 main ()
47070 {
47071 _isnanf(0);
47072 ;
47073 return 0;
47074 }
47075 _ACEOF
47076 if ac_fn_cxx_try_compile "$LINENO"; then :
47077 glibcxx_cv_func__isnanf_use=yes
47078 else
47079 glibcxx_cv_func__isnanf_use=no
47080 fi
47081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47082 ac_ext=c
47083 ac_cpp='$CPP $CPPFLAGS'
47084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47087
47088
47089 fi
47090
47091 fi
47092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47093 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47094
47095 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47096 for ac_func in _isnanf
47097 do :
47098 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47099 if test "x$ac_cv_func__isnanf" = x""yes; then :
47100 cat >>confdefs.h <<_ACEOF
47101 #define HAVE__ISNANF 1
47102 _ACEOF
47103
47104 fi
47105 done
47106
47107 fi
47108 fi
47109
47110
47111
47112
47113
47114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47115 $as_echo_n "checking for isinff declaration... " >&6; }
47116 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47117 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47118 $as_echo_n "(cached) " >&6
47119 else
47120
47121
47122 ac_ext=cpp
47123 ac_cpp='$CXXCPP $CPPFLAGS'
47124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47127
47128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47129 /* end confdefs.h. */
47130 #include <math.h>
47131 #ifdef HAVE_IEEEFP_H
47132 #include <ieeefp.h>
47133 #endif
47134
47135 int
47136 main ()
47137 {
47138 isinff(0);
47139 ;
47140 return 0;
47141 }
47142 _ACEOF
47143 if ac_fn_cxx_try_compile "$LINENO"; then :
47144 glibcxx_cv_func_isinff_use=yes
47145 else
47146 glibcxx_cv_func_isinff_use=no
47147 fi
47148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47149 ac_ext=c
47150 ac_cpp='$CPP $CPPFLAGS'
47151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47154
47155
47156 fi
47157
47158 fi
47159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47160 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47161
47162 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47163 for ac_func in isinff
47164 do :
47165 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47166 if test "x$ac_cv_func_isinff" = x""yes; then :
47167 cat >>confdefs.h <<_ACEOF
47168 #define HAVE_ISINFF 1
47169 _ACEOF
47170
47171 fi
47172 done
47173
47174 else
47175
47176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47177 $as_echo_n "checking for _isinff declaration... " >&6; }
47178 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47179 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47180 $as_echo_n "(cached) " >&6
47181 else
47182
47183
47184 ac_ext=cpp
47185 ac_cpp='$CXXCPP $CPPFLAGS'
47186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47189
47190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47191 /* end confdefs.h. */
47192 #include <math.h>
47193 #ifdef HAVE_IEEEFP_H
47194 #include <ieeefp.h>
47195 #endif
47196
47197 int
47198 main ()
47199 {
47200 _isinff(0);
47201 ;
47202 return 0;
47203 }
47204 _ACEOF
47205 if ac_fn_cxx_try_compile "$LINENO"; then :
47206 glibcxx_cv_func__isinff_use=yes
47207 else
47208 glibcxx_cv_func__isinff_use=no
47209 fi
47210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47211 ac_ext=c
47212 ac_cpp='$CPP $CPPFLAGS'
47213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47216
47217
47218 fi
47219
47220 fi
47221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47222 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47223
47224 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47225 for ac_func in _isinff
47226 do :
47227 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47228 if test "x$ac_cv_func__isinff" = x""yes; then :
47229 cat >>confdefs.h <<_ACEOF
47230 #define HAVE__ISINFF 1
47231 _ACEOF
47232
47233 fi
47234 done
47235
47236 fi
47237 fi
47238
47239
47240
47241
47242
47243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47244 $as_echo_n "checking for atan2f declaration... " >&6; }
47245 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47246 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47247 $as_echo_n "(cached) " >&6
47248 else
47249
47250
47251 ac_ext=cpp
47252 ac_cpp='$CXXCPP $CPPFLAGS'
47253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47256
47257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47258 /* end confdefs.h. */
47259 #include <math.h>
47260 int
47261 main ()
47262 {
47263 atan2f(0, 0);
47264 ;
47265 return 0;
47266 }
47267 _ACEOF
47268 if ac_fn_cxx_try_compile "$LINENO"; then :
47269 glibcxx_cv_func_atan2f_use=yes
47270 else
47271 glibcxx_cv_func_atan2f_use=no
47272 fi
47273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47274 ac_ext=c
47275 ac_cpp='$CPP $CPPFLAGS'
47276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47279
47280
47281 fi
47282
47283 fi
47284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47285 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47286
47287 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47288 for ac_func in atan2f
47289 do :
47290 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47291 if test "x$ac_cv_func_atan2f" = x""yes; then :
47292 cat >>confdefs.h <<_ACEOF
47293 #define HAVE_ATAN2F 1
47294 _ACEOF
47295
47296 fi
47297 done
47298
47299 else
47300
47301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47302 $as_echo_n "checking for _atan2f declaration... " >&6; }
47303 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47304 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47305 $as_echo_n "(cached) " >&6
47306 else
47307
47308
47309 ac_ext=cpp
47310 ac_cpp='$CXXCPP $CPPFLAGS'
47311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47314
47315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47316 /* end confdefs.h. */
47317 #include <math.h>
47318 int
47319 main ()
47320 {
47321 _atan2f(0, 0);
47322 ;
47323 return 0;
47324 }
47325 _ACEOF
47326 if ac_fn_cxx_try_compile "$LINENO"; then :
47327 glibcxx_cv_func__atan2f_use=yes
47328 else
47329 glibcxx_cv_func__atan2f_use=no
47330 fi
47331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47332 ac_ext=c
47333 ac_cpp='$CPP $CPPFLAGS'
47334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47337
47338
47339 fi
47340
47341 fi
47342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47343 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47344
47345 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47346 for ac_func in _atan2f
47347 do :
47348 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47349 if test "x$ac_cv_func__atan2f" = x""yes; then :
47350 cat >>confdefs.h <<_ACEOF
47351 #define HAVE__ATAN2F 1
47352 _ACEOF
47353
47354 fi
47355 done
47356
47357 fi
47358 fi
47359
47360
47361
47362
47363
47364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47365 $as_echo_n "checking for fabsf declaration... " >&6; }
47366 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47367 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47368 $as_echo_n "(cached) " >&6
47369 else
47370
47371
47372 ac_ext=cpp
47373 ac_cpp='$CXXCPP $CPPFLAGS'
47374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47377
47378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47379 /* end confdefs.h. */
47380 #include <math.h>
47381 #ifdef HAVE_IEEEFP_H
47382 #include <ieeefp.h>
47383 #endif
47384
47385 int
47386 main ()
47387 {
47388 fabsf(0);
47389 ;
47390 return 0;
47391 }
47392 _ACEOF
47393 if ac_fn_cxx_try_compile "$LINENO"; then :
47394 glibcxx_cv_func_fabsf_use=yes
47395 else
47396 glibcxx_cv_func_fabsf_use=no
47397 fi
47398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47399 ac_ext=c
47400 ac_cpp='$CPP $CPPFLAGS'
47401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47404
47405
47406 fi
47407
47408 fi
47409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47410 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47411
47412 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47413 for ac_func in fabsf
47414 do :
47415 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47416 if test "x$ac_cv_func_fabsf" = x""yes; then :
47417 cat >>confdefs.h <<_ACEOF
47418 #define HAVE_FABSF 1
47419 _ACEOF
47420
47421 fi
47422 done
47423
47424 else
47425
47426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47427 $as_echo_n "checking for _fabsf declaration... " >&6; }
47428 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47429 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47430 $as_echo_n "(cached) " >&6
47431 else
47432
47433
47434 ac_ext=cpp
47435 ac_cpp='$CXXCPP $CPPFLAGS'
47436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47439
47440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47441 /* end confdefs.h. */
47442 #include <math.h>
47443 #ifdef HAVE_IEEEFP_H
47444 #include <ieeefp.h>
47445 #endif
47446
47447 int
47448 main ()
47449 {
47450 _fabsf(0);
47451 ;
47452 return 0;
47453 }
47454 _ACEOF
47455 if ac_fn_cxx_try_compile "$LINENO"; then :
47456 glibcxx_cv_func__fabsf_use=yes
47457 else
47458 glibcxx_cv_func__fabsf_use=no
47459 fi
47460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47461 ac_ext=c
47462 ac_cpp='$CPP $CPPFLAGS'
47463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47466
47467
47468 fi
47469
47470 fi
47471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47472 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47473
47474 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47475 for ac_func in _fabsf
47476 do :
47477 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47478 if test "x$ac_cv_func__fabsf" = x""yes; then :
47479 cat >>confdefs.h <<_ACEOF
47480 #define HAVE__FABSF 1
47481 _ACEOF
47482
47483 fi
47484 done
47485
47486 fi
47487 fi
47488
47489
47490
47491
47492
47493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47494 $as_echo_n "checking for fmodf declaration... " >&6; }
47495 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47496 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47497 $as_echo_n "(cached) " >&6
47498 else
47499
47500
47501 ac_ext=cpp
47502 ac_cpp='$CXXCPP $CPPFLAGS'
47503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47506
47507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47508 /* end confdefs.h. */
47509 #include <math.h>
47510 int
47511 main ()
47512 {
47513 fmodf(0, 0);
47514 ;
47515 return 0;
47516 }
47517 _ACEOF
47518 if ac_fn_cxx_try_compile "$LINENO"; then :
47519 glibcxx_cv_func_fmodf_use=yes
47520 else
47521 glibcxx_cv_func_fmodf_use=no
47522 fi
47523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47524 ac_ext=c
47525 ac_cpp='$CPP $CPPFLAGS'
47526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47529
47530
47531 fi
47532
47533 fi
47534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47535 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47536
47537 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47538 for ac_func in fmodf
47539 do :
47540 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47541 if test "x$ac_cv_func_fmodf" = x""yes; then :
47542 cat >>confdefs.h <<_ACEOF
47543 #define HAVE_FMODF 1
47544 _ACEOF
47545
47546 fi
47547 done
47548
47549 else
47550
47551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47552 $as_echo_n "checking for _fmodf declaration... " >&6; }
47553 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47554 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47555 $as_echo_n "(cached) " >&6
47556 else
47557
47558
47559 ac_ext=cpp
47560 ac_cpp='$CXXCPP $CPPFLAGS'
47561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47564
47565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47566 /* end confdefs.h. */
47567 #include <math.h>
47568 int
47569 main ()
47570 {
47571 _fmodf(0, 0);
47572 ;
47573 return 0;
47574 }
47575 _ACEOF
47576 if ac_fn_cxx_try_compile "$LINENO"; then :
47577 glibcxx_cv_func__fmodf_use=yes
47578 else
47579 glibcxx_cv_func__fmodf_use=no
47580 fi
47581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47582 ac_ext=c
47583 ac_cpp='$CPP $CPPFLAGS'
47584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47587
47588
47589 fi
47590
47591 fi
47592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47593 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47594
47595 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47596 for ac_func in _fmodf
47597 do :
47598 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47599 if test "x$ac_cv_func__fmodf" = x""yes; then :
47600 cat >>confdefs.h <<_ACEOF
47601 #define HAVE__FMODF 1
47602 _ACEOF
47603
47604 fi
47605 done
47606
47607 fi
47608 fi
47609
47610
47611
47612
47613
47614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47615 $as_echo_n "checking for frexpf declaration... " >&6; }
47616 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47617 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47618 $as_echo_n "(cached) " >&6
47619 else
47620
47621
47622 ac_ext=cpp
47623 ac_cpp='$CXXCPP $CPPFLAGS'
47624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47627
47628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47629 /* end confdefs.h. */
47630 #include <math.h>
47631 int
47632 main ()
47633 {
47634 frexpf(0, 0);
47635 ;
47636 return 0;
47637 }
47638 _ACEOF
47639 if ac_fn_cxx_try_compile "$LINENO"; then :
47640 glibcxx_cv_func_frexpf_use=yes
47641 else
47642 glibcxx_cv_func_frexpf_use=no
47643 fi
47644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47645 ac_ext=c
47646 ac_cpp='$CPP $CPPFLAGS'
47647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47650
47651
47652 fi
47653
47654 fi
47655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47656 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47657
47658 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47659 for ac_func in frexpf
47660 do :
47661 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47662 if test "x$ac_cv_func_frexpf" = x""yes; then :
47663 cat >>confdefs.h <<_ACEOF
47664 #define HAVE_FREXPF 1
47665 _ACEOF
47666
47667 fi
47668 done
47669
47670 else
47671
47672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47673 $as_echo_n "checking for _frexpf declaration... " >&6; }
47674 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47675 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47676 $as_echo_n "(cached) " >&6
47677 else
47678
47679
47680 ac_ext=cpp
47681 ac_cpp='$CXXCPP $CPPFLAGS'
47682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47685
47686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47687 /* end confdefs.h. */
47688 #include <math.h>
47689 int
47690 main ()
47691 {
47692 _frexpf(0, 0);
47693 ;
47694 return 0;
47695 }
47696 _ACEOF
47697 if ac_fn_cxx_try_compile "$LINENO"; then :
47698 glibcxx_cv_func__frexpf_use=yes
47699 else
47700 glibcxx_cv_func__frexpf_use=no
47701 fi
47702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47703 ac_ext=c
47704 ac_cpp='$CPP $CPPFLAGS'
47705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47708
47709
47710 fi
47711
47712 fi
47713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47714 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47715
47716 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47717 for ac_func in _frexpf
47718 do :
47719 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47720 if test "x$ac_cv_func__frexpf" = x""yes; then :
47721 cat >>confdefs.h <<_ACEOF
47722 #define HAVE__FREXPF 1
47723 _ACEOF
47724
47725 fi
47726 done
47727
47728 fi
47729 fi
47730
47731
47732
47733
47734
47735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47736 $as_echo_n "checking for hypotf declaration... " >&6; }
47737 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47738 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47739 $as_echo_n "(cached) " >&6
47740 else
47741
47742
47743 ac_ext=cpp
47744 ac_cpp='$CXXCPP $CPPFLAGS'
47745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47748
47749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47750 /* end confdefs.h. */
47751 #include <math.h>
47752 int
47753 main ()
47754 {
47755 hypotf(0, 0);
47756 ;
47757 return 0;
47758 }
47759 _ACEOF
47760 if ac_fn_cxx_try_compile "$LINENO"; then :
47761 glibcxx_cv_func_hypotf_use=yes
47762 else
47763 glibcxx_cv_func_hypotf_use=no
47764 fi
47765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47766 ac_ext=c
47767 ac_cpp='$CPP $CPPFLAGS'
47768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47771
47772
47773 fi
47774
47775 fi
47776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47777 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47778
47779 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47780 for ac_func in hypotf
47781 do :
47782 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47783 if test "x$ac_cv_func_hypotf" = x""yes; then :
47784 cat >>confdefs.h <<_ACEOF
47785 #define HAVE_HYPOTF 1
47786 _ACEOF
47787
47788 fi
47789 done
47790
47791 else
47792
47793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47794 $as_echo_n "checking for _hypotf declaration... " >&6; }
47795 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47796 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47797 $as_echo_n "(cached) " >&6
47798 else
47799
47800
47801 ac_ext=cpp
47802 ac_cpp='$CXXCPP $CPPFLAGS'
47803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47806
47807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47808 /* end confdefs.h. */
47809 #include <math.h>
47810 int
47811 main ()
47812 {
47813 _hypotf(0, 0);
47814 ;
47815 return 0;
47816 }
47817 _ACEOF
47818 if ac_fn_cxx_try_compile "$LINENO"; then :
47819 glibcxx_cv_func__hypotf_use=yes
47820 else
47821 glibcxx_cv_func__hypotf_use=no
47822 fi
47823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47824 ac_ext=c
47825 ac_cpp='$CPP $CPPFLAGS'
47826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47829
47830
47831 fi
47832
47833 fi
47834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47835 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47836
47837 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47838 for ac_func in _hypotf
47839 do :
47840 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47841 if test "x$ac_cv_func__hypotf" = x""yes; then :
47842 cat >>confdefs.h <<_ACEOF
47843 #define HAVE__HYPOTF 1
47844 _ACEOF
47845
47846 fi
47847 done
47848
47849 fi
47850 fi
47851
47852
47853
47854
47855
47856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47857 $as_echo_n "checking for ldexpf declaration... " >&6; }
47858 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47859 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47860 $as_echo_n "(cached) " >&6
47861 else
47862
47863
47864 ac_ext=cpp
47865 ac_cpp='$CXXCPP $CPPFLAGS'
47866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47869
47870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47871 /* end confdefs.h. */
47872 #include <math.h>
47873 int
47874 main ()
47875 {
47876 ldexpf(0, 0);
47877 ;
47878 return 0;
47879 }
47880 _ACEOF
47881 if ac_fn_cxx_try_compile "$LINENO"; then :
47882 glibcxx_cv_func_ldexpf_use=yes
47883 else
47884 glibcxx_cv_func_ldexpf_use=no
47885 fi
47886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47887 ac_ext=c
47888 ac_cpp='$CPP $CPPFLAGS'
47889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47892
47893
47894 fi
47895
47896 fi
47897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47898 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47899
47900 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47901 for ac_func in ldexpf
47902 do :
47903 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47904 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47905 cat >>confdefs.h <<_ACEOF
47906 #define HAVE_LDEXPF 1
47907 _ACEOF
47908
47909 fi
47910 done
47911
47912 else
47913
47914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47915 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47916 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47917 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47918 $as_echo_n "(cached) " >&6
47919 else
47920
47921
47922 ac_ext=cpp
47923 ac_cpp='$CXXCPP $CPPFLAGS'
47924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47927
47928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47929 /* end confdefs.h. */
47930 #include <math.h>
47931 int
47932 main ()
47933 {
47934 _ldexpf(0, 0);
47935 ;
47936 return 0;
47937 }
47938 _ACEOF
47939 if ac_fn_cxx_try_compile "$LINENO"; then :
47940 glibcxx_cv_func__ldexpf_use=yes
47941 else
47942 glibcxx_cv_func__ldexpf_use=no
47943 fi
47944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47945 ac_ext=c
47946 ac_cpp='$CPP $CPPFLAGS'
47947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47950
47951
47952 fi
47953
47954 fi
47955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47956 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47957
47958 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47959 for ac_func in _ldexpf
47960 do :
47961 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47962 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47963 cat >>confdefs.h <<_ACEOF
47964 #define HAVE__LDEXPF 1
47965 _ACEOF
47966
47967 fi
47968 done
47969
47970 fi
47971 fi
47972
47973
47974
47975
47976
47977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47978 $as_echo_n "checking for logf declaration... " >&6; }
47979 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47980 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47981 $as_echo_n "(cached) " >&6
47982 else
47983
47984
47985 ac_ext=cpp
47986 ac_cpp='$CXXCPP $CPPFLAGS'
47987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47990
47991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47992 /* end confdefs.h. */
47993 #include <math.h>
47994 #ifdef HAVE_IEEEFP_H
47995 #include <ieeefp.h>
47996 #endif
47997
47998 int
47999 main ()
48000 {
48001 logf(0);
48002 ;
48003 return 0;
48004 }
48005 _ACEOF
48006 if ac_fn_cxx_try_compile "$LINENO"; then :
48007 glibcxx_cv_func_logf_use=yes
48008 else
48009 glibcxx_cv_func_logf_use=no
48010 fi
48011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48012 ac_ext=c
48013 ac_cpp='$CPP $CPPFLAGS'
48014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48017
48018
48019 fi
48020
48021 fi
48022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48023 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48024
48025 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48026 for ac_func in logf
48027 do :
48028 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48029 if test "x$ac_cv_func_logf" = x""yes; then :
48030 cat >>confdefs.h <<_ACEOF
48031 #define HAVE_LOGF 1
48032 _ACEOF
48033
48034 fi
48035 done
48036
48037 else
48038
48039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48040 $as_echo_n "checking for _logf declaration... " >&6; }
48041 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48042 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48043 $as_echo_n "(cached) " >&6
48044 else
48045
48046
48047 ac_ext=cpp
48048 ac_cpp='$CXXCPP $CPPFLAGS'
48049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48052
48053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48054 /* end confdefs.h. */
48055 #include <math.h>
48056 #ifdef HAVE_IEEEFP_H
48057 #include <ieeefp.h>
48058 #endif
48059
48060 int
48061 main ()
48062 {
48063 _logf(0);
48064 ;
48065 return 0;
48066 }
48067 _ACEOF
48068 if ac_fn_cxx_try_compile "$LINENO"; then :
48069 glibcxx_cv_func__logf_use=yes
48070 else
48071 glibcxx_cv_func__logf_use=no
48072 fi
48073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48074 ac_ext=c
48075 ac_cpp='$CPP $CPPFLAGS'
48076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48079
48080
48081 fi
48082
48083 fi
48084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48085 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48086
48087 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48088 for ac_func in _logf
48089 do :
48090 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48091 if test "x$ac_cv_func__logf" = x""yes; then :
48092 cat >>confdefs.h <<_ACEOF
48093 #define HAVE__LOGF 1
48094 _ACEOF
48095
48096 fi
48097 done
48098
48099 fi
48100 fi
48101
48102
48103
48104
48105
48106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48107 $as_echo_n "checking for log10f declaration... " >&6; }
48108 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48109 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48110 $as_echo_n "(cached) " >&6
48111 else
48112
48113
48114 ac_ext=cpp
48115 ac_cpp='$CXXCPP $CPPFLAGS'
48116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48119
48120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48121 /* end confdefs.h. */
48122 #include <math.h>
48123 #ifdef HAVE_IEEEFP_H
48124 #include <ieeefp.h>
48125 #endif
48126
48127 int
48128 main ()
48129 {
48130 log10f(0);
48131 ;
48132 return 0;
48133 }
48134 _ACEOF
48135 if ac_fn_cxx_try_compile "$LINENO"; then :
48136 glibcxx_cv_func_log10f_use=yes
48137 else
48138 glibcxx_cv_func_log10f_use=no
48139 fi
48140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48141 ac_ext=c
48142 ac_cpp='$CPP $CPPFLAGS'
48143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48146
48147
48148 fi
48149
48150 fi
48151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48152 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48153
48154 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48155 for ac_func in log10f
48156 do :
48157 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48158 if test "x$ac_cv_func_log10f" = x""yes; then :
48159 cat >>confdefs.h <<_ACEOF
48160 #define HAVE_LOG10F 1
48161 _ACEOF
48162
48163 fi
48164 done
48165
48166 else
48167
48168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48169 $as_echo_n "checking for _log10f declaration... " >&6; }
48170 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48171 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48172 $as_echo_n "(cached) " >&6
48173 else
48174
48175
48176 ac_ext=cpp
48177 ac_cpp='$CXXCPP $CPPFLAGS'
48178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48181
48182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48183 /* end confdefs.h. */
48184 #include <math.h>
48185 #ifdef HAVE_IEEEFP_H
48186 #include <ieeefp.h>
48187 #endif
48188
48189 int
48190 main ()
48191 {
48192 _log10f(0);
48193 ;
48194 return 0;
48195 }
48196 _ACEOF
48197 if ac_fn_cxx_try_compile "$LINENO"; then :
48198 glibcxx_cv_func__log10f_use=yes
48199 else
48200 glibcxx_cv_func__log10f_use=no
48201 fi
48202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48203 ac_ext=c
48204 ac_cpp='$CPP $CPPFLAGS'
48205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48208
48209
48210 fi
48211
48212 fi
48213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48214 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48215
48216 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48217 for ac_func in _log10f
48218 do :
48219 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48220 if test "x$ac_cv_func__log10f" = x""yes; then :
48221 cat >>confdefs.h <<_ACEOF
48222 #define HAVE__LOG10F 1
48223 _ACEOF
48224
48225 fi
48226 done
48227
48228 fi
48229 fi
48230
48231
48232
48233
48234
48235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48236 $as_echo_n "checking for modff declaration... " >&6; }
48237 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48238 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48239 $as_echo_n "(cached) " >&6
48240 else
48241
48242
48243 ac_ext=cpp
48244 ac_cpp='$CXXCPP $CPPFLAGS'
48245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48248
48249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48250 /* end confdefs.h. */
48251 #include <math.h>
48252 int
48253 main ()
48254 {
48255 modff(0, 0);
48256 ;
48257 return 0;
48258 }
48259 _ACEOF
48260 if ac_fn_cxx_try_compile "$LINENO"; then :
48261 glibcxx_cv_func_modff_use=yes
48262 else
48263 glibcxx_cv_func_modff_use=no
48264 fi
48265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48266 ac_ext=c
48267 ac_cpp='$CPP $CPPFLAGS'
48268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48271
48272
48273 fi
48274
48275 fi
48276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48277 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48278
48279 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48280 for ac_func in modff
48281 do :
48282 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48283 if test "x$ac_cv_func_modff" = x""yes; then :
48284 cat >>confdefs.h <<_ACEOF
48285 #define HAVE_MODFF 1
48286 _ACEOF
48287
48288 fi
48289 done
48290
48291 else
48292
48293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48294 $as_echo_n "checking for _modff declaration... " >&6; }
48295 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48296 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48297 $as_echo_n "(cached) " >&6
48298 else
48299
48300
48301 ac_ext=cpp
48302 ac_cpp='$CXXCPP $CPPFLAGS'
48303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48306
48307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48308 /* end confdefs.h. */
48309 #include <math.h>
48310 int
48311 main ()
48312 {
48313 _modff(0, 0);
48314 ;
48315 return 0;
48316 }
48317 _ACEOF
48318 if ac_fn_cxx_try_compile "$LINENO"; then :
48319 glibcxx_cv_func__modff_use=yes
48320 else
48321 glibcxx_cv_func__modff_use=no
48322 fi
48323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48324 ac_ext=c
48325 ac_cpp='$CPP $CPPFLAGS'
48326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48329
48330
48331 fi
48332
48333 fi
48334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48335 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48336
48337 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48338 for ac_func in _modff
48339 do :
48340 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48341 if test "x$ac_cv_func__modff" = x""yes; then :
48342 cat >>confdefs.h <<_ACEOF
48343 #define HAVE__MODFF 1
48344 _ACEOF
48345
48346 fi
48347 done
48348
48349 fi
48350 fi
48351
48352
48353
48354
48355
48356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48357 $as_echo_n "checking for modf declaration... " >&6; }
48358 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48359 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48360 $as_echo_n "(cached) " >&6
48361 else
48362
48363
48364 ac_ext=cpp
48365 ac_cpp='$CXXCPP $CPPFLAGS'
48366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48369
48370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48371 /* end confdefs.h. */
48372 #include <math.h>
48373 int
48374 main ()
48375 {
48376 modf(0, 0);
48377 ;
48378 return 0;
48379 }
48380 _ACEOF
48381 if ac_fn_cxx_try_compile "$LINENO"; then :
48382 glibcxx_cv_func_modf_use=yes
48383 else
48384 glibcxx_cv_func_modf_use=no
48385 fi
48386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48387 ac_ext=c
48388 ac_cpp='$CPP $CPPFLAGS'
48389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48392
48393
48394 fi
48395
48396 fi
48397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48398 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48399
48400 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48401 for ac_func in modf
48402 do :
48403 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48404 if test "x$ac_cv_func_modf" = x""yes; then :
48405 cat >>confdefs.h <<_ACEOF
48406 #define HAVE_MODF 1
48407 _ACEOF
48408
48409 fi
48410 done
48411
48412 else
48413
48414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48415 $as_echo_n "checking for _modf declaration... " >&6; }
48416 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48417 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48418 $as_echo_n "(cached) " >&6
48419 else
48420
48421
48422 ac_ext=cpp
48423 ac_cpp='$CXXCPP $CPPFLAGS'
48424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48427
48428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48429 /* end confdefs.h. */
48430 #include <math.h>
48431 int
48432 main ()
48433 {
48434 _modf(0, 0);
48435 ;
48436 return 0;
48437 }
48438 _ACEOF
48439 if ac_fn_cxx_try_compile "$LINENO"; then :
48440 glibcxx_cv_func__modf_use=yes
48441 else
48442 glibcxx_cv_func__modf_use=no
48443 fi
48444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48445 ac_ext=c
48446 ac_cpp='$CPP $CPPFLAGS'
48447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48450
48451
48452 fi
48453
48454 fi
48455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48456 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48457
48458 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48459 for ac_func in _modf
48460 do :
48461 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48462 if test "x$ac_cv_func__modf" = x""yes; then :
48463 cat >>confdefs.h <<_ACEOF
48464 #define HAVE__MODF 1
48465 _ACEOF
48466
48467 fi
48468 done
48469
48470 fi
48471 fi
48472
48473
48474
48475
48476
48477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48478 $as_echo_n "checking for powf declaration... " >&6; }
48479 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48480 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48481 $as_echo_n "(cached) " >&6
48482 else
48483
48484
48485 ac_ext=cpp
48486 ac_cpp='$CXXCPP $CPPFLAGS'
48487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48490
48491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48492 /* end confdefs.h. */
48493 #include <math.h>
48494 int
48495 main ()
48496 {
48497 powf(0, 0);
48498 ;
48499 return 0;
48500 }
48501 _ACEOF
48502 if ac_fn_cxx_try_compile "$LINENO"; then :
48503 glibcxx_cv_func_powf_use=yes
48504 else
48505 glibcxx_cv_func_powf_use=no
48506 fi
48507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48508 ac_ext=c
48509 ac_cpp='$CPP $CPPFLAGS'
48510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48513
48514
48515 fi
48516
48517 fi
48518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48519 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48520
48521 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48522 for ac_func in powf
48523 do :
48524 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48525 if test "x$ac_cv_func_powf" = x""yes; then :
48526 cat >>confdefs.h <<_ACEOF
48527 #define HAVE_POWF 1
48528 _ACEOF
48529
48530 fi
48531 done
48532
48533 else
48534
48535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48536 $as_echo_n "checking for _powf declaration... " >&6; }
48537 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48538 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48539 $as_echo_n "(cached) " >&6
48540 else
48541
48542
48543 ac_ext=cpp
48544 ac_cpp='$CXXCPP $CPPFLAGS'
48545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48548
48549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48550 /* end confdefs.h. */
48551 #include <math.h>
48552 int
48553 main ()
48554 {
48555 _powf(0, 0);
48556 ;
48557 return 0;
48558 }
48559 _ACEOF
48560 if ac_fn_cxx_try_compile "$LINENO"; then :
48561 glibcxx_cv_func__powf_use=yes
48562 else
48563 glibcxx_cv_func__powf_use=no
48564 fi
48565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48566 ac_ext=c
48567 ac_cpp='$CPP $CPPFLAGS'
48568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48571
48572
48573 fi
48574
48575 fi
48576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48577 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48578
48579 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48580 for ac_func in _powf
48581 do :
48582 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48583 if test "x$ac_cv_func__powf" = x""yes; then :
48584 cat >>confdefs.h <<_ACEOF
48585 #define HAVE__POWF 1
48586 _ACEOF
48587
48588 fi
48589 done
48590
48591 fi
48592 fi
48593
48594
48595
48596
48597
48598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48599 $as_echo_n "checking for sqrtf declaration... " >&6; }
48600 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48601 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48602 $as_echo_n "(cached) " >&6
48603 else
48604
48605
48606 ac_ext=cpp
48607 ac_cpp='$CXXCPP $CPPFLAGS'
48608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48611
48612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48613 /* end confdefs.h. */
48614 #include <math.h>
48615 #ifdef HAVE_IEEEFP_H
48616 #include <ieeefp.h>
48617 #endif
48618
48619 int
48620 main ()
48621 {
48622 sqrtf(0);
48623 ;
48624 return 0;
48625 }
48626 _ACEOF
48627 if ac_fn_cxx_try_compile "$LINENO"; then :
48628 glibcxx_cv_func_sqrtf_use=yes
48629 else
48630 glibcxx_cv_func_sqrtf_use=no
48631 fi
48632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48633 ac_ext=c
48634 ac_cpp='$CPP $CPPFLAGS'
48635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48638
48639
48640 fi
48641
48642 fi
48643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48644 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48645
48646 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48647 for ac_func in sqrtf
48648 do :
48649 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48650 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48651 cat >>confdefs.h <<_ACEOF
48652 #define HAVE_SQRTF 1
48653 _ACEOF
48654
48655 fi
48656 done
48657
48658 else
48659
48660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48661 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48662 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48663 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48664 $as_echo_n "(cached) " >&6
48665 else
48666
48667
48668 ac_ext=cpp
48669 ac_cpp='$CXXCPP $CPPFLAGS'
48670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48673
48674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48675 /* end confdefs.h. */
48676 #include <math.h>
48677 #ifdef HAVE_IEEEFP_H
48678 #include <ieeefp.h>
48679 #endif
48680
48681 int
48682 main ()
48683 {
48684 _sqrtf(0);
48685 ;
48686 return 0;
48687 }
48688 _ACEOF
48689 if ac_fn_cxx_try_compile "$LINENO"; then :
48690 glibcxx_cv_func__sqrtf_use=yes
48691 else
48692 glibcxx_cv_func__sqrtf_use=no
48693 fi
48694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48695 ac_ext=c
48696 ac_cpp='$CPP $CPPFLAGS'
48697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48700
48701
48702 fi
48703
48704 fi
48705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48706 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48707
48708 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48709 for ac_func in _sqrtf
48710 do :
48711 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48712 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48713 cat >>confdefs.h <<_ACEOF
48714 #define HAVE__SQRTF 1
48715 _ACEOF
48716
48717 fi
48718 done
48719
48720 fi
48721 fi
48722
48723
48724
48725
48726
48727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48728 $as_echo_n "checking for sincosf declaration... " >&6; }
48729 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48730 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48731 $as_echo_n "(cached) " >&6
48732 else
48733
48734
48735 ac_ext=cpp
48736 ac_cpp='$CXXCPP $CPPFLAGS'
48737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48740
48741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48742 /* end confdefs.h. */
48743 #include <math.h>
48744 int
48745 main ()
48746 {
48747 sincosf(0, 0, 0);
48748 ;
48749 return 0;
48750 }
48751 _ACEOF
48752 if ac_fn_cxx_try_compile "$LINENO"; then :
48753 glibcxx_cv_func_sincosf_use=yes
48754 else
48755 glibcxx_cv_func_sincosf_use=no
48756 fi
48757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48758 ac_ext=c
48759 ac_cpp='$CPP $CPPFLAGS'
48760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48763
48764
48765 fi
48766
48767 fi
48768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48769 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48770
48771 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48772 for ac_func in sincosf
48773 do :
48774 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48775 if test "x$ac_cv_func_sincosf" = x""yes; then :
48776 cat >>confdefs.h <<_ACEOF
48777 #define HAVE_SINCOSF 1
48778 _ACEOF
48779
48780 fi
48781 done
48782
48783 else
48784
48785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48786 $as_echo_n "checking for _sincosf declaration... " >&6; }
48787 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48788 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48789 $as_echo_n "(cached) " >&6
48790 else
48791
48792
48793 ac_ext=cpp
48794 ac_cpp='$CXXCPP $CPPFLAGS'
48795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48798
48799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48800 /* end confdefs.h. */
48801 #include <math.h>
48802 int
48803 main ()
48804 {
48805 _sincosf(0, 0, 0);
48806 ;
48807 return 0;
48808 }
48809 _ACEOF
48810 if ac_fn_cxx_try_compile "$LINENO"; then :
48811 glibcxx_cv_func__sincosf_use=yes
48812 else
48813 glibcxx_cv_func__sincosf_use=no
48814 fi
48815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48816 ac_ext=c
48817 ac_cpp='$CPP $CPPFLAGS'
48818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48821
48822
48823 fi
48824
48825 fi
48826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48827 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48828
48829 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48830 for ac_func in _sincosf
48831 do :
48832 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48833 if test "x$ac_cv_func__sincosf" = x""yes; then :
48834 cat >>confdefs.h <<_ACEOF
48835 #define HAVE__SINCOSF 1
48836 _ACEOF
48837
48838 fi
48839 done
48840
48841 fi
48842 fi
48843
48844
48845
48846
48847
48848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48849 $as_echo_n "checking for finitef declaration... " >&6; }
48850 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48851 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48852 $as_echo_n "(cached) " >&6
48853 else
48854
48855
48856 ac_ext=cpp
48857 ac_cpp='$CXXCPP $CPPFLAGS'
48858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48861
48862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48863 /* end confdefs.h. */
48864 #include <math.h>
48865 #ifdef HAVE_IEEEFP_H
48866 #include <ieeefp.h>
48867 #endif
48868
48869 int
48870 main ()
48871 {
48872 finitef(0);
48873 ;
48874 return 0;
48875 }
48876 _ACEOF
48877 if ac_fn_cxx_try_compile "$LINENO"; then :
48878 glibcxx_cv_func_finitef_use=yes
48879 else
48880 glibcxx_cv_func_finitef_use=no
48881 fi
48882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48883 ac_ext=c
48884 ac_cpp='$CPP $CPPFLAGS'
48885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48888
48889
48890 fi
48891
48892 fi
48893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48894 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48895
48896 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48897 for ac_func in finitef
48898 do :
48899 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48900 if test "x$ac_cv_func_finitef" = x""yes; then :
48901 cat >>confdefs.h <<_ACEOF
48902 #define HAVE_FINITEF 1
48903 _ACEOF
48904
48905 fi
48906 done
48907
48908 else
48909
48910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48911 $as_echo_n "checking for _finitef declaration... " >&6; }
48912 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48913 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48914 $as_echo_n "(cached) " >&6
48915 else
48916
48917
48918 ac_ext=cpp
48919 ac_cpp='$CXXCPP $CPPFLAGS'
48920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48923
48924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48925 /* end confdefs.h. */
48926 #include <math.h>
48927 #ifdef HAVE_IEEEFP_H
48928 #include <ieeefp.h>
48929 #endif
48930
48931 int
48932 main ()
48933 {
48934 _finitef(0);
48935 ;
48936 return 0;
48937 }
48938 _ACEOF
48939 if ac_fn_cxx_try_compile "$LINENO"; then :
48940 glibcxx_cv_func__finitef_use=yes
48941 else
48942 glibcxx_cv_func__finitef_use=no
48943 fi
48944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48945 ac_ext=c
48946 ac_cpp='$CPP $CPPFLAGS'
48947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48950
48951
48952 fi
48953
48954 fi
48955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48956 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48957
48958 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48959 for ac_func in _finitef
48960 do :
48961 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48962 if test "x$ac_cv_func__finitef" = x""yes; then :
48963 cat >>confdefs.h <<_ACEOF
48964 #define HAVE__FINITEF 1
48965 _ACEOF
48966
48967 fi
48968 done
48969
48970 fi
48971 fi
48972
48973
48974
48975
48976
48977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48978 $as_echo_n "checking for long double trig functions... " >&6; }
48979 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48980 $as_echo_n "(cached) " >&6
48981 else
48982
48983
48984 ac_ext=cpp
48985 ac_cpp='$CXXCPP $CPPFLAGS'
48986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48989
48990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48991 /* end confdefs.h. */
48992 #include <math.h>
48993 int
48994 main ()
48995 {
48996 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48997 ;
48998 return 0;
48999 }
49000 _ACEOF
49001 if ac_fn_cxx_try_compile "$LINENO"; then :
49002 glibcxx_cv_func_long_double_trig_use=yes
49003 else
49004 glibcxx_cv_func_long_double_trig_use=no
49005 fi
49006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49007 ac_ext=c
49008 ac_cpp='$CPP $CPPFLAGS'
49009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49012
49013 fi
49014
49015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49016 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49017 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49018 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49019 do :
49020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49022 eval as_val=\$$as_ac_var
49023 if test "x$as_val" = x""yes; then :
49024 cat >>confdefs.h <<_ACEOF
49025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49026 _ACEOF
49027
49028 fi
49029 done
49030
49031 else
49032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49033 $as_echo_n "checking for _long double trig functions... " >&6; }
49034 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49035 $as_echo_n "(cached) " >&6
49036 else
49037
49038
49039 ac_ext=cpp
49040 ac_cpp='$CXXCPP $CPPFLAGS'
49041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49044
49045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49046 /* end confdefs.h. */
49047 #include <math.h>
49048 int
49049 main ()
49050 {
49051 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49052 ;
49053 return 0;
49054 }
49055 _ACEOF
49056 if ac_fn_cxx_try_compile "$LINENO"; then :
49057 glibcxx_cv_func__long_double_trig_use=yes
49058 else
49059 glibcxx_cv_func__long_double_trig_use=no
49060 fi
49061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49062 ac_ext=c
49063 ac_cpp='$CPP $CPPFLAGS'
49064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49067
49068 fi
49069
49070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49071 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49072 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49073 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49074 do :
49075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49077 eval as_val=\$$as_ac_var
49078 if test "x$as_val" = x""yes; then :
49079 cat >>confdefs.h <<_ACEOF
49080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49081 _ACEOF
49082
49083 fi
49084 done
49085
49086 fi
49087 fi
49088
49089
49090
49091
49092
49093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49094 $as_echo_n "checking for long double round functions... " >&6; }
49095 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49096 $as_echo_n "(cached) " >&6
49097 else
49098
49099
49100 ac_ext=cpp
49101 ac_cpp='$CXXCPP $CPPFLAGS'
49102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49105
49106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49107 /* end confdefs.h. */
49108 #include <math.h>
49109 int
49110 main ()
49111 {
49112 ceill (0); floorl (0);
49113 ;
49114 return 0;
49115 }
49116 _ACEOF
49117 if ac_fn_cxx_try_compile "$LINENO"; then :
49118 glibcxx_cv_func_long_double_round_use=yes
49119 else
49120 glibcxx_cv_func_long_double_round_use=no
49121 fi
49122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49123 ac_ext=c
49124 ac_cpp='$CPP $CPPFLAGS'
49125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49128
49129 fi
49130
49131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49132 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49133 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49134 for ac_func in ceill floorl
49135 do :
49136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49138 eval as_val=\$$as_ac_var
49139 if test "x$as_val" = x""yes; then :
49140 cat >>confdefs.h <<_ACEOF
49141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49142 _ACEOF
49143
49144 fi
49145 done
49146
49147 else
49148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49149 $as_echo_n "checking for _long double round functions... " >&6; }
49150 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49151 $as_echo_n "(cached) " >&6
49152 else
49153
49154
49155 ac_ext=cpp
49156 ac_cpp='$CXXCPP $CPPFLAGS'
49157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49160
49161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49162 /* end confdefs.h. */
49163 #include <math.h>
49164 int
49165 main ()
49166 {
49167 _ceill (0); _floorl (0);
49168 ;
49169 return 0;
49170 }
49171 _ACEOF
49172 if ac_fn_cxx_try_compile "$LINENO"; then :
49173 glibcxx_cv_func__long_double_round_use=yes
49174 else
49175 glibcxx_cv_func__long_double_round_use=no
49176 fi
49177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49178 ac_ext=c
49179 ac_cpp='$CPP $CPPFLAGS'
49180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49183
49184 fi
49185
49186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49187 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49188 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49189 for ac_func in _ceill _floorl
49190 do :
49191 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49193 eval as_val=\$$as_ac_var
49194 if test "x$as_val" = x""yes; then :
49195 cat >>confdefs.h <<_ACEOF
49196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49197 _ACEOF
49198
49199 fi
49200 done
49201
49202 fi
49203 fi
49204
49205
49206
49207
49208
49209
49210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49211 $as_echo_n "checking for isnanl declaration... " >&6; }
49212 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49213 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49214 $as_echo_n "(cached) " >&6
49215 else
49216
49217
49218 ac_ext=cpp
49219 ac_cpp='$CXXCPP $CPPFLAGS'
49220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49223
49224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49225 /* end confdefs.h. */
49226 #include <math.h>
49227 #ifdef HAVE_IEEEFP_H
49228 #include <ieeefp.h>
49229 #endif
49230
49231 int
49232 main ()
49233 {
49234 isnanl(0);
49235 ;
49236 return 0;
49237 }
49238 _ACEOF
49239 if ac_fn_cxx_try_compile "$LINENO"; then :
49240 glibcxx_cv_func_isnanl_use=yes
49241 else
49242 glibcxx_cv_func_isnanl_use=no
49243 fi
49244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49245 ac_ext=c
49246 ac_cpp='$CPP $CPPFLAGS'
49247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49250
49251
49252 fi
49253
49254 fi
49255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49256 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49257
49258 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49259 for ac_func in isnanl
49260 do :
49261 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49262 if test "x$ac_cv_func_isnanl" = x""yes; then :
49263 cat >>confdefs.h <<_ACEOF
49264 #define HAVE_ISNANL 1
49265 _ACEOF
49266
49267 fi
49268 done
49269
49270 else
49271
49272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49273 $as_echo_n "checking for _isnanl declaration... " >&6; }
49274 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49275 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49276 $as_echo_n "(cached) " >&6
49277 else
49278
49279
49280 ac_ext=cpp
49281 ac_cpp='$CXXCPP $CPPFLAGS'
49282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49285
49286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49287 /* end confdefs.h. */
49288 #include <math.h>
49289 #ifdef HAVE_IEEEFP_H
49290 #include <ieeefp.h>
49291 #endif
49292
49293 int
49294 main ()
49295 {
49296 _isnanl(0);
49297 ;
49298 return 0;
49299 }
49300 _ACEOF
49301 if ac_fn_cxx_try_compile "$LINENO"; then :
49302 glibcxx_cv_func__isnanl_use=yes
49303 else
49304 glibcxx_cv_func__isnanl_use=no
49305 fi
49306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49307 ac_ext=c
49308 ac_cpp='$CPP $CPPFLAGS'
49309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49312
49313
49314 fi
49315
49316 fi
49317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49318 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49319
49320 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49321 for ac_func in _isnanl
49322 do :
49323 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49324 if test "x$ac_cv_func__isnanl" = x""yes; then :
49325 cat >>confdefs.h <<_ACEOF
49326 #define HAVE__ISNANL 1
49327 _ACEOF
49328
49329 fi
49330 done
49331
49332 fi
49333 fi
49334
49335
49336
49337
49338
49339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49340 $as_echo_n "checking for isinfl declaration... " >&6; }
49341 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49342 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49343 $as_echo_n "(cached) " >&6
49344 else
49345
49346
49347 ac_ext=cpp
49348 ac_cpp='$CXXCPP $CPPFLAGS'
49349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49352
49353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49354 /* end confdefs.h. */
49355 #include <math.h>
49356 #ifdef HAVE_IEEEFP_H
49357 #include <ieeefp.h>
49358 #endif
49359
49360 int
49361 main ()
49362 {
49363 isinfl(0);
49364 ;
49365 return 0;
49366 }
49367 _ACEOF
49368 if ac_fn_cxx_try_compile "$LINENO"; then :
49369 glibcxx_cv_func_isinfl_use=yes
49370 else
49371 glibcxx_cv_func_isinfl_use=no
49372 fi
49373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49374 ac_ext=c
49375 ac_cpp='$CPP $CPPFLAGS'
49376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49379
49380
49381 fi
49382
49383 fi
49384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49385 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49386
49387 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49388 for ac_func in isinfl
49389 do :
49390 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49391 if test "x$ac_cv_func_isinfl" = x""yes; then :
49392 cat >>confdefs.h <<_ACEOF
49393 #define HAVE_ISINFL 1
49394 _ACEOF
49395
49396 fi
49397 done
49398
49399 else
49400
49401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49402 $as_echo_n "checking for _isinfl declaration... " >&6; }
49403 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49404 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49405 $as_echo_n "(cached) " >&6
49406 else
49407
49408
49409 ac_ext=cpp
49410 ac_cpp='$CXXCPP $CPPFLAGS'
49411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49414
49415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49416 /* end confdefs.h. */
49417 #include <math.h>
49418 #ifdef HAVE_IEEEFP_H
49419 #include <ieeefp.h>
49420 #endif
49421
49422 int
49423 main ()
49424 {
49425 _isinfl(0);
49426 ;
49427 return 0;
49428 }
49429 _ACEOF
49430 if ac_fn_cxx_try_compile "$LINENO"; then :
49431 glibcxx_cv_func__isinfl_use=yes
49432 else
49433 glibcxx_cv_func__isinfl_use=no
49434 fi
49435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49436 ac_ext=c
49437 ac_cpp='$CPP $CPPFLAGS'
49438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49441
49442
49443 fi
49444
49445 fi
49446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49447 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49448
49449 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49450 for ac_func in _isinfl
49451 do :
49452 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49453 if test "x$ac_cv_func__isinfl" = x""yes; then :
49454 cat >>confdefs.h <<_ACEOF
49455 #define HAVE__ISINFL 1
49456 _ACEOF
49457
49458 fi
49459 done
49460
49461 fi
49462 fi
49463
49464
49465
49466
49467
49468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49469 $as_echo_n "checking for atan2l declaration... " >&6; }
49470 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49471 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49472 $as_echo_n "(cached) " >&6
49473 else
49474
49475
49476 ac_ext=cpp
49477 ac_cpp='$CXXCPP $CPPFLAGS'
49478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49481
49482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49483 /* end confdefs.h. */
49484 #include <math.h>
49485 int
49486 main ()
49487 {
49488 atan2l(0, 0);
49489 ;
49490 return 0;
49491 }
49492 _ACEOF
49493 if ac_fn_cxx_try_compile "$LINENO"; then :
49494 glibcxx_cv_func_atan2l_use=yes
49495 else
49496 glibcxx_cv_func_atan2l_use=no
49497 fi
49498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49499 ac_ext=c
49500 ac_cpp='$CPP $CPPFLAGS'
49501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49504
49505
49506 fi
49507
49508 fi
49509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49510 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49511
49512 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49513 for ac_func in atan2l
49514 do :
49515 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49516 if test "x$ac_cv_func_atan2l" = x""yes; then :
49517 cat >>confdefs.h <<_ACEOF
49518 #define HAVE_ATAN2L 1
49519 _ACEOF
49520
49521 fi
49522 done
49523
49524 else
49525
49526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49527 $as_echo_n "checking for _atan2l declaration... " >&6; }
49528 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49529 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49530 $as_echo_n "(cached) " >&6
49531 else
49532
49533
49534 ac_ext=cpp
49535 ac_cpp='$CXXCPP $CPPFLAGS'
49536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49539
49540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49541 /* end confdefs.h. */
49542 #include <math.h>
49543 int
49544 main ()
49545 {
49546 _atan2l(0, 0);
49547 ;
49548 return 0;
49549 }
49550 _ACEOF
49551 if ac_fn_cxx_try_compile "$LINENO"; then :
49552 glibcxx_cv_func__atan2l_use=yes
49553 else
49554 glibcxx_cv_func__atan2l_use=no
49555 fi
49556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49557 ac_ext=c
49558 ac_cpp='$CPP $CPPFLAGS'
49559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49562
49563
49564 fi
49565
49566 fi
49567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49568 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49569
49570 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49571 for ac_func in _atan2l
49572 do :
49573 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49574 if test "x$ac_cv_func__atan2l" = x""yes; then :
49575 cat >>confdefs.h <<_ACEOF
49576 #define HAVE__ATAN2L 1
49577 _ACEOF
49578
49579 fi
49580 done
49581
49582 fi
49583 fi
49584
49585
49586
49587
49588
49589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49590 $as_echo_n "checking for expl declaration... " >&6; }
49591 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49592 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49593 $as_echo_n "(cached) " >&6
49594 else
49595
49596
49597 ac_ext=cpp
49598 ac_cpp='$CXXCPP $CPPFLAGS'
49599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49602
49603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49604 /* end confdefs.h. */
49605 #include <math.h>
49606 #ifdef HAVE_IEEEFP_H
49607 #include <ieeefp.h>
49608 #endif
49609
49610 int
49611 main ()
49612 {
49613 expl(0);
49614 ;
49615 return 0;
49616 }
49617 _ACEOF
49618 if ac_fn_cxx_try_compile "$LINENO"; then :
49619 glibcxx_cv_func_expl_use=yes
49620 else
49621 glibcxx_cv_func_expl_use=no
49622 fi
49623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49624 ac_ext=c
49625 ac_cpp='$CPP $CPPFLAGS'
49626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49629
49630
49631 fi
49632
49633 fi
49634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49635 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49636
49637 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49638 for ac_func in expl
49639 do :
49640 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49641 if test "x$ac_cv_func_expl" = x""yes; then :
49642 cat >>confdefs.h <<_ACEOF
49643 #define HAVE_EXPL 1
49644 _ACEOF
49645
49646 fi
49647 done
49648
49649 else
49650
49651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49652 $as_echo_n "checking for _expl declaration... " >&6; }
49653 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49654 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49655 $as_echo_n "(cached) " >&6
49656 else
49657
49658
49659 ac_ext=cpp
49660 ac_cpp='$CXXCPP $CPPFLAGS'
49661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49664
49665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49666 /* end confdefs.h. */
49667 #include <math.h>
49668 #ifdef HAVE_IEEEFP_H
49669 #include <ieeefp.h>
49670 #endif
49671
49672 int
49673 main ()
49674 {
49675 _expl(0);
49676 ;
49677 return 0;
49678 }
49679 _ACEOF
49680 if ac_fn_cxx_try_compile "$LINENO"; then :
49681 glibcxx_cv_func__expl_use=yes
49682 else
49683 glibcxx_cv_func__expl_use=no
49684 fi
49685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49686 ac_ext=c
49687 ac_cpp='$CPP $CPPFLAGS'
49688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49691
49692
49693 fi
49694
49695 fi
49696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49697 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49698
49699 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49700 for ac_func in _expl
49701 do :
49702 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49703 if test "x$ac_cv_func__expl" = x""yes; then :
49704 cat >>confdefs.h <<_ACEOF
49705 #define HAVE__EXPL 1
49706 _ACEOF
49707
49708 fi
49709 done
49710
49711 fi
49712 fi
49713
49714
49715
49716
49717
49718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49719 $as_echo_n "checking for fabsl declaration... " >&6; }
49720 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49721 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49722 $as_echo_n "(cached) " >&6
49723 else
49724
49725
49726 ac_ext=cpp
49727 ac_cpp='$CXXCPP $CPPFLAGS'
49728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49731
49732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49733 /* end confdefs.h. */
49734 #include <math.h>
49735 #ifdef HAVE_IEEEFP_H
49736 #include <ieeefp.h>
49737 #endif
49738
49739 int
49740 main ()
49741 {
49742 fabsl(0);
49743 ;
49744 return 0;
49745 }
49746 _ACEOF
49747 if ac_fn_cxx_try_compile "$LINENO"; then :
49748 glibcxx_cv_func_fabsl_use=yes
49749 else
49750 glibcxx_cv_func_fabsl_use=no
49751 fi
49752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49753 ac_ext=c
49754 ac_cpp='$CPP $CPPFLAGS'
49755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49758
49759
49760 fi
49761
49762 fi
49763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49764 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49765
49766 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49767 for ac_func in fabsl
49768 do :
49769 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49770 if test "x$ac_cv_func_fabsl" = x""yes; then :
49771 cat >>confdefs.h <<_ACEOF
49772 #define HAVE_FABSL 1
49773 _ACEOF
49774
49775 fi
49776 done
49777
49778 else
49779
49780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49781 $as_echo_n "checking for _fabsl declaration... " >&6; }
49782 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49783 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49784 $as_echo_n "(cached) " >&6
49785 else
49786
49787
49788 ac_ext=cpp
49789 ac_cpp='$CXXCPP $CPPFLAGS'
49790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49793
49794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49795 /* end confdefs.h. */
49796 #include <math.h>
49797 #ifdef HAVE_IEEEFP_H
49798 #include <ieeefp.h>
49799 #endif
49800
49801 int
49802 main ()
49803 {
49804 _fabsl(0);
49805 ;
49806 return 0;
49807 }
49808 _ACEOF
49809 if ac_fn_cxx_try_compile "$LINENO"; then :
49810 glibcxx_cv_func__fabsl_use=yes
49811 else
49812 glibcxx_cv_func__fabsl_use=no
49813 fi
49814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49815 ac_ext=c
49816 ac_cpp='$CPP $CPPFLAGS'
49817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49820
49821
49822 fi
49823
49824 fi
49825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49826 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49827
49828 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49829 for ac_func in _fabsl
49830 do :
49831 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49832 if test "x$ac_cv_func__fabsl" = x""yes; then :
49833 cat >>confdefs.h <<_ACEOF
49834 #define HAVE__FABSL 1
49835 _ACEOF
49836
49837 fi
49838 done
49839
49840 fi
49841 fi
49842
49843
49844
49845
49846
49847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49848 $as_echo_n "checking for fmodl declaration... " >&6; }
49849 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49850 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49851 $as_echo_n "(cached) " >&6
49852 else
49853
49854
49855 ac_ext=cpp
49856 ac_cpp='$CXXCPP $CPPFLAGS'
49857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49860
49861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49862 /* end confdefs.h. */
49863 #include <math.h>
49864 int
49865 main ()
49866 {
49867 fmodl(0, 0);
49868 ;
49869 return 0;
49870 }
49871 _ACEOF
49872 if ac_fn_cxx_try_compile "$LINENO"; then :
49873 glibcxx_cv_func_fmodl_use=yes
49874 else
49875 glibcxx_cv_func_fmodl_use=no
49876 fi
49877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49878 ac_ext=c
49879 ac_cpp='$CPP $CPPFLAGS'
49880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49883
49884
49885 fi
49886
49887 fi
49888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49889 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49890
49891 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49892 for ac_func in fmodl
49893 do :
49894 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49895 if test "x$ac_cv_func_fmodl" = x""yes; then :
49896 cat >>confdefs.h <<_ACEOF
49897 #define HAVE_FMODL 1
49898 _ACEOF
49899
49900 fi
49901 done
49902
49903 else
49904
49905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49906 $as_echo_n "checking for _fmodl declaration... " >&6; }
49907 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49908 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49909 $as_echo_n "(cached) " >&6
49910 else
49911
49912
49913 ac_ext=cpp
49914 ac_cpp='$CXXCPP $CPPFLAGS'
49915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49918
49919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49920 /* end confdefs.h. */
49921 #include <math.h>
49922 int
49923 main ()
49924 {
49925 _fmodl(0, 0);
49926 ;
49927 return 0;
49928 }
49929 _ACEOF
49930 if ac_fn_cxx_try_compile "$LINENO"; then :
49931 glibcxx_cv_func__fmodl_use=yes
49932 else
49933 glibcxx_cv_func__fmodl_use=no
49934 fi
49935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49936 ac_ext=c
49937 ac_cpp='$CPP $CPPFLAGS'
49938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49941
49942
49943 fi
49944
49945 fi
49946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49947 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49948
49949 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49950 for ac_func in _fmodl
49951 do :
49952 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49953 if test "x$ac_cv_func__fmodl" = x""yes; then :
49954 cat >>confdefs.h <<_ACEOF
49955 #define HAVE__FMODL 1
49956 _ACEOF
49957
49958 fi
49959 done
49960
49961 fi
49962 fi
49963
49964
49965
49966
49967
49968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49969 $as_echo_n "checking for frexpl declaration... " >&6; }
49970 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49971 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49972 $as_echo_n "(cached) " >&6
49973 else
49974
49975
49976 ac_ext=cpp
49977 ac_cpp='$CXXCPP $CPPFLAGS'
49978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49981
49982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49983 /* end confdefs.h. */
49984 #include <math.h>
49985 int
49986 main ()
49987 {
49988 frexpl(0, 0);
49989 ;
49990 return 0;
49991 }
49992 _ACEOF
49993 if ac_fn_cxx_try_compile "$LINENO"; then :
49994 glibcxx_cv_func_frexpl_use=yes
49995 else
49996 glibcxx_cv_func_frexpl_use=no
49997 fi
49998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49999 ac_ext=c
50000 ac_cpp='$CPP $CPPFLAGS'
50001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50004
50005
50006 fi
50007
50008 fi
50009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50010 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50011
50012 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50013 for ac_func in frexpl
50014 do :
50015 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50016 if test "x$ac_cv_func_frexpl" = x""yes; then :
50017 cat >>confdefs.h <<_ACEOF
50018 #define HAVE_FREXPL 1
50019 _ACEOF
50020
50021 fi
50022 done
50023
50024 else
50025
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50027 $as_echo_n "checking for _frexpl declaration... " >&6; }
50028 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50029 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50030 $as_echo_n "(cached) " >&6
50031 else
50032
50033
50034 ac_ext=cpp
50035 ac_cpp='$CXXCPP $CPPFLAGS'
50036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50039
50040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50041 /* end confdefs.h. */
50042 #include <math.h>
50043 int
50044 main ()
50045 {
50046 _frexpl(0, 0);
50047 ;
50048 return 0;
50049 }
50050 _ACEOF
50051 if ac_fn_cxx_try_compile "$LINENO"; then :
50052 glibcxx_cv_func__frexpl_use=yes
50053 else
50054 glibcxx_cv_func__frexpl_use=no
50055 fi
50056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50057 ac_ext=c
50058 ac_cpp='$CPP $CPPFLAGS'
50059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50062
50063
50064 fi
50065
50066 fi
50067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50068 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50069
50070 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50071 for ac_func in _frexpl
50072 do :
50073 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50074 if test "x$ac_cv_func__frexpl" = x""yes; then :
50075 cat >>confdefs.h <<_ACEOF
50076 #define HAVE__FREXPL 1
50077 _ACEOF
50078
50079 fi
50080 done
50081
50082 fi
50083 fi
50084
50085
50086
50087
50088
50089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50090 $as_echo_n "checking for hypotl declaration... " >&6; }
50091 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50092 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50093 $as_echo_n "(cached) " >&6
50094 else
50095
50096
50097 ac_ext=cpp
50098 ac_cpp='$CXXCPP $CPPFLAGS'
50099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50102
50103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50104 /* end confdefs.h. */
50105 #include <math.h>
50106 int
50107 main ()
50108 {
50109 hypotl(0, 0);
50110 ;
50111 return 0;
50112 }
50113 _ACEOF
50114 if ac_fn_cxx_try_compile "$LINENO"; then :
50115 glibcxx_cv_func_hypotl_use=yes
50116 else
50117 glibcxx_cv_func_hypotl_use=no
50118 fi
50119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50120 ac_ext=c
50121 ac_cpp='$CPP $CPPFLAGS'
50122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50125
50126
50127 fi
50128
50129 fi
50130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50131 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50132
50133 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50134 for ac_func in hypotl
50135 do :
50136 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50137 if test "x$ac_cv_func_hypotl" = x""yes; then :
50138 cat >>confdefs.h <<_ACEOF
50139 #define HAVE_HYPOTL 1
50140 _ACEOF
50141
50142 fi
50143 done
50144
50145 else
50146
50147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50148 $as_echo_n "checking for _hypotl declaration... " >&6; }
50149 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50150 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50151 $as_echo_n "(cached) " >&6
50152 else
50153
50154
50155 ac_ext=cpp
50156 ac_cpp='$CXXCPP $CPPFLAGS'
50157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50160
50161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50162 /* end confdefs.h. */
50163 #include <math.h>
50164 int
50165 main ()
50166 {
50167 _hypotl(0, 0);
50168 ;
50169 return 0;
50170 }
50171 _ACEOF
50172 if ac_fn_cxx_try_compile "$LINENO"; then :
50173 glibcxx_cv_func__hypotl_use=yes
50174 else
50175 glibcxx_cv_func__hypotl_use=no
50176 fi
50177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50178 ac_ext=c
50179 ac_cpp='$CPP $CPPFLAGS'
50180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50183
50184
50185 fi
50186
50187 fi
50188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50189 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50190
50191 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50192 for ac_func in _hypotl
50193 do :
50194 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50195 if test "x$ac_cv_func__hypotl" = x""yes; then :
50196 cat >>confdefs.h <<_ACEOF
50197 #define HAVE__HYPOTL 1
50198 _ACEOF
50199
50200 fi
50201 done
50202
50203 fi
50204 fi
50205
50206
50207
50208
50209
50210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50211 $as_echo_n "checking for ldexpl declaration... " >&6; }
50212 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50213 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50214 $as_echo_n "(cached) " >&6
50215 else
50216
50217
50218 ac_ext=cpp
50219 ac_cpp='$CXXCPP $CPPFLAGS'
50220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50223
50224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50225 /* end confdefs.h. */
50226 #include <math.h>
50227 int
50228 main ()
50229 {
50230 ldexpl(0, 0);
50231 ;
50232 return 0;
50233 }
50234 _ACEOF
50235 if ac_fn_cxx_try_compile "$LINENO"; then :
50236 glibcxx_cv_func_ldexpl_use=yes
50237 else
50238 glibcxx_cv_func_ldexpl_use=no
50239 fi
50240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50241 ac_ext=c
50242 ac_cpp='$CPP $CPPFLAGS'
50243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50246
50247
50248 fi
50249
50250 fi
50251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50252 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50253
50254 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50255 for ac_func in ldexpl
50256 do :
50257 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50258 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50259 cat >>confdefs.h <<_ACEOF
50260 #define HAVE_LDEXPL 1
50261 _ACEOF
50262
50263 fi
50264 done
50265
50266 else
50267
50268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50269 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50270 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50271 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50272 $as_echo_n "(cached) " >&6
50273 else
50274
50275
50276 ac_ext=cpp
50277 ac_cpp='$CXXCPP $CPPFLAGS'
50278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50281
50282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50283 /* end confdefs.h. */
50284 #include <math.h>
50285 int
50286 main ()
50287 {
50288 _ldexpl(0, 0);
50289 ;
50290 return 0;
50291 }
50292 _ACEOF
50293 if ac_fn_cxx_try_compile "$LINENO"; then :
50294 glibcxx_cv_func__ldexpl_use=yes
50295 else
50296 glibcxx_cv_func__ldexpl_use=no
50297 fi
50298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50299 ac_ext=c
50300 ac_cpp='$CPP $CPPFLAGS'
50301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50304
50305
50306 fi
50307
50308 fi
50309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50310 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50311
50312 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50313 for ac_func in _ldexpl
50314 do :
50315 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50316 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50317 cat >>confdefs.h <<_ACEOF
50318 #define HAVE__LDEXPL 1
50319 _ACEOF
50320
50321 fi
50322 done
50323
50324 fi
50325 fi
50326
50327
50328
50329
50330
50331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50332 $as_echo_n "checking for logl declaration... " >&6; }
50333 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50334 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50335 $as_echo_n "(cached) " >&6
50336 else
50337
50338
50339 ac_ext=cpp
50340 ac_cpp='$CXXCPP $CPPFLAGS'
50341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50344
50345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50346 /* end confdefs.h. */
50347 #include <math.h>
50348 #ifdef HAVE_IEEEFP_H
50349 #include <ieeefp.h>
50350 #endif
50351
50352 int
50353 main ()
50354 {
50355 logl(0);
50356 ;
50357 return 0;
50358 }
50359 _ACEOF
50360 if ac_fn_cxx_try_compile "$LINENO"; then :
50361 glibcxx_cv_func_logl_use=yes
50362 else
50363 glibcxx_cv_func_logl_use=no
50364 fi
50365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50366 ac_ext=c
50367 ac_cpp='$CPP $CPPFLAGS'
50368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50371
50372
50373 fi
50374
50375 fi
50376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50377 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50378
50379 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50380 for ac_func in logl
50381 do :
50382 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50383 if test "x$ac_cv_func_logl" = x""yes; then :
50384 cat >>confdefs.h <<_ACEOF
50385 #define HAVE_LOGL 1
50386 _ACEOF
50387
50388 fi
50389 done
50390
50391 else
50392
50393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50394 $as_echo_n "checking for _logl declaration... " >&6; }
50395 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50396 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50397 $as_echo_n "(cached) " >&6
50398 else
50399
50400
50401 ac_ext=cpp
50402 ac_cpp='$CXXCPP $CPPFLAGS'
50403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50406
50407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50408 /* end confdefs.h. */
50409 #include <math.h>
50410 #ifdef HAVE_IEEEFP_H
50411 #include <ieeefp.h>
50412 #endif
50413
50414 int
50415 main ()
50416 {
50417 _logl(0);
50418 ;
50419 return 0;
50420 }
50421 _ACEOF
50422 if ac_fn_cxx_try_compile "$LINENO"; then :
50423 glibcxx_cv_func__logl_use=yes
50424 else
50425 glibcxx_cv_func__logl_use=no
50426 fi
50427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50428 ac_ext=c
50429 ac_cpp='$CPP $CPPFLAGS'
50430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50433
50434
50435 fi
50436
50437 fi
50438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50439 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50440
50441 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50442 for ac_func in _logl
50443 do :
50444 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50445 if test "x$ac_cv_func__logl" = x""yes; then :
50446 cat >>confdefs.h <<_ACEOF
50447 #define HAVE__LOGL 1
50448 _ACEOF
50449
50450 fi
50451 done
50452
50453 fi
50454 fi
50455
50456
50457
50458
50459
50460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50461 $as_echo_n "checking for log10l declaration... " >&6; }
50462 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50463 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50464 $as_echo_n "(cached) " >&6
50465 else
50466
50467
50468 ac_ext=cpp
50469 ac_cpp='$CXXCPP $CPPFLAGS'
50470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50473
50474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50475 /* end confdefs.h. */
50476 #include <math.h>
50477 #ifdef HAVE_IEEEFP_H
50478 #include <ieeefp.h>
50479 #endif
50480
50481 int
50482 main ()
50483 {
50484 log10l(0);
50485 ;
50486 return 0;
50487 }
50488 _ACEOF
50489 if ac_fn_cxx_try_compile "$LINENO"; then :
50490 glibcxx_cv_func_log10l_use=yes
50491 else
50492 glibcxx_cv_func_log10l_use=no
50493 fi
50494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50495 ac_ext=c
50496 ac_cpp='$CPP $CPPFLAGS'
50497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50500
50501
50502 fi
50503
50504 fi
50505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50506 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50507
50508 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50509 for ac_func in log10l
50510 do :
50511 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50512 if test "x$ac_cv_func_log10l" = x""yes; then :
50513 cat >>confdefs.h <<_ACEOF
50514 #define HAVE_LOG10L 1
50515 _ACEOF
50516
50517 fi
50518 done
50519
50520 else
50521
50522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50523 $as_echo_n "checking for _log10l declaration... " >&6; }
50524 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50525 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50526 $as_echo_n "(cached) " >&6
50527 else
50528
50529
50530 ac_ext=cpp
50531 ac_cpp='$CXXCPP $CPPFLAGS'
50532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50535
50536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50537 /* end confdefs.h. */
50538 #include <math.h>
50539 #ifdef HAVE_IEEEFP_H
50540 #include <ieeefp.h>
50541 #endif
50542
50543 int
50544 main ()
50545 {
50546 _log10l(0);
50547 ;
50548 return 0;
50549 }
50550 _ACEOF
50551 if ac_fn_cxx_try_compile "$LINENO"; then :
50552 glibcxx_cv_func__log10l_use=yes
50553 else
50554 glibcxx_cv_func__log10l_use=no
50555 fi
50556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50557 ac_ext=c
50558 ac_cpp='$CPP $CPPFLAGS'
50559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50562
50563
50564 fi
50565
50566 fi
50567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50568 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50569
50570 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50571 for ac_func in _log10l
50572 do :
50573 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50574 if test "x$ac_cv_func__log10l" = x""yes; then :
50575 cat >>confdefs.h <<_ACEOF
50576 #define HAVE__LOG10L 1
50577 _ACEOF
50578
50579 fi
50580 done
50581
50582 fi
50583 fi
50584
50585
50586
50587
50588
50589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50590 $as_echo_n "checking for modfl declaration... " >&6; }
50591 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50592 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50593 $as_echo_n "(cached) " >&6
50594 else
50595
50596
50597 ac_ext=cpp
50598 ac_cpp='$CXXCPP $CPPFLAGS'
50599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50602
50603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50604 /* end confdefs.h. */
50605 #include <math.h>
50606 int
50607 main ()
50608 {
50609 modfl(0, 0);
50610 ;
50611 return 0;
50612 }
50613 _ACEOF
50614 if ac_fn_cxx_try_compile "$LINENO"; then :
50615 glibcxx_cv_func_modfl_use=yes
50616 else
50617 glibcxx_cv_func_modfl_use=no
50618 fi
50619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50620 ac_ext=c
50621 ac_cpp='$CPP $CPPFLAGS'
50622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50625
50626
50627 fi
50628
50629 fi
50630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50631 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50632
50633 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50634 for ac_func in modfl
50635 do :
50636 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50637 if test "x$ac_cv_func_modfl" = x""yes; then :
50638 cat >>confdefs.h <<_ACEOF
50639 #define HAVE_MODFL 1
50640 _ACEOF
50641
50642 fi
50643 done
50644
50645 else
50646
50647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50648 $as_echo_n "checking for _modfl declaration... " >&6; }
50649 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50650 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50651 $as_echo_n "(cached) " >&6
50652 else
50653
50654
50655 ac_ext=cpp
50656 ac_cpp='$CXXCPP $CPPFLAGS'
50657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50660
50661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50662 /* end confdefs.h. */
50663 #include <math.h>
50664 int
50665 main ()
50666 {
50667 _modfl(0, 0);
50668 ;
50669 return 0;
50670 }
50671 _ACEOF
50672 if ac_fn_cxx_try_compile "$LINENO"; then :
50673 glibcxx_cv_func__modfl_use=yes
50674 else
50675 glibcxx_cv_func__modfl_use=no
50676 fi
50677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50678 ac_ext=c
50679 ac_cpp='$CPP $CPPFLAGS'
50680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50683
50684
50685 fi
50686
50687 fi
50688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50689 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50690
50691 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50692 for ac_func in _modfl
50693 do :
50694 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50695 if test "x$ac_cv_func__modfl" = x""yes; then :
50696 cat >>confdefs.h <<_ACEOF
50697 #define HAVE__MODFL 1
50698 _ACEOF
50699
50700 fi
50701 done
50702
50703 fi
50704 fi
50705
50706
50707
50708
50709
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50711 $as_echo_n "checking for powl declaration... " >&6; }
50712 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50713 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50714 $as_echo_n "(cached) " >&6
50715 else
50716
50717
50718 ac_ext=cpp
50719 ac_cpp='$CXXCPP $CPPFLAGS'
50720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50723
50724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50725 /* end confdefs.h. */
50726 #include <math.h>
50727 int
50728 main ()
50729 {
50730 powl(0, 0);
50731 ;
50732 return 0;
50733 }
50734 _ACEOF
50735 if ac_fn_cxx_try_compile "$LINENO"; then :
50736 glibcxx_cv_func_powl_use=yes
50737 else
50738 glibcxx_cv_func_powl_use=no
50739 fi
50740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50741 ac_ext=c
50742 ac_cpp='$CPP $CPPFLAGS'
50743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50746
50747
50748 fi
50749
50750 fi
50751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50752 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50753
50754 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50755 for ac_func in powl
50756 do :
50757 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50758 if test "x$ac_cv_func_powl" = x""yes; then :
50759 cat >>confdefs.h <<_ACEOF
50760 #define HAVE_POWL 1
50761 _ACEOF
50762
50763 fi
50764 done
50765
50766 else
50767
50768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50769 $as_echo_n "checking for _powl declaration... " >&6; }
50770 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50771 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50772 $as_echo_n "(cached) " >&6
50773 else
50774
50775
50776 ac_ext=cpp
50777 ac_cpp='$CXXCPP $CPPFLAGS'
50778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50781
50782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50783 /* end confdefs.h. */
50784 #include <math.h>
50785 int
50786 main ()
50787 {
50788 _powl(0, 0);
50789 ;
50790 return 0;
50791 }
50792 _ACEOF
50793 if ac_fn_cxx_try_compile "$LINENO"; then :
50794 glibcxx_cv_func__powl_use=yes
50795 else
50796 glibcxx_cv_func__powl_use=no
50797 fi
50798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50799 ac_ext=c
50800 ac_cpp='$CPP $CPPFLAGS'
50801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50804
50805
50806 fi
50807
50808 fi
50809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50810 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50811
50812 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50813 for ac_func in _powl
50814 do :
50815 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50816 if test "x$ac_cv_func__powl" = x""yes; then :
50817 cat >>confdefs.h <<_ACEOF
50818 #define HAVE__POWL 1
50819 _ACEOF
50820
50821 fi
50822 done
50823
50824 fi
50825 fi
50826
50827
50828
50829
50830
50831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50832 $as_echo_n "checking for sqrtl declaration... " >&6; }
50833 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50834 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50835 $as_echo_n "(cached) " >&6
50836 else
50837
50838
50839 ac_ext=cpp
50840 ac_cpp='$CXXCPP $CPPFLAGS'
50841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50844
50845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50846 /* end confdefs.h. */
50847 #include <math.h>
50848 #ifdef HAVE_IEEEFP_H
50849 #include <ieeefp.h>
50850 #endif
50851
50852 int
50853 main ()
50854 {
50855 sqrtl(0);
50856 ;
50857 return 0;
50858 }
50859 _ACEOF
50860 if ac_fn_cxx_try_compile "$LINENO"; then :
50861 glibcxx_cv_func_sqrtl_use=yes
50862 else
50863 glibcxx_cv_func_sqrtl_use=no
50864 fi
50865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50866 ac_ext=c
50867 ac_cpp='$CPP $CPPFLAGS'
50868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50871
50872
50873 fi
50874
50875 fi
50876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50877 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50878
50879 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50880 for ac_func in sqrtl
50881 do :
50882 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50883 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50884 cat >>confdefs.h <<_ACEOF
50885 #define HAVE_SQRTL 1
50886 _ACEOF
50887
50888 fi
50889 done
50890
50891 else
50892
50893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50894 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50895 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50896 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50897 $as_echo_n "(cached) " >&6
50898 else
50899
50900
50901 ac_ext=cpp
50902 ac_cpp='$CXXCPP $CPPFLAGS'
50903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50906
50907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50908 /* end confdefs.h. */
50909 #include <math.h>
50910 #ifdef HAVE_IEEEFP_H
50911 #include <ieeefp.h>
50912 #endif
50913
50914 int
50915 main ()
50916 {
50917 _sqrtl(0);
50918 ;
50919 return 0;
50920 }
50921 _ACEOF
50922 if ac_fn_cxx_try_compile "$LINENO"; then :
50923 glibcxx_cv_func__sqrtl_use=yes
50924 else
50925 glibcxx_cv_func__sqrtl_use=no
50926 fi
50927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50928 ac_ext=c
50929 ac_cpp='$CPP $CPPFLAGS'
50930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50933
50934
50935 fi
50936
50937 fi
50938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50939 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50940
50941 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50942 for ac_func in _sqrtl
50943 do :
50944 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50945 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50946 cat >>confdefs.h <<_ACEOF
50947 #define HAVE__SQRTL 1
50948 _ACEOF
50949
50950 fi
50951 done
50952
50953 fi
50954 fi
50955
50956
50957
50958
50959
50960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50961 $as_echo_n "checking for sincosl declaration... " >&6; }
50962 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50963 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50964 $as_echo_n "(cached) " >&6
50965 else
50966
50967
50968 ac_ext=cpp
50969 ac_cpp='$CXXCPP $CPPFLAGS'
50970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50973
50974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50975 /* end confdefs.h. */
50976 #include <math.h>
50977 int
50978 main ()
50979 {
50980 sincosl(0, 0, 0);
50981 ;
50982 return 0;
50983 }
50984 _ACEOF
50985 if ac_fn_cxx_try_compile "$LINENO"; then :
50986 glibcxx_cv_func_sincosl_use=yes
50987 else
50988 glibcxx_cv_func_sincosl_use=no
50989 fi
50990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50991 ac_ext=c
50992 ac_cpp='$CPP $CPPFLAGS'
50993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50996
50997
50998 fi
50999
51000 fi
51001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51002 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51003
51004 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51005 for ac_func in sincosl
51006 do :
51007 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51008 if test "x$ac_cv_func_sincosl" = x""yes; then :
51009 cat >>confdefs.h <<_ACEOF
51010 #define HAVE_SINCOSL 1
51011 _ACEOF
51012
51013 fi
51014 done
51015
51016 else
51017
51018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51019 $as_echo_n "checking for _sincosl declaration... " >&6; }
51020 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51021 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51022 $as_echo_n "(cached) " >&6
51023 else
51024
51025
51026 ac_ext=cpp
51027 ac_cpp='$CXXCPP $CPPFLAGS'
51028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51031
51032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51033 /* end confdefs.h. */
51034 #include <math.h>
51035 int
51036 main ()
51037 {
51038 _sincosl(0, 0, 0);
51039 ;
51040 return 0;
51041 }
51042 _ACEOF
51043 if ac_fn_cxx_try_compile "$LINENO"; then :
51044 glibcxx_cv_func__sincosl_use=yes
51045 else
51046 glibcxx_cv_func__sincosl_use=no
51047 fi
51048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51049 ac_ext=c
51050 ac_cpp='$CPP $CPPFLAGS'
51051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51054
51055
51056 fi
51057
51058 fi
51059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51060 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51061
51062 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51063 for ac_func in _sincosl
51064 do :
51065 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51066 if test "x$ac_cv_func__sincosl" = x""yes; then :
51067 cat >>confdefs.h <<_ACEOF
51068 #define HAVE__SINCOSL 1
51069 _ACEOF
51070
51071 fi
51072 done
51073
51074 fi
51075 fi
51076
51077
51078
51079
51080
51081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51082 $as_echo_n "checking for finitel declaration... " >&6; }
51083 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51084 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51085 $as_echo_n "(cached) " >&6
51086 else
51087
51088
51089 ac_ext=cpp
51090 ac_cpp='$CXXCPP $CPPFLAGS'
51091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51094
51095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51096 /* end confdefs.h. */
51097 #include <math.h>
51098 #ifdef HAVE_IEEEFP_H
51099 #include <ieeefp.h>
51100 #endif
51101
51102 int
51103 main ()
51104 {
51105 finitel(0);
51106 ;
51107 return 0;
51108 }
51109 _ACEOF
51110 if ac_fn_cxx_try_compile "$LINENO"; then :
51111 glibcxx_cv_func_finitel_use=yes
51112 else
51113 glibcxx_cv_func_finitel_use=no
51114 fi
51115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51116 ac_ext=c
51117 ac_cpp='$CPP $CPPFLAGS'
51118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51121
51122
51123 fi
51124
51125 fi
51126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51127 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51128
51129 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51130 for ac_func in finitel
51131 do :
51132 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51133 if test "x$ac_cv_func_finitel" = x""yes; then :
51134 cat >>confdefs.h <<_ACEOF
51135 #define HAVE_FINITEL 1
51136 _ACEOF
51137
51138 fi
51139 done
51140
51141 else
51142
51143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51144 $as_echo_n "checking for _finitel declaration... " >&6; }
51145 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51146 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51147 $as_echo_n "(cached) " >&6
51148 else
51149
51150
51151 ac_ext=cpp
51152 ac_cpp='$CXXCPP $CPPFLAGS'
51153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51156
51157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51158 /* end confdefs.h. */
51159 #include <math.h>
51160 #ifdef HAVE_IEEEFP_H
51161 #include <ieeefp.h>
51162 #endif
51163
51164 int
51165 main ()
51166 {
51167 _finitel(0);
51168 ;
51169 return 0;
51170 }
51171 _ACEOF
51172 if ac_fn_cxx_try_compile "$LINENO"; then :
51173 glibcxx_cv_func__finitel_use=yes
51174 else
51175 glibcxx_cv_func__finitel_use=no
51176 fi
51177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51178 ac_ext=c
51179 ac_cpp='$CPP $CPPFLAGS'
51180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51183
51184
51185 fi
51186
51187 fi
51188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51189 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51190
51191 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51192 for ac_func in _finitel
51193 do :
51194 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51195 if test "x$ac_cv_func__finitel" = x""yes; then :
51196 cat >>confdefs.h <<_ACEOF
51197 #define HAVE__FINITEL 1
51198 _ACEOF
51199
51200 fi
51201 done
51202
51203 fi
51204 fi
51205
51206
51207
51208
51209 LIBS="$ac_save_LIBS"
51210 CXXFLAGS="$ac_save_CXXFLAGS"
51211
51212
51213 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51214 ac_save_CXXFLAGS="$CXXFLAGS"
51215 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51216
51217
51218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51219 $as_echo_n "checking for strtold declaration... " >&6; }
51220 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51221 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51222 $as_echo_n "(cached) " >&6
51223 else
51224
51225
51226 ac_ext=cpp
51227 ac_cpp='$CXXCPP $CPPFLAGS'
51228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51231
51232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51233 /* end confdefs.h. */
51234 #include <stdlib.h>
51235 int
51236 main ()
51237 {
51238 strtold(0, 0);
51239 ;
51240 return 0;
51241 }
51242 _ACEOF
51243 if ac_fn_cxx_try_compile "$LINENO"; then :
51244 glibcxx_cv_func_strtold_use=yes
51245 else
51246 glibcxx_cv_func_strtold_use=no
51247 fi
51248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51249 ac_ext=c
51250 ac_cpp='$CPP $CPPFLAGS'
51251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51254
51255
51256 fi
51257
51258 fi
51259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51260 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51261 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51262 for ac_func in strtold
51263 do :
51264 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51265 if test "x$ac_cv_func_strtold" = x""yes; then :
51266 cat >>confdefs.h <<_ACEOF
51267 #define HAVE_STRTOLD 1
51268 _ACEOF
51269
51270 fi
51271 done
51272
51273 fi
51274
51275
51276
51277
51278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51279 $as_echo_n "checking for strtof declaration... " >&6; }
51280 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51281 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51282 $as_echo_n "(cached) " >&6
51283 else
51284
51285
51286 ac_ext=cpp
51287 ac_cpp='$CXXCPP $CPPFLAGS'
51288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51291
51292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51293 /* end confdefs.h. */
51294 #include <stdlib.h>
51295 int
51296 main ()
51297 {
51298 strtof(0, 0);
51299 ;
51300 return 0;
51301 }
51302 _ACEOF
51303 if ac_fn_cxx_try_compile "$LINENO"; then :
51304 glibcxx_cv_func_strtof_use=yes
51305 else
51306 glibcxx_cv_func_strtof_use=no
51307 fi
51308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51309 ac_ext=c
51310 ac_cpp='$CPP $CPPFLAGS'
51311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51314
51315
51316 fi
51317
51318 fi
51319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51320 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51321 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51322 for ac_func in strtof
51323 do :
51324 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51325 if test "x$ac_cv_func_strtof" = x""yes; then :
51326 cat >>confdefs.h <<_ACEOF
51327 #define HAVE_STRTOF 1
51328 _ACEOF
51329
51330 fi
51331 done
51332
51333 fi
51334
51335
51336
51337
51338 CXXFLAGS="$ac_save_CXXFLAGS"
51339
51340 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51341
51342
51343
51344 # Check whether --enable-tls was given.
51345 if test "${enable_tls+set}" = set; then :
51346 enableval=$enable_tls;
51347 case "$enableval" in
51348 yes|no) ;;
51349 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51350 esac
51351
51352 else
51353 enable_tls=yes
51354 fi
51355
51356
51357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51358 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51359 if test "${gcc_cv_have_tls+set}" = set; then :
51360 $as_echo_n "(cached) " >&6
51361 else
51362
51363 if test "$cross_compiling" = yes; then :
51364 if test x$gcc_no_link = xyes; then
51365 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51366 fi
51367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51368 /* end confdefs.h. */
51369 __thread int a; int b; int main() { return a = b; }
51370 _ACEOF
51371 if ac_fn_c_try_link "$LINENO"; then :
51372 chktls_save_LDFLAGS="$LDFLAGS"
51373 case $host in
51374 *-*-linux*)
51375 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51376 ;;
51377 esac
51378 chktls_save_CFLAGS="$CFLAGS"
51379 CFLAGS="-fPIC $CFLAGS"
51380 if test x$gcc_no_link = xyes; then
51381 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51382 fi
51383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51384 /* end confdefs.h. */
51385 int f() { return 0; }
51386 _ACEOF
51387 if ac_fn_c_try_link "$LINENO"; then :
51388 if test x$gcc_no_link = xyes; then
51389 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51390 fi
51391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51392 /* end confdefs.h. */
51393 __thread int a; int b; int f() { return a = b; }
51394 _ACEOF
51395 if ac_fn_c_try_link "$LINENO"; then :
51396 gcc_cv_have_tls=yes
51397 else
51398 gcc_cv_have_tls=no
51399 fi
51400 rm -f core conftest.err conftest.$ac_objext \
51401 conftest$ac_exeext conftest.$ac_ext
51402 else
51403 gcc_cv_have_tls=yes
51404 fi
51405 rm -f core conftest.err conftest.$ac_objext \
51406 conftest$ac_exeext conftest.$ac_ext
51407 CFLAGS="$chktls_save_CFLAGS"
51408 LDFLAGS="$chktls_save_LDFLAGS"
51409 else
51410 gcc_cv_have_tls=no
51411 fi
51412 rm -f core conftest.err conftest.$ac_objext \
51413 conftest$ac_exeext conftest.$ac_ext
51414
51415
51416 else
51417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51418 /* end confdefs.h. */
51419 __thread int a; int b; int main() { return a = b; }
51420 _ACEOF
51421 if ac_fn_c_try_run "$LINENO"; then :
51422 chktls_save_LDFLAGS="$LDFLAGS"
51423 LDFLAGS="-static $LDFLAGS"
51424 if test x$gcc_no_link = xyes; then
51425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51426 fi
51427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51428 /* end confdefs.h. */
51429 int main() { return 0; }
51430 _ACEOF
51431 if ac_fn_c_try_link "$LINENO"; then :
51432 if test "$cross_compiling" = yes; then :
51433 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51435 as_fn_error "cannot run test program while cross compiling
51436 See \`config.log' for more details." "$LINENO" 5; }
51437 else
51438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51439 /* end confdefs.h. */
51440 __thread int a; int b; int main() { return a = b; }
51441 _ACEOF
51442 if ac_fn_c_try_run "$LINENO"; then :
51443 gcc_cv_have_tls=yes
51444 else
51445 gcc_cv_have_tls=no
51446 fi
51447 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51448 conftest.$ac_objext conftest.beam conftest.$ac_ext
51449 fi
51450
51451 else
51452 gcc_cv_have_tls=yes
51453 fi
51454 rm -f core conftest.err conftest.$ac_objext \
51455 conftest$ac_exeext conftest.$ac_ext
51456 LDFLAGS="$chktls_save_LDFLAGS"
51457 if test $gcc_cv_have_tls = yes; then
51458 chktls_save_CFLAGS="$CFLAGS"
51459 thread_CFLAGS=failed
51460 for flag in '' '-pthread' '-lpthread'; do
51461 CFLAGS="$flag $chktls_save_CFLAGS"
51462 if test x$gcc_no_link = xyes; then
51463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51464 fi
51465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51466 /* end confdefs.h. */
51467 #include <pthread.h>
51468 void *g(void *d) { return NULL; }
51469 int
51470 main ()
51471 {
51472 pthread_t t; pthread_create(&t,NULL,g,NULL);
51473 ;
51474 return 0;
51475 }
51476 _ACEOF
51477 if ac_fn_c_try_link "$LINENO"; then :
51478 thread_CFLAGS="$flag"
51479 fi
51480 rm -f core conftest.err conftest.$ac_objext \
51481 conftest$ac_exeext conftest.$ac_ext
51482 if test "X$thread_CFLAGS" != Xfailed; then
51483 break
51484 fi
51485 done
51486 CFLAGS="$chktls_save_CFLAGS"
51487 if test "X$thread_CFLAGS" != Xfailed; then
51488 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51489 if test "$cross_compiling" = yes; then :
51490 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51491 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51492 as_fn_error "cannot run test program while cross compiling
51493 See \`config.log' for more details." "$LINENO" 5; }
51494 else
51495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51496 /* end confdefs.h. */
51497 #include <pthread.h>
51498 __thread int a;
51499 static int *volatile a_in_other_thread;
51500 static void *
51501 thread_func (void *arg)
51502 {
51503 a_in_other_thread = &a;
51504 return (void *)0;
51505 }
51506 int
51507 main ()
51508 {
51509 pthread_t thread;
51510 void *thread_retval;
51511 int *volatile a_in_main_thread;
51512 a_in_main_thread = &a;
51513 if (pthread_create (&thread, (pthread_attr_t *)0,
51514 thread_func, (void *)0))
51515 return 0;
51516 if (pthread_join (thread, &thread_retval))
51517 return 0;
51518 return (a_in_other_thread == a_in_main_thread);
51519 ;
51520 return 0;
51521 }
51522 _ACEOF
51523 if ac_fn_c_try_run "$LINENO"; then :
51524 gcc_cv_have_tls=yes
51525 else
51526 gcc_cv_have_tls=no
51527 fi
51528 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51529 conftest.$ac_objext conftest.beam conftest.$ac_ext
51530 fi
51531
51532 CFLAGS="$chktls_save_CFLAGS"
51533 fi
51534 fi
51535 else
51536 gcc_cv_have_tls=no
51537 fi
51538 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51539 conftest.$ac_objext conftest.beam conftest.$ac_ext
51540 fi
51541
51542 fi
51543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51544 $as_echo "$gcc_cv_have_tls" >&6; }
51545 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51546
51547 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51548
51549 fi
51550
51551
51552
51553
51554
51555 am_save_CPPFLAGS="$CPPFLAGS"
51556
51557 for element in $INCICONV; do
51558 haveit=
51559 for x in $CPPFLAGS; do
51560
51561 acl_save_prefix="$prefix"
51562 prefix="$acl_final_prefix"
51563 acl_save_exec_prefix="$exec_prefix"
51564 exec_prefix="$acl_final_exec_prefix"
51565 eval x=\"$x\"
51566 exec_prefix="$acl_save_exec_prefix"
51567 prefix="$acl_save_prefix"
51568
51569 if test "X$x" = "X$element"; then
51570 haveit=yes
51571 break
51572 fi
51573 done
51574 if test -z "$haveit"; then
51575 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51576 fi
51577 done
51578
51579
51580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51581 $as_echo_n "checking for iconv... " >&6; }
51582 if test "${am_cv_func_iconv+set}" = set; then :
51583 $as_echo_n "(cached) " >&6
51584 else
51585
51586 am_cv_func_iconv="no, consider installing GNU libiconv"
51587 am_cv_lib_iconv=no
51588 if test x$gcc_no_link = xyes; then
51589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51590 fi
51591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51592 /* end confdefs.h. */
51593 #include <stdlib.h>
51594 #include <iconv.h>
51595 int
51596 main ()
51597 {
51598 iconv_t cd = iconv_open("","");
51599 iconv(cd,NULL,NULL,NULL,NULL);
51600 iconv_close(cd);
51601 ;
51602 return 0;
51603 }
51604 _ACEOF
51605 if ac_fn_c_try_link "$LINENO"; then :
51606 am_cv_func_iconv=yes
51607 fi
51608 rm -f core conftest.err conftest.$ac_objext \
51609 conftest$ac_exeext conftest.$ac_ext
51610 if test "$am_cv_func_iconv" != yes; then
51611 am_save_LIBS="$LIBS"
51612 LIBS="$LIBS $LIBICONV"
51613 if test x$gcc_no_link = xyes; then
51614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51615 fi
51616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51617 /* end confdefs.h. */
51618 #include <stdlib.h>
51619 #include <iconv.h>
51620 int
51621 main ()
51622 {
51623 iconv_t cd = iconv_open("","");
51624 iconv(cd,NULL,NULL,NULL,NULL);
51625 iconv_close(cd);
51626 ;
51627 return 0;
51628 }
51629 _ACEOF
51630 if ac_fn_c_try_link "$LINENO"; then :
51631 am_cv_lib_iconv=yes
51632 am_cv_func_iconv=yes
51633 fi
51634 rm -f core conftest.err conftest.$ac_objext \
51635 conftest$ac_exeext conftest.$ac_ext
51636 LIBS="$am_save_LIBS"
51637 fi
51638
51639 fi
51640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51641 $as_echo "$am_cv_func_iconv" >&6; }
51642 if test "$am_cv_func_iconv" = yes; then
51643
51644 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51645
51646 fi
51647 if test "$am_cv_lib_iconv" = yes; then
51648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51649 $as_echo_n "checking how to link with libiconv... " >&6; }
51650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51651 $as_echo "$LIBICONV" >&6; }
51652 else
51653 CPPFLAGS="$am_save_CPPFLAGS"
51654 LIBICONV=
51655 LTLIBICONV=
51656 fi
51657
51658
51659
51660 if test "$am_cv_func_iconv" = yes; then
51661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51662 $as_echo_n "checking for iconv declaration... " >&6; }
51663 if test "${am_cv_proto_iconv+set}" = set; then :
51664 $as_echo_n "(cached) " >&6
51665 else
51666
51667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51668 /* end confdefs.h. */
51669
51670 #include <stdlib.h>
51671 #include <iconv.h>
51672 extern
51673 #ifdef __cplusplus
51674 "C"
51675 #endif
51676 #if defined(__STDC__) || defined(__cplusplus)
51677 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51678 #else
51679 size_t iconv();
51680 #endif
51681
51682 int
51683 main ()
51684 {
51685
51686 ;
51687 return 0;
51688 }
51689 _ACEOF
51690 if ac_fn_c_try_compile "$LINENO"; then :
51691 am_cv_proto_iconv_arg1=""
51692 else
51693 am_cv_proto_iconv_arg1="const"
51694 fi
51695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51696 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);"
51697 fi
51698
51699 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51701 }$am_cv_proto_iconv" >&5
51702 $as_echo "${ac_t:-
51703 }$am_cv_proto_iconv" >&6; }
51704
51705 cat >>confdefs.h <<_ACEOF
51706 #define ICONV_CONST $am_cv_proto_iconv_arg1
51707 _ACEOF
51708
51709 fi
51710
51711 ;;
51712 *-mingw32*)
51713
51714 # If we're not using GNU ld, then there's no point in even trying these
51715 # tests. Check for that first. We should have already tested for gld
51716 # by now (in libtool), but require it now just to be safe...
51717 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51718 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51719
51720
51721
51722 # The name set by libtool depends on the version of libtool. Shame on us
51723 # for depending on an impl detail, but c'est la vie. Older versions used
51724 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51725 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51726 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51727 # set (hence we're using an older libtool), then set it.
51728 if test x${with_gnu_ld+set} != xset; then
51729 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51730 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51731 with_gnu_ld=no
51732 else
51733 with_gnu_ld=$ac_cv_prog_gnu_ld
51734 fi
51735 fi
51736
51737 # Start by getting the version number. I think the libtool test already
51738 # does some of this, but throws away the result.
51739 glibcxx_ld_is_gold=no
51740 if test x"$with_gnu_ld" = x"yes"; then
51741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51742 $as_echo_n "checking for ld version... " >&6; }
51743
51744 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51745 glibcxx_ld_is_gold=yes
51746 fi
51747 ldver=`$LD --version 2>/dev/null |
51748 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'`
51749
51750 glibcxx_gnu_ld_version=`echo $ldver | \
51751 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51753 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51754 fi
51755
51756 # Set --gc-sections.
51757 glibcxx_have_gc_sections=no
51758 if test "$glibcxx_ld_is_gold" = "yes"; then
51759 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51760 glibcxx_have_gc_sections=yes
51761 fi
51762 else
51763 glibcxx_gcsections_min_ld=21602
51764 if test x"$with_gnu_ld" = x"yes" &&
51765 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51766 glibcxx_have_gc_sections=yes
51767 fi
51768 fi
51769 if test "$glibcxx_have_gc_sections" = "yes"; then
51770 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51771 # NB: This flag only works reliably after 2.16.1. Configure tests
51772 # for this are difficult, so hard wire a value that should work.
51773
51774 ac_test_CFLAGS="${CFLAGS+set}"
51775 ac_save_CFLAGS="$CFLAGS"
51776 CFLAGS='-Wl,--gc-sections'
51777
51778 # Check for -Wl,--gc-sections
51779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51780 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51781 if test x$gcc_no_link = xyes; then
51782 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51783 fi
51784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51785 /* end confdefs.h. */
51786 int one(void) { return 1; }
51787 int two(void) { return 2; }
51788
51789 int
51790 main ()
51791 {
51792 two();
51793 ;
51794 return 0;
51795 }
51796 _ACEOF
51797 if ac_fn_c_try_link "$LINENO"; then :
51798 ac_gcsections=yes
51799 else
51800 ac_gcsections=no
51801 fi
51802 rm -f core conftest.err conftest.$ac_objext \
51803 conftest$ac_exeext conftest.$ac_ext
51804 if test "$ac_gcsections" = "yes"; then
51805 rm -f conftest.c
51806 touch conftest.c
51807 if $CC -c conftest.c; then
51808 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51809 grep "Warning: gc-sections option ignored" > /dev/null; then
51810 ac_gcsections=no
51811 fi
51812 fi
51813 rm -f conftest.c conftest.o conftest
51814 fi
51815 if test "$ac_gcsections" = "yes"; then
51816 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51817 fi
51818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51819 $as_echo "$ac_gcsections" >&6; }
51820
51821 if test "$ac_test_CFLAGS" = set; then
51822 CFLAGS="$ac_save_CFLAGS"
51823 else
51824 # this is the suspicious part
51825 CFLAGS=''
51826 fi
51827 fi
51828
51829 # Set -z,relro.
51830 # Note this is only for shared objects.
51831 ac_ld_relro=no
51832 if test x"$with_gnu_ld" = x"yes"; then
51833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51834 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51835 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51836 if test -n "$cxx_z_relo"; then
51837 OPT_LDFLAGS="-Wl,-z,relro"
51838 ac_ld_relro=yes
51839 fi
51840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51841 $as_echo "$ac_ld_relro" >&6; }
51842 fi
51843
51844 # Set linker optimization flags.
51845 if test x"$with_gnu_ld" = x"yes"; then
51846 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51847 fi
51848
51849
51850
51851
51852
51853 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51854 ac_save_CXXFLAGS="$CXXFLAGS"
51855 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51856
51857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51858 $as_echo_n "checking for sin in -lm... " >&6; }
51859 if test "${ac_cv_lib_m_sin+set}" = set; then :
51860 $as_echo_n "(cached) " >&6
51861 else
51862 ac_check_lib_save_LIBS=$LIBS
51863 LIBS="-lm $LIBS"
51864 if test x$gcc_no_link = xyes; then
51865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51866 fi
51867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51868 /* end confdefs.h. */
51869
51870 /* Override any GCC internal prototype to avoid an error.
51871 Use char because int might match the return type of a GCC
51872 builtin and then its argument prototype would still apply. */
51873 #ifdef __cplusplus
51874 extern "C"
51875 #endif
51876 char sin ();
51877 int
51878 main ()
51879 {
51880 return sin ();
51881 ;
51882 return 0;
51883 }
51884 _ACEOF
51885 if ac_fn_c_try_link "$LINENO"; then :
51886 ac_cv_lib_m_sin=yes
51887 else
51888 ac_cv_lib_m_sin=no
51889 fi
51890 rm -f core conftest.err conftest.$ac_objext \
51891 conftest$ac_exeext conftest.$ac_ext
51892 LIBS=$ac_check_lib_save_LIBS
51893 fi
51894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51895 $as_echo "$ac_cv_lib_m_sin" >&6; }
51896 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51897 libm="-lm"
51898 fi
51899
51900 ac_save_LIBS="$LIBS"
51901 LIBS="$LIBS $libm"
51902
51903
51904
51905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51906 $as_echo_n "checking for isinf declaration... " >&6; }
51907 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51908 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51909 $as_echo_n "(cached) " >&6
51910 else
51911
51912
51913 ac_ext=cpp
51914 ac_cpp='$CXXCPP $CPPFLAGS'
51915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51918
51919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51920 /* end confdefs.h. */
51921 #include <math.h>
51922 #ifdef HAVE_IEEEFP_H
51923 #include <ieeefp.h>
51924 #endif
51925
51926 int
51927 main ()
51928 {
51929 isinf(0);
51930 ;
51931 return 0;
51932 }
51933 _ACEOF
51934 if ac_fn_cxx_try_compile "$LINENO"; then :
51935 glibcxx_cv_func_isinf_use=yes
51936 else
51937 glibcxx_cv_func_isinf_use=no
51938 fi
51939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51940 ac_ext=c
51941 ac_cpp='$CPP $CPPFLAGS'
51942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51945
51946
51947 fi
51948
51949 fi
51950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51951 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51952
51953 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51954 for ac_func in isinf
51955 do :
51956 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51957 if test "x$ac_cv_func_isinf" = x""yes; then :
51958 cat >>confdefs.h <<_ACEOF
51959 #define HAVE_ISINF 1
51960 _ACEOF
51961
51962 fi
51963 done
51964
51965 else
51966
51967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51968 $as_echo_n "checking for _isinf declaration... " >&6; }
51969 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51970 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51971 $as_echo_n "(cached) " >&6
51972 else
51973
51974
51975 ac_ext=cpp
51976 ac_cpp='$CXXCPP $CPPFLAGS'
51977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51980
51981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51982 /* end confdefs.h. */
51983 #include <math.h>
51984 #ifdef HAVE_IEEEFP_H
51985 #include <ieeefp.h>
51986 #endif
51987
51988 int
51989 main ()
51990 {
51991 _isinf(0);
51992 ;
51993 return 0;
51994 }
51995 _ACEOF
51996 if ac_fn_cxx_try_compile "$LINENO"; then :
51997 glibcxx_cv_func__isinf_use=yes
51998 else
51999 glibcxx_cv_func__isinf_use=no
52000 fi
52001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52002 ac_ext=c
52003 ac_cpp='$CPP $CPPFLAGS'
52004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52007
52008
52009 fi
52010
52011 fi
52012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52013 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52014
52015 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52016 for ac_func in _isinf
52017 do :
52018 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52019 if test "x$ac_cv_func__isinf" = x""yes; then :
52020 cat >>confdefs.h <<_ACEOF
52021 #define HAVE__ISINF 1
52022 _ACEOF
52023
52024 fi
52025 done
52026
52027 fi
52028 fi
52029
52030
52031
52032
52033
52034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52035 $as_echo_n "checking for isnan declaration... " >&6; }
52036 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52037 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52038 $as_echo_n "(cached) " >&6
52039 else
52040
52041
52042 ac_ext=cpp
52043 ac_cpp='$CXXCPP $CPPFLAGS'
52044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52047
52048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52049 /* end confdefs.h. */
52050 #include <math.h>
52051 #ifdef HAVE_IEEEFP_H
52052 #include <ieeefp.h>
52053 #endif
52054
52055 int
52056 main ()
52057 {
52058 isnan(0);
52059 ;
52060 return 0;
52061 }
52062 _ACEOF
52063 if ac_fn_cxx_try_compile "$LINENO"; then :
52064 glibcxx_cv_func_isnan_use=yes
52065 else
52066 glibcxx_cv_func_isnan_use=no
52067 fi
52068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52069 ac_ext=c
52070 ac_cpp='$CPP $CPPFLAGS'
52071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52074
52075
52076 fi
52077
52078 fi
52079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52080 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52081
52082 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52083 for ac_func in isnan
52084 do :
52085 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52086 if test "x$ac_cv_func_isnan" = x""yes; then :
52087 cat >>confdefs.h <<_ACEOF
52088 #define HAVE_ISNAN 1
52089 _ACEOF
52090
52091 fi
52092 done
52093
52094 else
52095
52096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52097 $as_echo_n "checking for _isnan declaration... " >&6; }
52098 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52099 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52100 $as_echo_n "(cached) " >&6
52101 else
52102
52103
52104 ac_ext=cpp
52105 ac_cpp='$CXXCPP $CPPFLAGS'
52106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52109
52110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52111 /* end confdefs.h. */
52112 #include <math.h>
52113 #ifdef HAVE_IEEEFP_H
52114 #include <ieeefp.h>
52115 #endif
52116
52117 int
52118 main ()
52119 {
52120 _isnan(0);
52121 ;
52122 return 0;
52123 }
52124 _ACEOF
52125 if ac_fn_cxx_try_compile "$LINENO"; then :
52126 glibcxx_cv_func__isnan_use=yes
52127 else
52128 glibcxx_cv_func__isnan_use=no
52129 fi
52130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52131 ac_ext=c
52132 ac_cpp='$CPP $CPPFLAGS'
52133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52136
52137
52138 fi
52139
52140 fi
52141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52142 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52143
52144 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52145 for ac_func in _isnan
52146 do :
52147 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52148 if test "x$ac_cv_func__isnan" = x""yes; then :
52149 cat >>confdefs.h <<_ACEOF
52150 #define HAVE__ISNAN 1
52151 _ACEOF
52152
52153 fi
52154 done
52155
52156 fi
52157 fi
52158
52159
52160
52161
52162
52163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52164 $as_echo_n "checking for finite declaration... " >&6; }
52165 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52166 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52167 $as_echo_n "(cached) " >&6
52168 else
52169
52170
52171 ac_ext=cpp
52172 ac_cpp='$CXXCPP $CPPFLAGS'
52173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52176
52177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52178 /* end confdefs.h. */
52179 #include <math.h>
52180 #ifdef HAVE_IEEEFP_H
52181 #include <ieeefp.h>
52182 #endif
52183
52184 int
52185 main ()
52186 {
52187 finite(0);
52188 ;
52189 return 0;
52190 }
52191 _ACEOF
52192 if ac_fn_cxx_try_compile "$LINENO"; then :
52193 glibcxx_cv_func_finite_use=yes
52194 else
52195 glibcxx_cv_func_finite_use=no
52196 fi
52197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52198 ac_ext=c
52199 ac_cpp='$CPP $CPPFLAGS'
52200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52203
52204
52205 fi
52206
52207 fi
52208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52209 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52210
52211 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52212 for ac_func in finite
52213 do :
52214 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52215 if test "x$ac_cv_func_finite" = x""yes; then :
52216 cat >>confdefs.h <<_ACEOF
52217 #define HAVE_FINITE 1
52218 _ACEOF
52219
52220 fi
52221 done
52222
52223 else
52224
52225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52226 $as_echo_n "checking for _finite declaration... " >&6; }
52227 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52228 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52229 $as_echo_n "(cached) " >&6
52230 else
52231
52232
52233 ac_ext=cpp
52234 ac_cpp='$CXXCPP $CPPFLAGS'
52235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52238
52239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52240 /* end confdefs.h. */
52241 #include <math.h>
52242 #ifdef HAVE_IEEEFP_H
52243 #include <ieeefp.h>
52244 #endif
52245
52246 int
52247 main ()
52248 {
52249 _finite(0);
52250 ;
52251 return 0;
52252 }
52253 _ACEOF
52254 if ac_fn_cxx_try_compile "$LINENO"; then :
52255 glibcxx_cv_func__finite_use=yes
52256 else
52257 glibcxx_cv_func__finite_use=no
52258 fi
52259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52260 ac_ext=c
52261 ac_cpp='$CPP $CPPFLAGS'
52262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52265
52266
52267 fi
52268
52269 fi
52270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52271 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52272
52273 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52274 for ac_func in _finite
52275 do :
52276 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52277 if test "x$ac_cv_func__finite" = x""yes; then :
52278 cat >>confdefs.h <<_ACEOF
52279 #define HAVE__FINITE 1
52280 _ACEOF
52281
52282 fi
52283 done
52284
52285 fi
52286 fi
52287
52288
52289
52290
52291
52292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52293 $as_echo_n "checking for sincos declaration... " >&6; }
52294 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52295 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52296 $as_echo_n "(cached) " >&6
52297 else
52298
52299
52300 ac_ext=cpp
52301 ac_cpp='$CXXCPP $CPPFLAGS'
52302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52305
52306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52307 /* end confdefs.h. */
52308 #include <math.h>
52309 int
52310 main ()
52311 {
52312 sincos(0, 0, 0);
52313 ;
52314 return 0;
52315 }
52316 _ACEOF
52317 if ac_fn_cxx_try_compile "$LINENO"; then :
52318 glibcxx_cv_func_sincos_use=yes
52319 else
52320 glibcxx_cv_func_sincos_use=no
52321 fi
52322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52323 ac_ext=c
52324 ac_cpp='$CPP $CPPFLAGS'
52325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52328
52329
52330 fi
52331
52332 fi
52333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52334 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52335
52336 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52337 for ac_func in sincos
52338 do :
52339 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52340 if test "x$ac_cv_func_sincos" = x""yes; then :
52341 cat >>confdefs.h <<_ACEOF
52342 #define HAVE_SINCOS 1
52343 _ACEOF
52344
52345 fi
52346 done
52347
52348 else
52349
52350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52351 $as_echo_n "checking for _sincos declaration... " >&6; }
52352 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52353 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52354 $as_echo_n "(cached) " >&6
52355 else
52356
52357
52358 ac_ext=cpp
52359 ac_cpp='$CXXCPP $CPPFLAGS'
52360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52363
52364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52365 /* end confdefs.h. */
52366 #include <math.h>
52367 int
52368 main ()
52369 {
52370 _sincos(0, 0, 0);
52371 ;
52372 return 0;
52373 }
52374 _ACEOF
52375 if ac_fn_cxx_try_compile "$LINENO"; then :
52376 glibcxx_cv_func__sincos_use=yes
52377 else
52378 glibcxx_cv_func__sincos_use=no
52379 fi
52380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52381 ac_ext=c
52382 ac_cpp='$CPP $CPPFLAGS'
52383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52386
52387
52388 fi
52389
52390 fi
52391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52392 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52393
52394 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52395 for ac_func in _sincos
52396 do :
52397 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52398 if test "x$ac_cv_func__sincos" = x""yes; then :
52399 cat >>confdefs.h <<_ACEOF
52400 #define HAVE__SINCOS 1
52401 _ACEOF
52402
52403 fi
52404 done
52405
52406 fi
52407 fi
52408
52409
52410
52411
52412
52413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52414 $as_echo_n "checking for fpclass declaration... " >&6; }
52415 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52416 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52417 $as_echo_n "(cached) " >&6
52418 else
52419
52420
52421 ac_ext=cpp
52422 ac_cpp='$CXXCPP $CPPFLAGS'
52423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52426
52427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52428 /* end confdefs.h. */
52429 #include <math.h>
52430 #ifdef HAVE_IEEEFP_H
52431 #include <ieeefp.h>
52432 #endif
52433
52434 int
52435 main ()
52436 {
52437 fpclass(0);
52438 ;
52439 return 0;
52440 }
52441 _ACEOF
52442 if ac_fn_cxx_try_compile "$LINENO"; then :
52443 glibcxx_cv_func_fpclass_use=yes
52444 else
52445 glibcxx_cv_func_fpclass_use=no
52446 fi
52447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52448 ac_ext=c
52449 ac_cpp='$CPP $CPPFLAGS'
52450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52453
52454
52455 fi
52456
52457 fi
52458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52459 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52460
52461 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52462 for ac_func in fpclass
52463 do :
52464 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52465 if test "x$ac_cv_func_fpclass" = x""yes; then :
52466 cat >>confdefs.h <<_ACEOF
52467 #define HAVE_FPCLASS 1
52468 _ACEOF
52469
52470 fi
52471 done
52472
52473 else
52474
52475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52476 $as_echo_n "checking for _fpclass declaration... " >&6; }
52477 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52478 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52479 $as_echo_n "(cached) " >&6
52480 else
52481
52482
52483 ac_ext=cpp
52484 ac_cpp='$CXXCPP $CPPFLAGS'
52485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52488
52489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52490 /* end confdefs.h. */
52491 #include <math.h>
52492 #ifdef HAVE_IEEEFP_H
52493 #include <ieeefp.h>
52494 #endif
52495
52496 int
52497 main ()
52498 {
52499 _fpclass(0);
52500 ;
52501 return 0;
52502 }
52503 _ACEOF
52504 if ac_fn_cxx_try_compile "$LINENO"; then :
52505 glibcxx_cv_func__fpclass_use=yes
52506 else
52507 glibcxx_cv_func__fpclass_use=no
52508 fi
52509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52510 ac_ext=c
52511 ac_cpp='$CPP $CPPFLAGS'
52512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52515
52516
52517 fi
52518
52519 fi
52520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52521 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52522
52523 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52524 for ac_func in _fpclass
52525 do :
52526 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52527 if test "x$ac_cv_func__fpclass" = x""yes; then :
52528 cat >>confdefs.h <<_ACEOF
52529 #define HAVE__FPCLASS 1
52530 _ACEOF
52531
52532 fi
52533 done
52534
52535 fi
52536 fi
52537
52538
52539
52540
52541
52542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52543 $as_echo_n "checking for qfpclass declaration... " >&6; }
52544 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52545 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52546 $as_echo_n "(cached) " >&6
52547 else
52548
52549
52550 ac_ext=cpp
52551 ac_cpp='$CXXCPP $CPPFLAGS'
52552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52555
52556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52557 /* end confdefs.h. */
52558 #include <math.h>
52559 #ifdef HAVE_IEEEFP_H
52560 #include <ieeefp.h>
52561 #endif
52562
52563 int
52564 main ()
52565 {
52566 qfpclass(0);
52567 ;
52568 return 0;
52569 }
52570 _ACEOF
52571 if ac_fn_cxx_try_compile "$LINENO"; then :
52572 glibcxx_cv_func_qfpclass_use=yes
52573 else
52574 glibcxx_cv_func_qfpclass_use=no
52575 fi
52576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52577 ac_ext=c
52578 ac_cpp='$CPP $CPPFLAGS'
52579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52582
52583
52584 fi
52585
52586 fi
52587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52588 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52589
52590 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52591 for ac_func in qfpclass
52592 do :
52593 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52594 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52595 cat >>confdefs.h <<_ACEOF
52596 #define HAVE_QFPCLASS 1
52597 _ACEOF
52598
52599 fi
52600 done
52601
52602 else
52603
52604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52605 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52606 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52607 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52608 $as_echo_n "(cached) " >&6
52609 else
52610
52611
52612 ac_ext=cpp
52613 ac_cpp='$CXXCPP $CPPFLAGS'
52614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52617
52618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52619 /* end confdefs.h. */
52620 #include <math.h>
52621 #ifdef HAVE_IEEEFP_H
52622 #include <ieeefp.h>
52623 #endif
52624
52625 int
52626 main ()
52627 {
52628 _qfpclass(0);
52629 ;
52630 return 0;
52631 }
52632 _ACEOF
52633 if ac_fn_cxx_try_compile "$LINENO"; then :
52634 glibcxx_cv_func__qfpclass_use=yes
52635 else
52636 glibcxx_cv_func__qfpclass_use=no
52637 fi
52638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52639 ac_ext=c
52640 ac_cpp='$CPP $CPPFLAGS'
52641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52644
52645
52646 fi
52647
52648 fi
52649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52650 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52651
52652 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52653 for ac_func in _qfpclass
52654 do :
52655 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52656 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52657 cat >>confdefs.h <<_ACEOF
52658 #define HAVE__QFPCLASS 1
52659 _ACEOF
52660
52661 fi
52662 done
52663
52664 fi
52665 fi
52666
52667
52668
52669
52670
52671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52672 $as_echo_n "checking for hypot declaration... " >&6; }
52673 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52674 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52675 $as_echo_n "(cached) " >&6
52676 else
52677
52678
52679 ac_ext=cpp
52680 ac_cpp='$CXXCPP $CPPFLAGS'
52681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52684
52685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52686 /* end confdefs.h. */
52687 #include <math.h>
52688 int
52689 main ()
52690 {
52691 hypot(0, 0);
52692 ;
52693 return 0;
52694 }
52695 _ACEOF
52696 if ac_fn_cxx_try_compile "$LINENO"; then :
52697 glibcxx_cv_func_hypot_use=yes
52698 else
52699 glibcxx_cv_func_hypot_use=no
52700 fi
52701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52702 ac_ext=c
52703 ac_cpp='$CPP $CPPFLAGS'
52704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52707
52708
52709 fi
52710
52711 fi
52712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52713 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52714
52715 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52716 for ac_func in hypot
52717 do :
52718 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52719 if test "x$ac_cv_func_hypot" = x""yes; then :
52720 cat >>confdefs.h <<_ACEOF
52721 #define HAVE_HYPOT 1
52722 _ACEOF
52723
52724 fi
52725 done
52726
52727 else
52728
52729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52730 $as_echo_n "checking for _hypot declaration... " >&6; }
52731 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52732 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52733 $as_echo_n "(cached) " >&6
52734 else
52735
52736
52737 ac_ext=cpp
52738 ac_cpp='$CXXCPP $CPPFLAGS'
52739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52742
52743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52744 /* end confdefs.h. */
52745 #include <math.h>
52746 int
52747 main ()
52748 {
52749 _hypot(0, 0);
52750 ;
52751 return 0;
52752 }
52753 _ACEOF
52754 if ac_fn_cxx_try_compile "$LINENO"; then :
52755 glibcxx_cv_func__hypot_use=yes
52756 else
52757 glibcxx_cv_func__hypot_use=no
52758 fi
52759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52760 ac_ext=c
52761 ac_cpp='$CPP $CPPFLAGS'
52762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52765
52766
52767 fi
52768
52769 fi
52770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52771 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52772
52773 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52774 for ac_func in _hypot
52775 do :
52776 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52777 if test "x$ac_cv_func__hypot" = x""yes; then :
52778 cat >>confdefs.h <<_ACEOF
52779 #define HAVE__HYPOT 1
52780 _ACEOF
52781
52782 fi
52783 done
52784
52785 fi
52786 fi
52787
52788
52789
52790
52791
52792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52793 $as_echo_n "checking for float trig functions... " >&6; }
52794 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52795 $as_echo_n "(cached) " >&6
52796 else
52797
52798
52799 ac_ext=cpp
52800 ac_cpp='$CXXCPP $CPPFLAGS'
52801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52804
52805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52806 /* end confdefs.h. */
52807 #include <math.h>
52808 int
52809 main ()
52810 {
52811 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52812 ;
52813 return 0;
52814 }
52815 _ACEOF
52816 if ac_fn_cxx_try_compile "$LINENO"; then :
52817 glibcxx_cv_func_float_trig_use=yes
52818 else
52819 glibcxx_cv_func_float_trig_use=no
52820 fi
52821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52822 ac_ext=c
52823 ac_cpp='$CPP $CPPFLAGS'
52824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52827
52828 fi
52829
52830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52831 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52832 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52833 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52834 do :
52835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52837 eval as_val=\$$as_ac_var
52838 if test "x$as_val" = x""yes; then :
52839 cat >>confdefs.h <<_ACEOF
52840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52841 _ACEOF
52842
52843 fi
52844 done
52845
52846 else
52847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52848 $as_echo_n "checking for _float trig functions... " >&6; }
52849 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52850 $as_echo_n "(cached) " >&6
52851 else
52852
52853
52854 ac_ext=cpp
52855 ac_cpp='$CXXCPP $CPPFLAGS'
52856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52859
52860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52861 /* end confdefs.h. */
52862 #include <math.h>
52863 int
52864 main ()
52865 {
52866 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52867 ;
52868 return 0;
52869 }
52870 _ACEOF
52871 if ac_fn_cxx_try_compile "$LINENO"; then :
52872 glibcxx_cv_func__float_trig_use=yes
52873 else
52874 glibcxx_cv_func__float_trig_use=no
52875 fi
52876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52877 ac_ext=c
52878 ac_cpp='$CPP $CPPFLAGS'
52879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52882
52883 fi
52884
52885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52886 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52887 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52888 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52889 do :
52890 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52891 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52892 eval as_val=\$$as_ac_var
52893 if test "x$as_val" = x""yes; then :
52894 cat >>confdefs.h <<_ACEOF
52895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52896 _ACEOF
52897
52898 fi
52899 done
52900
52901 fi
52902 fi
52903
52904
52905
52906
52907
52908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52909 $as_echo_n "checking for float round functions... " >&6; }
52910 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52911 $as_echo_n "(cached) " >&6
52912 else
52913
52914
52915 ac_ext=cpp
52916 ac_cpp='$CXXCPP $CPPFLAGS'
52917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52920
52921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52922 /* end confdefs.h. */
52923 #include <math.h>
52924 int
52925 main ()
52926 {
52927 ceilf (0); floorf (0);
52928 ;
52929 return 0;
52930 }
52931 _ACEOF
52932 if ac_fn_cxx_try_compile "$LINENO"; then :
52933 glibcxx_cv_func_float_round_use=yes
52934 else
52935 glibcxx_cv_func_float_round_use=no
52936 fi
52937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52938 ac_ext=c
52939 ac_cpp='$CPP $CPPFLAGS'
52940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52943
52944 fi
52945
52946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52947 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52948 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52949 for ac_func in ceilf floorf
52950 do :
52951 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52952 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52953 eval as_val=\$$as_ac_var
52954 if test "x$as_val" = x""yes; then :
52955 cat >>confdefs.h <<_ACEOF
52956 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52957 _ACEOF
52958
52959 fi
52960 done
52961
52962 else
52963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52964 $as_echo_n "checking for _float round functions... " >&6; }
52965 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52966 $as_echo_n "(cached) " >&6
52967 else
52968
52969
52970 ac_ext=cpp
52971 ac_cpp='$CXXCPP $CPPFLAGS'
52972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52975
52976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52977 /* end confdefs.h. */
52978 #include <math.h>
52979 int
52980 main ()
52981 {
52982 _ceilf (0); _floorf (0);
52983 ;
52984 return 0;
52985 }
52986 _ACEOF
52987 if ac_fn_cxx_try_compile "$LINENO"; then :
52988 glibcxx_cv_func__float_round_use=yes
52989 else
52990 glibcxx_cv_func__float_round_use=no
52991 fi
52992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52993 ac_ext=c
52994 ac_cpp='$CPP $CPPFLAGS'
52995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52998
52999 fi
53000
53001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53002 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53003 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53004 for ac_func in _ceilf _floorf
53005 do :
53006 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53007 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53008 eval as_val=\$$as_ac_var
53009 if test "x$as_val" = x""yes; then :
53010 cat >>confdefs.h <<_ACEOF
53011 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53012 _ACEOF
53013
53014 fi
53015 done
53016
53017 fi
53018 fi
53019
53020
53021
53022
53023
53024
53025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53026 $as_echo_n "checking for expf declaration... " >&6; }
53027 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53028 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53029 $as_echo_n "(cached) " >&6
53030 else
53031
53032
53033 ac_ext=cpp
53034 ac_cpp='$CXXCPP $CPPFLAGS'
53035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53038
53039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53040 /* end confdefs.h. */
53041 #include <math.h>
53042 #ifdef HAVE_IEEEFP_H
53043 #include <ieeefp.h>
53044 #endif
53045
53046 int
53047 main ()
53048 {
53049 expf(0);
53050 ;
53051 return 0;
53052 }
53053 _ACEOF
53054 if ac_fn_cxx_try_compile "$LINENO"; then :
53055 glibcxx_cv_func_expf_use=yes
53056 else
53057 glibcxx_cv_func_expf_use=no
53058 fi
53059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53060 ac_ext=c
53061 ac_cpp='$CPP $CPPFLAGS'
53062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53065
53066
53067 fi
53068
53069 fi
53070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53071 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53072
53073 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53074 for ac_func in expf
53075 do :
53076 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53077 if test "x$ac_cv_func_expf" = x""yes; then :
53078 cat >>confdefs.h <<_ACEOF
53079 #define HAVE_EXPF 1
53080 _ACEOF
53081
53082 fi
53083 done
53084
53085 else
53086
53087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53088 $as_echo_n "checking for _expf declaration... " >&6; }
53089 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53090 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53091 $as_echo_n "(cached) " >&6
53092 else
53093
53094
53095 ac_ext=cpp
53096 ac_cpp='$CXXCPP $CPPFLAGS'
53097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53100
53101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53102 /* end confdefs.h. */
53103 #include <math.h>
53104 #ifdef HAVE_IEEEFP_H
53105 #include <ieeefp.h>
53106 #endif
53107
53108 int
53109 main ()
53110 {
53111 _expf(0);
53112 ;
53113 return 0;
53114 }
53115 _ACEOF
53116 if ac_fn_cxx_try_compile "$LINENO"; then :
53117 glibcxx_cv_func__expf_use=yes
53118 else
53119 glibcxx_cv_func__expf_use=no
53120 fi
53121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53122 ac_ext=c
53123 ac_cpp='$CPP $CPPFLAGS'
53124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53127
53128
53129 fi
53130
53131 fi
53132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53133 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53134
53135 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53136 for ac_func in _expf
53137 do :
53138 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53139 if test "x$ac_cv_func__expf" = x""yes; then :
53140 cat >>confdefs.h <<_ACEOF
53141 #define HAVE__EXPF 1
53142 _ACEOF
53143
53144 fi
53145 done
53146
53147 fi
53148 fi
53149
53150
53151
53152
53153
53154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53155 $as_echo_n "checking for isnanf declaration... " >&6; }
53156 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53157 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53158 $as_echo_n "(cached) " >&6
53159 else
53160
53161
53162 ac_ext=cpp
53163 ac_cpp='$CXXCPP $CPPFLAGS'
53164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53167
53168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53169 /* end confdefs.h. */
53170 #include <math.h>
53171 #ifdef HAVE_IEEEFP_H
53172 #include <ieeefp.h>
53173 #endif
53174
53175 int
53176 main ()
53177 {
53178 isnanf(0);
53179 ;
53180 return 0;
53181 }
53182 _ACEOF
53183 if ac_fn_cxx_try_compile "$LINENO"; then :
53184 glibcxx_cv_func_isnanf_use=yes
53185 else
53186 glibcxx_cv_func_isnanf_use=no
53187 fi
53188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53189 ac_ext=c
53190 ac_cpp='$CPP $CPPFLAGS'
53191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53194
53195
53196 fi
53197
53198 fi
53199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53200 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53201
53202 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53203 for ac_func in isnanf
53204 do :
53205 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53206 if test "x$ac_cv_func_isnanf" = x""yes; then :
53207 cat >>confdefs.h <<_ACEOF
53208 #define HAVE_ISNANF 1
53209 _ACEOF
53210
53211 fi
53212 done
53213
53214 else
53215
53216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53217 $as_echo_n "checking for _isnanf declaration... " >&6; }
53218 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53219 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53220 $as_echo_n "(cached) " >&6
53221 else
53222
53223
53224 ac_ext=cpp
53225 ac_cpp='$CXXCPP $CPPFLAGS'
53226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53229
53230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53231 /* end confdefs.h. */
53232 #include <math.h>
53233 #ifdef HAVE_IEEEFP_H
53234 #include <ieeefp.h>
53235 #endif
53236
53237 int
53238 main ()
53239 {
53240 _isnanf(0);
53241 ;
53242 return 0;
53243 }
53244 _ACEOF
53245 if ac_fn_cxx_try_compile "$LINENO"; then :
53246 glibcxx_cv_func__isnanf_use=yes
53247 else
53248 glibcxx_cv_func__isnanf_use=no
53249 fi
53250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53251 ac_ext=c
53252 ac_cpp='$CPP $CPPFLAGS'
53253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53256
53257
53258 fi
53259
53260 fi
53261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53262 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53263
53264 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53265 for ac_func in _isnanf
53266 do :
53267 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53268 if test "x$ac_cv_func__isnanf" = x""yes; then :
53269 cat >>confdefs.h <<_ACEOF
53270 #define HAVE__ISNANF 1
53271 _ACEOF
53272
53273 fi
53274 done
53275
53276 fi
53277 fi
53278
53279
53280
53281
53282
53283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53284 $as_echo_n "checking for isinff declaration... " >&6; }
53285 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53286 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53287 $as_echo_n "(cached) " >&6
53288 else
53289
53290
53291 ac_ext=cpp
53292 ac_cpp='$CXXCPP $CPPFLAGS'
53293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53296
53297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53298 /* end confdefs.h. */
53299 #include <math.h>
53300 #ifdef HAVE_IEEEFP_H
53301 #include <ieeefp.h>
53302 #endif
53303
53304 int
53305 main ()
53306 {
53307 isinff(0);
53308 ;
53309 return 0;
53310 }
53311 _ACEOF
53312 if ac_fn_cxx_try_compile "$LINENO"; then :
53313 glibcxx_cv_func_isinff_use=yes
53314 else
53315 glibcxx_cv_func_isinff_use=no
53316 fi
53317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53318 ac_ext=c
53319 ac_cpp='$CPP $CPPFLAGS'
53320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53323
53324
53325 fi
53326
53327 fi
53328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53329 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53330
53331 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53332 for ac_func in isinff
53333 do :
53334 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53335 if test "x$ac_cv_func_isinff" = x""yes; then :
53336 cat >>confdefs.h <<_ACEOF
53337 #define HAVE_ISINFF 1
53338 _ACEOF
53339
53340 fi
53341 done
53342
53343 else
53344
53345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53346 $as_echo_n "checking for _isinff declaration... " >&6; }
53347 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53348 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53349 $as_echo_n "(cached) " >&6
53350 else
53351
53352
53353 ac_ext=cpp
53354 ac_cpp='$CXXCPP $CPPFLAGS'
53355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53358
53359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53360 /* end confdefs.h. */
53361 #include <math.h>
53362 #ifdef HAVE_IEEEFP_H
53363 #include <ieeefp.h>
53364 #endif
53365
53366 int
53367 main ()
53368 {
53369 _isinff(0);
53370 ;
53371 return 0;
53372 }
53373 _ACEOF
53374 if ac_fn_cxx_try_compile "$LINENO"; then :
53375 glibcxx_cv_func__isinff_use=yes
53376 else
53377 glibcxx_cv_func__isinff_use=no
53378 fi
53379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53380 ac_ext=c
53381 ac_cpp='$CPP $CPPFLAGS'
53382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53385
53386
53387 fi
53388
53389 fi
53390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53391 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53392
53393 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53394 for ac_func in _isinff
53395 do :
53396 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53397 if test "x$ac_cv_func__isinff" = x""yes; then :
53398 cat >>confdefs.h <<_ACEOF
53399 #define HAVE__ISINFF 1
53400 _ACEOF
53401
53402 fi
53403 done
53404
53405 fi
53406 fi
53407
53408
53409
53410
53411
53412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53413 $as_echo_n "checking for atan2f declaration... " >&6; }
53414 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53415 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53416 $as_echo_n "(cached) " >&6
53417 else
53418
53419
53420 ac_ext=cpp
53421 ac_cpp='$CXXCPP $CPPFLAGS'
53422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53425
53426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53427 /* end confdefs.h. */
53428 #include <math.h>
53429 int
53430 main ()
53431 {
53432 atan2f(0, 0);
53433 ;
53434 return 0;
53435 }
53436 _ACEOF
53437 if ac_fn_cxx_try_compile "$LINENO"; then :
53438 glibcxx_cv_func_atan2f_use=yes
53439 else
53440 glibcxx_cv_func_atan2f_use=no
53441 fi
53442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53443 ac_ext=c
53444 ac_cpp='$CPP $CPPFLAGS'
53445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53448
53449
53450 fi
53451
53452 fi
53453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53454 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53455
53456 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53457 for ac_func in atan2f
53458 do :
53459 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53460 if test "x$ac_cv_func_atan2f" = x""yes; then :
53461 cat >>confdefs.h <<_ACEOF
53462 #define HAVE_ATAN2F 1
53463 _ACEOF
53464
53465 fi
53466 done
53467
53468 else
53469
53470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53471 $as_echo_n "checking for _atan2f declaration... " >&6; }
53472 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53473 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53474 $as_echo_n "(cached) " >&6
53475 else
53476
53477
53478 ac_ext=cpp
53479 ac_cpp='$CXXCPP $CPPFLAGS'
53480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53483
53484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53485 /* end confdefs.h. */
53486 #include <math.h>
53487 int
53488 main ()
53489 {
53490 _atan2f(0, 0);
53491 ;
53492 return 0;
53493 }
53494 _ACEOF
53495 if ac_fn_cxx_try_compile "$LINENO"; then :
53496 glibcxx_cv_func__atan2f_use=yes
53497 else
53498 glibcxx_cv_func__atan2f_use=no
53499 fi
53500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53501 ac_ext=c
53502 ac_cpp='$CPP $CPPFLAGS'
53503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53506
53507
53508 fi
53509
53510 fi
53511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53512 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53513
53514 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53515 for ac_func in _atan2f
53516 do :
53517 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53518 if test "x$ac_cv_func__atan2f" = x""yes; then :
53519 cat >>confdefs.h <<_ACEOF
53520 #define HAVE__ATAN2F 1
53521 _ACEOF
53522
53523 fi
53524 done
53525
53526 fi
53527 fi
53528
53529
53530
53531
53532
53533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53534 $as_echo_n "checking for fabsf declaration... " >&6; }
53535 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53536 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53537 $as_echo_n "(cached) " >&6
53538 else
53539
53540
53541 ac_ext=cpp
53542 ac_cpp='$CXXCPP $CPPFLAGS'
53543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53546
53547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53548 /* end confdefs.h. */
53549 #include <math.h>
53550 #ifdef HAVE_IEEEFP_H
53551 #include <ieeefp.h>
53552 #endif
53553
53554 int
53555 main ()
53556 {
53557 fabsf(0);
53558 ;
53559 return 0;
53560 }
53561 _ACEOF
53562 if ac_fn_cxx_try_compile "$LINENO"; then :
53563 glibcxx_cv_func_fabsf_use=yes
53564 else
53565 glibcxx_cv_func_fabsf_use=no
53566 fi
53567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53568 ac_ext=c
53569 ac_cpp='$CPP $CPPFLAGS'
53570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53573
53574
53575 fi
53576
53577 fi
53578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53579 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53580
53581 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53582 for ac_func in fabsf
53583 do :
53584 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53585 if test "x$ac_cv_func_fabsf" = x""yes; then :
53586 cat >>confdefs.h <<_ACEOF
53587 #define HAVE_FABSF 1
53588 _ACEOF
53589
53590 fi
53591 done
53592
53593 else
53594
53595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53596 $as_echo_n "checking for _fabsf declaration... " >&6; }
53597 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53598 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53599 $as_echo_n "(cached) " >&6
53600 else
53601
53602
53603 ac_ext=cpp
53604 ac_cpp='$CXXCPP $CPPFLAGS'
53605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53608
53609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53610 /* end confdefs.h. */
53611 #include <math.h>
53612 #ifdef HAVE_IEEEFP_H
53613 #include <ieeefp.h>
53614 #endif
53615
53616 int
53617 main ()
53618 {
53619 _fabsf(0);
53620 ;
53621 return 0;
53622 }
53623 _ACEOF
53624 if ac_fn_cxx_try_compile "$LINENO"; then :
53625 glibcxx_cv_func__fabsf_use=yes
53626 else
53627 glibcxx_cv_func__fabsf_use=no
53628 fi
53629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53630 ac_ext=c
53631 ac_cpp='$CPP $CPPFLAGS'
53632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53635
53636
53637 fi
53638
53639 fi
53640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53641 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53642
53643 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53644 for ac_func in _fabsf
53645 do :
53646 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53647 if test "x$ac_cv_func__fabsf" = x""yes; then :
53648 cat >>confdefs.h <<_ACEOF
53649 #define HAVE__FABSF 1
53650 _ACEOF
53651
53652 fi
53653 done
53654
53655 fi
53656 fi
53657
53658
53659
53660
53661
53662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53663 $as_echo_n "checking for fmodf declaration... " >&6; }
53664 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53665 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53666 $as_echo_n "(cached) " >&6
53667 else
53668
53669
53670 ac_ext=cpp
53671 ac_cpp='$CXXCPP $CPPFLAGS'
53672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53675
53676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53677 /* end confdefs.h. */
53678 #include <math.h>
53679 int
53680 main ()
53681 {
53682 fmodf(0, 0);
53683 ;
53684 return 0;
53685 }
53686 _ACEOF
53687 if ac_fn_cxx_try_compile "$LINENO"; then :
53688 glibcxx_cv_func_fmodf_use=yes
53689 else
53690 glibcxx_cv_func_fmodf_use=no
53691 fi
53692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53693 ac_ext=c
53694 ac_cpp='$CPP $CPPFLAGS'
53695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53698
53699
53700 fi
53701
53702 fi
53703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53704 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53705
53706 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53707 for ac_func in fmodf
53708 do :
53709 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53710 if test "x$ac_cv_func_fmodf" = x""yes; then :
53711 cat >>confdefs.h <<_ACEOF
53712 #define HAVE_FMODF 1
53713 _ACEOF
53714
53715 fi
53716 done
53717
53718 else
53719
53720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53721 $as_echo_n "checking for _fmodf declaration... " >&6; }
53722 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53723 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53724 $as_echo_n "(cached) " >&6
53725 else
53726
53727
53728 ac_ext=cpp
53729 ac_cpp='$CXXCPP $CPPFLAGS'
53730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53733
53734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53735 /* end confdefs.h. */
53736 #include <math.h>
53737 int
53738 main ()
53739 {
53740 _fmodf(0, 0);
53741 ;
53742 return 0;
53743 }
53744 _ACEOF
53745 if ac_fn_cxx_try_compile "$LINENO"; then :
53746 glibcxx_cv_func__fmodf_use=yes
53747 else
53748 glibcxx_cv_func__fmodf_use=no
53749 fi
53750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53751 ac_ext=c
53752 ac_cpp='$CPP $CPPFLAGS'
53753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53756
53757
53758 fi
53759
53760 fi
53761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53762 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53763
53764 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53765 for ac_func in _fmodf
53766 do :
53767 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53768 if test "x$ac_cv_func__fmodf" = x""yes; then :
53769 cat >>confdefs.h <<_ACEOF
53770 #define HAVE__FMODF 1
53771 _ACEOF
53772
53773 fi
53774 done
53775
53776 fi
53777 fi
53778
53779
53780
53781
53782
53783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53784 $as_echo_n "checking for frexpf declaration... " >&6; }
53785 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53786 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53787 $as_echo_n "(cached) " >&6
53788 else
53789
53790
53791 ac_ext=cpp
53792 ac_cpp='$CXXCPP $CPPFLAGS'
53793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53796
53797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53798 /* end confdefs.h. */
53799 #include <math.h>
53800 int
53801 main ()
53802 {
53803 frexpf(0, 0);
53804 ;
53805 return 0;
53806 }
53807 _ACEOF
53808 if ac_fn_cxx_try_compile "$LINENO"; then :
53809 glibcxx_cv_func_frexpf_use=yes
53810 else
53811 glibcxx_cv_func_frexpf_use=no
53812 fi
53813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53814 ac_ext=c
53815 ac_cpp='$CPP $CPPFLAGS'
53816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53819
53820
53821 fi
53822
53823 fi
53824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53825 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53826
53827 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53828 for ac_func in frexpf
53829 do :
53830 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53831 if test "x$ac_cv_func_frexpf" = x""yes; then :
53832 cat >>confdefs.h <<_ACEOF
53833 #define HAVE_FREXPF 1
53834 _ACEOF
53835
53836 fi
53837 done
53838
53839 else
53840
53841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53842 $as_echo_n "checking for _frexpf declaration... " >&6; }
53843 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53844 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53845 $as_echo_n "(cached) " >&6
53846 else
53847
53848
53849 ac_ext=cpp
53850 ac_cpp='$CXXCPP $CPPFLAGS'
53851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53854
53855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53856 /* end confdefs.h. */
53857 #include <math.h>
53858 int
53859 main ()
53860 {
53861 _frexpf(0, 0);
53862 ;
53863 return 0;
53864 }
53865 _ACEOF
53866 if ac_fn_cxx_try_compile "$LINENO"; then :
53867 glibcxx_cv_func__frexpf_use=yes
53868 else
53869 glibcxx_cv_func__frexpf_use=no
53870 fi
53871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53872 ac_ext=c
53873 ac_cpp='$CPP $CPPFLAGS'
53874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53877
53878
53879 fi
53880
53881 fi
53882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53883 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53884
53885 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53886 for ac_func in _frexpf
53887 do :
53888 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53889 if test "x$ac_cv_func__frexpf" = x""yes; then :
53890 cat >>confdefs.h <<_ACEOF
53891 #define HAVE__FREXPF 1
53892 _ACEOF
53893
53894 fi
53895 done
53896
53897 fi
53898 fi
53899
53900
53901
53902
53903
53904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53905 $as_echo_n "checking for hypotf declaration... " >&6; }
53906 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53907 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53908 $as_echo_n "(cached) " >&6
53909 else
53910
53911
53912 ac_ext=cpp
53913 ac_cpp='$CXXCPP $CPPFLAGS'
53914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53917
53918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53919 /* end confdefs.h. */
53920 #include <math.h>
53921 int
53922 main ()
53923 {
53924 hypotf(0, 0);
53925 ;
53926 return 0;
53927 }
53928 _ACEOF
53929 if ac_fn_cxx_try_compile "$LINENO"; then :
53930 glibcxx_cv_func_hypotf_use=yes
53931 else
53932 glibcxx_cv_func_hypotf_use=no
53933 fi
53934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53935 ac_ext=c
53936 ac_cpp='$CPP $CPPFLAGS'
53937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53940
53941
53942 fi
53943
53944 fi
53945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53946 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53947
53948 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53949 for ac_func in hypotf
53950 do :
53951 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53952 if test "x$ac_cv_func_hypotf" = x""yes; then :
53953 cat >>confdefs.h <<_ACEOF
53954 #define HAVE_HYPOTF 1
53955 _ACEOF
53956
53957 fi
53958 done
53959
53960 else
53961
53962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53963 $as_echo_n "checking for _hypotf declaration... " >&6; }
53964 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53965 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53966 $as_echo_n "(cached) " >&6
53967 else
53968
53969
53970 ac_ext=cpp
53971 ac_cpp='$CXXCPP $CPPFLAGS'
53972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53975
53976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53977 /* end confdefs.h. */
53978 #include <math.h>
53979 int
53980 main ()
53981 {
53982 _hypotf(0, 0);
53983 ;
53984 return 0;
53985 }
53986 _ACEOF
53987 if ac_fn_cxx_try_compile "$LINENO"; then :
53988 glibcxx_cv_func__hypotf_use=yes
53989 else
53990 glibcxx_cv_func__hypotf_use=no
53991 fi
53992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53993 ac_ext=c
53994 ac_cpp='$CPP $CPPFLAGS'
53995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53998
53999
54000 fi
54001
54002 fi
54003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54004 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54005
54006 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54007 for ac_func in _hypotf
54008 do :
54009 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54010 if test "x$ac_cv_func__hypotf" = x""yes; then :
54011 cat >>confdefs.h <<_ACEOF
54012 #define HAVE__HYPOTF 1
54013 _ACEOF
54014
54015 fi
54016 done
54017
54018 fi
54019 fi
54020
54021
54022
54023
54024
54025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54026 $as_echo_n "checking for ldexpf declaration... " >&6; }
54027 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54028 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54029 $as_echo_n "(cached) " >&6
54030 else
54031
54032
54033 ac_ext=cpp
54034 ac_cpp='$CXXCPP $CPPFLAGS'
54035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54038
54039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54040 /* end confdefs.h. */
54041 #include <math.h>
54042 int
54043 main ()
54044 {
54045 ldexpf(0, 0);
54046 ;
54047 return 0;
54048 }
54049 _ACEOF
54050 if ac_fn_cxx_try_compile "$LINENO"; then :
54051 glibcxx_cv_func_ldexpf_use=yes
54052 else
54053 glibcxx_cv_func_ldexpf_use=no
54054 fi
54055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54056 ac_ext=c
54057 ac_cpp='$CPP $CPPFLAGS'
54058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54061
54062
54063 fi
54064
54065 fi
54066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54067 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54068
54069 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54070 for ac_func in ldexpf
54071 do :
54072 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54073 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54074 cat >>confdefs.h <<_ACEOF
54075 #define HAVE_LDEXPF 1
54076 _ACEOF
54077
54078 fi
54079 done
54080
54081 else
54082
54083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54084 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54085 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54086 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54087 $as_echo_n "(cached) " >&6
54088 else
54089
54090
54091 ac_ext=cpp
54092 ac_cpp='$CXXCPP $CPPFLAGS'
54093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54096
54097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54098 /* end confdefs.h. */
54099 #include <math.h>
54100 int
54101 main ()
54102 {
54103 _ldexpf(0, 0);
54104 ;
54105 return 0;
54106 }
54107 _ACEOF
54108 if ac_fn_cxx_try_compile "$LINENO"; then :
54109 glibcxx_cv_func__ldexpf_use=yes
54110 else
54111 glibcxx_cv_func__ldexpf_use=no
54112 fi
54113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54114 ac_ext=c
54115 ac_cpp='$CPP $CPPFLAGS'
54116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54119
54120
54121 fi
54122
54123 fi
54124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54125 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54126
54127 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54128 for ac_func in _ldexpf
54129 do :
54130 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54131 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54132 cat >>confdefs.h <<_ACEOF
54133 #define HAVE__LDEXPF 1
54134 _ACEOF
54135
54136 fi
54137 done
54138
54139 fi
54140 fi
54141
54142
54143
54144
54145
54146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54147 $as_echo_n "checking for logf declaration... " >&6; }
54148 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54149 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54150 $as_echo_n "(cached) " >&6
54151 else
54152
54153
54154 ac_ext=cpp
54155 ac_cpp='$CXXCPP $CPPFLAGS'
54156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54159
54160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54161 /* end confdefs.h. */
54162 #include <math.h>
54163 #ifdef HAVE_IEEEFP_H
54164 #include <ieeefp.h>
54165 #endif
54166
54167 int
54168 main ()
54169 {
54170 logf(0);
54171 ;
54172 return 0;
54173 }
54174 _ACEOF
54175 if ac_fn_cxx_try_compile "$LINENO"; then :
54176 glibcxx_cv_func_logf_use=yes
54177 else
54178 glibcxx_cv_func_logf_use=no
54179 fi
54180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54181 ac_ext=c
54182 ac_cpp='$CPP $CPPFLAGS'
54183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54186
54187
54188 fi
54189
54190 fi
54191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54192 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54193
54194 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54195 for ac_func in logf
54196 do :
54197 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54198 if test "x$ac_cv_func_logf" = x""yes; then :
54199 cat >>confdefs.h <<_ACEOF
54200 #define HAVE_LOGF 1
54201 _ACEOF
54202
54203 fi
54204 done
54205
54206 else
54207
54208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54209 $as_echo_n "checking for _logf declaration... " >&6; }
54210 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54211 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54212 $as_echo_n "(cached) " >&6
54213 else
54214
54215
54216 ac_ext=cpp
54217 ac_cpp='$CXXCPP $CPPFLAGS'
54218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54221
54222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54223 /* end confdefs.h. */
54224 #include <math.h>
54225 #ifdef HAVE_IEEEFP_H
54226 #include <ieeefp.h>
54227 #endif
54228
54229 int
54230 main ()
54231 {
54232 _logf(0);
54233 ;
54234 return 0;
54235 }
54236 _ACEOF
54237 if ac_fn_cxx_try_compile "$LINENO"; then :
54238 glibcxx_cv_func__logf_use=yes
54239 else
54240 glibcxx_cv_func__logf_use=no
54241 fi
54242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54243 ac_ext=c
54244 ac_cpp='$CPP $CPPFLAGS'
54245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54248
54249
54250 fi
54251
54252 fi
54253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54254 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54255
54256 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54257 for ac_func in _logf
54258 do :
54259 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54260 if test "x$ac_cv_func__logf" = x""yes; then :
54261 cat >>confdefs.h <<_ACEOF
54262 #define HAVE__LOGF 1
54263 _ACEOF
54264
54265 fi
54266 done
54267
54268 fi
54269 fi
54270
54271
54272
54273
54274
54275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54276 $as_echo_n "checking for log10f declaration... " >&6; }
54277 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54278 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54279 $as_echo_n "(cached) " >&6
54280 else
54281
54282
54283 ac_ext=cpp
54284 ac_cpp='$CXXCPP $CPPFLAGS'
54285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54288
54289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54290 /* end confdefs.h. */
54291 #include <math.h>
54292 #ifdef HAVE_IEEEFP_H
54293 #include <ieeefp.h>
54294 #endif
54295
54296 int
54297 main ()
54298 {
54299 log10f(0);
54300 ;
54301 return 0;
54302 }
54303 _ACEOF
54304 if ac_fn_cxx_try_compile "$LINENO"; then :
54305 glibcxx_cv_func_log10f_use=yes
54306 else
54307 glibcxx_cv_func_log10f_use=no
54308 fi
54309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54310 ac_ext=c
54311 ac_cpp='$CPP $CPPFLAGS'
54312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54315
54316
54317 fi
54318
54319 fi
54320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54321 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54322
54323 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54324 for ac_func in log10f
54325 do :
54326 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54327 if test "x$ac_cv_func_log10f" = x""yes; then :
54328 cat >>confdefs.h <<_ACEOF
54329 #define HAVE_LOG10F 1
54330 _ACEOF
54331
54332 fi
54333 done
54334
54335 else
54336
54337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54338 $as_echo_n "checking for _log10f declaration... " >&6; }
54339 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54340 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54341 $as_echo_n "(cached) " >&6
54342 else
54343
54344
54345 ac_ext=cpp
54346 ac_cpp='$CXXCPP $CPPFLAGS'
54347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54350
54351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54352 /* end confdefs.h. */
54353 #include <math.h>
54354 #ifdef HAVE_IEEEFP_H
54355 #include <ieeefp.h>
54356 #endif
54357
54358 int
54359 main ()
54360 {
54361 _log10f(0);
54362 ;
54363 return 0;
54364 }
54365 _ACEOF
54366 if ac_fn_cxx_try_compile "$LINENO"; then :
54367 glibcxx_cv_func__log10f_use=yes
54368 else
54369 glibcxx_cv_func__log10f_use=no
54370 fi
54371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54372 ac_ext=c
54373 ac_cpp='$CPP $CPPFLAGS'
54374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54377
54378
54379 fi
54380
54381 fi
54382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54383 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54384
54385 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54386 for ac_func in _log10f
54387 do :
54388 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54389 if test "x$ac_cv_func__log10f" = x""yes; then :
54390 cat >>confdefs.h <<_ACEOF
54391 #define HAVE__LOG10F 1
54392 _ACEOF
54393
54394 fi
54395 done
54396
54397 fi
54398 fi
54399
54400
54401
54402
54403
54404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54405 $as_echo_n "checking for modff declaration... " >&6; }
54406 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54407 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54408 $as_echo_n "(cached) " >&6
54409 else
54410
54411
54412 ac_ext=cpp
54413 ac_cpp='$CXXCPP $CPPFLAGS'
54414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54417
54418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54419 /* end confdefs.h. */
54420 #include <math.h>
54421 int
54422 main ()
54423 {
54424 modff(0, 0);
54425 ;
54426 return 0;
54427 }
54428 _ACEOF
54429 if ac_fn_cxx_try_compile "$LINENO"; then :
54430 glibcxx_cv_func_modff_use=yes
54431 else
54432 glibcxx_cv_func_modff_use=no
54433 fi
54434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54435 ac_ext=c
54436 ac_cpp='$CPP $CPPFLAGS'
54437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54440
54441
54442 fi
54443
54444 fi
54445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54446 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54447
54448 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54449 for ac_func in modff
54450 do :
54451 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54452 if test "x$ac_cv_func_modff" = x""yes; then :
54453 cat >>confdefs.h <<_ACEOF
54454 #define HAVE_MODFF 1
54455 _ACEOF
54456
54457 fi
54458 done
54459
54460 else
54461
54462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54463 $as_echo_n "checking for _modff declaration... " >&6; }
54464 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54465 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54466 $as_echo_n "(cached) " >&6
54467 else
54468
54469
54470 ac_ext=cpp
54471 ac_cpp='$CXXCPP $CPPFLAGS'
54472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54475
54476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54477 /* end confdefs.h. */
54478 #include <math.h>
54479 int
54480 main ()
54481 {
54482 _modff(0, 0);
54483 ;
54484 return 0;
54485 }
54486 _ACEOF
54487 if ac_fn_cxx_try_compile "$LINENO"; then :
54488 glibcxx_cv_func__modff_use=yes
54489 else
54490 glibcxx_cv_func__modff_use=no
54491 fi
54492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54493 ac_ext=c
54494 ac_cpp='$CPP $CPPFLAGS'
54495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54498
54499
54500 fi
54501
54502 fi
54503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54504 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54505
54506 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54507 for ac_func in _modff
54508 do :
54509 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54510 if test "x$ac_cv_func__modff" = x""yes; then :
54511 cat >>confdefs.h <<_ACEOF
54512 #define HAVE__MODFF 1
54513 _ACEOF
54514
54515 fi
54516 done
54517
54518 fi
54519 fi
54520
54521
54522
54523
54524
54525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54526 $as_echo_n "checking for modf declaration... " >&6; }
54527 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54528 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54529 $as_echo_n "(cached) " >&6
54530 else
54531
54532
54533 ac_ext=cpp
54534 ac_cpp='$CXXCPP $CPPFLAGS'
54535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54538
54539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54540 /* end confdefs.h. */
54541 #include <math.h>
54542 int
54543 main ()
54544 {
54545 modf(0, 0);
54546 ;
54547 return 0;
54548 }
54549 _ACEOF
54550 if ac_fn_cxx_try_compile "$LINENO"; then :
54551 glibcxx_cv_func_modf_use=yes
54552 else
54553 glibcxx_cv_func_modf_use=no
54554 fi
54555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54556 ac_ext=c
54557 ac_cpp='$CPP $CPPFLAGS'
54558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54561
54562
54563 fi
54564
54565 fi
54566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54567 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54568
54569 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54570 for ac_func in modf
54571 do :
54572 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54573 if test "x$ac_cv_func_modf" = x""yes; then :
54574 cat >>confdefs.h <<_ACEOF
54575 #define HAVE_MODF 1
54576 _ACEOF
54577
54578 fi
54579 done
54580
54581 else
54582
54583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54584 $as_echo_n "checking for _modf declaration... " >&6; }
54585 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54586 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54587 $as_echo_n "(cached) " >&6
54588 else
54589
54590
54591 ac_ext=cpp
54592 ac_cpp='$CXXCPP $CPPFLAGS'
54593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54596
54597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54598 /* end confdefs.h. */
54599 #include <math.h>
54600 int
54601 main ()
54602 {
54603 _modf(0, 0);
54604 ;
54605 return 0;
54606 }
54607 _ACEOF
54608 if ac_fn_cxx_try_compile "$LINENO"; then :
54609 glibcxx_cv_func__modf_use=yes
54610 else
54611 glibcxx_cv_func__modf_use=no
54612 fi
54613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54614 ac_ext=c
54615 ac_cpp='$CPP $CPPFLAGS'
54616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54619
54620
54621 fi
54622
54623 fi
54624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54625 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54626
54627 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54628 for ac_func in _modf
54629 do :
54630 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54631 if test "x$ac_cv_func__modf" = x""yes; then :
54632 cat >>confdefs.h <<_ACEOF
54633 #define HAVE__MODF 1
54634 _ACEOF
54635
54636 fi
54637 done
54638
54639 fi
54640 fi
54641
54642
54643
54644
54645
54646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54647 $as_echo_n "checking for powf declaration... " >&6; }
54648 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54649 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54650 $as_echo_n "(cached) " >&6
54651 else
54652
54653
54654 ac_ext=cpp
54655 ac_cpp='$CXXCPP $CPPFLAGS'
54656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54659
54660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54661 /* end confdefs.h. */
54662 #include <math.h>
54663 int
54664 main ()
54665 {
54666 powf(0, 0);
54667 ;
54668 return 0;
54669 }
54670 _ACEOF
54671 if ac_fn_cxx_try_compile "$LINENO"; then :
54672 glibcxx_cv_func_powf_use=yes
54673 else
54674 glibcxx_cv_func_powf_use=no
54675 fi
54676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54677 ac_ext=c
54678 ac_cpp='$CPP $CPPFLAGS'
54679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54682
54683
54684 fi
54685
54686 fi
54687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54688 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54689
54690 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54691 for ac_func in powf
54692 do :
54693 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54694 if test "x$ac_cv_func_powf" = x""yes; then :
54695 cat >>confdefs.h <<_ACEOF
54696 #define HAVE_POWF 1
54697 _ACEOF
54698
54699 fi
54700 done
54701
54702 else
54703
54704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54705 $as_echo_n "checking for _powf declaration... " >&6; }
54706 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54707 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54708 $as_echo_n "(cached) " >&6
54709 else
54710
54711
54712 ac_ext=cpp
54713 ac_cpp='$CXXCPP $CPPFLAGS'
54714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54717
54718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54719 /* end confdefs.h. */
54720 #include <math.h>
54721 int
54722 main ()
54723 {
54724 _powf(0, 0);
54725 ;
54726 return 0;
54727 }
54728 _ACEOF
54729 if ac_fn_cxx_try_compile "$LINENO"; then :
54730 glibcxx_cv_func__powf_use=yes
54731 else
54732 glibcxx_cv_func__powf_use=no
54733 fi
54734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54735 ac_ext=c
54736 ac_cpp='$CPP $CPPFLAGS'
54737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54740
54741
54742 fi
54743
54744 fi
54745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54746 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54747
54748 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54749 for ac_func in _powf
54750 do :
54751 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54752 if test "x$ac_cv_func__powf" = x""yes; then :
54753 cat >>confdefs.h <<_ACEOF
54754 #define HAVE__POWF 1
54755 _ACEOF
54756
54757 fi
54758 done
54759
54760 fi
54761 fi
54762
54763
54764
54765
54766
54767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54768 $as_echo_n "checking for sqrtf declaration... " >&6; }
54769 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54770 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54771 $as_echo_n "(cached) " >&6
54772 else
54773
54774
54775 ac_ext=cpp
54776 ac_cpp='$CXXCPP $CPPFLAGS'
54777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54780
54781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54782 /* end confdefs.h. */
54783 #include <math.h>
54784 #ifdef HAVE_IEEEFP_H
54785 #include <ieeefp.h>
54786 #endif
54787
54788 int
54789 main ()
54790 {
54791 sqrtf(0);
54792 ;
54793 return 0;
54794 }
54795 _ACEOF
54796 if ac_fn_cxx_try_compile "$LINENO"; then :
54797 glibcxx_cv_func_sqrtf_use=yes
54798 else
54799 glibcxx_cv_func_sqrtf_use=no
54800 fi
54801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54802 ac_ext=c
54803 ac_cpp='$CPP $CPPFLAGS'
54804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54807
54808
54809 fi
54810
54811 fi
54812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54813 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54814
54815 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54816 for ac_func in sqrtf
54817 do :
54818 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54819 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54820 cat >>confdefs.h <<_ACEOF
54821 #define HAVE_SQRTF 1
54822 _ACEOF
54823
54824 fi
54825 done
54826
54827 else
54828
54829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54830 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54831 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54832 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54833 $as_echo_n "(cached) " >&6
54834 else
54835
54836
54837 ac_ext=cpp
54838 ac_cpp='$CXXCPP $CPPFLAGS'
54839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54842
54843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54844 /* end confdefs.h. */
54845 #include <math.h>
54846 #ifdef HAVE_IEEEFP_H
54847 #include <ieeefp.h>
54848 #endif
54849
54850 int
54851 main ()
54852 {
54853 _sqrtf(0);
54854 ;
54855 return 0;
54856 }
54857 _ACEOF
54858 if ac_fn_cxx_try_compile "$LINENO"; then :
54859 glibcxx_cv_func__sqrtf_use=yes
54860 else
54861 glibcxx_cv_func__sqrtf_use=no
54862 fi
54863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54864 ac_ext=c
54865 ac_cpp='$CPP $CPPFLAGS'
54866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54869
54870
54871 fi
54872
54873 fi
54874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54875 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54876
54877 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54878 for ac_func in _sqrtf
54879 do :
54880 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54881 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54882 cat >>confdefs.h <<_ACEOF
54883 #define HAVE__SQRTF 1
54884 _ACEOF
54885
54886 fi
54887 done
54888
54889 fi
54890 fi
54891
54892
54893
54894
54895
54896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54897 $as_echo_n "checking for sincosf declaration... " >&6; }
54898 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54899 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54900 $as_echo_n "(cached) " >&6
54901 else
54902
54903
54904 ac_ext=cpp
54905 ac_cpp='$CXXCPP $CPPFLAGS'
54906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54909
54910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54911 /* end confdefs.h. */
54912 #include <math.h>
54913 int
54914 main ()
54915 {
54916 sincosf(0, 0, 0);
54917 ;
54918 return 0;
54919 }
54920 _ACEOF
54921 if ac_fn_cxx_try_compile "$LINENO"; then :
54922 glibcxx_cv_func_sincosf_use=yes
54923 else
54924 glibcxx_cv_func_sincosf_use=no
54925 fi
54926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54927 ac_ext=c
54928 ac_cpp='$CPP $CPPFLAGS'
54929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54932
54933
54934 fi
54935
54936 fi
54937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54938 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54939
54940 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54941 for ac_func in sincosf
54942 do :
54943 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54944 if test "x$ac_cv_func_sincosf" = x""yes; then :
54945 cat >>confdefs.h <<_ACEOF
54946 #define HAVE_SINCOSF 1
54947 _ACEOF
54948
54949 fi
54950 done
54951
54952 else
54953
54954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54955 $as_echo_n "checking for _sincosf declaration... " >&6; }
54956 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54957 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54958 $as_echo_n "(cached) " >&6
54959 else
54960
54961
54962 ac_ext=cpp
54963 ac_cpp='$CXXCPP $CPPFLAGS'
54964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54967
54968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54969 /* end confdefs.h. */
54970 #include <math.h>
54971 int
54972 main ()
54973 {
54974 _sincosf(0, 0, 0);
54975 ;
54976 return 0;
54977 }
54978 _ACEOF
54979 if ac_fn_cxx_try_compile "$LINENO"; then :
54980 glibcxx_cv_func__sincosf_use=yes
54981 else
54982 glibcxx_cv_func__sincosf_use=no
54983 fi
54984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54985 ac_ext=c
54986 ac_cpp='$CPP $CPPFLAGS'
54987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54990
54991
54992 fi
54993
54994 fi
54995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54996 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54997
54998 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54999 for ac_func in _sincosf
55000 do :
55001 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55002 if test "x$ac_cv_func__sincosf" = x""yes; then :
55003 cat >>confdefs.h <<_ACEOF
55004 #define HAVE__SINCOSF 1
55005 _ACEOF
55006
55007 fi
55008 done
55009
55010 fi
55011 fi
55012
55013
55014
55015
55016
55017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55018 $as_echo_n "checking for finitef declaration... " >&6; }
55019 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55020 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55021 $as_echo_n "(cached) " >&6
55022 else
55023
55024
55025 ac_ext=cpp
55026 ac_cpp='$CXXCPP $CPPFLAGS'
55027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55030
55031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55032 /* end confdefs.h. */
55033 #include <math.h>
55034 #ifdef HAVE_IEEEFP_H
55035 #include <ieeefp.h>
55036 #endif
55037
55038 int
55039 main ()
55040 {
55041 finitef(0);
55042 ;
55043 return 0;
55044 }
55045 _ACEOF
55046 if ac_fn_cxx_try_compile "$LINENO"; then :
55047 glibcxx_cv_func_finitef_use=yes
55048 else
55049 glibcxx_cv_func_finitef_use=no
55050 fi
55051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55052 ac_ext=c
55053 ac_cpp='$CPP $CPPFLAGS'
55054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55057
55058
55059 fi
55060
55061 fi
55062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55063 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55064
55065 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55066 for ac_func in finitef
55067 do :
55068 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55069 if test "x$ac_cv_func_finitef" = x""yes; then :
55070 cat >>confdefs.h <<_ACEOF
55071 #define HAVE_FINITEF 1
55072 _ACEOF
55073
55074 fi
55075 done
55076
55077 else
55078
55079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55080 $as_echo_n "checking for _finitef declaration... " >&6; }
55081 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55082 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55083 $as_echo_n "(cached) " >&6
55084 else
55085
55086
55087 ac_ext=cpp
55088 ac_cpp='$CXXCPP $CPPFLAGS'
55089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55092
55093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55094 /* end confdefs.h. */
55095 #include <math.h>
55096 #ifdef HAVE_IEEEFP_H
55097 #include <ieeefp.h>
55098 #endif
55099
55100 int
55101 main ()
55102 {
55103 _finitef(0);
55104 ;
55105 return 0;
55106 }
55107 _ACEOF
55108 if ac_fn_cxx_try_compile "$LINENO"; then :
55109 glibcxx_cv_func__finitef_use=yes
55110 else
55111 glibcxx_cv_func__finitef_use=no
55112 fi
55113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55114 ac_ext=c
55115 ac_cpp='$CPP $CPPFLAGS'
55116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55119
55120
55121 fi
55122
55123 fi
55124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55125 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55126
55127 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55128 for ac_func in _finitef
55129 do :
55130 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55131 if test "x$ac_cv_func__finitef" = x""yes; then :
55132 cat >>confdefs.h <<_ACEOF
55133 #define HAVE__FINITEF 1
55134 _ACEOF
55135
55136 fi
55137 done
55138
55139 fi
55140 fi
55141
55142
55143
55144
55145
55146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55147 $as_echo_n "checking for long double trig functions... " >&6; }
55148 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55149 $as_echo_n "(cached) " >&6
55150 else
55151
55152
55153 ac_ext=cpp
55154 ac_cpp='$CXXCPP $CPPFLAGS'
55155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55158
55159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55160 /* end confdefs.h. */
55161 #include <math.h>
55162 int
55163 main ()
55164 {
55165 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55166 ;
55167 return 0;
55168 }
55169 _ACEOF
55170 if ac_fn_cxx_try_compile "$LINENO"; then :
55171 glibcxx_cv_func_long_double_trig_use=yes
55172 else
55173 glibcxx_cv_func_long_double_trig_use=no
55174 fi
55175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55176 ac_ext=c
55177 ac_cpp='$CPP $CPPFLAGS'
55178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55181
55182 fi
55183
55184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55185 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55186 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55187 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55188 do :
55189 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55190 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55191 eval as_val=\$$as_ac_var
55192 if test "x$as_val" = x""yes; then :
55193 cat >>confdefs.h <<_ACEOF
55194 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55195 _ACEOF
55196
55197 fi
55198 done
55199
55200 else
55201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55202 $as_echo_n "checking for _long double trig functions... " >&6; }
55203 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55204 $as_echo_n "(cached) " >&6
55205 else
55206
55207
55208 ac_ext=cpp
55209 ac_cpp='$CXXCPP $CPPFLAGS'
55210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55213
55214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55215 /* end confdefs.h. */
55216 #include <math.h>
55217 int
55218 main ()
55219 {
55220 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55221 ;
55222 return 0;
55223 }
55224 _ACEOF
55225 if ac_fn_cxx_try_compile "$LINENO"; then :
55226 glibcxx_cv_func__long_double_trig_use=yes
55227 else
55228 glibcxx_cv_func__long_double_trig_use=no
55229 fi
55230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55231 ac_ext=c
55232 ac_cpp='$CPP $CPPFLAGS'
55233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55236
55237 fi
55238
55239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55240 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55241 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55242 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55243 do :
55244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55246 eval as_val=\$$as_ac_var
55247 if test "x$as_val" = x""yes; then :
55248 cat >>confdefs.h <<_ACEOF
55249 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55250 _ACEOF
55251
55252 fi
55253 done
55254
55255 fi
55256 fi
55257
55258
55259
55260
55261
55262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55263 $as_echo_n "checking for long double round functions... " >&6; }
55264 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55265 $as_echo_n "(cached) " >&6
55266 else
55267
55268
55269 ac_ext=cpp
55270 ac_cpp='$CXXCPP $CPPFLAGS'
55271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55274
55275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55276 /* end confdefs.h. */
55277 #include <math.h>
55278 int
55279 main ()
55280 {
55281 ceill (0); floorl (0);
55282 ;
55283 return 0;
55284 }
55285 _ACEOF
55286 if ac_fn_cxx_try_compile "$LINENO"; then :
55287 glibcxx_cv_func_long_double_round_use=yes
55288 else
55289 glibcxx_cv_func_long_double_round_use=no
55290 fi
55291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55292 ac_ext=c
55293 ac_cpp='$CPP $CPPFLAGS'
55294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55297
55298 fi
55299
55300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55301 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55302 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55303 for ac_func in ceill floorl
55304 do :
55305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55307 eval as_val=\$$as_ac_var
55308 if test "x$as_val" = x""yes; then :
55309 cat >>confdefs.h <<_ACEOF
55310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55311 _ACEOF
55312
55313 fi
55314 done
55315
55316 else
55317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55318 $as_echo_n "checking for _long double round functions... " >&6; }
55319 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55320 $as_echo_n "(cached) " >&6
55321 else
55322
55323
55324 ac_ext=cpp
55325 ac_cpp='$CXXCPP $CPPFLAGS'
55326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55329
55330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55331 /* end confdefs.h. */
55332 #include <math.h>
55333 int
55334 main ()
55335 {
55336 _ceill (0); _floorl (0);
55337 ;
55338 return 0;
55339 }
55340 _ACEOF
55341 if ac_fn_cxx_try_compile "$LINENO"; then :
55342 glibcxx_cv_func__long_double_round_use=yes
55343 else
55344 glibcxx_cv_func__long_double_round_use=no
55345 fi
55346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55347 ac_ext=c
55348 ac_cpp='$CPP $CPPFLAGS'
55349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55352
55353 fi
55354
55355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55356 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55357 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55358 for ac_func in _ceill _floorl
55359 do :
55360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55362 eval as_val=\$$as_ac_var
55363 if test "x$as_val" = x""yes; then :
55364 cat >>confdefs.h <<_ACEOF
55365 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55366 _ACEOF
55367
55368 fi
55369 done
55370
55371 fi
55372 fi
55373
55374
55375
55376
55377
55378
55379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55380 $as_echo_n "checking for isnanl declaration... " >&6; }
55381 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55382 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55383 $as_echo_n "(cached) " >&6
55384 else
55385
55386
55387 ac_ext=cpp
55388 ac_cpp='$CXXCPP $CPPFLAGS'
55389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55392
55393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55394 /* end confdefs.h. */
55395 #include <math.h>
55396 #ifdef HAVE_IEEEFP_H
55397 #include <ieeefp.h>
55398 #endif
55399
55400 int
55401 main ()
55402 {
55403 isnanl(0);
55404 ;
55405 return 0;
55406 }
55407 _ACEOF
55408 if ac_fn_cxx_try_compile "$LINENO"; then :
55409 glibcxx_cv_func_isnanl_use=yes
55410 else
55411 glibcxx_cv_func_isnanl_use=no
55412 fi
55413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55414 ac_ext=c
55415 ac_cpp='$CPP $CPPFLAGS'
55416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55419
55420
55421 fi
55422
55423 fi
55424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55425 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55426
55427 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55428 for ac_func in isnanl
55429 do :
55430 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55431 if test "x$ac_cv_func_isnanl" = x""yes; then :
55432 cat >>confdefs.h <<_ACEOF
55433 #define HAVE_ISNANL 1
55434 _ACEOF
55435
55436 fi
55437 done
55438
55439 else
55440
55441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55442 $as_echo_n "checking for _isnanl declaration... " >&6; }
55443 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55444 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55445 $as_echo_n "(cached) " >&6
55446 else
55447
55448
55449 ac_ext=cpp
55450 ac_cpp='$CXXCPP $CPPFLAGS'
55451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55454
55455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55456 /* end confdefs.h. */
55457 #include <math.h>
55458 #ifdef HAVE_IEEEFP_H
55459 #include <ieeefp.h>
55460 #endif
55461
55462 int
55463 main ()
55464 {
55465 _isnanl(0);
55466 ;
55467 return 0;
55468 }
55469 _ACEOF
55470 if ac_fn_cxx_try_compile "$LINENO"; then :
55471 glibcxx_cv_func__isnanl_use=yes
55472 else
55473 glibcxx_cv_func__isnanl_use=no
55474 fi
55475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55476 ac_ext=c
55477 ac_cpp='$CPP $CPPFLAGS'
55478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55481
55482
55483 fi
55484
55485 fi
55486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55487 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55488
55489 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55490 for ac_func in _isnanl
55491 do :
55492 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55493 if test "x$ac_cv_func__isnanl" = x""yes; then :
55494 cat >>confdefs.h <<_ACEOF
55495 #define HAVE__ISNANL 1
55496 _ACEOF
55497
55498 fi
55499 done
55500
55501 fi
55502 fi
55503
55504
55505
55506
55507
55508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55509 $as_echo_n "checking for isinfl declaration... " >&6; }
55510 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55511 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55512 $as_echo_n "(cached) " >&6
55513 else
55514
55515
55516 ac_ext=cpp
55517 ac_cpp='$CXXCPP $CPPFLAGS'
55518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55521
55522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55523 /* end confdefs.h. */
55524 #include <math.h>
55525 #ifdef HAVE_IEEEFP_H
55526 #include <ieeefp.h>
55527 #endif
55528
55529 int
55530 main ()
55531 {
55532 isinfl(0);
55533 ;
55534 return 0;
55535 }
55536 _ACEOF
55537 if ac_fn_cxx_try_compile "$LINENO"; then :
55538 glibcxx_cv_func_isinfl_use=yes
55539 else
55540 glibcxx_cv_func_isinfl_use=no
55541 fi
55542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55543 ac_ext=c
55544 ac_cpp='$CPP $CPPFLAGS'
55545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55548
55549
55550 fi
55551
55552 fi
55553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55554 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55555
55556 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55557 for ac_func in isinfl
55558 do :
55559 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55560 if test "x$ac_cv_func_isinfl" = x""yes; then :
55561 cat >>confdefs.h <<_ACEOF
55562 #define HAVE_ISINFL 1
55563 _ACEOF
55564
55565 fi
55566 done
55567
55568 else
55569
55570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55571 $as_echo_n "checking for _isinfl declaration... " >&6; }
55572 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55573 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55574 $as_echo_n "(cached) " >&6
55575 else
55576
55577
55578 ac_ext=cpp
55579 ac_cpp='$CXXCPP $CPPFLAGS'
55580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55583
55584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55585 /* end confdefs.h. */
55586 #include <math.h>
55587 #ifdef HAVE_IEEEFP_H
55588 #include <ieeefp.h>
55589 #endif
55590
55591 int
55592 main ()
55593 {
55594 _isinfl(0);
55595 ;
55596 return 0;
55597 }
55598 _ACEOF
55599 if ac_fn_cxx_try_compile "$LINENO"; then :
55600 glibcxx_cv_func__isinfl_use=yes
55601 else
55602 glibcxx_cv_func__isinfl_use=no
55603 fi
55604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55605 ac_ext=c
55606 ac_cpp='$CPP $CPPFLAGS'
55607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55610
55611
55612 fi
55613
55614 fi
55615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55616 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55617
55618 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55619 for ac_func in _isinfl
55620 do :
55621 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55622 if test "x$ac_cv_func__isinfl" = x""yes; then :
55623 cat >>confdefs.h <<_ACEOF
55624 #define HAVE__ISINFL 1
55625 _ACEOF
55626
55627 fi
55628 done
55629
55630 fi
55631 fi
55632
55633
55634
55635
55636
55637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55638 $as_echo_n "checking for atan2l declaration... " >&6; }
55639 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55640 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55641 $as_echo_n "(cached) " >&6
55642 else
55643
55644
55645 ac_ext=cpp
55646 ac_cpp='$CXXCPP $CPPFLAGS'
55647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55650
55651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55652 /* end confdefs.h. */
55653 #include <math.h>
55654 int
55655 main ()
55656 {
55657 atan2l(0, 0);
55658 ;
55659 return 0;
55660 }
55661 _ACEOF
55662 if ac_fn_cxx_try_compile "$LINENO"; then :
55663 glibcxx_cv_func_atan2l_use=yes
55664 else
55665 glibcxx_cv_func_atan2l_use=no
55666 fi
55667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55668 ac_ext=c
55669 ac_cpp='$CPP $CPPFLAGS'
55670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55673
55674
55675 fi
55676
55677 fi
55678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55679 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55680
55681 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55682 for ac_func in atan2l
55683 do :
55684 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55685 if test "x$ac_cv_func_atan2l" = x""yes; then :
55686 cat >>confdefs.h <<_ACEOF
55687 #define HAVE_ATAN2L 1
55688 _ACEOF
55689
55690 fi
55691 done
55692
55693 else
55694
55695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55696 $as_echo_n "checking for _atan2l declaration... " >&6; }
55697 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55698 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55699 $as_echo_n "(cached) " >&6
55700 else
55701
55702
55703 ac_ext=cpp
55704 ac_cpp='$CXXCPP $CPPFLAGS'
55705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55708
55709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55710 /* end confdefs.h. */
55711 #include <math.h>
55712 int
55713 main ()
55714 {
55715 _atan2l(0, 0);
55716 ;
55717 return 0;
55718 }
55719 _ACEOF
55720 if ac_fn_cxx_try_compile "$LINENO"; then :
55721 glibcxx_cv_func__atan2l_use=yes
55722 else
55723 glibcxx_cv_func__atan2l_use=no
55724 fi
55725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55726 ac_ext=c
55727 ac_cpp='$CPP $CPPFLAGS'
55728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55731
55732
55733 fi
55734
55735 fi
55736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55737 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55738
55739 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55740 for ac_func in _atan2l
55741 do :
55742 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55743 if test "x$ac_cv_func__atan2l" = x""yes; then :
55744 cat >>confdefs.h <<_ACEOF
55745 #define HAVE__ATAN2L 1
55746 _ACEOF
55747
55748 fi
55749 done
55750
55751 fi
55752 fi
55753
55754
55755
55756
55757
55758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55759 $as_echo_n "checking for expl declaration... " >&6; }
55760 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55761 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55762 $as_echo_n "(cached) " >&6
55763 else
55764
55765
55766 ac_ext=cpp
55767 ac_cpp='$CXXCPP $CPPFLAGS'
55768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55771
55772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55773 /* end confdefs.h. */
55774 #include <math.h>
55775 #ifdef HAVE_IEEEFP_H
55776 #include <ieeefp.h>
55777 #endif
55778
55779 int
55780 main ()
55781 {
55782 expl(0);
55783 ;
55784 return 0;
55785 }
55786 _ACEOF
55787 if ac_fn_cxx_try_compile "$LINENO"; then :
55788 glibcxx_cv_func_expl_use=yes
55789 else
55790 glibcxx_cv_func_expl_use=no
55791 fi
55792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55793 ac_ext=c
55794 ac_cpp='$CPP $CPPFLAGS'
55795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55798
55799
55800 fi
55801
55802 fi
55803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55804 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55805
55806 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55807 for ac_func in expl
55808 do :
55809 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55810 if test "x$ac_cv_func_expl" = x""yes; then :
55811 cat >>confdefs.h <<_ACEOF
55812 #define HAVE_EXPL 1
55813 _ACEOF
55814
55815 fi
55816 done
55817
55818 else
55819
55820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55821 $as_echo_n "checking for _expl declaration... " >&6; }
55822 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55823 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55824 $as_echo_n "(cached) " >&6
55825 else
55826
55827
55828 ac_ext=cpp
55829 ac_cpp='$CXXCPP $CPPFLAGS'
55830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55833
55834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55835 /* end confdefs.h. */
55836 #include <math.h>
55837 #ifdef HAVE_IEEEFP_H
55838 #include <ieeefp.h>
55839 #endif
55840
55841 int
55842 main ()
55843 {
55844 _expl(0);
55845 ;
55846 return 0;
55847 }
55848 _ACEOF
55849 if ac_fn_cxx_try_compile "$LINENO"; then :
55850 glibcxx_cv_func__expl_use=yes
55851 else
55852 glibcxx_cv_func__expl_use=no
55853 fi
55854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55855 ac_ext=c
55856 ac_cpp='$CPP $CPPFLAGS'
55857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55860
55861
55862 fi
55863
55864 fi
55865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55866 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55867
55868 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55869 for ac_func in _expl
55870 do :
55871 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55872 if test "x$ac_cv_func__expl" = x""yes; then :
55873 cat >>confdefs.h <<_ACEOF
55874 #define HAVE__EXPL 1
55875 _ACEOF
55876
55877 fi
55878 done
55879
55880 fi
55881 fi
55882
55883
55884
55885
55886
55887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55888 $as_echo_n "checking for fabsl declaration... " >&6; }
55889 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55890 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55891 $as_echo_n "(cached) " >&6
55892 else
55893
55894
55895 ac_ext=cpp
55896 ac_cpp='$CXXCPP $CPPFLAGS'
55897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55900
55901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55902 /* end confdefs.h. */
55903 #include <math.h>
55904 #ifdef HAVE_IEEEFP_H
55905 #include <ieeefp.h>
55906 #endif
55907
55908 int
55909 main ()
55910 {
55911 fabsl(0);
55912 ;
55913 return 0;
55914 }
55915 _ACEOF
55916 if ac_fn_cxx_try_compile "$LINENO"; then :
55917 glibcxx_cv_func_fabsl_use=yes
55918 else
55919 glibcxx_cv_func_fabsl_use=no
55920 fi
55921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55922 ac_ext=c
55923 ac_cpp='$CPP $CPPFLAGS'
55924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55927
55928
55929 fi
55930
55931 fi
55932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55933 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55934
55935 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55936 for ac_func in fabsl
55937 do :
55938 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55939 if test "x$ac_cv_func_fabsl" = x""yes; then :
55940 cat >>confdefs.h <<_ACEOF
55941 #define HAVE_FABSL 1
55942 _ACEOF
55943
55944 fi
55945 done
55946
55947 else
55948
55949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55950 $as_echo_n "checking for _fabsl declaration... " >&6; }
55951 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55952 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55953 $as_echo_n "(cached) " >&6
55954 else
55955
55956
55957 ac_ext=cpp
55958 ac_cpp='$CXXCPP $CPPFLAGS'
55959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55962
55963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55964 /* end confdefs.h. */
55965 #include <math.h>
55966 #ifdef HAVE_IEEEFP_H
55967 #include <ieeefp.h>
55968 #endif
55969
55970 int
55971 main ()
55972 {
55973 _fabsl(0);
55974 ;
55975 return 0;
55976 }
55977 _ACEOF
55978 if ac_fn_cxx_try_compile "$LINENO"; then :
55979 glibcxx_cv_func__fabsl_use=yes
55980 else
55981 glibcxx_cv_func__fabsl_use=no
55982 fi
55983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55984 ac_ext=c
55985 ac_cpp='$CPP $CPPFLAGS'
55986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55989
55990
55991 fi
55992
55993 fi
55994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55995 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55996
55997 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55998 for ac_func in _fabsl
55999 do :
56000 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56001 if test "x$ac_cv_func__fabsl" = x""yes; then :
56002 cat >>confdefs.h <<_ACEOF
56003 #define HAVE__FABSL 1
56004 _ACEOF
56005
56006 fi
56007 done
56008
56009 fi
56010 fi
56011
56012
56013
56014
56015
56016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56017 $as_echo_n "checking for fmodl declaration... " >&6; }
56018 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56019 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56020 $as_echo_n "(cached) " >&6
56021 else
56022
56023
56024 ac_ext=cpp
56025 ac_cpp='$CXXCPP $CPPFLAGS'
56026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56029
56030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56031 /* end confdefs.h. */
56032 #include <math.h>
56033 int
56034 main ()
56035 {
56036 fmodl(0, 0);
56037 ;
56038 return 0;
56039 }
56040 _ACEOF
56041 if ac_fn_cxx_try_compile "$LINENO"; then :
56042 glibcxx_cv_func_fmodl_use=yes
56043 else
56044 glibcxx_cv_func_fmodl_use=no
56045 fi
56046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56047 ac_ext=c
56048 ac_cpp='$CPP $CPPFLAGS'
56049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56052
56053
56054 fi
56055
56056 fi
56057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56058 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56059
56060 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56061 for ac_func in fmodl
56062 do :
56063 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56064 if test "x$ac_cv_func_fmodl" = x""yes; then :
56065 cat >>confdefs.h <<_ACEOF
56066 #define HAVE_FMODL 1
56067 _ACEOF
56068
56069 fi
56070 done
56071
56072 else
56073
56074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56075 $as_echo_n "checking for _fmodl declaration... " >&6; }
56076 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56077 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56078 $as_echo_n "(cached) " >&6
56079 else
56080
56081
56082 ac_ext=cpp
56083 ac_cpp='$CXXCPP $CPPFLAGS'
56084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56087
56088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56089 /* end confdefs.h. */
56090 #include <math.h>
56091 int
56092 main ()
56093 {
56094 _fmodl(0, 0);
56095 ;
56096 return 0;
56097 }
56098 _ACEOF
56099 if ac_fn_cxx_try_compile "$LINENO"; then :
56100 glibcxx_cv_func__fmodl_use=yes
56101 else
56102 glibcxx_cv_func__fmodl_use=no
56103 fi
56104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56105 ac_ext=c
56106 ac_cpp='$CPP $CPPFLAGS'
56107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56110
56111
56112 fi
56113
56114 fi
56115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56116 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56117
56118 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56119 for ac_func in _fmodl
56120 do :
56121 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56122 if test "x$ac_cv_func__fmodl" = x""yes; then :
56123 cat >>confdefs.h <<_ACEOF
56124 #define HAVE__FMODL 1
56125 _ACEOF
56126
56127 fi
56128 done
56129
56130 fi
56131 fi
56132
56133
56134
56135
56136
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56138 $as_echo_n "checking for frexpl declaration... " >&6; }
56139 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56140 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56141 $as_echo_n "(cached) " >&6
56142 else
56143
56144
56145 ac_ext=cpp
56146 ac_cpp='$CXXCPP $CPPFLAGS'
56147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56150
56151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56152 /* end confdefs.h. */
56153 #include <math.h>
56154 int
56155 main ()
56156 {
56157 frexpl(0, 0);
56158 ;
56159 return 0;
56160 }
56161 _ACEOF
56162 if ac_fn_cxx_try_compile "$LINENO"; then :
56163 glibcxx_cv_func_frexpl_use=yes
56164 else
56165 glibcxx_cv_func_frexpl_use=no
56166 fi
56167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56168 ac_ext=c
56169 ac_cpp='$CPP $CPPFLAGS'
56170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56173
56174
56175 fi
56176
56177 fi
56178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56179 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56180
56181 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56182 for ac_func in frexpl
56183 do :
56184 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56185 if test "x$ac_cv_func_frexpl" = x""yes; then :
56186 cat >>confdefs.h <<_ACEOF
56187 #define HAVE_FREXPL 1
56188 _ACEOF
56189
56190 fi
56191 done
56192
56193 else
56194
56195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56196 $as_echo_n "checking for _frexpl declaration... " >&6; }
56197 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56198 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56199 $as_echo_n "(cached) " >&6
56200 else
56201
56202
56203 ac_ext=cpp
56204 ac_cpp='$CXXCPP $CPPFLAGS'
56205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56208
56209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56210 /* end confdefs.h. */
56211 #include <math.h>
56212 int
56213 main ()
56214 {
56215 _frexpl(0, 0);
56216 ;
56217 return 0;
56218 }
56219 _ACEOF
56220 if ac_fn_cxx_try_compile "$LINENO"; then :
56221 glibcxx_cv_func__frexpl_use=yes
56222 else
56223 glibcxx_cv_func__frexpl_use=no
56224 fi
56225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56226 ac_ext=c
56227 ac_cpp='$CPP $CPPFLAGS'
56228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56231
56232
56233 fi
56234
56235 fi
56236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56237 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56238
56239 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56240 for ac_func in _frexpl
56241 do :
56242 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56243 if test "x$ac_cv_func__frexpl" = x""yes; then :
56244 cat >>confdefs.h <<_ACEOF
56245 #define HAVE__FREXPL 1
56246 _ACEOF
56247
56248 fi
56249 done
56250
56251 fi
56252 fi
56253
56254
56255
56256
56257
56258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56259 $as_echo_n "checking for hypotl declaration... " >&6; }
56260 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56261 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56262 $as_echo_n "(cached) " >&6
56263 else
56264
56265
56266 ac_ext=cpp
56267 ac_cpp='$CXXCPP $CPPFLAGS'
56268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56271
56272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56273 /* end confdefs.h. */
56274 #include <math.h>
56275 int
56276 main ()
56277 {
56278 hypotl(0, 0);
56279 ;
56280 return 0;
56281 }
56282 _ACEOF
56283 if ac_fn_cxx_try_compile "$LINENO"; then :
56284 glibcxx_cv_func_hypotl_use=yes
56285 else
56286 glibcxx_cv_func_hypotl_use=no
56287 fi
56288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56289 ac_ext=c
56290 ac_cpp='$CPP $CPPFLAGS'
56291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56294
56295
56296 fi
56297
56298 fi
56299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56300 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56301
56302 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56303 for ac_func in hypotl
56304 do :
56305 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56306 if test "x$ac_cv_func_hypotl" = x""yes; then :
56307 cat >>confdefs.h <<_ACEOF
56308 #define HAVE_HYPOTL 1
56309 _ACEOF
56310
56311 fi
56312 done
56313
56314 else
56315
56316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56317 $as_echo_n "checking for _hypotl declaration... " >&6; }
56318 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56319 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56320 $as_echo_n "(cached) " >&6
56321 else
56322
56323
56324 ac_ext=cpp
56325 ac_cpp='$CXXCPP $CPPFLAGS'
56326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56329
56330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56331 /* end confdefs.h. */
56332 #include <math.h>
56333 int
56334 main ()
56335 {
56336 _hypotl(0, 0);
56337 ;
56338 return 0;
56339 }
56340 _ACEOF
56341 if ac_fn_cxx_try_compile "$LINENO"; then :
56342 glibcxx_cv_func__hypotl_use=yes
56343 else
56344 glibcxx_cv_func__hypotl_use=no
56345 fi
56346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56347 ac_ext=c
56348 ac_cpp='$CPP $CPPFLAGS'
56349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56352
56353
56354 fi
56355
56356 fi
56357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56358 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56359
56360 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56361 for ac_func in _hypotl
56362 do :
56363 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56364 if test "x$ac_cv_func__hypotl" = x""yes; then :
56365 cat >>confdefs.h <<_ACEOF
56366 #define HAVE__HYPOTL 1
56367 _ACEOF
56368
56369 fi
56370 done
56371
56372 fi
56373 fi
56374
56375
56376
56377
56378
56379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56380 $as_echo_n "checking for ldexpl declaration... " >&6; }
56381 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56382 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56383 $as_echo_n "(cached) " >&6
56384 else
56385
56386
56387 ac_ext=cpp
56388 ac_cpp='$CXXCPP $CPPFLAGS'
56389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56392
56393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56394 /* end confdefs.h. */
56395 #include <math.h>
56396 int
56397 main ()
56398 {
56399 ldexpl(0, 0);
56400 ;
56401 return 0;
56402 }
56403 _ACEOF
56404 if ac_fn_cxx_try_compile "$LINENO"; then :
56405 glibcxx_cv_func_ldexpl_use=yes
56406 else
56407 glibcxx_cv_func_ldexpl_use=no
56408 fi
56409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56410 ac_ext=c
56411 ac_cpp='$CPP $CPPFLAGS'
56412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56415
56416
56417 fi
56418
56419 fi
56420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56421 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56422
56423 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56424 for ac_func in ldexpl
56425 do :
56426 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56427 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56428 cat >>confdefs.h <<_ACEOF
56429 #define HAVE_LDEXPL 1
56430 _ACEOF
56431
56432 fi
56433 done
56434
56435 else
56436
56437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56438 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56439 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56440 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56441 $as_echo_n "(cached) " >&6
56442 else
56443
56444
56445 ac_ext=cpp
56446 ac_cpp='$CXXCPP $CPPFLAGS'
56447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56450
56451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56452 /* end confdefs.h. */
56453 #include <math.h>
56454 int
56455 main ()
56456 {
56457 _ldexpl(0, 0);
56458 ;
56459 return 0;
56460 }
56461 _ACEOF
56462 if ac_fn_cxx_try_compile "$LINENO"; then :
56463 glibcxx_cv_func__ldexpl_use=yes
56464 else
56465 glibcxx_cv_func__ldexpl_use=no
56466 fi
56467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56468 ac_ext=c
56469 ac_cpp='$CPP $CPPFLAGS'
56470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56473
56474
56475 fi
56476
56477 fi
56478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56479 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56480
56481 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56482 for ac_func in _ldexpl
56483 do :
56484 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56485 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56486 cat >>confdefs.h <<_ACEOF
56487 #define HAVE__LDEXPL 1
56488 _ACEOF
56489
56490 fi
56491 done
56492
56493 fi
56494 fi
56495
56496
56497
56498
56499
56500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56501 $as_echo_n "checking for logl declaration... " >&6; }
56502 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56503 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56504 $as_echo_n "(cached) " >&6
56505 else
56506
56507
56508 ac_ext=cpp
56509 ac_cpp='$CXXCPP $CPPFLAGS'
56510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56513
56514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56515 /* end confdefs.h. */
56516 #include <math.h>
56517 #ifdef HAVE_IEEEFP_H
56518 #include <ieeefp.h>
56519 #endif
56520
56521 int
56522 main ()
56523 {
56524 logl(0);
56525 ;
56526 return 0;
56527 }
56528 _ACEOF
56529 if ac_fn_cxx_try_compile "$LINENO"; then :
56530 glibcxx_cv_func_logl_use=yes
56531 else
56532 glibcxx_cv_func_logl_use=no
56533 fi
56534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56535 ac_ext=c
56536 ac_cpp='$CPP $CPPFLAGS'
56537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56540
56541
56542 fi
56543
56544 fi
56545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56546 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56547
56548 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56549 for ac_func in logl
56550 do :
56551 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56552 if test "x$ac_cv_func_logl" = x""yes; then :
56553 cat >>confdefs.h <<_ACEOF
56554 #define HAVE_LOGL 1
56555 _ACEOF
56556
56557 fi
56558 done
56559
56560 else
56561
56562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56563 $as_echo_n "checking for _logl declaration... " >&6; }
56564 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56565 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56566 $as_echo_n "(cached) " >&6
56567 else
56568
56569
56570 ac_ext=cpp
56571 ac_cpp='$CXXCPP $CPPFLAGS'
56572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56575
56576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56577 /* end confdefs.h. */
56578 #include <math.h>
56579 #ifdef HAVE_IEEEFP_H
56580 #include <ieeefp.h>
56581 #endif
56582
56583 int
56584 main ()
56585 {
56586 _logl(0);
56587 ;
56588 return 0;
56589 }
56590 _ACEOF
56591 if ac_fn_cxx_try_compile "$LINENO"; then :
56592 glibcxx_cv_func__logl_use=yes
56593 else
56594 glibcxx_cv_func__logl_use=no
56595 fi
56596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56597 ac_ext=c
56598 ac_cpp='$CPP $CPPFLAGS'
56599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56602
56603
56604 fi
56605
56606 fi
56607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56608 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56609
56610 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56611 for ac_func in _logl
56612 do :
56613 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56614 if test "x$ac_cv_func__logl" = x""yes; then :
56615 cat >>confdefs.h <<_ACEOF
56616 #define HAVE__LOGL 1
56617 _ACEOF
56618
56619 fi
56620 done
56621
56622 fi
56623 fi
56624
56625
56626
56627
56628
56629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56630 $as_echo_n "checking for log10l declaration... " >&6; }
56631 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56632 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56633 $as_echo_n "(cached) " >&6
56634 else
56635
56636
56637 ac_ext=cpp
56638 ac_cpp='$CXXCPP $CPPFLAGS'
56639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56642
56643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56644 /* end confdefs.h. */
56645 #include <math.h>
56646 #ifdef HAVE_IEEEFP_H
56647 #include <ieeefp.h>
56648 #endif
56649
56650 int
56651 main ()
56652 {
56653 log10l(0);
56654 ;
56655 return 0;
56656 }
56657 _ACEOF
56658 if ac_fn_cxx_try_compile "$LINENO"; then :
56659 glibcxx_cv_func_log10l_use=yes
56660 else
56661 glibcxx_cv_func_log10l_use=no
56662 fi
56663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56664 ac_ext=c
56665 ac_cpp='$CPP $CPPFLAGS'
56666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56669
56670
56671 fi
56672
56673 fi
56674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56675 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56676
56677 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56678 for ac_func in log10l
56679 do :
56680 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56681 if test "x$ac_cv_func_log10l" = x""yes; then :
56682 cat >>confdefs.h <<_ACEOF
56683 #define HAVE_LOG10L 1
56684 _ACEOF
56685
56686 fi
56687 done
56688
56689 else
56690
56691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56692 $as_echo_n "checking for _log10l declaration... " >&6; }
56693 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56694 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56695 $as_echo_n "(cached) " >&6
56696 else
56697
56698
56699 ac_ext=cpp
56700 ac_cpp='$CXXCPP $CPPFLAGS'
56701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56704
56705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56706 /* end confdefs.h. */
56707 #include <math.h>
56708 #ifdef HAVE_IEEEFP_H
56709 #include <ieeefp.h>
56710 #endif
56711
56712 int
56713 main ()
56714 {
56715 _log10l(0);
56716 ;
56717 return 0;
56718 }
56719 _ACEOF
56720 if ac_fn_cxx_try_compile "$LINENO"; then :
56721 glibcxx_cv_func__log10l_use=yes
56722 else
56723 glibcxx_cv_func__log10l_use=no
56724 fi
56725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56726 ac_ext=c
56727 ac_cpp='$CPP $CPPFLAGS'
56728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56731
56732
56733 fi
56734
56735 fi
56736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56737 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56738
56739 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56740 for ac_func in _log10l
56741 do :
56742 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56743 if test "x$ac_cv_func__log10l" = x""yes; then :
56744 cat >>confdefs.h <<_ACEOF
56745 #define HAVE__LOG10L 1
56746 _ACEOF
56747
56748 fi
56749 done
56750
56751 fi
56752 fi
56753
56754
56755
56756
56757
56758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56759 $as_echo_n "checking for modfl declaration... " >&6; }
56760 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56761 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56762 $as_echo_n "(cached) " >&6
56763 else
56764
56765
56766 ac_ext=cpp
56767 ac_cpp='$CXXCPP $CPPFLAGS'
56768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56771
56772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56773 /* end confdefs.h. */
56774 #include <math.h>
56775 int
56776 main ()
56777 {
56778 modfl(0, 0);
56779 ;
56780 return 0;
56781 }
56782 _ACEOF
56783 if ac_fn_cxx_try_compile "$LINENO"; then :
56784 glibcxx_cv_func_modfl_use=yes
56785 else
56786 glibcxx_cv_func_modfl_use=no
56787 fi
56788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56789 ac_ext=c
56790 ac_cpp='$CPP $CPPFLAGS'
56791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56794
56795
56796 fi
56797
56798 fi
56799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56800 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56801
56802 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56803 for ac_func in modfl
56804 do :
56805 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56806 if test "x$ac_cv_func_modfl" = x""yes; then :
56807 cat >>confdefs.h <<_ACEOF
56808 #define HAVE_MODFL 1
56809 _ACEOF
56810
56811 fi
56812 done
56813
56814 else
56815
56816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56817 $as_echo_n "checking for _modfl declaration... " >&6; }
56818 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56819 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56820 $as_echo_n "(cached) " >&6
56821 else
56822
56823
56824 ac_ext=cpp
56825 ac_cpp='$CXXCPP $CPPFLAGS'
56826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56829
56830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56831 /* end confdefs.h. */
56832 #include <math.h>
56833 int
56834 main ()
56835 {
56836 _modfl(0, 0);
56837 ;
56838 return 0;
56839 }
56840 _ACEOF
56841 if ac_fn_cxx_try_compile "$LINENO"; then :
56842 glibcxx_cv_func__modfl_use=yes
56843 else
56844 glibcxx_cv_func__modfl_use=no
56845 fi
56846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56847 ac_ext=c
56848 ac_cpp='$CPP $CPPFLAGS'
56849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56852
56853
56854 fi
56855
56856 fi
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56858 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56859
56860 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56861 for ac_func in _modfl
56862 do :
56863 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56864 if test "x$ac_cv_func__modfl" = x""yes; then :
56865 cat >>confdefs.h <<_ACEOF
56866 #define HAVE__MODFL 1
56867 _ACEOF
56868
56869 fi
56870 done
56871
56872 fi
56873 fi
56874
56875
56876
56877
56878
56879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56880 $as_echo_n "checking for powl declaration... " >&6; }
56881 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56882 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56883 $as_echo_n "(cached) " >&6
56884 else
56885
56886
56887 ac_ext=cpp
56888 ac_cpp='$CXXCPP $CPPFLAGS'
56889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56892
56893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56894 /* end confdefs.h. */
56895 #include <math.h>
56896 int
56897 main ()
56898 {
56899 powl(0, 0);
56900 ;
56901 return 0;
56902 }
56903 _ACEOF
56904 if ac_fn_cxx_try_compile "$LINENO"; then :
56905 glibcxx_cv_func_powl_use=yes
56906 else
56907 glibcxx_cv_func_powl_use=no
56908 fi
56909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56910 ac_ext=c
56911 ac_cpp='$CPP $CPPFLAGS'
56912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56915
56916
56917 fi
56918
56919 fi
56920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56921 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56922
56923 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56924 for ac_func in powl
56925 do :
56926 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56927 if test "x$ac_cv_func_powl" = x""yes; then :
56928 cat >>confdefs.h <<_ACEOF
56929 #define HAVE_POWL 1
56930 _ACEOF
56931
56932 fi
56933 done
56934
56935 else
56936
56937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56938 $as_echo_n "checking for _powl declaration... " >&6; }
56939 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56940 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56941 $as_echo_n "(cached) " >&6
56942 else
56943
56944
56945 ac_ext=cpp
56946 ac_cpp='$CXXCPP $CPPFLAGS'
56947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56950
56951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56952 /* end confdefs.h. */
56953 #include <math.h>
56954 int
56955 main ()
56956 {
56957 _powl(0, 0);
56958 ;
56959 return 0;
56960 }
56961 _ACEOF
56962 if ac_fn_cxx_try_compile "$LINENO"; then :
56963 glibcxx_cv_func__powl_use=yes
56964 else
56965 glibcxx_cv_func__powl_use=no
56966 fi
56967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56968 ac_ext=c
56969 ac_cpp='$CPP $CPPFLAGS'
56970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56973
56974
56975 fi
56976
56977 fi
56978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56979 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56980
56981 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56982 for ac_func in _powl
56983 do :
56984 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56985 if test "x$ac_cv_func__powl" = x""yes; then :
56986 cat >>confdefs.h <<_ACEOF
56987 #define HAVE__POWL 1
56988 _ACEOF
56989
56990 fi
56991 done
56992
56993 fi
56994 fi
56995
56996
56997
56998
56999
57000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57001 $as_echo_n "checking for sqrtl declaration... " >&6; }
57002 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57003 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57004 $as_echo_n "(cached) " >&6
57005 else
57006
57007
57008 ac_ext=cpp
57009 ac_cpp='$CXXCPP $CPPFLAGS'
57010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57013
57014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57015 /* end confdefs.h. */
57016 #include <math.h>
57017 #ifdef HAVE_IEEEFP_H
57018 #include <ieeefp.h>
57019 #endif
57020
57021 int
57022 main ()
57023 {
57024 sqrtl(0);
57025 ;
57026 return 0;
57027 }
57028 _ACEOF
57029 if ac_fn_cxx_try_compile "$LINENO"; then :
57030 glibcxx_cv_func_sqrtl_use=yes
57031 else
57032 glibcxx_cv_func_sqrtl_use=no
57033 fi
57034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57035 ac_ext=c
57036 ac_cpp='$CPP $CPPFLAGS'
57037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57040
57041
57042 fi
57043
57044 fi
57045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57046 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57047
57048 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57049 for ac_func in sqrtl
57050 do :
57051 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57052 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57053 cat >>confdefs.h <<_ACEOF
57054 #define HAVE_SQRTL 1
57055 _ACEOF
57056
57057 fi
57058 done
57059
57060 else
57061
57062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57063 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57064 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57065 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57066 $as_echo_n "(cached) " >&6
57067 else
57068
57069
57070 ac_ext=cpp
57071 ac_cpp='$CXXCPP $CPPFLAGS'
57072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57075
57076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57077 /* end confdefs.h. */
57078 #include <math.h>
57079 #ifdef HAVE_IEEEFP_H
57080 #include <ieeefp.h>
57081 #endif
57082
57083 int
57084 main ()
57085 {
57086 _sqrtl(0);
57087 ;
57088 return 0;
57089 }
57090 _ACEOF
57091 if ac_fn_cxx_try_compile "$LINENO"; then :
57092 glibcxx_cv_func__sqrtl_use=yes
57093 else
57094 glibcxx_cv_func__sqrtl_use=no
57095 fi
57096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57097 ac_ext=c
57098 ac_cpp='$CPP $CPPFLAGS'
57099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57102
57103
57104 fi
57105
57106 fi
57107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57108 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57109
57110 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57111 for ac_func in _sqrtl
57112 do :
57113 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57114 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57115 cat >>confdefs.h <<_ACEOF
57116 #define HAVE__SQRTL 1
57117 _ACEOF
57118
57119 fi
57120 done
57121
57122 fi
57123 fi
57124
57125
57126
57127
57128
57129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57130 $as_echo_n "checking for sincosl declaration... " >&6; }
57131 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57132 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57133 $as_echo_n "(cached) " >&6
57134 else
57135
57136
57137 ac_ext=cpp
57138 ac_cpp='$CXXCPP $CPPFLAGS'
57139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57142
57143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57144 /* end confdefs.h. */
57145 #include <math.h>
57146 int
57147 main ()
57148 {
57149 sincosl(0, 0, 0);
57150 ;
57151 return 0;
57152 }
57153 _ACEOF
57154 if ac_fn_cxx_try_compile "$LINENO"; then :
57155 glibcxx_cv_func_sincosl_use=yes
57156 else
57157 glibcxx_cv_func_sincosl_use=no
57158 fi
57159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57160 ac_ext=c
57161 ac_cpp='$CPP $CPPFLAGS'
57162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57165
57166
57167 fi
57168
57169 fi
57170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57171 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57172
57173 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57174 for ac_func in sincosl
57175 do :
57176 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57177 if test "x$ac_cv_func_sincosl" = x""yes; then :
57178 cat >>confdefs.h <<_ACEOF
57179 #define HAVE_SINCOSL 1
57180 _ACEOF
57181
57182 fi
57183 done
57184
57185 else
57186
57187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57188 $as_echo_n "checking for _sincosl declaration... " >&6; }
57189 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57190 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57191 $as_echo_n "(cached) " >&6
57192 else
57193
57194
57195 ac_ext=cpp
57196 ac_cpp='$CXXCPP $CPPFLAGS'
57197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57200
57201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57202 /* end confdefs.h. */
57203 #include <math.h>
57204 int
57205 main ()
57206 {
57207 _sincosl(0, 0, 0);
57208 ;
57209 return 0;
57210 }
57211 _ACEOF
57212 if ac_fn_cxx_try_compile "$LINENO"; then :
57213 glibcxx_cv_func__sincosl_use=yes
57214 else
57215 glibcxx_cv_func__sincosl_use=no
57216 fi
57217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57218 ac_ext=c
57219 ac_cpp='$CPP $CPPFLAGS'
57220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57223
57224
57225 fi
57226
57227 fi
57228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57229 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57230
57231 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57232 for ac_func in _sincosl
57233 do :
57234 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57235 if test "x$ac_cv_func__sincosl" = x""yes; then :
57236 cat >>confdefs.h <<_ACEOF
57237 #define HAVE__SINCOSL 1
57238 _ACEOF
57239
57240 fi
57241 done
57242
57243 fi
57244 fi
57245
57246
57247
57248
57249
57250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57251 $as_echo_n "checking for finitel declaration... " >&6; }
57252 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57253 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57254 $as_echo_n "(cached) " >&6
57255 else
57256
57257
57258 ac_ext=cpp
57259 ac_cpp='$CXXCPP $CPPFLAGS'
57260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57263
57264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57265 /* end confdefs.h. */
57266 #include <math.h>
57267 #ifdef HAVE_IEEEFP_H
57268 #include <ieeefp.h>
57269 #endif
57270
57271 int
57272 main ()
57273 {
57274 finitel(0);
57275 ;
57276 return 0;
57277 }
57278 _ACEOF
57279 if ac_fn_cxx_try_compile "$LINENO"; then :
57280 glibcxx_cv_func_finitel_use=yes
57281 else
57282 glibcxx_cv_func_finitel_use=no
57283 fi
57284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57285 ac_ext=c
57286 ac_cpp='$CPP $CPPFLAGS'
57287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57290
57291
57292 fi
57293
57294 fi
57295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57296 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57297
57298 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57299 for ac_func in finitel
57300 do :
57301 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57302 if test "x$ac_cv_func_finitel" = x""yes; then :
57303 cat >>confdefs.h <<_ACEOF
57304 #define HAVE_FINITEL 1
57305 _ACEOF
57306
57307 fi
57308 done
57309
57310 else
57311
57312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57313 $as_echo_n "checking for _finitel declaration... " >&6; }
57314 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57315 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57316 $as_echo_n "(cached) " >&6
57317 else
57318
57319
57320 ac_ext=cpp
57321 ac_cpp='$CXXCPP $CPPFLAGS'
57322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57325
57326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57327 /* end confdefs.h. */
57328 #include <math.h>
57329 #ifdef HAVE_IEEEFP_H
57330 #include <ieeefp.h>
57331 #endif
57332
57333 int
57334 main ()
57335 {
57336 _finitel(0);
57337 ;
57338 return 0;
57339 }
57340 _ACEOF
57341 if ac_fn_cxx_try_compile "$LINENO"; then :
57342 glibcxx_cv_func__finitel_use=yes
57343 else
57344 glibcxx_cv_func__finitel_use=no
57345 fi
57346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57347 ac_ext=c
57348 ac_cpp='$CPP $CPPFLAGS'
57349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57352
57353
57354 fi
57355
57356 fi
57357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57358 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57359
57360 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57361 for ac_func in _finitel
57362 do :
57363 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57364 if test "x$ac_cv_func__finitel" = x""yes; then :
57365 cat >>confdefs.h <<_ACEOF
57366 #define HAVE__FINITEL 1
57367 _ACEOF
57368
57369 fi
57370 done
57371
57372 fi
57373 fi
57374
57375
57376
57377
57378 LIBS="$ac_save_LIBS"
57379 CXXFLAGS="$ac_save_CXXFLAGS"
57380
57381
57382 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57383 ac_save_CXXFLAGS="$CXXFLAGS"
57384 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57385
57386
57387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57388 $as_echo_n "checking for strtold declaration... " >&6; }
57389 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57390 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57391 $as_echo_n "(cached) " >&6
57392 else
57393
57394
57395 ac_ext=cpp
57396 ac_cpp='$CXXCPP $CPPFLAGS'
57397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57400
57401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57402 /* end confdefs.h. */
57403 #include <stdlib.h>
57404 int
57405 main ()
57406 {
57407 strtold(0, 0);
57408 ;
57409 return 0;
57410 }
57411 _ACEOF
57412 if ac_fn_cxx_try_compile "$LINENO"; then :
57413 glibcxx_cv_func_strtold_use=yes
57414 else
57415 glibcxx_cv_func_strtold_use=no
57416 fi
57417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57418 ac_ext=c
57419 ac_cpp='$CPP $CPPFLAGS'
57420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57423
57424
57425 fi
57426
57427 fi
57428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57429 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57430 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57431 for ac_func in strtold
57432 do :
57433 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57434 if test "x$ac_cv_func_strtold" = x""yes; then :
57435 cat >>confdefs.h <<_ACEOF
57436 #define HAVE_STRTOLD 1
57437 _ACEOF
57438
57439 fi
57440 done
57441
57442 fi
57443
57444
57445
57446
57447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57448 $as_echo_n "checking for strtof declaration... " >&6; }
57449 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57450 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57451 $as_echo_n "(cached) " >&6
57452 else
57453
57454
57455 ac_ext=cpp
57456 ac_cpp='$CXXCPP $CPPFLAGS'
57457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57460
57461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57462 /* end confdefs.h. */
57463 #include <stdlib.h>
57464 int
57465 main ()
57466 {
57467 strtof(0, 0);
57468 ;
57469 return 0;
57470 }
57471 _ACEOF
57472 if ac_fn_cxx_try_compile "$LINENO"; then :
57473 glibcxx_cv_func_strtof_use=yes
57474 else
57475 glibcxx_cv_func_strtof_use=no
57476 fi
57477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57478 ac_ext=c
57479 ac_cpp='$CPP $CPPFLAGS'
57480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57483
57484
57485 fi
57486
57487 fi
57488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57489 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57490 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57491 for ac_func in strtof
57492 do :
57493 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57494 if test "x$ac_cv_func_strtof" = x""yes; then :
57495 cat >>confdefs.h <<_ACEOF
57496 #define HAVE_STRTOF 1
57497 _ACEOF
57498
57499 fi
57500 done
57501
57502 fi
57503
57504
57505
57506
57507 CXXFLAGS="$ac_save_CXXFLAGS"
57508
57509 ;;
57510 *-netbsd*)
57511 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57512
57513
57514 # If we're not using GNU ld, then there's no point in even trying these
57515 # tests. Check for that first. We should have already tested for gld
57516 # by now (in libtool), but require it now just to be safe...
57517 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57518 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57519
57520
57521
57522 # The name set by libtool depends on the version of libtool. Shame on us
57523 # for depending on an impl detail, but c'est la vie. Older versions used
57524 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57525 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57526 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57527 # set (hence we're using an older libtool), then set it.
57528 if test x${with_gnu_ld+set} != xset; then
57529 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57530 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57531 with_gnu_ld=no
57532 else
57533 with_gnu_ld=$ac_cv_prog_gnu_ld
57534 fi
57535 fi
57536
57537 # Start by getting the version number. I think the libtool test already
57538 # does some of this, but throws away the result.
57539 glibcxx_ld_is_gold=no
57540 if test x"$with_gnu_ld" = x"yes"; then
57541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57542 $as_echo_n "checking for ld version... " >&6; }
57543
57544 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57545 glibcxx_ld_is_gold=yes
57546 fi
57547 ldver=`$LD --version 2>/dev/null |
57548 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'`
57549
57550 glibcxx_gnu_ld_version=`echo $ldver | \
57551 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57553 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57554 fi
57555
57556 # Set --gc-sections.
57557 glibcxx_have_gc_sections=no
57558 if test "$glibcxx_ld_is_gold" = "yes"; then
57559 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57560 glibcxx_have_gc_sections=yes
57561 fi
57562 else
57563 glibcxx_gcsections_min_ld=21602
57564 if test x"$with_gnu_ld" = x"yes" &&
57565 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57566 glibcxx_have_gc_sections=yes
57567 fi
57568 fi
57569 if test "$glibcxx_have_gc_sections" = "yes"; then
57570 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57571 # NB: This flag only works reliably after 2.16.1. Configure tests
57572 # for this are difficult, so hard wire a value that should work.
57573
57574 ac_test_CFLAGS="${CFLAGS+set}"
57575 ac_save_CFLAGS="$CFLAGS"
57576 CFLAGS='-Wl,--gc-sections'
57577
57578 # Check for -Wl,--gc-sections
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57580 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57581 if test x$gcc_no_link = xyes; then
57582 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57583 fi
57584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57585 /* end confdefs.h. */
57586 int one(void) { return 1; }
57587 int two(void) { return 2; }
57588
57589 int
57590 main ()
57591 {
57592 two();
57593 ;
57594 return 0;
57595 }
57596 _ACEOF
57597 if ac_fn_c_try_link "$LINENO"; then :
57598 ac_gcsections=yes
57599 else
57600 ac_gcsections=no
57601 fi
57602 rm -f core conftest.err conftest.$ac_objext \
57603 conftest$ac_exeext conftest.$ac_ext
57604 if test "$ac_gcsections" = "yes"; then
57605 rm -f conftest.c
57606 touch conftest.c
57607 if $CC -c conftest.c; then
57608 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57609 grep "Warning: gc-sections option ignored" > /dev/null; then
57610 ac_gcsections=no
57611 fi
57612 fi
57613 rm -f conftest.c conftest.o conftest
57614 fi
57615 if test "$ac_gcsections" = "yes"; then
57616 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57617 fi
57618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57619 $as_echo "$ac_gcsections" >&6; }
57620
57621 if test "$ac_test_CFLAGS" = set; then
57622 CFLAGS="$ac_save_CFLAGS"
57623 else
57624 # this is the suspicious part
57625 CFLAGS=''
57626 fi
57627 fi
57628
57629 # Set -z,relro.
57630 # Note this is only for shared objects.
57631 ac_ld_relro=no
57632 if test x"$with_gnu_ld" = x"yes"; then
57633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57634 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57635 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57636 if test -n "$cxx_z_relo"; then
57637 OPT_LDFLAGS="-Wl,-z,relro"
57638 ac_ld_relro=yes
57639 fi
57640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57641 $as_echo "$ac_ld_relro" >&6; }
57642 fi
57643
57644 # Set linker optimization flags.
57645 if test x"$with_gnu_ld" = x"yes"; then
57646 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57647 fi
57648
57649
57650
57651
57652 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57653
57654 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57655
57656 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57657
57658 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57659
57660 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57661
57662 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57663
57664 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57665
57666 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57667
57668 if test x"long_double_math_on_this_cpu" = x"yes"; then
57669 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57670
57671 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57672
57673 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57674
57675 fi
57676 ;;
57677 *-qnx6.1* | *-qnx6.2*)
57678 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57679
57680
57681 # If we're not using GNU ld, then there's no point in even trying these
57682 # tests. Check for that first. We should have already tested for gld
57683 # by now (in libtool), but require it now just to be safe...
57684 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57685 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57686
57687
57688
57689 # The name set by libtool depends on the version of libtool. Shame on us
57690 # for depending on an impl detail, but c'est la vie. Older versions used
57691 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57692 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57693 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57694 # set (hence we're using an older libtool), then set it.
57695 if test x${with_gnu_ld+set} != xset; then
57696 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57697 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57698 with_gnu_ld=no
57699 else
57700 with_gnu_ld=$ac_cv_prog_gnu_ld
57701 fi
57702 fi
57703
57704 # Start by getting the version number. I think the libtool test already
57705 # does some of this, but throws away the result.
57706 glibcxx_ld_is_gold=no
57707 if test x"$with_gnu_ld" = x"yes"; then
57708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57709 $as_echo_n "checking for ld version... " >&6; }
57710
57711 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57712 glibcxx_ld_is_gold=yes
57713 fi
57714 ldver=`$LD --version 2>/dev/null |
57715 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'`
57716
57717 glibcxx_gnu_ld_version=`echo $ldver | \
57718 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57720 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57721 fi
57722
57723 # Set --gc-sections.
57724 glibcxx_have_gc_sections=no
57725 if test "$glibcxx_ld_is_gold" = "yes"; then
57726 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57727 glibcxx_have_gc_sections=yes
57728 fi
57729 else
57730 glibcxx_gcsections_min_ld=21602
57731 if test x"$with_gnu_ld" = x"yes" &&
57732 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57733 glibcxx_have_gc_sections=yes
57734 fi
57735 fi
57736 if test "$glibcxx_have_gc_sections" = "yes"; then
57737 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57738 # NB: This flag only works reliably after 2.16.1. Configure tests
57739 # for this are difficult, so hard wire a value that should work.
57740
57741 ac_test_CFLAGS="${CFLAGS+set}"
57742 ac_save_CFLAGS="$CFLAGS"
57743 CFLAGS='-Wl,--gc-sections'
57744
57745 # Check for -Wl,--gc-sections
57746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57747 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57748 if test x$gcc_no_link = xyes; then
57749 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57750 fi
57751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57752 /* end confdefs.h. */
57753 int one(void) { return 1; }
57754 int two(void) { return 2; }
57755
57756 int
57757 main ()
57758 {
57759 two();
57760 ;
57761 return 0;
57762 }
57763 _ACEOF
57764 if ac_fn_c_try_link "$LINENO"; then :
57765 ac_gcsections=yes
57766 else
57767 ac_gcsections=no
57768 fi
57769 rm -f core conftest.err conftest.$ac_objext \
57770 conftest$ac_exeext conftest.$ac_ext
57771 if test "$ac_gcsections" = "yes"; then
57772 rm -f conftest.c
57773 touch conftest.c
57774 if $CC -c conftest.c; then
57775 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57776 grep "Warning: gc-sections option ignored" > /dev/null; then
57777 ac_gcsections=no
57778 fi
57779 fi
57780 rm -f conftest.c conftest.o conftest
57781 fi
57782 if test "$ac_gcsections" = "yes"; then
57783 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57784 fi
57785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57786 $as_echo "$ac_gcsections" >&6; }
57787
57788 if test "$ac_test_CFLAGS" = set; then
57789 CFLAGS="$ac_save_CFLAGS"
57790 else
57791 # this is the suspicious part
57792 CFLAGS=''
57793 fi
57794 fi
57795
57796 # Set -z,relro.
57797 # Note this is only for shared objects.
57798 ac_ld_relro=no
57799 if test x"$with_gnu_ld" = x"yes"; then
57800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57801 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57802 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57803 if test -n "$cxx_z_relo"; then
57804 OPT_LDFLAGS="-Wl,-z,relro"
57805 ac_ld_relro=yes
57806 fi
57807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57808 $as_echo "$ac_ld_relro" >&6; }
57809 fi
57810
57811 # Set linker optimization flags.
57812 if test x"$with_gnu_ld" = x"yes"; then
57813 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57814 fi
57815
57816
57817
57818
57819 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57820
57821 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57822
57823 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57824
57825 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57826
57827 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57828
57829 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57830
57831 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57832
57833 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57834
57835 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57836
57837 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57838
57839 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57840
57841 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57842
57843 ;;
57844 *-rtems*)
57845
57846 # All these tests are for C++; save the language and the compiler flags.
57847 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57848 # found in GLIBCXX_CONFIGURE.
57849
57850 ac_ext=cpp
57851 ac_cpp='$CXXCPP $CPPFLAGS'
57852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57855
57856 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57857 ac_save_CXXFLAGS="$CXXFLAGS"
57858
57859 # Check for maintainer-mode bits.
57860 if test x"$USE_MAINTAINER_MODE" = xno; then
57861 WERROR=''
57862 else
57863 WERROR='-Werror'
57864 fi
57865
57866 # Check for -ffunction-sections -fdata-sections
57867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57868 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57869 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57871 /* end confdefs.h. */
57872 int foo; void bar() { };
57873 int
57874 main ()
57875 {
57876
57877 ;
57878 return 0;
57879 }
57880 _ACEOF
57881 if ac_fn_cxx_try_compile "$LINENO"; then :
57882 ac_fdsections=yes
57883 else
57884 ac_fdsections=no
57885 fi
57886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57887 if test "$ac_test_CXXFLAGS" = set; then
57888 CXXFLAGS="$ac_save_CXXFLAGS"
57889 else
57890 # this is the suspicious part
57891 CXXFLAGS=''
57892 fi
57893 if test x"$ac_fdsections" = x"yes"; then
57894 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57895 fi
57896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57897 $as_echo "$ac_fdsections" >&6; }
57898
57899 ac_ext=c
57900 ac_cpp='$CPP $CPPFLAGS'
57901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57904
57905
57906
57907
57908
57909 # If we're not using GNU ld, then there's no point in even trying these
57910 # tests. Check for that first. We should have already tested for gld
57911 # by now (in libtool), but require it now just to be safe...
57912 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57913 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57914
57915
57916
57917 # The name set by libtool depends on the version of libtool. Shame on us
57918 # for depending on an impl detail, but c'est la vie. Older versions used
57919 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57920 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57921 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57922 # set (hence we're using an older libtool), then set it.
57923 if test x${with_gnu_ld+set} != xset; then
57924 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57925 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57926 with_gnu_ld=no
57927 else
57928 with_gnu_ld=$ac_cv_prog_gnu_ld
57929 fi
57930 fi
57931
57932 # Start by getting the version number. I think the libtool test already
57933 # does some of this, but throws away the result.
57934 glibcxx_ld_is_gold=no
57935 if test x"$with_gnu_ld" = x"yes"; then
57936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57937 $as_echo_n "checking for ld version... " >&6; }
57938
57939 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57940 glibcxx_ld_is_gold=yes
57941 fi
57942 ldver=`$LD --version 2>/dev/null |
57943 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'`
57944
57945 glibcxx_gnu_ld_version=`echo $ldver | \
57946 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57948 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57949 fi
57950
57951 # Set --gc-sections.
57952 glibcxx_have_gc_sections=no
57953 if test "$glibcxx_ld_is_gold" = "yes"; then
57954 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57955 glibcxx_have_gc_sections=yes
57956 fi
57957 else
57958 glibcxx_gcsections_min_ld=21602
57959 if test x"$with_gnu_ld" = x"yes" &&
57960 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57961 glibcxx_have_gc_sections=yes
57962 fi
57963 fi
57964 if test "$glibcxx_have_gc_sections" = "yes"; then
57965 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57966 # NB: This flag only works reliably after 2.16.1. Configure tests
57967 # for this are difficult, so hard wire a value that should work.
57968
57969 ac_test_CFLAGS="${CFLAGS+set}"
57970 ac_save_CFLAGS="$CFLAGS"
57971 CFLAGS='-Wl,--gc-sections'
57972
57973 # Check for -Wl,--gc-sections
57974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57975 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57976 if test x$gcc_no_link = xyes; then
57977 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57978 fi
57979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57980 /* end confdefs.h. */
57981 int one(void) { return 1; }
57982 int two(void) { return 2; }
57983
57984 int
57985 main ()
57986 {
57987 two();
57988 ;
57989 return 0;
57990 }
57991 _ACEOF
57992 if ac_fn_c_try_link "$LINENO"; then :
57993 ac_gcsections=yes
57994 else
57995 ac_gcsections=no
57996 fi
57997 rm -f core conftest.err conftest.$ac_objext \
57998 conftest$ac_exeext conftest.$ac_ext
57999 if test "$ac_gcsections" = "yes"; then
58000 rm -f conftest.c
58001 touch conftest.c
58002 if $CC -c conftest.c; then
58003 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58004 grep "Warning: gc-sections option ignored" > /dev/null; then
58005 ac_gcsections=no
58006 fi
58007 fi
58008 rm -f conftest.c conftest.o conftest
58009 fi
58010 if test "$ac_gcsections" = "yes"; then
58011 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58012 fi
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58014 $as_echo "$ac_gcsections" >&6; }
58015
58016 if test "$ac_test_CFLAGS" = set; then
58017 CFLAGS="$ac_save_CFLAGS"
58018 else
58019 # this is the suspicious part
58020 CFLAGS=''
58021 fi
58022 fi
58023
58024 # Set -z,relro.
58025 # Note this is only for shared objects.
58026 ac_ld_relro=no
58027 if test x"$with_gnu_ld" = x"yes"; then
58028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58029 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58030 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58031 if test -n "$cxx_z_relo"; then
58032 OPT_LDFLAGS="-Wl,-z,relro"
58033 ac_ld_relro=yes
58034 fi
58035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58036 $as_echo "$ac_ld_relro" >&6; }
58037 fi
58038
58039 # Set linker optimization flags.
58040 if test x"$with_gnu_ld" = x"yes"; then
58041 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58042 fi
58043
58044
58045
58046
58047
58048 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58049 ac_save_CXXFLAGS="$CXXFLAGS"
58050 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58051
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58053 $as_echo_n "checking for sin in -lm... " >&6; }
58054 if test "${ac_cv_lib_m_sin+set}" = set; then :
58055 $as_echo_n "(cached) " >&6
58056 else
58057 ac_check_lib_save_LIBS=$LIBS
58058 LIBS="-lm $LIBS"
58059 if test x$gcc_no_link = xyes; then
58060 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58061 fi
58062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58063 /* end confdefs.h. */
58064
58065 /* Override any GCC internal prototype to avoid an error.
58066 Use char because int might match the return type of a GCC
58067 builtin and then its argument prototype would still apply. */
58068 #ifdef __cplusplus
58069 extern "C"
58070 #endif
58071 char sin ();
58072 int
58073 main ()
58074 {
58075 return sin ();
58076 ;
58077 return 0;
58078 }
58079 _ACEOF
58080 if ac_fn_c_try_link "$LINENO"; then :
58081 ac_cv_lib_m_sin=yes
58082 else
58083 ac_cv_lib_m_sin=no
58084 fi
58085 rm -f core conftest.err conftest.$ac_objext \
58086 conftest$ac_exeext conftest.$ac_ext
58087 LIBS=$ac_check_lib_save_LIBS
58088 fi
58089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58090 $as_echo "$ac_cv_lib_m_sin" >&6; }
58091 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58092 libm="-lm"
58093 fi
58094
58095 ac_save_LIBS="$LIBS"
58096 LIBS="$LIBS $libm"
58097
58098
58099
58100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58101 $as_echo_n "checking for isinf declaration... " >&6; }
58102 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58103 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58104 $as_echo_n "(cached) " >&6
58105 else
58106
58107
58108 ac_ext=cpp
58109 ac_cpp='$CXXCPP $CPPFLAGS'
58110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58113
58114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58115 /* end confdefs.h. */
58116 #include <math.h>
58117 #ifdef HAVE_IEEEFP_H
58118 #include <ieeefp.h>
58119 #endif
58120
58121 int
58122 main ()
58123 {
58124 isinf(0);
58125 ;
58126 return 0;
58127 }
58128 _ACEOF
58129 if ac_fn_cxx_try_compile "$LINENO"; then :
58130 glibcxx_cv_func_isinf_use=yes
58131 else
58132 glibcxx_cv_func_isinf_use=no
58133 fi
58134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58135 ac_ext=c
58136 ac_cpp='$CPP $CPPFLAGS'
58137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58140
58141
58142 fi
58143
58144 fi
58145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58146 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58147
58148 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58149 for ac_func in isinf
58150 do :
58151 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58152 if test "x$ac_cv_func_isinf" = x""yes; then :
58153 cat >>confdefs.h <<_ACEOF
58154 #define HAVE_ISINF 1
58155 _ACEOF
58156
58157 fi
58158 done
58159
58160 else
58161
58162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58163 $as_echo_n "checking for _isinf declaration... " >&6; }
58164 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58165 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58166 $as_echo_n "(cached) " >&6
58167 else
58168
58169
58170 ac_ext=cpp
58171 ac_cpp='$CXXCPP $CPPFLAGS'
58172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58175
58176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58177 /* end confdefs.h. */
58178 #include <math.h>
58179 #ifdef HAVE_IEEEFP_H
58180 #include <ieeefp.h>
58181 #endif
58182
58183 int
58184 main ()
58185 {
58186 _isinf(0);
58187 ;
58188 return 0;
58189 }
58190 _ACEOF
58191 if ac_fn_cxx_try_compile "$LINENO"; then :
58192 glibcxx_cv_func__isinf_use=yes
58193 else
58194 glibcxx_cv_func__isinf_use=no
58195 fi
58196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58197 ac_ext=c
58198 ac_cpp='$CPP $CPPFLAGS'
58199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58202
58203
58204 fi
58205
58206 fi
58207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58208 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58209
58210 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58211 for ac_func in _isinf
58212 do :
58213 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58214 if test "x$ac_cv_func__isinf" = x""yes; then :
58215 cat >>confdefs.h <<_ACEOF
58216 #define HAVE__ISINF 1
58217 _ACEOF
58218
58219 fi
58220 done
58221
58222 fi
58223 fi
58224
58225
58226
58227
58228
58229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58230 $as_echo_n "checking for isnan declaration... " >&6; }
58231 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58232 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58233 $as_echo_n "(cached) " >&6
58234 else
58235
58236
58237 ac_ext=cpp
58238 ac_cpp='$CXXCPP $CPPFLAGS'
58239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58242
58243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58244 /* end confdefs.h. */
58245 #include <math.h>
58246 #ifdef HAVE_IEEEFP_H
58247 #include <ieeefp.h>
58248 #endif
58249
58250 int
58251 main ()
58252 {
58253 isnan(0);
58254 ;
58255 return 0;
58256 }
58257 _ACEOF
58258 if ac_fn_cxx_try_compile "$LINENO"; then :
58259 glibcxx_cv_func_isnan_use=yes
58260 else
58261 glibcxx_cv_func_isnan_use=no
58262 fi
58263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58264 ac_ext=c
58265 ac_cpp='$CPP $CPPFLAGS'
58266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58269
58270
58271 fi
58272
58273 fi
58274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58275 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58276
58277 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58278 for ac_func in isnan
58279 do :
58280 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58281 if test "x$ac_cv_func_isnan" = x""yes; then :
58282 cat >>confdefs.h <<_ACEOF
58283 #define HAVE_ISNAN 1
58284 _ACEOF
58285
58286 fi
58287 done
58288
58289 else
58290
58291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58292 $as_echo_n "checking for _isnan declaration... " >&6; }
58293 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58294 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58295 $as_echo_n "(cached) " >&6
58296 else
58297
58298
58299 ac_ext=cpp
58300 ac_cpp='$CXXCPP $CPPFLAGS'
58301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58304
58305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58306 /* end confdefs.h. */
58307 #include <math.h>
58308 #ifdef HAVE_IEEEFP_H
58309 #include <ieeefp.h>
58310 #endif
58311
58312 int
58313 main ()
58314 {
58315 _isnan(0);
58316 ;
58317 return 0;
58318 }
58319 _ACEOF
58320 if ac_fn_cxx_try_compile "$LINENO"; then :
58321 glibcxx_cv_func__isnan_use=yes
58322 else
58323 glibcxx_cv_func__isnan_use=no
58324 fi
58325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58326 ac_ext=c
58327 ac_cpp='$CPP $CPPFLAGS'
58328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58331
58332
58333 fi
58334
58335 fi
58336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58337 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58338
58339 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58340 for ac_func in _isnan
58341 do :
58342 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58343 if test "x$ac_cv_func__isnan" = x""yes; then :
58344 cat >>confdefs.h <<_ACEOF
58345 #define HAVE__ISNAN 1
58346 _ACEOF
58347
58348 fi
58349 done
58350
58351 fi
58352 fi
58353
58354
58355
58356
58357
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58359 $as_echo_n "checking for finite declaration... " >&6; }
58360 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58361 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58362 $as_echo_n "(cached) " >&6
58363 else
58364
58365
58366 ac_ext=cpp
58367 ac_cpp='$CXXCPP $CPPFLAGS'
58368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58371
58372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58373 /* end confdefs.h. */
58374 #include <math.h>
58375 #ifdef HAVE_IEEEFP_H
58376 #include <ieeefp.h>
58377 #endif
58378
58379 int
58380 main ()
58381 {
58382 finite(0);
58383 ;
58384 return 0;
58385 }
58386 _ACEOF
58387 if ac_fn_cxx_try_compile "$LINENO"; then :
58388 glibcxx_cv_func_finite_use=yes
58389 else
58390 glibcxx_cv_func_finite_use=no
58391 fi
58392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58393 ac_ext=c
58394 ac_cpp='$CPP $CPPFLAGS'
58395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58398
58399
58400 fi
58401
58402 fi
58403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58404 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58405
58406 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58407 for ac_func in finite
58408 do :
58409 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58410 if test "x$ac_cv_func_finite" = x""yes; then :
58411 cat >>confdefs.h <<_ACEOF
58412 #define HAVE_FINITE 1
58413 _ACEOF
58414
58415 fi
58416 done
58417
58418 else
58419
58420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58421 $as_echo_n "checking for _finite declaration... " >&6; }
58422 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58423 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58424 $as_echo_n "(cached) " >&6
58425 else
58426
58427
58428 ac_ext=cpp
58429 ac_cpp='$CXXCPP $CPPFLAGS'
58430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58433
58434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58435 /* end confdefs.h. */
58436 #include <math.h>
58437 #ifdef HAVE_IEEEFP_H
58438 #include <ieeefp.h>
58439 #endif
58440
58441 int
58442 main ()
58443 {
58444 _finite(0);
58445 ;
58446 return 0;
58447 }
58448 _ACEOF
58449 if ac_fn_cxx_try_compile "$LINENO"; then :
58450 glibcxx_cv_func__finite_use=yes
58451 else
58452 glibcxx_cv_func__finite_use=no
58453 fi
58454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58455 ac_ext=c
58456 ac_cpp='$CPP $CPPFLAGS'
58457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58460
58461
58462 fi
58463
58464 fi
58465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58466 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58467
58468 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58469 for ac_func in _finite
58470 do :
58471 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58472 if test "x$ac_cv_func__finite" = x""yes; then :
58473 cat >>confdefs.h <<_ACEOF
58474 #define HAVE__FINITE 1
58475 _ACEOF
58476
58477 fi
58478 done
58479
58480 fi
58481 fi
58482
58483
58484
58485
58486
58487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58488 $as_echo_n "checking for sincos declaration... " >&6; }
58489 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58490 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58491 $as_echo_n "(cached) " >&6
58492 else
58493
58494
58495 ac_ext=cpp
58496 ac_cpp='$CXXCPP $CPPFLAGS'
58497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58500
58501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58502 /* end confdefs.h. */
58503 #include <math.h>
58504 int
58505 main ()
58506 {
58507 sincos(0, 0, 0);
58508 ;
58509 return 0;
58510 }
58511 _ACEOF
58512 if ac_fn_cxx_try_compile "$LINENO"; then :
58513 glibcxx_cv_func_sincos_use=yes
58514 else
58515 glibcxx_cv_func_sincos_use=no
58516 fi
58517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58518 ac_ext=c
58519 ac_cpp='$CPP $CPPFLAGS'
58520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58523
58524
58525 fi
58526
58527 fi
58528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58529 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58530
58531 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58532 for ac_func in sincos
58533 do :
58534 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58535 if test "x$ac_cv_func_sincos" = x""yes; then :
58536 cat >>confdefs.h <<_ACEOF
58537 #define HAVE_SINCOS 1
58538 _ACEOF
58539
58540 fi
58541 done
58542
58543 else
58544
58545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58546 $as_echo_n "checking for _sincos declaration... " >&6; }
58547 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58548 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58549 $as_echo_n "(cached) " >&6
58550 else
58551
58552
58553 ac_ext=cpp
58554 ac_cpp='$CXXCPP $CPPFLAGS'
58555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58558
58559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58560 /* end confdefs.h. */
58561 #include <math.h>
58562 int
58563 main ()
58564 {
58565 _sincos(0, 0, 0);
58566 ;
58567 return 0;
58568 }
58569 _ACEOF
58570 if ac_fn_cxx_try_compile "$LINENO"; then :
58571 glibcxx_cv_func__sincos_use=yes
58572 else
58573 glibcxx_cv_func__sincos_use=no
58574 fi
58575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58576 ac_ext=c
58577 ac_cpp='$CPP $CPPFLAGS'
58578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58581
58582
58583 fi
58584
58585 fi
58586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58587 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58588
58589 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58590 for ac_func in _sincos
58591 do :
58592 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58593 if test "x$ac_cv_func__sincos" = x""yes; then :
58594 cat >>confdefs.h <<_ACEOF
58595 #define HAVE__SINCOS 1
58596 _ACEOF
58597
58598 fi
58599 done
58600
58601 fi
58602 fi
58603
58604
58605
58606
58607
58608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58609 $as_echo_n "checking for fpclass declaration... " >&6; }
58610 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58611 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58612 $as_echo_n "(cached) " >&6
58613 else
58614
58615
58616 ac_ext=cpp
58617 ac_cpp='$CXXCPP $CPPFLAGS'
58618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58621
58622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58623 /* end confdefs.h. */
58624 #include <math.h>
58625 #ifdef HAVE_IEEEFP_H
58626 #include <ieeefp.h>
58627 #endif
58628
58629 int
58630 main ()
58631 {
58632 fpclass(0);
58633 ;
58634 return 0;
58635 }
58636 _ACEOF
58637 if ac_fn_cxx_try_compile "$LINENO"; then :
58638 glibcxx_cv_func_fpclass_use=yes
58639 else
58640 glibcxx_cv_func_fpclass_use=no
58641 fi
58642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58643 ac_ext=c
58644 ac_cpp='$CPP $CPPFLAGS'
58645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58648
58649
58650 fi
58651
58652 fi
58653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58654 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58655
58656 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58657 for ac_func in fpclass
58658 do :
58659 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58660 if test "x$ac_cv_func_fpclass" = x""yes; then :
58661 cat >>confdefs.h <<_ACEOF
58662 #define HAVE_FPCLASS 1
58663 _ACEOF
58664
58665 fi
58666 done
58667
58668 else
58669
58670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58671 $as_echo_n "checking for _fpclass declaration... " >&6; }
58672 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58673 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58674 $as_echo_n "(cached) " >&6
58675 else
58676
58677
58678 ac_ext=cpp
58679 ac_cpp='$CXXCPP $CPPFLAGS'
58680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58683
58684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58685 /* end confdefs.h. */
58686 #include <math.h>
58687 #ifdef HAVE_IEEEFP_H
58688 #include <ieeefp.h>
58689 #endif
58690
58691 int
58692 main ()
58693 {
58694 _fpclass(0);
58695 ;
58696 return 0;
58697 }
58698 _ACEOF
58699 if ac_fn_cxx_try_compile "$LINENO"; then :
58700 glibcxx_cv_func__fpclass_use=yes
58701 else
58702 glibcxx_cv_func__fpclass_use=no
58703 fi
58704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58705 ac_ext=c
58706 ac_cpp='$CPP $CPPFLAGS'
58707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58710
58711
58712 fi
58713
58714 fi
58715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58716 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58717
58718 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58719 for ac_func in _fpclass
58720 do :
58721 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58722 if test "x$ac_cv_func__fpclass" = x""yes; then :
58723 cat >>confdefs.h <<_ACEOF
58724 #define HAVE__FPCLASS 1
58725 _ACEOF
58726
58727 fi
58728 done
58729
58730 fi
58731 fi
58732
58733
58734
58735
58736
58737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58738 $as_echo_n "checking for qfpclass declaration... " >&6; }
58739 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58740 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58741 $as_echo_n "(cached) " >&6
58742 else
58743
58744
58745 ac_ext=cpp
58746 ac_cpp='$CXXCPP $CPPFLAGS'
58747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58750
58751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58752 /* end confdefs.h. */
58753 #include <math.h>
58754 #ifdef HAVE_IEEEFP_H
58755 #include <ieeefp.h>
58756 #endif
58757
58758 int
58759 main ()
58760 {
58761 qfpclass(0);
58762 ;
58763 return 0;
58764 }
58765 _ACEOF
58766 if ac_fn_cxx_try_compile "$LINENO"; then :
58767 glibcxx_cv_func_qfpclass_use=yes
58768 else
58769 glibcxx_cv_func_qfpclass_use=no
58770 fi
58771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58772 ac_ext=c
58773 ac_cpp='$CPP $CPPFLAGS'
58774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58777
58778
58779 fi
58780
58781 fi
58782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58783 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58784
58785 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58786 for ac_func in qfpclass
58787 do :
58788 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58789 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58790 cat >>confdefs.h <<_ACEOF
58791 #define HAVE_QFPCLASS 1
58792 _ACEOF
58793
58794 fi
58795 done
58796
58797 else
58798
58799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58800 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58801 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58802 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58803 $as_echo_n "(cached) " >&6
58804 else
58805
58806
58807 ac_ext=cpp
58808 ac_cpp='$CXXCPP $CPPFLAGS'
58809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58812
58813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58814 /* end confdefs.h. */
58815 #include <math.h>
58816 #ifdef HAVE_IEEEFP_H
58817 #include <ieeefp.h>
58818 #endif
58819
58820 int
58821 main ()
58822 {
58823 _qfpclass(0);
58824 ;
58825 return 0;
58826 }
58827 _ACEOF
58828 if ac_fn_cxx_try_compile "$LINENO"; then :
58829 glibcxx_cv_func__qfpclass_use=yes
58830 else
58831 glibcxx_cv_func__qfpclass_use=no
58832 fi
58833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58834 ac_ext=c
58835 ac_cpp='$CPP $CPPFLAGS'
58836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58839
58840
58841 fi
58842
58843 fi
58844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58845 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58846
58847 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58848 for ac_func in _qfpclass
58849 do :
58850 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58851 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58852 cat >>confdefs.h <<_ACEOF
58853 #define HAVE__QFPCLASS 1
58854 _ACEOF
58855
58856 fi
58857 done
58858
58859 fi
58860 fi
58861
58862
58863
58864
58865
58866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58867 $as_echo_n "checking for hypot declaration... " >&6; }
58868 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58869 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58870 $as_echo_n "(cached) " >&6
58871 else
58872
58873
58874 ac_ext=cpp
58875 ac_cpp='$CXXCPP $CPPFLAGS'
58876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58879
58880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58881 /* end confdefs.h. */
58882 #include <math.h>
58883 int
58884 main ()
58885 {
58886 hypot(0, 0);
58887 ;
58888 return 0;
58889 }
58890 _ACEOF
58891 if ac_fn_cxx_try_compile "$LINENO"; then :
58892 glibcxx_cv_func_hypot_use=yes
58893 else
58894 glibcxx_cv_func_hypot_use=no
58895 fi
58896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58897 ac_ext=c
58898 ac_cpp='$CPP $CPPFLAGS'
58899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58902
58903
58904 fi
58905
58906 fi
58907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58908 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58909
58910 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58911 for ac_func in hypot
58912 do :
58913 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58914 if test "x$ac_cv_func_hypot" = x""yes; then :
58915 cat >>confdefs.h <<_ACEOF
58916 #define HAVE_HYPOT 1
58917 _ACEOF
58918
58919 fi
58920 done
58921
58922 else
58923
58924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58925 $as_echo_n "checking for _hypot declaration... " >&6; }
58926 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58927 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58928 $as_echo_n "(cached) " >&6
58929 else
58930
58931
58932 ac_ext=cpp
58933 ac_cpp='$CXXCPP $CPPFLAGS'
58934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58937
58938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58939 /* end confdefs.h. */
58940 #include <math.h>
58941 int
58942 main ()
58943 {
58944 _hypot(0, 0);
58945 ;
58946 return 0;
58947 }
58948 _ACEOF
58949 if ac_fn_cxx_try_compile "$LINENO"; then :
58950 glibcxx_cv_func__hypot_use=yes
58951 else
58952 glibcxx_cv_func__hypot_use=no
58953 fi
58954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58955 ac_ext=c
58956 ac_cpp='$CPP $CPPFLAGS'
58957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58960
58961
58962 fi
58963
58964 fi
58965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58966 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58967
58968 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58969 for ac_func in _hypot
58970 do :
58971 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58972 if test "x$ac_cv_func__hypot" = x""yes; then :
58973 cat >>confdefs.h <<_ACEOF
58974 #define HAVE__HYPOT 1
58975 _ACEOF
58976
58977 fi
58978 done
58979
58980 fi
58981 fi
58982
58983
58984
58985
58986
58987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58988 $as_echo_n "checking for float trig functions... " >&6; }
58989 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58990 $as_echo_n "(cached) " >&6
58991 else
58992
58993
58994 ac_ext=cpp
58995 ac_cpp='$CXXCPP $CPPFLAGS'
58996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58999
59000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59001 /* end confdefs.h. */
59002 #include <math.h>
59003 int
59004 main ()
59005 {
59006 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59007 ;
59008 return 0;
59009 }
59010 _ACEOF
59011 if ac_fn_cxx_try_compile "$LINENO"; then :
59012 glibcxx_cv_func_float_trig_use=yes
59013 else
59014 glibcxx_cv_func_float_trig_use=no
59015 fi
59016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59017 ac_ext=c
59018 ac_cpp='$CPP $CPPFLAGS'
59019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59022
59023 fi
59024
59025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59026 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59027 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59028 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59029 do :
59030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59032 eval as_val=\$$as_ac_var
59033 if test "x$as_val" = x""yes; then :
59034 cat >>confdefs.h <<_ACEOF
59035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59036 _ACEOF
59037
59038 fi
59039 done
59040
59041 else
59042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59043 $as_echo_n "checking for _float trig functions... " >&6; }
59044 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59045 $as_echo_n "(cached) " >&6
59046 else
59047
59048
59049 ac_ext=cpp
59050 ac_cpp='$CXXCPP $CPPFLAGS'
59051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59054
59055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59056 /* end confdefs.h. */
59057 #include <math.h>
59058 int
59059 main ()
59060 {
59061 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59062 ;
59063 return 0;
59064 }
59065 _ACEOF
59066 if ac_fn_cxx_try_compile "$LINENO"; then :
59067 glibcxx_cv_func__float_trig_use=yes
59068 else
59069 glibcxx_cv_func__float_trig_use=no
59070 fi
59071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59072 ac_ext=c
59073 ac_cpp='$CPP $CPPFLAGS'
59074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59077
59078 fi
59079
59080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59081 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59082 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59083 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59084 do :
59085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59087 eval as_val=\$$as_ac_var
59088 if test "x$as_val" = x""yes; then :
59089 cat >>confdefs.h <<_ACEOF
59090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59091 _ACEOF
59092
59093 fi
59094 done
59095
59096 fi
59097 fi
59098
59099
59100
59101
59102
59103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59104 $as_echo_n "checking for float round functions... " >&6; }
59105 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59106 $as_echo_n "(cached) " >&6
59107 else
59108
59109
59110 ac_ext=cpp
59111 ac_cpp='$CXXCPP $CPPFLAGS'
59112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59115
59116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59117 /* end confdefs.h. */
59118 #include <math.h>
59119 int
59120 main ()
59121 {
59122 ceilf (0); floorf (0);
59123 ;
59124 return 0;
59125 }
59126 _ACEOF
59127 if ac_fn_cxx_try_compile "$LINENO"; then :
59128 glibcxx_cv_func_float_round_use=yes
59129 else
59130 glibcxx_cv_func_float_round_use=no
59131 fi
59132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59133 ac_ext=c
59134 ac_cpp='$CPP $CPPFLAGS'
59135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59138
59139 fi
59140
59141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59142 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59143 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59144 for ac_func in ceilf floorf
59145 do :
59146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59148 eval as_val=\$$as_ac_var
59149 if test "x$as_val" = x""yes; then :
59150 cat >>confdefs.h <<_ACEOF
59151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59152 _ACEOF
59153
59154 fi
59155 done
59156
59157 else
59158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59159 $as_echo_n "checking for _float round functions... " >&6; }
59160 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59161 $as_echo_n "(cached) " >&6
59162 else
59163
59164
59165 ac_ext=cpp
59166 ac_cpp='$CXXCPP $CPPFLAGS'
59167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59170
59171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59172 /* end confdefs.h. */
59173 #include <math.h>
59174 int
59175 main ()
59176 {
59177 _ceilf (0); _floorf (0);
59178 ;
59179 return 0;
59180 }
59181 _ACEOF
59182 if ac_fn_cxx_try_compile "$LINENO"; then :
59183 glibcxx_cv_func__float_round_use=yes
59184 else
59185 glibcxx_cv_func__float_round_use=no
59186 fi
59187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59188 ac_ext=c
59189 ac_cpp='$CPP $CPPFLAGS'
59190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59193
59194 fi
59195
59196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59197 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59198 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59199 for ac_func in _ceilf _floorf
59200 do :
59201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59203 eval as_val=\$$as_ac_var
59204 if test "x$as_val" = x""yes; then :
59205 cat >>confdefs.h <<_ACEOF
59206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59207 _ACEOF
59208
59209 fi
59210 done
59211
59212 fi
59213 fi
59214
59215
59216
59217
59218
59219
59220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59221 $as_echo_n "checking for expf declaration... " >&6; }
59222 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59223 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59224 $as_echo_n "(cached) " >&6
59225 else
59226
59227
59228 ac_ext=cpp
59229 ac_cpp='$CXXCPP $CPPFLAGS'
59230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59233
59234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59235 /* end confdefs.h. */
59236 #include <math.h>
59237 #ifdef HAVE_IEEEFP_H
59238 #include <ieeefp.h>
59239 #endif
59240
59241 int
59242 main ()
59243 {
59244 expf(0);
59245 ;
59246 return 0;
59247 }
59248 _ACEOF
59249 if ac_fn_cxx_try_compile "$LINENO"; then :
59250 glibcxx_cv_func_expf_use=yes
59251 else
59252 glibcxx_cv_func_expf_use=no
59253 fi
59254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59255 ac_ext=c
59256 ac_cpp='$CPP $CPPFLAGS'
59257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59260
59261
59262 fi
59263
59264 fi
59265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59266 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59267
59268 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59269 for ac_func in expf
59270 do :
59271 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59272 if test "x$ac_cv_func_expf" = x""yes; then :
59273 cat >>confdefs.h <<_ACEOF
59274 #define HAVE_EXPF 1
59275 _ACEOF
59276
59277 fi
59278 done
59279
59280 else
59281
59282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59283 $as_echo_n "checking for _expf declaration... " >&6; }
59284 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59285 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59286 $as_echo_n "(cached) " >&6
59287 else
59288
59289
59290 ac_ext=cpp
59291 ac_cpp='$CXXCPP $CPPFLAGS'
59292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59295
59296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59297 /* end confdefs.h. */
59298 #include <math.h>
59299 #ifdef HAVE_IEEEFP_H
59300 #include <ieeefp.h>
59301 #endif
59302
59303 int
59304 main ()
59305 {
59306 _expf(0);
59307 ;
59308 return 0;
59309 }
59310 _ACEOF
59311 if ac_fn_cxx_try_compile "$LINENO"; then :
59312 glibcxx_cv_func__expf_use=yes
59313 else
59314 glibcxx_cv_func__expf_use=no
59315 fi
59316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59317 ac_ext=c
59318 ac_cpp='$CPP $CPPFLAGS'
59319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59322
59323
59324 fi
59325
59326 fi
59327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59328 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59329
59330 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59331 for ac_func in _expf
59332 do :
59333 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59334 if test "x$ac_cv_func__expf" = x""yes; then :
59335 cat >>confdefs.h <<_ACEOF
59336 #define HAVE__EXPF 1
59337 _ACEOF
59338
59339 fi
59340 done
59341
59342 fi
59343 fi
59344
59345
59346
59347
59348
59349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59350 $as_echo_n "checking for isnanf declaration... " >&6; }
59351 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59352 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59353 $as_echo_n "(cached) " >&6
59354 else
59355
59356
59357 ac_ext=cpp
59358 ac_cpp='$CXXCPP $CPPFLAGS'
59359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59362
59363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59364 /* end confdefs.h. */
59365 #include <math.h>
59366 #ifdef HAVE_IEEEFP_H
59367 #include <ieeefp.h>
59368 #endif
59369
59370 int
59371 main ()
59372 {
59373 isnanf(0);
59374 ;
59375 return 0;
59376 }
59377 _ACEOF
59378 if ac_fn_cxx_try_compile "$LINENO"; then :
59379 glibcxx_cv_func_isnanf_use=yes
59380 else
59381 glibcxx_cv_func_isnanf_use=no
59382 fi
59383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59384 ac_ext=c
59385 ac_cpp='$CPP $CPPFLAGS'
59386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59389
59390
59391 fi
59392
59393 fi
59394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59395 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59396
59397 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59398 for ac_func in isnanf
59399 do :
59400 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59401 if test "x$ac_cv_func_isnanf" = x""yes; then :
59402 cat >>confdefs.h <<_ACEOF
59403 #define HAVE_ISNANF 1
59404 _ACEOF
59405
59406 fi
59407 done
59408
59409 else
59410
59411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59412 $as_echo_n "checking for _isnanf declaration... " >&6; }
59413 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59414 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59415 $as_echo_n "(cached) " >&6
59416 else
59417
59418
59419 ac_ext=cpp
59420 ac_cpp='$CXXCPP $CPPFLAGS'
59421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59424
59425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59426 /* end confdefs.h. */
59427 #include <math.h>
59428 #ifdef HAVE_IEEEFP_H
59429 #include <ieeefp.h>
59430 #endif
59431
59432 int
59433 main ()
59434 {
59435 _isnanf(0);
59436 ;
59437 return 0;
59438 }
59439 _ACEOF
59440 if ac_fn_cxx_try_compile "$LINENO"; then :
59441 glibcxx_cv_func__isnanf_use=yes
59442 else
59443 glibcxx_cv_func__isnanf_use=no
59444 fi
59445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59446 ac_ext=c
59447 ac_cpp='$CPP $CPPFLAGS'
59448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59451
59452
59453 fi
59454
59455 fi
59456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59457 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59458
59459 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59460 for ac_func in _isnanf
59461 do :
59462 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59463 if test "x$ac_cv_func__isnanf" = x""yes; then :
59464 cat >>confdefs.h <<_ACEOF
59465 #define HAVE__ISNANF 1
59466 _ACEOF
59467
59468 fi
59469 done
59470
59471 fi
59472 fi
59473
59474
59475
59476
59477
59478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59479 $as_echo_n "checking for isinff declaration... " >&6; }
59480 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59481 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59482 $as_echo_n "(cached) " >&6
59483 else
59484
59485
59486 ac_ext=cpp
59487 ac_cpp='$CXXCPP $CPPFLAGS'
59488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59491
59492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59493 /* end confdefs.h. */
59494 #include <math.h>
59495 #ifdef HAVE_IEEEFP_H
59496 #include <ieeefp.h>
59497 #endif
59498
59499 int
59500 main ()
59501 {
59502 isinff(0);
59503 ;
59504 return 0;
59505 }
59506 _ACEOF
59507 if ac_fn_cxx_try_compile "$LINENO"; then :
59508 glibcxx_cv_func_isinff_use=yes
59509 else
59510 glibcxx_cv_func_isinff_use=no
59511 fi
59512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59513 ac_ext=c
59514 ac_cpp='$CPP $CPPFLAGS'
59515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59518
59519
59520 fi
59521
59522 fi
59523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59524 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59525
59526 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59527 for ac_func in isinff
59528 do :
59529 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59530 if test "x$ac_cv_func_isinff" = x""yes; then :
59531 cat >>confdefs.h <<_ACEOF
59532 #define HAVE_ISINFF 1
59533 _ACEOF
59534
59535 fi
59536 done
59537
59538 else
59539
59540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59541 $as_echo_n "checking for _isinff declaration... " >&6; }
59542 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59543 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59544 $as_echo_n "(cached) " >&6
59545 else
59546
59547
59548 ac_ext=cpp
59549 ac_cpp='$CXXCPP $CPPFLAGS'
59550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59553
59554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59555 /* end confdefs.h. */
59556 #include <math.h>
59557 #ifdef HAVE_IEEEFP_H
59558 #include <ieeefp.h>
59559 #endif
59560
59561 int
59562 main ()
59563 {
59564 _isinff(0);
59565 ;
59566 return 0;
59567 }
59568 _ACEOF
59569 if ac_fn_cxx_try_compile "$LINENO"; then :
59570 glibcxx_cv_func__isinff_use=yes
59571 else
59572 glibcxx_cv_func__isinff_use=no
59573 fi
59574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59575 ac_ext=c
59576 ac_cpp='$CPP $CPPFLAGS'
59577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59580
59581
59582 fi
59583
59584 fi
59585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59586 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59587
59588 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59589 for ac_func in _isinff
59590 do :
59591 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59592 if test "x$ac_cv_func__isinff" = x""yes; then :
59593 cat >>confdefs.h <<_ACEOF
59594 #define HAVE__ISINFF 1
59595 _ACEOF
59596
59597 fi
59598 done
59599
59600 fi
59601 fi
59602
59603
59604
59605
59606
59607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59608 $as_echo_n "checking for atan2f declaration... " >&6; }
59609 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59610 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59611 $as_echo_n "(cached) " >&6
59612 else
59613
59614
59615 ac_ext=cpp
59616 ac_cpp='$CXXCPP $CPPFLAGS'
59617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59620
59621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59622 /* end confdefs.h. */
59623 #include <math.h>
59624 int
59625 main ()
59626 {
59627 atan2f(0, 0);
59628 ;
59629 return 0;
59630 }
59631 _ACEOF
59632 if ac_fn_cxx_try_compile "$LINENO"; then :
59633 glibcxx_cv_func_atan2f_use=yes
59634 else
59635 glibcxx_cv_func_atan2f_use=no
59636 fi
59637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59638 ac_ext=c
59639 ac_cpp='$CPP $CPPFLAGS'
59640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59643
59644
59645 fi
59646
59647 fi
59648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59649 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59650
59651 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59652 for ac_func in atan2f
59653 do :
59654 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59655 if test "x$ac_cv_func_atan2f" = x""yes; then :
59656 cat >>confdefs.h <<_ACEOF
59657 #define HAVE_ATAN2F 1
59658 _ACEOF
59659
59660 fi
59661 done
59662
59663 else
59664
59665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59666 $as_echo_n "checking for _atan2f declaration... " >&6; }
59667 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59668 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59669 $as_echo_n "(cached) " >&6
59670 else
59671
59672
59673 ac_ext=cpp
59674 ac_cpp='$CXXCPP $CPPFLAGS'
59675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59678
59679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59680 /* end confdefs.h. */
59681 #include <math.h>
59682 int
59683 main ()
59684 {
59685 _atan2f(0, 0);
59686 ;
59687 return 0;
59688 }
59689 _ACEOF
59690 if ac_fn_cxx_try_compile "$LINENO"; then :
59691 glibcxx_cv_func__atan2f_use=yes
59692 else
59693 glibcxx_cv_func__atan2f_use=no
59694 fi
59695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59696 ac_ext=c
59697 ac_cpp='$CPP $CPPFLAGS'
59698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59701
59702
59703 fi
59704
59705 fi
59706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59707 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59708
59709 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59710 for ac_func in _atan2f
59711 do :
59712 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59713 if test "x$ac_cv_func__atan2f" = x""yes; then :
59714 cat >>confdefs.h <<_ACEOF
59715 #define HAVE__ATAN2F 1
59716 _ACEOF
59717
59718 fi
59719 done
59720
59721 fi
59722 fi
59723
59724
59725
59726
59727
59728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59729 $as_echo_n "checking for fabsf declaration... " >&6; }
59730 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59731 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59732 $as_echo_n "(cached) " >&6
59733 else
59734
59735
59736 ac_ext=cpp
59737 ac_cpp='$CXXCPP $CPPFLAGS'
59738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59741
59742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59743 /* end confdefs.h. */
59744 #include <math.h>
59745 #ifdef HAVE_IEEEFP_H
59746 #include <ieeefp.h>
59747 #endif
59748
59749 int
59750 main ()
59751 {
59752 fabsf(0);
59753 ;
59754 return 0;
59755 }
59756 _ACEOF
59757 if ac_fn_cxx_try_compile "$LINENO"; then :
59758 glibcxx_cv_func_fabsf_use=yes
59759 else
59760 glibcxx_cv_func_fabsf_use=no
59761 fi
59762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59763 ac_ext=c
59764 ac_cpp='$CPP $CPPFLAGS'
59765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59768
59769
59770 fi
59771
59772 fi
59773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59774 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59775
59776 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59777 for ac_func in fabsf
59778 do :
59779 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59780 if test "x$ac_cv_func_fabsf" = x""yes; then :
59781 cat >>confdefs.h <<_ACEOF
59782 #define HAVE_FABSF 1
59783 _ACEOF
59784
59785 fi
59786 done
59787
59788 else
59789
59790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59791 $as_echo_n "checking for _fabsf declaration... " >&6; }
59792 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59793 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59794 $as_echo_n "(cached) " >&6
59795 else
59796
59797
59798 ac_ext=cpp
59799 ac_cpp='$CXXCPP $CPPFLAGS'
59800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59803
59804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59805 /* end confdefs.h. */
59806 #include <math.h>
59807 #ifdef HAVE_IEEEFP_H
59808 #include <ieeefp.h>
59809 #endif
59810
59811 int
59812 main ()
59813 {
59814 _fabsf(0);
59815 ;
59816 return 0;
59817 }
59818 _ACEOF
59819 if ac_fn_cxx_try_compile "$LINENO"; then :
59820 glibcxx_cv_func__fabsf_use=yes
59821 else
59822 glibcxx_cv_func__fabsf_use=no
59823 fi
59824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59825 ac_ext=c
59826 ac_cpp='$CPP $CPPFLAGS'
59827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59830
59831
59832 fi
59833
59834 fi
59835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59836 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59837
59838 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59839 for ac_func in _fabsf
59840 do :
59841 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59842 if test "x$ac_cv_func__fabsf" = x""yes; then :
59843 cat >>confdefs.h <<_ACEOF
59844 #define HAVE__FABSF 1
59845 _ACEOF
59846
59847 fi
59848 done
59849
59850 fi
59851 fi
59852
59853
59854
59855
59856
59857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59858 $as_echo_n "checking for fmodf declaration... " >&6; }
59859 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59860 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59861 $as_echo_n "(cached) " >&6
59862 else
59863
59864
59865 ac_ext=cpp
59866 ac_cpp='$CXXCPP $CPPFLAGS'
59867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59870
59871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59872 /* end confdefs.h. */
59873 #include <math.h>
59874 int
59875 main ()
59876 {
59877 fmodf(0, 0);
59878 ;
59879 return 0;
59880 }
59881 _ACEOF
59882 if ac_fn_cxx_try_compile "$LINENO"; then :
59883 glibcxx_cv_func_fmodf_use=yes
59884 else
59885 glibcxx_cv_func_fmodf_use=no
59886 fi
59887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59888 ac_ext=c
59889 ac_cpp='$CPP $CPPFLAGS'
59890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59893
59894
59895 fi
59896
59897 fi
59898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59899 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59900
59901 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59902 for ac_func in fmodf
59903 do :
59904 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59905 if test "x$ac_cv_func_fmodf" = x""yes; then :
59906 cat >>confdefs.h <<_ACEOF
59907 #define HAVE_FMODF 1
59908 _ACEOF
59909
59910 fi
59911 done
59912
59913 else
59914
59915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59916 $as_echo_n "checking for _fmodf declaration... " >&6; }
59917 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59918 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59919 $as_echo_n "(cached) " >&6
59920 else
59921
59922
59923 ac_ext=cpp
59924 ac_cpp='$CXXCPP $CPPFLAGS'
59925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59928
59929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59930 /* end confdefs.h. */
59931 #include <math.h>
59932 int
59933 main ()
59934 {
59935 _fmodf(0, 0);
59936 ;
59937 return 0;
59938 }
59939 _ACEOF
59940 if ac_fn_cxx_try_compile "$LINENO"; then :
59941 glibcxx_cv_func__fmodf_use=yes
59942 else
59943 glibcxx_cv_func__fmodf_use=no
59944 fi
59945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59946 ac_ext=c
59947 ac_cpp='$CPP $CPPFLAGS'
59948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59951
59952
59953 fi
59954
59955 fi
59956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59957 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59958
59959 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59960 for ac_func in _fmodf
59961 do :
59962 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59963 if test "x$ac_cv_func__fmodf" = x""yes; then :
59964 cat >>confdefs.h <<_ACEOF
59965 #define HAVE__FMODF 1
59966 _ACEOF
59967
59968 fi
59969 done
59970
59971 fi
59972 fi
59973
59974
59975
59976
59977
59978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59979 $as_echo_n "checking for frexpf declaration... " >&6; }
59980 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59981 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59982 $as_echo_n "(cached) " >&6
59983 else
59984
59985
59986 ac_ext=cpp
59987 ac_cpp='$CXXCPP $CPPFLAGS'
59988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59991
59992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59993 /* end confdefs.h. */
59994 #include <math.h>
59995 int
59996 main ()
59997 {
59998 frexpf(0, 0);
59999 ;
60000 return 0;
60001 }
60002 _ACEOF
60003 if ac_fn_cxx_try_compile "$LINENO"; then :
60004 glibcxx_cv_func_frexpf_use=yes
60005 else
60006 glibcxx_cv_func_frexpf_use=no
60007 fi
60008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60009 ac_ext=c
60010 ac_cpp='$CPP $CPPFLAGS'
60011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60014
60015
60016 fi
60017
60018 fi
60019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60020 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60021
60022 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60023 for ac_func in frexpf
60024 do :
60025 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60026 if test "x$ac_cv_func_frexpf" = x""yes; then :
60027 cat >>confdefs.h <<_ACEOF
60028 #define HAVE_FREXPF 1
60029 _ACEOF
60030
60031 fi
60032 done
60033
60034 else
60035
60036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60037 $as_echo_n "checking for _frexpf declaration... " >&6; }
60038 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60039 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60040 $as_echo_n "(cached) " >&6
60041 else
60042
60043
60044 ac_ext=cpp
60045 ac_cpp='$CXXCPP $CPPFLAGS'
60046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60049
60050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60051 /* end confdefs.h. */
60052 #include <math.h>
60053 int
60054 main ()
60055 {
60056 _frexpf(0, 0);
60057 ;
60058 return 0;
60059 }
60060 _ACEOF
60061 if ac_fn_cxx_try_compile "$LINENO"; then :
60062 glibcxx_cv_func__frexpf_use=yes
60063 else
60064 glibcxx_cv_func__frexpf_use=no
60065 fi
60066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60067 ac_ext=c
60068 ac_cpp='$CPP $CPPFLAGS'
60069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60072
60073
60074 fi
60075
60076 fi
60077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60078 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60079
60080 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60081 for ac_func in _frexpf
60082 do :
60083 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60084 if test "x$ac_cv_func__frexpf" = x""yes; then :
60085 cat >>confdefs.h <<_ACEOF
60086 #define HAVE__FREXPF 1
60087 _ACEOF
60088
60089 fi
60090 done
60091
60092 fi
60093 fi
60094
60095
60096
60097
60098
60099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60100 $as_echo_n "checking for hypotf declaration... " >&6; }
60101 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60102 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60103 $as_echo_n "(cached) " >&6
60104 else
60105
60106
60107 ac_ext=cpp
60108 ac_cpp='$CXXCPP $CPPFLAGS'
60109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60112
60113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60114 /* end confdefs.h. */
60115 #include <math.h>
60116 int
60117 main ()
60118 {
60119 hypotf(0, 0);
60120 ;
60121 return 0;
60122 }
60123 _ACEOF
60124 if ac_fn_cxx_try_compile "$LINENO"; then :
60125 glibcxx_cv_func_hypotf_use=yes
60126 else
60127 glibcxx_cv_func_hypotf_use=no
60128 fi
60129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60130 ac_ext=c
60131 ac_cpp='$CPP $CPPFLAGS'
60132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60135
60136
60137 fi
60138
60139 fi
60140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60141 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60142
60143 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60144 for ac_func in hypotf
60145 do :
60146 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60147 if test "x$ac_cv_func_hypotf" = x""yes; then :
60148 cat >>confdefs.h <<_ACEOF
60149 #define HAVE_HYPOTF 1
60150 _ACEOF
60151
60152 fi
60153 done
60154
60155 else
60156
60157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60158 $as_echo_n "checking for _hypotf declaration... " >&6; }
60159 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60160 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60161 $as_echo_n "(cached) " >&6
60162 else
60163
60164
60165 ac_ext=cpp
60166 ac_cpp='$CXXCPP $CPPFLAGS'
60167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60170
60171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60172 /* end confdefs.h. */
60173 #include <math.h>
60174 int
60175 main ()
60176 {
60177 _hypotf(0, 0);
60178 ;
60179 return 0;
60180 }
60181 _ACEOF
60182 if ac_fn_cxx_try_compile "$LINENO"; then :
60183 glibcxx_cv_func__hypotf_use=yes
60184 else
60185 glibcxx_cv_func__hypotf_use=no
60186 fi
60187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60188 ac_ext=c
60189 ac_cpp='$CPP $CPPFLAGS'
60190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60193
60194
60195 fi
60196
60197 fi
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60199 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60200
60201 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60202 for ac_func in _hypotf
60203 do :
60204 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60205 if test "x$ac_cv_func__hypotf" = x""yes; then :
60206 cat >>confdefs.h <<_ACEOF
60207 #define HAVE__HYPOTF 1
60208 _ACEOF
60209
60210 fi
60211 done
60212
60213 fi
60214 fi
60215
60216
60217
60218
60219
60220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60221 $as_echo_n "checking for ldexpf declaration... " >&6; }
60222 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60223 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60224 $as_echo_n "(cached) " >&6
60225 else
60226
60227
60228 ac_ext=cpp
60229 ac_cpp='$CXXCPP $CPPFLAGS'
60230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60233
60234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60235 /* end confdefs.h. */
60236 #include <math.h>
60237 int
60238 main ()
60239 {
60240 ldexpf(0, 0);
60241 ;
60242 return 0;
60243 }
60244 _ACEOF
60245 if ac_fn_cxx_try_compile "$LINENO"; then :
60246 glibcxx_cv_func_ldexpf_use=yes
60247 else
60248 glibcxx_cv_func_ldexpf_use=no
60249 fi
60250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60251 ac_ext=c
60252 ac_cpp='$CPP $CPPFLAGS'
60253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60256
60257
60258 fi
60259
60260 fi
60261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60262 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60263
60264 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60265 for ac_func in ldexpf
60266 do :
60267 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60268 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60269 cat >>confdefs.h <<_ACEOF
60270 #define HAVE_LDEXPF 1
60271 _ACEOF
60272
60273 fi
60274 done
60275
60276 else
60277
60278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60279 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60280 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60281 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60282 $as_echo_n "(cached) " >&6
60283 else
60284
60285
60286 ac_ext=cpp
60287 ac_cpp='$CXXCPP $CPPFLAGS'
60288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60291
60292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60293 /* end confdefs.h. */
60294 #include <math.h>
60295 int
60296 main ()
60297 {
60298 _ldexpf(0, 0);
60299 ;
60300 return 0;
60301 }
60302 _ACEOF
60303 if ac_fn_cxx_try_compile "$LINENO"; then :
60304 glibcxx_cv_func__ldexpf_use=yes
60305 else
60306 glibcxx_cv_func__ldexpf_use=no
60307 fi
60308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60309 ac_ext=c
60310 ac_cpp='$CPP $CPPFLAGS'
60311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60314
60315
60316 fi
60317
60318 fi
60319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60320 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60321
60322 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60323 for ac_func in _ldexpf
60324 do :
60325 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60326 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60327 cat >>confdefs.h <<_ACEOF
60328 #define HAVE__LDEXPF 1
60329 _ACEOF
60330
60331 fi
60332 done
60333
60334 fi
60335 fi
60336
60337
60338
60339
60340
60341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60342 $as_echo_n "checking for logf declaration... " >&6; }
60343 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60344 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60345 $as_echo_n "(cached) " >&6
60346 else
60347
60348
60349 ac_ext=cpp
60350 ac_cpp='$CXXCPP $CPPFLAGS'
60351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60354
60355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60356 /* end confdefs.h. */
60357 #include <math.h>
60358 #ifdef HAVE_IEEEFP_H
60359 #include <ieeefp.h>
60360 #endif
60361
60362 int
60363 main ()
60364 {
60365 logf(0);
60366 ;
60367 return 0;
60368 }
60369 _ACEOF
60370 if ac_fn_cxx_try_compile "$LINENO"; then :
60371 glibcxx_cv_func_logf_use=yes
60372 else
60373 glibcxx_cv_func_logf_use=no
60374 fi
60375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60376 ac_ext=c
60377 ac_cpp='$CPP $CPPFLAGS'
60378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60381
60382
60383 fi
60384
60385 fi
60386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60387 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60388
60389 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60390 for ac_func in logf
60391 do :
60392 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60393 if test "x$ac_cv_func_logf" = x""yes; then :
60394 cat >>confdefs.h <<_ACEOF
60395 #define HAVE_LOGF 1
60396 _ACEOF
60397
60398 fi
60399 done
60400
60401 else
60402
60403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60404 $as_echo_n "checking for _logf declaration... " >&6; }
60405 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60406 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60407 $as_echo_n "(cached) " >&6
60408 else
60409
60410
60411 ac_ext=cpp
60412 ac_cpp='$CXXCPP $CPPFLAGS'
60413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60416
60417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60418 /* end confdefs.h. */
60419 #include <math.h>
60420 #ifdef HAVE_IEEEFP_H
60421 #include <ieeefp.h>
60422 #endif
60423
60424 int
60425 main ()
60426 {
60427 _logf(0);
60428 ;
60429 return 0;
60430 }
60431 _ACEOF
60432 if ac_fn_cxx_try_compile "$LINENO"; then :
60433 glibcxx_cv_func__logf_use=yes
60434 else
60435 glibcxx_cv_func__logf_use=no
60436 fi
60437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60438 ac_ext=c
60439 ac_cpp='$CPP $CPPFLAGS'
60440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60443
60444
60445 fi
60446
60447 fi
60448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60449 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60450
60451 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60452 for ac_func in _logf
60453 do :
60454 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60455 if test "x$ac_cv_func__logf" = x""yes; then :
60456 cat >>confdefs.h <<_ACEOF
60457 #define HAVE__LOGF 1
60458 _ACEOF
60459
60460 fi
60461 done
60462
60463 fi
60464 fi
60465
60466
60467
60468
60469
60470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60471 $as_echo_n "checking for log10f declaration... " >&6; }
60472 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60473 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60474 $as_echo_n "(cached) " >&6
60475 else
60476
60477
60478 ac_ext=cpp
60479 ac_cpp='$CXXCPP $CPPFLAGS'
60480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60483
60484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60485 /* end confdefs.h. */
60486 #include <math.h>
60487 #ifdef HAVE_IEEEFP_H
60488 #include <ieeefp.h>
60489 #endif
60490
60491 int
60492 main ()
60493 {
60494 log10f(0);
60495 ;
60496 return 0;
60497 }
60498 _ACEOF
60499 if ac_fn_cxx_try_compile "$LINENO"; then :
60500 glibcxx_cv_func_log10f_use=yes
60501 else
60502 glibcxx_cv_func_log10f_use=no
60503 fi
60504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60505 ac_ext=c
60506 ac_cpp='$CPP $CPPFLAGS'
60507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60510
60511
60512 fi
60513
60514 fi
60515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60516 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60517
60518 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60519 for ac_func in log10f
60520 do :
60521 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60522 if test "x$ac_cv_func_log10f" = x""yes; then :
60523 cat >>confdefs.h <<_ACEOF
60524 #define HAVE_LOG10F 1
60525 _ACEOF
60526
60527 fi
60528 done
60529
60530 else
60531
60532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60533 $as_echo_n "checking for _log10f declaration... " >&6; }
60534 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60535 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60536 $as_echo_n "(cached) " >&6
60537 else
60538
60539
60540 ac_ext=cpp
60541 ac_cpp='$CXXCPP $CPPFLAGS'
60542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60545
60546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60547 /* end confdefs.h. */
60548 #include <math.h>
60549 #ifdef HAVE_IEEEFP_H
60550 #include <ieeefp.h>
60551 #endif
60552
60553 int
60554 main ()
60555 {
60556 _log10f(0);
60557 ;
60558 return 0;
60559 }
60560 _ACEOF
60561 if ac_fn_cxx_try_compile "$LINENO"; then :
60562 glibcxx_cv_func__log10f_use=yes
60563 else
60564 glibcxx_cv_func__log10f_use=no
60565 fi
60566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60567 ac_ext=c
60568 ac_cpp='$CPP $CPPFLAGS'
60569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60572
60573
60574 fi
60575
60576 fi
60577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60578 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60579
60580 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60581 for ac_func in _log10f
60582 do :
60583 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60584 if test "x$ac_cv_func__log10f" = x""yes; then :
60585 cat >>confdefs.h <<_ACEOF
60586 #define HAVE__LOG10F 1
60587 _ACEOF
60588
60589 fi
60590 done
60591
60592 fi
60593 fi
60594
60595
60596
60597
60598
60599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60600 $as_echo_n "checking for modff declaration... " >&6; }
60601 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60602 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60603 $as_echo_n "(cached) " >&6
60604 else
60605
60606
60607 ac_ext=cpp
60608 ac_cpp='$CXXCPP $CPPFLAGS'
60609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60612
60613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60614 /* end confdefs.h. */
60615 #include <math.h>
60616 int
60617 main ()
60618 {
60619 modff(0, 0);
60620 ;
60621 return 0;
60622 }
60623 _ACEOF
60624 if ac_fn_cxx_try_compile "$LINENO"; then :
60625 glibcxx_cv_func_modff_use=yes
60626 else
60627 glibcxx_cv_func_modff_use=no
60628 fi
60629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60630 ac_ext=c
60631 ac_cpp='$CPP $CPPFLAGS'
60632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60635
60636
60637 fi
60638
60639 fi
60640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60641 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60642
60643 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60644 for ac_func in modff
60645 do :
60646 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60647 if test "x$ac_cv_func_modff" = x""yes; then :
60648 cat >>confdefs.h <<_ACEOF
60649 #define HAVE_MODFF 1
60650 _ACEOF
60651
60652 fi
60653 done
60654
60655 else
60656
60657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60658 $as_echo_n "checking for _modff declaration... " >&6; }
60659 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60660 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60661 $as_echo_n "(cached) " >&6
60662 else
60663
60664
60665 ac_ext=cpp
60666 ac_cpp='$CXXCPP $CPPFLAGS'
60667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60670
60671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60672 /* end confdefs.h. */
60673 #include <math.h>
60674 int
60675 main ()
60676 {
60677 _modff(0, 0);
60678 ;
60679 return 0;
60680 }
60681 _ACEOF
60682 if ac_fn_cxx_try_compile "$LINENO"; then :
60683 glibcxx_cv_func__modff_use=yes
60684 else
60685 glibcxx_cv_func__modff_use=no
60686 fi
60687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60688 ac_ext=c
60689 ac_cpp='$CPP $CPPFLAGS'
60690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60693
60694
60695 fi
60696
60697 fi
60698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60699 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60700
60701 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60702 for ac_func in _modff
60703 do :
60704 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60705 if test "x$ac_cv_func__modff" = x""yes; then :
60706 cat >>confdefs.h <<_ACEOF
60707 #define HAVE__MODFF 1
60708 _ACEOF
60709
60710 fi
60711 done
60712
60713 fi
60714 fi
60715
60716
60717
60718
60719
60720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60721 $as_echo_n "checking for modf declaration... " >&6; }
60722 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60723 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60724 $as_echo_n "(cached) " >&6
60725 else
60726
60727
60728 ac_ext=cpp
60729 ac_cpp='$CXXCPP $CPPFLAGS'
60730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60733
60734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60735 /* end confdefs.h. */
60736 #include <math.h>
60737 int
60738 main ()
60739 {
60740 modf(0, 0);
60741 ;
60742 return 0;
60743 }
60744 _ACEOF
60745 if ac_fn_cxx_try_compile "$LINENO"; then :
60746 glibcxx_cv_func_modf_use=yes
60747 else
60748 glibcxx_cv_func_modf_use=no
60749 fi
60750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60751 ac_ext=c
60752 ac_cpp='$CPP $CPPFLAGS'
60753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60756
60757
60758 fi
60759
60760 fi
60761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60762 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60763
60764 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60765 for ac_func in modf
60766 do :
60767 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60768 if test "x$ac_cv_func_modf" = x""yes; then :
60769 cat >>confdefs.h <<_ACEOF
60770 #define HAVE_MODF 1
60771 _ACEOF
60772
60773 fi
60774 done
60775
60776 else
60777
60778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60779 $as_echo_n "checking for _modf declaration... " >&6; }
60780 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60781 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60782 $as_echo_n "(cached) " >&6
60783 else
60784
60785
60786 ac_ext=cpp
60787 ac_cpp='$CXXCPP $CPPFLAGS'
60788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60791
60792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60793 /* end confdefs.h. */
60794 #include <math.h>
60795 int
60796 main ()
60797 {
60798 _modf(0, 0);
60799 ;
60800 return 0;
60801 }
60802 _ACEOF
60803 if ac_fn_cxx_try_compile "$LINENO"; then :
60804 glibcxx_cv_func__modf_use=yes
60805 else
60806 glibcxx_cv_func__modf_use=no
60807 fi
60808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60809 ac_ext=c
60810 ac_cpp='$CPP $CPPFLAGS'
60811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60814
60815
60816 fi
60817
60818 fi
60819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60820 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60821
60822 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60823 for ac_func in _modf
60824 do :
60825 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60826 if test "x$ac_cv_func__modf" = x""yes; then :
60827 cat >>confdefs.h <<_ACEOF
60828 #define HAVE__MODF 1
60829 _ACEOF
60830
60831 fi
60832 done
60833
60834 fi
60835 fi
60836
60837
60838
60839
60840
60841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60842 $as_echo_n "checking for powf declaration... " >&6; }
60843 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60844 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60845 $as_echo_n "(cached) " >&6
60846 else
60847
60848
60849 ac_ext=cpp
60850 ac_cpp='$CXXCPP $CPPFLAGS'
60851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60854
60855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60856 /* end confdefs.h. */
60857 #include <math.h>
60858 int
60859 main ()
60860 {
60861 powf(0, 0);
60862 ;
60863 return 0;
60864 }
60865 _ACEOF
60866 if ac_fn_cxx_try_compile "$LINENO"; then :
60867 glibcxx_cv_func_powf_use=yes
60868 else
60869 glibcxx_cv_func_powf_use=no
60870 fi
60871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60872 ac_ext=c
60873 ac_cpp='$CPP $CPPFLAGS'
60874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60877
60878
60879 fi
60880
60881 fi
60882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60883 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60884
60885 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60886 for ac_func in powf
60887 do :
60888 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60889 if test "x$ac_cv_func_powf" = x""yes; then :
60890 cat >>confdefs.h <<_ACEOF
60891 #define HAVE_POWF 1
60892 _ACEOF
60893
60894 fi
60895 done
60896
60897 else
60898
60899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60900 $as_echo_n "checking for _powf declaration... " >&6; }
60901 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60902 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60903 $as_echo_n "(cached) " >&6
60904 else
60905
60906
60907 ac_ext=cpp
60908 ac_cpp='$CXXCPP $CPPFLAGS'
60909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60912
60913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60914 /* end confdefs.h. */
60915 #include <math.h>
60916 int
60917 main ()
60918 {
60919 _powf(0, 0);
60920 ;
60921 return 0;
60922 }
60923 _ACEOF
60924 if ac_fn_cxx_try_compile "$LINENO"; then :
60925 glibcxx_cv_func__powf_use=yes
60926 else
60927 glibcxx_cv_func__powf_use=no
60928 fi
60929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60930 ac_ext=c
60931 ac_cpp='$CPP $CPPFLAGS'
60932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60935
60936
60937 fi
60938
60939 fi
60940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60941 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60942
60943 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60944 for ac_func in _powf
60945 do :
60946 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60947 if test "x$ac_cv_func__powf" = x""yes; then :
60948 cat >>confdefs.h <<_ACEOF
60949 #define HAVE__POWF 1
60950 _ACEOF
60951
60952 fi
60953 done
60954
60955 fi
60956 fi
60957
60958
60959
60960
60961
60962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60963 $as_echo_n "checking for sqrtf declaration... " >&6; }
60964 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60965 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60966 $as_echo_n "(cached) " >&6
60967 else
60968
60969
60970 ac_ext=cpp
60971 ac_cpp='$CXXCPP $CPPFLAGS'
60972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60975
60976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60977 /* end confdefs.h. */
60978 #include <math.h>
60979 #ifdef HAVE_IEEEFP_H
60980 #include <ieeefp.h>
60981 #endif
60982
60983 int
60984 main ()
60985 {
60986 sqrtf(0);
60987 ;
60988 return 0;
60989 }
60990 _ACEOF
60991 if ac_fn_cxx_try_compile "$LINENO"; then :
60992 glibcxx_cv_func_sqrtf_use=yes
60993 else
60994 glibcxx_cv_func_sqrtf_use=no
60995 fi
60996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60997 ac_ext=c
60998 ac_cpp='$CPP $CPPFLAGS'
60999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61002
61003
61004 fi
61005
61006 fi
61007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61008 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61009
61010 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61011 for ac_func in sqrtf
61012 do :
61013 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61014 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61015 cat >>confdefs.h <<_ACEOF
61016 #define HAVE_SQRTF 1
61017 _ACEOF
61018
61019 fi
61020 done
61021
61022 else
61023
61024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61025 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61026 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61027 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61028 $as_echo_n "(cached) " >&6
61029 else
61030
61031
61032 ac_ext=cpp
61033 ac_cpp='$CXXCPP $CPPFLAGS'
61034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61037
61038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61039 /* end confdefs.h. */
61040 #include <math.h>
61041 #ifdef HAVE_IEEEFP_H
61042 #include <ieeefp.h>
61043 #endif
61044
61045 int
61046 main ()
61047 {
61048 _sqrtf(0);
61049 ;
61050 return 0;
61051 }
61052 _ACEOF
61053 if ac_fn_cxx_try_compile "$LINENO"; then :
61054 glibcxx_cv_func__sqrtf_use=yes
61055 else
61056 glibcxx_cv_func__sqrtf_use=no
61057 fi
61058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61059 ac_ext=c
61060 ac_cpp='$CPP $CPPFLAGS'
61061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61064
61065
61066 fi
61067
61068 fi
61069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61070 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61071
61072 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61073 for ac_func in _sqrtf
61074 do :
61075 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61076 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61077 cat >>confdefs.h <<_ACEOF
61078 #define HAVE__SQRTF 1
61079 _ACEOF
61080
61081 fi
61082 done
61083
61084 fi
61085 fi
61086
61087
61088
61089
61090
61091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61092 $as_echo_n "checking for sincosf declaration... " >&6; }
61093 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61094 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61095 $as_echo_n "(cached) " >&6
61096 else
61097
61098
61099 ac_ext=cpp
61100 ac_cpp='$CXXCPP $CPPFLAGS'
61101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61104
61105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61106 /* end confdefs.h. */
61107 #include <math.h>
61108 int
61109 main ()
61110 {
61111 sincosf(0, 0, 0);
61112 ;
61113 return 0;
61114 }
61115 _ACEOF
61116 if ac_fn_cxx_try_compile "$LINENO"; then :
61117 glibcxx_cv_func_sincosf_use=yes
61118 else
61119 glibcxx_cv_func_sincosf_use=no
61120 fi
61121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61122 ac_ext=c
61123 ac_cpp='$CPP $CPPFLAGS'
61124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61127
61128
61129 fi
61130
61131 fi
61132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61133 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61134
61135 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61136 for ac_func in sincosf
61137 do :
61138 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61139 if test "x$ac_cv_func_sincosf" = x""yes; then :
61140 cat >>confdefs.h <<_ACEOF
61141 #define HAVE_SINCOSF 1
61142 _ACEOF
61143
61144 fi
61145 done
61146
61147 else
61148
61149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61150 $as_echo_n "checking for _sincosf declaration... " >&6; }
61151 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61152 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61153 $as_echo_n "(cached) " >&6
61154 else
61155
61156
61157 ac_ext=cpp
61158 ac_cpp='$CXXCPP $CPPFLAGS'
61159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61162
61163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61164 /* end confdefs.h. */
61165 #include <math.h>
61166 int
61167 main ()
61168 {
61169 _sincosf(0, 0, 0);
61170 ;
61171 return 0;
61172 }
61173 _ACEOF
61174 if ac_fn_cxx_try_compile "$LINENO"; then :
61175 glibcxx_cv_func__sincosf_use=yes
61176 else
61177 glibcxx_cv_func__sincosf_use=no
61178 fi
61179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61180 ac_ext=c
61181 ac_cpp='$CPP $CPPFLAGS'
61182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61185
61186
61187 fi
61188
61189 fi
61190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61191 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61192
61193 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61194 for ac_func in _sincosf
61195 do :
61196 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61197 if test "x$ac_cv_func__sincosf" = x""yes; then :
61198 cat >>confdefs.h <<_ACEOF
61199 #define HAVE__SINCOSF 1
61200 _ACEOF
61201
61202 fi
61203 done
61204
61205 fi
61206 fi
61207
61208
61209
61210
61211
61212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61213 $as_echo_n "checking for finitef declaration... " >&6; }
61214 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61215 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61216 $as_echo_n "(cached) " >&6
61217 else
61218
61219
61220 ac_ext=cpp
61221 ac_cpp='$CXXCPP $CPPFLAGS'
61222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61225
61226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61227 /* end confdefs.h. */
61228 #include <math.h>
61229 #ifdef HAVE_IEEEFP_H
61230 #include <ieeefp.h>
61231 #endif
61232
61233 int
61234 main ()
61235 {
61236 finitef(0);
61237 ;
61238 return 0;
61239 }
61240 _ACEOF
61241 if ac_fn_cxx_try_compile "$LINENO"; then :
61242 glibcxx_cv_func_finitef_use=yes
61243 else
61244 glibcxx_cv_func_finitef_use=no
61245 fi
61246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61247 ac_ext=c
61248 ac_cpp='$CPP $CPPFLAGS'
61249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61252
61253
61254 fi
61255
61256 fi
61257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61258 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61259
61260 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61261 for ac_func in finitef
61262 do :
61263 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61264 if test "x$ac_cv_func_finitef" = x""yes; then :
61265 cat >>confdefs.h <<_ACEOF
61266 #define HAVE_FINITEF 1
61267 _ACEOF
61268
61269 fi
61270 done
61271
61272 else
61273
61274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61275 $as_echo_n "checking for _finitef declaration... " >&6; }
61276 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61277 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61278 $as_echo_n "(cached) " >&6
61279 else
61280
61281
61282 ac_ext=cpp
61283 ac_cpp='$CXXCPP $CPPFLAGS'
61284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61287
61288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61289 /* end confdefs.h. */
61290 #include <math.h>
61291 #ifdef HAVE_IEEEFP_H
61292 #include <ieeefp.h>
61293 #endif
61294
61295 int
61296 main ()
61297 {
61298 _finitef(0);
61299 ;
61300 return 0;
61301 }
61302 _ACEOF
61303 if ac_fn_cxx_try_compile "$LINENO"; then :
61304 glibcxx_cv_func__finitef_use=yes
61305 else
61306 glibcxx_cv_func__finitef_use=no
61307 fi
61308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61309 ac_ext=c
61310 ac_cpp='$CPP $CPPFLAGS'
61311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61314
61315
61316 fi
61317
61318 fi
61319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61320 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61321
61322 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61323 for ac_func in _finitef
61324 do :
61325 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61326 if test "x$ac_cv_func__finitef" = x""yes; then :
61327 cat >>confdefs.h <<_ACEOF
61328 #define HAVE__FINITEF 1
61329 _ACEOF
61330
61331 fi
61332 done
61333
61334 fi
61335 fi
61336
61337
61338
61339
61340
61341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61342 $as_echo_n "checking for long double trig functions... " >&6; }
61343 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61344 $as_echo_n "(cached) " >&6
61345 else
61346
61347
61348 ac_ext=cpp
61349 ac_cpp='$CXXCPP $CPPFLAGS'
61350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61353
61354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61355 /* end confdefs.h. */
61356 #include <math.h>
61357 int
61358 main ()
61359 {
61360 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61361 ;
61362 return 0;
61363 }
61364 _ACEOF
61365 if ac_fn_cxx_try_compile "$LINENO"; then :
61366 glibcxx_cv_func_long_double_trig_use=yes
61367 else
61368 glibcxx_cv_func_long_double_trig_use=no
61369 fi
61370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61371 ac_ext=c
61372 ac_cpp='$CPP $CPPFLAGS'
61373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61376
61377 fi
61378
61379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61380 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61381 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61382 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61383 do :
61384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61386 eval as_val=\$$as_ac_var
61387 if test "x$as_val" = x""yes; then :
61388 cat >>confdefs.h <<_ACEOF
61389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61390 _ACEOF
61391
61392 fi
61393 done
61394
61395 else
61396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61397 $as_echo_n "checking for _long double trig functions... " >&6; }
61398 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61399 $as_echo_n "(cached) " >&6
61400 else
61401
61402
61403 ac_ext=cpp
61404 ac_cpp='$CXXCPP $CPPFLAGS'
61405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61408
61409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61410 /* end confdefs.h. */
61411 #include <math.h>
61412 int
61413 main ()
61414 {
61415 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61416 ;
61417 return 0;
61418 }
61419 _ACEOF
61420 if ac_fn_cxx_try_compile "$LINENO"; then :
61421 glibcxx_cv_func__long_double_trig_use=yes
61422 else
61423 glibcxx_cv_func__long_double_trig_use=no
61424 fi
61425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61426 ac_ext=c
61427 ac_cpp='$CPP $CPPFLAGS'
61428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61431
61432 fi
61433
61434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61435 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61436 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61437 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61438 do :
61439 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61440 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61441 eval as_val=\$$as_ac_var
61442 if test "x$as_val" = x""yes; then :
61443 cat >>confdefs.h <<_ACEOF
61444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61445 _ACEOF
61446
61447 fi
61448 done
61449
61450 fi
61451 fi
61452
61453
61454
61455
61456
61457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61458 $as_echo_n "checking for long double round functions... " >&6; }
61459 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61460 $as_echo_n "(cached) " >&6
61461 else
61462
61463
61464 ac_ext=cpp
61465 ac_cpp='$CXXCPP $CPPFLAGS'
61466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61469
61470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61471 /* end confdefs.h. */
61472 #include <math.h>
61473 int
61474 main ()
61475 {
61476 ceill (0); floorl (0);
61477 ;
61478 return 0;
61479 }
61480 _ACEOF
61481 if ac_fn_cxx_try_compile "$LINENO"; then :
61482 glibcxx_cv_func_long_double_round_use=yes
61483 else
61484 glibcxx_cv_func_long_double_round_use=no
61485 fi
61486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61487 ac_ext=c
61488 ac_cpp='$CPP $CPPFLAGS'
61489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61492
61493 fi
61494
61495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61496 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61497 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61498 for ac_func in ceill floorl
61499 do :
61500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61502 eval as_val=\$$as_ac_var
61503 if test "x$as_val" = x""yes; then :
61504 cat >>confdefs.h <<_ACEOF
61505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61506 _ACEOF
61507
61508 fi
61509 done
61510
61511 else
61512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61513 $as_echo_n "checking for _long double round functions... " >&6; }
61514 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61515 $as_echo_n "(cached) " >&6
61516 else
61517
61518
61519 ac_ext=cpp
61520 ac_cpp='$CXXCPP $CPPFLAGS'
61521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61524
61525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61526 /* end confdefs.h. */
61527 #include <math.h>
61528 int
61529 main ()
61530 {
61531 _ceill (0); _floorl (0);
61532 ;
61533 return 0;
61534 }
61535 _ACEOF
61536 if ac_fn_cxx_try_compile "$LINENO"; then :
61537 glibcxx_cv_func__long_double_round_use=yes
61538 else
61539 glibcxx_cv_func__long_double_round_use=no
61540 fi
61541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61542 ac_ext=c
61543 ac_cpp='$CPP $CPPFLAGS'
61544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61547
61548 fi
61549
61550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61551 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61552 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61553 for ac_func in _ceill _floorl
61554 do :
61555 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61556 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61557 eval as_val=\$$as_ac_var
61558 if test "x$as_val" = x""yes; then :
61559 cat >>confdefs.h <<_ACEOF
61560 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61561 _ACEOF
61562
61563 fi
61564 done
61565
61566 fi
61567 fi
61568
61569
61570
61571
61572
61573
61574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61575 $as_echo_n "checking for isnanl declaration... " >&6; }
61576 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61577 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61578 $as_echo_n "(cached) " >&6
61579 else
61580
61581
61582 ac_ext=cpp
61583 ac_cpp='$CXXCPP $CPPFLAGS'
61584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61587
61588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61589 /* end confdefs.h. */
61590 #include <math.h>
61591 #ifdef HAVE_IEEEFP_H
61592 #include <ieeefp.h>
61593 #endif
61594
61595 int
61596 main ()
61597 {
61598 isnanl(0);
61599 ;
61600 return 0;
61601 }
61602 _ACEOF
61603 if ac_fn_cxx_try_compile "$LINENO"; then :
61604 glibcxx_cv_func_isnanl_use=yes
61605 else
61606 glibcxx_cv_func_isnanl_use=no
61607 fi
61608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61609 ac_ext=c
61610 ac_cpp='$CPP $CPPFLAGS'
61611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61614
61615
61616 fi
61617
61618 fi
61619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61620 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61621
61622 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61623 for ac_func in isnanl
61624 do :
61625 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61626 if test "x$ac_cv_func_isnanl" = x""yes; then :
61627 cat >>confdefs.h <<_ACEOF
61628 #define HAVE_ISNANL 1
61629 _ACEOF
61630
61631 fi
61632 done
61633
61634 else
61635
61636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61637 $as_echo_n "checking for _isnanl declaration... " >&6; }
61638 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61639 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61640 $as_echo_n "(cached) " >&6
61641 else
61642
61643
61644 ac_ext=cpp
61645 ac_cpp='$CXXCPP $CPPFLAGS'
61646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61649
61650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61651 /* end confdefs.h. */
61652 #include <math.h>
61653 #ifdef HAVE_IEEEFP_H
61654 #include <ieeefp.h>
61655 #endif
61656
61657 int
61658 main ()
61659 {
61660 _isnanl(0);
61661 ;
61662 return 0;
61663 }
61664 _ACEOF
61665 if ac_fn_cxx_try_compile "$LINENO"; then :
61666 glibcxx_cv_func__isnanl_use=yes
61667 else
61668 glibcxx_cv_func__isnanl_use=no
61669 fi
61670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61671 ac_ext=c
61672 ac_cpp='$CPP $CPPFLAGS'
61673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61676
61677
61678 fi
61679
61680 fi
61681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61682 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61683
61684 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61685 for ac_func in _isnanl
61686 do :
61687 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61688 if test "x$ac_cv_func__isnanl" = x""yes; then :
61689 cat >>confdefs.h <<_ACEOF
61690 #define HAVE__ISNANL 1
61691 _ACEOF
61692
61693 fi
61694 done
61695
61696 fi
61697 fi
61698
61699
61700
61701
61702
61703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61704 $as_echo_n "checking for isinfl declaration... " >&6; }
61705 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61706 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61707 $as_echo_n "(cached) " >&6
61708 else
61709
61710
61711 ac_ext=cpp
61712 ac_cpp='$CXXCPP $CPPFLAGS'
61713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61716
61717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61718 /* end confdefs.h. */
61719 #include <math.h>
61720 #ifdef HAVE_IEEEFP_H
61721 #include <ieeefp.h>
61722 #endif
61723
61724 int
61725 main ()
61726 {
61727 isinfl(0);
61728 ;
61729 return 0;
61730 }
61731 _ACEOF
61732 if ac_fn_cxx_try_compile "$LINENO"; then :
61733 glibcxx_cv_func_isinfl_use=yes
61734 else
61735 glibcxx_cv_func_isinfl_use=no
61736 fi
61737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61738 ac_ext=c
61739 ac_cpp='$CPP $CPPFLAGS'
61740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61743
61744
61745 fi
61746
61747 fi
61748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61749 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61750
61751 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61752 for ac_func in isinfl
61753 do :
61754 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61755 if test "x$ac_cv_func_isinfl" = x""yes; then :
61756 cat >>confdefs.h <<_ACEOF
61757 #define HAVE_ISINFL 1
61758 _ACEOF
61759
61760 fi
61761 done
61762
61763 else
61764
61765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61766 $as_echo_n "checking for _isinfl declaration... " >&6; }
61767 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61768 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61769 $as_echo_n "(cached) " >&6
61770 else
61771
61772
61773 ac_ext=cpp
61774 ac_cpp='$CXXCPP $CPPFLAGS'
61775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61778
61779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61780 /* end confdefs.h. */
61781 #include <math.h>
61782 #ifdef HAVE_IEEEFP_H
61783 #include <ieeefp.h>
61784 #endif
61785
61786 int
61787 main ()
61788 {
61789 _isinfl(0);
61790 ;
61791 return 0;
61792 }
61793 _ACEOF
61794 if ac_fn_cxx_try_compile "$LINENO"; then :
61795 glibcxx_cv_func__isinfl_use=yes
61796 else
61797 glibcxx_cv_func__isinfl_use=no
61798 fi
61799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61800 ac_ext=c
61801 ac_cpp='$CPP $CPPFLAGS'
61802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61805
61806
61807 fi
61808
61809 fi
61810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61811 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61812
61813 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61814 for ac_func in _isinfl
61815 do :
61816 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61817 if test "x$ac_cv_func__isinfl" = x""yes; then :
61818 cat >>confdefs.h <<_ACEOF
61819 #define HAVE__ISINFL 1
61820 _ACEOF
61821
61822 fi
61823 done
61824
61825 fi
61826 fi
61827
61828
61829
61830
61831
61832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61833 $as_echo_n "checking for atan2l declaration... " >&6; }
61834 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61835 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61836 $as_echo_n "(cached) " >&6
61837 else
61838
61839
61840 ac_ext=cpp
61841 ac_cpp='$CXXCPP $CPPFLAGS'
61842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61845
61846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61847 /* end confdefs.h. */
61848 #include <math.h>
61849 int
61850 main ()
61851 {
61852 atan2l(0, 0);
61853 ;
61854 return 0;
61855 }
61856 _ACEOF
61857 if ac_fn_cxx_try_compile "$LINENO"; then :
61858 glibcxx_cv_func_atan2l_use=yes
61859 else
61860 glibcxx_cv_func_atan2l_use=no
61861 fi
61862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61863 ac_ext=c
61864 ac_cpp='$CPP $CPPFLAGS'
61865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61868
61869
61870 fi
61871
61872 fi
61873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61874 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61875
61876 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61877 for ac_func in atan2l
61878 do :
61879 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61880 if test "x$ac_cv_func_atan2l" = x""yes; then :
61881 cat >>confdefs.h <<_ACEOF
61882 #define HAVE_ATAN2L 1
61883 _ACEOF
61884
61885 fi
61886 done
61887
61888 else
61889
61890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61891 $as_echo_n "checking for _atan2l declaration... " >&6; }
61892 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61893 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61894 $as_echo_n "(cached) " >&6
61895 else
61896
61897
61898 ac_ext=cpp
61899 ac_cpp='$CXXCPP $CPPFLAGS'
61900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61903
61904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61905 /* end confdefs.h. */
61906 #include <math.h>
61907 int
61908 main ()
61909 {
61910 _atan2l(0, 0);
61911 ;
61912 return 0;
61913 }
61914 _ACEOF
61915 if ac_fn_cxx_try_compile "$LINENO"; then :
61916 glibcxx_cv_func__atan2l_use=yes
61917 else
61918 glibcxx_cv_func__atan2l_use=no
61919 fi
61920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61921 ac_ext=c
61922 ac_cpp='$CPP $CPPFLAGS'
61923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61926
61927
61928 fi
61929
61930 fi
61931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61932 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61933
61934 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61935 for ac_func in _atan2l
61936 do :
61937 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61938 if test "x$ac_cv_func__atan2l" = x""yes; then :
61939 cat >>confdefs.h <<_ACEOF
61940 #define HAVE__ATAN2L 1
61941 _ACEOF
61942
61943 fi
61944 done
61945
61946 fi
61947 fi
61948
61949
61950
61951
61952
61953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61954 $as_echo_n "checking for expl declaration... " >&6; }
61955 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61956 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61957 $as_echo_n "(cached) " >&6
61958 else
61959
61960
61961 ac_ext=cpp
61962 ac_cpp='$CXXCPP $CPPFLAGS'
61963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61966
61967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61968 /* end confdefs.h. */
61969 #include <math.h>
61970 #ifdef HAVE_IEEEFP_H
61971 #include <ieeefp.h>
61972 #endif
61973
61974 int
61975 main ()
61976 {
61977 expl(0);
61978 ;
61979 return 0;
61980 }
61981 _ACEOF
61982 if ac_fn_cxx_try_compile "$LINENO"; then :
61983 glibcxx_cv_func_expl_use=yes
61984 else
61985 glibcxx_cv_func_expl_use=no
61986 fi
61987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61988 ac_ext=c
61989 ac_cpp='$CPP $CPPFLAGS'
61990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61993
61994
61995 fi
61996
61997 fi
61998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61999 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62000
62001 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62002 for ac_func in expl
62003 do :
62004 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62005 if test "x$ac_cv_func_expl" = x""yes; then :
62006 cat >>confdefs.h <<_ACEOF
62007 #define HAVE_EXPL 1
62008 _ACEOF
62009
62010 fi
62011 done
62012
62013 else
62014
62015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62016 $as_echo_n "checking for _expl declaration... " >&6; }
62017 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62018 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62019 $as_echo_n "(cached) " >&6
62020 else
62021
62022
62023 ac_ext=cpp
62024 ac_cpp='$CXXCPP $CPPFLAGS'
62025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62028
62029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62030 /* end confdefs.h. */
62031 #include <math.h>
62032 #ifdef HAVE_IEEEFP_H
62033 #include <ieeefp.h>
62034 #endif
62035
62036 int
62037 main ()
62038 {
62039 _expl(0);
62040 ;
62041 return 0;
62042 }
62043 _ACEOF
62044 if ac_fn_cxx_try_compile "$LINENO"; then :
62045 glibcxx_cv_func__expl_use=yes
62046 else
62047 glibcxx_cv_func__expl_use=no
62048 fi
62049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62050 ac_ext=c
62051 ac_cpp='$CPP $CPPFLAGS'
62052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62055
62056
62057 fi
62058
62059 fi
62060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62061 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62062
62063 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62064 for ac_func in _expl
62065 do :
62066 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62067 if test "x$ac_cv_func__expl" = x""yes; then :
62068 cat >>confdefs.h <<_ACEOF
62069 #define HAVE__EXPL 1
62070 _ACEOF
62071
62072 fi
62073 done
62074
62075 fi
62076 fi
62077
62078
62079
62080
62081
62082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62083 $as_echo_n "checking for fabsl declaration... " >&6; }
62084 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62085 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62086 $as_echo_n "(cached) " >&6
62087 else
62088
62089
62090 ac_ext=cpp
62091 ac_cpp='$CXXCPP $CPPFLAGS'
62092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62095
62096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62097 /* end confdefs.h. */
62098 #include <math.h>
62099 #ifdef HAVE_IEEEFP_H
62100 #include <ieeefp.h>
62101 #endif
62102
62103 int
62104 main ()
62105 {
62106 fabsl(0);
62107 ;
62108 return 0;
62109 }
62110 _ACEOF
62111 if ac_fn_cxx_try_compile "$LINENO"; then :
62112 glibcxx_cv_func_fabsl_use=yes
62113 else
62114 glibcxx_cv_func_fabsl_use=no
62115 fi
62116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62117 ac_ext=c
62118 ac_cpp='$CPP $CPPFLAGS'
62119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62122
62123
62124 fi
62125
62126 fi
62127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62128 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62129
62130 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62131 for ac_func in fabsl
62132 do :
62133 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62134 if test "x$ac_cv_func_fabsl" = x""yes; then :
62135 cat >>confdefs.h <<_ACEOF
62136 #define HAVE_FABSL 1
62137 _ACEOF
62138
62139 fi
62140 done
62141
62142 else
62143
62144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62145 $as_echo_n "checking for _fabsl declaration... " >&6; }
62146 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62147 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62148 $as_echo_n "(cached) " >&6
62149 else
62150
62151
62152 ac_ext=cpp
62153 ac_cpp='$CXXCPP $CPPFLAGS'
62154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62157
62158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62159 /* end confdefs.h. */
62160 #include <math.h>
62161 #ifdef HAVE_IEEEFP_H
62162 #include <ieeefp.h>
62163 #endif
62164
62165 int
62166 main ()
62167 {
62168 _fabsl(0);
62169 ;
62170 return 0;
62171 }
62172 _ACEOF
62173 if ac_fn_cxx_try_compile "$LINENO"; then :
62174 glibcxx_cv_func__fabsl_use=yes
62175 else
62176 glibcxx_cv_func__fabsl_use=no
62177 fi
62178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62179 ac_ext=c
62180 ac_cpp='$CPP $CPPFLAGS'
62181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62184
62185
62186 fi
62187
62188 fi
62189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62190 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62191
62192 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62193 for ac_func in _fabsl
62194 do :
62195 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62196 if test "x$ac_cv_func__fabsl" = x""yes; then :
62197 cat >>confdefs.h <<_ACEOF
62198 #define HAVE__FABSL 1
62199 _ACEOF
62200
62201 fi
62202 done
62203
62204 fi
62205 fi
62206
62207
62208
62209
62210
62211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62212 $as_echo_n "checking for fmodl declaration... " >&6; }
62213 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62214 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62215 $as_echo_n "(cached) " >&6
62216 else
62217
62218
62219 ac_ext=cpp
62220 ac_cpp='$CXXCPP $CPPFLAGS'
62221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62224
62225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62226 /* end confdefs.h. */
62227 #include <math.h>
62228 int
62229 main ()
62230 {
62231 fmodl(0, 0);
62232 ;
62233 return 0;
62234 }
62235 _ACEOF
62236 if ac_fn_cxx_try_compile "$LINENO"; then :
62237 glibcxx_cv_func_fmodl_use=yes
62238 else
62239 glibcxx_cv_func_fmodl_use=no
62240 fi
62241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62242 ac_ext=c
62243 ac_cpp='$CPP $CPPFLAGS'
62244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62247
62248
62249 fi
62250
62251 fi
62252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62253 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62254
62255 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62256 for ac_func in fmodl
62257 do :
62258 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62259 if test "x$ac_cv_func_fmodl" = x""yes; then :
62260 cat >>confdefs.h <<_ACEOF
62261 #define HAVE_FMODL 1
62262 _ACEOF
62263
62264 fi
62265 done
62266
62267 else
62268
62269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62270 $as_echo_n "checking for _fmodl declaration... " >&6; }
62271 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62272 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62273 $as_echo_n "(cached) " >&6
62274 else
62275
62276
62277 ac_ext=cpp
62278 ac_cpp='$CXXCPP $CPPFLAGS'
62279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62282
62283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62284 /* end confdefs.h. */
62285 #include <math.h>
62286 int
62287 main ()
62288 {
62289 _fmodl(0, 0);
62290 ;
62291 return 0;
62292 }
62293 _ACEOF
62294 if ac_fn_cxx_try_compile "$LINENO"; then :
62295 glibcxx_cv_func__fmodl_use=yes
62296 else
62297 glibcxx_cv_func__fmodl_use=no
62298 fi
62299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62300 ac_ext=c
62301 ac_cpp='$CPP $CPPFLAGS'
62302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62305
62306
62307 fi
62308
62309 fi
62310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62311 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62312
62313 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62314 for ac_func in _fmodl
62315 do :
62316 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62317 if test "x$ac_cv_func__fmodl" = x""yes; then :
62318 cat >>confdefs.h <<_ACEOF
62319 #define HAVE__FMODL 1
62320 _ACEOF
62321
62322 fi
62323 done
62324
62325 fi
62326 fi
62327
62328
62329
62330
62331
62332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62333 $as_echo_n "checking for frexpl declaration... " >&6; }
62334 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62335 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62336 $as_echo_n "(cached) " >&6
62337 else
62338
62339
62340 ac_ext=cpp
62341 ac_cpp='$CXXCPP $CPPFLAGS'
62342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62345
62346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62347 /* end confdefs.h. */
62348 #include <math.h>
62349 int
62350 main ()
62351 {
62352 frexpl(0, 0);
62353 ;
62354 return 0;
62355 }
62356 _ACEOF
62357 if ac_fn_cxx_try_compile "$LINENO"; then :
62358 glibcxx_cv_func_frexpl_use=yes
62359 else
62360 glibcxx_cv_func_frexpl_use=no
62361 fi
62362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62363 ac_ext=c
62364 ac_cpp='$CPP $CPPFLAGS'
62365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62368
62369
62370 fi
62371
62372 fi
62373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62374 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62375
62376 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62377 for ac_func in frexpl
62378 do :
62379 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62380 if test "x$ac_cv_func_frexpl" = x""yes; then :
62381 cat >>confdefs.h <<_ACEOF
62382 #define HAVE_FREXPL 1
62383 _ACEOF
62384
62385 fi
62386 done
62387
62388 else
62389
62390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62391 $as_echo_n "checking for _frexpl declaration... " >&6; }
62392 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62393 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62394 $as_echo_n "(cached) " >&6
62395 else
62396
62397
62398 ac_ext=cpp
62399 ac_cpp='$CXXCPP $CPPFLAGS'
62400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62403
62404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62405 /* end confdefs.h. */
62406 #include <math.h>
62407 int
62408 main ()
62409 {
62410 _frexpl(0, 0);
62411 ;
62412 return 0;
62413 }
62414 _ACEOF
62415 if ac_fn_cxx_try_compile "$LINENO"; then :
62416 glibcxx_cv_func__frexpl_use=yes
62417 else
62418 glibcxx_cv_func__frexpl_use=no
62419 fi
62420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62421 ac_ext=c
62422 ac_cpp='$CPP $CPPFLAGS'
62423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62426
62427
62428 fi
62429
62430 fi
62431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62432 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62433
62434 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62435 for ac_func in _frexpl
62436 do :
62437 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62438 if test "x$ac_cv_func__frexpl" = x""yes; then :
62439 cat >>confdefs.h <<_ACEOF
62440 #define HAVE__FREXPL 1
62441 _ACEOF
62442
62443 fi
62444 done
62445
62446 fi
62447 fi
62448
62449
62450
62451
62452
62453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62454 $as_echo_n "checking for hypotl declaration... " >&6; }
62455 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62456 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62457 $as_echo_n "(cached) " >&6
62458 else
62459
62460
62461 ac_ext=cpp
62462 ac_cpp='$CXXCPP $CPPFLAGS'
62463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62466
62467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62468 /* end confdefs.h. */
62469 #include <math.h>
62470 int
62471 main ()
62472 {
62473 hypotl(0, 0);
62474 ;
62475 return 0;
62476 }
62477 _ACEOF
62478 if ac_fn_cxx_try_compile "$LINENO"; then :
62479 glibcxx_cv_func_hypotl_use=yes
62480 else
62481 glibcxx_cv_func_hypotl_use=no
62482 fi
62483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62484 ac_ext=c
62485 ac_cpp='$CPP $CPPFLAGS'
62486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62489
62490
62491 fi
62492
62493 fi
62494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62495 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62496
62497 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62498 for ac_func in hypotl
62499 do :
62500 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62501 if test "x$ac_cv_func_hypotl" = x""yes; then :
62502 cat >>confdefs.h <<_ACEOF
62503 #define HAVE_HYPOTL 1
62504 _ACEOF
62505
62506 fi
62507 done
62508
62509 else
62510
62511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62512 $as_echo_n "checking for _hypotl declaration... " >&6; }
62513 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62514 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62515 $as_echo_n "(cached) " >&6
62516 else
62517
62518
62519 ac_ext=cpp
62520 ac_cpp='$CXXCPP $CPPFLAGS'
62521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62524
62525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62526 /* end confdefs.h. */
62527 #include <math.h>
62528 int
62529 main ()
62530 {
62531 _hypotl(0, 0);
62532 ;
62533 return 0;
62534 }
62535 _ACEOF
62536 if ac_fn_cxx_try_compile "$LINENO"; then :
62537 glibcxx_cv_func__hypotl_use=yes
62538 else
62539 glibcxx_cv_func__hypotl_use=no
62540 fi
62541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62542 ac_ext=c
62543 ac_cpp='$CPP $CPPFLAGS'
62544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62547
62548
62549 fi
62550
62551 fi
62552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62553 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62554
62555 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62556 for ac_func in _hypotl
62557 do :
62558 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62559 if test "x$ac_cv_func__hypotl" = x""yes; then :
62560 cat >>confdefs.h <<_ACEOF
62561 #define HAVE__HYPOTL 1
62562 _ACEOF
62563
62564 fi
62565 done
62566
62567 fi
62568 fi
62569
62570
62571
62572
62573
62574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62575 $as_echo_n "checking for ldexpl declaration... " >&6; }
62576 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62577 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62578 $as_echo_n "(cached) " >&6
62579 else
62580
62581
62582 ac_ext=cpp
62583 ac_cpp='$CXXCPP $CPPFLAGS'
62584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62587
62588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62589 /* end confdefs.h. */
62590 #include <math.h>
62591 int
62592 main ()
62593 {
62594 ldexpl(0, 0);
62595 ;
62596 return 0;
62597 }
62598 _ACEOF
62599 if ac_fn_cxx_try_compile "$LINENO"; then :
62600 glibcxx_cv_func_ldexpl_use=yes
62601 else
62602 glibcxx_cv_func_ldexpl_use=no
62603 fi
62604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62605 ac_ext=c
62606 ac_cpp='$CPP $CPPFLAGS'
62607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62610
62611
62612 fi
62613
62614 fi
62615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62616 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62617
62618 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62619 for ac_func in ldexpl
62620 do :
62621 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62622 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62623 cat >>confdefs.h <<_ACEOF
62624 #define HAVE_LDEXPL 1
62625 _ACEOF
62626
62627 fi
62628 done
62629
62630 else
62631
62632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62633 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62634 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62635 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62636 $as_echo_n "(cached) " >&6
62637 else
62638
62639
62640 ac_ext=cpp
62641 ac_cpp='$CXXCPP $CPPFLAGS'
62642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62645
62646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62647 /* end confdefs.h. */
62648 #include <math.h>
62649 int
62650 main ()
62651 {
62652 _ldexpl(0, 0);
62653 ;
62654 return 0;
62655 }
62656 _ACEOF
62657 if ac_fn_cxx_try_compile "$LINENO"; then :
62658 glibcxx_cv_func__ldexpl_use=yes
62659 else
62660 glibcxx_cv_func__ldexpl_use=no
62661 fi
62662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62663 ac_ext=c
62664 ac_cpp='$CPP $CPPFLAGS'
62665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62668
62669
62670 fi
62671
62672 fi
62673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62674 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62675
62676 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62677 for ac_func in _ldexpl
62678 do :
62679 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62680 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62681 cat >>confdefs.h <<_ACEOF
62682 #define HAVE__LDEXPL 1
62683 _ACEOF
62684
62685 fi
62686 done
62687
62688 fi
62689 fi
62690
62691
62692
62693
62694
62695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62696 $as_echo_n "checking for logl declaration... " >&6; }
62697 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62698 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62699 $as_echo_n "(cached) " >&6
62700 else
62701
62702
62703 ac_ext=cpp
62704 ac_cpp='$CXXCPP $CPPFLAGS'
62705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62708
62709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62710 /* end confdefs.h. */
62711 #include <math.h>
62712 #ifdef HAVE_IEEEFP_H
62713 #include <ieeefp.h>
62714 #endif
62715
62716 int
62717 main ()
62718 {
62719 logl(0);
62720 ;
62721 return 0;
62722 }
62723 _ACEOF
62724 if ac_fn_cxx_try_compile "$LINENO"; then :
62725 glibcxx_cv_func_logl_use=yes
62726 else
62727 glibcxx_cv_func_logl_use=no
62728 fi
62729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62730 ac_ext=c
62731 ac_cpp='$CPP $CPPFLAGS'
62732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62735
62736
62737 fi
62738
62739 fi
62740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62741 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62742
62743 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62744 for ac_func in logl
62745 do :
62746 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62747 if test "x$ac_cv_func_logl" = x""yes; then :
62748 cat >>confdefs.h <<_ACEOF
62749 #define HAVE_LOGL 1
62750 _ACEOF
62751
62752 fi
62753 done
62754
62755 else
62756
62757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62758 $as_echo_n "checking for _logl declaration... " >&6; }
62759 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62760 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62761 $as_echo_n "(cached) " >&6
62762 else
62763
62764
62765 ac_ext=cpp
62766 ac_cpp='$CXXCPP $CPPFLAGS'
62767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62770
62771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62772 /* end confdefs.h. */
62773 #include <math.h>
62774 #ifdef HAVE_IEEEFP_H
62775 #include <ieeefp.h>
62776 #endif
62777
62778 int
62779 main ()
62780 {
62781 _logl(0);
62782 ;
62783 return 0;
62784 }
62785 _ACEOF
62786 if ac_fn_cxx_try_compile "$LINENO"; then :
62787 glibcxx_cv_func__logl_use=yes
62788 else
62789 glibcxx_cv_func__logl_use=no
62790 fi
62791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62792 ac_ext=c
62793 ac_cpp='$CPP $CPPFLAGS'
62794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62797
62798
62799 fi
62800
62801 fi
62802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62803 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62804
62805 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62806 for ac_func in _logl
62807 do :
62808 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62809 if test "x$ac_cv_func__logl" = x""yes; then :
62810 cat >>confdefs.h <<_ACEOF
62811 #define HAVE__LOGL 1
62812 _ACEOF
62813
62814 fi
62815 done
62816
62817 fi
62818 fi
62819
62820
62821
62822
62823
62824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62825 $as_echo_n "checking for log10l declaration... " >&6; }
62826 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62827 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62828 $as_echo_n "(cached) " >&6
62829 else
62830
62831
62832 ac_ext=cpp
62833 ac_cpp='$CXXCPP $CPPFLAGS'
62834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62837
62838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62839 /* end confdefs.h. */
62840 #include <math.h>
62841 #ifdef HAVE_IEEEFP_H
62842 #include <ieeefp.h>
62843 #endif
62844
62845 int
62846 main ()
62847 {
62848 log10l(0);
62849 ;
62850 return 0;
62851 }
62852 _ACEOF
62853 if ac_fn_cxx_try_compile "$LINENO"; then :
62854 glibcxx_cv_func_log10l_use=yes
62855 else
62856 glibcxx_cv_func_log10l_use=no
62857 fi
62858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62859 ac_ext=c
62860 ac_cpp='$CPP $CPPFLAGS'
62861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62864
62865
62866 fi
62867
62868 fi
62869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62870 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62871
62872 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62873 for ac_func in log10l
62874 do :
62875 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62876 if test "x$ac_cv_func_log10l" = x""yes; then :
62877 cat >>confdefs.h <<_ACEOF
62878 #define HAVE_LOG10L 1
62879 _ACEOF
62880
62881 fi
62882 done
62883
62884 else
62885
62886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62887 $as_echo_n "checking for _log10l declaration... " >&6; }
62888 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62889 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62890 $as_echo_n "(cached) " >&6
62891 else
62892
62893
62894 ac_ext=cpp
62895 ac_cpp='$CXXCPP $CPPFLAGS'
62896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62899
62900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62901 /* end confdefs.h. */
62902 #include <math.h>
62903 #ifdef HAVE_IEEEFP_H
62904 #include <ieeefp.h>
62905 #endif
62906
62907 int
62908 main ()
62909 {
62910 _log10l(0);
62911 ;
62912 return 0;
62913 }
62914 _ACEOF
62915 if ac_fn_cxx_try_compile "$LINENO"; then :
62916 glibcxx_cv_func__log10l_use=yes
62917 else
62918 glibcxx_cv_func__log10l_use=no
62919 fi
62920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62921 ac_ext=c
62922 ac_cpp='$CPP $CPPFLAGS'
62923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62926
62927
62928 fi
62929
62930 fi
62931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62932 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62933
62934 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62935 for ac_func in _log10l
62936 do :
62937 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62938 if test "x$ac_cv_func__log10l" = x""yes; then :
62939 cat >>confdefs.h <<_ACEOF
62940 #define HAVE__LOG10L 1
62941 _ACEOF
62942
62943 fi
62944 done
62945
62946 fi
62947 fi
62948
62949
62950
62951
62952
62953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62954 $as_echo_n "checking for modfl declaration... " >&6; }
62955 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62956 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62957 $as_echo_n "(cached) " >&6
62958 else
62959
62960
62961 ac_ext=cpp
62962 ac_cpp='$CXXCPP $CPPFLAGS'
62963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62966
62967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62968 /* end confdefs.h. */
62969 #include <math.h>
62970 int
62971 main ()
62972 {
62973 modfl(0, 0);
62974 ;
62975 return 0;
62976 }
62977 _ACEOF
62978 if ac_fn_cxx_try_compile "$LINENO"; then :
62979 glibcxx_cv_func_modfl_use=yes
62980 else
62981 glibcxx_cv_func_modfl_use=no
62982 fi
62983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62984 ac_ext=c
62985 ac_cpp='$CPP $CPPFLAGS'
62986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62989
62990
62991 fi
62992
62993 fi
62994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62995 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62996
62997 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62998 for ac_func in modfl
62999 do :
63000 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63001 if test "x$ac_cv_func_modfl" = x""yes; then :
63002 cat >>confdefs.h <<_ACEOF
63003 #define HAVE_MODFL 1
63004 _ACEOF
63005
63006 fi
63007 done
63008
63009 else
63010
63011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63012 $as_echo_n "checking for _modfl declaration... " >&6; }
63013 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63014 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63015 $as_echo_n "(cached) " >&6
63016 else
63017
63018
63019 ac_ext=cpp
63020 ac_cpp='$CXXCPP $CPPFLAGS'
63021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63024
63025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63026 /* end confdefs.h. */
63027 #include <math.h>
63028 int
63029 main ()
63030 {
63031 _modfl(0, 0);
63032 ;
63033 return 0;
63034 }
63035 _ACEOF
63036 if ac_fn_cxx_try_compile "$LINENO"; then :
63037 glibcxx_cv_func__modfl_use=yes
63038 else
63039 glibcxx_cv_func__modfl_use=no
63040 fi
63041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63042 ac_ext=c
63043 ac_cpp='$CPP $CPPFLAGS'
63044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63047
63048
63049 fi
63050
63051 fi
63052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63053 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63054
63055 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63056 for ac_func in _modfl
63057 do :
63058 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63059 if test "x$ac_cv_func__modfl" = x""yes; then :
63060 cat >>confdefs.h <<_ACEOF
63061 #define HAVE__MODFL 1
63062 _ACEOF
63063
63064 fi
63065 done
63066
63067 fi
63068 fi
63069
63070
63071
63072
63073
63074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63075 $as_echo_n "checking for powl declaration... " >&6; }
63076 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63077 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63078 $as_echo_n "(cached) " >&6
63079 else
63080
63081
63082 ac_ext=cpp
63083 ac_cpp='$CXXCPP $CPPFLAGS'
63084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63087
63088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63089 /* end confdefs.h. */
63090 #include <math.h>
63091 int
63092 main ()
63093 {
63094 powl(0, 0);
63095 ;
63096 return 0;
63097 }
63098 _ACEOF
63099 if ac_fn_cxx_try_compile "$LINENO"; then :
63100 glibcxx_cv_func_powl_use=yes
63101 else
63102 glibcxx_cv_func_powl_use=no
63103 fi
63104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63105 ac_ext=c
63106 ac_cpp='$CPP $CPPFLAGS'
63107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63110
63111
63112 fi
63113
63114 fi
63115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63116 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63117
63118 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63119 for ac_func in powl
63120 do :
63121 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63122 if test "x$ac_cv_func_powl" = x""yes; then :
63123 cat >>confdefs.h <<_ACEOF
63124 #define HAVE_POWL 1
63125 _ACEOF
63126
63127 fi
63128 done
63129
63130 else
63131
63132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63133 $as_echo_n "checking for _powl declaration... " >&6; }
63134 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63135 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63136 $as_echo_n "(cached) " >&6
63137 else
63138
63139
63140 ac_ext=cpp
63141 ac_cpp='$CXXCPP $CPPFLAGS'
63142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63145
63146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63147 /* end confdefs.h. */
63148 #include <math.h>
63149 int
63150 main ()
63151 {
63152 _powl(0, 0);
63153 ;
63154 return 0;
63155 }
63156 _ACEOF
63157 if ac_fn_cxx_try_compile "$LINENO"; then :
63158 glibcxx_cv_func__powl_use=yes
63159 else
63160 glibcxx_cv_func__powl_use=no
63161 fi
63162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63163 ac_ext=c
63164 ac_cpp='$CPP $CPPFLAGS'
63165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63168
63169
63170 fi
63171
63172 fi
63173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63174 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63175
63176 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63177 for ac_func in _powl
63178 do :
63179 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63180 if test "x$ac_cv_func__powl" = x""yes; then :
63181 cat >>confdefs.h <<_ACEOF
63182 #define HAVE__POWL 1
63183 _ACEOF
63184
63185 fi
63186 done
63187
63188 fi
63189 fi
63190
63191
63192
63193
63194
63195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63196 $as_echo_n "checking for sqrtl declaration... " >&6; }
63197 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63198 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63199 $as_echo_n "(cached) " >&6
63200 else
63201
63202
63203 ac_ext=cpp
63204 ac_cpp='$CXXCPP $CPPFLAGS'
63205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63208
63209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63210 /* end confdefs.h. */
63211 #include <math.h>
63212 #ifdef HAVE_IEEEFP_H
63213 #include <ieeefp.h>
63214 #endif
63215
63216 int
63217 main ()
63218 {
63219 sqrtl(0);
63220 ;
63221 return 0;
63222 }
63223 _ACEOF
63224 if ac_fn_cxx_try_compile "$LINENO"; then :
63225 glibcxx_cv_func_sqrtl_use=yes
63226 else
63227 glibcxx_cv_func_sqrtl_use=no
63228 fi
63229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63230 ac_ext=c
63231 ac_cpp='$CPP $CPPFLAGS'
63232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63235
63236
63237 fi
63238
63239 fi
63240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63241 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63242
63243 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63244 for ac_func in sqrtl
63245 do :
63246 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63247 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63248 cat >>confdefs.h <<_ACEOF
63249 #define HAVE_SQRTL 1
63250 _ACEOF
63251
63252 fi
63253 done
63254
63255 else
63256
63257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63258 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63259 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63260 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63261 $as_echo_n "(cached) " >&6
63262 else
63263
63264
63265 ac_ext=cpp
63266 ac_cpp='$CXXCPP $CPPFLAGS'
63267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63270
63271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63272 /* end confdefs.h. */
63273 #include <math.h>
63274 #ifdef HAVE_IEEEFP_H
63275 #include <ieeefp.h>
63276 #endif
63277
63278 int
63279 main ()
63280 {
63281 _sqrtl(0);
63282 ;
63283 return 0;
63284 }
63285 _ACEOF
63286 if ac_fn_cxx_try_compile "$LINENO"; then :
63287 glibcxx_cv_func__sqrtl_use=yes
63288 else
63289 glibcxx_cv_func__sqrtl_use=no
63290 fi
63291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63292 ac_ext=c
63293 ac_cpp='$CPP $CPPFLAGS'
63294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63297
63298
63299 fi
63300
63301 fi
63302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63303 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63304
63305 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63306 for ac_func in _sqrtl
63307 do :
63308 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63309 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63310 cat >>confdefs.h <<_ACEOF
63311 #define HAVE__SQRTL 1
63312 _ACEOF
63313
63314 fi
63315 done
63316
63317 fi
63318 fi
63319
63320
63321
63322
63323
63324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63325 $as_echo_n "checking for sincosl declaration... " >&6; }
63326 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63327 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63328 $as_echo_n "(cached) " >&6
63329 else
63330
63331
63332 ac_ext=cpp
63333 ac_cpp='$CXXCPP $CPPFLAGS'
63334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63337
63338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63339 /* end confdefs.h. */
63340 #include <math.h>
63341 int
63342 main ()
63343 {
63344 sincosl(0, 0, 0);
63345 ;
63346 return 0;
63347 }
63348 _ACEOF
63349 if ac_fn_cxx_try_compile "$LINENO"; then :
63350 glibcxx_cv_func_sincosl_use=yes
63351 else
63352 glibcxx_cv_func_sincosl_use=no
63353 fi
63354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63355 ac_ext=c
63356 ac_cpp='$CPP $CPPFLAGS'
63357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63360
63361
63362 fi
63363
63364 fi
63365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63366 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63367
63368 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63369 for ac_func in sincosl
63370 do :
63371 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63372 if test "x$ac_cv_func_sincosl" = x""yes; then :
63373 cat >>confdefs.h <<_ACEOF
63374 #define HAVE_SINCOSL 1
63375 _ACEOF
63376
63377 fi
63378 done
63379
63380 else
63381
63382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63383 $as_echo_n "checking for _sincosl declaration... " >&6; }
63384 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63385 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63386 $as_echo_n "(cached) " >&6
63387 else
63388
63389
63390 ac_ext=cpp
63391 ac_cpp='$CXXCPP $CPPFLAGS'
63392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63395
63396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63397 /* end confdefs.h. */
63398 #include <math.h>
63399 int
63400 main ()
63401 {
63402 _sincosl(0, 0, 0);
63403 ;
63404 return 0;
63405 }
63406 _ACEOF
63407 if ac_fn_cxx_try_compile "$LINENO"; then :
63408 glibcxx_cv_func__sincosl_use=yes
63409 else
63410 glibcxx_cv_func__sincosl_use=no
63411 fi
63412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63413 ac_ext=c
63414 ac_cpp='$CPP $CPPFLAGS'
63415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63418
63419
63420 fi
63421
63422 fi
63423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63424 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63425
63426 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63427 for ac_func in _sincosl
63428 do :
63429 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63430 if test "x$ac_cv_func__sincosl" = x""yes; then :
63431 cat >>confdefs.h <<_ACEOF
63432 #define HAVE__SINCOSL 1
63433 _ACEOF
63434
63435 fi
63436 done
63437
63438 fi
63439 fi
63440
63441
63442
63443
63444
63445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63446 $as_echo_n "checking for finitel declaration... " >&6; }
63447 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63448 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63449 $as_echo_n "(cached) " >&6
63450 else
63451
63452
63453 ac_ext=cpp
63454 ac_cpp='$CXXCPP $CPPFLAGS'
63455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63458
63459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63460 /* end confdefs.h. */
63461 #include <math.h>
63462 #ifdef HAVE_IEEEFP_H
63463 #include <ieeefp.h>
63464 #endif
63465
63466 int
63467 main ()
63468 {
63469 finitel(0);
63470 ;
63471 return 0;
63472 }
63473 _ACEOF
63474 if ac_fn_cxx_try_compile "$LINENO"; then :
63475 glibcxx_cv_func_finitel_use=yes
63476 else
63477 glibcxx_cv_func_finitel_use=no
63478 fi
63479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63480 ac_ext=c
63481 ac_cpp='$CPP $CPPFLAGS'
63482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63485
63486
63487 fi
63488
63489 fi
63490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63491 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63492
63493 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63494 for ac_func in finitel
63495 do :
63496 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63497 if test "x$ac_cv_func_finitel" = x""yes; then :
63498 cat >>confdefs.h <<_ACEOF
63499 #define HAVE_FINITEL 1
63500 _ACEOF
63501
63502 fi
63503 done
63504
63505 else
63506
63507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63508 $as_echo_n "checking for _finitel declaration... " >&6; }
63509 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63510 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63511 $as_echo_n "(cached) " >&6
63512 else
63513
63514
63515 ac_ext=cpp
63516 ac_cpp='$CXXCPP $CPPFLAGS'
63517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63520
63521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63522 /* end confdefs.h. */
63523 #include <math.h>
63524 #ifdef HAVE_IEEEFP_H
63525 #include <ieeefp.h>
63526 #endif
63527
63528 int
63529 main ()
63530 {
63531 _finitel(0);
63532 ;
63533 return 0;
63534 }
63535 _ACEOF
63536 if ac_fn_cxx_try_compile "$LINENO"; then :
63537 glibcxx_cv_func__finitel_use=yes
63538 else
63539 glibcxx_cv_func__finitel_use=no
63540 fi
63541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63542 ac_ext=c
63543 ac_cpp='$CPP $CPPFLAGS'
63544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63547
63548
63549 fi
63550
63551 fi
63552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63553 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63554
63555 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63556 for ac_func in _finitel
63557 do :
63558 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63559 if test "x$ac_cv_func__finitel" = x""yes; then :
63560 cat >>confdefs.h <<_ACEOF
63561 #define HAVE__FINITEL 1
63562 _ACEOF
63563
63564 fi
63565 done
63566
63567 fi
63568 fi
63569
63570
63571
63572
63573 LIBS="$ac_save_LIBS"
63574 CXXFLAGS="$ac_save_CXXFLAGS"
63575
63576
63577 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63578 ac_save_CXXFLAGS="$CXXFLAGS"
63579 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63580
63581
63582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63583 $as_echo_n "checking for strtold declaration... " >&6; }
63584 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63585 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63586 $as_echo_n "(cached) " >&6
63587 else
63588
63589
63590 ac_ext=cpp
63591 ac_cpp='$CXXCPP $CPPFLAGS'
63592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63595
63596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63597 /* end confdefs.h. */
63598 #include <stdlib.h>
63599 int
63600 main ()
63601 {
63602 strtold(0, 0);
63603 ;
63604 return 0;
63605 }
63606 _ACEOF
63607 if ac_fn_cxx_try_compile "$LINENO"; then :
63608 glibcxx_cv_func_strtold_use=yes
63609 else
63610 glibcxx_cv_func_strtold_use=no
63611 fi
63612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63613 ac_ext=c
63614 ac_cpp='$CPP $CPPFLAGS'
63615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63618
63619
63620 fi
63621
63622 fi
63623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63624 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63625 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63626 for ac_func in strtold
63627 do :
63628 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63629 if test "x$ac_cv_func_strtold" = x""yes; then :
63630 cat >>confdefs.h <<_ACEOF
63631 #define HAVE_STRTOLD 1
63632 _ACEOF
63633
63634 fi
63635 done
63636
63637 fi
63638
63639
63640
63641
63642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63643 $as_echo_n "checking for strtof declaration... " >&6; }
63644 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63645 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63646 $as_echo_n "(cached) " >&6
63647 else
63648
63649
63650 ac_ext=cpp
63651 ac_cpp='$CXXCPP $CPPFLAGS'
63652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63655
63656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63657 /* end confdefs.h. */
63658 #include <stdlib.h>
63659 int
63660 main ()
63661 {
63662 strtof(0, 0);
63663 ;
63664 return 0;
63665 }
63666 _ACEOF
63667 if ac_fn_cxx_try_compile "$LINENO"; then :
63668 glibcxx_cv_func_strtof_use=yes
63669 else
63670 glibcxx_cv_func_strtof_use=no
63671 fi
63672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63673 ac_ext=c
63674 ac_cpp='$CPP $CPPFLAGS'
63675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63678
63679
63680 fi
63681
63682 fi
63683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63684 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63685 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63686 for ac_func in strtof
63687 do :
63688 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63689 if test "x$ac_cv_func_strtof" = x""yes; then :
63690 cat >>confdefs.h <<_ACEOF
63691 #define HAVE_STRTOF 1
63692 _ACEOF
63693
63694 fi
63695 done
63696
63697 fi
63698
63699
63700
63701
63702 CXXFLAGS="$ac_save_CXXFLAGS"
63703
63704 ;;
63705 *-solaris*)
63706 case "$target" in
63707 *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
63708
63709 # If we're not using GNU ld, then there's no point in even trying these
63710 # tests. Check for that first. We should have already tested for gld
63711 # by now (in libtool), but require it now just to be safe...
63712 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63713 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63714
63715
63716
63717 # The name set by libtool depends on the version of libtool. Shame on us
63718 # for depending on an impl detail, but c'est la vie. Older versions used
63719 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63720 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63721 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63722 # set (hence we're using an older libtool), then set it.
63723 if test x${with_gnu_ld+set} != xset; then
63724 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63725 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63726 with_gnu_ld=no
63727 else
63728 with_gnu_ld=$ac_cv_prog_gnu_ld
63729 fi
63730 fi
63731
63732 # Start by getting the version number. I think the libtool test already
63733 # does some of this, but throws away the result.
63734 glibcxx_ld_is_gold=no
63735 if test x"$with_gnu_ld" = x"yes"; then
63736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63737 $as_echo_n "checking for ld version... " >&6; }
63738
63739 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63740 glibcxx_ld_is_gold=yes
63741 fi
63742 ldver=`$LD --version 2>/dev/null |
63743 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'`
63744
63745 glibcxx_gnu_ld_version=`echo $ldver | \
63746 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63748 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63749 fi
63750
63751 # Set --gc-sections.
63752 glibcxx_have_gc_sections=no
63753 if test "$glibcxx_ld_is_gold" = "yes"; then
63754 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63755 glibcxx_have_gc_sections=yes
63756 fi
63757 else
63758 glibcxx_gcsections_min_ld=21602
63759 if test x"$with_gnu_ld" = x"yes" &&
63760 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63761 glibcxx_have_gc_sections=yes
63762 fi
63763 fi
63764 if test "$glibcxx_have_gc_sections" = "yes"; then
63765 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63766 # NB: This flag only works reliably after 2.16.1. Configure tests
63767 # for this are difficult, so hard wire a value that should work.
63768
63769 ac_test_CFLAGS="${CFLAGS+set}"
63770 ac_save_CFLAGS="$CFLAGS"
63771 CFLAGS='-Wl,--gc-sections'
63772
63773 # Check for -Wl,--gc-sections
63774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63775 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63776 if test x$gcc_no_link = xyes; then
63777 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63778 fi
63779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63780 /* end confdefs.h. */
63781 int one(void) { return 1; }
63782 int two(void) { return 2; }
63783
63784 int
63785 main ()
63786 {
63787 two();
63788 ;
63789 return 0;
63790 }
63791 _ACEOF
63792 if ac_fn_c_try_link "$LINENO"; then :
63793 ac_gcsections=yes
63794 else
63795 ac_gcsections=no
63796 fi
63797 rm -f core conftest.err conftest.$ac_objext \
63798 conftest$ac_exeext conftest.$ac_ext
63799 if test "$ac_gcsections" = "yes"; then
63800 rm -f conftest.c
63801 touch conftest.c
63802 if $CC -c conftest.c; then
63803 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63804 grep "Warning: gc-sections option ignored" > /dev/null; then
63805 ac_gcsections=no
63806 fi
63807 fi
63808 rm -f conftest.c conftest.o conftest
63809 fi
63810 if test "$ac_gcsections" = "yes"; then
63811 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63812 fi
63813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63814 $as_echo "$ac_gcsections" >&6; }
63815
63816 if test "$ac_test_CFLAGS" = set; then
63817 CFLAGS="$ac_save_CFLAGS"
63818 else
63819 # this is the suspicious part
63820 CFLAGS=''
63821 fi
63822 fi
63823
63824 # Set -z,relro.
63825 # Note this is only for shared objects.
63826 ac_ld_relro=no
63827 if test x"$with_gnu_ld" = x"yes"; then
63828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63829 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63830 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63831 if test -n "$cxx_z_relo"; then
63832 OPT_LDFLAGS="-Wl,-z,relro"
63833 ac_ld_relro=yes
63834 fi
63835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63836 $as_echo "$ac_ld_relro" >&6; }
63837 fi
63838
63839 # Set linker optimization flags.
63840 if test x"$with_gnu_ld" = x"yes"; then
63841 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63842 fi
63843
63844
63845
63846
63847 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63848
63849 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63850
63851 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63852
63853 # All of the dependencies for wide character support are here, so
63854 # turn it on.
63855 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63856
63857 ;;
63858 esac
63859 case "$target" in
63860 *-*-solaris2.10)
63861 # These two C99 functions are present only in Solaris >= 10
63862 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63863
63864 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63865
63866 ;;
63867 esac
63868 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63869
63870 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63871
63872 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63873
63874 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63875
63876 ;;
63877 *-tpf)
63878 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63879
63880
63881 # If we're not using GNU ld, then there's no point in even trying these
63882 # tests. Check for that first. We should have already tested for gld
63883 # by now (in libtool), but require it now just to be safe...
63884 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63885 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63886
63887
63888
63889 # The name set by libtool depends on the version of libtool. Shame on us
63890 # for depending on an impl detail, but c'est la vie. Older versions used
63891 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63892 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63893 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63894 # set (hence we're using an older libtool), then set it.
63895 if test x${with_gnu_ld+set} != xset; then
63896 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63897 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63898 with_gnu_ld=no
63899 else
63900 with_gnu_ld=$ac_cv_prog_gnu_ld
63901 fi
63902 fi
63903
63904 # Start by getting the version number. I think the libtool test already
63905 # does some of this, but throws away the result.
63906 glibcxx_ld_is_gold=no
63907 if test x"$with_gnu_ld" = x"yes"; then
63908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63909 $as_echo_n "checking for ld version... " >&6; }
63910
63911 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63912 glibcxx_ld_is_gold=yes
63913 fi
63914 ldver=`$LD --version 2>/dev/null |
63915 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'`
63916
63917 glibcxx_gnu_ld_version=`echo $ldver | \
63918 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63920 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63921 fi
63922
63923 # Set --gc-sections.
63924 glibcxx_have_gc_sections=no
63925 if test "$glibcxx_ld_is_gold" = "yes"; then
63926 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63927 glibcxx_have_gc_sections=yes
63928 fi
63929 else
63930 glibcxx_gcsections_min_ld=21602
63931 if test x"$with_gnu_ld" = x"yes" &&
63932 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63933 glibcxx_have_gc_sections=yes
63934 fi
63935 fi
63936 if test "$glibcxx_have_gc_sections" = "yes"; then
63937 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63938 # NB: This flag only works reliably after 2.16.1. Configure tests
63939 # for this are difficult, so hard wire a value that should work.
63940
63941 ac_test_CFLAGS="${CFLAGS+set}"
63942 ac_save_CFLAGS="$CFLAGS"
63943 CFLAGS='-Wl,--gc-sections'
63944
63945 # Check for -Wl,--gc-sections
63946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63947 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63948 if test x$gcc_no_link = xyes; then
63949 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63950 fi
63951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63952 /* end confdefs.h. */
63953 int one(void) { return 1; }
63954 int two(void) { return 2; }
63955
63956 int
63957 main ()
63958 {
63959 two();
63960 ;
63961 return 0;
63962 }
63963 _ACEOF
63964 if ac_fn_c_try_link "$LINENO"; then :
63965 ac_gcsections=yes
63966 else
63967 ac_gcsections=no
63968 fi
63969 rm -f core conftest.err conftest.$ac_objext \
63970 conftest$ac_exeext conftest.$ac_ext
63971 if test "$ac_gcsections" = "yes"; then
63972 rm -f conftest.c
63973 touch conftest.c
63974 if $CC -c conftest.c; then
63975 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63976 grep "Warning: gc-sections option ignored" > /dev/null; then
63977 ac_gcsections=no
63978 fi
63979 fi
63980 rm -f conftest.c conftest.o conftest
63981 fi
63982 if test "$ac_gcsections" = "yes"; then
63983 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63984 fi
63985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63986 $as_echo "$ac_gcsections" >&6; }
63987
63988 if test "$ac_test_CFLAGS" = set; then
63989 CFLAGS="$ac_save_CFLAGS"
63990 else
63991 # this is the suspicious part
63992 CFLAGS=''
63993 fi
63994 fi
63995
63996 # Set -z,relro.
63997 # Note this is only for shared objects.
63998 ac_ld_relro=no
63999 if test x"$with_gnu_ld" = x"yes"; then
64000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64001 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64002 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64003 if test -n "$cxx_z_relo"; then
64004 OPT_LDFLAGS="-Wl,-z,relro"
64005 ac_ld_relro=yes
64006 fi
64007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64008 $as_echo "$ac_ld_relro" >&6; }
64009 fi
64010
64011 # Set linker optimization flags.
64012 if test x"$with_gnu_ld" = x"yes"; then
64013 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64014 fi
64015
64016
64017
64018
64019 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64020
64021 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64022
64023 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64024
64025 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64026
64027 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64028
64029 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64030
64031 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64032
64033 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64034
64035 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
64036
64037 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
64038
64039 if test x"long_double_math_on_this_cpu" = x"yes"; then
64040 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64041
64042 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
64043
64044 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64045
64046 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64047
64048 fi
64049 ;;
64050 *-vxworks)
64051 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
64052
64053 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
64054
64055 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
64056
64057 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
64058
64059 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
64060
64061 $as_echo "#define HAVE_COSF 1" >>confdefs.h
64062
64063 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
64064
64065 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
64066
64067 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
64068
64069 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
64070
64071 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
64072
64073 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
64074
64075 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
64076
64077 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
64078
64079 $as_echo "#define HAVE_POWF 1" >>confdefs.h
64080
64081 $as_echo "#define HAVE_SINF 1" >>confdefs.h
64082
64083 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
64084
64085 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
64086
64087 $as_echo "#define HAVE_TANF 1" >>confdefs.h
64088
64089 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
64090
64091 ;;
64092 *)
64093 as_fn_error "No support for this host/target combination." "$LINENO" 5
64094 ;;
64095 esac
64096
64097 fi
64098
64099 # At some point, we should differentiate between architectures
64100 # like x86, which have long double versions, and alpha/powerpc/etc.,
64101 # which don't. For the time being, punt.
64102 if test x"long_double_math_on_this_cpu" = x"yes"; then
64103 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
64104
64105 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
64106
64107 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
64108
64109 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
64110
64111 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
64112
64113 $as_echo "#define HAVE_COSL 1" >>confdefs.h
64114
64115 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
64116
64117 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
64118
64119 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
64120
64121 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
64122
64123 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
64124
64125 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
64126
64127 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
64128
64129 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
64130
64131 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
64132
64133 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
64134
64135 $as_echo "#define HAVE_POWL 1" >>confdefs.h
64136
64137 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
64138
64139 $as_echo "#define HAVE_SINL 1" >>confdefs.h
64140
64141 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
64142
64143 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
64144
64145 $as_echo "#define HAVE_TANL 1" >>confdefs.h
64146
64147 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
64148
64149 fi
64150 fi
64151
64152 # Check for _Unwind_GetIPInfo.
64153
64154
64155 # Check whether --with-system-libunwind was given.
64156 if test "${with_system_libunwind+set}" = set; then :
64157 withval=$with_system_libunwind;
64158 fi
64159
64160 # If system-libunwind was not specifically set, pick a default setting.
64161 if test x$with_system_libunwind = x; then
64162 case ${target} in
64163 ia64-*-hpux*) with_system_libunwind=yes ;;
64164 *) with_system_libunwind=no ;;
64165 esac
64166 fi
64167 # Based on system-libunwind and target, do we have ipinfo?
64168 if test x$with_system_libunwind = xyes; then
64169 case ${target} in
64170 ia64-*-*) have_unwind_getipinfo=no ;;
64171 *) have_unwind_getipinfo=yes ;;
64172 esac
64173 else
64174 # Darwin before version 9 does not have _Unwind_GetIPInfo.
64175
64176 case ${target} in
64177 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
64178 *) have_unwind_getipinfo=yes ;;
64179 esac
64180
64181 fi
64182
64183 if test x$have_unwind_getipinfo = xyes; then
64184
64185 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
64186
64187 fi
64188
64189
64190 # Check whether --enable-linux-futex was given.
64191 if test "${enable_linux_futex+set}" = set; then :
64192 enableval=$enable_linux_futex;
64193 case "$enableval" in
64194 yes|no|default) ;;
64195 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
64196 esac
64197
64198 else
64199 enable_linux_futex=default
64200 fi
64201
64202
64203 case "$target" in
64204 *-linux*)
64205 case "$enable_linux_futex" in
64206 default)
64207 # If headers don't have gettid/futex syscalls definition, then
64208 # default to no, otherwise there will be compile time failures.
64209 # Otherwise, default to yes. If we don't detect we are
64210 # compiled/linked against NPTL and not cross-compiling, check
64211 # if programs are run by default against NPTL and if not, issue
64212 # a warning.
64213 enable_linux_futex=no
64214 if test x$gcc_no_link = xyes; then
64215 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64216 fi
64217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64218 /* end confdefs.h. */
64219 #include <sys/syscall.h>
64220 int lk;
64221 int
64222 main ()
64223 {
64224 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64225 ;
64226 return 0;
64227 }
64228 _ACEOF
64229 if ac_fn_c_try_link "$LINENO"; then :
64230 save_LIBS="$LIBS"
64231 LIBS="-lpthread $LIBS"
64232 if test x$gcc_no_link = xyes; then
64233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64234 fi
64235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64236 /* end confdefs.h. */
64237 #ifndef _GNU_SOURCE
64238 #define _GNU_SOURCE 1
64239 #endif
64240 #include <pthread.h>
64241 pthread_t th; void *status;
64242 int
64243 main ()
64244 {
64245 pthread_tryjoin_np (th, &status);
64246 ;
64247 return 0;
64248 }
64249 _ACEOF
64250 if ac_fn_c_try_link "$LINENO"; then :
64251 enable_linux_futex=yes
64252 else
64253 if test x$cross_compiling = xno; then
64254 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
64255 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
64256 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
64257 If so, please configure with --disable-linux-futex" >&5
64258 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
64259 If so, please configure with --disable-linux-futex" >&2;}
64260 fi
64261 fi
64262 enable_linux_futex=yes
64263 fi
64264 rm -f core conftest.err conftest.$ac_objext \
64265 conftest$ac_exeext conftest.$ac_ext
64266 LIBS="$save_LIBS"
64267 fi
64268 rm -f core conftest.err conftest.$ac_objext \
64269 conftest$ac_exeext conftest.$ac_ext
64270 ;;
64271 yes)
64272 if test x$gcc_no_link = xyes; then
64273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64274 fi
64275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64276 /* end confdefs.h. */
64277 #include <sys/syscall.h>
64278 int lk;
64279 int
64280 main ()
64281 {
64282 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
64283 ;
64284 return 0;
64285 }
64286 _ACEOF
64287 if ac_fn_c_try_link "$LINENO"; then :
64288
64289 else
64290 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
64291 fi
64292 rm -f core conftest.err conftest.$ac_objext \
64293 conftest$ac_exeext conftest.$ac_ext
64294 ;;
64295 esac
64296 ;;
64297 *)
64298 enable_linux_futex=no
64299 ;;
64300 esac
64301 if test x$enable_linux_futex = xyes; then
64302
64303 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
64304
64305 fi
64306
64307
64308
64309
64310 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
64311
64312 acx_cv_header_stdint=stddef.h
64313 acx_cv_header_stdint_kind="(already complete)"
64314 for i in stdint.h $inttype_headers; do
64315 unset ac_cv_type_uintptr_t
64316 unset ac_cv_type_uintmax_t
64317 unset ac_cv_type_int_least32_t
64318 unset ac_cv_type_int_fast32_t
64319 unset ac_cv_type_uint64_t
64320 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
64321 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
64322 #include <$i>
64323 "
64324 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
64325 acx_cv_header_stdint=$i
64326 else
64327 continue
64328 fi
64329
64330 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64331 #include <$i>
64332 "
64333 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64334
64335 else
64336 acx_cv_header_stdint_kind="(mostly complete)"
64337 fi
64338
64339 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
64340 #include <$i>
64341 "
64342 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
64343
64344 else
64345 acx_cv_header_stdint_kind="(mostly complete)"
64346 fi
64347
64348 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
64349 #include <$i>
64350 "
64351 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
64352
64353 else
64354 acx_cv_header_stdint_kind="(mostly complete)"
64355 fi
64356
64357 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64358 #include <$i>
64359 "
64360 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64361
64362 else
64363 acx_cv_header_stdint_kind="(lacks uint64_t)"
64364 fi
64365
64366 break
64367 done
64368 if test "$acx_cv_header_stdint" = stddef.h; then
64369 acx_cv_header_stdint_kind="(lacks uintmax_t)"
64370 for i in stdint.h $inttype_headers; do
64371 unset ac_cv_type_uintptr_t
64372 unset ac_cv_type_uint32_t
64373 unset ac_cv_type_uint64_t
64374 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
64375 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
64376 #include <$i>
64377 "
64378 if test "x$ac_cv_type_uint32_t" = x""yes; then :
64379 acx_cv_header_stdint=$i
64380 else
64381 continue
64382 fi
64383
64384 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
64385 #include <$i>
64386 "
64387 if test "x$ac_cv_type_uint64_t" = x""yes; then :
64388
64389 fi
64390
64391 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
64392 #include <$i>
64393 "
64394 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
64395
64396 fi
64397
64398 break
64399 done
64400 fi
64401 if test "$acx_cv_header_stdint" = stddef.h; then
64402 acx_cv_header_stdint_kind="(u_intXX_t style)"
64403 for i in sys/types.h $inttype_headers; do
64404 unset ac_cv_type_u_int32_t
64405 unset ac_cv_type_u_int64_t
64406 $as_echo_n "looking for u_intXX_t types in $i, " >&6
64407 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
64408 #include <$i>
64409 "
64410 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
64411 acx_cv_header_stdint=$i
64412 else
64413 continue
64414 fi
64415
64416 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
64417 #include <$i>
64418 "
64419 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
64420
64421 fi
64422
64423 break
64424 done
64425 fi
64426 if test "$acx_cv_header_stdint" = stddef.h; then
64427 acx_cv_header_stdint_kind="(using manual detection)"
64428 fi
64429
64430 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
64431 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
64432 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
64433 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
64434 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
64435
64436 # ----------------- Summarize what we found so far
64437
64438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
64439 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
64440
64441 case `$as_basename -- include/gstdint.h ||
64442 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
64443 Xinclude/gstdint.h : 'X\(//\)$' \| \
64444 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
64445 $as_echo X/include/gstdint.h |
64446 sed '/^.*\/\([^/][^/]*\)\/*$/{
64447 s//\1/
64448 q
64449 }
64450 /^X\/\(\/\/\)$/{
64451 s//\1/
64452 q
64453 }
64454 /^X\/\(\/\).*/{
64455 s//\1/
64456 q
64457 }
64458 s/.*/./; q'` in
64459 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64460 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64461 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
64462 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
64463 *) ;;
64464 esac
64465
64466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
64467 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
64468
64469 # ----------------- done included file, check C basic types --------
64470
64471 # Lacking an uintptr_t? Test size of void *
64472 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
64473 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
64474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64476 # This bug is HP SR number 8606223364.
64477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
64478 $as_echo_n "checking size of void *... " >&6; }
64479 if test "${ac_cv_sizeof_void_p+set}" = set; then :
64480 $as_echo_n "(cached) " >&6
64481 else
64482 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
64483
64484 else
64485 if test "$ac_cv_type_void_p" = yes; then
64486 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64487 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64488 { as_fn_set_status 77
64489 as_fn_error "cannot compute sizeof (void *)
64490 See \`config.log' for more details." "$LINENO" 5; }; }
64491 else
64492 ac_cv_sizeof_void_p=0
64493 fi
64494 fi
64495
64496 fi
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
64498 $as_echo "$ac_cv_sizeof_void_p" >&6; }
64499
64500
64501
64502 cat >>confdefs.h <<_ACEOF
64503 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
64504 _ACEOF
64505
64506 ;;
64507 esac
64508
64509 # Lacking an uint64_t? Test size of long
64510 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
64511 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
64512 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64513 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64514 # This bug is HP SR number 8606223364.
64515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
64516 $as_echo_n "checking size of long... " >&6; }
64517 if test "${ac_cv_sizeof_long+set}" = set; then :
64518 $as_echo_n "(cached) " >&6
64519 else
64520 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
64521
64522 else
64523 if test "$ac_cv_type_long" = yes; then
64524 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64525 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64526 { as_fn_set_status 77
64527 as_fn_error "cannot compute sizeof (long)
64528 See \`config.log' for more details." "$LINENO" 5; }; }
64529 else
64530 ac_cv_sizeof_long=0
64531 fi
64532 fi
64533
64534 fi
64535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
64536 $as_echo "$ac_cv_sizeof_long" >&6; }
64537
64538
64539
64540 cat >>confdefs.h <<_ACEOF
64541 #define SIZEOF_LONG $ac_cv_sizeof_long
64542 _ACEOF
64543
64544 ;;
64545 esac
64546
64547 if test $acx_cv_header_stdint = stddef.h; then
64548 # Lacking a good header? Test size of everything and deduce all types.
64549 # The cast to long int works around a bug in the HP C Compiler
64550 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64551 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64552 # This bug is HP SR number 8606223364.
64553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
64554 $as_echo_n "checking size of int... " >&6; }
64555 if test "${ac_cv_sizeof_int+set}" = set; then :
64556 $as_echo_n "(cached) " >&6
64557 else
64558 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
64559
64560 else
64561 if test "$ac_cv_type_int" = yes; then
64562 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64563 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64564 { as_fn_set_status 77
64565 as_fn_error "cannot compute sizeof (int)
64566 See \`config.log' for more details." "$LINENO" 5; }; }
64567 else
64568 ac_cv_sizeof_int=0
64569 fi
64570 fi
64571
64572 fi
64573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
64574 $as_echo "$ac_cv_sizeof_int" >&6; }
64575
64576
64577
64578 cat >>confdefs.h <<_ACEOF
64579 #define SIZEOF_INT $ac_cv_sizeof_int
64580 _ACEOF
64581
64582
64583 # The cast to long int works around a bug in the HP C Compiler
64584 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64585 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64586 # This bug is HP SR number 8606223364.
64587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
64588 $as_echo_n "checking size of short... " >&6; }
64589 if test "${ac_cv_sizeof_short+set}" = set; then :
64590 $as_echo_n "(cached) " >&6
64591 else
64592 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
64593
64594 else
64595 if test "$ac_cv_type_short" = yes; then
64596 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64597 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64598 { as_fn_set_status 77
64599 as_fn_error "cannot compute sizeof (short)
64600 See \`config.log' for more details." "$LINENO" 5; }; }
64601 else
64602 ac_cv_sizeof_short=0
64603 fi
64604 fi
64605
64606 fi
64607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
64608 $as_echo "$ac_cv_sizeof_short" >&6; }
64609
64610
64611
64612 cat >>confdefs.h <<_ACEOF
64613 #define SIZEOF_SHORT $ac_cv_sizeof_short
64614 _ACEOF
64615
64616
64617 # The cast to long int works around a bug in the HP C Compiler
64618 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
64619 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
64620 # This bug is HP SR number 8606223364.
64621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
64622 $as_echo_n "checking size of char... " >&6; }
64623 if test "${ac_cv_sizeof_char+set}" = set; then :
64624 $as_echo_n "(cached) " >&6
64625 else
64626 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
64627
64628 else
64629 if test "$ac_cv_type_char" = yes; then
64630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
64631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
64632 { as_fn_set_status 77
64633 as_fn_error "cannot compute sizeof (char)
64634 See \`config.log' for more details." "$LINENO" 5; }; }
64635 else
64636 ac_cv_sizeof_char=0
64637 fi
64638 fi
64639
64640 fi
64641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
64642 $as_echo "$ac_cv_sizeof_char" >&6; }
64643
64644
64645
64646 cat >>confdefs.h <<_ACEOF
64647 #define SIZEOF_CHAR $ac_cv_sizeof_char
64648 _ACEOF
64649
64650
64651
64652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
64653 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
64654 case "$ac_cv_sizeof_char" in
64655 1) acx_cv_type_int8_t=char ;;
64656 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
64657 esac
64658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
64659 $as_echo "$acx_cv_type_int8_t" >&6; }
64660
64661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
64662 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
64663 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
64664 2:*) acx_cv_type_int16_t=int ;;
64665 *:2) acx_cv_type_int16_t=short ;;
64666 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
64667 esac
64668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
64669 $as_echo "$acx_cv_type_int16_t" >&6; }
64670
64671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
64672 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
64673 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
64674 4:*) acx_cv_type_int32_t=int ;;
64675 *:4) acx_cv_type_int32_t=long ;;
64676 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
64677 esac
64678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
64679 $as_echo "$acx_cv_type_int32_t" >&6; }
64680 fi
64681
64682 # These tests are here to make the output prettier
64683
64684 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
64685 case "$ac_cv_sizeof_long" in
64686 8) acx_cv_type_int64_t=long ;;
64687 esac
64688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
64689 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
64690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
64691 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
64692 fi
64693
64694 # Now we can use the above types
64695
64696 if test "$ac_cv_type_uintptr_t" != yes; then
64697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
64698 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
64699 case $ac_cv_sizeof_void_p in
64700 2) acx_cv_type_intptr_t=int16_t ;;
64701 4) acx_cv_type_intptr_t=int32_t ;;
64702 8) acx_cv_type_intptr_t=int64_t ;;
64703 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
64704 esac
64705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
64706 $as_echo "$acx_cv_type_intptr_t" >&6; }
64707 fi
64708
64709 # ----------------- done all checks, emit header -------------
64710 ac_config_commands="$ac_config_commands include/gstdint.h"
64711
64712
64713
64714
64715
64716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
64717 $as_echo_n "checking for GNU c++filt... " >&6; }
64718 if test "${ac_cv_path_CXXFILT+set}" = set; then :
64719 $as_echo_n "(cached) " >&6
64720 else
64721 if test -z "$CXXFILT"; then
64722 ac_path_CXXFILT_found=false
64723 # Loop through the user's path and test for each of PROGNAME-LIST
64724 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
64725 for as_dir in $PATH
64726 do
64727 IFS=$as_save_IFS
64728 test -z "$as_dir" && as_dir=.
64729 for ac_prog in c++filt gc++filt; do
64730 for ac_exec_ext in '' $ac_executable_extensions; do
64731 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
64732 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
64733 # Check for GNU $ac_path_CXXFILT
64734 case `"$ac_path_CXXFILT" --version 2>&1` in
64735 *GNU*)
64736 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
64737 esac
64738
64739 $ac_path_CXXFILT_found && break 3
64740 done
64741 done
64742 done
64743 IFS=$as_save_IFS
64744 if test -z "$ac_cv_path_CXXFILT"; then
64745 :
64746 fi
64747 else
64748 ac_cv_path_CXXFILT=$CXXFILT
64749 fi
64750
64751 fi
64752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
64753 $as_echo "$ac_cv_path_CXXFILT" >&6; }
64754 CXXFILT=$ac_cv_path_CXXFILT
64755
64756
64757
64758 # Check whether --enable-symvers was given.
64759 if test "${enable_symvers+set}" = set; then :
64760 enableval=$enable_symvers;
64761 case "$enableval" in
64762 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
64763 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
64764 esac
64765
64766 else
64767 enable_symvers=yes
64768 fi
64769
64770
64771
64772 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
64773 # don't know enough about $LD to do tricks...
64774
64775 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
64776 # with extern "C++" in version scripts.
64777
64778
64779 # Turn a 'yes' into a suitable default.
64780 if test x$enable_symvers = xyes ; then
64781 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
64782 enable_symvers=no
64783 else
64784 if test $with_gnu_ld = yes ; then
64785 case ${target_os} in
64786 hpux*)
64787 enable_symvers=no ;;
64788 *)
64789 enable_symvers=gnu ;;
64790 esac
64791 else
64792 case ${target_os} in
64793 darwin*)
64794 enable_symvers=darwin ;;
64795 # Sun symbol versioning exists since Solaris 2.5.
64796 solaris2.[5-9]* | solaris2.1[0-9]*)
64797 # make_sunver.pl needs GNU c++filt to support extern "C++" in
64798 # version scripts, so disable symbol versioning if none can be
64799 # found.
64800 if test -z "$ac_cv_path_CXXFILT"; then
64801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64802 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64803 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
64804 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
64805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64806 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64807 enable_symvers=no
64808 else
64809 enable_symvers=sun
64810 fi
64811 ;;
64812 *)
64813 enable_symvers=no ;;
64814 esac
64815 fi
64816 fi
64817 fi
64818
64819 # Check to see if 'darwin' or 'darwin-export' can win.
64820 if test x$enable_symvers = xdarwin-export ; then
64821 enable_symvers=darwin
64822 fi
64823
64824 # Check if 'sun' was requested on non-Solaris 2 platforms.
64825 if test x$enable_symvers = xsun ; then
64826 case ${target_os} in
64827 solaris2*)
64828 # All fine.
64829 ;;
64830 *)
64831 # Unlikely to work.
64832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
64833 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
64834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
64835 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
64836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64837 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64838 enable_symvers=no
64839 ;;
64840 esac
64841 fi
64842
64843 # Check to see if 'gnu' can win.
64844 if test $enable_symvers = gnu ||
64845 test $enable_symvers = gnu-versioned-namespace ||
64846 test $enable_symvers = sun; then
64847 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
64848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
64849 $as_echo_n "checking for shared libgcc... " >&6; }
64850 ac_save_CFLAGS="$CFLAGS"
64851 CFLAGS=' -lgcc_s'
64852 if test x$gcc_no_link = xyes; then
64853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64854 fi
64855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64856 /* end confdefs.h. */
64857
64858 int
64859 main ()
64860 {
64861 return 0;
64862 ;
64863 return 0;
64864 }
64865 _ACEOF
64866 if ac_fn_c_try_link "$LINENO"; then :
64867 glibcxx_shared_libgcc=yes
64868 else
64869 glibcxx_shared_libgcc=no
64870 fi
64871 rm -f core conftest.err conftest.$ac_objext \
64872 conftest$ac_exeext conftest.$ac_ext
64873 CFLAGS="$ac_save_CFLAGS"
64874 if test $glibcxx_shared_libgcc = no; then
64875 cat > conftest.c <<EOF
64876 int main (void) { return 0; }
64877 EOF
64878 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
64879 -shared -shared-libgcc -o conftest.so \
64880 conftest.c -v 2>&1 >/dev/null \
64881 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
64882 rm -f conftest.c conftest.so
64883 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
64884 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
64885 if test x$gcc_no_link = xyes; then
64886 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64887 fi
64888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64889 /* end confdefs.h. */
64890
64891 int
64892 main ()
64893 {
64894 return 0;
64895 ;
64896 return 0;
64897 }
64898 _ACEOF
64899 if ac_fn_c_try_link "$LINENO"; then :
64900 glibcxx_shared_libgcc=yes
64901 fi
64902 rm -f core conftest.err conftest.$ac_objext \
64903 conftest$ac_exeext conftest.$ac_ext
64904 CFLAGS="$ac_save_CFLAGS"
64905 fi
64906 fi
64907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
64908 $as_echo "$glibcxx_shared_libgcc" >&6; }
64909
64910 # For GNU ld, we need at least this version. The format is described in
64911 # GLIBCXX_CHECK_LINKER_FEATURES above.
64912 glibcxx_min_gnu_ld_version=21400
64913
64914 # If no shared libgcc, can't win.
64915 if test $glibcxx_shared_libgcc != yes; then
64916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64917 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
64919 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
64920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64921 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64922 enable_symvers=no
64923 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
64924 : All interesting versions of Sun ld support sun style symbol versioning.
64925 elif test $with_gnu_ld != yes ; then
64926 # just fail for now
64927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
64928 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
64930 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
64931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64932 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64933 enable_symvers=no
64934 elif test $glibcxx_ld_is_gold = yes ; then
64935 : All versions of gold support symbol versioning.
64936 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
64937 # The right tools, the right setup, but too old. Fallbacks?
64938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
64939 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
64940 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
64941 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
64942 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
64943 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
64944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
64945 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
64946 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
64947 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
64948 enable_symvers=no
64949 fi
64950 fi
64951
64952 # For libtool versioning info, format is CURRENT:REVISION:AGE
64953 libtool_VERSION=6:17:0
64954
64955 # Everything parsed; figure out what files and settings to use.
64956 case $enable_symvers in
64957 no)
64958 SYMVER_FILE=config/abi/pre/none.ver
64959 ;;
64960 gnu)
64961 SYMVER_FILE=config/abi/pre/gnu.ver
64962
64963 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
64964
64965 ;;
64966 gnu-versioned-namespace)
64967 libtool_VERSION=7:0:0
64968 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
64969
64970 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
64971
64972 ;;
64973 darwin)
64974 SYMVER_FILE=config/abi/pre/gnu.ver
64975
64976 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
64977
64978 ;;
64979 sun)
64980 SYMVER_FILE=config/abi/pre/gnu.ver
64981
64982 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
64983
64984 ;;
64985 esac
64986
64987 if test x$enable_symvers != xno ; then
64988
64989 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
64990
64991 fi
64992
64993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
64994 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
64995 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
64996 $as_echo_n "(cached) " >&6
64997 else
64998
64999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65000 /* end confdefs.h. */
65001 void foo (void); __asm (".symver foo, bar@SYMVER");
65002 int
65003 main ()
65004 {
65005
65006 ;
65007 return 0;
65008 }
65009 _ACEOF
65010 if ac_fn_c_try_compile "$LINENO"; then :
65011 glibcxx_cv_have_as_symver_directive=yes
65012 else
65013 glibcxx_cv_have_as_symver_directive=no
65014 fi
65015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65016 fi
65017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
65018 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
65019 if test $glibcxx_cv_have_as_symver_directive = yes; then
65020
65021 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
65022
65023 fi
65024
65025
65026
65027
65028
65029
65030
65031
65032 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
65033 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
65034
65035 if test $enable_symvers != no ; then
65036 case ${target_os} in
65037 # The Solaris 2 runtime linker doesn't support the GNU extension of
65038 # binding the same symbol to different versions
65039 solaris2*)
65040 symvers_renaming=no ;;
65041 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
65042 *)
65043
65044 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
65045
65046 symvers_renaming=yes ;;
65047 esac
65048 else
65049 symvers_renaming=no
65050 fi
65051
65052
65053 # Now, set up compatibility support, if any.
65054 # In addition, need this to deal with std::size_t mangling in
65055 # src/compatibility.cc. In a perfect world, could use
65056 # typeid(std::size_t).name()[0] to do direct substitution.
65057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
65058 $as_echo_n "checking for size_t as unsigned int... " >&6; }
65059 ac_save_CFLAGS="$CFLAGS"
65060 CFLAGS="-Werror"
65061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65062 /* end confdefs.h. */
65063
65064 int
65065 main ()
65066 {
65067 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
65068 ;
65069 return 0;
65070 }
65071 _ACEOF
65072 if ac_fn_c_try_compile "$LINENO"; then :
65073 glibcxx_size_t_is_i=yes
65074 else
65075 glibcxx_size_t_is_i=no
65076 fi
65077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65078 CFLAGS=$ac_save_CFLAGS
65079 if test "$glibcxx_size_t_is_i" = yes; then
65080
65081 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
65082
65083 fi
65084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
65085 $as_echo "$glibcxx_size_t_is_i" >&6; }
65086
65087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
65088 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
65089 ac_save_CFLAGS="$CFLAGS"
65090 CFLAGS="-Werror"
65091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65092 /* end confdefs.h. */
65093
65094 int
65095 main ()
65096 {
65097 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
65098 ;
65099 return 0;
65100 }
65101 _ACEOF
65102 if ac_fn_c_try_compile "$LINENO"; then :
65103 glibcxx_ptrdiff_t_is_i=yes
65104 else
65105 glibcxx_ptrdiff_t_is_i=no
65106 fi
65107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65108 CFLAGS=$ac_save_CFLAGS
65109 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
65110
65111 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
65112
65113 fi
65114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
65115 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
65116
65117
65118
65119
65120 # Check whether --enable-libstdcxx-visibility was given.
65121 if test "${enable_libstdcxx_visibility+set}" = set; then :
65122 enableval=$enable_libstdcxx_visibility;
65123 case "$enableval" in
65124 yes|no) ;;
65125 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
65126 esac
65127
65128 else
65129 enable_libstdcxx_visibility=yes
65130 fi
65131
65132
65133
65134 if test x$enable_libstdcxx_visibility = xyes ; then
65135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
65136 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
65137 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
65138 $as_echo_n "(cached) " >&6
65139 else
65140
65141 save_CFLAGS="$CFLAGS"
65142 CFLAGS="$CFLAGS -Werror"
65143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65144 /* end confdefs.h. */
65145 void __attribute__((visibility("hidden"))) foo(void) { }
65146 int
65147 main ()
65148 {
65149
65150 ;
65151 return 0;
65152 }
65153 _ACEOF
65154 if ac_fn_c_try_compile "$LINENO"; then :
65155 glibcxx_cv_have_attribute_visibility=yes
65156 else
65157 glibcxx_cv_have_attribute_visibility=no
65158 fi
65159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65160 CFLAGS="$save_CFLAGS"
65161 fi
65162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
65163 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
65164 if test $glibcxx_cv_have_attribute_visibility = no; then
65165 enable_libstdcxx_visibility=no
65166 fi
65167 fi
65168
65169
65170 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
65171 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
65172
65173
65174 ac_ldbl_compat=no
65175 case "$target" in
65176 powerpc*-*-linux* | \
65177 sparc*-*-linux* | \
65178 s390*-*-linux* | \
65179 alpha*-*-linux*)
65180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65181 /* end confdefs.h. */
65182
65183 int
65184 main ()
65185 {
65186
65187 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
65188 #error no need for long double compatibility
65189 #endif
65190
65191 ;
65192 return 0;
65193 }
65194 _ACEOF
65195 if ac_fn_c_try_compile "$LINENO"; then :
65196 ac_ldbl_compat=yes
65197 else
65198 ac_ldbl_compat=no
65199 fi
65200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65201 if test "$ac_ldbl_compat" = yes; then
65202
65203 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
65204
65205 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
65206 fi
65207 esac
65208
65209
65210 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
65211
65212 if $GLIBCXX_IS_NATIVE ; then
65213 # Do checks for resource limit functions.
65214
65215 setrlimit_have_headers=yes
65216 for ac_header in unistd.h sys/time.h sys/resource.h
65217 do :
65218 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
65219 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
65220 eval as_val=\$$as_ac_Header
65221 if test "x$as_val" = x""yes; then :
65222 cat >>confdefs.h <<_ACEOF
65223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
65224 _ACEOF
65225
65226 else
65227 setrlimit_have_headers=no
65228 fi
65229
65230 done
65231
65232 # If don't have the headers, then we can't run the tests now, and we
65233 # won't be seeing any of these during testsuite compilation.
65234 if test $setrlimit_have_headers = yes; then
65235 # Can't do these in a loop, else the resulting syntax is wrong.
65236
65237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
65238 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
65239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65240 /* end confdefs.h. */
65241 #include <unistd.h>
65242 #include <sys/time.h>
65243 #include <sys/resource.h>
65244
65245 int
65246 main ()
65247 {
65248 int f = RLIMIT_DATA ;
65249 ;
65250 return 0;
65251 }
65252 _ACEOF
65253 if ac_fn_c_try_compile "$LINENO"; then :
65254 glibcxx_mresult=1
65255 else
65256 glibcxx_mresult=0
65257 fi
65258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65259
65260 cat >>confdefs.h <<_ACEOF
65261 #define HAVE_LIMIT_DATA $glibcxx_mresult
65262 _ACEOF
65263
65264 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65266 $as_echo "$res" >&6; }
65267
65268
65269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
65270 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
65271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65272 /* end confdefs.h. */
65273 #include <unistd.h>
65274 #include <sys/time.h>
65275 #include <sys/resource.h>
65276
65277 int
65278 main ()
65279 {
65280 int f = RLIMIT_RSS ;
65281 ;
65282 return 0;
65283 }
65284 _ACEOF
65285 if ac_fn_c_try_compile "$LINENO"; then :
65286 glibcxx_mresult=1
65287 else
65288 glibcxx_mresult=0
65289 fi
65290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65291
65292 cat >>confdefs.h <<_ACEOF
65293 #define HAVE_LIMIT_RSS $glibcxx_mresult
65294 _ACEOF
65295
65296 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65298 $as_echo "$res" >&6; }
65299
65300
65301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
65302 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
65303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65304 /* end confdefs.h. */
65305 #include <unistd.h>
65306 #include <sys/time.h>
65307 #include <sys/resource.h>
65308
65309 int
65310 main ()
65311 {
65312 int f = RLIMIT_VMEM ;
65313 ;
65314 return 0;
65315 }
65316 _ACEOF
65317 if ac_fn_c_try_compile "$LINENO"; then :
65318 glibcxx_mresult=1
65319 else
65320 glibcxx_mresult=0
65321 fi
65322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65323
65324 cat >>confdefs.h <<_ACEOF
65325 #define HAVE_LIMIT_VMEM $glibcxx_mresult
65326 _ACEOF
65327
65328 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65330 $as_echo "$res" >&6; }
65331
65332
65333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
65334 $as_echo_n "checking for RLIMIT_AS... " >&6; }
65335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65336 /* end confdefs.h. */
65337 #include <unistd.h>
65338 #include <sys/time.h>
65339 #include <sys/resource.h>
65340
65341 int
65342 main ()
65343 {
65344 int f = RLIMIT_AS ;
65345 ;
65346 return 0;
65347 }
65348 _ACEOF
65349 if ac_fn_c_try_compile "$LINENO"; then :
65350 glibcxx_mresult=1
65351 else
65352 glibcxx_mresult=0
65353 fi
65354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65355
65356 cat >>confdefs.h <<_ACEOF
65357 #define HAVE_LIMIT_AS $glibcxx_mresult
65358 _ACEOF
65359
65360 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65362 $as_echo "$res" >&6; }
65363
65364
65365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
65366 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
65367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65368 /* end confdefs.h. */
65369 #include <unistd.h>
65370 #include <sys/time.h>
65371 #include <sys/resource.h>
65372
65373 int
65374 main ()
65375 {
65376 int f = RLIMIT_FSIZE ;
65377 ;
65378 return 0;
65379 }
65380 _ACEOF
65381 if ac_fn_c_try_compile "$LINENO"; then :
65382 glibcxx_mresult=1
65383 else
65384 glibcxx_mresult=0
65385 fi
65386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65387
65388 cat >>confdefs.h <<_ACEOF
65389 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
65390 _ACEOF
65391
65392 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
65393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
65394 $as_echo "$res" >&6; }
65395
65396
65397 # Check for rlimit, setrlimit.
65398 if test "${glibcxx_cv_setrlimit+set}" = set; then :
65399 $as_echo_n "(cached) " >&6
65400 else
65401
65402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65403 /* end confdefs.h. */
65404 #include <unistd.h>
65405 #include <sys/time.h>
65406 #include <sys/resource.h>
65407
65408 int
65409 main ()
65410 {
65411 struct rlimit r;
65412 setrlimit(0, &r);
65413 ;
65414 return 0;
65415 }
65416 _ACEOF
65417 if ac_fn_c_try_compile "$LINENO"; then :
65418 glibcxx_cv_setrlimit=yes
65419 else
65420 glibcxx_cv_setrlimit=no
65421 fi
65422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65423
65424 fi
65425
65426 fi
65427
65428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
65429 $as_echo_n "checking for testsuite resource limits support... " >&6; }
65430 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
65431 ac_res_limits=yes
65432
65433 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
65434
65435 else
65436 ac_res_limits=no
65437 fi
65438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
65439 $as_echo "$ac_res_limits" >&6; }
65440
65441
65442 # Look for setenv, so that extended locale tests can be performed.
65443
65444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
65445 $as_echo_n "checking for setenv declaration... " >&6; }
65446 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
65447 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
65448 $as_echo_n "(cached) " >&6
65449 else
65450
65451
65452 ac_ext=cpp
65453 ac_cpp='$CXXCPP $CPPFLAGS'
65454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65457
65458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65459 /* end confdefs.h. */
65460 #include <stdlib.h>
65461 int
65462 main ()
65463 {
65464 setenv(0, 0, 0);
65465 ;
65466 return 0;
65467 }
65468 _ACEOF
65469 if ac_fn_cxx_try_compile "$LINENO"; then :
65470 glibcxx_cv_func_setenv_use=yes
65471 else
65472 glibcxx_cv_func_setenv_use=no
65473 fi
65474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65475 ac_ext=c
65476 ac_cpp='$CPP $CPPFLAGS'
65477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65480
65481
65482 fi
65483
65484 fi
65485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
65486 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
65487 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
65488 for ac_func in setenv
65489 do :
65490 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
65491 if test "x$ac_cv_func_setenv" = x""yes; then :
65492 cat >>confdefs.h <<_ACEOF
65493 #define HAVE_SETENV 1
65494 _ACEOF
65495
65496 fi
65497 done
65498
65499 fi
65500
65501 fi
65502
65503 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
65504 test $enable_symvers != no; then
65505 case "$host" in
65506 *-*-cygwin*)
65507 enable_abi_check=no ;;
65508 *)
65509 enable_abi_check=yes ;;
65510 esac
65511 else
65512 # Only build this as native, since automake does not understand
65513 # CXX_FOR_BUILD.
65514 enable_abi_check=no
65515 fi
65516
65517 # Export file names for ABI checking.
65518 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
65519
65520 baseline_subdir_switch="$abi_baseline_subdir_switch"
65521
65522
65523
65524 # Define documentation rules conditionally.
65525
65526 # See if makeinfo has been installed and is modern enough
65527 # that we can use it.
65528
65529 # Extract the first word of "makeinfo", so it can be a program name with args.
65530 set dummy makeinfo; ac_word=$2
65531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65532 $as_echo_n "checking for $ac_word... " >&6; }
65533 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
65534 $as_echo_n "(cached) " >&6
65535 else
65536 if test -n "$MAKEINFO"; then
65537 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
65538 else
65539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65540 for as_dir in $PATH
65541 do
65542 IFS=$as_save_IFS
65543 test -z "$as_dir" && as_dir=.
65544 for ac_exec_ext in '' $ac_executable_extensions; do
65545 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65546 ac_cv_prog_MAKEINFO="makeinfo"
65547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65548 break 2
65549 fi
65550 done
65551 done
65552 IFS=$as_save_IFS
65553
65554 fi
65555 fi
65556 MAKEINFO=$ac_cv_prog_MAKEINFO
65557 if test -n "$MAKEINFO"; then
65558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
65559 $as_echo "$MAKEINFO" >&6; }
65560 else
65561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65562 $as_echo "no" >&6; }
65563 fi
65564
65565
65566 if test -n "$MAKEINFO"; then
65567 # Found it, now check the version.
65568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
65569 $as_echo_n "checking for modern makeinfo... " >&6; }
65570 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
65571 $as_echo_n "(cached) " >&6
65572 else
65573 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
65574 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
65575
65576 case $ac_prog_version in
65577 '') gcc_cv_prog_makeinfo_modern=no;;
65578 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
65579 *) gcc_cv_prog_makeinfo_modern=no;;
65580 esac
65581
65582 fi
65583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
65584 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
65585 else
65586 gcc_cv_prog_makeinfo_modern=no
65587 fi
65588 if test $gcc_cv_prog_makeinfo_modern = no; then
65589 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
65590 fi
65591
65592 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
65593 BUILD_INFO_TRUE=
65594 BUILD_INFO_FALSE='#'
65595 else
65596 BUILD_INFO_TRUE='#'
65597 BUILD_INFO_FALSE=
65598 fi
65599
65600
65601 # Check for doxygen
65602 # Extract the first word of "doxygen", so it can be a program name with args.
65603 set dummy doxygen; ac_word=$2
65604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65605 $as_echo_n "checking for $ac_word... " >&6; }
65606 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
65607 $as_echo_n "(cached) " >&6
65608 else
65609 if test -n "$DOXYGEN"; then
65610 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
65611 else
65612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65613 for as_dir in $PATH
65614 do
65615 IFS=$as_save_IFS
65616 test -z "$as_dir" && as_dir=.
65617 for ac_exec_ext in '' $ac_executable_extensions; do
65618 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65619 ac_cv_prog_DOXYGEN="yes"
65620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65621 break 2
65622 fi
65623 done
65624 done
65625 IFS=$as_save_IFS
65626
65627 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
65628 fi
65629 fi
65630 DOXYGEN=$ac_cv_prog_DOXYGEN
65631 if test -n "$DOXYGEN"; then
65632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
65633 $as_echo "$DOXYGEN" >&6; }
65634 else
65635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65636 $as_echo "no" >&6; }
65637 fi
65638
65639
65640 # Extract the first word of "dot", so it can be a program name with args.
65641 set dummy dot; ac_word=$2
65642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65643 $as_echo_n "checking for $ac_word... " >&6; }
65644 if test "${ac_cv_prog_DOT+set}" = set; then :
65645 $as_echo_n "(cached) " >&6
65646 else
65647 if test -n "$DOT"; then
65648 ac_cv_prog_DOT="$DOT" # Let the user override the test.
65649 else
65650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65651 for as_dir in $PATH
65652 do
65653 IFS=$as_save_IFS
65654 test -z "$as_dir" && as_dir=.
65655 for ac_exec_ext in '' $ac_executable_extensions; do
65656 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65657 ac_cv_prog_DOT="yes"
65658 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65659 break 2
65660 fi
65661 done
65662 done
65663 IFS=$as_save_IFS
65664
65665 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
65666 fi
65667 fi
65668 DOT=$ac_cv_prog_DOT
65669 if test -n "$DOT"; then
65670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
65671 $as_echo "$DOT" >&6; }
65672 else
65673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65674 $as_echo "no" >&6; }
65675 fi
65676
65677
65678
65679 # Check for docbook
65680 # Extract the first word of "xsltproc", so it can be a program name with args.
65681 set dummy xsltproc; ac_word=$2
65682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65683 $as_echo_n "checking for $ac_word... " >&6; }
65684 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
65685 $as_echo_n "(cached) " >&6
65686 else
65687 if test -n "$XSLTPROC"; then
65688 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
65689 else
65690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65691 for as_dir in $PATH
65692 do
65693 IFS=$as_save_IFS
65694 test -z "$as_dir" && as_dir=.
65695 for ac_exec_ext in '' $ac_executable_extensions; do
65696 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65697 ac_cv_prog_XSLTPROC="yes"
65698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65699 break 2
65700 fi
65701 done
65702 done
65703 IFS=$as_save_IFS
65704
65705 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
65706 fi
65707 fi
65708 XSLTPROC=$ac_cv_prog_XSLTPROC
65709 if test -n "$XSLTPROC"; then
65710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
65711 $as_echo "$XSLTPROC" >&6; }
65712 else
65713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65714 $as_echo "no" >&6; }
65715 fi
65716
65717
65718 # Extract the first word of "xmllint", so it can be a program name with args.
65719 set dummy xmllint; ac_word=$2
65720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65721 $as_echo_n "checking for $ac_word... " >&6; }
65722 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
65723 $as_echo_n "(cached) " >&6
65724 else
65725 if test -n "$XMLLINT"; then
65726 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
65727 else
65728 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65729 for as_dir in $PATH
65730 do
65731 IFS=$as_save_IFS
65732 test -z "$as_dir" && as_dir=.
65733 for ac_exec_ext in '' $ac_executable_extensions; do
65734 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65735 ac_cv_prog_XMLLINT="yes"
65736 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65737 break 2
65738 fi
65739 done
65740 done
65741 IFS=$as_save_IFS
65742
65743 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
65744 fi
65745 fi
65746 XMLLINT=$ac_cv_prog_XMLLINT
65747 if test -n "$XMLLINT"; then
65748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
65749 $as_echo "$XMLLINT" >&6; }
65750 else
65751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65752 $as_echo "no" >&6; }
65753 fi
65754
65755
65756
65757
65758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stylesheets used in generation of documentation" >&5
65759 $as_echo_n "checking for stylesheets used in generation of documentation... " >&6; }
65760 glibcxx_stylesheets=no
65761 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
65762 glibcxx_stylesheets=yes
65763 fi
65764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
65765 $as_echo "$glibcxx_stylesheets" >&6; }
65766
65767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
65768 $as_echo_n "checking for local stylesheet directory... " >&6; }
65769 glibcxx_local_stylesheets=no
65770 if test x"$glibcxx_stylesheets" = x"yes"; then
65771 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
65772 glibcxx_local_stylesheets=yes
65773 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
65774 fi
65775 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
65776 glibcxx_local_stylesheets=yes
65777 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
65778 fi
65779 fi
65780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
65781 $as_echo "$glibcxx_local_stylesheets" >&6; }
65782
65783 if test x"$glibcxx_local_stylesheets" = x"yes"; then
65784
65785 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
65786 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
65787 else
65788 glibcxx_stylesheets=no
65789 fi
65790
65791
65792 # Check for xml/html dependencies.
65793 if test $ac_cv_prog_DOXYGEN = "yes" &&
65794 test $ac_cv_prog_DOT = "yes" &&
65795 test $ac_cv_prog_XSLTPROC = "yes" &&
65796 test $ac_cv_prog_XMLLINT = "yes" &&
65797 test $glibcxx_stylesheets = "yes"; then
65798 BUILD_XML_TRUE=
65799 BUILD_XML_FALSE='#'
65800 else
65801 BUILD_XML_TRUE='#'
65802 BUILD_XML_FALSE=
65803 fi
65804
65805
65806 if test $ac_cv_prog_DOXYGEN = "yes" &&
65807 test $ac_cv_prog_DOT = "yes" &&
65808 test $ac_cv_prog_XSLTPROC = "yes" &&
65809 test $ac_cv_prog_XMLLINT = "yes" &&
65810 test $glibcxx_stylesheets = "yes"; then
65811 BUILD_HTML_TRUE=
65812 BUILD_HTML_FALSE='#'
65813 else
65814 BUILD_HTML_TRUE='#'
65815 BUILD_HTML_FALSE=
65816 fi
65817
65818
65819 # Check for man dependencies.
65820 if test $ac_cv_prog_DOXYGEN = "yes" &&
65821 test $ac_cv_prog_DOT = "yes"; then
65822 BUILD_MAN_TRUE=
65823 BUILD_MAN_FALSE='#'
65824 else
65825 BUILD_MAN_TRUE='#'
65826 BUILD_MAN_FALSE=
65827 fi
65828
65829
65830 # Check for pdf/epub dependencies.
65831 # Extract the first word of "dblatex", so it can be a program name with args.
65832 set dummy dblatex; ac_word=$2
65833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65834 $as_echo_n "checking for $ac_word... " >&6; }
65835 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
65836 $as_echo_n "(cached) " >&6
65837 else
65838 if test -n "$DBLATEX"; then
65839 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
65840 else
65841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65842 for as_dir in $PATH
65843 do
65844 IFS=$as_save_IFS
65845 test -z "$as_dir" && as_dir=.
65846 for ac_exec_ext in '' $ac_executable_extensions; do
65847 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65848 ac_cv_prog_DBLATEX="yes"
65849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65850 break 2
65851 fi
65852 done
65853 done
65854 IFS=$as_save_IFS
65855
65856 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
65857 fi
65858 fi
65859 DBLATEX=$ac_cv_prog_DBLATEX
65860 if test -n "$DBLATEX"; then
65861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
65862 $as_echo "$DBLATEX" >&6; }
65863 else
65864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65865 $as_echo "no" >&6; }
65866 fi
65867
65868
65869 # Extract the first word of "pdflatex", so it can be a program name with args.
65870 set dummy pdflatex; ac_word=$2
65871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65872 $as_echo_n "checking for $ac_word... " >&6; }
65873 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
65874 $as_echo_n "(cached) " >&6
65875 else
65876 if test -n "$PDFLATEX"; then
65877 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
65878 else
65879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65880 for as_dir in $PATH
65881 do
65882 IFS=$as_save_IFS
65883 test -z "$as_dir" && as_dir=.
65884 for ac_exec_ext in '' $ac_executable_extensions; do
65885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65886 ac_cv_prog_PDFLATEX="yes"
65887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65888 break 2
65889 fi
65890 done
65891 done
65892 IFS=$as_save_IFS
65893
65894 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
65895 fi
65896 fi
65897 PDFLATEX=$ac_cv_prog_PDFLATEX
65898 if test -n "$PDFLATEX"; then
65899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
65900 $as_echo "$PDFLATEX" >&6; }
65901 else
65902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65903 $as_echo "no" >&6; }
65904 fi
65905
65906
65907 if test $ac_cv_prog_DBLATEX = "yes" &&
65908 test $ac_cv_prog_PDFLATEX = "yes"; then
65909 BUILD_PDF_TRUE=
65910 BUILD_PDF_FALSE='#'
65911 else
65912 BUILD_PDF_TRUE='#'
65913 BUILD_PDF_FALSE=
65914 fi
65915
65916
65917 # Extract the first word of "ruby", so it can be a program name with args.
65918 set dummy ruby; ac_word=$2
65919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65920 $as_echo_n "checking for $ac_word... " >&6; }
65921 if test "${ac_cv_prog_RUBY+set}" = set; then :
65922 $as_echo_n "(cached) " >&6
65923 else
65924 if test -n "$RUBY"; then
65925 ac_cv_prog_RUBY="$RUBY" # Let the user override the test.
65926 else
65927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65928 for as_dir in $PATH
65929 do
65930 IFS=$as_save_IFS
65931 test -z "$as_dir" && as_dir=.
65932 for ac_exec_ext in '' $ac_executable_extensions; do
65933 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65934 ac_cv_prog_RUBY="yes"
65935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65936 break 2
65937 fi
65938 done
65939 done
65940 IFS=$as_save_IFS
65941
65942 test -z "$ac_cv_prog_RUBY" && ac_cv_prog_RUBY="no"
65943 fi
65944 fi
65945 RUBY=$ac_cv_prog_RUBY
65946 if test -n "$RUBY"; then
65947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
65948 $as_echo "$RUBY" >&6; }
65949 else
65950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65951 $as_echo "no" >&6; }
65952 fi
65953
65954
65955 # Extract the first word of "dbtoepub", so it can be a program name with args.
65956 set dummy dbtoepub; ac_word=$2
65957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65958 $as_echo_n "checking for $ac_word... " >&6; }
65959 if test "${ac_cv_prog_DBTOEPUB+set}" = set; then :
65960 $as_echo_n "(cached) " >&6
65961 else
65962 if test -n "$DBTOEPUB"; then
65963 ac_cv_prog_DBTOEPUB="$DBTOEPUB" # Let the user override the test.
65964 else
65965 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
65966 for as_dir in $PATH
65967 do
65968 IFS=$as_save_IFS
65969 test -z "$as_dir" && as_dir=.
65970 for ac_exec_ext in '' $ac_executable_extensions; do
65971 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65972 ac_cv_prog_DBTOEPUB="yes"
65973 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65974 break 2
65975 fi
65976 done
65977 done
65978 IFS=$as_save_IFS
65979
65980 test -z "$ac_cv_prog_DBTOEPUB" && ac_cv_prog_DBTOEPUB="no"
65981 fi
65982 fi
65983 DBTOEPUB=$ac_cv_prog_DBTOEPUB
65984 if test -n "$DBTOEPUB"; then
65985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBTOEPUB" >&5
65986 $as_echo "$DBTOEPUB" >&6; }
65987 else
65988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65989 $as_echo "no" >&6; }
65990 fi
65991
65992
65993 if test $ac_cv_prog_RUBY = "yes" &&
65994 test $ac_cv_prog_DBTOEPUB = "yes"; then
65995 BUILD_EPUB_TRUE=
65996 BUILD_EPUB_FALSE='#'
65997 else
65998 BUILD_EPUB_TRUE='#'
65999 BUILD_EPUB_FALSE=
66000 fi
66001
66002
66003
66004 # Propagate the target-specific source directories through the build chain.
66005 ATOMICITY_SRCDIR=config/${atomicity_dir}
66006 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
66007 ATOMIC_FLAGS=${atomic_flags}
66008 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
66009 OS_INC_SRCDIR=config/${os_include_dir}
66010 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
66011 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
66012
66013
66014
66015
66016
66017
66018
66019
66020
66021 # Determine cross-compile flags and AM_CONDITIONALs.
66022 #AC_SUBST(GLIBCXX_IS_NATIVE)
66023 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
66024 if test $is_hosted = yes; then
66025 GLIBCXX_HOSTED_TRUE=
66026 GLIBCXX_HOSTED_FALSE='#'
66027 else
66028 GLIBCXX_HOSTED_TRUE='#'
66029 GLIBCXX_HOSTED_FALSE=
66030 fi
66031
66032
66033 if test $enable_libstdcxx_pch = yes; then
66034 GLIBCXX_BUILD_PCH_TRUE=
66035 GLIBCXX_BUILD_PCH_FALSE='#'
66036 else
66037 GLIBCXX_BUILD_PCH_TRUE='#'
66038 GLIBCXX_BUILD_PCH_FALSE=
66039 fi
66040
66041
66042 if test $enable_cheaders = c; then
66043 GLIBCXX_C_HEADERS_C_TRUE=
66044 GLIBCXX_C_HEADERS_C_FALSE='#'
66045 else
66046 GLIBCXX_C_HEADERS_C_TRUE='#'
66047 GLIBCXX_C_HEADERS_C_FALSE=
66048 fi
66049
66050
66051 if test $enable_cheaders = c_std; then
66052 GLIBCXX_C_HEADERS_C_STD_TRUE=
66053 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
66054 else
66055 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
66056 GLIBCXX_C_HEADERS_C_STD_FALSE=
66057 fi
66058
66059
66060 if test $enable_cheaders = c_global; then
66061 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
66062 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
66063 else
66064 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
66065 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
66066 fi
66067
66068
66069 if test $c_compatibility = yes; then
66070 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
66071 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
66072 else
66073 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
66074 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
66075 fi
66076
66077
66078 if test $enable_libstdcxx_debug = yes; then
66079 GLIBCXX_BUILD_DEBUG_TRUE=
66080 GLIBCXX_BUILD_DEBUG_FALSE='#'
66081 else
66082 GLIBCXX_BUILD_DEBUG_TRUE='#'
66083 GLIBCXX_BUILD_DEBUG_FALSE=
66084 fi
66085
66086
66087 if test $enable_parallel = yes; then
66088 ENABLE_PARALLEL_TRUE=
66089 ENABLE_PARALLEL_FALSE='#'
66090 else
66091 ENABLE_PARALLEL_TRUE='#'
66092 ENABLE_PARALLEL_FALSE=
66093 fi
66094
66095
66096 if test $enable_extern_template = yes; then
66097 ENABLE_EXTERN_TEMPLATE_TRUE=
66098 ENABLE_EXTERN_TEMPLATE_FALSE='#'
66099 else
66100 ENABLE_EXTERN_TEMPLATE_TRUE='#'
66101 ENABLE_EXTERN_TEMPLATE_FALSE=
66102 fi
66103
66104
66105 if test $enable_symvers != no; then
66106 ENABLE_SYMVERS_TRUE=
66107 ENABLE_SYMVERS_FALSE='#'
66108 else
66109 ENABLE_SYMVERS_TRUE='#'
66110 ENABLE_SYMVERS_FALSE=
66111 fi
66112
66113
66114 if test $enable_symvers = gnu; then
66115 ENABLE_SYMVERS_GNU_TRUE=
66116 ENABLE_SYMVERS_GNU_FALSE='#'
66117 else
66118 ENABLE_SYMVERS_GNU_TRUE='#'
66119 ENABLE_SYMVERS_GNU_FALSE=
66120 fi
66121
66122
66123 if test $enable_symvers = gnu-versioned-namespace; then
66124 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
66125 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
66126 else
66127 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
66128 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
66129 fi
66130
66131
66132 if test $enable_symvers = darwin; then
66133 ENABLE_SYMVERS_DARWIN_TRUE=
66134 ENABLE_SYMVERS_DARWIN_FALSE='#'
66135 else
66136 ENABLE_SYMVERS_DARWIN_TRUE='#'
66137 ENABLE_SYMVERS_DARWIN_FALSE=
66138 fi
66139
66140
66141 if test $enable_symvers = sun; then
66142 ENABLE_SYMVERS_SUN_TRUE=
66143 ENABLE_SYMVERS_SUN_FALSE='#'
66144 else
66145 ENABLE_SYMVERS_SUN_TRUE='#'
66146 ENABLE_SYMVERS_SUN_FALSE=
66147 fi
66148
66149
66150 if test $symvers_renaming = no; then
66151 ENABLE_SYMVERS_SOL2_TRUE=
66152 ENABLE_SYMVERS_SOL2_FALSE='#'
66153 else
66154 ENABLE_SYMVERS_SOL2_TRUE='#'
66155 ENABLE_SYMVERS_SOL2_FALSE=
66156 fi
66157
66158
66159 if test $enable_libstdcxx_visibility = yes; then
66160 ENABLE_VISIBILITY_TRUE=
66161 ENABLE_VISIBILITY_FALSE='#'
66162 else
66163 ENABLE_VISIBILITY_TRUE='#'
66164 ENABLE_VISIBILITY_FALSE=
66165 fi
66166
66167
66168 if test $ac_ldbl_compat = yes; then
66169 GLIBCXX_LDBL_COMPAT_TRUE=
66170 GLIBCXX_LDBL_COMPAT_FALSE='#'
66171 else
66172 GLIBCXX_LDBL_COMPAT_TRUE='#'
66173 GLIBCXX_LDBL_COMPAT_FALSE=
66174 fi
66175
66176
66177
66178
66179 cat >confcache <<\_ACEOF
66180 # This file is a shell script that caches the results of configure
66181 # tests run on this system so they can be shared between configure
66182 # scripts and configure runs, see configure's option --config-cache.
66183 # It is not useful on other systems. If it contains results you don't
66184 # want to keep, you may remove or edit it.
66185 #
66186 # config.status only pays attention to the cache file if you give it
66187 # the --recheck option to rerun configure.
66188 #
66189 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66190 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66191 # following values.
66192
66193 _ACEOF
66194
66195 # The following way of writing the cache mishandles newlines in values,
66196 # but we know of no workaround that is simple, portable, and efficient.
66197 # So, we kill variables containing newlines.
66198 # Ultrix sh set writes to stderr and can't be redirected directly,
66199 # and sets the high bit in the cache file unless we assign to the vars.
66200 (
66201 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66202 eval ac_val=\$$ac_var
66203 case $ac_val in #(
66204 *${as_nl}*)
66205 case $ac_var in #(
66206 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66207 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66208 esac
66209 case $ac_var in #(
66210 _ | IFS | as_nl) ;; #(
66211 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66212 *) { eval $ac_var=; unset $ac_var;} ;;
66213 esac ;;
66214 esac
66215 done
66216
66217 (set) 2>&1 |
66218 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66219 *${as_nl}ac_space=\ *)
66220 # `set' does not quote correctly, so add quotes: double-quote
66221 # substitution turns \\\\ into \\, and sed turns \\ into \.
66222 sed -n \
66223 "s/'/'\\\\''/g;
66224 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66225 ;; #(
66226 *)
66227 # `set' quotes correctly as required by POSIX, so do not add quotes.
66228 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66229 ;;
66230 esac |
66231 sort
66232 ) |
66233 sed '
66234 /^ac_cv_env_/b end
66235 t clear
66236 :clear
66237 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66238 t end
66239 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66240 :end' >>confcache
66241 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66242 if test -w "$cache_file"; then
66243 test "x$cache_file" != "x/dev/null" &&
66244 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66245 $as_echo "$as_me: updating cache $cache_file" >&6;}
66246 cat confcache >$cache_file
66247 else
66248 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66249 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66250 fi
66251 fi
66252 rm -f confcache
66253
66254 if test ${multilib} = yes; then
66255 multilib_arg="--enable-multilib"
66256 else
66257 multilib_arg=
66258 fi
66259
66260 # Export all the install information.
66261
66262 glibcxx_toolexecdir=no
66263 glibcxx_toolexeclibdir=no
66264 glibcxx_prefixdir=$prefix
66265
66266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
66267 $as_echo_n "checking for gxx-include-dir... " >&6; }
66268
66269 # Check whether --with-gxx-include-dir was given.
66270 if test "${with_gxx_include_dir+set}" = set; then :
66271 withval=$with_gxx_include_dir; case "$withval" in
66272 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
66273 no) gxx_include_dir=no ;;
66274 *) gxx_include_dir=$withval ;;
66275 esac
66276 else
66277 gxx_include_dir=no
66278 fi
66279
66280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66281 $as_echo "$gxx_include_dir" >&6; }
66282
66283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
66284 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
66285 # Check whether --enable-version-specific-runtime-libs was given.
66286 if test "${enable_version_specific_runtime_libs+set}" = set; then :
66287 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
66288 yes) version_specific_libs=yes ;;
66289 no) version_specific_libs=no ;;
66290 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
66291 esac
66292 else
66293 version_specific_libs=no
66294 fi
66295
66296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
66297 $as_echo "$version_specific_libs" >&6; }
66298
66299 # Default case for install directory for include files.
66300 if test $version_specific_libs = no && test $gxx_include_dir = no; then
66301 gxx_include_dir='include/c++/${gcc_version}'
66302 if test -n "$with_cross_host" &&
66303 test x"$with_cross_host" != x"no"; then
66304 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
66305 else
66306 gxx_include_dir='${prefix}/'"$gxx_include_dir"
66307 fi
66308 fi
66309
66310 # Version-specific runtime libs processing.
66311 if test $version_specific_libs = yes; then
66312 # Need the gcc compiler version to know where to install libraries
66313 # and header files if --enable-version-specific-runtime-libs option
66314 # is selected. FIXME: these variables are misnamed, there are
66315 # no executables installed in _toolexecdir or _toolexeclibdir.
66316 if test x"$gxx_include_dir" = x"no"; then
66317 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
66318 fi
66319 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66320 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
66321 fi
66322
66323 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
66324 # Install a library built with a cross compiler in tooldir, not libdir.
66325 if test x"$glibcxx_toolexecdir" = x"no"; then
66326 if test -n "$with_cross_host" &&
66327 test x"$with_cross_host" != x"no"; then
66328 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
66329 glibcxx_toolexeclibdir='${toolexecdir}/lib'
66330 else
66331 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
66332 glibcxx_toolexeclibdir='${libdir}'
66333 fi
66334 multi_os_directory=`$CXX -print-multi-os-directory`
66335 case $multi_os_directory in
66336 .) ;; # Avoid trailing /.
66337 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
66338 esac
66339 fi
66340
66341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
66342 $as_echo_n "checking for install location... " >&6; }
66343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
66344 $as_echo "$gxx_include_dir" >&6; }
66345
66346
66347
66348
66349
66350
66351
66352 # Export all the include and flag information to Makefiles.
66353
66354 # Used for every C++ compile we perform.
66355 GLIBCXX_INCLUDES="\
66356 -I$glibcxx_builddir/include/$host_alias \
66357 -I$glibcxx_builddir/include \
66358 -I$glibcxx_srcdir/libsupc++"
66359
66360 # For Canadian crosses, pick this up too.
66361 if test $CANADIAN = yes; then
66362 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
66363 fi
66364
66365 # Stuff in the actual top level. Currently only used by libsupc++ to
66366 # get unwind* headers from the libgcc dir.
66367 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
66368 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
66369
66370 # Now, export this to all the little Makefiles....
66371
66372
66373
66374
66375 # Optimization flags that are probably a good idea for thrill-seekers. Just
66376 # uncomment the lines below and make, everything else is ready to go...
66377 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
66378 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
66379
66380
66381 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
66382
66383
66384
66385 if test "$enable_shared" = yes; then
66386 LIBSUPCXX_PICFLAGS="-prefer-pic"
66387 else
66388 LIBSUPCXX_PICFLAGS=
66389 fi
66390
66391
66392 ac_config_files="$ac_config_files Makefile"
66393
66394 ac_config_files="$ac_config_files scripts/testsuite_flags"
66395
66396 ac_config_files="$ac_config_files scripts/extract_symvers"
66397
66398
66399 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
66400 # that multilib installs will end up installed in the correct place.
66401 # The testsuite needs it for multilib-aware ABI baseline files.
66402 # To work around this not being passed down from config-ml.in ->
66403 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
66404 # append it here. Only modify Makefiles that have just been created.
66405 #
66406 # Also, get rid of this simulated-VPATH thing that automake does.
66407 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile python/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
66408
66409
66410 ac_config_commands="$ac_config_commands generate-headers"
66411
66412
66413 cat >confcache <<\_ACEOF
66414 # This file is a shell script that caches the results of configure
66415 # tests run on this system so they can be shared between configure
66416 # scripts and configure runs, see configure's option --config-cache.
66417 # It is not useful on other systems. If it contains results you don't
66418 # want to keep, you may remove or edit it.
66419 #
66420 # config.status only pays attention to the cache file if you give it
66421 # the --recheck option to rerun configure.
66422 #
66423 # `ac_cv_env_foo' variables (set or unset) will be overridden when
66424 # loading this file, other *unset* `ac_cv_foo' will be assigned the
66425 # following values.
66426
66427 _ACEOF
66428
66429 # The following way of writing the cache mishandles newlines in values,
66430 # but we know of no workaround that is simple, portable, and efficient.
66431 # So, we kill variables containing newlines.
66432 # Ultrix sh set writes to stderr and can't be redirected directly,
66433 # and sets the high bit in the cache file unless we assign to the vars.
66434 (
66435 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
66436 eval ac_val=\$$ac_var
66437 case $ac_val in #(
66438 *${as_nl}*)
66439 case $ac_var in #(
66440 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
66441 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
66442 esac
66443 case $ac_var in #(
66444 _ | IFS | as_nl) ;; #(
66445 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
66446 *) { eval $ac_var=; unset $ac_var;} ;;
66447 esac ;;
66448 esac
66449 done
66450
66451 (set) 2>&1 |
66452 case $as_nl`(ac_space=' '; set) 2>&1` in #(
66453 *${as_nl}ac_space=\ *)
66454 # `set' does not quote correctly, so add quotes: double-quote
66455 # substitution turns \\\\ into \\, and sed turns \\ into \.
66456 sed -n \
66457 "s/'/'\\\\''/g;
66458 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
66459 ;; #(
66460 *)
66461 # `set' quotes correctly as required by POSIX, so do not add quotes.
66462 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
66463 ;;
66464 esac |
66465 sort
66466 ) |
66467 sed '
66468 /^ac_cv_env_/b end
66469 t clear
66470 :clear
66471 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
66472 t end
66473 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
66474 :end' >>confcache
66475 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
66476 if test -w "$cache_file"; then
66477 test "x$cache_file" != "x/dev/null" &&
66478 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
66479 $as_echo "$as_me: updating cache $cache_file" >&6;}
66480 cat confcache >$cache_file
66481 else
66482 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
66483 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
66484 fi
66485 fi
66486 rm -f confcache
66487
66488 test "x$prefix" = xNONE && prefix=$ac_default_prefix
66489 # Let make expand exec_prefix.
66490 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
66491
66492 DEFS=-DHAVE_CONFIG_H
66493
66494 ac_libobjs=
66495 ac_ltlibobjs=
66496 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
66497 # 1. Remove the extension, and $U if already installed.
66498 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
66499 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
66500 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
66501 # will be set to the directory where LIBOBJS objects are built.
66502 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
66503 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
66504 done
66505 LIBOBJS=$ac_libobjs
66506
66507 LTLIBOBJS=$ac_ltlibobjs
66508
66509
66510 if test -n "$EXEEXT"; then
66511 am__EXEEXT_TRUE=
66512 am__EXEEXT_FALSE='#'
66513 else
66514 am__EXEEXT_TRUE='#'
66515 am__EXEEXT_FALSE=
66516 fi
66517
66518 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
66519 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
66520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66521 fi
66522 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
66523 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
66524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66525 fi
66526 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
66527 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
66528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66529 fi
66530 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
66531 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
66532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66533 fi
66534 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
66535 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
66536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66537 fi
66538 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
66539 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
66540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66541 fi
66542 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
66543 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
66544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66545 fi
66546 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
66547 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
66548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66549 fi
66550 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
66551 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
66552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66553 fi
66554 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
66555 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
66556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66557 fi
66558 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
66559 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
66560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66561 fi
66562 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
66563 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
66564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66565 fi
66566 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
66567 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
66568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66569 fi
66570 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
66571 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
66572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66573 fi
66574 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
66575 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
66576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66577 fi
66578 if test -z "${ENABLE_SYMVERS_SOL2_TRUE}" && test -z "${ENABLE_SYMVERS_SOL2_FALSE}"; then
66579 as_fn_error "conditional \"ENABLE_SYMVERS_SOL2\" was never defined.
66580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66581 fi
66582 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
66583 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
66584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66585 fi
66586 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
66587 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
66588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66589 fi
66590 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
66591 as_fn_error "conditional \"BUILD_INFO\" was never defined.
66592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66593 fi
66594 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
66595 as_fn_error "conditional \"BUILD_XML\" was never defined.
66596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66597 fi
66598 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
66599 as_fn_error "conditional \"BUILD_HTML\" was never defined.
66600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66601 fi
66602 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
66603 as_fn_error "conditional \"BUILD_MAN\" was never defined.
66604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66605 fi
66606 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
66607 as_fn_error "conditional \"BUILD_PDF\" was never defined.
66608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66609 fi
66610 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
66611 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
66612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
66613 fi
66614
66615 : ${CONFIG_STATUS=./config.status}
66616 ac_write_fail=0
66617 ac_clean_files_save=$ac_clean_files
66618 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
66619 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
66620 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
66621 as_write_fail=0
66622 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
66623 #! $SHELL
66624 # Generated by $as_me.
66625 # Run this file to recreate the current configuration.
66626 # Compiler output produced by configure, useful for debugging
66627 # configure, is in config.log if it exists.
66628
66629 debug=false
66630 ac_cs_recheck=false
66631 ac_cs_silent=false
66632
66633 SHELL=\${CONFIG_SHELL-$SHELL}
66634 export SHELL
66635 _ASEOF
66636 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
66637 ## -------------------- ##
66638 ## M4sh Initialization. ##
66639 ## -------------------- ##
66640
66641 # Be more Bourne compatible
66642 DUALCASE=1; export DUALCASE # for MKS sh
66643 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
66644 emulate sh
66645 NULLCMD=:
66646 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
66647 # is contrary to our usage. Disable this feature.
66648 alias -g '${1+"$@"}'='"$@"'
66649 setopt NO_GLOB_SUBST
66650 else
66651 case `(set -o) 2>/dev/null` in #(
66652 *posix*) :
66653 set -o posix ;; #(
66654 *) :
66655 ;;
66656 esac
66657 fi
66658
66659
66660 as_nl='
66661 '
66662 export as_nl
66663 # Printing a long string crashes Solaris 7 /usr/bin/printf.
66664 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
66665 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
66666 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
66667 # Prefer a ksh shell builtin over an external printf program on Solaris,
66668 # but without wasting forks for bash or zsh.
66669 if test -z "$BASH_VERSION$ZSH_VERSION" \
66670 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
66671 as_echo='print -r --'
66672 as_echo_n='print -rn --'
66673 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
66674 as_echo='printf %s\n'
66675 as_echo_n='printf %s'
66676 else
66677 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
66678 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
66679 as_echo_n='/usr/ucb/echo -n'
66680 else
66681 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
66682 as_echo_n_body='eval
66683 arg=$1;
66684 case $arg in #(
66685 *"$as_nl"*)
66686 expr "X$arg" : "X\\(.*\\)$as_nl";
66687 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66688 esac;
66689 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66690 '
66691 export as_echo_n_body
66692 as_echo_n='sh -c $as_echo_n_body as_echo'
66693 fi
66694 export as_echo_body
66695 as_echo='sh -c $as_echo_body as_echo'
66696 fi
66697
66698 # The user is always right.
66699 if test "${PATH_SEPARATOR+set}" != set; then
66700 PATH_SEPARATOR=:
66701 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
66702 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
66703 PATH_SEPARATOR=';'
66704 }
66705 fi
66706
66707
66708 # IFS
66709 # We need space, tab and new line, in precisely that order. Quoting is
66710 # there to prevent editors from complaining about space-tab.
66711 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66712 # splitting by setting IFS to empty value.)
66713 IFS=" "" $as_nl"
66714
66715 # Find who we are. Look in the path if we contain no directory separator.
66716 case $0 in #((
66717 *[\\/]* ) as_myself=$0 ;;
66718 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
66719 for as_dir in $PATH
66720 do
66721 IFS=$as_save_IFS
66722 test -z "$as_dir" && as_dir=.
66723 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
66724 done
66725 IFS=$as_save_IFS
66726
66727 ;;
66728 esac
66729 # We did not find ourselves, most probably we were run as `sh COMMAND'
66730 # in which case we are not to be found in the path.
66731 if test "x$as_myself" = x; then
66732 as_myself=$0
66733 fi
66734 if test ! -f "$as_myself"; then
66735 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
66736 exit 1
66737 fi
66738
66739 # Unset variables that we do not need and which cause bugs (e.g. in
66740 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
66741 # suppresses any "Segmentation fault" message there. '((' could
66742 # trigger a bug in pdksh 5.2.14.
66743 for as_var in BASH_ENV ENV MAIL MAILPATH
66744 do eval test x\${$as_var+set} = xset \
66745 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
66746 done
66747 PS1='$ '
66748 PS2='> '
66749 PS4='+ '
66750
66751 # NLS nuisances.
66752 LC_ALL=C
66753 export LC_ALL
66754 LANGUAGE=C
66755 export LANGUAGE
66756
66757 # CDPATH.
66758 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
66759
66760
66761 # as_fn_error ERROR [LINENO LOG_FD]
66762 # ---------------------------------
66763 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
66764 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
66765 # script with status $?, using 1 if that was 0.
66766 as_fn_error ()
66767 {
66768 as_status=$?; test $as_status -eq 0 && as_status=1
66769 if test "$3"; then
66770 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
66771 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
66772 fi
66773 $as_echo "$as_me: error: $1" >&2
66774 as_fn_exit $as_status
66775 } # as_fn_error
66776
66777
66778 # as_fn_set_status STATUS
66779 # -----------------------
66780 # Set $? to STATUS, without forking.
66781 as_fn_set_status ()
66782 {
66783 return $1
66784 } # as_fn_set_status
66785
66786 # as_fn_exit STATUS
66787 # -----------------
66788 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
66789 as_fn_exit ()
66790 {
66791 set +e
66792 as_fn_set_status $1
66793 exit $1
66794 } # as_fn_exit
66795
66796 # as_fn_unset VAR
66797 # ---------------
66798 # Portably unset VAR.
66799 as_fn_unset ()
66800 {
66801 { eval $1=; unset $1;}
66802 }
66803 as_unset=as_fn_unset
66804 # as_fn_append VAR VALUE
66805 # ----------------------
66806 # Append the text in VALUE to the end of the definition contained in VAR. Take
66807 # advantage of any shell optimizations that allow amortized linear growth over
66808 # repeated appends, instead of the typical quadratic growth present in naive
66809 # implementations.
66810 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
66811 eval 'as_fn_append ()
66812 {
66813 eval $1+=\$2
66814 }'
66815 else
66816 as_fn_append ()
66817 {
66818 eval $1=\$$1\$2
66819 }
66820 fi # as_fn_append
66821
66822 # as_fn_arith ARG...
66823 # ------------------
66824 # Perform arithmetic evaluation on the ARGs, and store the result in the
66825 # global $as_val. Take advantage of shells that can avoid forks. The arguments
66826 # must be portable across $(()) and expr.
66827 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
66828 eval 'as_fn_arith ()
66829 {
66830 as_val=$(( $* ))
66831 }'
66832 else
66833 as_fn_arith ()
66834 {
66835 as_val=`expr "$@" || test $? -eq 1`
66836 }
66837 fi # as_fn_arith
66838
66839
66840 if expr a : '\(a\)' >/dev/null 2>&1 &&
66841 test "X`expr 00001 : '.*\(...\)'`" = X001; then
66842 as_expr=expr
66843 else
66844 as_expr=false
66845 fi
66846
66847 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
66848 as_basename=basename
66849 else
66850 as_basename=false
66851 fi
66852
66853 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
66854 as_dirname=dirname
66855 else
66856 as_dirname=false
66857 fi
66858
66859 as_me=`$as_basename -- "$0" ||
66860 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
66861 X"$0" : 'X\(//\)$' \| \
66862 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
66863 $as_echo X/"$0" |
66864 sed '/^.*\/\([^/][^/]*\)\/*$/{
66865 s//\1/
66866 q
66867 }
66868 /^X\/\(\/\/\)$/{
66869 s//\1/
66870 q
66871 }
66872 /^X\/\(\/\).*/{
66873 s//\1/
66874 q
66875 }
66876 s/.*/./; q'`
66877
66878 # Avoid depending upon Character Ranges.
66879 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
66880 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
66881 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
66882 as_cr_digits='0123456789'
66883 as_cr_alnum=$as_cr_Letters$as_cr_digits
66884
66885 ECHO_C= ECHO_N= ECHO_T=
66886 case `echo -n x` in #(((((
66887 -n*)
66888 case `echo 'xy\c'` in
66889 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
66890 xy) ECHO_C='\c';;
66891 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
66892 ECHO_T=' ';;
66893 esac;;
66894 *)
66895 ECHO_N='-n';;
66896 esac
66897
66898 rm -f conf$$ conf$$.exe conf$$.file
66899 if test -d conf$$.dir; then
66900 rm -f conf$$.dir/conf$$.file
66901 else
66902 rm -f conf$$.dir
66903 mkdir conf$$.dir 2>/dev/null
66904 fi
66905 if (echo >conf$$.file) 2>/dev/null; then
66906 if ln -s conf$$.file conf$$ 2>/dev/null; then
66907 as_ln_s='ln -s'
66908 # ... but there are two gotchas:
66909 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
66910 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
66911 # In both cases, we have to default to `cp -p'.
66912 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
66913 as_ln_s='cp -p'
66914 elif ln conf$$.file conf$$ 2>/dev/null; then
66915 as_ln_s=ln
66916 else
66917 as_ln_s='cp -p'
66918 fi
66919 else
66920 as_ln_s='cp -p'
66921 fi
66922 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
66923 rmdir conf$$.dir 2>/dev/null
66924
66925
66926 # as_fn_mkdir_p
66927 # -------------
66928 # Create "$as_dir" as a directory, including parents if necessary.
66929 as_fn_mkdir_p ()
66930 {
66931
66932 case $as_dir in #(
66933 -*) as_dir=./$as_dir;;
66934 esac
66935 test -d "$as_dir" || eval $as_mkdir_p || {
66936 as_dirs=
66937 while :; do
66938 case $as_dir in #(
66939 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
66940 *) as_qdir=$as_dir;;
66941 esac
66942 as_dirs="'$as_qdir' $as_dirs"
66943 as_dir=`$as_dirname -- "$as_dir" ||
66944 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
66945 X"$as_dir" : 'X\(//\)[^/]' \| \
66946 X"$as_dir" : 'X\(//\)$' \| \
66947 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
66948 $as_echo X"$as_dir" |
66949 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
66950 s//\1/
66951 q
66952 }
66953 /^X\(\/\/\)[^/].*/{
66954 s//\1/
66955 q
66956 }
66957 /^X\(\/\/\)$/{
66958 s//\1/
66959 q
66960 }
66961 /^X\(\/\).*/{
66962 s//\1/
66963 q
66964 }
66965 s/.*/./; q'`
66966 test -d "$as_dir" && break
66967 done
66968 test -z "$as_dirs" || eval "mkdir $as_dirs"
66969 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
66970
66971
66972 } # as_fn_mkdir_p
66973 if mkdir -p . 2>/dev/null; then
66974 as_mkdir_p='mkdir -p "$as_dir"'
66975 else
66976 test -d ./-p && rmdir ./-p
66977 as_mkdir_p=false
66978 fi
66979
66980 if test -x / >/dev/null 2>&1; then
66981 as_test_x='test -x'
66982 else
66983 if ls -dL / >/dev/null 2>&1; then
66984 as_ls_L_option=L
66985 else
66986 as_ls_L_option=
66987 fi
66988 as_test_x='
66989 eval sh -c '\''
66990 if test -d "$1"; then
66991 test -d "$1/.";
66992 else
66993 case $1 in #(
66994 -*)set "./$1";;
66995 esac;
66996 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
66997 ???[sx]*):;;*)false;;esac;fi
66998 '\'' sh
66999 '
67000 fi
67001 as_executable_p=$as_test_x
67002
67003 # Sed expression to map a string onto a valid CPP name.
67004 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
67005
67006 # Sed expression to map a string onto a valid variable name.
67007 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
67008
67009
67010 exec 6>&1
67011 ## ----------------------------------- ##
67012 ## Main body of $CONFIG_STATUS script. ##
67013 ## ----------------------------------- ##
67014 _ASEOF
67015 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
67016
67017 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67018 # Save the log message, to keep $0 and so on meaningful, and to
67019 # report actual input values of CONFIG_FILES etc. instead of their
67020 # values after options handling.
67021 ac_log="
67022 This file was extended by package-unused $as_me version-unused, which was
67023 generated by GNU Autoconf 2.64. Invocation command line was
67024
67025 CONFIG_FILES = $CONFIG_FILES
67026 CONFIG_HEADERS = $CONFIG_HEADERS
67027 CONFIG_LINKS = $CONFIG_LINKS
67028 CONFIG_COMMANDS = $CONFIG_COMMANDS
67029 $ $0 $@
67030
67031 on `(hostname || uname -n) 2>/dev/null | sed 1q`
67032 "
67033
67034 _ACEOF
67035
67036 case $ac_config_files in *"
67037 "*) set x $ac_config_files; shift; ac_config_files=$*;;
67038 esac
67039
67040 case $ac_config_headers in *"
67041 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
67042 esac
67043
67044
67045 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67046 # Files that config.status was made for.
67047 config_files="$ac_config_files"
67048 config_headers="$ac_config_headers"
67049 config_commands="$ac_config_commands"
67050
67051 _ACEOF
67052
67053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67054 ac_cs_usage="\
67055 \`$as_me' instantiates files and other configuration actions
67056 from templates according to the current configuration. Unless the files
67057 and actions are specified as TAGs, all are instantiated by default.
67058
67059 Usage: $0 [OPTION]... [TAG]...
67060
67061 -h, --help print this help, then exit
67062 -V, --version print version number and configuration settings, then exit
67063 -q, --quiet, --silent
67064 do not print progress messages
67065 -d, --debug don't remove temporary files
67066 --recheck update $as_me by reconfiguring in the same conditions
67067 --file=FILE[:TEMPLATE]
67068 instantiate the configuration file FILE
67069 --header=FILE[:TEMPLATE]
67070 instantiate the configuration header FILE
67071
67072 Configuration files:
67073 $config_files
67074
67075 Configuration headers:
67076 $config_headers
67077
67078 Configuration commands:
67079 $config_commands
67080
67081 Report bugs to the package provider."
67082
67083 _ACEOF
67084 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67085 ac_cs_version="\\
67086 package-unused config.status version-unused
67087 configured by $0, generated by GNU Autoconf 2.64,
67088 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
67089
67090 Copyright (C) 2009 Free Software Foundation, Inc.
67091 This config.status script is free software; the Free Software Foundation
67092 gives unlimited permission to copy, distribute and modify it."
67093
67094 ac_pwd='$ac_pwd'
67095 srcdir='$srcdir'
67096 INSTALL='$INSTALL'
67097 MKDIR_P='$MKDIR_P'
67098 AWK='$AWK'
67099 test -n "\$AWK" || AWK=awk
67100 _ACEOF
67101
67102 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67103 # The default lists apply if the user does not specify any file.
67104 ac_need_defaults=:
67105 while test $# != 0
67106 do
67107 case $1 in
67108 --*=*)
67109 ac_option=`expr "X$1" : 'X\([^=]*\)='`
67110 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
67111 ac_shift=:
67112 ;;
67113 *)
67114 ac_option=$1
67115 ac_optarg=$2
67116 ac_shift=shift
67117 ;;
67118 esac
67119
67120 case $ac_option in
67121 # Handling of the options.
67122 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
67123 ac_cs_recheck=: ;;
67124 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
67125 $as_echo "$ac_cs_version"; exit ;;
67126 --debug | --debu | --deb | --de | --d | -d )
67127 debug=: ;;
67128 --file | --fil | --fi | --f )
67129 $ac_shift
67130 case $ac_optarg in
67131 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67132 esac
67133 as_fn_append CONFIG_FILES " '$ac_optarg'"
67134 ac_need_defaults=false;;
67135 --header | --heade | --head | --hea )
67136 $ac_shift
67137 case $ac_optarg in
67138 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
67139 esac
67140 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
67141 ac_need_defaults=false;;
67142 --he | --h)
67143 # Conflict between --help and --header
67144 as_fn_error "ambiguous option: \`$1'
67145 Try \`$0 --help' for more information.";;
67146 --help | --hel | -h )
67147 $as_echo "$ac_cs_usage"; exit ;;
67148 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
67149 | -silent | --silent | --silen | --sile | --sil | --si | --s)
67150 ac_cs_silent=: ;;
67151
67152 # This is an error.
67153 -*) as_fn_error "unrecognized option: \`$1'
67154 Try \`$0 --help' for more information." ;;
67155
67156 *) as_fn_append ac_config_targets " $1"
67157 ac_need_defaults=false ;;
67158
67159 esac
67160 shift
67161 done
67162
67163 ac_configure_extra_args=
67164
67165 if $ac_cs_silent; then
67166 exec 6>/dev/null
67167 ac_configure_extra_args="$ac_configure_extra_args --silent"
67168 fi
67169
67170 _ACEOF
67171 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67172 if \$ac_cs_recheck; then
67173 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
67174 shift
67175 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
67176 CONFIG_SHELL='$SHELL'
67177 export CONFIG_SHELL
67178 exec "\$@"
67179 fi
67180
67181 _ACEOF
67182 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67183 exec 5>>config.log
67184 {
67185 echo
67186 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
67187 ## Running $as_me. ##
67188 _ASBOX
67189 $as_echo "$ac_log"
67190 } >&5
67191
67192 _ACEOF
67193 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67194 #
67195 # INIT-COMMANDS
67196 #
67197
67198 srcdir="$srcdir"
67199 host="$host"
67200 target="$target"
67201 with_multisubdir="$with_multisubdir"
67202 with_multisrctop="$with_multisrctop"
67203 with_target_subdir="$with_target_subdir"
67204 ac_configure_args="${multilib_arg} ${ac_configure_args}"
67205 multi_basedir="$multi_basedir"
67206 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
67207 CC="$CC"
67208 CXX="$CXX"
67209 GFORTRAN="$GFORTRAN"
67210 GCJ="$GCJ"
67211
67212
67213 # The HP-UX ksh and POSIX shell print the target directory to stdout
67214 # if CDPATH is set.
67215 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
67216
67217 sed_quote_subst='$sed_quote_subst'
67218 double_quote_subst='$double_quote_subst'
67219 delay_variable_subst='$delay_variable_subst'
67220 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
67221 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
67222 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
67223 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
67224 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
67225 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
67226 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
67227 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
67228 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
67229 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
67230 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
67231 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
67232 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
67233 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
67234 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
67235 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
67236 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
67237 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
67238 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
67239 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
67240 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
67241 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
67242 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
67243 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
67244 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
67245 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
67246 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
67247 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
67248 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
67249 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
67250 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
67251 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
67252 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
67253 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
67254 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
67255 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
67256 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
67257 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67258 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67259 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
67260 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
67261 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
67262 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
67263 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
67264 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
67265 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
67266 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
67267 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
67268 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"`'
67269 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
67270 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
67271 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
67272 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
67273 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
67274 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
67275 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
67276 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
67277 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
67278 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
67279 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
67280 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
67281 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
67282 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
67283 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
67284 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67285 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
67286 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
67287 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
67288 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
67289 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
67290 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
67291 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
67292 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
67293 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67294 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
67295 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
67296 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
67297 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
67298 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
67299 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
67300 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
67301 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
67302 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
67303 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
67304 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
67305 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
67306 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
67307 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
67308 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
67309 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
67310 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
67311 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
67312 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
67313 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
67314 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
67315 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
67316 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
67317 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
67318 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
67319 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
67320 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
67321 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
67322 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
67323 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
67324 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
67325 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
67326 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
67327 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
67328 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
67329 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
67330 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
67331 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
67332 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
67333 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
67334 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
67335 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
67336 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
67337 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
67338 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
67339 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
67340 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
67341 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
67342 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
67343 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
67344 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
67345 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
67346 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
67347 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
67348 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67349 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67350 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
67351 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
67352 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
67353 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
67354 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
67355 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
67356 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
67357 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
67358 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
67359 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67360 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67361 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
67362 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67363 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67364 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67365 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67366 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67367 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67368 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
67369 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67370 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
67371 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
67372 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
67373 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
67374 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
67375 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
67376 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
67377 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
67378 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
67379 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
67380 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
67381 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
67382 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
67383 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67384 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67385 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
67386 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
67387 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
67388 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
67389 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
67390 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67391 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
67392 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
67393 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
67394 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
67395
67396 LTCC='$LTCC'
67397 LTCFLAGS='$LTCFLAGS'
67398 compiler='$compiler_DEFAULT'
67399
67400 # A function that is used when there is no print builtin or printf.
67401 func_fallback_echo ()
67402 {
67403 eval 'cat <<_LTECHO_EOF
67404 \$1
67405 _LTECHO_EOF'
67406 }
67407
67408 # Quote evaled strings.
67409 for var in SHELL \
67410 ECHO \
67411 SED \
67412 GREP \
67413 EGREP \
67414 FGREP \
67415 LD \
67416 NM \
67417 LN_S \
67418 lt_SP2NL \
67419 lt_NL2SP \
67420 reload_flag \
67421 OBJDUMP \
67422 deplibs_check_method \
67423 file_magic_cmd \
67424 AR \
67425 AR_FLAGS \
67426 STRIP \
67427 RANLIB \
67428 CC \
67429 CFLAGS \
67430 compiler \
67431 lt_cv_sys_global_symbol_pipe \
67432 lt_cv_sys_global_symbol_to_cdecl \
67433 lt_cv_sys_global_symbol_to_c_name_address \
67434 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
67435 lt_prog_compiler_no_builtin_flag \
67436 lt_prog_compiler_wl \
67437 lt_prog_compiler_pic \
67438 lt_prog_compiler_static \
67439 lt_cv_prog_compiler_c_o \
67440 need_locks \
67441 DSYMUTIL \
67442 NMEDIT \
67443 LIPO \
67444 OTOOL \
67445 OTOOL64 \
67446 shrext_cmds \
67447 export_dynamic_flag_spec \
67448 whole_archive_flag_spec \
67449 compiler_needs_object \
67450 with_gnu_ld \
67451 allow_undefined_flag \
67452 no_undefined_flag \
67453 hardcode_libdir_flag_spec \
67454 hardcode_libdir_flag_spec_ld \
67455 hardcode_libdir_separator \
67456 fix_srcfile_path \
67457 exclude_expsyms \
67458 include_expsyms \
67459 file_list_spec \
67460 variables_saved_for_relink \
67461 libname_spec \
67462 library_names_spec \
67463 soname_spec \
67464 install_override_mode \
67465 finish_eval \
67466 old_striplib \
67467 striplib \
67468 compiler_lib_search_dirs \
67469 predep_objects \
67470 postdep_objects \
67471 predeps \
67472 postdeps \
67473 compiler_lib_search_path \
67474 LD_CXX \
67475 reload_flag_CXX \
67476 compiler_CXX \
67477 lt_prog_compiler_no_builtin_flag_CXX \
67478 lt_prog_compiler_wl_CXX \
67479 lt_prog_compiler_pic_CXX \
67480 lt_prog_compiler_static_CXX \
67481 lt_cv_prog_compiler_c_o_CXX \
67482 export_dynamic_flag_spec_CXX \
67483 whole_archive_flag_spec_CXX \
67484 compiler_needs_object_CXX \
67485 with_gnu_ld_CXX \
67486 allow_undefined_flag_CXX \
67487 no_undefined_flag_CXX \
67488 hardcode_libdir_flag_spec_CXX \
67489 hardcode_libdir_flag_spec_ld_CXX \
67490 hardcode_libdir_separator_CXX \
67491 fix_srcfile_path_CXX \
67492 exclude_expsyms_CXX \
67493 include_expsyms_CXX \
67494 file_list_spec_CXX \
67495 compiler_lib_search_dirs_CXX \
67496 predep_objects_CXX \
67497 postdep_objects_CXX \
67498 predeps_CXX \
67499 postdeps_CXX \
67500 compiler_lib_search_path_CXX; do
67501 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67502 *[\\\\\\\`\\"\\\$]*)
67503 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
67504 ;;
67505 *)
67506 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67507 ;;
67508 esac
67509 done
67510
67511 # Double-quote double-evaled strings.
67512 for var in reload_cmds \
67513 old_postinstall_cmds \
67514 old_postuninstall_cmds \
67515 old_archive_cmds \
67516 extract_expsyms_cmds \
67517 old_archive_from_new_cmds \
67518 old_archive_from_expsyms_cmds \
67519 archive_cmds \
67520 archive_expsym_cmds \
67521 module_cmds \
67522 module_expsym_cmds \
67523 export_symbols_cmds \
67524 prelink_cmds \
67525 postinstall_cmds \
67526 postuninstall_cmds \
67527 finish_cmds \
67528 sys_lib_search_path_spec \
67529 sys_lib_dlsearch_path_spec \
67530 reload_cmds_CXX \
67531 old_archive_cmds_CXX \
67532 old_archive_from_new_cmds_CXX \
67533 old_archive_from_expsyms_cmds_CXX \
67534 archive_cmds_CXX \
67535 archive_expsym_cmds_CXX \
67536 module_cmds_CXX \
67537 module_expsym_cmds_CXX \
67538 export_symbols_cmds_CXX \
67539 prelink_cmds_CXX; do
67540 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
67541 *[\\\\\\\`\\"\\\$]*)
67542 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
67543 ;;
67544 *)
67545 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
67546 ;;
67547 esac
67548 done
67549
67550 ac_aux_dir='$ac_aux_dir'
67551 xsi_shell='$xsi_shell'
67552 lt_shell_append='$lt_shell_append'
67553
67554 # See if we are running on zsh, and set the options which allow our
67555 # commands through without removal of \ escapes INIT.
67556 if test -n "\${ZSH_VERSION+set}" ; then
67557 setopt NO_GLOB_SUBST
67558 fi
67559
67560
67561 PACKAGE='$PACKAGE'
67562 VERSION='$VERSION'
67563 TIMESTAMP='$TIMESTAMP'
67564 RM='$RM'
67565 ofile='$ofile'
67566
67567
67568
67569
67570
67571
67572 GCC="$GCC"
67573 CC="$CC"
67574 acx_cv_header_stdint="$acx_cv_header_stdint"
67575 acx_cv_type_int8_t="$acx_cv_type_int8_t"
67576 acx_cv_type_int16_t="$acx_cv_type_int16_t"
67577 acx_cv_type_int32_t="$acx_cv_type_int32_t"
67578 acx_cv_type_int64_t="$acx_cv_type_int64_t"
67579 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
67580 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
67581 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
67582 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
67583 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
67584 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
67585 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
67586 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
67587 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
67588
67589
67590 _ACEOF
67591
67592 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67593
67594 # Handling of arguments.
67595 for ac_config_target in $ac_config_targets
67596 do
67597 case $ac_config_target in
67598 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
67599 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
67600 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
67601 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
67602 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
67603 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
67604 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
67605 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
67606 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
67607 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
67608 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
67609 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
67610 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
67611 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
67612 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
67613
67614 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
67615 esac
67616 done
67617
67618
67619 # If the user did not use the arguments to specify the items to instantiate,
67620 # then the envvar interface is used. Set only those that are not.
67621 # We use the long form for the default assignment because of an extremely
67622 # bizarre bug on SunOS 4.1.3.
67623 if $ac_need_defaults; then
67624 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
67625 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
67626 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
67627 fi
67628
67629 # Have a temporary directory for convenience. Make it in the build tree
67630 # simply because there is no reason against having it here, and in addition,
67631 # creating and moving files from /tmp can sometimes cause problems.
67632 # Hook for its removal unless debugging.
67633 # Note that there is a small window in which the directory will not be cleaned:
67634 # after its creation but before its name has been assigned to `$tmp'.
67635 $debug ||
67636 {
67637 tmp=
67638 trap 'exit_status=$?
67639 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
67640 ' 0
67641 trap 'as_fn_exit 1' 1 2 13 15
67642 }
67643 # Create a (secure) tmp directory for tmp files.
67644
67645 {
67646 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
67647 test -n "$tmp" && test -d "$tmp"
67648 } ||
67649 {
67650 tmp=./conf$$-$RANDOM
67651 (umask 077 && mkdir "$tmp")
67652 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
67653
67654 # Set up the scripts for CONFIG_FILES section.
67655 # No need to generate them if there are no CONFIG_FILES.
67656 # This happens for instance with `./config.status config.h'.
67657 if test -n "$CONFIG_FILES"; then
67658
67659
67660 ac_cr=`echo X | tr X '\015'`
67661 # On cygwin, bash can eat \r inside `` if the user requested igncr.
67662 # But we know of no other shell where ac_cr would be empty at this
67663 # point, so we can use a bashism as a fallback.
67664 if test "x$ac_cr" = x; then
67665 eval ac_cr=\$\'\\r\'
67666 fi
67667 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
67668 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
67669 ac_cs_awk_cr='\r'
67670 else
67671 ac_cs_awk_cr=$ac_cr
67672 fi
67673
67674 echo 'BEGIN {' >"$tmp/subs1.awk" &&
67675 _ACEOF
67676
67677
67678 {
67679 echo "cat >conf$$subs.awk <<_ACEOF" &&
67680 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
67681 echo "_ACEOF"
67682 } >conf$$subs.sh ||
67683 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67684 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
67685 ac_delim='%!_!# '
67686 for ac_last_try in false false false false false :; do
67687 . ./conf$$subs.sh ||
67688 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67689
67690 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
67691 if test $ac_delim_n = $ac_delim_num; then
67692 break
67693 elif $ac_last_try; then
67694 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
67695 else
67696 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67697 fi
67698 done
67699 rm -f conf$$subs.sh
67700
67701 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67702 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
67703 _ACEOF
67704 sed -n '
67705 h
67706 s/^/S["/; s/!.*/"]=/
67707 p
67708 g
67709 s/^[^!]*!//
67710 :repl
67711 t repl
67712 s/'"$ac_delim"'$//
67713 t delim
67714 :nl
67715 h
67716 s/\(.\{148\}\).*/\1/
67717 t more1
67718 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
67719 p
67720 n
67721 b repl
67722 :more1
67723 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67724 p
67725 g
67726 s/.\{148\}//
67727 t nl
67728 :delim
67729 h
67730 s/\(.\{148\}\).*/\1/
67731 t more2
67732 s/["\\]/\\&/g; s/^/"/; s/$/"/
67733 p
67734 b
67735 :more2
67736 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
67737 p
67738 g
67739 s/.\{148\}//
67740 t delim
67741 ' <conf$$subs.awk | sed '
67742 /^[^""]/{
67743 N
67744 s/\n//
67745 }
67746 ' >>$CONFIG_STATUS || ac_write_fail=1
67747 rm -f conf$$subs.awk
67748 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67749 _ACAWK
67750 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
67751 for (key in S) S_is_set[key] = 1
67752 FS = "\a"
67753
67754 }
67755 {
67756 line = $ 0
67757 nfields = split(line, field, "@")
67758 substed = 0
67759 len = length(field[1])
67760 for (i = 2; i < nfields; i++) {
67761 key = field[i]
67762 keylen = length(key)
67763 if (S_is_set[key]) {
67764 value = S[key]
67765 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
67766 len += length(value) + length(field[++i])
67767 substed = 1
67768 } else
67769 len += 1 + keylen
67770 }
67771
67772 print line
67773 }
67774
67775 _ACAWK
67776 _ACEOF
67777 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67778 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
67779 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
67780 else
67781 cat
67782 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
67783 || as_fn_error "could not setup config files machinery" "$LINENO" 5
67784 _ACEOF
67785
67786 # VPATH may cause trouble with some makes, so we remove $(srcdir),
67787 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
67788 # trailing colons and then remove the whole line if VPATH becomes empty
67789 # (actually we leave an empty line to preserve line numbers).
67790 if test "x$srcdir" = x.; then
67791 ac_vpsub='/^[ ]*VPATH[ ]*=/{
67792 s/:*\$(srcdir):*/:/
67793 s/:*\${srcdir}:*/:/
67794 s/:*@srcdir@:*/:/
67795 s/^\([^=]*=[ ]*\):*/\1/
67796 s/:*$//
67797 s/^[^=]*=[ ]*$//
67798 }'
67799 fi
67800
67801 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67802 fi # test -n "$CONFIG_FILES"
67803
67804 # Set up the scripts for CONFIG_HEADERS section.
67805 # No need to generate them if there are no CONFIG_HEADERS.
67806 # This happens for instance with `./config.status Makefile'.
67807 if test -n "$CONFIG_HEADERS"; then
67808 cat >"$tmp/defines.awk" <<\_ACAWK ||
67809 BEGIN {
67810 _ACEOF
67811
67812 # Transform confdefs.h into an awk script `defines.awk', embedded as
67813 # here-document in config.status, that substitutes the proper values into
67814 # config.h.in to produce config.h.
67815
67816 # Create a delimiter string that does not exist in confdefs.h, to ease
67817 # handling of long lines.
67818 ac_delim='%!_!# '
67819 for ac_last_try in false false :; do
67820 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
67821 if test -z "$ac_t"; then
67822 break
67823 elif $ac_last_try; then
67824 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
67825 else
67826 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
67827 fi
67828 done
67829
67830 # For the awk script, D is an array of macro values keyed by name,
67831 # likewise P contains macro parameters if any. Preserve backslash
67832 # newline sequences.
67833
67834 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
67835 sed -n '
67836 s/.\{148\}/&'"$ac_delim"'/g
67837 t rset
67838 :rset
67839 s/^[ ]*#[ ]*define[ ][ ]*/ /
67840 t def
67841 d
67842 :def
67843 s/\\$//
67844 t bsnl
67845 s/["\\]/\\&/g
67846 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67847 D["\1"]=" \3"/p
67848 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
67849 d
67850 :bsnl
67851 s/["\\]/\\&/g
67852 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
67853 D["\1"]=" \3\\\\\\n"\\/p
67854 t cont
67855 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
67856 t cont
67857 d
67858 :cont
67859 n
67860 s/.\{148\}/&'"$ac_delim"'/g
67861 t clear
67862 :clear
67863 s/\\$//
67864 t bsnlc
67865 s/["\\]/\\&/g; s/^/"/; s/$/"/p
67866 d
67867 :bsnlc
67868 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
67869 b cont
67870 ' <confdefs.h | sed '
67871 s/'"$ac_delim"'/"\\\
67872 "/g' >>$CONFIG_STATUS || ac_write_fail=1
67873
67874 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
67875 for (key in D) D_is_set[key] = 1
67876 FS = "\a"
67877 }
67878 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
67879 line = \$ 0
67880 split(line, arg, " ")
67881 if (arg[1] == "#") {
67882 defundef = arg[2]
67883 mac1 = arg[3]
67884 } else {
67885 defundef = substr(arg[1], 2)
67886 mac1 = arg[2]
67887 }
67888 split(mac1, mac2, "(") #)
67889 macro = mac2[1]
67890 prefix = substr(line, 1, index(line, defundef) - 1)
67891 if (D_is_set[macro]) {
67892 # Preserve the white space surrounding the "#".
67893 print prefix "define", macro P[macro] D[macro]
67894 next
67895 } else {
67896 # Replace #undef with comments. This is necessary, for example,
67897 # in the case of _POSIX_SOURCE, which is predefined and required
67898 # on some systems where configure will not decide to define it.
67899 if (defundef == "undef") {
67900 print "/*", prefix defundef, macro, "*/"
67901 next
67902 }
67903 }
67904 }
67905 { print }
67906 _ACAWK
67907 _ACEOF
67908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
67909 as_fn_error "could not setup config headers machinery" "$LINENO" 5
67910 fi # test -n "$CONFIG_HEADERS"
67911
67912
67913 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
67914 shift
67915 for ac_tag
67916 do
67917 case $ac_tag in
67918 :[FHLC]) ac_mode=$ac_tag; continue;;
67919 esac
67920 case $ac_mode$ac_tag in
67921 :[FHL]*:*);;
67922 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
67923 :[FH]-) ac_tag=-:-;;
67924 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
67925 esac
67926 ac_save_IFS=$IFS
67927 IFS=:
67928 set x $ac_tag
67929 IFS=$ac_save_IFS
67930 shift
67931 ac_file=$1
67932 shift
67933
67934 case $ac_mode in
67935 :L) ac_source=$1;;
67936 :[FH])
67937 ac_file_inputs=
67938 for ac_f
67939 do
67940 case $ac_f in
67941 -) ac_f="$tmp/stdin";;
67942 *) # Look for the file first in the build tree, then in the source tree
67943 # (if the path is not absolute). The absolute path cannot be DOS-style,
67944 # because $ac_f cannot contain `:'.
67945 test -f "$ac_f" ||
67946 case $ac_f in
67947 [\\/$]*) false;;
67948 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
67949 esac ||
67950 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
67951 esac
67952 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
67953 as_fn_append ac_file_inputs " '$ac_f'"
67954 done
67955
67956 # Let's still pretend it is `configure' which instantiates (i.e., don't
67957 # use $as_me), people would be surprised to read:
67958 # /* config.h. Generated by config.status. */
67959 configure_input='Generated from '`
67960 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
67961 `' by configure.'
67962 if test x"$ac_file" != x-; then
67963 configure_input="$ac_file. $configure_input"
67964 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
67965 $as_echo "$as_me: creating $ac_file" >&6;}
67966 fi
67967 # Neutralize special characters interpreted by sed in replacement strings.
67968 case $configure_input in #(
67969 *\&* | *\|* | *\\* )
67970 ac_sed_conf_input=`$as_echo "$configure_input" |
67971 sed 's/[\\\\&|]/\\\\&/g'`;; #(
67972 *) ac_sed_conf_input=$configure_input;;
67973 esac
67974
67975 case $ac_tag in
67976 *:-:* | *:-) cat >"$tmp/stdin" \
67977 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
67978 esac
67979 ;;
67980 esac
67981
67982 ac_dir=`$as_dirname -- "$ac_file" ||
67983 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
67984 X"$ac_file" : 'X\(//\)[^/]' \| \
67985 X"$ac_file" : 'X\(//\)$' \| \
67986 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
67987 $as_echo X"$ac_file" |
67988 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
67989 s//\1/
67990 q
67991 }
67992 /^X\(\/\/\)[^/].*/{
67993 s//\1/
67994 q
67995 }
67996 /^X\(\/\/\)$/{
67997 s//\1/
67998 q
67999 }
68000 /^X\(\/\).*/{
68001 s//\1/
68002 q
68003 }
68004 s/.*/./; q'`
68005 as_dir="$ac_dir"; as_fn_mkdir_p
68006 ac_builddir=.
68007
68008 case "$ac_dir" in
68009 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
68010 *)
68011 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
68012 # A ".." for each directory in $ac_dir_suffix.
68013 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
68014 case $ac_top_builddir_sub in
68015 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
68016 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
68017 esac ;;
68018 esac
68019 ac_abs_top_builddir=$ac_pwd
68020 ac_abs_builddir=$ac_pwd$ac_dir_suffix
68021 # for backward compatibility:
68022 ac_top_builddir=$ac_top_build_prefix
68023
68024 case $srcdir in
68025 .) # We are building in place.
68026 ac_srcdir=.
68027 ac_top_srcdir=$ac_top_builddir_sub
68028 ac_abs_top_srcdir=$ac_pwd ;;
68029 [\\/]* | ?:[\\/]* ) # Absolute name.
68030 ac_srcdir=$srcdir$ac_dir_suffix;
68031 ac_top_srcdir=$srcdir
68032 ac_abs_top_srcdir=$srcdir ;;
68033 *) # Relative name.
68034 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
68035 ac_top_srcdir=$ac_top_build_prefix$srcdir
68036 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
68037 esac
68038 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
68039
68040
68041 case $ac_mode in
68042 :F)
68043 #
68044 # CONFIG_FILE
68045 #
68046
68047 case $INSTALL in
68048 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
68049 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
68050 esac
68051 ac_MKDIR_P=$MKDIR_P
68052 case $MKDIR_P in
68053 [\\/$]* | ?:[\\/]* ) ;;
68054 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
68055 esac
68056 _ACEOF
68057
68058 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68059 # If the template does not know about datarootdir, expand it.
68060 # FIXME: This hack should be removed a few years after 2.60.
68061 ac_datarootdir_hack=; ac_datarootdir_seen=
68062 ac_sed_dataroot='
68063 /datarootdir/ {
68064 p
68065 q
68066 }
68067 /@datadir@/p
68068 /@docdir@/p
68069 /@infodir@/p
68070 /@localedir@/p
68071 /@mandir@/p'
68072 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
68073 *datarootdir*) ac_datarootdir_seen=yes;;
68074 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
68075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
68076 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
68077 _ACEOF
68078 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68079 ac_datarootdir_hack='
68080 s&@datadir@&$datadir&g
68081 s&@docdir@&$docdir&g
68082 s&@infodir@&$infodir&g
68083 s&@localedir@&$localedir&g
68084 s&@mandir@&$mandir&g
68085 s&\\\${datarootdir}&$datarootdir&g' ;;
68086 esac
68087 _ACEOF
68088
68089 # Neutralize VPATH when `$srcdir' = `.'.
68090 # Shell code in configure.ac might set extrasub.
68091 # FIXME: do we really want to maintain this feature?
68092 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
68093 ac_sed_extra="$ac_vpsub
68094 $extrasub
68095 _ACEOF
68096 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
68097 :t
68098 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
68099 s|@configure_input@|$ac_sed_conf_input|;t t
68100 s&@top_builddir@&$ac_top_builddir_sub&;t t
68101 s&@top_build_prefix@&$ac_top_build_prefix&;t t
68102 s&@srcdir@&$ac_srcdir&;t t
68103 s&@abs_srcdir@&$ac_abs_srcdir&;t t
68104 s&@top_srcdir@&$ac_top_srcdir&;t t
68105 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
68106 s&@builddir@&$ac_builddir&;t t
68107 s&@abs_builddir@&$ac_abs_builddir&;t t
68108 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
68109 s&@INSTALL@&$ac_INSTALL&;t t
68110 s&@MKDIR_P@&$ac_MKDIR_P&;t t
68111 $ac_datarootdir_hack
68112 "
68113 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
68114 || as_fn_error "could not create $ac_file" "$LINENO" 5
68115
68116 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
68117 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
68118 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
68119 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68120 which seems to be undefined. Please make sure it is defined." >&5
68121 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
68122 which seems to be undefined. Please make sure it is defined." >&2;}
68123
68124 rm -f "$tmp/stdin"
68125 case $ac_file in
68126 -) cat "$tmp/out" && rm -f "$tmp/out";;
68127 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
68128 esac \
68129 || as_fn_error "could not create $ac_file" "$LINENO" 5
68130 ;;
68131 :H)
68132 #
68133 # CONFIG_HEADER
68134 #
68135 if test x"$ac_file" != x-; then
68136 {
68137 $as_echo "/* $configure_input */" \
68138 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
68139 } >"$tmp/config.h" \
68140 || as_fn_error "could not create $ac_file" "$LINENO" 5
68141 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
68142 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
68143 $as_echo "$as_me: $ac_file is unchanged" >&6;}
68144 else
68145 rm -f "$ac_file"
68146 mv "$tmp/config.h" "$ac_file" \
68147 || as_fn_error "could not create $ac_file" "$LINENO" 5
68148 fi
68149 else
68150 $as_echo "/* $configure_input */" \
68151 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
68152 || as_fn_error "could not create -" "$LINENO" 5
68153 fi
68154 # Compute "$ac_file"'s index in $config_headers.
68155 _am_arg="$ac_file"
68156 _am_stamp_count=1
68157 for _am_header in $config_headers :; do
68158 case $_am_header in
68159 $_am_arg | $_am_arg:* )
68160 break ;;
68161 * )
68162 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
68163 esac
68164 done
68165 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
68166 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
68167 X"$_am_arg" : 'X\(//\)[^/]' \| \
68168 X"$_am_arg" : 'X\(//\)$' \| \
68169 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
68170 $as_echo X"$_am_arg" |
68171 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
68172 s//\1/
68173 q
68174 }
68175 /^X\(\/\/\)[^/].*/{
68176 s//\1/
68177 q
68178 }
68179 /^X\(\/\/\)$/{
68180 s//\1/
68181 q
68182 }
68183 /^X\(\/\).*/{
68184 s//\1/
68185 q
68186 }
68187 s/.*/./; q'`/stamp-h$_am_stamp_count
68188 ;;
68189
68190 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
68191 $as_echo "$as_me: executing $ac_file commands" >&6;}
68192 ;;
68193 esac
68194
68195
68196 case $ac_file$ac_mode in
68197 "default-1":C)
68198 # Only add multilib support code if we just rebuilt the top-level
68199 # Makefile.
68200 case " $CONFIG_FILES " in
68201 *" Makefile "*)
68202 ac_file=Makefile . ${multi_basedir}/config-ml.in
68203 ;;
68204 esac ;;
68205 "libtool":C)
68206
68207 # See if we are running on zsh, and set the options which allow our
68208 # commands through without removal of \ escapes.
68209 if test -n "${ZSH_VERSION+set}" ; then
68210 setopt NO_GLOB_SUBST
68211 fi
68212
68213 cfgfile="${ofile}T"
68214 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
68215 $RM "$cfgfile"
68216
68217 cat <<_LT_EOF >> "$cfgfile"
68218 #! $SHELL
68219
68220 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
68221 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
68222 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
68223 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
68224 #
68225 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
68226 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
68227 # Written by Gordon Matzigkeit, 1996
68228 #
68229 # This file is part of GNU Libtool.
68230 #
68231 # GNU Libtool is free software; you can redistribute it and/or
68232 # modify it under the terms of the GNU General Public License as
68233 # published by the Free Software Foundation; either version 2 of
68234 # the License, or (at your option) any later version.
68235 #
68236 # As a special exception to the GNU General Public License,
68237 # if you distribute this file as part of a program or library that
68238 # is built using GNU Libtool, you may include this file under the
68239 # same distribution terms that you use for the rest of that program.
68240 #
68241 # GNU Libtool is distributed in the hope that it will be useful,
68242 # but WITHOUT ANY WARRANTY; without even the implied warranty of
68243 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
68244 # GNU General Public License for more details.
68245 #
68246 # You should have received a copy of the GNU General Public License
68247 # along with GNU Libtool; see the file COPYING. If not, a copy
68248 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
68249 # obtained by writing to the Free Software Foundation, Inc.,
68250 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
68251
68252
68253 # The names of the tagged configurations supported by this script.
68254 available_tags="CXX "
68255
68256 # ### BEGIN LIBTOOL CONFIG
68257
68258 # Which release of libtool.m4 was used?
68259 macro_version=$macro_version
68260 macro_revision=$macro_revision
68261
68262 # Whether or not to build shared libraries.
68263 build_libtool_libs=$enable_shared
68264
68265 # Whether or not to build static libraries.
68266 build_old_libs=$enable_static
68267
68268 # What type of objects to build.
68269 pic_mode=$pic_mode
68270
68271 # Whether or not to optimize for fast installation.
68272 fast_install=$enable_fast_install
68273
68274 # Shell to use when invoking shell scripts.
68275 SHELL=$lt_SHELL
68276
68277 # An echo program that protects backslashes.
68278 ECHO=$lt_ECHO
68279
68280 # The host system.
68281 host_alias=$host_alias
68282 host=$host
68283 host_os=$host_os
68284
68285 # The build system.
68286 build_alias=$build_alias
68287 build=$build
68288 build_os=$build_os
68289
68290 # A sed program that does not truncate output.
68291 SED=$lt_SED
68292
68293 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
68294 Xsed="\$SED -e 1s/^X//"
68295
68296 # A grep program that handles long lines.
68297 GREP=$lt_GREP
68298
68299 # An ERE matcher.
68300 EGREP=$lt_EGREP
68301
68302 # A literal string matcher.
68303 FGREP=$lt_FGREP
68304
68305 # A BSD- or MS-compatible name lister.
68306 NM=$lt_NM
68307
68308 # Whether we need soft or hard links.
68309 LN_S=$lt_LN_S
68310
68311 # What is the maximum length of a command?
68312 max_cmd_len=$max_cmd_len
68313
68314 # Object file suffix (normally "o").
68315 objext=$ac_objext
68316
68317 # Executable file suffix (normally "").
68318 exeext=$exeext
68319
68320 # whether the shell understands "unset".
68321 lt_unset=$lt_unset
68322
68323 # turn spaces into newlines.
68324 SP2NL=$lt_lt_SP2NL
68325
68326 # turn newlines into spaces.
68327 NL2SP=$lt_lt_NL2SP
68328
68329 # An object symbol dumper.
68330 OBJDUMP=$lt_OBJDUMP
68331
68332 # Method to check whether dependent libraries are shared objects.
68333 deplibs_check_method=$lt_deplibs_check_method
68334
68335 # Command to use when deplibs_check_method == "file_magic".
68336 file_magic_cmd=$lt_file_magic_cmd
68337
68338 # The archiver.
68339 AR=$lt_AR
68340 AR_FLAGS=$lt_AR_FLAGS
68341
68342 # A symbol stripping program.
68343 STRIP=$lt_STRIP
68344
68345 # Commands used to install an old-style archive.
68346 RANLIB=$lt_RANLIB
68347 old_postinstall_cmds=$lt_old_postinstall_cmds
68348 old_postuninstall_cmds=$lt_old_postuninstall_cmds
68349
68350 # Whether to use a lock for old archive extraction.
68351 lock_old_archive_extraction=$lock_old_archive_extraction
68352
68353 # A C compiler.
68354 LTCC=$lt_CC
68355
68356 # LTCC compiler flags.
68357 LTCFLAGS=$lt_CFLAGS
68358
68359 # Take the output of nm and produce a listing of raw symbols and C names.
68360 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
68361
68362 # Transform the output of nm in a proper C declaration.
68363 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
68364
68365 # Transform the output of nm in a C name address pair.
68366 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
68367
68368 # Transform the output of nm in a C name address pair when lib prefix is needed.
68369 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
68370
68371 # The name of the directory that contains temporary libtool files.
68372 objdir=$objdir
68373
68374 # Used to examine libraries when file_magic_cmd begins with "file".
68375 MAGIC_CMD=$MAGIC_CMD
68376
68377 # Must we lock files when doing compilation?
68378 need_locks=$lt_need_locks
68379
68380 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
68381 DSYMUTIL=$lt_DSYMUTIL
68382
68383 # Tool to change global to local symbols on Mac OS X.
68384 NMEDIT=$lt_NMEDIT
68385
68386 # Tool to manipulate fat objects and archives on Mac OS X.
68387 LIPO=$lt_LIPO
68388
68389 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
68390 OTOOL=$lt_OTOOL
68391
68392 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
68393 OTOOL64=$lt_OTOOL64
68394
68395 # Old archive suffix (normally "a").
68396 libext=$libext
68397
68398 # Shared library suffix (normally ".so").
68399 shrext_cmds=$lt_shrext_cmds
68400
68401 # The commands to extract the exported symbol list from a shared archive.
68402 extract_expsyms_cmds=$lt_extract_expsyms_cmds
68403
68404 # Variables whose values should be saved in libtool wrapper scripts and
68405 # restored at link time.
68406 variables_saved_for_relink=$lt_variables_saved_for_relink
68407
68408 # Do we need the "lib" prefix for modules?
68409 need_lib_prefix=$need_lib_prefix
68410
68411 # Do we need a version for libraries?
68412 need_version=$need_version
68413
68414 # Library versioning type.
68415 version_type=$version_type
68416
68417 # Shared library runtime path variable.
68418 runpath_var=$runpath_var
68419
68420 # Shared library path variable.
68421 shlibpath_var=$shlibpath_var
68422
68423 # Is shlibpath searched before the hard-coded library search path?
68424 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
68425
68426 # Format of library name prefix.
68427 libname_spec=$lt_libname_spec
68428
68429 # List of archive names. First name is the real one, the rest are links.
68430 # The last name is the one that the linker finds with -lNAME
68431 library_names_spec=$lt_library_names_spec
68432
68433 # The coded name of the library, if different from the real name.
68434 soname_spec=$lt_soname_spec
68435
68436 # Permission mode override for installation of shared libraries.
68437 install_override_mode=$lt_install_override_mode
68438
68439 # Command to use after installation of a shared archive.
68440 postinstall_cmds=$lt_postinstall_cmds
68441
68442 # Command to use after uninstallation of a shared archive.
68443 postuninstall_cmds=$lt_postuninstall_cmds
68444
68445 # Commands used to finish a libtool library installation in a directory.
68446 finish_cmds=$lt_finish_cmds
68447
68448 # As "finish_cmds", except a single script fragment to be evaled but
68449 # not shown.
68450 finish_eval=$lt_finish_eval
68451
68452 # Whether we should hardcode library paths into libraries.
68453 hardcode_into_libs=$hardcode_into_libs
68454
68455 # Compile-time system search path for libraries.
68456 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
68457
68458 # Run-time system search path for libraries.
68459 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
68460
68461 # Whether dlopen is supported.
68462 dlopen_support=$enable_dlopen
68463
68464 # Whether dlopen of programs is supported.
68465 dlopen_self=$enable_dlopen_self
68466
68467 # Whether dlopen of statically linked programs is supported.
68468 dlopen_self_static=$enable_dlopen_self_static
68469
68470 # Commands to strip libraries.
68471 old_striplib=$lt_old_striplib
68472 striplib=$lt_striplib
68473
68474
68475 # The linker used to build libraries.
68476 LD=$lt_LD
68477
68478 # How to create reloadable object files.
68479 reload_flag=$lt_reload_flag
68480 reload_cmds=$lt_reload_cmds
68481
68482 # Commands used to build an old-style archive.
68483 old_archive_cmds=$lt_old_archive_cmds
68484
68485 # A language specific compiler.
68486 CC=$lt_compiler
68487
68488 # Is the compiler the GNU compiler?
68489 with_gcc=$GCC
68490
68491 # Compiler flag to turn off builtin functions.
68492 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
68493
68494 # How to pass a linker flag through the compiler.
68495 wl=$lt_lt_prog_compiler_wl
68496
68497 # Additional compiler flags for building library objects.
68498 pic_flag=$lt_lt_prog_compiler_pic
68499
68500 # Compiler flag to prevent dynamic linking.
68501 link_static_flag=$lt_lt_prog_compiler_static
68502
68503 # Does compiler simultaneously support -c and -o options?
68504 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
68505
68506 # Whether or not to add -lc for building shared libraries.
68507 build_libtool_need_lc=$archive_cmds_need_lc
68508
68509 # Whether or not to disallow shared libs when runtime libs are static.
68510 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
68511
68512 # Compiler flag to allow reflexive dlopens.
68513 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
68514
68515 # Compiler flag to generate shared objects directly from archives.
68516 whole_archive_flag_spec=$lt_whole_archive_flag_spec
68517
68518 # Whether the compiler copes with passing no objects directly.
68519 compiler_needs_object=$lt_compiler_needs_object
68520
68521 # Create an old-style archive from a shared archive.
68522 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
68523
68524 # Create a temporary old-style archive to link instead of a shared archive.
68525 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
68526
68527 # Commands used to build a shared archive.
68528 archive_cmds=$lt_archive_cmds
68529 archive_expsym_cmds=$lt_archive_expsym_cmds
68530
68531 # Commands used to build a loadable module if different from building
68532 # a shared archive.
68533 module_cmds=$lt_module_cmds
68534 module_expsym_cmds=$lt_module_expsym_cmds
68535
68536 # Whether we are building with GNU ld or not.
68537 with_gnu_ld=$lt_with_gnu_ld
68538
68539 # Flag that allows shared libraries with undefined symbols to be built.
68540 allow_undefined_flag=$lt_allow_undefined_flag
68541
68542 # Flag that enforces no undefined symbols.
68543 no_undefined_flag=$lt_no_undefined_flag
68544
68545 # Flag to hardcode \$libdir into a binary during linking.
68546 # This must work even if \$libdir does not exist
68547 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
68548
68549 # If ld is used when linking, flag to hardcode \$libdir into a binary
68550 # during linking. This must work even if \$libdir does not exist.
68551 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
68552
68553 # Whether we need a single "-rpath" flag with a separated argument.
68554 hardcode_libdir_separator=$lt_hardcode_libdir_separator
68555
68556 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68557 # DIR into the resulting binary.
68558 hardcode_direct=$hardcode_direct
68559
68560 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68561 # DIR into the resulting binary and the resulting library dependency is
68562 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68563 # library is relocated.
68564 hardcode_direct_absolute=$hardcode_direct_absolute
68565
68566 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68567 # into the resulting binary.
68568 hardcode_minus_L=$hardcode_minus_L
68569
68570 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68571 # into the resulting binary.
68572 hardcode_shlibpath_var=$hardcode_shlibpath_var
68573
68574 # Set to "yes" if building a shared library automatically hardcodes DIR
68575 # into the library and all subsequent libraries and executables linked
68576 # against it.
68577 hardcode_automatic=$hardcode_automatic
68578
68579 # Set to yes if linker adds runtime paths of dependent libraries
68580 # to runtime path list.
68581 inherit_rpath=$inherit_rpath
68582
68583 # Whether libtool must link a program against all its dependency libraries.
68584 link_all_deplibs=$link_all_deplibs
68585
68586 # Fix the shell variable \$srcfile for the compiler.
68587 fix_srcfile_path=$lt_fix_srcfile_path
68588
68589 # Set to "yes" if exported symbols are required.
68590 always_export_symbols=$always_export_symbols
68591
68592 # The commands to list exported symbols.
68593 export_symbols_cmds=$lt_export_symbols_cmds
68594
68595 # Symbols that should not be listed in the preloaded symbols.
68596 exclude_expsyms=$lt_exclude_expsyms
68597
68598 # Symbols that must always be exported.
68599 include_expsyms=$lt_include_expsyms
68600
68601 # Commands necessary for linking programs (against libraries) with templates.
68602 prelink_cmds=$lt_prelink_cmds
68603
68604 # Specify filename containing input files.
68605 file_list_spec=$lt_file_list_spec
68606
68607 # How to hardcode a shared library path into an executable.
68608 hardcode_action=$hardcode_action
68609
68610 # The directories searched by this compiler when creating a shared library.
68611 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
68612
68613 # Dependencies to place before and after the objects being linked to
68614 # create a shared library.
68615 predep_objects=$lt_predep_objects
68616 postdep_objects=$lt_postdep_objects
68617 predeps=$lt_predeps
68618 postdeps=$lt_postdeps
68619
68620 # The library search path used internally by the compiler when linking
68621 # a shared library.
68622 compiler_lib_search_path=$lt_compiler_lib_search_path
68623
68624 # ### END LIBTOOL CONFIG
68625
68626 _LT_EOF
68627
68628 case $host_os in
68629 aix3*)
68630 cat <<\_LT_EOF >> "$cfgfile"
68631 # AIX sometimes has problems with the GCC collect2 program. For some
68632 # reason, if we set the COLLECT_NAMES environment variable, the problems
68633 # vanish in a puff of smoke.
68634 if test "X${COLLECT_NAMES+set}" != Xset; then
68635 COLLECT_NAMES=
68636 export COLLECT_NAMES
68637 fi
68638 _LT_EOF
68639 ;;
68640 esac
68641
68642
68643 ltmain="$ac_aux_dir/ltmain.sh"
68644
68645
68646 # We use sed instead of cat because bash on DJGPP gets confused if
68647 # if finds mixed CR/LF and LF-only lines. Since sed operates in
68648 # text mode, it properly converts lines to CR/LF. This bash problem
68649 # is reportedly fixed, but why not run on old versions too?
68650 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
68651 || (rm -f "$cfgfile"; exit 1)
68652
68653 case $xsi_shell in
68654 yes)
68655 cat << \_LT_EOF >> "$cfgfile"
68656
68657 # func_dirname file append nondir_replacement
68658 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68659 # otherwise set result to NONDIR_REPLACEMENT.
68660 func_dirname ()
68661 {
68662 case ${1} in
68663 */*) func_dirname_result="${1%/*}${2}" ;;
68664 * ) func_dirname_result="${3}" ;;
68665 esac
68666 }
68667
68668 # func_basename file
68669 func_basename ()
68670 {
68671 func_basename_result="${1##*/}"
68672 }
68673
68674 # func_dirname_and_basename file append nondir_replacement
68675 # perform func_basename and func_dirname in a single function
68676 # call:
68677 # dirname: Compute the dirname of FILE. If nonempty,
68678 # add APPEND to the result, otherwise set result
68679 # to NONDIR_REPLACEMENT.
68680 # value returned in "$func_dirname_result"
68681 # basename: Compute filename of FILE.
68682 # value retuned in "$func_basename_result"
68683 # Implementation must be kept synchronized with func_dirname
68684 # and func_basename. For efficiency, we do not delegate to
68685 # those functions but instead duplicate the functionality here.
68686 func_dirname_and_basename ()
68687 {
68688 case ${1} in
68689 */*) func_dirname_result="${1%/*}${2}" ;;
68690 * ) func_dirname_result="${3}" ;;
68691 esac
68692 func_basename_result="${1##*/}"
68693 }
68694
68695 # func_stripname prefix suffix name
68696 # strip PREFIX and SUFFIX off of NAME.
68697 # PREFIX and SUFFIX must not contain globbing or regex special
68698 # characters, hashes, percent signs, but SUFFIX may contain a leading
68699 # dot (in which case that matches only a dot).
68700 func_stripname ()
68701 {
68702 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
68703 # positional parameters, so assign one to ordinary parameter first.
68704 func_stripname_result=${3}
68705 func_stripname_result=${func_stripname_result#"${1}"}
68706 func_stripname_result=${func_stripname_result%"${2}"}
68707 }
68708
68709 # func_opt_split
68710 func_opt_split ()
68711 {
68712 func_opt_split_opt=${1%%=*}
68713 func_opt_split_arg=${1#*=}
68714 }
68715
68716 # func_lo2o object
68717 func_lo2o ()
68718 {
68719 case ${1} in
68720 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
68721 *) func_lo2o_result=${1} ;;
68722 esac
68723 }
68724
68725 # func_xform libobj-or-source
68726 func_xform ()
68727 {
68728 func_xform_result=${1%.*}.lo
68729 }
68730
68731 # func_arith arithmetic-term...
68732 func_arith ()
68733 {
68734 func_arith_result=$(( $* ))
68735 }
68736
68737 # func_len string
68738 # STRING may not start with a hyphen.
68739 func_len ()
68740 {
68741 func_len_result=${#1}
68742 }
68743
68744 _LT_EOF
68745 ;;
68746 *) # Bourne compatible functions.
68747 cat << \_LT_EOF >> "$cfgfile"
68748
68749 # func_dirname file append nondir_replacement
68750 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
68751 # otherwise set result to NONDIR_REPLACEMENT.
68752 func_dirname ()
68753 {
68754 # Extract subdirectory from the argument.
68755 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
68756 if test "X$func_dirname_result" = "X${1}"; then
68757 func_dirname_result="${3}"
68758 else
68759 func_dirname_result="$func_dirname_result${2}"
68760 fi
68761 }
68762
68763 # func_basename file
68764 func_basename ()
68765 {
68766 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
68767 }
68768
68769
68770 # func_stripname prefix suffix name
68771 # strip PREFIX and SUFFIX off of NAME.
68772 # PREFIX and SUFFIX must not contain globbing or regex special
68773 # characters, hashes, percent signs, but SUFFIX may contain a leading
68774 # dot (in which case that matches only a dot).
68775 # func_strip_suffix prefix name
68776 func_stripname ()
68777 {
68778 case ${2} in
68779 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
68780 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
68781 esac
68782 }
68783
68784 # sed scripts:
68785 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
68786 my_sed_long_arg='1s/^-[^=]*=//'
68787
68788 # func_opt_split
68789 func_opt_split ()
68790 {
68791 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
68792 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
68793 }
68794
68795 # func_lo2o object
68796 func_lo2o ()
68797 {
68798 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
68799 }
68800
68801 # func_xform libobj-or-source
68802 func_xform ()
68803 {
68804 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
68805 }
68806
68807 # func_arith arithmetic-term...
68808 func_arith ()
68809 {
68810 func_arith_result=`expr "$@"`
68811 }
68812
68813 # func_len string
68814 # STRING may not start with a hyphen.
68815 func_len ()
68816 {
68817 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
68818 }
68819
68820 _LT_EOF
68821 esac
68822
68823 case $lt_shell_append in
68824 yes)
68825 cat << \_LT_EOF >> "$cfgfile"
68826
68827 # func_append var value
68828 # Append VALUE to the end of shell variable VAR.
68829 func_append ()
68830 {
68831 eval "$1+=\$2"
68832 }
68833 _LT_EOF
68834 ;;
68835 *)
68836 cat << \_LT_EOF >> "$cfgfile"
68837
68838 # func_append var value
68839 # Append VALUE to the end of shell variable VAR.
68840 func_append ()
68841 {
68842 eval "$1=\$$1\$2"
68843 }
68844
68845 _LT_EOF
68846 ;;
68847 esac
68848
68849
68850 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
68851 || (rm -f "$cfgfile"; exit 1)
68852
68853 mv -f "$cfgfile" "$ofile" ||
68854 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
68855 chmod +x "$ofile"
68856
68857
68858 cat <<_LT_EOF >> "$ofile"
68859
68860 # ### BEGIN LIBTOOL TAG CONFIG: CXX
68861
68862 # The linker used to build libraries.
68863 LD=$lt_LD_CXX
68864
68865 # How to create reloadable object files.
68866 reload_flag=$lt_reload_flag_CXX
68867 reload_cmds=$lt_reload_cmds_CXX
68868
68869 # Commands used to build an old-style archive.
68870 old_archive_cmds=$lt_old_archive_cmds_CXX
68871
68872 # A language specific compiler.
68873 CC=$lt_compiler_CXX
68874
68875 # Is the compiler the GNU compiler?
68876 with_gcc=$GCC_CXX
68877
68878 # Compiler flag to turn off builtin functions.
68879 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
68880
68881 # How to pass a linker flag through the compiler.
68882 wl=$lt_lt_prog_compiler_wl_CXX
68883
68884 # Additional compiler flags for building library objects.
68885 pic_flag=$lt_lt_prog_compiler_pic_CXX
68886
68887 # Compiler flag to prevent dynamic linking.
68888 link_static_flag=$lt_lt_prog_compiler_static_CXX
68889
68890 # Does compiler simultaneously support -c and -o options?
68891 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
68892
68893 # Whether or not to add -lc for building shared libraries.
68894 build_libtool_need_lc=$archive_cmds_need_lc_CXX
68895
68896 # Whether or not to disallow shared libs when runtime libs are static.
68897 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
68898
68899 # Compiler flag to allow reflexive dlopens.
68900 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
68901
68902 # Compiler flag to generate shared objects directly from archives.
68903 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
68904
68905 # Whether the compiler copes with passing no objects directly.
68906 compiler_needs_object=$lt_compiler_needs_object_CXX
68907
68908 # Create an old-style archive from a shared archive.
68909 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
68910
68911 # Create a temporary old-style archive to link instead of a shared archive.
68912 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
68913
68914 # Commands used to build a shared archive.
68915 archive_cmds=$lt_archive_cmds_CXX
68916 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
68917
68918 # Commands used to build a loadable module if different from building
68919 # a shared archive.
68920 module_cmds=$lt_module_cmds_CXX
68921 module_expsym_cmds=$lt_module_expsym_cmds_CXX
68922
68923 # Whether we are building with GNU ld or not.
68924 with_gnu_ld=$lt_with_gnu_ld_CXX
68925
68926 # Flag that allows shared libraries with undefined symbols to be built.
68927 allow_undefined_flag=$lt_allow_undefined_flag_CXX
68928
68929 # Flag that enforces no undefined symbols.
68930 no_undefined_flag=$lt_no_undefined_flag_CXX
68931
68932 # Flag to hardcode \$libdir into a binary during linking.
68933 # This must work even if \$libdir does not exist
68934 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
68935
68936 # If ld is used when linking, flag to hardcode \$libdir into a binary
68937 # during linking. This must work even if \$libdir does not exist.
68938 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
68939
68940 # Whether we need a single "-rpath" flag with a separated argument.
68941 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
68942
68943 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68944 # DIR into the resulting binary.
68945 hardcode_direct=$hardcode_direct_CXX
68946
68947 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
68948 # DIR into the resulting binary and the resulting library dependency is
68949 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
68950 # library is relocated.
68951 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
68952
68953 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
68954 # into the resulting binary.
68955 hardcode_minus_L=$hardcode_minus_L_CXX
68956
68957 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
68958 # into the resulting binary.
68959 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
68960
68961 # Set to "yes" if building a shared library automatically hardcodes DIR
68962 # into the library and all subsequent libraries and executables linked
68963 # against it.
68964 hardcode_automatic=$hardcode_automatic_CXX
68965
68966 # Set to yes if linker adds runtime paths of dependent libraries
68967 # to runtime path list.
68968 inherit_rpath=$inherit_rpath_CXX
68969
68970 # Whether libtool must link a program against all its dependency libraries.
68971 link_all_deplibs=$link_all_deplibs_CXX
68972
68973 # Fix the shell variable \$srcfile for the compiler.
68974 fix_srcfile_path=$lt_fix_srcfile_path_CXX
68975
68976 # Set to "yes" if exported symbols are required.
68977 always_export_symbols=$always_export_symbols_CXX
68978
68979 # The commands to list exported symbols.
68980 export_symbols_cmds=$lt_export_symbols_cmds_CXX
68981
68982 # Symbols that should not be listed in the preloaded symbols.
68983 exclude_expsyms=$lt_exclude_expsyms_CXX
68984
68985 # Symbols that must always be exported.
68986 include_expsyms=$lt_include_expsyms_CXX
68987
68988 # Commands necessary for linking programs (against libraries) with templates.
68989 prelink_cmds=$lt_prelink_cmds_CXX
68990
68991 # Specify filename containing input files.
68992 file_list_spec=$lt_file_list_spec_CXX
68993
68994 # How to hardcode a shared library path into an executable.
68995 hardcode_action=$hardcode_action_CXX
68996
68997 # The directories searched by this compiler when creating a shared library.
68998 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
68999
69000 # Dependencies to place before and after the objects being linked to
69001 # create a shared library.
69002 predep_objects=$lt_predep_objects_CXX
69003 postdep_objects=$lt_postdep_objects_CXX
69004 predeps=$lt_predeps_CXX
69005 postdeps=$lt_postdeps_CXX
69006
69007 # The library search path used internally by the compiler when linking
69008 # a shared library.
69009 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
69010
69011 # ### END LIBTOOL TAG CONFIG: CXX
69012 _LT_EOF
69013
69014 ;;
69015 "include/gstdint.h":C)
69016 if test "$GCC" = yes; then
69017 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
69018 else
69019 echo "/* generated for $CC */" > tmp-stdint.h
69020 fi
69021
69022 sed 's/^ *//' >> tmp-stdint.h <<EOF
69023
69024 #ifndef GCC_GENERATED_STDINT_H
69025 #define GCC_GENERATED_STDINT_H 1
69026
69027 #include <sys/types.h>
69028 EOF
69029
69030 if test "$acx_cv_header_stdint" != stdint.h; then
69031 echo "#include <stddef.h>" >> tmp-stdint.h
69032 fi
69033 if test "$acx_cv_header_stdint" != stddef.h; then
69034 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
69035 fi
69036
69037 sed 's/^ *//' >> tmp-stdint.h <<EOF
69038 /* glibc uses these symbols as guards to prevent redefinitions. */
69039 #ifdef __int8_t_defined
69040 #define _INT8_T
69041 #define _INT16_T
69042 #define _INT32_T
69043 #endif
69044 #ifdef __uint32_t_defined
69045 #define _UINT32_T
69046 #endif
69047
69048 EOF
69049
69050 # ----------------- done header, emit basic int types -------------
69051 if test "$acx_cv_header_stdint" = stddef.h; then
69052 sed 's/^ *//' >> tmp-stdint.h <<EOF
69053
69054 #ifndef _UINT8_T
69055 #define _UINT8_T
69056 #ifndef __uint8_t_defined
69057 #define __uint8_t_defined
69058 #ifndef uint8_t
69059 typedef unsigned $acx_cv_type_int8_t uint8_t;
69060 #endif
69061 #endif
69062 #endif
69063
69064 #ifndef _UINT16_T
69065 #define _UINT16_T
69066 #ifndef __uint16_t_defined
69067 #define __uint16_t_defined
69068 #ifndef uint16_t
69069 typedef unsigned $acx_cv_type_int16_t uint16_t;
69070 #endif
69071 #endif
69072 #endif
69073
69074 #ifndef _UINT32_T
69075 #define _UINT32_T
69076 #ifndef __uint32_t_defined
69077 #define __uint32_t_defined
69078 #ifndef uint32_t
69079 typedef unsigned $acx_cv_type_int32_t uint32_t;
69080 #endif
69081 #endif
69082 #endif
69083
69084 #ifndef _INT8_T
69085 #define _INT8_T
69086 #ifndef __int8_t_defined
69087 #define __int8_t_defined
69088 #ifndef int8_t
69089 typedef $acx_cv_type_int8_t int8_t;
69090 #endif
69091 #endif
69092 #endif
69093
69094 #ifndef _INT16_T
69095 #define _INT16_T
69096 #ifndef __int16_t_defined
69097 #define __int16_t_defined
69098 #ifndef int16_t
69099 typedef $acx_cv_type_int16_t int16_t;
69100 #endif
69101 #endif
69102 #endif
69103
69104 #ifndef _INT32_T
69105 #define _INT32_T
69106 #ifndef __int32_t_defined
69107 #define __int32_t_defined
69108 #ifndef int32_t
69109 typedef $acx_cv_type_int32_t int32_t;
69110 #endif
69111 #endif
69112 #endif
69113 EOF
69114 elif test "$ac_cv_type_u_int32_t" = yes; then
69115 sed 's/^ *//' >> tmp-stdint.h <<EOF
69116
69117 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
69118 #ifndef _INT8_T
69119 #define _INT8_T
69120 #endif
69121 #ifndef _INT16_T
69122 #define _INT16_T
69123 #endif
69124 #ifndef _INT32_T
69125 #define _INT32_T
69126 #endif
69127
69128 #ifndef _UINT8_T
69129 #define _UINT8_T
69130 #ifndef __uint8_t_defined
69131 #define __uint8_t_defined
69132 #ifndef uint8_t
69133 typedef u_int8_t uint8_t;
69134 #endif
69135 #endif
69136 #endif
69137
69138 #ifndef _UINT16_T
69139 #define _UINT16_T
69140 #ifndef __uint16_t_defined
69141 #define __uint16_t_defined
69142 #ifndef uint16_t
69143 typedef u_int16_t uint16_t;
69144 #endif
69145 #endif
69146 #endif
69147
69148 #ifndef _UINT32_T
69149 #define _UINT32_T
69150 #ifndef __uint32_t_defined
69151 #define __uint32_t_defined
69152 #ifndef uint32_t
69153 typedef u_int32_t uint32_t;
69154 #endif
69155 #endif
69156 #endif
69157 EOF
69158 else
69159 sed 's/^ *//' >> tmp-stdint.h <<EOF
69160
69161 /* Some systems have guard macros to prevent redefinitions, define them. */
69162 #ifndef _INT8_T
69163 #define _INT8_T
69164 #endif
69165 #ifndef _INT16_T
69166 #define _INT16_T
69167 #endif
69168 #ifndef _INT32_T
69169 #define _INT32_T
69170 #endif
69171 #ifndef _UINT8_T
69172 #define _UINT8_T
69173 #endif
69174 #ifndef _UINT16_T
69175 #define _UINT16_T
69176 #endif
69177 #ifndef _UINT32_T
69178 #define _UINT32_T
69179 #endif
69180 EOF
69181 fi
69182
69183 # ------------- done basic int types, emit int64_t types ------------
69184 if test "$ac_cv_type_uint64_t" = yes; then
69185 sed 's/^ *//' >> tmp-stdint.h <<EOF
69186
69187 /* system headers have good uint64_t and int64_t */
69188 #ifndef _INT64_T
69189 #define _INT64_T
69190 #endif
69191 #ifndef _UINT64_T
69192 #define _UINT64_T
69193 #endif
69194 EOF
69195 elif test "$ac_cv_type_u_int64_t" = yes; then
69196 sed 's/^ *//' >> tmp-stdint.h <<EOF
69197
69198 /* system headers have an u_int64_t (and int64_t) */
69199 #ifndef _INT64_T
69200 #define _INT64_T
69201 #endif
69202 #ifndef _UINT64_T
69203 #define _UINT64_T
69204 #ifndef __uint64_t_defined
69205 #define __uint64_t_defined
69206 #ifndef uint64_t
69207 typedef u_int64_t uint64_t;
69208 #endif
69209 #endif
69210 #endif
69211 EOF
69212 elif test -n "$acx_cv_type_int64_t"; then
69213 sed 's/^ *//' >> tmp-stdint.h <<EOF
69214
69215 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
69216 #ifndef _INT64_T
69217 #define _INT64_T
69218 #ifndef int64_t
69219 typedef $acx_cv_type_int64_t int64_t;
69220 #endif
69221 #endif
69222 #ifndef _UINT64_T
69223 #define _UINT64_T
69224 #ifndef __uint64_t_defined
69225 #define __uint64_t_defined
69226 #ifndef uint64_t
69227 typedef unsigned $acx_cv_type_int64_t uint64_t;
69228 #endif
69229 #endif
69230 #endif
69231 EOF
69232 else
69233 sed 's/^ *//' >> tmp-stdint.h <<EOF
69234
69235 /* some common heuristics for int64_t, using compiler-specific tests */
69236 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
69237 #ifndef _INT64_T
69238 #define _INT64_T
69239 #ifndef __int64_t_defined
69240 #ifndef int64_t
69241 typedef long long int64_t;
69242 #endif
69243 #endif
69244 #endif
69245 #ifndef _UINT64_T
69246 #define _UINT64_T
69247 #ifndef uint64_t
69248 typedef unsigned long long uint64_t;
69249 #endif
69250 #endif
69251
69252 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
69253 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
69254 does not implement __extension__. But that compiler doesn't define
69255 __GNUC_MINOR__. */
69256 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
69257 # define __extension__
69258 # endif
69259
69260 # ifndef _INT64_T
69261 # define _INT64_T
69262 # ifndef int64_t
69263 __extension__ typedef long long int64_t;
69264 # endif
69265 # endif
69266 # ifndef _UINT64_T
69267 # define _UINT64_T
69268 # ifndef uint64_t
69269 __extension__ typedef unsigned long long uint64_t;
69270 # endif
69271 # endif
69272
69273 #elif !defined __STRICT_ANSI__
69274 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
69275
69276 # ifndef _INT64_T
69277 # define _INT64_T
69278 # ifndef int64_t
69279 typedef __int64 int64_t;
69280 # endif
69281 # endif
69282 # ifndef _UINT64_T
69283 # define _UINT64_T
69284 # ifndef uint64_t
69285 typedef unsigned __int64 uint64_t;
69286 # endif
69287 # endif
69288 # endif /* compiler */
69289
69290 #endif /* ANSI version */
69291 EOF
69292 fi
69293
69294 # ------------- done int64_t types, emit intptr types ------------
69295 if test "$ac_cv_type_uintptr_t" != yes; then
69296 sed 's/^ *//' >> tmp-stdint.h <<EOF
69297
69298 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
69299 #ifndef __uintptr_t_defined
69300 #ifndef uintptr_t
69301 typedef u$acx_cv_type_intptr_t uintptr_t;
69302 #endif
69303 #endif
69304 #ifndef __intptr_t_defined
69305 #ifndef intptr_t
69306 typedef $acx_cv_type_intptr_t intptr_t;
69307 #endif
69308 #endif
69309 EOF
69310 fi
69311
69312 # ------------- done intptr types, emit int_least types ------------
69313 if test "$ac_cv_type_int_least32_t" != yes; then
69314 sed 's/^ *//' >> tmp-stdint.h <<EOF
69315
69316 /* Define int_least types */
69317 typedef int8_t int_least8_t;
69318 typedef int16_t int_least16_t;
69319 typedef int32_t int_least32_t;
69320 #ifdef _INT64_T
69321 typedef int64_t int_least64_t;
69322 #endif
69323
69324 typedef uint8_t uint_least8_t;
69325 typedef uint16_t uint_least16_t;
69326 typedef uint32_t uint_least32_t;
69327 #ifdef _UINT64_T
69328 typedef uint64_t uint_least64_t;
69329 #endif
69330 EOF
69331 fi
69332
69333 # ------------- done intptr types, emit int_fast types ------------
69334 if test "$ac_cv_type_int_fast32_t" != yes; then
69335 sed 's/^ *//' >> tmp-stdint.h <<EOF
69336
69337 /* Define int_fast types. short is often slow */
69338 typedef int8_t int_fast8_t;
69339 typedef int int_fast16_t;
69340 typedef int32_t int_fast32_t;
69341 #ifdef _INT64_T
69342 typedef int64_t int_fast64_t;
69343 #endif
69344
69345 typedef uint8_t uint_fast8_t;
69346 typedef unsigned int uint_fast16_t;
69347 typedef uint32_t uint_fast32_t;
69348 #ifdef _UINT64_T
69349 typedef uint64_t uint_fast64_t;
69350 #endif
69351 EOF
69352 fi
69353
69354 if test "$ac_cv_type_uintmax_t" != yes; then
69355 sed 's/^ *//' >> tmp-stdint.h <<EOF
69356
69357 /* Define intmax based on what we found */
69358 #ifndef intmax_t
69359 #ifdef _INT64_T
69360 typedef int64_t intmax_t;
69361 #else
69362 typedef long intmax_t;
69363 #endif
69364 #endif
69365 #ifndef uintmax_t
69366 #ifdef _UINT64_T
69367 typedef uint64_t uintmax_t;
69368 #else
69369 typedef unsigned long uintmax_t;
69370 #endif
69371 #endif
69372 EOF
69373 fi
69374
69375 sed 's/^ *//' >> tmp-stdint.h <<EOF
69376
69377 #endif /* GCC_GENERATED_STDINT_H */
69378 EOF
69379
69380 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
69381 rm -f tmp-stdint.h
69382 else
69383 mv -f tmp-stdint.h include/gstdint.h
69384 fi
69385
69386 ;;
69387 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
69388 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
69389 "include/Makefile":F) cat > vpsed$$ << \_EOF
69390 s!`test -f '$<' || echo '$(srcdir)/'`!!
69391 _EOF
69392 sed -f vpsed$$ $ac_file > tmp$$
69393 mv tmp$$ $ac_file
69394 rm vpsed$$
69395 echo 'MULTISUBDIR =' >> $ac_file
69396 ml_norecursion=yes
69397 . ${multi_basedir}/config-ml.in
69398 { ml_norecursion=; unset ml_norecursion;}
69399 ;;
69400 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
69401 s!`test -f '$<' || echo '$(srcdir)/'`!!
69402 _EOF
69403 sed -f vpsed$$ $ac_file > tmp$$
69404 mv tmp$$ $ac_file
69405 rm vpsed$$
69406 echo 'MULTISUBDIR =' >> $ac_file
69407 ml_norecursion=yes
69408 . ${multi_basedir}/config-ml.in
69409 { ml_norecursion=; unset ml_norecursion;}
69410 ;;
69411 "python/Makefile":F) cat > vpsed$$ << \_EOF
69412 s!`test -f '$<' || echo '$(srcdir)/'`!!
69413 _EOF
69414 sed -f vpsed$$ $ac_file > tmp$$
69415 mv tmp$$ $ac_file
69416 rm vpsed$$
69417 echo 'MULTISUBDIR =' >> $ac_file
69418 ml_norecursion=yes
69419 . ${multi_basedir}/config-ml.in
69420 { ml_norecursion=; unset ml_norecursion;}
69421 ;;
69422 "src/Makefile":F) cat > vpsed$$ << \_EOF
69423 s!`test -f '$<' || echo '$(srcdir)/'`!!
69424 _EOF
69425 sed -f vpsed$$ $ac_file > tmp$$
69426 mv tmp$$ $ac_file
69427 rm vpsed$$
69428 echo 'MULTISUBDIR =' >> $ac_file
69429 ml_norecursion=yes
69430 . ${multi_basedir}/config-ml.in
69431 { ml_norecursion=; unset ml_norecursion;}
69432 ;;
69433 "doc/Makefile":F) cat > vpsed$$ << \_EOF
69434 s!`test -f '$<' || echo '$(srcdir)/'`!!
69435 _EOF
69436 sed -f vpsed$$ $ac_file > tmp$$
69437 mv tmp$$ $ac_file
69438 rm vpsed$$
69439 echo 'MULTISUBDIR =' >> $ac_file
69440 ml_norecursion=yes
69441 . ${multi_basedir}/config-ml.in
69442 { ml_norecursion=; unset ml_norecursion;}
69443 ;;
69444 "po/Makefile":F) cat > vpsed$$ << \_EOF
69445 s!`test -f '$<' || echo '$(srcdir)/'`!!
69446 _EOF
69447 sed -f vpsed$$ $ac_file > tmp$$
69448 mv tmp$$ $ac_file
69449 rm vpsed$$
69450 echo 'MULTISUBDIR =' >> $ac_file
69451 ml_norecursion=yes
69452 . ${multi_basedir}/config-ml.in
69453 { ml_norecursion=; unset ml_norecursion;}
69454 ;;
69455 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
69456 s!`test -f '$<' || echo '$(srcdir)/'`!!
69457 _EOF
69458 sed -f vpsed$$ $ac_file > tmp$$
69459 mv tmp$$ $ac_file
69460 rm vpsed$$
69461 echo 'MULTISUBDIR =' >> $ac_file
69462 ml_norecursion=yes
69463 . ${multi_basedir}/config-ml.in
69464 { ml_norecursion=; unset ml_norecursion;}
69465 ;;
69466 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
69467
69468 esac
69469 done # for ac_tag
69470
69471
69472 as_fn_exit 0
69473 _ACEOF
69474 ac_clean_files=$ac_clean_files_save
69475
69476 test $ac_write_fail = 0 ||
69477 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
69478
69479
69480 # configure is writing to config.log, and then calls config.status.
69481 # config.status does its own redirection, appending to config.log.
69482 # Unfortunately, on DOS this fails, as config.log is still kept open
69483 # by configure, so config.status won't be able to write to it; its
69484 # output is simply discarded. So we exec the FD to /dev/null,
69485 # effectively closing config.log, so it can be properly (re)opened and
69486 # appended to by config.status. When coming back to configure, we
69487 # need to make the FD available again.
69488 if test "$no_create" != yes; then
69489 ac_cs_success=:
69490 ac_config_status_args=
69491 test "$silent" = yes &&
69492 ac_config_status_args="$ac_config_status_args --quiet"
69493 exec 5>/dev/null
69494 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
69495 exec 5>>config.log
69496 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
69497 # would make configure fail if this is the last instruction.
69498 $ac_cs_success || as_fn_exit $?
69499 fi
69500 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
69501 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
69502 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
69503 fi
69504